@wildo-ai/saas-frontend-lib 1.1.9 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/companion-exports.d.ts +2 -1
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js +2 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/components/actions/action-bar.d.ts +45 -1
- package/dist/esm/components/actions/action-bar.d.ts.map +1 -1
- package/dist/esm/components/actions/action-bar.js +84 -0
- package/dist/esm/components/actions/action-bar.js.map +1 -1
- package/dist/esm/components/actions/button.d.ts +22 -0
- package/dist/esm/components/actions/button.d.ts.map +1 -1
- package/dist/esm/components/actions/button.js +45 -0
- package/dist/esm/components/actions/button.js.map +1 -1
- package/dist/esm/components/ai-elements/chat/conversation-thread.d.ts +109 -0
- package/dist/esm/components/ai-elements/chat/conversation-thread.d.ts.map +1 -0
- package/dist/esm/components/ai-elements/chat/conversation-thread.js +22 -0
- package/dist/esm/components/ai-elements/chat/conversation-thread.js.map +1 -0
- package/dist/esm/components/ai-elements/decision/approval.d.ts +103 -7
- package/dist/esm/components/ai-elements/decision/approval.d.ts.map +1 -1
- package/dist/esm/components/ai-elements/decision/approval.js.map +1 -1
- package/dist/esm/components/ai-elements/execution/tool.d.ts +6 -0
- package/dist/esm/components/ai-elements/execution/tool.d.ts.map +1 -1
- package/dist/esm/components/ai-elements/execution/tool.js.map +1 -1
- package/dist/esm/components/ai-elements/graph/canvas.d.ts +60 -1
- package/dist/esm/components/ai-elements/graph/canvas.d.ts.map +1 -1
- package/dist/esm/components/ai-elements/graph/canvas.js +26 -0
- package/dist/esm/components/ai-elements/graph/canvas.js.map +1 -1
- package/dist/esm/components/ai-elements/graph/node.d.ts +39 -4
- package/dist/esm/components/ai-elements/graph/node.d.ts.map +1 -1
- package/dist/esm/components/ai-elements/graph/node.js +18 -0
- package/dist/esm/components/ai-elements/graph/node.js.map +1 -1
- package/dist/esm/components/app/AppLayout_AuthenticatedRoute.d.ts +6 -0
- package/dist/esm/components/app/AppLayout_AuthenticatedRoute.d.ts.map +1 -1
- package/dist/esm/components/app/AppLayout_AuthenticatedRoute.js +29 -8
- package/dist/esm/components/app/AppLayout_AuthenticatedRoute.js.map +1 -1
- package/dist/esm/components/app/AppLayout_DecisionInbox.d.ts +17 -0
- package/dist/esm/components/app/AppLayout_DecisionInbox.d.ts.map +1 -0
- package/dist/esm/components/app/AppLayout_DecisionInbox.js +24 -0
- package/dist/esm/components/app/AppLayout_DecisionInbox.js.map +1 -0
- package/dist/esm/components/app/AppLayout_MainContainer.d.ts.map +1 -1
- package/dist/esm/components/app/AppLayout_MainContainer.js +3 -0
- package/dist/esm/components/app/AppLayout_MainContainer.js.map +1 -1
- package/dist/esm/components/app/PublicLayout_LegalNotice.d.ts +18 -0
- package/dist/esm/components/app/PublicLayout_LegalNotice.d.ts.map +1 -0
- package/dist/esm/components/app/PublicLayout_LegalNotice.js +8 -0
- package/dist/esm/components/app/PublicLayout_LegalNotice.js.map +1 -0
- package/dist/esm/components/app/PublicLayout_LegalNotice.labels.d.ts +3 -0
- package/dist/esm/components/app/PublicLayout_LegalNotice.labels.d.ts.map +1 -0
- package/dist/esm/components/app/PublicLayout_LegalNotice.labels.js +38 -0
- package/dist/esm/components/app/PublicLayout_LegalNotice.labels.js.map +1 -0
- package/dist/esm/components/auth/Auth_ChatIdentityLink.d.ts +15 -0
- package/dist/esm/components/auth/Auth_ChatIdentityLink.d.ts.map +1 -0
- package/dist/esm/components/auth/Auth_ChatIdentityLink.js +219 -0
- package/dist/esm/components/auth/Auth_ChatIdentityLink.js.map +1 -0
- package/dist/esm/components/auth/Auth_ChatIdentityLink.labels.d.ts +3 -0
- package/dist/esm/components/auth/Auth_ChatIdentityLink.labels.d.ts.map +1 -0
- package/dist/esm/components/auth/Auth_ChatIdentityLink.labels.js +49 -0
- package/dist/esm/components/auth/Auth_ChatIdentityLink.labels.js.map +1 -0
- package/dist/esm/components/auth/Auth_Invitation.d.ts.map +1 -1
- package/dist/esm/components/auth/Auth_Invitation.js +3 -2
- package/dist/esm/components/auth/Auth_Invitation.js.map +1 -1
- package/dist/esm/components/auth/Auth_Invitation.labels.js +2 -2
- package/dist/esm/components/auth/Auth_Invitation.labels.js.map +1 -1
- package/dist/esm/components/auth/Auth_Main.d.ts.map +1 -1
- package/dist/esm/components/auth/Auth_Main.js +40 -7
- package/dist/esm/components/auth/Auth_Main.js.map +1 -1
- package/dist/esm/components/auth/Auth_Main.labels.d.ts.map +1 -1
- package/dist/esm/components/auth/Auth_Main.labels.js +9 -0
- package/dist/esm/components/auth/Auth_Main.labels.js.map +1 -1
- package/dist/esm/components/auth/Auth_OAuthConsent.d.ts.map +1 -1
- package/dist/esm/components/auth/Auth_OAuthConsent.js +3 -2
- package/dist/esm/components/auth/Auth_OAuthConsent.js.map +1 -1
- package/dist/esm/components/auth/Auth_PasswordLost.labels.js +2 -2
- package/dist/esm/components/auth/Auth_PasswordLost.labels.js.map +1 -1
- package/dist/esm/components/auth/Auth_Register.d.ts.map +1 -1
- package/dist/esm/components/auth/Auth_Register.js +8 -1
- package/dist/esm/components/auth/Auth_Register.js.map +1 -1
- package/dist/esm/components/auth/Auth_Register.labels.js +2 -2
- package/dist/esm/components/auth/Auth_Register.labels.js.map +1 -1
- package/dist/esm/components/auth/StepUpAuthDialog.d.ts +1 -1
- package/dist/esm/components/auth/StepUpAuthDialog.js +3 -3
- package/dist/esm/components/auth/StepUpAuthDialog.js.map +1 -1
- package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.d.ts.map +1 -1
- package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.js +94 -6
- package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.js.map +1 -1
- package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.labels.d.ts.map +1 -1
- package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.labels.js +21 -1
- package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.labels.js.map +1 -1
- package/dist/esm/components/auth/admin-config/ResourceLayoutPreset_Create_SamlWizard.d.ts.map +1 -1
- package/dist/esm/components/auth/admin-config/ResourceLayoutPreset_Create_SamlWizard.js +16 -13
- package/dist/esm/components/auth/admin-config/ResourceLayoutPreset_Create_SamlWizard.js.map +1 -1
- package/dist/esm/components/auth/admin-config/SsoConnectionSamlReadSection.js +3 -3
- package/dist/esm/components/auth/admin-config/SsoConnectionSamlReadSection.js.map +1 -1
- package/dist/esm/components/auth/enrollment/PasskeyEnrollmentMethod.d.ts.map +1 -1
- package/dist/esm/components/auth/enrollment/PasskeyEnrollmentMethod.js +1 -1
- package/dist/esm/components/auth/enrollment/PasskeyEnrollmentMethod.js.map +1 -1
- package/dist/esm/components/auth/methods/OrgSamlAuthMethod.d.ts +1 -1
- package/dist/esm/components/auth/methods/OrgSamlAuthMethod.d.ts.map +1 -1
- package/dist/esm/components/auth/methods/OrgSamlAuthMethod.js +3 -4
- package/dist/esm/components/auth/methods/OrgSamlAuthMethod.js.map +1 -1
- package/dist/esm/components/auth/pages/AuthPage_ChatIdentityLink.d.ts +11 -0
- package/dist/esm/components/auth/pages/AuthPage_ChatIdentityLink.d.ts.map +1 -0
- package/dist/esm/components/auth/pages/AuthPage_ChatIdentityLink.js +25 -0
- package/dist/esm/components/auth/pages/AuthPage_ChatIdentityLink.js.map +1 -0
- package/dist/esm/components/auth/utils/AuthPrivacyNoticeLink.d.ts +39 -0
- package/dist/esm/components/auth/utils/AuthPrivacyNoticeLink.d.ts.map +1 -0
- package/dist/esm/components/auth/utils/AuthPrivacyNoticeLink.js +45 -0
- package/dist/esm/components/auth/utils/AuthPrivacyNoticeLink.js.map +1 -0
- package/dist/esm/components/auth/utils/PasswordStrengthIndicator.js +1 -1
- package/dist/esm/components/auth/utils/PasswordStrengthIndicator.js.map +1 -1
- package/dist/esm/components/compliance/GovernedDocumentAcceptanceControl.d.ts.map +1 -1
- package/dist/esm/components/compliance/GovernedDocumentAcceptanceControl.js +2 -1
- package/dist/esm/components/compliance/GovernedDocumentAcceptanceControl.js.map +1 -1
- package/dist/esm/components/data-display/AutomaticDisplayer.d.ts.map +1 -1
- package/dist/esm/components/data-display/AutomaticDisplayer.js +21 -35
- package/dist/esm/components/data-display/AutomaticDisplayer.js.map +1 -1
- package/dist/esm/components/data-display/DisplayField.d.ts.map +1 -1
- package/dist/esm/components/data-display/DisplayField.js +98 -70
- package/dist/esm/components/data-display/DisplayField.js.map +1 -1
- package/dist/esm/components/data-display/DisplayFieldEditable.d.ts.map +1 -1
- package/dist/esm/components/data-display/DisplayFieldEditable.js +48 -8
- package/dist/esm/components/data-display/DisplayFieldEditable.js.map +1 -1
- package/dist/esm/components/data-display/DisplayFieldEditableArray.d.ts +3 -1
- package/dist/esm/components/data-display/DisplayFieldEditableArray.d.ts.map +1 -1
- package/dist/esm/components/data-display/DisplayFieldEditableArray.js +30 -4
- package/dist/esm/components/data-display/DisplayFieldEditableArray.js.map +1 -1
- package/dist/esm/components/data-display/DisplayFieldReadOnly.d.ts.map +1 -1
- package/dist/esm/components/data-display/DisplayFieldReadOnly.js +2 -2
- package/dist/esm/components/data-display/DisplayFieldReadOnly.js.map +1 -1
- package/dist/esm/components/data-display/DisplayValueDispatcher.d.ts +1 -1
- package/dist/esm/components/data-display/DisplayValueDispatcher.d.ts.map +1 -1
- package/dist/esm/components/data-display/DisplayValueDispatcher.js +45 -94
- package/dist/esm/components/data-display/DisplayValueDispatcher.js.map +1 -1
- package/dist/esm/components/data-display/ResourceAutomaticDisplayer.d.ts.map +1 -1
- package/dist/esm/components/data-display/ResourceAutomaticDisplayer.js +14 -8
- package/dist/esm/components/data-display/ResourceAutomaticDisplayer.js.map +1 -1
- package/dist/esm/components/data-display/ResourceSummaryDisplayer.d.ts +41 -3
- package/dist/esm/components/data-display/ResourceSummaryDisplayer.d.ts.map +1 -1
- package/dist/esm/components/data-display/ResourceSummaryDisplayer.js +49 -5
- package/dist/esm/components/data-display/ResourceSummaryDisplayer.js.map +1 -1
- package/dist/esm/components/data-display/SummaryContext.d.ts +2 -2
- package/dist/esm/components/data-display/SummaryContext.js.map +1 -1
- package/dist/esm/components/data-display/automatic-displayer.utils.d.ts +22 -1
- package/dist/esm/components/data-display/automatic-displayer.utils.d.ts.map +1 -1
- package/dist/esm/components/data-display/automatic-displayer.utils.js +29 -0
- package/dist/esm/components/data-display/automatic-displayer.utils.js.map +1 -1
- package/dist/esm/components/data-display/badge.d.ts +9 -0
- package/dist/esm/components/data-display/badge.d.ts.map +1 -1
- package/dist/esm/components/data-display/badge.js.map +1 -1
- package/dist/esm/components/data-display/chromes/DisplayFieldChrome.d.ts +14 -2
- package/dist/esm/components/data-display/chromes/DisplayFieldChrome.d.ts.map +1 -1
- package/dist/esm/components/data-display/chromes/DisplayFieldChrome.js +42 -12
- package/dist/esm/components/data-display/chromes/DisplayFieldChrome.js.map +1 -1
- package/dist/esm/components/data-display/chromes/display-chrome-mode-resolution.d.ts +10 -0
- package/dist/esm/components/data-display/chromes/display-chrome-mode-resolution.d.ts.map +1 -0
- package/dist/esm/components/data-display/chromes/display-chrome-mode-resolution.js +18 -0
- package/dist/esm/components/data-display/chromes/display-chrome-mode-resolution.js.map +1 -0
- package/dist/esm/components/data-display/chromes/field-tile-boundaries.d.ts +38 -0
- package/dist/esm/components/data-display/chromes/field-tile-boundaries.d.ts.map +1 -0
- package/dist/esm/components/data-display/chromes/field-tile-boundaries.js +30 -0
- package/dist/esm/components/data-display/chromes/field-tile-boundaries.js.map +1 -0
- package/dist/esm/components/data-display/chromes/field-tiles.utils.d.ts +22 -0
- package/dist/esm/components/data-display/chromes/field-tiles.utils.d.ts.map +1 -0
- package/dist/esm/components/data-display/chromes/field-tiles.utils.js +52 -0
- package/dist/esm/components/data-display/chromes/field-tiles.utils.js.map +1 -0
- package/dist/esm/components/data-display/display-field-resolved-props.d.ts +4 -0
- package/dist/esm/components/data-display/display-field-resolved-props.d.ts.map +1 -1
- package/dist/esm/components/data-display/display-field-resolved-props.js.map +1 -1
- package/dist/esm/components/data-display/display-layout-template.utils.d.ts +18 -0
- package/dist/esm/components/data-display/display-layout-template.utils.d.ts.map +1 -0
- package/dist/esm/components/data-display/display-layout-template.utils.js +18 -0
- package/dist/esm/components/data-display/display-layout-template.utils.js.map +1 -0
- package/dist/esm/components/data-display/display-value-emptiness.utils.d.ts +44 -0
- package/dist/esm/components/data-display/display-value-emptiness.utils.d.ts.map +1 -0
- package/dist/esm/components/data-display/display-value-emptiness.utils.js +61 -0
- package/dist/esm/components/data-display/display-value-emptiness.utils.js.map +1 -0
- package/dist/esm/components/data-display/empty-value-mark.d.ts +31 -0
- package/dist/esm/components/data-display/empty-value-mark.d.ts.map +1 -0
- package/dist/esm/components/data-display/empty-value-mark.js +49 -0
- package/dist/esm/components/data-display/empty-value-mark.js.map +1 -0
- package/dist/esm/components/data-display/external-data-provenance/DisplayFieldProvenanceNote.d.ts +3 -2
- package/dist/esm/components/data-display/external-data-provenance/DisplayFieldProvenanceNote.d.ts.map +1 -1
- package/dist/esm/components/data-display/external-data-provenance/DisplayFieldProvenanceNote.js +4 -4
- package/dist/esm/components/data-display/external-data-provenance/DisplayFieldProvenanceNote.js.map +1 -1
- package/dist/esm/components/data-display/external-data-provenance/external-data-provenance.frontend.d.ts +6 -3
- package/dist/esm/components/data-display/external-data-provenance/external-data-provenance.frontend.d.ts.map +1 -1
- package/dist/esm/components/data-display/external-data-provenance/external-data-provenance.frontend.js +22 -12
- package/dist/esm/components/data-display/external-data-provenance/external-data-provenance.frontend.js.map +1 -1
- package/dist/esm/components/data-display/external-data-provenance/useExternalDataFieldProvenance.js +2 -2
- package/dist/esm/components/data-display/external-data-provenance/useExternalDataFieldProvenance.js.map +1 -1
- package/dist/esm/components/data-display/reference-display-target.d.ts +98 -0
- package/dist/esm/components/data-display/reference-display-target.d.ts.map +1 -0
- package/dist/esm/components/data-display/reference-display-target.js +154 -0
- package/dist/esm/components/data-display/reference-display-target.js.map +1 -0
- package/dist/esm/components/data-display/summary-value-naming.context.d.ts +15 -0
- package/dist/esm/components/data-display/summary-value-naming.context.d.ts.map +1 -0
- package/dist/esm/components/data-display/summary-value-naming.context.js +18 -0
- package/dist/esm/components/data-display/summary-value-naming.context.js.map +1 -0
- package/dist/esm/components/data-display/tone-marker.d.ts +38 -0
- package/dist/esm/components/data-display/tone-marker.d.ts.map +1 -0
- package/dist/esm/components/data-display/tone-marker.js +56 -0
- package/dist/esm/components/data-display/tone-marker.js.map +1 -0
- package/dist/esm/components/data-display/useFileActivation.d.ts.map +1 -1
- package/dist/esm/components/data-display/useFileActivation.js +2 -9
- package/dist/esm/components/data-display/useFileActivation.js.map +1 -1
- package/dist/esm/components/feedback/features/feature-limit-indicator.d.ts.map +1 -1
- package/dist/esm/components/feedback/features/feature-limit-indicator.js +12 -4
- package/dist/esm/components/feedback/features/feature-limit-indicator.js.map +1 -1
- package/dist/esm/components/feedback/operations-confirm-critical.d.ts +8 -0
- package/dist/esm/components/feedback/operations-confirm-critical.d.ts.map +1 -1
- package/dist/esm/components/feedback/operations-confirm-critical.js.map +1 -1
- package/dist/esm/components/files/Files_UploadGrantDrop.d.ts +0 -5
- package/dist/esm/components/files/Files_UploadGrantDrop.d.ts.map +1 -1
- package/dist/esm/components/files/Files_UploadGrantDrop.js +5 -17
- package/dist/esm/components/files/Files_UploadGrantDrop.js.map +1 -1
- package/dist/esm/components/flows-actors/actor.d.ts +21 -4
- package/dist/esm/components/flows-actors/actor.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/actor.js +114 -192
- package/dist/esm/components/flows-actors/actor.js.map +1 -1
- package/dist/esm/components/flows-actors/actor.labels.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/actor.labels.js +5 -10
- package/dist/esm/components/flows-actors/actor.labels.js.map +1 -1
- package/dist/esm/components/flows-actors/agent-config.labels.js +1 -1
- package/dist/esm/components/flows-actors/agent-config.labels.js.map +1 -1
- package/dist/esm/components/flows-actors/approval-modification-refusal.utils.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/approval-modification-refusal.utils.js +1 -0
- package/dist/esm/components/flows-actors/approval-modification-refusal.utils.js.map +1 -1
- package/dist/esm/components/flows-actors/approval.d.ts +26 -16
- package/dist/esm/components/flows-actors/approval.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/approval.js +208 -70
- package/dist/esm/components/flows-actors/approval.js.map +1 -1
- package/dist/esm/components/flows-actors/approval.labels.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/approval.labels.js +67 -22
- package/dist/esm/components/flows-actors/approval.labels.js.map +1 -1
- package/dist/esm/components/flows-actors/artifact-browser.labels.js +1 -1
- package/dist/esm/components/flows-actors/artifact-browser.labels.js.map +1 -1
- package/dist/esm/components/flows-actors/execution-plan.d.ts +19 -7
- package/dist/esm/components/flows-actors/execution-plan.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/execution-plan.js +55 -41
- package/dist/esm/components/flows-actors/execution-plan.js.map +1 -1
- package/dist/esm/components/flows-actors/execution-plan.labels.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/execution-plan.labels.js +25 -8
- package/dist/esm/components/flows-actors/execution-plan.labels.js.map +1 -1
- package/dist/esm/components/flows-actors/execution-usage.d.ts +69 -0
- package/dist/esm/components/flows-actors/execution-usage.d.ts.map +1 -0
- package/dist/esm/components/flows-actors/execution-usage.js +189 -0
- package/dist/esm/components/flows-actors/execution-usage.js.map +1 -0
- package/dist/esm/components/flows-actors/execution-usage.labels.d.ts +3 -0
- package/dist/esm/components/flows-actors/execution-usage.labels.d.ts.map +1 -0
- package/dist/esm/components/flows-actors/execution-usage.labels.js +27 -0
- package/dist/esm/components/flows-actors/execution-usage.labels.js.map +1 -0
- package/dist/esm/components/flows-actors/flow-execution.d.ts +23 -6
- package/dist/esm/components/flows-actors/flow-execution.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/flow-execution.js +56 -208
- package/dist/esm/components/flows-actors/flow-execution.js.map +1 -1
- package/dist/esm/components/flows-actors/flow-execution.labels.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/flow-execution.labels.js +3 -10
- package/dist/esm/components/flows-actors/flow-execution.labels.js.map +1 -1
- package/dist/esm/components/flows-actors/flow-node-badges.d.ts +54 -21
- package/dist/esm/components/flows-actors/flow-node-badges.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/flow-node-badges.js +80 -6
- package/dist/esm/components/flows-actors/flow-node-badges.js.map +1 -1
- package/dist/esm/components/flows-actors/flow-node.labels.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/flow-node.labels.js +0 -8
- package/dist/esm/components/flows-actors/flow-node.labels.js.map +1 -1
- package/dist/esm/components/flows-actors/flow-step-visuals.d.ts +31 -0
- package/dist/esm/components/flows-actors/flow-step-visuals.d.ts.map +1 -0
- package/dist/esm/components/flows-actors/flow-step-visuals.js +98 -0
- package/dist/esm/components/flows-actors/flow-step-visuals.js.map +1 -0
- package/dist/esm/components/flows-actors/flows-actors-graph-runtime.d.ts +18 -19
- package/dist/esm/components/flows-actors/flows-actors-graph-runtime.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/flows-actors-graph-runtime.js +18 -19
- package/dist/esm/components/flows-actors/flows-actors-graph-runtime.js.map +1 -1
- package/dist/esm/components/flows-actors/flows-actors-graph.lazy.d.ts +27 -42
- package/dist/esm/components/flows-actors/flows-actors-graph.lazy.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/flows-actors-graph.lazy.js +28 -43
- package/dist/esm/components/flows-actors/flows-actors-graph.lazy.js.map +1 -1
- package/dist/esm/components/flows-actors/flows-actors-ui.utils.d.ts +15 -10
- package/dist/esm/components/flows-actors/flows-actors-ui.utils.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/flows-actors-ui.utils.js +16 -42
- package/dist/esm/components/flows-actors/flows-actors-ui.utils.js.map +1 -1
- package/dist/esm/components/flows-actors/graph-viewer.d.ts +112 -0
- package/dist/esm/components/flows-actors/graph-viewer.d.ts.map +1 -0
- package/dist/esm/components/flows-actors/graph-viewer.js +431 -0
- package/dist/esm/components/flows-actors/graph-viewer.js.map +1 -0
- package/dist/esm/components/flows-actors/graph-viewer.labels.d.ts +3 -0
- package/dist/esm/components/flows-actors/graph-viewer.labels.d.ts.map +1 -0
- package/dist/esm/components/flows-actors/graph-viewer.labels.js +67 -0
- package/dist/esm/components/flows-actors/graph-viewer.labels.js.map +1 -0
- package/dist/esm/components/flows-actors/graph-viewer.models.d.ts +16 -0
- package/dist/esm/components/flows-actors/graph-viewer.models.d.ts.map +1 -0
- package/dist/esm/components/flows-actors/graph-viewer.models.js +18 -0
- package/dist/esm/components/flows-actors/graph-viewer.models.js.map +1 -0
- package/dist/esm/components/flows-actors/human-decision-form.d.ts +57 -0
- package/dist/esm/components/flows-actors/human-decision-form.d.ts.map +1 -0
- package/dist/esm/components/flows-actors/human-decision-form.js +128 -0
- package/dist/esm/components/flows-actors/human-decision-form.js.map +1 -0
- package/dist/esm/components/flows-actors/system-catalog.d.ts +6 -1
- package/dist/esm/components/flows-actors/system-catalog.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/system-catalog.js +22 -20
- package/dist/esm/components/flows-actors/system-catalog.js.map +1 -1
- package/dist/esm/components/flows-actors/system-catalog.labels.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/system-catalog.labels.js +3 -2
- package/dist/esm/components/flows-actors/system-catalog.labels.js.map +1 -1
- package/dist/esm/components/flows-actors/task-detail.d.ts +17 -3
- package/dist/esm/components/flows-actors/task-detail.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/task-detail.js +32 -25
- package/dist/esm/components/flows-actors/task-detail.js.map +1 -1
- package/dist/esm/components/flows-actors/task-memory.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/task-memory.js +3 -2
- package/dist/esm/components/flows-actors/task-memory.js.map +1 -1
- package/dist/esm/components/form/Form.d.ts +2 -0
- package/dist/esm/components/form/Form.d.ts.map +1 -1
- package/dist/esm/components/form/Form.js +4 -0
- package/dist/esm/components/form/Form.js.map +1 -1
- package/dist/esm/components/form/automated/AutomatedArrayField.d.ts +16 -1
- package/dist/esm/components/form/automated/AutomatedArrayField.d.ts.map +1 -1
- package/dist/esm/components/form/automated/AutomatedArrayField.js +101 -21
- package/dist/esm/components/form/automated/AutomatedArrayField.js.map +1 -1
- package/dist/esm/components/form/automated/AutomatedForm.d.ts +19 -2
- package/dist/esm/components/form/automated/AutomatedForm.d.ts.map +1 -1
- package/dist/esm/components/form/automated/AutomatedForm.js +40 -6
- package/dist/esm/components/form/automated/AutomatedForm.js.map +1 -1
- package/dist/esm/components/form/automated/AutosaveContext.d.ts +22 -1
- package/dist/esm/components/form/automated/AutosaveContext.d.ts.map +1 -1
- package/dist/esm/components/form/automated/AutosaveContext.js +53 -0
- package/dist/esm/components/form/automated/AutosaveContext.js.map +1 -1
- package/dist/esm/components/form/automated/FormField.d.ts +1 -1
- package/dist/esm/components/form/automated/FormField.d.ts.map +1 -1
- package/dist/esm/components/form/automated/FormField.js +127 -53
- package/dist/esm/components/form/automated/FormField.js.map +1 -1
- package/dist/esm/components/form/automated/FormFieldComposite.d.ts.map +1 -1
- package/dist/esm/components/form/automated/FormFieldComposite.js +12 -10
- package/dist/esm/components/form/automated/FormFieldComposite.js.map +1 -1
- package/dist/esm/components/form/automated/FormFieldRecord.d.ts.map +1 -1
- package/dist/esm/components/form/automated/FormFieldRecord.js +16 -7
- package/dist/esm/components/form/automated/FormFieldRecord.js.map +1 -1
- package/dist/esm/components/form/automated/FormTemplateContext.d.ts +27 -0
- package/dist/esm/components/form/automated/FormTemplateContext.d.ts.map +1 -1
- package/dist/esm/components/form/automated/FormTemplateContext.js +0 -48
- package/dist/esm/components/form/automated/FormTemplateContext.js.map +1 -1
- package/dist/esm/components/form/automated/ResourceAutomatedForm.d.ts +4 -3
- package/dist/esm/components/form/automated/ResourceAutomatedForm.d.ts.map +1 -1
- package/dist/esm/components/form/automated/ResourceAutomatedForm.js +616 -149
- package/dist/esm/components/form/automated/ResourceAutomatedForm.js.map +1 -1
- package/dist/esm/components/form/automated/automated-form-submit.utils.d.ts +105 -5
- package/dist/esm/components/form/automated/automated-form-submit.utils.d.ts.map +1 -1
- package/dist/esm/components/form/automated/automated-form-submit.utils.js +225 -6
- package/dist/esm/components/form/automated/automated-form-submit.utils.js.map +1 -1
- package/dist/esm/components/form/automated/bulk-field-clear-context.d.ts +59 -0
- package/dist/esm/components/form/automated/bulk-field-clear-context.d.ts.map +1 -0
- package/dist/esm/components/form/automated/bulk-field-clear-context.js +77 -0
- package/dist/esm/components/form/automated/bulk-field-clear-context.js.map +1 -0
- package/dist/esm/components/form/automated/generated-relationship-field.hooks.d.ts +1 -1
- package/dist/esm/components/form/automated/unplaced-request-fields.context.d.ts +19 -0
- package/dist/esm/components/form/automated/unplaced-request-fields.context.d.ts.map +1 -0
- package/dist/esm/components/form/automated/unplaced-request-fields.context.js +13 -0
- package/dist/esm/components/form/automated/unplaced-request-fields.context.js.map +1 -0
- package/dist/esm/components/form/automated/useArrayItemAutosaveField.d.ts +7 -0
- package/dist/esm/components/form/automated/useArrayItemAutosaveField.d.ts.map +1 -1
- package/dist/esm/components/form/automated/useArrayItemAutosaveField.js +10 -2
- package/dist/esm/components/form/automated/useArrayItemAutosaveField.js.map +1 -1
- package/dist/esm/components/form/automated/useReferenceRecordLabels.d.ts +16 -0
- package/dist/esm/components/form/automated/useReferenceRecordLabels.d.ts.map +1 -0
- package/dist/esm/components/form/automated/useReferenceRecordLabels.js +66 -0
- package/dist/esm/components/form/automated/useReferenceRecordLabels.js.map +1 -0
- package/dist/esm/components/form/automated/useRequestFieldOffer.d.ts +18 -0
- package/dist/esm/components/form/automated/useRequestFieldOffer.d.ts.map +1 -0
- package/dist/esm/components/form/automated/useRequestFieldOffer.js +107 -0
- package/dist/esm/components/form/automated/useRequestFieldOffer.js.map +1 -0
- package/dist/esm/components/form/chromes/FormFieldChrome.d.ts +7 -1
- package/dist/esm/components/form/chromes/FormFieldChrome.d.ts.map +1 -1
- package/dist/esm/components/form/chromes/FormFieldChrome.js +6 -3
- package/dist/esm/components/form/chromes/FormFieldChrome.js.map +1 -1
- package/dist/esm/components/form/controls/date-time/date-range-picker.d.ts +11 -0
- package/dist/esm/components/form/controls/date-time/date-range-picker.d.ts.map +1 -1
- package/dist/esm/components/form/controls/date-time/date-range-picker.js.map +1 -1
- package/dist/esm/components/form/controls/date-time/datepicker.d.ts +21 -0
- package/dist/esm/components/form/controls/date-time/datepicker.d.ts.map +1 -1
- package/dist/esm/components/form/controls/date-time/datepicker.js.map +1 -1
- package/dist/esm/components/form/controls/date-time/datetime-picker.d.ts +9 -0
- package/dist/esm/components/form/controls/date-time/datetime-picker.d.ts.map +1 -1
- package/dist/esm/components/form/controls/date-time/datetime-picker.js.map +1 -1
- package/dist/esm/components/form/controls/date-time/datetime-range-picker.d.ts +9 -0
- package/dist/esm/components/form/controls/date-time/datetime-range-picker.d.ts.map +1 -1
- package/dist/esm/components/form/controls/date-time/datetime-range-picker.js.map +1 -1
- package/dist/esm/components/form/controls/date-time/time-range-picker.d.ts +1 -0
- package/dist/esm/components/form/controls/date-time/time-range-picker.d.ts.map +1 -1
- package/dist/esm/components/form/controls/date-time/time-range-picker.js.map +1 -1
- package/dist/esm/components/form/controls/enum/radio.d.ts +10 -0
- package/dist/esm/components/form/controls/enum/radio.d.ts.map +1 -1
- package/dist/esm/components/form/controls/enum/radio.js.map +1 -1
- package/dist/esm/components/form/controls/enum/toggle-group.d.ts +14 -10
- package/dist/esm/components/form/controls/enum/toggle-group.d.ts.map +1 -1
- package/dist/esm/components/form/controls/enum/toggle-group.js +14 -6
- package/dist/esm/components/form/controls/enum/toggle-group.js.map +1 -1
- package/dist/esm/components/form/controls/form-field-checkbox-group.d.ts.map +1 -1
- package/dist/esm/components/form/controls/form-field-checkbox-group.js +7 -3
- package/dist/esm/components/form/controls/form-field-checkbox-group.js.map +1 -1
- package/dist/esm/components/form/controls/string/chips-input.d.ts +65 -0
- package/dist/esm/components/form/controls/string/chips-input.d.ts.map +1 -0
- package/dist/esm/components/form/controls/string/chips-input.js +9 -0
- package/dist/esm/components/form/controls/string/chips-input.js.map +1 -0
- package/dist/esm/components/form/fields/form-field-address.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-address.js +7 -5
- package/dist/esm/components/form/fields/form-field-address.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-address.labels.js +1 -1
- package/dist/esm/components/form/fields/form-field-address.labels.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-bigdecimal.js +2 -2
- package/dist/esm/components/form/fields/form-field-bigdecimal.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-boolean.js +2 -2
- package/dist/esm/components/form/fields/form-field-boolean.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-code.labels.js +1 -1
- package/dist/esm/components/form/fields/form-field-code.labels.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-date.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-date.js +16 -11
- package/dist/esm/components/form/fields/form-field-date.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-datetime.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-datetime.js +10 -5
- package/dist/esm/components/form/fields/form-field-datetime.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-duration.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-duration.js +5 -7
- package/dist/esm/components/form/fields/form-field-duration.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-duration.labels.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-duration.labels.js +8 -2
- package/dist/esm/components/form/fields/form-field-duration.labels.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-enum.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-enum.js +31 -31
- package/dist/esm/components/form/fields/form-field-enum.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-file.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-file.js +13 -12
- package/dist/esm/components/form/fields/form-field-file.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-file.labels.js +6 -6
- package/dist/esm/components/form/fields/form-field-file.labels.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-money.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-money.js +5 -4
- package/dist/esm/components/form/fields/form-field-money.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-money.labels.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-money.labels.js +8 -2
- package/dist/esm/components/form/fields/form-field-money.labels.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-number.js +2 -2
- package/dist/esm/components/form/fields/form-field-number.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-range-bigdecimal.js +2 -2
- package/dist/esm/components/form/fields/form-field-range-bigdecimal.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-range-date.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-range-date.js +7 -2
- package/dist/esm/components/form/fields/form-field-range-date.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-range-datetime.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-range-datetime.js +5 -2
- package/dist/esm/components/form/fields/form-field-range-datetime.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-range-money.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-range-money.js +6 -19
- package/dist/esm/components/form/fields/form-field-range-money.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-range-money.labels.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-range-money.labels.js +8 -2
- package/dist/esm/components/form/fields/form-field-range-money.labels.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-range-number.js +2 -2
- package/dist/esm/components/form/fields/form-field-range-number.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-range-time.js +2 -2
- package/dist/esm/components/form/fields/form-field-range-time.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-resource-reference.d.ts +56 -0
- package/dist/esm/components/form/fields/form-field-resource-reference.d.ts.map +1 -0
- package/dist/esm/components/form/fields/form-field-resource-reference.js +51 -0
- package/dist/esm/components/form/fields/form-field-resource-reference.js.map +1 -0
- package/dist/esm/components/form/fields/form-field-string-organization-role.d.ts +36 -6
- package/dist/esm/components/form/fields/form-field-string-organization-role.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-string-organization-role.js +30 -11
- package/dist/esm/components/form/fields/form-field-string-organization-role.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-string.d.ts +5 -0
- package/dist/esm/components/form/fields/form-field-string.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-string.js +9 -7
- package/dist/esm/components/form/fields/form-field-string.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-time.d.ts.map +1 -1
- package/dist/esm/components/form/fields/form-field-time.js +6 -3
- package/dist/esm/components/form/fields/form-field-time.js.map +1 -1
- package/dist/esm/components/form/fields/themed-native-select.d.ts +29 -0
- package/dist/esm/components/form/fields/themed-native-select.d.ts.map +1 -0
- package/dist/esm/components/form/fields/themed-native-select.js +36 -0
- package/dist/esm/components/form/fields/themed-native-select.js.map +1 -0
- package/dist/esm/components/form/form-context.d.ts +11 -0
- package/dist/esm/components/form/form-context.d.ts.map +1 -1
- package/dist/esm/components/form/form-context.js +11 -0
- package/dist/esm/components/form/form-context.js.map +1 -1
- package/dist/esm/components/form/form-context.utils.d.ts +2 -0
- package/dist/esm/components/form/form-context.utils.d.ts.map +1 -1
- package/dist/esm/components/form/form-context.utils.js +6 -2
- package/dist/esm/components/form/form-context.utils.js.map +1 -1
- package/dist/esm/components/form/validation-errors/FormErrorSummary.d.ts.map +1 -1
- package/dist/esm/components/form/validation-errors/FormErrorSummary.js +17 -15
- package/dist/esm/components/form/validation-errors/FormErrorSummary.js.map +1 -1
- package/dist/esm/components/form/validation-errors/field-reveal.d.ts +41 -0
- package/dist/esm/components/form/validation-errors/field-reveal.d.ts.map +1 -0
- package/dist/esm/components/form/validation-errors/field-reveal.js +108 -0
- package/dist/esm/components/form/validation-errors/field-reveal.js.map +1 -0
- package/dist/esm/components/form/validation-errors/form-level-error-recheck.d.ts +3 -0
- package/dist/esm/components/form/validation-errors/form-level-error-recheck.d.ts.map +1 -0
- package/dist/esm/components/form/validation-errors/form-level-error-recheck.js +37 -0
- package/dist/esm/components/form/validation-errors/form-level-error-recheck.js.map +1 -0
- package/dist/esm/components/form/validation-errors/getFieldError.d.ts +6 -0
- package/dist/esm/components/form/validation-errors/getFieldError.d.ts.map +1 -1
- package/dist/esm/components/form/validation-errors/getFieldError.js +9 -2
- package/dist/esm/components/form/validation-errors/getFieldError.js.map +1 -1
- package/dist/esm/components/form/validation-errors/scroll-to-first-error.utils.d.ts +8 -1
- package/dist/esm/components/form/validation-errors/scroll-to-first-error.utils.d.ts.map +1 -1
- package/dist/esm/components/form/validation-errors/scroll-to-first-error.utils.js +46 -3
- package/dist/esm/components/form/validation-errors/scroll-to-first-error.utils.js.map +1 -1
- package/dist/esm/components/form/validation-errors/useServerErrorInjection.d.ts.map +1 -1
- package/dist/esm/components/form/validation-errors/useServerErrorInjection.js +8 -3
- package/dist/esm/components/form/validation-errors/useServerErrorInjection.js.map +1 -1
- package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.d.ts +32 -0
- package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.d.ts.map +1 -0
- package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.js +60 -0
- package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.js.map +1 -0
- package/dist/esm/components/form/validation-errors/zod-issue-resolver.d.ts +10 -0
- package/dist/esm/components/form/validation-errors/zod-issue-resolver.d.ts.map +1 -1
- package/dist/esm/components/form/validation-errors/zod-issue-resolver.js +12 -3
- package/dist/esm/components/form/validation-errors/zod-issue-resolver.js.map +1 -1
- package/dist/esm/components/navigation/app-level/ApplicationLevel_QuickActionButton.d.ts +7 -0
- package/dist/esm/components/navigation/app-level/ApplicationLevel_QuickActionButton.d.ts.map +1 -1
- package/dist/esm/components/navigation/app-level/ApplicationLevel_QuickActionButton.js.map +1 -1
- package/dist/esm/components/navigation/app-level/ApplicationLevel_UtilityPanel.d.ts +6 -0
- package/dist/esm/components/navigation/app-level/ApplicationLevel_UtilityPanel.d.ts.map +1 -1
- package/dist/esm/components/navigation/app-level/ApplicationLevel_UtilityPanel.js.map +1 -1
- package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.d.ts.map +1 -1
- package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.js +11 -28
- package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.js.map +1 -1
- package/dist/esm/components/navigation/app-level/engine-launcher-entries.d.ts +46 -0
- package/dist/esm/components/navigation/app-level/engine-launcher-entries.d.ts.map +1 -0
- package/dist/esm/components/navigation/app-level/engine-launcher-entries.js +165 -0
- package/dist/esm/components/navigation/app-level/engine-launcher-entries.js.map +1 -0
- package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.d.ts.map +1 -1
- package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.js +8 -3
- package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.js.map +1 -1
- package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.d.ts.map +1 -1
- package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.js +41 -20
- package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.js.map +1 -1
- package/dist/esm/components/navigation/app-level/useNavigationBehaviors.d.ts +1 -2
- package/dist/esm/components/navigation/app-level/useNavigationBehaviors.d.ts.map +1 -1
- package/dist/esm/components/navigation/app-level/useNavigationBehaviors.js +1 -15
- package/dist/esm/components/navigation/app-level/useNavigationBehaviors.js.map +1 -1
- package/dist/esm/components/navigation/app-level/useOwnOrganizationSearch.d.ts +32 -0
- package/dist/esm/components/navigation/app-level/useOwnOrganizationSearch.d.ts.map +1 -0
- package/dist/esm/components/navigation/app-level/useOwnOrganizationSearch.js +91 -0
- package/dist/esm/components/navigation/app-level/useOwnOrganizationSearch.js.map +1 -0
- package/dist/esm/components/navigation/app-level/useQuickSwitcherBehavior.d.ts.map +1 -1
- package/dist/esm/components/navigation/app-level/useQuickSwitcherBehavior.js +3 -1
- package/dist/esm/components/navigation/app-level/useQuickSwitcherBehavior.js.map +1 -1
- package/dist/esm/components/navigation/app-level/useSidebarBehavior.d.ts +18 -1
- package/dist/esm/components/navigation/app-level/useSidebarBehavior.d.ts.map +1 -1
- package/dist/esm/components/navigation/app-level/useSidebarBehavior.js +66 -9
- package/dist/esm/components/navigation/app-level/useSidebarBehavior.js.map +1 -1
- package/dist/esm/components/navigation/app-level/useUtilityPanelBehavior.d.ts +15 -10
- package/dist/esm/components/navigation/app-level/useUtilityPanelBehavior.d.ts.map +1 -1
- package/dist/esm/components/navigation/app-level/useUtilityPanelBehavior.js +89 -12
- package/dist/esm/components/navigation/app-level/useUtilityPanelBehavior.js.map +1 -1
- package/dist/esm/components/progression/ProgressionMilestoneTracker.labels.js +2 -2
- package/dist/esm/components/progression/ProgressionMilestoneTracker.labels.js.map +1 -1
- package/dist/esm/components/resources/CollectionSelectAllCheckbox.d.ts +39 -0
- package/dist/esm/components/resources/CollectionSelectAllCheckbox.d.ts.map +1 -0
- package/dist/esm/components/resources/CollectionSelectAllCheckbox.js +21 -0
- package/dist/esm/components/resources/CollectionSelectAllCheckbox.js.map +1 -0
- package/dist/esm/components/resources/CollectionSelectionControls.d.ts +4 -3
- package/dist/esm/components/resources/CollectionSelectionControls.d.ts.map +1 -1
- package/dist/esm/components/resources/CollectionSelectionControls.js.map +1 -1
- package/dist/esm/components/resources/ResourceCollectionBody_Table.d.ts +7 -2
- package/dist/esm/components/resources/ResourceCollectionBody_Table.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceCollectionBody_Table.js +38 -14
- package/dist/esm/components/resources/ResourceCollectionBody_Table.js.map +1 -1
- package/dist/esm/components/resources/ResourceCollectionFilterPresets.d.ts +4 -4
- package/dist/esm/components/resources/ResourceCollectionFilterPresets.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceCollectionFilterPresets.js +20 -13
- package/dist/esm/components/resources/ResourceCollectionFilterPresets.js.map +1 -1
- package/dist/esm/components/resources/ResourceCollectionQuickFilterTabs.d.ts +4 -3
- package/dist/esm/components/resources/ResourceCollectionQuickFilterTabs.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceCollectionQuickFilterTabs.js +40 -6
- package/dist/esm/components/resources/ResourceCollectionQuickFilterTabs.js.map +1 -1
- package/dist/esm/components/resources/ResourceCollectionToolbar.d.ts +65 -23
- package/dist/esm/components/resources/ResourceCollectionToolbar.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceCollectionToolbar.js +73 -10
- package/dist/esm/components/resources/ResourceCollectionToolbar.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Action.labels.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Action.labels.js +5 -0
- package/dist/esm/components/resources/ResourceLayout_Action.labels.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Breadcrumb.d.ts +18 -0
- package/dist/esm/components/resources/ResourceLayout_Breadcrumb.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Breadcrumb.js +57 -48
- package/dist/esm/components/resources/ResourceLayout_Breadcrumb.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_CollectionActions.d.ts +1 -1
- package/dist/esm/components/resources/ResourceLayout_CollectionActions.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_CollectionActions.js +1 -1
- package/dist/esm/components/resources/ResourceLayout_CollectionActions.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_ContainerNested.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_ContainerNested.js +7 -1
- package/dist/esm/components/resources/ResourceLayout_ContainerNested.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Create.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Create.js +3 -4
- package/dist/esm/components/resources/ResourceLayout_Create.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Create.labels.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Create.labels.js +10 -0
- package/dist/esm/components/resources/ResourceLayout_Create.labels.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_DangerZone.d.ts +5 -3
- package/dist/esm/components/resources/ResourceLayout_DangerZone.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_DangerZone.js +4 -3
- package/dist/esm/components/resources/ResourceLayout_DangerZone.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_FilterChips.d.ts +8 -1
- package/dist/esm/components/resources/ResourceLayout_FilterChips.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_FilterChips.js +83 -11
- package/dist/esm/components/resources/ResourceLayout_FilterChips.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Filters.labels.js +1 -1
- package/dist/esm/components/resources/ResourceLayout_Filters.labels.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_FiltersControl.d.ts +5 -8
- package/dist/esm/components/resources/ResourceLayout_FiltersControl.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_FiltersControl.js +68 -19
- package/dist/esm/components/resources/ResourceLayout_FiltersControl.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Header.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Header.js +150 -44
- package/dist/esm/components/resources/ResourceLayout_Header.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_InsertedViews.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_InsertedViews.js +62 -40
- package/dist/esm/components/resources/ResourceLayout_InsertedViews.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_List.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_List.js +68 -70
- package/dist/esm/components/resources/ResourceLayout_List.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_List.labels.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_List.labels.js +4 -10
- package/dist/esm/components/resources/ResourceLayout_List.labels.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_OperationBulk.d.ts +8 -9
- package/dist/esm/components/resources/ResourceLayout_OperationBulk.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_OperationBulk.js +67 -25
- package/dist/esm/components/resources/ResourceLayout_OperationBulk.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_OperationBulk.labels.js +8 -8
- package/dist/esm/components/resources/ResourceLayout_OperationBulk.labels.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_OperationsItems.d.ts +8 -2
- package/dist/esm/components/resources/ResourceLayout_OperationsItems.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_OperationsItems.js +12 -7
- package/dist/esm/components/resources/ResourceLayout_OperationsItems.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_OperationsItems.labels.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_OperationsItems.labels.js +11 -6
- package/dist/esm/components/resources/ResourceLayout_OperationsItems.labels.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Read.d.ts +2 -0
- package/dist/esm/components/resources/ResourceLayout_Read.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Read.js +23 -5
- package/dist/esm/components/resources/ResourceLayout_Read.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_ReadSummary.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_ReadSummary.js +5 -3
- package/dist/esm/components/resources/ResourceLayout_ReadSummary.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_ReadSummary_TableRow.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_ReadSummary_TableRow.js +18 -7
- package/dist/esm/components/resources/ResourceLayout_ReadSummary_TableRow.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_RecordSharing.d.ts +56 -0
- package/dist/esm/components/resources/ResourceLayout_RecordSharing.d.ts.map +1 -0
- package/dist/esm/components/resources/ResourceLayout_RecordSharing.js +184 -0
- package/dist/esm/components/resources/ResourceLayout_RecordSharing.js.map +1 -0
- package/dist/esm/components/resources/ResourceLayout_RecordSharing.labels.d.ts +3 -0
- package/dist/esm/components/resources/ResourceLayout_RecordSharing.labels.d.ts.map +1 -0
- package/dist/esm/components/resources/ResourceLayout_RecordSharing.labels.js +106 -0
- package/dist/esm/components/resources/ResourceLayout_RecordSharing.labels.js.map +1 -0
- package/dist/esm/components/resources/ResourceLayout_Search.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Search.js +55 -42
- package/dist/esm/components/resources/ResourceLayout_Search.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Search.labels.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Search.labels.js +0 -6
- package/dist/esm/components/resources/ResourceLayout_Search.labels.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_SemanticOperationFallback.d.ts +8 -0
- package/dist/esm/components/resources/ResourceLayout_SemanticOperationFallback.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_SemanticOperationFallback.js +2 -3
- package/dist/esm/components/resources/ResourceLayout_SemanticOperationFallback.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_SortControl.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_SortControl.js +3 -2
- package/dist/esm/components/resources/ResourceLayout_SortControl.js.map +1 -1
- package/dist/esm/components/resources/ResourceListItemRenderer.d.ts +29 -5
- package/dist/esm/components/resources/ResourceListItemRenderer.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceListItemRenderer.js +123 -41
- package/dist/esm/components/resources/ResourceListItemRenderer.js.map +1 -1
- package/dist/esm/components/resources/ResourceViewModeToggle.d.ts +6 -1
- package/dist/esm/components/resources/ResourceViewModeToggle.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceViewModeToggle.js +9 -7
- package/dist/esm/components/resources/ResourceViewModeToggle.js.map +1 -1
- package/dist/esm/components/resources/collection-card-layout.utils.d.ts +37 -15
- package/dist/esm/components/resources/collection-card-layout.utils.d.ts.map +1 -1
- package/dist/esm/components/resources/collection-card-layout.utils.js +37 -15
- package/dist/esm/components/resources/collection-card-layout.utils.js.map +1 -1
- package/dist/esm/components/resources/collection-selection-bar-density.d.ts +113 -0
- package/dist/esm/components/resources/collection-selection-bar-density.d.ts.map +1 -0
- package/dist/esm/components/resources/collection-selection-bar-density.js +175 -0
- package/dist/esm/components/resources/collection-selection-bar-density.js.map +1 -0
- package/dist/esm/components/resources/embeds/EmbeddedResourceDescent.d.ts +2 -1
- package/dist/esm/components/resources/embeds/EmbeddedResourceDescent.d.ts.map +1 -1
- package/dist/esm/components/resources/embeds/EmbeddedResourceDescent.js.map +1 -1
- package/dist/esm/components/resources/embeds/RelatedResourceSections.d.ts.map +1 -1
- package/dist/esm/components/resources/embeds/RelatedResourceSections.js +14 -2
- package/dist/esm/components/resources/embeds/RelatedResourceSections.js.map +1 -1
- package/dist/esm/components/resources/embeds/ResourceEmbeds.d.ts +61 -1
- package/dist/esm/components/resources/embeds/ResourceEmbeds.d.ts.map +1 -1
- package/dist/esm/components/resources/embeds/ResourceEmbeds.js +151 -15
- package/dist/esm/components/resources/embeds/ResourceEmbeds.js.map +1 -1
- package/dist/esm/components/resources/embeds/child-operation-addressability.utils.d.ts +11 -0
- package/dist/esm/components/resources/embeds/child-operation-addressability.utils.d.ts.map +1 -1
- package/dist/esm/components/resources/embeds/child-operation-addressability.utils.js +13 -0
- package/dist/esm/components/resources/embeds/child-operation-addressability.utils.js.map +1 -1
- package/dist/esm/components/resources/embeds/useEmbeddedResourceContext.d.ts +24 -1
- package/dist/esm/components/resources/embeds/useEmbeddedResourceContext.d.ts.map +1 -1
- package/dist/esm/components/resources/embeds/useEmbeddedResourceContext.js +47 -3
- package/dist/esm/components/resources/embeds/useEmbeddedResourceContext.js.map +1 -1
- package/dist/esm/components/resources/resource-filter-field-type.frontend.schemas.d.ts +35 -0
- package/dist/esm/components/resources/resource-filter-field-type.frontend.schemas.d.ts.map +1 -0
- package/dist/esm/components/resources/resource-filter-field-type.frontend.schemas.js +36 -0
- package/dist/esm/components/resources/resource-filter-field-type.frontend.schemas.js.map +1 -0
- package/dist/esm/components/resources/resource-header-geometry.d.ts +19 -0
- package/dist/esm/components/resources/resource-header-geometry.d.ts.map +1 -0
- package/dist/esm/components/resources/resource-header-geometry.js +19 -0
- package/dist/esm/components/resources/resource-header-geometry.js.map +1 -0
- package/dist/esm/components/resources/resourceLayout.utils.d.ts +28 -2
- package/dist/esm/components/resources/resourceLayout.utils.d.ts.map +1 -1
- package/dist/esm/components/resources/resourceLayout.utils.js +45 -12
- package/dist/esm/components/resources/resourceLayout.utils.js.map +1 -1
- package/dist/esm/components/resources/skeleton/ArrayField.d.ts.map +1 -1
- package/dist/esm/components/resources/skeleton/ArrayField.js +10 -0
- package/dist/esm/components/resources/skeleton/ArrayField.js.map +1 -1
- package/dist/esm/components/resources/skeleton/DisplayLayout.d.ts +20 -4
- package/dist/esm/components/resources/skeleton/DisplayLayout.d.ts.map +1 -1
- package/dist/esm/components/resources/skeleton/DisplayLayout.js +19 -2
- package/dist/esm/components/resources/skeleton/DisplayLayout.js.map +1 -1
- package/dist/esm/components/resources/skeleton/FieldTiles.d.ts +48 -0
- package/dist/esm/components/resources/skeleton/FieldTiles.d.ts.map +1 -0
- package/dist/esm/components/resources/skeleton/FieldTiles.js +51 -0
- package/dist/esm/components/resources/skeleton/FieldTiles.js.map +1 -0
- package/dist/esm/components/resources/skeleton/FormLayout.d.ts.map +1 -1
- package/dist/esm/components/resources/skeleton/FormLayout.js +2 -1
- package/dist/esm/components/resources/skeleton/FormLayout.js.map +1 -1
- package/dist/esm/components/resources/skeleton/Group.d.ts.map +1 -1
- package/dist/esm/components/resources/skeleton/Group.js +5 -2
- package/dist/esm/components/resources/skeleton/Group.js.map +1 -1
- package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.d.ts +77 -14
- package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.d.ts.map +1 -1
- package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.js +98 -25
- package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.js.map +1 -1
- package/dist/esm/components/resources/skeleton/Section.d.ts +7 -0
- package/dist/esm/components/resources/skeleton/Section.d.ts.map +1 -1
- package/dist/esm/components/resources/skeleton/Section.js +9 -3
- package/dist/esm/components/resources/skeleton/Section.js.map +1 -1
- package/dist/esm/components/resources/skeleton/SummaryLayout.d.ts +3 -3
- package/dist/esm/components/resources/skeleton/SummaryLayout.js +3 -3
- package/dist/esm/components/resources/skeleton/SummaryLayout.js.map +1 -1
- package/dist/esm/components/resources/skeleton/WizardLayout.d.ts +7 -5
- package/dist/esm/components/resources/skeleton/WizardLayout.d.ts.map +1 -1
- package/dist/esm/components/resources/skeleton/WizardLayout.js +176 -65
- package/dist/esm/components/resources/skeleton/WizardLayout.js.map +1 -1
- package/dist/esm/components/resources/skeleton/WizardLayoutContext.d.ts +9 -1
- package/dist/esm/components/resources/skeleton/WizardLayoutContext.d.ts.map +1 -1
- package/dist/esm/components/resources/skeleton/WizardLayoutContext.js +7 -0
- package/dist/esm/components/resources/skeleton/WizardLayoutContext.js.map +1 -1
- package/dist/esm/components/resources/skeleton/WizardStep.d.ts +1 -1
- package/dist/esm/components/resources/skeleton/WizardStep.d.ts.map +1 -1
- package/dist/esm/components/resources/skeleton/WizardStep.js +9 -5
- package/dist/esm/components/resources/skeleton/WizardStep.js.map +1 -1
- package/dist/esm/components/resources/skeleton/section-consolidation.utils.d.ts.map +1 -1
- package/dist/esm/components/resources/skeleton/section-consolidation.utils.js +31 -2
- package/dist/esm/components/resources/skeleton/section-consolidation.utils.js.map +1 -1
- package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldDisplayPreset_ResourceReference_Default.d.ts.map +1 -1
- package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldDisplayPreset_ResourceReference_Default.js +176 -61
- package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldDisplayPreset_ResourceReference_Default.js.map +1 -1
- package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldEditPreset_ResourceReference_Default.d.ts.map +1 -1
- package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldEditPreset_ResourceReference_Default.js +14 -7
- package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldEditPreset_ResourceReference_Default.js.map +1 -1
- package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldEditPreset_ResourceReference_Default.labels.d.ts.map +1 -1
- package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldEditPreset_ResourceReference_Default.labels.js +18 -1
- package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldEditPreset_ResourceReference_Default.labels.js.map +1 -1
- package/dist/esm/components/resources-fields/resource-reference/resource-reference.shared.utils.d.ts +8 -0
- package/dist/esm/components/resources-fields/resource-reference/resource-reference.shared.utils.d.ts.map +1 -1
- package/dist/esm/components/resources-fields/resource-reference/resource-reference.shared.utils.js +3 -0
- package/dist/esm/components/resources-fields/resource-reference/resource-reference.shared.utils.js.map +1 -1
- package/dist/esm/components/resources-fields/resource-reference/useResourceSearch.d.ts.map +1 -1
- package/dist/esm/components/resources-fields/resource-reference/useResourceSearch.js +48 -17
- package/dist/esm/components/resources-fields/resource-reference/useResourceSearch.js.map +1 -1
- package/dist/esm/components/sections/ContentSectionContainer.d.ts.map +1 -1
- package/dist/esm/components/sections/ContentSectionContainer.js +226 -74
- package/dist/esm/components/sections/ContentSectionContainer.js.map +1 -1
- package/dist/esm/components/sections/ContentSectionContainer.labels.d.ts.map +1 -1
- package/dist/esm/components/sections/ContentSectionContainer.labels.js +2 -3
- package/dist/esm/components/sections/ContentSectionContainer.labels.js.map +1 -1
- package/dist/esm/components/sections/content-section.d.ts +2 -2
- package/dist/esm/components/sections/content-section.js.map +1 -1
- package/dist/esm/components/sections/section-grouping.shared.d.ts +19 -0
- package/dist/esm/components/sections/section-grouping.shared.d.ts.map +1 -1
- package/dist/esm/components/sections/section-grouping.shared.js +24 -0
- package/dist/esm/components/sections/section-grouping.shared.js.map +1 -1
- package/dist/esm/components/sections/section-legend-voice.context.d.ts +19 -0
- package/dist/esm/components/sections/section-legend-voice.context.d.ts.map +1 -0
- package/dist/esm/components/sections/section-legend-voice.context.js +21 -0
- package/dist/esm/components/sections/section-legend-voice.context.js.map +1 -0
- package/dist/esm/components/sections/section-legend-voice.d.ts +41 -0
- package/dist/esm/components/sections/section-legend-voice.d.ts.map +1 -0
- package/dist/esm/components/sections/section-legend-voice.js +67 -0
- package/dist/esm/components/sections/section-legend-voice.js.map +1 -0
- package/dist/esm/components/sections/stepper.d.ts +14 -0
- package/dist/esm/components/sections/stepper.d.ts.map +1 -1
- package/dist/esm/components/sections/stepper.js.map +1 -1
- package/dist/esm/components/sections/surface.d.ts.map +1 -1
- package/dist/esm/components/sections/surface.js +10 -2
- package/dist/esm/components/sections/surface.js.map +1 -1
- package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.d.ts +39 -0
- package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.d.ts.map +1 -0
- package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.js +187 -0
- package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.js.map +1 -0
- package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.labels.d.ts +3 -0
- package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.labels.d.ts.map +1 -0
- package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.labels.js +34 -0
- package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.labels.js.map +1 -0
- package/dist/esm/components/settings/AppPage_AgentWorkOverrideRateSettings.d.ts +1 -1
- package/dist/esm/components/settings/AppPage_AgentWorkOverrideRateSettings.js +1 -1
- package/dist/esm/components/settings/AppPage_AgentWorkOverrideRateSettings.js.map +1 -1
- package/dist/esm/components/settings/AppPage_AgentWorkOverrideRateSettings.labels.js +8 -8
- package/dist/esm/components/settings/AppPage_AgentWorkOverrideRateSettings.labels.js.map +1 -1
- package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.d.ts +43 -0
- package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.d.ts.map +1 -0
- package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.js +142 -0
- package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.js.map +1 -0
- package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.labels.d.ts +3 -0
- package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.labels.d.ts.map +1 -0
- package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.labels.js +62 -0
- package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.labels.js.map +1 -0
- package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.d.ts +25 -8
- package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.d.ts.map +1 -1
- package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.js +275 -71
- package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.js.map +1 -1
- package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.labels.d.ts.map +1 -1
- package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.labels.js +91 -14
- package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.labels.js.map +1 -1
- package/dist/esm/components/settings/AppPage_InvitationsSettings.d.ts +13 -8
- package/dist/esm/components/settings/AppPage_InvitationsSettings.d.ts.map +1 -1
- package/dist/esm/components/settings/AppPage_InvitationsSettings.js +95 -23
- package/dist/esm/components/settings/AppPage_InvitationsSettings.js.map +1 -1
- package/dist/esm/components/settings/AppPage_InvitationsSettings.labels.d.ts.map +1 -1
- package/dist/esm/components/settings/AppPage_InvitationsSettings.labels.js +25 -2
- package/dist/esm/components/settings/AppPage_InvitationsSettings.labels.js.map +1 -1
- package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.d.ts +67 -0
- package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.d.ts.map +1 -0
- package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.js +177 -0
- package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.js.map +1 -0
- package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.labels.d.ts +3 -0
- package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.labels.d.ts.map +1 -0
- package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.labels.js +45 -0
- package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.labels.js.map +1 -0
- package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.d.ts +35 -0
- package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.d.ts.map +1 -0
- package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.js +137 -0
- package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.js.map +1 -0
- package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.labels.d.ts +3 -0
- package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.labels.d.ts.map +1 -0
- package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.labels.js +38 -0
- package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.labels.js.map +1 -0
- package/dist/esm/components/settings/SettingsHub.d.ts +3 -3
- package/dist/esm/components/settings/SettingsHub.d.ts.map +1 -1
- package/dist/esm/components/settings/SettingsHub.js +98 -48
- package/dist/esm/components/settings/SettingsHub.js.map +1 -1
- package/dist/esm/components/settings/SettingsHub.labels.d.ts.map +1 -1
- package/dist/esm/components/settings/SettingsHub.labels.js +2 -0
- package/dist/esm/components/settings/SettingsHub.labels.js.map +1 -1
- package/dist/esm/components/settings/SettingsResourceOperationPanel.d.ts.map +1 -1
- package/dist/esm/components/settings/SettingsResourceOperationPanel.js +21 -1
- package/dist/esm/components/settings/SettingsResourceOperationPanel.js.map +1 -1
- package/dist/esm/components/settings/useOwnerProviderConnections.d.ts +24 -5
- package/dist/esm/components/settings/useOwnerProviderConnections.d.ts.map +1 -1
- package/dist/esm/components/settings/useOwnerProviderConnections.js +67 -9
- package/dist/esm/components/settings/useOwnerProviderConnections.js.map +1 -1
- package/dist/esm/components/views/chart-view/ChartView.js +3 -3
- package/dist/esm/components/views/chart-view/ChartView.js.map +1 -1
- package/dist/esm/components/views/chart-view/chart-export.utils.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/chart-export.utils.js +2 -9
- package/dist/esm/components/views/chart-view/chart-export.utils.js.map +1 -1
- package/dist/esm/components/views/chart-view/enum-color-bridge.d.ts +1 -0
- package/dist/esm/components/views/chart-view/enum-color-bridge.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/enum-color-bridge.js +10 -1
- package/dist/esm/components/views/chart-view/enum-color-bridge.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builder-utils.d.ts +8 -6
- package/dist/esm/components/views/chart-view/option-builder/builder-utils.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builder-utils.js +10 -8
- package/dist/esm/components/views/chart-view/option-builder/builder-utils.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.js +2 -2
- package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/composed.builder.js +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/composed.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.js +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/scatter-family.builder.js +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/scatter-family.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/chart-type-builder.interface.d.ts +6 -0
- package/dist/esm/components/views/chart-view/option-builder/chart-type-builder.interface.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/chart-type-builder.interface.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.d.ts +3 -1
- package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.js +4 -1
- package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.js.map +1 -1
- package/dist/esm/components/views/composite-view/CompositeLayout.d.ts +0 -1
- package/dist/esm/components/views/composite-view/CompositeLayout.d.ts.map +1 -1
- package/dist/esm/components/views/composite-view/CompositeLayout.js.map +1 -1
- package/dist/esm/components/views/composite-view/useCompositeResourceOperationContextBuilder.d.ts.map +1 -1
- package/dist/esm/components/views/composite-view/useCompositeResourceOperationContextBuilder.js +24 -1
- package/dist/esm/components/views/composite-view/useCompositeResourceOperationContextBuilder.js.map +1 -1
- package/dist/esm/components/views/flows-actors-view/AgentReplyReportAction.d.ts +29 -0
- package/dist/esm/components/views/flows-actors-view/AgentReplyReportAction.d.ts.map +1 -0
- package/dist/esm/components/views/flows-actors-view/AgentReplyReportAction.js +104 -0
- package/dist/esm/components/views/flows-actors-view/AgentReplyReportAction.js.map +1 -0
- package/dist/esm/components/views/flows-actors-view/FlowsActorsView.d.ts +16 -5
- package/dist/esm/components/views/flows-actors-view/FlowsActorsView.d.ts.map +1 -1
- package/dist/esm/components/views/flows-actors-view/FlowsActorsView.js +219 -230
- package/dist/esm/components/views/flows-actors-view/FlowsActorsView.js.map +1 -1
- package/dist/esm/components/views/flows-actors-view/FlowsActorsView.labels.d.ts +5 -0
- package/dist/esm/components/views/flows-actors-view/FlowsActorsView.labels.d.ts.map +1 -1
- package/dist/esm/components/views/flows-actors-view/FlowsActorsView.labels.js +15 -13
- package/dist/esm/components/views/flows-actors-view/FlowsActorsView.labels.js.map +1 -1
- package/dist/esm/components/views/flows-actors-view/held-conversation-selection.d.ts +13 -0
- package/dist/esm/components/views/flows-actors-view/held-conversation-selection.d.ts.map +1 -0
- package/dist/esm/components/views/flows-actors-view/held-conversation-selection.js +44 -0
- package/dist/esm/components/views/flows-actors-view/held-conversation-selection.js.map +1 -0
- package/dist/esm/core/app-shell/AppShellBuildingBlocks.d.ts.map +1 -1
- package/dist/esm/core/app-shell/AppShellBuildingBlocks.js +6 -2
- package/dist/esm/core/app-shell/AppShellBuildingBlocks.js.map +1 -1
- package/dist/esm/core/app-shell/app-shell.schemas.d.ts +64 -9
- package/dist/esm/core/app-shell/app-shell.schemas.d.ts.map +1 -1
- package/dist/esm/core/app-shell/app-shell.schemas.js.map +1 -1
- package/dist/esm/core/app-shell/hosted-components.utils.d.ts +11 -1
- package/dist/esm/core/app-shell/hosted-components.utils.d.ts.map +1 -1
- package/dist/esm/core/app-shell/hosted-components.utils.js +25 -0
- package/dist/esm/core/app-shell/hosted-components.utils.js.map +1 -1
- package/dist/esm/core/app-shell/shell-layout.d.ts +138 -0
- package/dist/esm/core/app-shell/shell-layout.d.ts.map +1 -0
- package/dist/esm/core/app-shell/shell-layout.js +143 -0
- package/dist/esm/core/app-shell/shell-layout.js.map +1 -0
- package/dist/esm/core/app-shell/shell-motion/shell-layout-stylesheet.d.ts +13 -0
- package/dist/esm/core/app-shell/shell-motion/shell-layout-stylesheet.d.ts.map +1 -0
- package/dist/esm/core/app-shell/shell-motion/shell-layout-stylesheet.js +49 -0
- package/dist/esm/core/app-shell/shell-motion/shell-layout-stylesheet.js.map +1 -0
- package/dist/esm/core/app-shell/shell-motion/shell-motion-origins.d.ts +95 -0
- package/dist/esm/core/app-shell/shell-motion/shell-motion-origins.d.ts.map +1 -0
- package/dist/esm/core/app-shell/shell-motion/shell-motion-origins.js +316 -0
- package/dist/esm/core/app-shell/shell-motion/shell-motion-origins.js.map +1 -0
- package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.d.ts +217 -0
- package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.d.ts.map +1 -0
- package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.js +197 -0
- package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.js.map +1 -0
- package/dist/esm/core/app-shell/shell-motion/shell-view-transition.d.ts +46 -0
- package/dist/esm/core/app-shell/shell-motion/shell-view-transition.d.ts.map +1 -0
- package/dist/esm/core/app-shell/shell-motion/shell-view-transition.js +139 -0
- package/dist/esm/core/app-shell/shell-motion/shell-view-transition.js.map +1 -0
- package/dist/esm/core/app-shell/shell-motion/use-shell-motion.d.ts +108 -0
- package/dist/esm/core/app-shell/shell-motion/use-shell-motion.d.ts.map +1 -0
- package/dist/esm/core/app-shell/shell-motion/use-shell-motion.js +423 -0
- package/dist/esm/core/app-shell/shell-motion/use-shell-motion.js.map +1 -0
- package/dist/esm/core/app-shell/useAppShellLayout.d.ts.map +1 -1
- package/dist/esm/core/app-shell/useAppShellLayout.js +6 -1
- package/dist/esm/core/app-shell/useAppShellLayout.js.map +1 -1
- package/dist/esm/core/app-shell/usePublicShellLayout.d.ts.map +1 -1
- package/dist/esm/core/app-shell/usePublicShellLayout.js +11 -4
- package/dist/esm/core/app-shell/usePublicShellLayout.js.map +1 -1
- package/dist/esm/core/automated-layout/automated-layout.frontend.utils.d.ts +18 -1
- package/dist/esm/core/automated-layout/automated-layout.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/automated-layout/automated-layout.frontend.utils.js +26 -4
- package/dist/esm/core/automated-layout/automated-layout.frontend.utils.js.map +1 -1
- package/dist/esm/core/automated-layout/composite-value-defaults.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/automated-layout/composite-value-defaults.frontend.utils.js +3 -22
- package/dist/esm/core/automated-layout/composite-value-defaults.frontend.utils.js.map +1 -1
- package/dist/esm/core/automated-layout/default-layout-generator.frontend.utils.d.ts +19 -3
- package/dist/esm/core/automated-layout/default-layout-generator.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/automated-layout/default-layout-generator.frontend.utils.js +100 -13
- package/dist/esm/core/automated-layout/default-layout-generator.frontend.utils.js.map +1 -1
- package/dist/esm/core/automated-layout/summary-value-naming.utils.d.ts +67 -0
- package/dist/esm/core/automated-layout/summary-value-naming.utils.d.ts.map +1 -0
- package/dist/esm/core/automated-layout/summary-value-naming.utils.js +100 -0
- package/dist/esm/core/automated-layout/summary-value-naming.utils.js.map +1 -0
- package/dist/esm/core/billing/BillingContext.d.ts +0 -17
- package/dist/esm/core/billing/BillingContext.d.ts.map +1 -1
- package/dist/esm/core/billing/BillingContext.js +6 -1
- package/dist/esm/core/billing/BillingContext.js.map +1 -1
- package/dist/esm/core/branding/OrganizationBrandingPublisher.d.ts +2 -0
- package/dist/esm/core/branding/OrganizationBrandingPublisher.d.ts.map +1 -0
- package/dist/esm/core/branding/OrganizationBrandingPublisher.js +78 -0
- package/dist/esm/core/branding/OrganizationBrandingPublisher.js.map +1 -0
- package/dist/esm/core/branding/useBrandIdentity.d.ts +21 -0
- package/dist/esm/core/branding/useBrandIdentity.d.ts.map +1 -1
- package/dist/esm/core/branding/useBrandIdentity.js +31 -5
- package/dist/esm/core/branding/useBrandIdentity.js.map +1 -1
- package/dist/esm/core/branding/useBrandPresentation.d.ts +5 -0
- package/dist/esm/core/branding/useBrandPresentation.d.ts.map +1 -1
- package/dist/esm/core/branding/useBrandPresentation.js +1 -0
- package/dist/esm/core/branding/useBrandPresentation.js.map +1 -1
- package/dist/esm/core/branding/useDisplayableImageUrl.d.ts +4 -0
- package/dist/esm/core/branding/useDisplayableImageUrl.d.ts.map +1 -0
- package/dist/esm/core/branding/useDisplayableImageUrl.js +66 -0
- package/dist/esm/core/branding/useDisplayableImageUrl.js.map +1 -0
- package/dist/esm/core/branding/useOrganizationDocumentTitle.d.ts +2 -0
- package/dist/esm/core/branding/useOrganizationDocumentTitle.d.ts.map +1 -0
- package/dist/esm/core/branding/useOrganizationDocumentTitle.js +23 -0
- package/dist/esm/core/branding/useOrganizationDocumentTitle.js.map +1 -0
- package/dist/esm/core/commons/save-blob-as-file.frontend.utils.d.ts +16 -0
- package/dist/esm/core/commons/save-blob-as-file.frontend.utils.d.ts.map +1 -0
- package/dist/esm/core/commons/save-blob-as-file.frontend.utils.js +35 -0
- package/dist/esm/core/commons/save-blob-as-file.frontend.utils.js.map +1 -0
- package/dist/esm/core/components-registry/assert-registry-completeness.frontend.helper.d.ts.map +1 -1
- package/dist/esm/core/components-registry/assert-registry-completeness.frontend.helper.js +8 -0
- package/dist/esm/core/components-registry/assert-registry-completeness.frontend.helper.js.map +1 -1
- package/dist/esm/core/components-registry/component-resolver.frontend.helper.d.ts.map +1 -1
- package/dist/esm/core/components-registry/component-resolver.frontend.helper.js +34 -5
- package/dist/esm/core/components-registry/component-resolver.frontend.helper.js.map +1 -1
- package/dist/esm/core/components-registry/register-framework-layouts.d.ts.map +1 -1
- package/dist/esm/core/components-registry/register-framework-layouts.js +4 -0
- package/dist/esm/core/components-registry/register-framework-layouts.js.map +1 -1
- package/dist/esm/core/config/app-configuration-frontend.schemas.d.ts +36 -0
- package/dist/esm/core/config/app-configuration-frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/config/app-configuration-frontend.schemas.js +29 -2
- package/dist/esm/core/config/app-configuration-frontend.schemas.js.map +1 -1
- package/dist/esm/core/config/app-level-components.frontend.schemas.d.ts +10 -16
- package/dist/esm/core/config/app-level-components.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/config/app-level-components.frontend.schemas.js +10 -16
- package/dist/esm/core/config/app-level-components.frontend.schemas.js.map +1 -1
- package/dist/esm/core/config/chart-view.frontend.schemas.d.ts +12 -8
- package/dist/esm/core/config/chart-view.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/config/chart-view.frontend.schemas.js +10 -0
- package/dist/esm/core/config/chart-view.frontend.schemas.js.map +1 -1
- package/dist/esm/core/config/composite-view.schemas.d.ts +2 -2
- package/dist/esm/core/config/config-merge-utilities.d.ts +31 -3
- package/dist/esm/core/config/config-merge-utilities.d.ts.map +1 -1
- package/dist/esm/core/config/config-merge-utilities.js +61 -7
- package/dist/esm/core/config/config-merge-utilities.js.map +1 -1
- package/dist/esm/core/config/decision-inbox-capability.frontend.utils.d.ts +83 -0
- package/dist/esm/core/config/decision-inbox-capability.frontend.utils.d.ts.map +1 -0
- package/dist/esm/core/config/decision-inbox-capability.frontend.utils.js +100 -0
- package/dist/esm/core/config/decision-inbox-capability.frontend.utils.js.map +1 -0
- package/dist/esm/core/config/directory-provisioning-capabilities.frontend.utils.d.ts +69 -0
- package/dist/esm/core/config/directory-provisioning-capabilities.frontend.utils.d.ts.map +1 -0
- package/dist/esm/core/config/directory-provisioning-capabilities.frontend.utils.js +65 -0
- package/dist/esm/core/config/directory-provisioning-capabilities.frontend.utils.js.map +1 -0
- package/dist/esm/core/config/engine-settings-destinations.d.ts +13 -1
- package/dist/esm/core/config/engine-settings-destinations.d.ts.map +1 -1
- package/dist/esm/core/config/engine-settings-destinations.js +588 -155
- package/dist/esm/core/config/engine-settings-destinations.js.map +1 -1
- package/dist/esm/core/config/execution-view.schemas.d.ts +17 -3
- package/dist/esm/core/config/execution-view.schemas.d.ts.map +1 -1
- package/dist/esm/core/config/execution-view.schemas.js +1 -1
- package/dist/esm/core/config/execution-view.schemas.js.map +1 -1
- package/dist/esm/core/config/flows-actors-view.schemas.d.ts +12 -2
- package/dist/esm/core/config/flows-actors-view.schemas.d.ts.map +1 -1
- package/dist/esm/core/config/flows-actors-view.schemas.js +13 -1
- package/dist/esm/core/config/flows-actors-view.schemas.js.map +1 -1
- package/dist/esm/core/config/inserted-view-launcher.schemas.d.ts +12 -11
- package/dist/esm/core/config/inserted-view-launcher.schemas.d.ts.map +1 -1
- package/dist/esm/core/config/inserted-view-launcher.schemas.js +14 -13
- package/dist/esm/core/config/inserted-view-launcher.schemas.js.map +1 -1
- package/dist/esm/core/config/launcher-items.frontend.schemas.d.ts +77 -27
- package/dist/esm/core/config/launcher-items.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/config/launcher-items.frontend.schemas.js +18 -13
- package/dist/esm/core/config/launcher-items.frontend.schemas.js.map +1 -1
- package/dist/esm/core/config/relationship-side-capabilities.frontend.utils.d.ts +79 -0
- package/dist/esm/core/config/relationship-side-capabilities.frontend.utils.d.ts.map +1 -0
- package/dist/esm/core/config/relationship-side-capabilities.frontend.utils.js +95 -0
- package/dist/esm/core/config/relationship-side-capabilities.frontend.utils.js.map +1 -0
- package/dist/esm/core/config/settings-hub-gating.frontend.utils.d.ts +19 -7
- package/dist/esm/core/config/settings-hub-gating.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/config/settings-hub-gating.frontend.utils.js +45 -10
- package/dist/esm/core/config/settings-hub-gating.frontend.utils.js.map +1 -1
- package/dist/esm/core/config/settings-hub-presentation.frontend.utils.d.ts +2 -2
- package/dist/esm/core/config/settings-hub-presentation.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/config/settings-hub-presentation.frontend.utils.js +38 -5
- package/dist/esm/core/config/settings-hub-presentation.frontend.utils.js.map +1 -1
- package/dist/esm/core/config/settings-hub.frontend.schemas.d.ts +94 -10
- package/dist/esm/core/config/settings-hub.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/config/settings-hub.frontend.schemas.js +40 -3
- package/dist/esm/core/config/settings-hub.frontend.schemas.js.map +1 -1
- package/dist/esm/core/config/useSettingsHubConfig.d.ts.map +1 -1
- package/dist/esm/core/config/useSettingsHubConfig.js +4 -1
- package/dist/esm/core/config/useSettingsHubConfig.js.map +1 -1
- package/dist/esm/core/config/useVisibleSettingsHubConfig.d.ts +2 -2
- package/dist/esm/core/config/useVisibleSettingsHubConfig.d.ts.map +1 -1
- package/dist/esm/core/config/useVisibleSettingsHubConfig.js +7 -8
- package/dist/esm/core/config/useVisibleSettingsHubConfig.js.map +1 -1
- package/dist/esm/core/config/verify-launcher-content.d.ts +16 -2
- package/dist/esm/core/config/verify-launcher-content.d.ts.map +1 -1
- package/dist/esm/core/config/verify-launcher-content.js +64 -4
- package/dist/esm/core/config/verify-launcher-content.js.map +1 -1
- package/dist/esm/core/config/verify-settings-hub-content.d.ts +4 -0
- package/dist/esm/core/config/verify-settings-hub-content.d.ts.map +1 -1
- package/dist/esm/core/config/verify-settings-hub-content.js +34 -0
- package/dist/esm/core/config/verify-settings-hub-content.js.map +1 -1
- package/dist/esm/core/enums/common-enum-registry.d.ts +16 -23
- package/dist/esm/core/enums/common-enum-registry.d.ts.map +1 -1
- package/dist/esm/core/enums/common-enum-registry.js +26 -29
- package/dist/esm/core/enums/common-enum-registry.js.map +1 -1
- package/dist/esm/core/errors/GlobalErrorHandler.d.ts.map +1 -1
- package/dist/esm/core/errors/GlobalErrorHandler.js +71 -9
- package/dist/esm/core/errors/GlobalErrorHandler.js.map +1 -1
- package/dist/esm/core/errors/error-management.frontend.service.d.ts +0 -4
- package/dist/esm/core/errors/error-management.frontend.service.d.ts.map +1 -1
- package/dist/esm/core/errors/error-management.frontend.service.js +5 -8
- package/dist/esm/core/errors/error-management.frontend.service.js.map +1 -1
- package/dist/esm/core/errors/errors.frontend.schemas.d.ts +21 -10
- package/dist/esm/core/errors/errors.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/errors/errors.frontend.schemas.js.map +1 -1
- package/dist/esm/core/errors/user-facing-error-message.frontend.utils.d.ts +35 -0
- package/dist/esm/core/errors/user-facing-error-message.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/errors/user-facing-error-message.frontend.utils.js +44 -5
- package/dist/esm/core/errors/user-facing-error-message.frontend.utils.js.map +1 -1
- package/dist/esm/core/events/EventBusContext.js.map +1 -1
- package/dist/esm/core/events/NotificationContext.d.ts +13 -1
- package/dist/esm/core/events/NotificationContext.d.ts.map +1 -1
- package/dist/esm/core/events/NotificationContext.js +89 -22
- package/dist/esm/core/events/NotificationContext.js.map +1 -1
- package/dist/esm/core/events/events.frontend.schemas.d.ts +68 -4
- package/dist/esm/core/events/events.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/events/events.frontend.schemas.js +67 -3
- package/dist/esm/core/events/events.frontend.schemas.js.map +1 -1
- package/dist/esm/core/events/useNotificationPreferenceKinds.d.ts +9 -0
- package/dist/esm/core/events/useNotificationPreferenceKinds.d.ts.map +1 -0
- package/dist/esm/core/events/useNotificationPreferenceKinds.js +50 -0
- package/dist/esm/core/events/useNotificationPreferenceKinds.js.map +1 -0
- package/dist/esm/core/execution/useExecution.js +1 -1
- package/dist/esm/core/execution/useExecution.js.map +1 -1
- package/dist/esm/core/execution/useExecutionParticipationRMM.d.ts.map +1 -1
- package/dist/esm/core/execution/useExecutionParticipationRMM.js +4 -0
- package/dist/esm/core/execution/useExecutionParticipationRMM.js.map +1 -1
- package/dist/esm/core/execution/useExecutionResourceOperationSurface.d.ts.map +1 -1
- package/dist/esm/core/execution/useExecutionResourceOperationSurface.js +3 -3
- package/dist/esm/core/execution/useExecutionResourceOperationSurface.js.map +1 -1
- package/dist/esm/core/external-providers/chat-sign-in-completion.frontend.d.ts +52 -0
- package/dist/esm/core/external-providers/chat-sign-in-completion.frontend.d.ts.map +1 -0
- package/dist/esm/core/external-providers/chat-sign-in-completion.frontend.js +88 -0
- package/dist/esm/core/external-providers/chat-sign-in-completion.frontend.js.map +1 -0
- package/dist/esm/core/external-providers/frontend-provider-registry.frontend.service.d.ts +20 -2
- package/dist/esm/core/external-providers/frontend-provider-registry.frontend.service.d.ts.map +1 -1
- package/dist/esm/core/external-providers/frontend-provider-registry.frontend.service.js +18 -1
- package/dist/esm/core/external-providers/frontend-provider-registry.frontend.service.js.map +1 -1
- package/dist/esm/core/external-providers/provider-scope-reauthorization-offers.frontend.d.ts +7 -5
- package/dist/esm/core/external-providers/provider-scope-reauthorization-offers.frontend.d.ts.map +1 -1
- package/dist/esm/core/external-providers/provider-scope-reauthorization-offers.frontend.js +9 -6
- package/dist/esm/core/external-providers/provider-scope-reauthorization-offers.frontend.js.map +1 -1
- package/dist/esm/core/features/FeaturesContext.d.ts +9 -1
- package/dist/esm/core/features/FeaturesContext.d.ts.map +1 -1
- package/dist/esm/core/features/FeaturesContext.js +38 -12
- package/dist/esm/core/features/FeaturesContext.js.map +1 -1
- package/dist/esm/core/features/useOperationFeatureAvailability.d.ts.map +1 -1
- package/dist/esm/core/features/useOperationFeatureAvailability.js +4 -0
- package/dist/esm/core/features/useOperationFeatureAvailability.js.map +1 -1
- package/dist/esm/core/flows-actors/FlowsActorsContext.d.ts +90 -33
- package/dist/esm/core/flows-actors/FlowsActorsContext.d.ts.map +1 -1
- package/dist/esm/core/flows-actors/FlowsActorsContext.js +153 -100
- package/dist/esm/core/flows-actors/FlowsActorsContext.js.map +1 -1
- package/dist/esm/core/flows-actors/conversation-history.model.d.ts +41 -0
- package/dist/esm/core/flows-actors/conversation-history.model.d.ts.map +1 -0
- package/dist/esm/core/flows-actors/conversation-history.model.js +65 -0
- package/dist/esm/core/flows-actors/conversation-history.model.js.map +1 -0
- package/dist/esm/core/flows-actors/conversation-thread.model.d.ts +144 -0
- package/dist/esm/core/flows-actors/conversation-thread.model.d.ts.map +1 -0
- package/dist/esm/core/flows-actors/conversation-thread.model.js +315 -0
- package/dist/esm/core/flows-actors/conversation-thread.model.js.map +1 -0
- package/dist/esm/core/flows-actors/execution-usages-batch.frontend.utils.d.ts +29 -0
- package/dist/esm/core/flows-actors/execution-usages-batch.frontend.utils.d.ts.map +1 -0
- package/dist/esm/core/flows-actors/execution-usages-batch.frontend.utils.js +67 -0
- package/dist/esm/core/flows-actors/execution-usages-batch.frontend.utils.js.map +1 -0
- package/dist/esm/core/flows-actors/graph-view.layout.d.ts +77 -0
- package/dist/esm/core/flows-actors/graph-view.layout.d.ts.map +1 -0
- package/dist/esm/core/flows-actors/graph-view.layout.js +169 -0
- package/dist/esm/core/flows-actors/graph-view.layout.js.map +1 -0
- package/dist/esm/core/flows-actors/graph-view.model.d.ts +245 -0
- package/dist/esm/core/flows-actors/graph-view.model.d.ts.map +1 -0
- package/dist/esm/core/flows-actors/graph-view.model.js +414 -0
- package/dist/esm/core/flows-actors/graph-view.model.js.map +1 -0
- package/dist/esm/core/flows-actors/model-cost-money.frontend.utils.d.ts +12 -0
- package/dist/esm/core/flows-actors/model-cost-money.frontend.utils.d.ts.map +1 -0
- package/dist/esm/core/flows-actors/model-cost-money.frontend.utils.js +20 -0
- package/dist/esm/core/flows-actors/model-cost-money.frontend.utils.js.map +1 -0
- package/dist/esm/core/flows-actors/usePendingDecisions.d.ts +36 -11
- package/dist/esm/core/flows-actors/usePendingDecisions.d.ts.map +1 -1
- package/dist/esm/core/flows-actors/usePendingDecisions.js +114 -29
- package/dist/esm/core/flows-actors/usePendingDecisions.js.map +1 -1
- package/dist/esm/core/guidance/GuidanceContext.d.ts.map +1 -1
- package/dist/esm/core/guidance/GuidanceContext.js +1 -2
- package/dist/esm/core/guidance/GuidanceContext.js.map +1 -1
- package/dist/esm/core/guidance/renderers/GuidanceChecklist.labels.js +2 -2
- package/dist/esm/core/guidance/renderers/GuidanceChecklist.labels.js.map +1 -1
- package/dist/esm/core/hotkey/DefaultHotkeyHandler.d.ts +3 -9
- package/dist/esm/core/hotkey/DefaultHotkeyHandler.d.ts.map +1 -1
- package/dist/esm/core/hotkey/DefaultHotkeyHandler.js +3 -15
- package/dist/esm/core/hotkey/DefaultHotkeyHandler.js.map +1 -1
- package/dist/esm/core/hotkey/merge-hotkey-emit-shortcuts.d.ts +2 -2
- package/dist/esm/core/hotkey/merge-hotkey-emit-shortcuts.js +2 -2
- package/dist/esm/core/hotkey/merge-hotkey-emit-shortcuts.js.map +1 -1
- package/dist/esm/core/i18n/I18nContext.d.ts +52 -3
- package/dist/esm/core/i18n/I18nContext.d.ts.map +1 -1
- package/dist/esm/core/i18n/I18nContext.js +80 -7
- package/dist/esm/core/i18n/I18nContext.js.map +1 -1
- package/dist/esm/core/i18n/regional-preference-resolution.frontend.utils.d.ts +82 -1
- package/dist/esm/core/i18n/regional-preference-resolution.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/i18n/regional-preference-resolution.frontend.utils.js +121 -6
- package/dist/esm/core/i18n/regional-preference-resolution.frontend.utils.js.map +1 -1
- package/dist/esm/core/i18n/useI18n.d.ts +3 -1
- package/dist/esm/core/i18n/useI18n.d.ts.map +1 -1
- package/dist/esm/core/i18n/useI18n.js +3 -1
- package/dist/esm/core/i18n/useI18n.js.map +1 -1
- package/dist/esm/core/icons/IconRegistryBridge.d.ts +38 -4
- package/dist/esm/core/icons/IconRegistryBridge.d.ts.map +1 -1
- package/dist/esm/core/icons/IconRegistryBridge.js +103 -63
- package/dist/esm/core/icons/IconRegistryBridge.js.map +1 -1
- package/dist/esm/core/icons/IconRegistryContext.d.ts.map +1 -1
- package/dist/esm/core/icons/IconRegistryContext.js +41 -0
- package/dist/esm/core/icons/IconRegistryContext.js.map +1 -1
- package/dist/esm/core/icons/icon-registry.frontend.schemas.d.ts +44 -0
- package/dist/esm/core/icons/icon-registry.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/icons/icon-registry.frontend.schemas.js +46 -0
- package/dist/esm/core/icons/icon-registry.frontend.schemas.js.map +1 -1
- package/dist/esm/core/monitoring/analytics/providers/backend-proxy-analytics.provider.js +2 -2
- package/dist/esm/core/monitoring/analytics/providers/backend-proxy-analytics.provider.js.map +1 -1
- package/dist/esm/core/navigation/NavigationContentAreas.d.ts +64 -20
- package/dist/esm/core/navigation/NavigationContentAreas.d.ts.map +1 -1
- package/dist/esm/core/navigation/NavigationContentAreas.js +82 -51
- package/dist/esm/core/navigation/NavigationContentAreas.js.map +1 -1
- package/dist/esm/core/navigation/NavigationContext.d.ts.map +1 -1
- package/dist/esm/core/navigation/NavigationContext.js +130 -23
- package/dist/esm/core/navigation/NavigationContext.js.map +1 -1
- package/dist/esm/core/navigation/NavigationRequestBridge.d.ts +4 -0
- package/dist/esm/core/navigation/NavigationRequestBridge.d.ts.map +1 -1
- package/dist/esm/core/navigation/NavigationRequestBridge.js +17 -1
- package/dist/esm/core/navigation/NavigationRequestBridge.js.map +1 -1
- package/dist/esm/core/navigation/ZoneChromeContext.d.ts +80 -0
- package/dist/esm/core/navigation/ZoneChromeContext.d.ts.map +1 -0
- package/dist/esm/core/navigation/ZoneChromeContext.js +130 -0
- package/dist/esm/core/navigation/ZoneChromeContext.js.map +1 -0
- package/dist/esm/core/navigation/launcher-resolution.d.ts +102 -2
- package/dist/esm/core/navigation/launcher-resolution.d.ts.map +1 -1
- package/dist/esm/core/navigation/launcher-resolution.js +194 -9
- package/dist/esm/core/navigation/launcher-resolution.js.map +1 -1
- package/dist/esm/core/navigation/launcher-runtime-availability.d.ts +35 -5
- package/dist/esm/core/navigation/launcher-runtime-availability.d.ts.map +1 -1
- package/dist/esm/core/navigation/launcher-runtime-availability.js +147 -18
- package/dist/esm/core/navigation/launcher-runtime-availability.js.map +1 -1
- package/dist/esm/core/navigation/navigation-cascade.d.ts +44 -14
- package/dist/esm/core/navigation/navigation-cascade.d.ts.map +1 -1
- package/dist/esm/core/navigation/navigation-cascade.js +87 -19
- package/dist/esm/core/navigation/navigation-cascade.js.map +1 -1
- package/dist/esm/core/navigation/navigation-commit.d.ts +45 -0
- package/dist/esm/core/navigation/navigation-commit.d.ts.map +1 -0
- package/dist/esm/core/navigation/navigation-commit.js +68 -0
- package/dist/esm/core/navigation/navigation-commit.js.map +1 -0
- package/dist/esm/core/navigation/navigation-controller-internals.d.ts +54 -3
- package/dist/esm/core/navigation/navigation-controller-internals.d.ts.map +1 -1
- package/dist/esm/core/navigation/navigation-controller-internals.js +91 -3
- package/dist/esm/core/navigation/navigation-controller-internals.js.map +1 -1
- package/dist/esm/core/navigation/navigation-policy-resolver.service.d.ts +3 -3
- package/dist/esm/core/navigation/navigation-policy-resolver.service.js +3 -3
- package/dist/esm/core/navigation/navigation-policy-resolver.service.js.map +1 -1
- package/dist/esm/core/navigation/navigation.utils.d.ts +95 -22
- package/dist/esm/core/navigation/navigation.utils.d.ts.map +1 -1
- package/dist/esm/core/navigation/navigation.utils.js +190 -63
- package/dist/esm/core/navigation/navigation.utils.js.map +1 -1
- package/dist/esm/core/navigation/sidebar-resource-browser-operation.d.ts +8 -0
- package/dist/esm/core/navigation/sidebar-resource-browser-operation.d.ts.map +1 -0
- package/dist/esm/core/navigation/sidebar-resource-browser-operation.js +27 -0
- package/dist/esm/core/navigation/sidebar-resource-browser-operation.js.map +1 -0
- package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.d.ts +64 -0
- package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.d.ts.map +1 -0
- package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.js +212 -0
- package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.js.map +1 -0
- package/dist/esm/core/navigation/useLauncherResolutionContext.d.ts +1 -1
- package/dist/esm/core/navigation/useLauncherResolutionContext.d.ts.map +1 -1
- package/dist/esm/core/navigation/useLauncherResolutionContext.js +17 -2
- package/dist/esm/core/navigation/useLauncherResolutionContext.js.map +1 -1
- package/dist/esm/core/navigation/useNavigationController.d.ts +1 -0
- package/dist/esm/core/navigation/useNavigationController.d.ts.map +1 -1
- package/dist/esm/core/navigation/useNavigationController.js +51 -67
- package/dist/esm/core/navigation/useNavigationController.js.map +1 -1
- package/dist/esm/core/navigation/useNavigationRouterSync.d.ts.map +1 -1
- package/dist/esm/core/navigation/useNavigationRouterSync.js +17 -1
- package/dist/esm/core/navigation/useNavigationRouterSync.js.map +1 -1
- package/dist/esm/core/navigation/useZoneEntryOrganizationHold.d.ts +17 -0
- package/dist/esm/core/navigation/useZoneEntryOrganizationHold.d.ts.map +1 -0
- package/dist/esm/core/navigation/useZoneEntryOrganizationHold.js +32 -0
- package/dist/esm/core/navigation/useZoneEntryOrganizationHold.js.map +1 -0
- package/dist/esm/core/navigation/zone-collapse.d.ts +2 -1
- package/dist/esm/core/navigation/zone-collapse.d.ts.map +1 -1
- package/dist/esm/core/navigation/zone-collapse.js +2 -1
- package/dist/esm/core/navigation/zone-collapse.js.map +1 -1
- package/dist/esm/core/navigation/zone-entry-organization.d.ts +34 -0
- package/dist/esm/core/navigation/zone-entry-organization.d.ts.map +1 -0
- package/dist/esm/core/navigation/zone-entry-organization.js +77 -0
- package/dist/esm/core/navigation/zone-entry-organization.js.map +1 -0
- package/dist/esm/core/requests/auth-refresh-resilience.frontend.d.ts +15 -0
- package/dist/esm/core/requests/auth-refresh-resilience.frontend.d.ts.map +1 -1
- package/dist/esm/core/requests/auth-refresh-resilience.frontend.js +24 -0
- package/dist/esm/core/requests/auth-refresh-resilience.frontend.js.map +1 -1
- package/dist/esm/core/requests/automatic-resend-safety.frontend.d.ts +74 -0
- package/dist/esm/core/requests/automatic-resend-safety.frontend.d.ts.map +1 -0
- package/dist/esm/core/requests/automatic-resend-safety.frontend.js +52 -0
- package/dist/esm/core/requests/automatic-resend-safety.frontend.js.map +1 -0
- package/dist/esm/core/requests/websockets/WebSocketContext.d.ts.map +1 -1
- package/dist/esm/core/requests/websockets/WebSocketContext.js +31 -0
- package/dist/esm/core/requests/websockets/WebSocketContext.js.map +1 -1
- package/dist/esm/core/requests/websockets/WebSocketEventBridge.d.ts.map +1 -1
- package/dist/esm/core/requests/websockets/WebSocketEventBridge.js +2 -0
- package/dist/esm/core/requests/websockets/WebSocketEventBridge.js.map +1 -1
- package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.d.ts +162 -98
- package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.d.ts.map +1 -1
- package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.js +283 -157
- package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.js.map +1 -1
- package/dist/esm/core/requests/wildo-http-client-resources.frontend.service.d.ts +9 -13
- package/dist/esm/core/requests/wildo-http-client-resources.frontend.service.d.ts.map +1 -1
- package/dist/esm/core/requests/wildo-http-client-resources.frontend.service.js +45 -97
- package/dist/esm/core/requests/wildo-http-client-resources.frontend.service.js.map +1 -1
- package/dist/esm/core/requests/wildo-http-client.frontend.service.d.ts +25 -5
- package/dist/esm/core/requests/wildo-http-client.frontend.service.d.ts.map +1 -1
- package/dist/esm/core/requests/wildo-http-client.frontend.service.js +56 -11
- package/dist/esm/core/requests/wildo-http-client.frontend.service.js.map +1 -1
- package/dist/esm/core/resources/ScopedResourceRegistryProvider.d.ts.map +1 -1
- package/dist/esm/core/resources/ScopedResourceRegistryProvider.js +1 -2
- package/dist/esm/core/resources/ScopedResourceRegistryProvider.js.map +1 -1
- package/dist/esm/core/resources/calendar-date-fields.frontend.utils.d.ts +14 -0
- package/dist/esm/core/resources/calendar-date-fields.frontend.utils.d.ts.map +1 -0
- package/dist/esm/core/resources/calendar-date-fields.frontend.utils.js +29 -0
- package/dist/esm/core/resources/calendar-date-fields.frontend.utils.js.map +1 -0
- package/dist/esm/core/resources/caller-identity-record.frontend.utils.d.ts +23 -0
- package/dist/esm/core/resources/caller-identity-record.frontend.utils.d.ts.map +1 -0
- package/dist/esm/core/resources/caller-identity-record.frontend.utils.js +26 -0
- package/dist/esm/core/resources/caller-identity-record.frontend.utils.js.map +1 -0
- package/dist/esm/core/resources/collection-export-url.frontend.utils.d.ts +1 -1
- package/dist/esm/core/resources/collection-export-url.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/resources/collection-export-url.frontend.utils.js +34 -16
- package/dist/esm/core/resources/collection-export-url.frontend.utils.js.map +1 -1
- package/dist/esm/core/resources/collection-filter-presets.frontend.utils.d.ts +54 -11
- package/dist/esm/core/resources/collection-filter-presets.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/resources/collection-filter-presets.frontend.utils.js +131 -63
- package/dist/esm/core/resources/collection-filter-presets.frontend.utils.js.map +1 -1
- package/dist/esm/core/resources/date-filter-window.frontend.utils.d.ts +58 -0
- package/dist/esm/core/resources/date-filter-window.frontend.utils.d.ts.map +1 -0
- package/dist/esm/core/resources/date-filter-window.frontend.utils.js +70 -0
- package/dist/esm/core/resources/date-filter-window.frontend.utils.js.map +1 -0
- package/dist/esm/core/resources/frontend-resource.utils.d.ts +146 -7
- package/dist/esm/core/resources/frontend-resource.utils.d.ts.map +1 -1
- package/dist/esm/core/resources/frontend-resource.utils.js +194 -22
- package/dist/esm/core/resources/frontend-resource.utils.js.map +1 -1
- package/dist/esm/core/resources/hooks/useOperationEnabled.d.ts +18 -4
- package/dist/esm/core/resources/hooks/useOperationEnabled.d.ts.map +1 -1
- package/dist/esm/core/resources/hooks/useOperationEnabled.js +26 -6
- package/dist/esm/core/resources/hooks/useOperationEnabled.js.map +1 -1
- package/dist/esm/core/resources/operation-semantics.frontend.utils.d.ts +95 -2
- package/dist/esm/core/resources/operation-semantics.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/resources/operation-semantics.frontend.utils.js +126 -13
- package/dist/esm/core/resources/operation-semantics.frontend.utils.js.map +1 -1
- package/dist/esm/core/resources/read-through-organization-unit.frontend.utils.d.ts +45 -0
- package/dist/esm/core/resources/read-through-organization-unit.frontend.utils.d.ts.map +1 -0
- package/dist/esm/core/resources/read-through-organization-unit.frontend.utils.js +46 -0
- package/dist/esm/core/resources/read-through-organization-unit.frontend.utils.js.map +1 -0
- package/dist/esm/core/resources/referenced-record-scope.frontend.utils.d.ts +46 -0
- package/dist/esm/core/resources/referenced-record-scope.frontend.utils.d.ts.map +1 -0
- package/dist/esm/core/resources/referenced-record-scope.frontend.utils.js +86 -0
- package/dist/esm/core/resources/referenced-record-scope.frontend.utils.js.map +1 -0
- package/dist/esm/core/resources/relationship-quick-create.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/resources/relationship-quick-create.frontend.utils.js +5 -1
- package/dist/esm/core/resources/relationship-quick-create.frontend.utils.js.map +1 -1
- package/dist/esm/core/resources/resource-addressability.frontend.utils.d.ts +28 -1
- package/dist/esm/core/resources/resource-addressability.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/resources/resource-addressability.frontend.utils.js +43 -3
- package/dist/esm/core/resources/resource-addressability.frontend.utils.js.map +1 -1
- package/dist/esm/core/resources/resource-discriminators.frontend.utils.d.ts +26 -0
- package/dist/esm/core/resources/resource-discriminators.frontend.utils.d.ts.map +1 -0
- package/dist/esm/core/resources/resource-discriminators.frontend.utils.js +37 -0
- package/dist/esm/core/resources/resource-discriminators.frontend.utils.js.map +1 -0
- package/dist/esm/core/resources/resources-repository.frontend.service.d.ts +40 -8
- package/dist/esm/core/resources/resources-repository.frontend.service.d.ts.map +1 -1
- package/dist/esm/core/resources/resources-repository.frontend.service.js +333 -73
- package/dist/esm/core/resources/resources-repository.frontend.service.js.map +1 -1
- package/dist/esm/core/resources/resources.frontend.schemas.d.ts +175 -65
- package/dist/esm/core/resources/resources.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/resources/resources.frontend.schemas.js +245 -75
- package/dist/esm/core/resources/resources.frontend.schemas.js.map +1 -1
- package/dist/esm/core/resources/rmm/HttpTransportAdapter.d.ts +9 -1
- package/dist/esm/core/resources/rmm/HttpTransportAdapter.d.ts.map +1 -1
- package/dist/esm/core/resources/rmm/HttpTransportAdapter.js +57 -22
- package/dist/esm/core/resources/rmm/HttpTransportAdapter.js.map +1 -1
- package/dist/esm/core/resources/rmm/RMMRegistry.d.ts.map +1 -1
- package/dist/esm/core/resources/rmm/RMMRegistry.js +1 -0
- package/dist/esm/core/resources/rmm/RMMRegistry.js.map +1 -1
- package/dist/esm/core/resources/rmm/ResourceMutationManager.d.ts +3 -0
- package/dist/esm/core/resources/rmm/ResourceMutationManager.d.ts.map +1 -1
- package/dist/esm/core/resources/rmm/ResourceMutationManager.js +94 -35
- package/dist/esm/core/resources/rmm/ResourceMutationManager.js.map +1 -1
- package/dist/esm/core/resources/rmm/types.d.ts +58 -6
- package/dist/esm/core/resources/rmm/types.d.ts.map +1 -1
- package/dist/esm/core/resources/rmm/types.js +17 -0
- package/dist/esm/core/resources/rmm/types.js.map +1 -1
- package/dist/esm/core/resources/rmm/update-like-mutation-fallback.frontend.d.ts +43 -6
- package/dist/esm/core/resources/rmm/update-like-mutation-fallback.frontend.d.ts.map +1 -1
- package/dist/esm/core/resources/rmm/update-like-mutation-fallback.frontend.js +49 -6
- package/dist/esm/core/resources/rmm/update-like-mutation-fallback.frontend.js.map +1 -1
- package/dist/esm/core/resources/rmm/useResourceMutationManager.d.ts.map +1 -1
- package/dist/esm/core/resources/rmm/useResourceMutationManager.js +2 -0
- package/dist/esm/core/resources/rmm/useResourceMutationManager.js.map +1 -1
- package/dist/esm/core/resources/rmm/useResourceRMM.d.ts +2 -0
- package/dist/esm/core/resources/rmm/useResourceRMM.d.ts.map +1 -1
- package/dist/esm/core/resources/rmm/useResourceRMM.js +10 -3
- package/dist/esm/core/resources/rmm/useResourceRMM.js.map +1 -1
- package/dist/esm/core/resources/temporal-day-groups.frontend.utils.d.ts +22 -0
- package/dist/esm/core/resources/temporal-day-groups.frontend.utils.d.ts.map +1 -0
- package/dist/esm/core/resources/temporal-day-groups.frontend.utils.js +31 -0
- package/dist/esm/core/resources/temporal-day-groups.frontend.utils.js.map +1 -0
- package/dist/esm/core/resources/ui-behavior-presentation.frontend.utils.d.ts +36 -0
- package/dist/esm/core/resources/ui-behavior-presentation.frontend.utils.d.ts.map +1 -0
- package/dist/esm/core/resources/ui-behavior-presentation.frontend.utils.js +88 -0
- package/dist/esm/core/resources/ui-behavior-presentation.frontend.utils.js.map +1 -0
- package/dist/esm/core/resources/useBulkJobProgress.d.ts +6 -0
- package/dist/esm/core/resources/useBulkJobProgress.d.ts.map +1 -1
- package/dist/esm/core/resources/useBulkJobProgress.js +1 -0
- package/dist/esm/core/resources/useBulkJobProgress.js.map +1 -1
- package/dist/esm/core/resources/useCollectionFilterPresetScope.d.ts +14 -0
- package/dist/esm/core/resources/useCollectionFilterPresetScope.d.ts.map +1 -0
- package/dist/esm/core/resources/useCollectionFilterPresetScope.js +29 -0
- package/dist/esm/core/resources/useCollectionFilterPresetScope.js.map +1 -0
- package/dist/esm/core/resources/useHostlessResourceNavigation.d.ts +7 -6
- package/dist/esm/core/resources/useHostlessResourceNavigation.d.ts.map +1 -1
- package/dist/esm/core/resources/useHostlessResourceNavigation.js +35 -21
- package/dist/esm/core/resources/useHostlessResourceNavigation.js.map +1 -1
- package/dist/esm/core/resources/useOperationDirectExecution.d.ts.map +1 -1
- package/dist/esm/core/resources/useOperationDirectExecution.js +25 -10
- package/dist/esm/core/resources/useOperationDirectExecution.js.map +1 -1
- package/dist/esm/core/resources/useRecordSharing.d.ts +58 -0
- package/dist/esm/core/resources/useRecordSharing.d.ts.map +1 -0
- package/dist/esm/core/resources/useRecordSharing.js +220 -0
- package/dist/esm/core/resources/useRecordSharing.js.map +1 -0
- package/dist/esm/core/resources/useResourceLabels.d.ts +4 -1
- package/dist/esm/core/resources/useResourceLabels.d.ts.map +1 -1
- package/dist/esm/core/resources/useResourceLabels.js +31 -32
- package/dist/esm/core/resources/useResourceLabels.js.map +1 -1
- package/dist/esm/core/resources/useResourceOperationActions.d.ts +23 -4
- package/dist/esm/core/resources/useResourceOperationActions.d.ts.map +1 -1
- package/dist/esm/core/resources/useResourceOperationActions.js +219 -51
- package/dist/esm/core/resources/useResourceOperationActions.js.map +1 -1
- package/dist/esm/core/resources/useResourceOperationOutcomeEmitter.d.ts +10 -1
- package/dist/esm/core/resources/useResourceOperationOutcomeEmitter.d.ts.map +1 -1
- package/dist/esm/core/resources/useResourceOperationOutcomeEmitter.js +7 -2
- package/dist/esm/core/resources/useResourceOperationOutcomeEmitter.js.map +1 -1
- package/dist/esm/core/resources/useResourceOperationSurface.d.ts +5 -5
- package/dist/esm/core/resources/useResourceOperationSurface.d.ts.map +1 -1
- package/dist/esm/core/resources/useResourceOperationSurface.js +5 -4
- package/dist/esm/core/resources/useResourceOperationSurface.js.map +1 -1
- package/dist/esm/core/resources/useResourceSelection.d.ts +6 -0
- package/dist/esm/core/resources/useResourceSelection.d.ts.map +1 -1
- package/dist/esm/core/resources/useResourceSelection.js.map +1 -1
- package/dist/esm/core/resources/utils/operation-enabled-condition.frontend.utils.d.ts +47 -0
- package/dist/esm/core/resources/utils/operation-enabled-condition.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/resources/utils/operation-enabled-condition.frontend.utils.js +117 -4
- package/dist/esm/core/resources/utils/operation-enabled-condition.frontend.utils.js.map +1 -1
- package/dist/esm/core/runtime/AppRouter.d.ts.map +1 -1
- package/dist/esm/core/runtime/AppRouter.js +5 -2
- package/dist/esm/core/runtime/AppRouter.js.map +1 -1
- package/dist/esm/core/runtime/ApplicationMainContext.d.ts +10 -1
- package/dist/esm/core/runtime/ApplicationMainContext.d.ts.map +1 -1
- package/dist/esm/core/runtime/ApplicationMainContext.js +17 -2
- package/dist/esm/core/runtime/ApplicationMainContext.js.map +1 -1
- package/dist/esm/core/runtime/domain-module.frontend.definitions.d.ts +5 -0
- package/dist/esm/core/runtime/domain-module.frontend.definitions.d.ts.map +1 -1
- package/dist/esm/core/runtime/domain-module.frontend.definitions.js +4 -2
- package/dist/esm/core/runtime/domain-module.frontend.definitions.js.map +1 -1
- package/dist/esm/core/runtime/routes.frontend.definitions.d.ts +19 -3
- package/dist/esm/core/runtime/routes.frontend.definitions.d.ts.map +1 -1
- package/dist/esm/core/runtime/routes.frontend.definitions.js +23 -7
- package/dist/esm/core/runtime/routes.frontend.definitions.js.map +1 -1
- package/dist/esm/core/runtime/start-application.frontend.service.d.ts.map +1 -1
- package/dist/esm/core/runtime/start-application.frontend.service.js +3 -1
- package/dist/esm/core/runtime/start-application.frontend.service.js.map +1 -1
- package/dist/esm/core/scope/AppScopeContext.d.ts +7 -2
- package/dist/esm/core/scope/AppScopeContext.d.ts.map +1 -1
- package/dist/esm/core/scope/AppScopeContext.js +56 -10
- package/dist/esm/core/scope/AppScopeContext.js.map +1 -1
- package/dist/esm/core/security/ApplicationRoleTablesContext.d.ts +23 -0
- package/dist/esm/core/security/ApplicationRoleTablesContext.d.ts.map +1 -0
- package/dist/esm/core/security/ApplicationRoleTablesContext.js +27 -0
- package/dist/esm/core/security/ApplicationRoleTablesContext.js.map +1 -0
- package/dist/esm/core/security/AuthSessionContext.d.ts +26 -8
- package/dist/esm/core/security/AuthSessionContext.d.ts.map +1 -1
- package/dist/esm/core/security/AuthSessionContext.js +81 -17
- package/dist/esm/core/security/AuthSessionContext.js.map +1 -1
- package/dist/esm/core/security/RouteOrganizationDecisionContext.d.ts +13 -0
- package/dist/esm/core/security/RouteOrganizationDecisionContext.d.ts.map +1 -0
- package/dist/esm/core/security/RouteOrganizationDecisionContext.js +12 -0
- package/dist/esm/core/security/RouteOrganizationDecisionContext.js.map +1 -0
- package/dist/esm/core/security/StepUpAuthContext.js +5 -5
- package/dist/esm/core/security/StepUpAuthContext.js.map +1 -1
- package/dist/esm/core/security/UserOrgsContext.d.ts +13 -0
- package/dist/esm/core/security/UserOrgsContext.d.ts.map +1 -1
- package/dist/esm/core/security/UserOrgsContext.js +272 -103
- package/dist/esm/core/security/UserOrgsContext.js.map +1 -1
- package/dist/esm/core/security/auth-redirect.frontend.utils.d.ts +1 -0
- package/dist/esm/core/security/auth-redirect.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/security/auth-redirect.frontend.utils.js +3 -2
- package/dist/esm/core/security/auth-redirect.frontend.utils.js.map +1 -1
- package/dist/esm/core/security/effective-permissions.frontend.utils.d.ts +43 -0
- package/dist/esm/core/security/effective-permissions.frontend.utils.d.ts.map +1 -0
- package/dist/esm/core/security/effective-permissions.frontend.utils.js +73 -0
- package/dist/esm/core/security/effective-permissions.frontend.utils.js.map +1 -0
- package/dist/esm/core/security/route-organization-access.frontend.utils.d.ts +175 -5
- package/dist/esm/core/security/route-organization-access.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/security/route-organization-access.frontend.utils.js +147 -6
- package/dist/esm/core/security/route-organization-access.frontend.utils.js.map +1 -1
- package/dist/esm/core/security/security.frontend.schemas.d.ts +17 -5
- package/dist/esm/core/security/security.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/security/security.frontend.schemas.js +0 -5
- package/dist/esm/core/security/security.frontend.schemas.js.map +1 -1
- package/dist/esm/core/security/useApplicationRoleTables.d.ts +3 -0
- package/dist/esm/core/security/useApplicationRoleTables.d.ts.map +1 -0
- package/dist/esm/core/security/useApplicationRoleTables.js +11 -0
- package/dist/esm/core/security/useApplicationRoleTables.js.map +1 -0
- package/dist/esm/core/security/useRouteOrganizationAccess.d.ts +9 -0
- package/dist/esm/core/security/useRouteOrganizationAccess.d.ts.map +1 -1
- package/dist/esm/core/security/useRouteOrganizationAccess.js +31 -10
- package/dist/esm/core/security/useRouteOrganizationAccess.js.map +1 -1
- package/dist/esm/core/security/useRouteOrganizationFollow.d.ts +24 -0
- package/dist/esm/core/security/useRouteOrganizationFollow.d.ts.map +1 -0
- package/dist/esm/core/security/useRouteOrganizationFollow.js +76 -0
- package/dist/esm/core/security/useRouteOrganizationFollow.js.map +1 -0
- package/dist/esm/core/ui/UIContext.d.ts +25 -2
- package/dist/esm/core/ui/UIContext.d.ts.map +1 -1
- package/dist/esm/core/ui/UIContext.js +49 -37
- package/dist/esm/core/ui/UIContext.js.map +1 -1
- package/dist/esm/core/ui/design-token.utils.d.ts +0 -11
- package/dist/esm/core/ui/design-token.utils.d.ts.map +1 -1
- package/dist/esm/core/ui/design-token.utils.js +51 -83
- package/dist/esm/core/ui/design-token.utils.js.map +1 -1
- package/dist/esm/core/ui/themes/default.theme.d.ts.map +1 -1
- package/dist/esm/core/ui/themes/default.theme.js +151 -59
- package/dist/esm/core/ui/themes/default.theme.js.map +1 -1
- package/dist/esm/core/ui/themes/focus-indicator.d.ts +221 -0
- package/dist/esm/core/ui/themes/focus-indicator.d.ts.map +1 -0
- package/dist/esm/core/ui/themes/focus-indicator.js +229 -0
- package/dist/esm/core/ui/themes/focus-indicator.js.map +1 -0
- package/dist/esm/core/ui/ui.frontend.schemas.d.ts +7 -0
- package/dist/esm/core/ui/ui.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/ui/useThemePreferenceControl.d.ts.map +1 -1
- package/dist/esm/core/ui/useThemePreferenceControl.js +1 -2
- package/dist/esm/core/ui/useThemePreferenceControl.js.map +1 -1
- package/dist/esm/index.d.ts +34 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +45 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/tailwind/index.d.ts.map +1 -1
- package/dist/esm/tailwind/index.js +3 -0
- package/dist/esm/tailwind/index.js.map +1 -1
- package/dist/esm/testing/app-shell-placement-coverage.d.ts.map +1 -1
- package/dist/esm/testing/app-shell-placement-coverage.js +6 -2
- package/dist/esm/testing/app-shell-placement-coverage.js.map +1 -1
- package/dist/esm/testing/mock-builders.d.ts +13 -1
- package/dist/esm/testing/mock-builders.d.ts.map +1 -1
- package/dist/esm/testing/mock-builders.js +35 -1
- package/dist/esm/testing/mock-builders.js.map +1 -1
- package/dist/esm/testing/rmm-helpers.d.ts +5 -3
- package/dist/esm/testing/rmm-helpers.d.ts.map +1 -1
- package/dist/esm/testing/rmm-helpers.js +3 -0
- package/dist/esm/testing/rmm-helpers.js.map +1 -1
- package/dist/esm/testing/test-providers.d.ts.map +1 -1
- package/dist/esm/testing/test-providers.js +3 -0
- package/dist/esm/testing/test-providers.js.map +1 -1
- package/package.json +7 -6
- package/dist/esm/components/flows-actors/flow-node.d.ts +0 -28
- package/dist/esm/components/flows-actors/flow-node.d.ts.map +0 -1
- package/dist/esm/components/flows-actors/flow-node.js +0 -115
- package/dist/esm/components/flows-actors/flow-node.js.map +0 -1
- package/dist/esm/components/resources/CollectionSelectionHeaderRail.d.ts +0 -30
- package/dist/esm/components/resources/CollectionSelectionHeaderRail.d.ts.map +0 -1
- package/dist/esm/components/resources/CollectionSelectionHeaderRail.js +0 -17
- package/dist/esm/components/resources/CollectionSelectionHeaderRail.js.map +0 -1
- package/dist/tsconfig.build.tsbuildinfo +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppPage_InvitationsSettings.js","sourceRoot":"","sources":["../../../../../src/components/settings/AppPage_InvitationsSettings.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAc,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM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,KAAC,MAAM,IACL,OAAO,EAAE,sBAAsB,CAAC,OAAO,EACvC,IAAI,EAAE,UAAU,CAAC,EAAE,EACnB,QAAQ,EAAE,MAAM,KAAK,UAAU,CAAC,YAAY,EAC5C,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,YAAY,CAAC,YAEnD,CAAC,CAAC,cAAc,CAAC,GACX,EACT,KAAC,MAAM,IACL,IAAI,EAAE,UAAU,CAAC,EAAE,EACnB,QAAQ,EAAE,MAAM,KAAK,UAAU,CAAC,YAAY,EAC5C,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,YAAY,CAAC,YAEnD,CAAC,CAAC,cAAc,CAAC,GACX,IACL,KA5BD,UAAU,CAAC,YAAY,CA6BzB,CACN,CAAC,GACC,CACN,GACW,GACT,IACH,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["/**\n * AppPage_InvitationsSettings — the Settings Hub \"Invitations\" panel (Approach P).\n *\n * A bespoke `ENGINE_PANEL` (not a resource surface) that lets a signed-in user act on\n * THEIR OWN pending organization invitations in-app, without opening the emailed link.\n * It lists the caller's pending invitations — their own INVITED membership rows, resolved\n * server-side by userId-ownership via `GET /auth/invitations/mine` — and offers Accept /\n * Decline per row (Accept flips the row to ACTIVE; Decline deletes it) — calling the\n * authenticated `acceptMyInvitation` / `rejectMyInvitation` endpoints (no token, no new\n * session). On accept the caller becomes a member, so the panel refreshes the user's\n * organizations via `useUserOrgs().refreshOrganizations()` and re-lists.\n *\n * i18n follows the framework convention (same shape as `AppPage_AppearanceSettings`):\n * `useI18n({ component })` requests this component's label namespace, the panel gates\n * rendering on `isReady` so it never flashes raw key paths, and a thin `t(key)` reads\n * each label. Copy is owned by the labelling pipeline (sibling `.labels.ts`) — no\n * hardcoded fallback strings here.\n */\nimport React, { useCallback, useEffect, useState } from 'react';\nimport { ButtonSize, FrontendComponentType, LabellingTypes } from '@wildo-ai/presets-components-models';\nimport { isWildoBackendError } from '@wildo-ai/saas-models';\nimport { Card, CardContent } from '~wildo-frontend-lib/components/sections/card';\nimport { Button, ButtonVariants_Variant } from '~wildo-frontend-lib/components/actions/button';\nimport { Text } from '~wildo-frontend-lib/components/typography/text';\nimport { Alert, AlertDescription } from '~wildo-frontend-lib/components/overlays/containers/alert';\nimport { useI18n } from '~wildo-frontend-lib/core/i18n/useI18n';\nimport { useUserOrgs } from '~wildo-frontend-lib/core/security/useUserOrgs';\nimport {\n getManualCallsHttpClient,\n type MyPendingInvitationView,\n} from '~wildo-frontend-lib/core/requests/wildo-http-client-manual-calls.frontend.service';\n\n/*\n * The role words live in the application's `roles` labels, planned from every registered role, not in this\n * panel's own namespace. Module-level so the requested set keeps one identity across renders.\n */\nconst INVITATION_ROLE_LABEL_NAMESPACES = [LabellingTypes.ROLES];\n\nexport const AppPage_InvitationsSettings: React.FC = () => {\n const { tComponent, tRole, isReady } = useI18n({\n component: FrontendComponentType.APP_LAYOUTS_INVITATIONS_SETTINGS,\n keys: INVITATION_ROLE_LABEL_NAMESPACES,\n });\n const { refreshOrganizations } = useUserOrgs();\n\n const t = useCallback(\n (key: string) => tComponent(FrontendComponentType.APP_LAYOUTS_INVITATIONS_SETTINGS, key),\n [tComponent],\n );\n\n const [invitations, setInvitations] = useState<MyPendingInvitationView[]>([]);\n const [loading, setLoading] = useState(true);\n const [busyId, setBusyId] = useState<string | null>(null);\n const [error, setError] = useState<string | null>(null);\n const [successMsg, setSuccessMsg] = useState<string | null>(null);\n\n const refresh = useCallback(async () => {\n setLoading(true);\n setError(null);\n try {\n const res = await getManualCallsHttpClient().listMyPendingInvitations();\n setInvitations(res.invitations ?? []);\n } catch (e: unknown) {\n if (isWildoBackendError(e)) throw e;\n setError(t('errorGeneric'));\n } finally {\n setLoading(false);\n }\n }, [t]);\n\n useEffect(() => {\n refresh();\n }, [refresh]);\n\n // Auto-dismiss the success banner (same convention as AppPage_SecuritySettings).\n useEffect(() => {\n if (!successMsg) return;\n const timer = setTimeout(() => setSuccessMsg(null), 5000);\n return () => clearTimeout(timer);\n }, [successMsg]);\n\n const handleAccept = useCallback(\n async (membershipId: string) => {\n setBusyId(membershipId);\n setError(null);\n try {\n await getManualCallsHttpClient().acceptMyInvitation(membershipId);\n // The caller just became a member — refresh their org list before re-listing.\n await refreshOrganizations();\n setSuccessMsg(t('acceptSuccess'));\n await refresh();\n } catch (e: unknown) {\n if (isWildoBackendError(e)) throw e;\n setError(t('errorGeneric'));\n } finally {\n setBusyId(null);\n }\n },\n [refresh, refreshOrganizations, t],\n );\n\n const handleReject = useCallback(\n async (membershipId: string) => {\n setBusyId(membershipId);\n setError(null);\n try {\n await getManualCallsHttpClient().rejectMyInvitation(membershipId);\n setSuccessMsg(t('rejectSuccess'));\n await refresh();\n } catch (e: unknown) {\n if (isWildoBackendError(e)) throw e;\n setError(t('errorGeneric'));\n } finally {\n setBusyId(null);\n }\n },\n [refresh, t],\n );\n\n // Gate on label readiness so the panel never flashes raw key paths (Appearance convention).\n if (!isReady) return null;\n\n return (\n <div className=\"flex flex-col gap-section\">\n {/* `h3`, not `h2`: the Settings Hub header owns the `h2` for this dialog,\n so a panel heading is one level below it. No sub-heading: it restated\n the Accept / Decline buttons each row carries. */}\n <h3 className=\"text-base font-semibold tracking-tight\">{t('pageTitle')}</h3>\n\n {error && (\n <Alert variant=\"destructive\">\n <AlertDescription>{error}</AlertDescription>\n </Alert>\n )}\n {successMsg && (\n <Alert>\n <AlertDescription>{successMsg}</AlertDescription>\n </Alert>\n )}\n\n {/* No card title: \"Pending Invitations\" repeated the panel heading one line\n above it, and every row it could hold is by definition pending. */}\n <Card>\n <CardContent className=\"p-card\">\n {loading ? (\n <Text className=\"text-sm text-muted-foreground\">{t('loading')}</Text>\n ) : invitations.length === 0 ? (\n <Text className=\"text-sm text-muted-foreground\">{t('empty')}</Text>\n ) : (\n /* Flush divided list — same settings-list geometry as the\n SETTINGS_ROW field chrome (label/meta inline-start, actions\n inline-end, `py-group` rhythm, `divide-y` hairline dividers) so\n this bespoke action panel reads as the same family as the\n decorator-driven settings surfaces. (Was per-row bordered boxes\n with `space-y-2`, a visually divergent pattern.) */\n <ul className=\"divide-y divide-border\">\n {invitations.map((invitation) => (\n <li\n key={invitation.membershipId}\n className=\"flex items-center justify-between gap-section py-group\"\n >\n <div className=\"flex min-w-0 flex-col gap-item-xs\">\n <Text className=\"font-medium\">{invitation.organizationName ?? t('unknownOrganization')}</Text>\n {invitation.roles.length > 0 && (\n <Text className=\"text-xs text-muted-foreground\">\n {/* Each role by its word, as a member directory shows it; a role with no word shows its key. */}\n {t('rolesPrefix')} {invitation.roles.map((role) => tRole(role, 'label')).join(', ')}\n </Text>\n )}\n </div>\n <div className=\"flex shrink-0 gap-element\">\n <Button\n variant={ButtonVariants_Variant.OUTLINE}\n size={ButtonSize.SM}\n disabled={busyId === invitation.membershipId}\n onClick={() => handleReject(invitation.membershipId)}\n >\n {t('rejectButton')}\n </Button>\n <Button\n size={ButtonSize.SM}\n disabled={busyId === invitation.membershipId}\n onClick={() => handleAccept(invitation.membershipId)}\n >\n {t('acceptButton')}\n </Button>\n </div>\n </li>\n ))}\n </ul>\n )}\n </CardContent>\n </Card>\n </div>\n );\n};\n"]}
|
|
1
|
+
{"version":3,"file":"AppPage_InvitationsSettings.js","sourceRoot":"","sources":["../../../../../src/components/settings/AppPage_InvitationsSettings.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAc,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACxG,OAAO,EAAE,mBAAmB,EAAyC,MAAM,uBAAuB,CAAC;AACnG,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAA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,IACL,IAAI,EAAE,UAAU,CAAC,EAAE,EACnB,QAAQ,EAAE,IAAI,IAAI,CAAC,MAAM,EACzB,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,UAAU,CAAC,YAEvC,CAAC,CAAC,2BAA2B,CAAC,GACxB,CACV,IACG,KAhDC,UAAU,CAAC,YAAY,CAiD3B,CACN,CAAC;gCACJ,CAAC,CAAC,GACC,GACO,GACT,IACC,CACX,IACG,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["/**\n * AppPage_InvitationsSettings — the Settings Hub \"Invitations\" panel (Approach P).\n *\n * A bespoke `ENGINE_PANEL` (not a resource surface) where a signed-in user acts on invitations addressed to THEM, in-app,\n * without opening an emailed link. It holds two kinds, each listed only when it has rows:\n *\n * - **Organization invitations**: the caller's own INVITED membership rows, resolved server-side by userId-ownership\n * via `GET /auth/invitations/mine`, with Accept / Decline per row (Accept flips the row to ACTIVE; Decline deletes\n * it) through the authenticated `acceptMyInvitation` / `rejectMyInvitation` endpoints (no token, no new session). On\n * accept the caller becomes a member, so the panel refreshes the user's organizations via\n * `useUserOrgs().refreshOrganizations()` and re-lists.\n * - **Relationship invitations** (#2716): another organization that wants to work with one the caller owns, invited by\n * the caller's proven address (`GET /auth/relationship-invitations/mine`). The caller chooses which owned organization\n * receives the inviting organization's proposal, or declines. Receiving writes the proposal into that organization,\n * where its owner accepts it with step-up from the organization's relationships settings; it confers nothing by itself. The\n * invitation email's sign-in link lands here.\n *\n * i18n follows the framework convention (same shape as `AppPage_AppearanceSettings`):\n * `useI18n({ component })` requests this component's label namespace, the panel gates\n * rendering on `isReady` so it never flashes raw key paths, and a thin `t(key)` reads\n * each label. Copy is owned by the labelling pipeline (sibling `.labels.ts`) — no\n * hardcoded fallback strings here.\n */\nimport React, { useCallback, useEffect, useRef, useState } from 'react';\nimport { z } from 'zod';\nimport { ButtonSize, FrontendComponentType, LabellingTypes } from '@wildo-ai/presets-components-models';\nimport { isWildoBackendError, type RelationshipInvitationForInvitee } from '@wildo-ai/saas-models';\nimport { Card, CardContent } from '~wildo-frontend-lib/components/sections/card';\nimport { Button, ButtonVariants_Variant } from '~wildo-frontend-lib/components/actions/button';\nimport { Text } from '~wildo-frontend-lib/components/typography/text';\nimport { Label } from '~wildo-frontend-lib/components/typography/label';\nimport { Select } from '~wildo-frontend-lib/components/form/controls/enum/select';\nimport { Alert, AlertDescription } from '~wildo-frontend-lib/components/overlays/containers/alert';\nimport { useI18n } from '~wildo-frontend-lib/core/i18n/useI18n';\nimport { useUserOrgs } from '~wildo-frontend-lib/core/security/useUserOrgs';\nimport {\n getManualCallsHttpClient,\n type MyPendingInvitationView,\n} from '~wildo-frontend-lib/core/requests/wildo-http-client-manual-calls.frontend.service';\n\n/*\n * The role words live in the application's `roles` labels, planned from every registered role, not in this\n * panel's own namespace. Module-level so the requested set keeps one identity across renders.\n */\nconst INVITATION_ROLE_LABEL_NAMESPACES = [LabellingTypes.ROLES];\n\n/** The receiving-organization picker's value: one organization id. */\nconst RECEIVING_ORGANIZATION_SCHEMA = z.string().min(1);\n\n/**\n * Which organization receives each relationship invitation, by invitation id. Defaults to the first organization offered,\n * so an invitee who owns one organization only presses Receive.\n */\ntype ReceivingChoice = Readonly<Record<string, string>>;\n\nexport const AppPage_InvitationsSettings: React.FC = () => {\n const { tComponent, tRole, isReady, formatDateTime } = useI18n({\n component: FrontendComponentType.APP_LAYOUTS_INVITATIONS_SETTINGS,\n keys: INVITATION_ROLE_LABEL_NAMESPACES,\n });\n const { refreshOrganizations } = useUserOrgs();\n\n const t = useCallback(\n (key: string, params?: Record<string, string | number>) => tComponent(FrontendComponentType.APP_LAYOUTS_INVITATIONS_SETTINGS, key, params),\n [tComponent],\n );\n\n const [invitations, setInvitations] = useState<MyPendingInvitationView[]>([]);\n const [relationshipInvitationsForMe, setRelationshipInvitationsForMe] = useState<RelationshipInvitationForInvitee[]>([]);\n const [receivingChoice, setReceivingChoice] = useState<ReceivingChoice>({});\n const [loading, setLoading] = useState(true);\n const [busyId, setBusyId] = useState<string | null>(null);\n const [error, setError] = useState<string | null>(null);\n const [successMsg, setSuccessMsg] = useState<string | null>(null);\n\n /*\n * The label function, read through a ref by `refresh`. `tComponent` is rebuilt on every render of the i18n provider,\n * so a `refresh` depending on it re-listed both endpoints whenever a label bundle arrived; the list is loaded once,\n * and again after an action.\n */\n const tRef = useRef(t);\n tRef.current = t;\n\n const refresh = useCallback(async () => {\n setLoading(true);\n setError(null);\n try {\n const client = getManualCallsHttpClient();\n // Settled separately: one kind failing to load must not hide the other kind's invitations.\n const [membershipInvitations, relationshipInvitations] = await Promise.allSettled([\n client.listMyPendingInvitations(),\n client.listMyRelationshipInvitations(),\n ]);\n setInvitations(membershipInvitations.status === 'fulfilled' ? membershipInvitations.value.invitations ?? [] : []);\n setRelationshipInvitationsForMe(relationshipInvitations.status === 'fulfilled' ? relationshipInvitations.value.invitations ?? [] : []);\n const failure = [membershipInvitations, relationshipInvitations].find((outcome) => outcome.status === 'rejected');\n if (failure?.status === 'rejected') {\n if (isWildoBackendError(failure.reason)) throw failure.reason;\n setError(tRef.current('errorGeneric'));\n }\n } catch (e: unknown) {\n if (isWildoBackendError(e)) throw e;\n setError(tRef.current('errorGeneric'));\n } finally {\n setLoading(false);\n }\n }, []);\n\n useEffect(() => {\n refresh();\n }, [refresh]);\n\n // Auto-dismiss the success banner (same convention as AppPage_SecuritySettings).\n useEffect(() => {\n if (!successMsg) return;\n const timer = setTimeout(() => setSuccessMsg(null), 5000);\n return () => clearTimeout(timer);\n }, [successMsg]);\n\n const handleAccept = useCallback(\n async (membershipId: string) => {\n setBusyId(membershipId);\n setError(null);\n try {\n await getManualCallsHttpClient().acceptMyInvitation(membershipId);\n // The caller just became a member — refresh their org list before re-listing.\n await refreshOrganizations();\n setSuccessMsg(t('acceptSuccess'));\n await refresh();\n } catch (e: unknown) {\n if (isWildoBackendError(e)) throw e;\n setError(t('errorGeneric'));\n } finally {\n setBusyId(null);\n }\n },\n [refresh, refreshOrganizations, t],\n );\n\n const handleReject = useCallback(\n async (membershipId: string) => {\n setBusyId(membershipId);\n setError(null);\n try {\n await getManualCallsHttpClient().rejectMyInvitation(membershipId);\n setSuccessMsg(t('rejectSuccess'));\n await refresh();\n } catch (e: unknown) {\n if (isWildoBackendError(e)) throw e;\n setError(t('errorGeneric'));\n } finally {\n setBusyId(null);\n }\n },\n [refresh, t],\n );\n\n /**\n * A relationship invitation's action. A backend refusal is re-listed BEFORE it is rethrown: the usual one is an invitation\n * that stopped being receivable meanwhile (revoked, lapsed), and the list should stop offering it.\n */\n const runRelationshipInvitationAction = useCallback(\n async (invitationId: string, action: () => Promise<string>) => {\n setBusyId(invitationId);\n setError(null);\n try {\n setSuccessMsg(await action());\n await refresh();\n } catch (e: unknown) {\n if (isWildoBackendError(e)) {\n await refresh();\n throw e;\n }\n setError(t('errorGeneric'));\n } finally {\n setBusyId(null);\n }\n },\n [refresh, t],\n );\n\n const handleReceive = useCallback(\n (invitation: RelationshipInvitationForInvitee) => {\n const organizationId = receivingChoice[invitation.invitationId] ?? invitation.receivingOrganizations[0]?.organizationId;\n const organization = invitation.receivingOrganizations.find((candidate) => candidate.organizationId === organizationId);\n if (!organization) return;\n return runRelationshipInvitationAction(invitation.invitationId, async () => {\n await getManualCallsHttpClient().receiveMyRelationshipInvitation(invitation.invitationId, organization.organizationId);\n return t('relationshipReceiveSuccess', {\n representingOrganization: invitation.representingOrganizationName ?? t('unknownRepresentingOrganization'),\n organization: organization.organizationName ?? t('unknownOrganization'),\n });\n });\n },\n [receivingChoice, runRelationshipInvitationAction, t],\n );\n\n const handleDecline = useCallback(\n (invitation: RelationshipInvitationForInvitee) => runRelationshipInvitationAction(invitation.invitationId, async () => {\n await getManualCallsHttpClient().declineMyRelationshipInvitation(invitation.invitationId);\n return t('relationshipDeclineSuccess');\n }),\n [runRelationshipInvitationAction, t],\n );\n\n // Gate on label readiness so the panel never flashes raw key paths (Appearance convention).\n if (!isReady) return null;\n\n const nothingPending = invitations.length === 0 && relationshipInvitationsForMe.length === 0;\n\n return (\n <div className=\"flex flex-col gap-section\">\n {/* `h3`, not `h2`: the Settings Hub header owns the `h2` for this dialog,\n so a panel heading is one level below it. No sub-heading: it restated\n the Accept / Decline buttons each row carries. */}\n <h3 className=\"text-base font-semibold tracking-tight\">{t('pageTitle')}</h3>\n\n {error && (\n <Alert variant=\"destructive\">\n <AlertDescription>{error}</AlertDescription>\n </Alert>\n )}\n {successMsg && (\n <Alert>\n <AlertDescription>{successMsg}</AlertDescription>\n </Alert>\n )}\n\n {(loading || nothingPending) && (\n <Card>\n <CardContent className=\"p-card\">\n <Text className=\"text-sm text-muted-foreground\">{loading ? t('loading') : t('empty')}</Text>\n </CardContent>\n </Card>\n )}\n\n {/* No card title: \"Pending Invitations\" repeated the panel heading one line\n above it, and every row it could hold is by definition pending. */}\n {!loading && invitations.length > 0 && (\n <Card>\n <CardContent className=\"p-card\">\n {/* Flush divided list — same settings-list geometry as the\n SETTINGS_ROW field chrome (label/meta inline-start, actions\n inline-end, `py-group` rhythm, `divide-y` hairline dividers) so\n this bespoke action panel reads as the same family as the\n decorator-driven settings surfaces. (Was per-row bordered boxes\n with `space-y-2`, a visually divergent pattern.) */}\n <ul className=\"divide-y divide-border\">\n {invitations.map((invitation) => (\n <li\n key={invitation.membershipId}\n className=\"flex items-center justify-between gap-section py-group\"\n >\n <div className=\"flex min-w-0 flex-col gap-item-xs\">\n <Text className=\"font-medium\">{invitation.organizationName ?? t('unknownOrganization')}</Text>\n {invitation.roles.length > 0 && (\n <Text className=\"text-xs text-muted-foreground\">\n {/* Each role by its word, as a member directory shows it; a role with no word shows its key. */}\n {t('rolesPrefix')} {invitation.roles.map((role) => tRole(role, 'label')).join(', ')}\n </Text>\n )}\n </div>\n <div className=\"flex shrink-0 gap-element\">\n <Button\n variant={ButtonVariants_Variant.OUTLINE}\n size={ButtonSize.SM}\n disabled={busyId === invitation.membershipId}\n onClick={() => handleReject(invitation.membershipId)}\n >\n {t('rejectButton')}\n </Button>\n <Button\n size={ButtonSize.SM}\n disabled={busyId === invitation.membershipId}\n onClick={() => handleAccept(invitation.membershipId)}\n >\n {t('acceptButton')}\n </Button>\n </div>\n </li>\n ))}\n </ul>\n </CardContent>\n </Card>\n )}\n\n {!loading && relationshipInvitationsForMe.length > 0 && (\n <section aria-labelledby=\"invitations-settings-relationships\" className=\"flex flex-col gap-group\">\n <h4 id=\"invitations-settings-relationships\" className=\"text-sm font-semibold\">{t('relationshipInvitationsHeading')}</h4>\n <Card>\n <CardContent className=\"p-card\">\n <ul className=\"divide-y divide-border\">\n {relationshipInvitationsForMe.map((invitation) => {\n const offered = invitation.receivingOrganizations;\n const chosen = receivingChoice[invitation.invitationId] ?? offered[0]?.organizationId;\n const busy = busyId === invitation.invitationId;\n return (\n <li key={invitation.invitationId} className=\"flex flex-col gap-group py-group\">\n <div className=\"flex min-w-0 flex-col gap-item-xs\">\n <Text className=\"font-medium\">{invitation.representingOrganizationName ?? t('unknownRepresentingOrganization')}</Text>\n {invitation.purpose && <Text className=\"text-sm\">{invitation.purpose}</Text>}\n {invitation.role && (\n <Text className=\"text-xs text-muted-foreground\">{t('relationshipRolePrefix')} {tRole(invitation.role, 'label')}</Text>\n )}\n <Text className=\"text-xs text-muted-foreground\">{t('relationshipExpires', { date: formatDateTime(invitation.expiresAt) })}</Text>\n </div>\n {offered.length === 0 ? (\n <Text className=\"text-sm text-muted-foreground\">{t('relationshipNoReceivingOrganization')}</Text>\n ) : offered.length === 1 ? (\n <Text className=\"text-sm\">{t('relationshipReceivesInto', { organization: offered[0].organizationName ?? t('unknownOrganization') })}</Text>\n ) : (\n <div className=\"flex flex-col gap-item-xs\">\n {/* A real label for the picker: the select preset gives its trigger the id `field-<name>`. */}\n <Label htmlFor={`field-receiving-organization-${invitation.invitationId}`}>{t('relationshipReceivingOrganizationLabel')}</Label>\n <Select\n name={`receiving-organization-${invitation.invitationId}`}\n schema={RECEIVING_ORGANIZATION_SCHEMA}\n options={offered.map((organization) => ({\n value: organization.organizationId,\n label: organization.organizationName ?? t('unknownOrganization'),\n }))}\n value={chosen}\n disabled={busy}\n onChange={(organizationId: string) => setReceivingChoice((current) => ({ ...current, [invitation.invitationId]: organizationId }))}\n />\n </div>\n )}\n <div className=\"flex justify-end gap-element\">\n <Button\n variant={ButtonVariants_Variant.OUTLINE}\n size={ButtonSize.SM}\n disabled={busy}\n onClick={() => handleDecline(invitation)}\n >\n {t('relationshipDeclineButton')}\n </Button>\n {offered.length > 0 && (\n <Button\n size={ButtonSize.SM}\n disabled={busy || !chosen}\n onClick={() => handleReceive(invitation)}\n >\n {t('relationshipReceiveButton')}\n </Button>\n )}\n </div>\n </li>\n );\n })}\n </ul>\n </CardContent>\n </Card>\n </section>\n )}\n </div>\n );\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppPage_InvitationsSettings.labels.d.ts","sourceRoot":"","sources":["../../../../../src/components/settings/AppPage_InvitationsSettings.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAW7C,eAAO,MAAM,mCAAmC,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"AppPage_InvitationsSettings.labels.d.ts","sourceRoot":"","sources":["../../../../../src/components/settings/AppPage_InvitationsSettings.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAW7C,eAAO,MAAM,mCAAmC,EAAE,mBAAmB,EAmCpE,CAAC"}
|
|
@@ -9,9 +9,9 @@ import { FrontendComponentType, LabelKind, registerComponentLabels, } from '@wil
|
|
|
9
9
|
// Decline buttons, and `listHeading` ("Pending Invitations") restated the panel
|
|
10
10
|
// heading directly above it. Both were removed with the text they rendered.
|
|
11
11
|
export const AppLayoutsInvitationsSettingsLabels = [
|
|
12
|
-
{ ref: 'pageTitle', kind: LabelKind.HEADING, purpose: 'Heading for the Invitations settings panel
|
|
12
|
+
{ ref: 'pageTitle', kind: LabelKind.HEADING, purpose: 'Heading for the Invitations settings panel: invitations addressed to the user, to join an organization or from another organization that wants to work with one they own' },
|
|
13
13
|
{ ref: 'loading', kind: LabelKind.MESSAGE, purpose: 'Shown while the pending invitations are being loaded' },
|
|
14
|
-
{ ref: 'empty', kind: LabelKind.MESSAGE, purpose: 'Shown when the user has no pending invitations' },
|
|
14
|
+
{ ref: 'empty', kind: LabelKind.MESSAGE, purpose: 'Shown when the user has no pending invitations of either kind' },
|
|
15
15
|
{ ref: 'unknownOrganization', kind: LabelKind.LABEL, purpose: 'Fallback label for an invitation whose organization name could not be resolved' },
|
|
16
16
|
{ ref: 'rolesPrefix', kind: LabelKind.LABEL, purpose: 'Prefix before the list of roles the invitation grants (e.g. "Roles:")' },
|
|
17
17
|
{ ref: 'acceptButton', kind: LabelKind.BUTTON, purpose: 'Button that accepts the invitation and joins the organization' },
|
|
@@ -19,6 +19,29 @@ export const AppLayoutsInvitationsSettingsLabels = [
|
|
|
19
19
|
{ ref: 'acceptSuccess', kind: LabelKind.MESSAGE, purpose: 'Confirmation shown after the user accepts an invitation' },
|
|
20
20
|
{ ref: 'rejectSuccess', kind: LabelKind.MESSAGE, purpose: 'Confirmation shown after the user declines an invitation' },
|
|
21
21
|
{ ref: 'errorGeneric', kind: LabelKind.MESSAGE, purpose: 'Generic error shown when listing/accepting/declining an invitation fails' },
|
|
22
|
+
// Another organization's invitation to a relationship (#2716): an organization that wants to work with one the user owns.
|
|
23
|
+
{ ref: 'relationshipInvitationsHeading', kind: LabelKind.HEADING, purpose: 'Heading above the invitations from other organizations that want to work with an organization the user owns (an accounting firm offering its services, a partner organization)' },
|
|
24
|
+
{ ref: 'unknownRepresentingOrganization', kind: LabelKind.LABEL, purpose: 'Fallback label for an inviting organization whose name could not be resolved' },
|
|
25
|
+
{ ref: 'relationshipRolePrefix', kind: LabelKind.LABEL, purpose: 'Prefix before the role the inviting organization\'s people would have in the user\'s organization (e.g. "Their role:")' },
|
|
26
|
+
{
|
|
27
|
+
ref: 'relationshipExpires', kind: LabelKind.MESSAGE, purpose: 'When the invitation lapses if nobody acts on it. Param: {date}, the date and time',
|
|
28
|
+
params: [{ key: 'date', meaning: 'Date and time the invitation lapses' }],
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
ref: 'relationshipReceivesInto', kind: LabelKind.MESSAGE, purpose: 'Says which organization the inviting organization\'s proposal would go to, when the user owns exactly one that can receive it. Param: {organization}',
|
|
32
|
+
params: [{ key: 'organization', meaning: 'Name of the organization that would receive the proposal' }],
|
|
33
|
+
},
|
|
34
|
+
{ ref: 'relationshipReceivingOrganizationLabel', kind: LabelKind.LABEL, purpose: 'Label of the picker where the user chooses which of their organizations receives the inviting organization\'s proposal' },
|
|
35
|
+
{ ref: 'relationshipNoReceivingOrganization', kind: LabelKind.MESSAGE, purpose: 'Shown when none of the organizations the user owns can receive this invitation, so it can only be declined' },
|
|
36
|
+
{ ref: 'relationshipReceiveButton', kind: LabelKind.BUTTON, purpose: 'Button that sends the inviting organization\'s proposal to the chosen organization, where its owner can then accept or decline it. It does not give the inviting organization any access yet' },
|
|
37
|
+
{ ref: 'relationshipDeclineButton', kind: LabelKind.BUTTON, purpose: 'Button that declines the invitation; it will not be offered again' },
|
|
38
|
+
{
|
|
39
|
+
ref: 'relationshipReceiveSuccess', kind: LabelKind.MESSAGE,
|
|
40
|
+
purpose: 'Confirmation after the user sent an inviting organization\'s proposal to one of their organizations. Says the proposal is now waiting in that organization, and that it is accepted in that organization\'s settings, where its relationships with other organizations are managed (do not name the section: each application titles it in its own words). Params: {representingOrganization}, {organization}',
|
|
41
|
+
params: [{ key: 'representingOrganization', meaning: 'Name of the organization that sent the invitation' }, { key: 'organization', meaning: 'Name of the organization the proposal now waits in' }],
|
|
42
|
+
notes: ['Must make clear the inviting organization has no access yet: the proposal still has to be accepted.'],
|
|
43
|
+
},
|
|
44
|
+
{ ref: 'relationshipDeclineSuccess', kind: LabelKind.MESSAGE, purpose: 'Confirmation after the user declined an invitation from another organization' },
|
|
22
45
|
];
|
|
23
46
|
registerComponentLabels(FrontendComponentType.APP_LAYOUTS_INVITATIONS_SETTINGS, AppLayoutsInvitationsSettingsLabels);
|
|
24
47
|
//# sourceMappingURL=AppPage_InvitationsSettings.labels.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppPage_InvitationsSettings.labels.js","sourceRoot":"","sources":["../../../../../src/components/settings/AppPage_InvitationsSettings.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,SAAS,EAET,uBAAuB,GACxB,MAAM,qCAAqC,CAAC;AAE7C,gFAAgF;AAChF,6EAA6E;AAC7E,mFAAmF;AACnF,+EAA+E;AAC/E,2EAA2E;AAC3E,EAAE;AACF,8EAA8E;AAC9E,gFAAgF;AAChF,4EAA4E;AAC5E,MAAM,CAAC,MAAM,mCAAmC,GAA0B;IACxE,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"AppPage_InvitationsSettings.labels.js","sourceRoot":"","sources":["../../../../../src/components/settings/AppPage_InvitationsSettings.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,SAAS,EAET,uBAAuB,GACxB,MAAM,qCAAqC,CAAC;AAE7C,gFAAgF;AAChF,6EAA6E;AAC7E,mFAAmF;AACnF,+EAA+E;AAC/E,2EAA2E;AAC3E,EAAE;AACF,8EAA8E;AAC9E,gFAAgF;AAChF,4EAA4E;AAC5E,MAAM,CAAC,MAAM,mCAAmC,GAA0B;IACxE,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,0KAA0K,EAAE;IAClO,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,sDAAsD,EAAE;IAC5G,EAAE,GAAG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EAAE,MAAM,EAAE,OAAO,EAAE,qCAAqC,EAAE,CAAC;KAC1E;IACD;QACE,GAAG,EAAE,0BAA0B,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,sJAAsJ;QACzN,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,cAAc,EAAE,OAAO,EAAE,0DAA0D,EAAE,CAAC;KACvG;IACD,EAAE,GAAG,EAAE,wCAAwC,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,wHAAwH,EAAE;IAC3M,EAAE,GAAG,EAAE,qCAAqC,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,4GAA4G,EAAE;IAC9L,EAAE,GAAG,EAAE,2BAA2B,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,8LAA8L,EAAE;IACrQ,EAAE,GAAG,EAAE,2BAA2B,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,mEAAmE,EAAE;IAC1I;QACE,GAAG,EAAE,4BAA4B,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO;QAC1D,OAAO,EAAE,+YAA+Y;QACxZ,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,0BAA0B,EAAE,OAAO,EAAE,mDAAmD,EAAE,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,OAAO,EAAE,oDAAoD,EAAE,CAAC;QACnM,KAAK,EAAE,CAAC,qGAAqG,CAAC;KAC/G;IACD,EAAE,GAAG,EAAE,4BAA4B,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,8EAA8E,EAAE;CACxJ,CAAC;AAEF,uBAAuB,CAAC,qBAAqB,CAAC,gCAAgC,EAAE,mCAAmC,CAAC,CAAC","sourcesContent":["import {\n FrontendComponentType,\n LabelKind,\n type LabellingUnitaryDef,\n registerComponentLabels,\n} from '@wildo-ai/presets-components-models';\n\n// Companion-only label metadata for the Invitations settings panel: keys + kind\n// + per-key purpose. Statically scanned by the dev companion to generate the\n// `components.APP_LAYOUTS_INVITATIONS_SETTINGS.*` bundle; NOT imported at runtime,\n// so it never ships in the browser bundle. Keep in lock-step with the keys the\n// component reads via `tComponent(APP_LAYOUTS_INVITATIONS_SETTINGS, ...)`.\n//\n// No sub-heading and no list heading: `pageDescription` restated the Accept /\n// Decline buttons, and `listHeading` (\"Pending Invitations\") restated the panel\n// heading directly above it. Both were removed with the text they rendered.\nexport const AppLayoutsInvitationsSettingsLabels: LabellingUnitaryDef[] = [\n { ref: 'pageTitle', kind: LabelKind.HEADING, purpose: 'Heading for the Invitations settings panel: invitations addressed to the user, to join an organization or from another organization that wants to work with one they own' },\n { ref: 'loading', kind: LabelKind.MESSAGE, purpose: 'Shown while the pending invitations are being loaded' },\n { ref: 'empty', kind: LabelKind.MESSAGE, purpose: 'Shown when the user has no pending invitations of either kind' },\n { ref: 'unknownOrganization', kind: LabelKind.LABEL, purpose: 'Fallback label for an invitation whose organization name could not be resolved' },\n { ref: 'rolesPrefix', kind: LabelKind.LABEL, purpose: 'Prefix before the list of roles the invitation grants (e.g. \"Roles:\")' },\n { ref: 'acceptButton', kind: LabelKind.BUTTON, purpose: 'Button that accepts the invitation and joins the organization' },\n { ref: 'rejectButton', kind: LabelKind.BUTTON, purpose: 'Button that declines the invitation' },\n { ref: 'acceptSuccess', kind: LabelKind.MESSAGE, purpose: 'Confirmation shown after the user accepts an invitation' },\n { ref: 'rejectSuccess', kind: LabelKind.MESSAGE, purpose: 'Confirmation shown after the user declines an invitation' },\n { ref: 'errorGeneric', kind: LabelKind.MESSAGE, purpose: 'Generic error shown when listing/accepting/declining an invitation fails' },\n\n // Another organization's invitation to a relationship (#2716): an organization that wants to work with one the user owns.\n { ref: 'relationshipInvitationsHeading', kind: LabelKind.HEADING, purpose: 'Heading above the invitations from other organizations that want to work with an organization the user owns (an accounting firm offering its services, a partner organization)' },\n { ref: 'unknownRepresentingOrganization', kind: LabelKind.LABEL, purpose: 'Fallback label for an inviting organization whose name could not be resolved' },\n { ref: 'relationshipRolePrefix', kind: LabelKind.LABEL, purpose: 'Prefix before the role the inviting organization\\'s people would have in the user\\'s organization (e.g. \"Their role:\")' },\n {\n ref: 'relationshipExpires', kind: LabelKind.MESSAGE, purpose: 'When the invitation lapses if nobody acts on it. Param: {date}, the date and time',\n params: [{ key: 'date', meaning: 'Date and time the invitation lapses' }],\n },\n {\n ref: 'relationshipReceivesInto', kind: LabelKind.MESSAGE, purpose: 'Says which organization the inviting organization\\'s proposal would go to, when the user owns exactly one that can receive it. Param: {organization}',\n params: [{ key: 'organization', meaning: 'Name of the organization that would receive the proposal' }],\n },\n { ref: 'relationshipReceivingOrganizationLabel', kind: LabelKind.LABEL, purpose: 'Label of the picker where the user chooses which of their organizations receives the inviting organization\\'s proposal' },\n { ref: 'relationshipNoReceivingOrganization', kind: LabelKind.MESSAGE, purpose: 'Shown when none of the organizations the user owns can receive this invitation, so it can only be declined' },\n { ref: 'relationshipReceiveButton', kind: LabelKind.BUTTON, purpose: 'Button that sends the inviting organization\\'s proposal to the chosen organization, where its owner can then accept or decline it. It does not give the inviting organization any access yet' },\n { ref: 'relationshipDeclineButton', kind: LabelKind.BUTTON, purpose: 'Button that declines the invitation; it will not be offered again' },\n {\n ref: 'relationshipReceiveSuccess', kind: LabelKind.MESSAGE,\n purpose: 'Confirmation after the user sent an inviting organization\\'s proposal to one of their organizations. Says the proposal is now waiting in that organization, and that it is accepted in that organization\\'s settings, where its relationships with other organizations are managed (do not name the section: each application titles it in its own words). Params: {representingOrganization}, {organization}',\n params: [{ key: 'representingOrganization', meaning: 'Name of the organization that sent the invitation' }, { key: 'organization', meaning: 'Name of the organization the proposal now waits in' }],\n notes: ['Must make clear the inviting organization has no access yet: the proposal still has to be accepted.'],\n },\n { ref: 'relationshipDeclineSuccess', kind: LabelKind.MESSAGE, purpose: 'Confirmation after the user declined an invitation from another organization' },\n];\n\nregisterComponentLabels(FrontendComponentType.APP_LAYOUTS_INVITATIONS_SETTINGS, AppLayoutsInvitationsSettingsLabels);\n"]}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AppPage_ModelCostBreakdownSettings — what model calls cost, in two places (#2528, #2618):
|
|
3
|
+
*
|
|
4
|
+
* - {@link ModelCostBreakdownScope.APPLICATION}: the Breakdown tab of Administration > Model costs. Every tenant's calls,
|
|
5
|
+
* read by the application's model-cost readers (the super-administrator and the billing manager); where the parties are
|
|
6
|
+
* independent of the operator that read also needs a live application access grant.
|
|
7
|
+
* - {@link ModelCostBreakdownScope.REPRESENTING_ORGANIZATION}: the Model cost tab of the representing side's relationships
|
|
8
|
+
* section. A representing organization's OWN calls, read by its administrator: its calls through the relationships it
|
|
9
|
+
* represents in, and its own tenant's own calls.
|
|
10
|
+
*
|
|
11
|
+
* It calls `POST /model-cost/summary` (naming the current organization for a representing organization) over a window, per case,
|
|
12
|
+
* organization, agent or model, IN MONEY, and renders each group's cost per currency from its minor units, with its
|
|
13
|
+
* calls and tokens, and for a case the people's review time (its own people's, for a representing organization).
|
|
14
|
+
*
|
|
15
|
+
* Two counts are shown beside the totals and never folded into them, because they are what makes a total honest: the
|
|
16
|
+
* calls a group made that have no price (no cost to add), and, under the table, the calls in the window that belong to
|
|
17
|
+
* no piece of work and the calls nobody priced. A cost per case that silently dropped them would look complete and be
|
|
18
|
+
* low.
|
|
19
|
+
*
|
|
20
|
+
* Bespoke rather than a resource surface because the breakdown is not a row: it is computed on request from the call
|
|
21
|
+
* records. The monthly records it is reconciled against are the tab beside it.
|
|
22
|
+
*
|
|
23
|
+
* i18n: every word is a key in `AppPage_ModelCostBreakdownSettings.labels.ts`. A group's identity (a case id, an
|
|
24
|
+
* organization id, an agent ref, a model name) is a value, shown as it is.
|
|
25
|
+
*/
|
|
26
|
+
import React from 'react';
|
|
27
|
+
import { DecisionTimeAvailability, ModelCostGroupBy, type ModelCostDecisionTime, type ModelCostSummaryGroup } from '@wildo-ai/saas-models';
|
|
28
|
+
/** Whose model cost the panel shows (#2618). Passed explicitly at each mount, so the call site says whose cost it is. */
|
|
29
|
+
export declare enum ModelCostBreakdownScope {
|
|
30
|
+
/** Every tenant's, for the application's model-cost readers. */
|
|
31
|
+
APPLICATION = "application",
|
|
32
|
+
/** The current organization's own, for a representing organization's administrator. */
|
|
33
|
+
REPRESENTING_ORGANIZATION = "representing-organization"
|
|
34
|
+
}
|
|
35
|
+
/** The windows the panel offers, in days; each within the route's `MODEL_COST_SUMMARY_MAX_WINDOW_DAYS` (366). */
|
|
36
|
+
export declare enum ModelCostBreakdownWindow {
|
|
37
|
+
LAST_30_DAYS = 30,
|
|
38
|
+
LAST_90_DAYS = 90,
|
|
39
|
+
LAST_365_DAYS = 365
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Why the breakdown could not be shown (#2618). One refusal has a remedy the reader can act on: an application reader
|
|
43
|
+
* asking for cases across parties independent of the operator needs an access window a second administrator
|
|
44
|
+
* approved. That is not an error to report but a step to name, so it is told apart from every other failure.
|
|
45
|
+
*/
|
|
46
|
+
export declare enum ModelCostBreakdownFailure {
|
|
47
|
+
/** The read failed for any other reason; the backend error is surfaced as well. */
|
|
48
|
+
GENERIC = "generic",
|
|
49
|
+
/** The read needs a live application access grant: per-case cost across independent parties is their margin. */
|
|
50
|
+
ACCESS_GRANT_REQUIRED = "accessGrantRequired"
|
|
51
|
+
}
|
|
52
|
+
/** The label key of a failure's message. One key per `ModelCostBreakdownFailure` member. */
|
|
53
|
+
export declare function failureLabelKey(failure: ModelCostBreakdownFailure): string;
|
|
54
|
+
/** The label key of a grouping's tab and column heading. One key per `ModelCostGroupBy` member. */
|
|
55
|
+
export declare function groupingLabelKey(grouping: ModelCostGroupBy): string;
|
|
56
|
+
/** The label key of a window button. One key per `ModelCostBreakdownWindow` member. */
|
|
57
|
+
export declare function windowLabelKey(window: ModelCostBreakdownWindow): string;
|
|
58
|
+
/** The label key of a case's decision time. One key per `DecisionTimeAvailability` member. */
|
|
59
|
+
export declare function decisionTimeLabelKey(availability: DecisionTimeAvailability): string;
|
|
60
|
+
/** The group's identity under the chosen grouping, or `undefined` when its calls carried none. */
|
|
61
|
+
export declare function modelCostGroupKey(group: ModelCostSummaryGroup, grouping: ModelCostGroupBy): string | undefined;
|
|
62
|
+
/** A case's review time as the words' parameters: the decisions, and the minutes rounded. `undefined` when not joined. */
|
|
63
|
+
export declare function decisionTimeParams(decisionTime: ModelCostDecisionTime): Record<string, number> | undefined;
|
|
64
|
+
export declare const AppPage_ModelCostBreakdownSettings: React.FC<{
|
|
65
|
+
readonly scope: ModelCostBreakdownScope;
|
|
66
|
+
}>;
|
|
67
|
+
//# sourceMappingURL=AppPage_ModelCostBreakdownSettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppPage_ModelCostBreakdownSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/settings/AppPage_ModelCostBreakdownSettings.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,KAAoD,MAAM,OAAO,CAAC;AAEzE,OAAO,EAEL,wBAAwB,EACxB,gBAAgB,EAEhB,KAAK,qBAAqB,EAE1B,KAAK,qBAAqB,EAC3B,MAAM,uBAAuB,CAAC;AAc/B,yHAAyH;AACzH,oBAAY,uBAAuB;IACjC,gEAAgE;IAChE,WAAW,gBAAgB;IAC3B,uFAAuF;IACvF,yBAAyB,8BAA8B;CACxD;AAED,iHAAiH;AACjH,oBAAY,wBAAwB;IAClC,YAAY,KAAK;IACjB,YAAY,KAAK;IACjB,aAAa,MAAM;CACpB;AAQD;;;;GAIG;AACH,oBAAY,yBAAyB;IACnC,mFAAmF;IACnF,OAAO,YAAY;IACnB,gHAAgH;IAChH,qBAAqB,wBAAwB;CAC9C;AAED,4FAA4F;AAC5F,wBAAgB,eAAe,CAAC,OAAO,EAAE,yBAAyB,GAAG,MAAM,CAE1E;AAED,mGAAmG;AACnG,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,CAEnE;AACD,uFAAuF;AACvF,wBAAgB,cAAc,CAAC,MAAM,EAAE,wBAAwB,GAAG,MAAM,CAEvE;AACD,8FAA8F;AAC9F,wBAAgB,oBAAoB,CAAC,YAAY,EAAE,wBAAwB,GAAG,MAAM,CAEnF;AAED,kGAAkG;AAClG,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,qBAAqB,EAAE,QAAQ,EAAE,gBAAgB,GAAG,MAAM,GAAG,SAAS,CAW9G;AAED,0HAA0H;AAC1H,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAG1G;AAED,eAAO,MAAM,kCAAkC,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,CAAC,KAAK,EAAE,uBAAuB,CAAA;CAAE,CA2JpG,CAAC"}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* AppPage_ModelCostBreakdownSettings — what model calls cost, in two places (#2528, #2618):
|
|
4
|
+
*
|
|
5
|
+
* - {@link ModelCostBreakdownScope.APPLICATION}: the Breakdown tab of Administration > Model costs. Every tenant's calls,
|
|
6
|
+
* read by the application's model-cost readers (the super-administrator and the billing manager); where the parties are
|
|
7
|
+
* independent of the operator that read also needs a live application access grant.
|
|
8
|
+
* - {@link ModelCostBreakdownScope.REPRESENTING_ORGANIZATION}: the Model cost tab of the representing side's relationships
|
|
9
|
+
* section. A representing organization's OWN calls, read by its administrator: its calls through the relationships it
|
|
10
|
+
* represents in, and its own tenant's own calls.
|
|
11
|
+
*
|
|
12
|
+
* It calls `POST /model-cost/summary` (naming the current organization for a representing organization) over a window, per case,
|
|
13
|
+
* organization, agent or model, IN MONEY, and renders each group's cost per currency from its minor units, with its
|
|
14
|
+
* calls and tokens, and for a case the people's review time (its own people's, for a representing organization).
|
|
15
|
+
*
|
|
16
|
+
* Two counts are shown beside the totals and never folded into them, because they are what makes a total honest: the
|
|
17
|
+
* calls a group made that have no price (no cost to add), and, under the table, the calls in the window that belong to
|
|
18
|
+
* no piece of work and the calls nobody priced. A cost per case that silently dropped them would look complete and be
|
|
19
|
+
* low.
|
|
20
|
+
*
|
|
21
|
+
* Bespoke rather than a resource surface because the breakdown is not a row: it is computed on request from the call
|
|
22
|
+
* records. The monthly records it is reconciled against are the tab beside it.
|
|
23
|
+
*
|
|
24
|
+
* i18n: every word is a key in `AppPage_ModelCostBreakdownSettings.labels.ts`. A group's identity (a case id, an
|
|
25
|
+
* organization id, an agent ref, a model name) is a value, shown as it is.
|
|
26
|
+
*/
|
|
27
|
+
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
28
|
+
import { ButtonSize, FrontendComponentType } from '@wildo-ai/presets-components-models';
|
|
29
|
+
import { ErrorCustomMessageReference, DecisionTimeAvailability, ModelCostGroupBy, isWildoBackendError, } from '@wildo-ai/saas-models';
|
|
30
|
+
import { Card, CardContent } from '../../components/sections/card.js';
|
|
31
|
+
import { Tabs, TabsList, TabsTrigger } from '../../components/sections/tabs.js';
|
|
32
|
+
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '../../components/sections/table.js';
|
|
33
|
+
import { Button, ButtonVariants_Variant } from '../../components/actions/button.js';
|
|
34
|
+
import { Text } from '../../components/typography/text.js';
|
|
35
|
+
import { Alert, AlertDescription } from '../../components/overlays/containers/alert.js';
|
|
36
|
+
import { useI18n } from '../../core/i18n/useI18n.js';
|
|
37
|
+
import { useUserOrgs } from '../../core/security/useUserOrgs.js';
|
|
38
|
+
import { formatModelCostMinorUnits } from '../../core/flows-actors/model-cost-money.frontend.utils.js';
|
|
39
|
+
import { getManualCallsHttpClient } from '../../core/requests/wildo-http-client-manual-calls.frontend.service.js';
|
|
40
|
+
const COMPONENT = FrontendComponentType.APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS;
|
|
41
|
+
/** Whose model cost the panel shows (#2618). Passed explicitly at each mount, so the call site says whose cost it is. */
|
|
42
|
+
export var ModelCostBreakdownScope;
|
|
43
|
+
(function (ModelCostBreakdownScope) {
|
|
44
|
+
/** Every tenant's, for the application's model-cost readers. */
|
|
45
|
+
ModelCostBreakdownScope["APPLICATION"] = "application";
|
|
46
|
+
/** The current organization's own, for a representing organization's administrator. */
|
|
47
|
+
ModelCostBreakdownScope["REPRESENTING_ORGANIZATION"] = "representing-organization";
|
|
48
|
+
})(ModelCostBreakdownScope || (ModelCostBreakdownScope = {}));
|
|
49
|
+
/** The windows the panel offers, in days; each within the route's `MODEL_COST_SUMMARY_MAX_WINDOW_DAYS` (366). */
|
|
50
|
+
export var ModelCostBreakdownWindow;
|
|
51
|
+
(function (ModelCostBreakdownWindow) {
|
|
52
|
+
ModelCostBreakdownWindow[ModelCostBreakdownWindow["LAST_30_DAYS"] = 30] = "LAST_30_DAYS";
|
|
53
|
+
ModelCostBreakdownWindow[ModelCostBreakdownWindow["LAST_90_DAYS"] = 90] = "LAST_90_DAYS";
|
|
54
|
+
ModelCostBreakdownWindow[ModelCostBreakdownWindow["LAST_365_DAYS"] = 365] = "LAST_365_DAYS";
|
|
55
|
+
})(ModelCostBreakdownWindow || (ModelCostBreakdownWindow = {}));
|
|
56
|
+
const WINDOWS = [
|
|
57
|
+
ModelCostBreakdownWindow.LAST_30_DAYS,
|
|
58
|
+
ModelCostBreakdownWindow.LAST_90_DAYS,
|
|
59
|
+
ModelCostBreakdownWindow.LAST_365_DAYS,
|
|
60
|
+
];
|
|
61
|
+
const GROUPINGS = Object.values(ModelCostGroupBy);
|
|
62
|
+
/**
|
|
63
|
+
* Why the breakdown could not be shown (#2618). One refusal has a remedy the reader can act on: an application reader
|
|
64
|
+
* asking for cases across parties independent of the operator needs an access window a second administrator
|
|
65
|
+
* approved. That is not an error to report but a step to name, so it is told apart from every other failure.
|
|
66
|
+
*/
|
|
67
|
+
export var ModelCostBreakdownFailure;
|
|
68
|
+
(function (ModelCostBreakdownFailure) {
|
|
69
|
+
/** The read failed for any other reason; the backend error is surfaced as well. */
|
|
70
|
+
ModelCostBreakdownFailure["GENERIC"] = "generic";
|
|
71
|
+
/** The read needs a live application access grant: per-case cost across independent parties is their margin. */
|
|
72
|
+
ModelCostBreakdownFailure["ACCESS_GRANT_REQUIRED"] = "accessGrantRequired";
|
|
73
|
+
})(ModelCostBreakdownFailure || (ModelCostBreakdownFailure = {}));
|
|
74
|
+
/** The label key of a failure's message. One key per `ModelCostBreakdownFailure` member. */
|
|
75
|
+
export function failureLabelKey(failure) {
|
|
76
|
+
return failure === ModelCostBreakdownFailure.ACCESS_GRANT_REQUIRED ? 'errorAccessGrantRequired' : 'errorGeneric';
|
|
77
|
+
}
|
|
78
|
+
/** The label key of a grouping's tab and column heading. One key per `ModelCostGroupBy` member. */
|
|
79
|
+
export function groupingLabelKey(grouping) {
|
|
80
|
+
return `groupBy_${grouping}`;
|
|
81
|
+
}
|
|
82
|
+
/** The label key of a window button. One key per `ModelCostBreakdownWindow` member. */
|
|
83
|
+
export function windowLabelKey(window) {
|
|
84
|
+
return `window_${window}`;
|
|
85
|
+
}
|
|
86
|
+
/** The label key of a case's decision time. One key per `DecisionTimeAvailability` member. */
|
|
87
|
+
export function decisionTimeLabelKey(availability) {
|
|
88
|
+
return `decisionTime_${availability}`;
|
|
89
|
+
}
|
|
90
|
+
/** The group's identity under the chosen grouping, or `undefined` when its calls carried none. */
|
|
91
|
+
export function modelCostGroupKey(group, grouping) {
|
|
92
|
+
switch (grouping) {
|
|
93
|
+
case ModelCostGroupBy.CASE:
|
|
94
|
+
return group.key.caseRef ? `${group.key.caseRef.resourceType} · ${group.key.caseRef.resourceId}` : undefined;
|
|
95
|
+
case ModelCostGroupBy.ORGANIZATION:
|
|
96
|
+
return group.key.organizationId;
|
|
97
|
+
case ModelCostGroupBy.AGENT:
|
|
98
|
+
return group.key.agentRef;
|
|
99
|
+
case ModelCostGroupBy.MODEL:
|
|
100
|
+
return group.key.model ? [group.key.provider, group.key.model].filter(Boolean).join(' · ') : undefined;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
/** A case's review time as the words' parameters: the decisions, and the minutes rounded. `undefined` when not joined. */
|
|
104
|
+
export function decisionTimeParams(decisionTime) {
|
|
105
|
+
if (decisionTime.availability !== DecisionTimeAvailability.JOINED)
|
|
106
|
+
return undefined;
|
|
107
|
+
return { decisions: decisionTime.decisionCount ?? 0, minutes: Math.round((decisionTime.reviewDurationMs ?? 0) / 60_000) };
|
|
108
|
+
}
|
|
109
|
+
export const AppPage_ModelCostBreakdownSettings = ({ scope }) => {
|
|
110
|
+
const { tComponent, isReady, formatNumber } = useI18n({ component: COMPONENT });
|
|
111
|
+
const t = useCallback((key, params) => tComponent(COMPONENT, key, params), [tComponent]);
|
|
112
|
+
const { currentOrganizationId } = useUserOrgs();
|
|
113
|
+
/** The representing organization the summary is asked for; `undefined` for the application's own view. */
|
|
114
|
+
const representingOrganizationId = scope === ModelCostBreakdownScope.REPRESENTING_ORGANIZATION ? currentOrganizationId ?? undefined : undefined;
|
|
115
|
+
const awaitsOrganization = scope === ModelCostBreakdownScope.REPRESENTING_ORGANIZATION && !representingOrganizationId;
|
|
116
|
+
const [grouping, setGrouping] = useState(ModelCostGroupBy.CASE);
|
|
117
|
+
const [windowDays, setWindowDays] = useState(ModelCostBreakdownWindow.LAST_30_DAYS);
|
|
118
|
+
/** The last answer, with the window it was asked for: a summary only answers for the grouping AND window it was read for. */
|
|
119
|
+
const [held, setHeld] = useState(null);
|
|
120
|
+
const [loading, setLoading] = useState(true);
|
|
121
|
+
const [failure, setFailure] = useState(null);
|
|
122
|
+
useEffect(() => {
|
|
123
|
+
// A representing organization's view with no organization selected: nothing to ask for, and the panel says so.
|
|
124
|
+
if (awaitsOrganization) {
|
|
125
|
+
setFailure(null);
|
|
126
|
+
setLoading(false);
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
let cancelled = false;
|
|
130
|
+
const to = new Date();
|
|
131
|
+
const from = new Date(to.getTime() - windowDays * 24 * 60 * 60_000);
|
|
132
|
+
setLoading(true);
|
|
133
|
+
setFailure(null);
|
|
134
|
+
getManualCallsHttpClient()
|
|
135
|
+
.summarizeModelCost({ from: from.toISOString(), to: to.toISOString(), groupBy: grouping, ...(representingOrganizationId ? { organizationId: representingOrganizationId } : {}) })
|
|
136
|
+
.then((result) => { if (!cancelled)
|
|
137
|
+
setHeld({ summary: result, windowDays, organizationId: representingOrganizationId }); })
|
|
138
|
+
.catch((caught) => {
|
|
139
|
+
if (cancelled)
|
|
140
|
+
return;
|
|
141
|
+
// The panel says it failed whatever the cause, so it never sits on "loading". A missing access window is a step
|
|
142
|
+
// the reader can take, named in the panel; any other backend error is then rethrown for the application's error
|
|
143
|
+
// surfacing.
|
|
144
|
+
if (isWildoBackendError(caught) && caught.customMessageReference === ErrorCustomMessageReference.AUTHORIZATIONS_APPLICATION_ACCESS_GRANT_REQUIRED) {
|
|
145
|
+
setFailure(ModelCostBreakdownFailure.ACCESS_GRANT_REQUIRED);
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
setFailure(ModelCostBreakdownFailure.GENERIC);
|
|
149
|
+
if (isWildoBackendError(caught))
|
|
150
|
+
throw caught;
|
|
151
|
+
})
|
|
152
|
+
.finally(() => { if (!cancelled)
|
|
153
|
+
setLoading(false); });
|
|
154
|
+
return () => { cancelled = true; };
|
|
155
|
+
}, [grouping, windowDays, representingOrganizationId, awaitsOrganization]);
|
|
156
|
+
// A regroup or a new window keeps the previous answer until the new one arrives: that is loading, not "no calls", and
|
|
157
|
+
// the previous figures are not shown under the newly chosen tab or window (#2528 review L5).
|
|
158
|
+
// A summary answers for the organization it was read for too: a switch of organization shows loading, not the last one's.
|
|
159
|
+
const summary = held && held.windowDays === windowDays && held.summary.groupBy === grouping && held.organizationId === representingOrganizationId ? held.summary : null;
|
|
160
|
+
const groups = useMemo(() => summary?.groups ?? [], [summary]);
|
|
161
|
+
const awaiting = loading || summary === null;
|
|
162
|
+
if (!isReady)
|
|
163
|
+
return null;
|
|
164
|
+
const costOf = (group) => {
|
|
165
|
+
const amounts = group.totals.flatMap((total) => {
|
|
166
|
+
const amount = formatModelCostMinorUnits(total.costMinor, total.currency, formatNumber);
|
|
167
|
+
return amount === undefined ? [] : [amount];
|
|
168
|
+
});
|
|
169
|
+
return amounts.length > 0 ? amounts.join(', ') : t('noPricedCost');
|
|
170
|
+
};
|
|
171
|
+
const tokensOf = (group) => group.totals.reduce((sum, total) => sum + total.totalTokens, 0);
|
|
172
|
+
return (_jsxs("div", { className: "flex flex-col gap-section", children: [_jsx("h3", { className: "text-base font-semibold tracking-tight", children: t(scope === ModelCostBreakdownScope.REPRESENTING_ORGANIZATION ? 'representingPageTitle' : 'pageTitle') }), _jsx(Text, { className: "text-sm text-muted-foreground", children: t(scope === ModelCostBreakdownScope.REPRESENTING_ORGANIZATION ? 'representingPageDescription' : 'pageDescription') }), _jsxs("div", { className: "flex flex-wrap items-center justify-between gap-section", children: [_jsx(Tabs, { value: grouping, onValueChange: (value) => setGrouping(value), children: _jsx(TabsList, { children: GROUPINGS.map((value) => (_jsx(TabsTrigger, { value: value, "data-ref": value, children: t(groupingLabelKey(value)) }, value))) }) }), _jsx("div", { className: "flex gap-element", role: "group", "aria-label": t('windowLabel'), children: WINDOWS.map((value) => (_jsx(Button, { size: ButtonSize.SM, variant: value === windowDays ? ButtonVariants_Variant.DEFAULT : ButtonVariants_Variant.OUTLINE, "aria-pressed": value === windowDays, onClick: () => setWindowDays(value), children: t(windowLabelKey(value)) }, value))) })] }), awaitsOrganization ? (_jsx(Text, { className: "text-sm text-muted-foreground", children: t('noOrganization') })) : failure ? (_jsx(Alert, { variant: failure === ModelCostBreakdownFailure.ACCESS_GRANT_REQUIRED ? 'default' : 'destructive', children: _jsx(AlertDescription, { children: t(failureLabelKey(failure)) }) })) : (_jsx(Card, { children: _jsxs(CardContent, { className: "flex flex-col gap-element p-card", children: [awaiting && groups.length === 0 ? (_jsx(Text, { className: "text-sm text-muted-foreground", children: t('loading') })) : groups.length === 0 ? (_jsx(Text, { className: "text-sm text-muted-foreground", children: t('empty') })) : (_jsxs(Table, { children: [_jsx(TableHeader, { children: _jsxs(TableRow, { children: [_jsx(TableHead, { children: t(groupingLabelKey(grouping)) }), _jsx(TableHead, { children: t('columnCost') }), _jsx(TableHead, { children: t('columnCalls') }), _jsx(TableHead, { children: t('columnUnpriced') }), _jsx(TableHead, { children: t('columnTokens') }), _jsx(TableHead, { children: t('columnClassifierCalls') }), _jsx(TableHead, { children: t('columnDocumentExtractionCalls') }), _jsx(TableHead, { children: t('columnPersonalDataWithheld') }), grouping === ModelCostGroupBy.CASE ? _jsx(TableHead, { children: t('columnDecisionTime') }) : null] }) }), _jsx(TableBody, { children: groups.map((group, index) => {
|
|
173
|
+
const key = modelCostGroupKey(group, grouping);
|
|
174
|
+
return (_jsxs(TableRow, { "data-model-cost-group": key ?? 'unattributed', children: [_jsx(TableCell, { className: key ? 'font-mono' : 'text-muted-foreground', children: key ?? t('unattributed') }), _jsx(TableCell, { className: "tabular-nums", children: costOf(group) }), _jsx(TableCell, { className: "tabular-nums", children: formatNumber(group.callCount) }), _jsx(TableCell, { className: "tabular-nums", children: formatNumber(group.unpricedCallCount) }), _jsx(TableCell, { className: "tabular-nums", children: formatNumber(tokensOf(group)) }), _jsx(TableCell, { className: "tabular-nums", children: formatNumber(group.classifierCallCount) }), _jsx(TableCell, { className: "tabular-nums", children: formatNumber(group.documentExtractionCallCount) }), _jsx(TableCell, { className: "tabular-nums", children: formatNumber(group.personalDataFieldsWithheld) }), grouping === ModelCostGroupBy.CASE ? (_jsx(TableCell, { children: group.decisionTime ? t(decisionTimeLabelKey(group.decisionTime.availability), decisionTimeParams(group.decisionTime)) : null })) : null] }, key ?? `unattributed-${index}`));
|
|
175
|
+
}) })] })), summary && summary.unattributedCallCount > 0 ? (_jsx(Text, { className: "text-xs text-muted-foreground", children: t('windowUnattributed', { count: summary.unattributedCallCount }) })) : null, summary && summary.unpricedCallCount > 0 ? (_jsx(Text, { className: "text-xs text-muted-foreground", children: t('windowUnpriced', { count: summary.unpricedCallCount }) })) : null] }) }))] }));
|
|
176
|
+
};
|
|
177
|
+
//# sourceMappingURL=AppPage_ModelCostBreakdownSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppPage_ModelCostBreakdownSettings.js","sourceRoot":"","sources":["../../../../../src/components/settings/AppPage_ModelCostBreakdownSettings.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAc,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EACL,2BAA2B,EAC3B,wBAAwB,EACxB,gBAAgB,EAChB,mBAAmB,GAIpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAC9H,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,IAAI,EAAE,MAAM,gDAAgD,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,0DAA0D,CAAC;AACnG,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,M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cAAc,YAAE,YAAY,CAAC,KAAK,CAAC,2BAA2B,CAAC,GAAa,EACjG,KAAC,SAAS,IAAC,SAAS,EAAC,cAAc,YAAE,YAAY,CAAC,KAAK,CAAC,0BAA0B,CAAC,GAAa,EAC/F,QAAQ,KAAK,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CACpC,KAAC,SAAS,cACP,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,KAAK,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE,kBAAkB,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GACnH,CACb,CAAC,CAAC,CAAC,IAAI,KAbK,GAAG,IAAI,gBAAgB,KAAK,EAAE,CAclC,CACZ,CAAC;oCACJ,CAAC,CAAC,GACQ,IACN,CACT,EACA,OAAO,IAAI,OAAO,CAAC,qBAAqB,GAAG,CAAC,CAAC,CAAC,CAAC,CAC9C,KAAC,IAAI,IAAC,SAAS,EAAC,+BAA+B,YAAE,CAAC,CAAC,oBAAoB,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC,qBAAqB,EAAE,CAAC,GAAQ,CAC3H,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,IAAI,OAAO,CAAC,iBAAiB,GAAG,CAAC,CAAC,CAAC,CAAC,CAC1C,KAAC,IAAI,IAAC,SAAS,EAAC,+BAA+B,YAAE,CAAC,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC,iBAAiB,EAAE,CAAC,GAAQ,CACnH,CAAC,CAAC,CAAC,IAAI,IACI,GACT,CACR,IACG,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["/**\n * AppPage_ModelCostBreakdownSettings — what model calls cost, in two places (#2528, #2618):\n *\n * - {@link ModelCostBreakdownScope.APPLICATION}: the Breakdown tab of Administration > Model costs. Every tenant's calls,\n * read by the application's model-cost readers (the super-administrator and the billing manager); where the parties are\n * independent of the operator that read also needs a live application access grant.\n * - {@link ModelCostBreakdownScope.REPRESENTING_ORGANIZATION}: the Model cost tab of the representing side's relationships\n * section. A representing organization's OWN calls, read by its administrator: its calls through the relationships it\n * represents in, and its own tenant's own calls.\n *\n * It calls `POST /model-cost/summary` (naming the current organization for a representing organization) over a window, per case,\n * organization, agent or model, IN MONEY, and renders each group's cost per currency from its minor units, with its\n * calls and tokens, and for a case the people's review time (its own people's, for a representing organization).\n *\n * Two counts are shown beside the totals and never folded into them, because they are what makes a total honest: the\n * calls a group made that have no price (no cost to add), and, under the table, the calls in the window that belong to\n * no piece of work and the calls nobody priced. A cost per case that silently dropped them would look complete and be\n * low.\n *\n * Bespoke rather than a resource surface because the breakdown is not a row: it is computed on request from the call\n * records. The monthly records it is reconciled against are the tab beside it.\n *\n * i18n: every word is a key in `AppPage_ModelCostBreakdownSettings.labels.ts`. A group's identity (a case id, an\n * organization id, an agent ref, a model name) is a value, shown as it is.\n */\nimport React, { useCallback, useEffect, useMemo, useState } from 'react';\nimport { ButtonSize, FrontendComponentType } from '@wildo-ai/presets-components-models';\nimport {\n ErrorCustomMessageReference,\n DecisionTimeAvailability,\n ModelCostGroupBy,\n isWildoBackendError,\n type ModelCostDecisionTime,\n type ModelCostSummary,\n type ModelCostSummaryGroup,\n} from '@wildo-ai/saas-models';\nimport { Card, CardContent } from '~wildo-frontend-lib/components/sections/card';\nimport { Tabs, TabsList, TabsTrigger } from '~wildo-frontend-lib/components/sections/tabs';\nimport { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '~wildo-frontend-lib/components/sections/table';\nimport { Button, ButtonVariants_Variant } from '~wildo-frontend-lib/components/actions/button';\nimport { Text } from '~wildo-frontend-lib/components/typography/text';\nimport { Alert, AlertDescription } from '~wildo-frontend-lib/components/overlays/containers/alert';\nimport { useI18n } from '~wildo-frontend-lib/core/i18n/useI18n';\nimport { useUserOrgs } from '~wildo-frontend-lib/core/security/useUserOrgs';\nimport { formatModelCostMinorUnits } from '~wildo-frontend-lib/core/flows-actors/model-cost-money.frontend.utils';\nimport { getManualCallsHttpClient } from '~wildo-frontend-lib/core/requests/wildo-http-client-manual-calls.frontend.service';\n\nconst COMPONENT = FrontendComponentType.APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS;\n\n/** Whose model cost the panel shows (#2618). Passed explicitly at each mount, so the call site says whose cost it is. */\nexport enum ModelCostBreakdownScope {\n /** Every tenant's, for the application's model-cost readers. */\n APPLICATION = 'application',\n /** The current organization's own, for a representing organization's administrator. */\n REPRESENTING_ORGANIZATION = 'representing-organization',\n}\n\n/** The windows the panel offers, in days; each within the route's `MODEL_COST_SUMMARY_MAX_WINDOW_DAYS` (366). */\nexport enum ModelCostBreakdownWindow {\n LAST_30_DAYS = 30,\n LAST_90_DAYS = 90,\n LAST_365_DAYS = 365,\n}\nconst WINDOWS: readonly ModelCostBreakdownWindow[] = [\n ModelCostBreakdownWindow.LAST_30_DAYS,\n ModelCostBreakdownWindow.LAST_90_DAYS,\n ModelCostBreakdownWindow.LAST_365_DAYS,\n];\nconst GROUPINGS: readonly ModelCostGroupBy[] = Object.values(ModelCostGroupBy);\n\n/**\n * Why the breakdown could not be shown (#2618). One refusal has a remedy the reader can act on: an application reader\n * asking for cases across parties independent of the operator needs an access window a second administrator\n * approved. That is not an error to report but a step to name, so it is told apart from every other failure.\n */\nexport enum ModelCostBreakdownFailure {\n /** The read failed for any other reason; the backend error is surfaced as well. */\n GENERIC = 'generic',\n /** The read needs a live application access grant: per-case cost across independent parties is their margin. */\n ACCESS_GRANT_REQUIRED = 'accessGrantRequired',\n}\n\n/** The label key of a failure's message. One key per `ModelCostBreakdownFailure` member. */\nexport function failureLabelKey(failure: ModelCostBreakdownFailure): string {\n return failure === ModelCostBreakdownFailure.ACCESS_GRANT_REQUIRED ? 'errorAccessGrantRequired' : 'errorGeneric';\n}\n\n/** The label key of a grouping's tab and column heading. One key per `ModelCostGroupBy` member. */\nexport function groupingLabelKey(grouping: ModelCostGroupBy): string {\n return `groupBy_${grouping}`;\n}\n/** The label key of a window button. One key per `ModelCostBreakdownWindow` member. */\nexport function windowLabelKey(window: ModelCostBreakdownWindow): string {\n return `window_${window}`;\n}\n/** The label key of a case's decision time. One key per `DecisionTimeAvailability` member. */\nexport function decisionTimeLabelKey(availability: DecisionTimeAvailability): string {\n return `decisionTime_${availability}`;\n}\n\n/** The group's identity under the chosen grouping, or `undefined` when its calls carried none. */\nexport function modelCostGroupKey(group: ModelCostSummaryGroup, grouping: ModelCostGroupBy): string | undefined {\n switch (grouping) {\n case ModelCostGroupBy.CASE:\n return group.key.caseRef ? `${group.key.caseRef.resourceType} · ${group.key.caseRef.resourceId}` : undefined;\n case ModelCostGroupBy.ORGANIZATION:\n return group.key.organizationId;\n case ModelCostGroupBy.AGENT:\n return group.key.agentRef;\n case ModelCostGroupBy.MODEL:\n return group.key.model ? [group.key.provider, group.key.model].filter(Boolean).join(' · ') : undefined;\n }\n}\n\n/** A case's review time as the words' parameters: the decisions, and the minutes rounded. `undefined` when not joined. */\nexport function decisionTimeParams(decisionTime: ModelCostDecisionTime): Record<string, number> | undefined {\n if (decisionTime.availability !== DecisionTimeAvailability.JOINED) return undefined;\n return { decisions: decisionTime.decisionCount ?? 0, minutes: Math.round((decisionTime.reviewDurationMs ?? 0) / 60_000) };\n}\n\nexport const AppPage_ModelCostBreakdownSettings: React.FC<{ readonly scope: ModelCostBreakdownScope }> = ({ scope }) => {\n const { tComponent, isReady, formatNumber } = useI18n({ component: COMPONENT });\n const t = useCallback((key: string, params?: Record<string, string | number>) => tComponent(COMPONENT, key, params), [tComponent]);\n const { currentOrganizationId } = useUserOrgs();\n /** The representing organization the summary is asked for; `undefined` for the application's own view. */\n const representingOrganizationId = scope === ModelCostBreakdownScope.REPRESENTING_ORGANIZATION ? currentOrganizationId ?? undefined : undefined;\n const awaitsOrganization = scope === ModelCostBreakdownScope.REPRESENTING_ORGANIZATION && !representingOrganizationId;\n\n const [grouping, setGrouping] = useState<ModelCostGroupBy>(ModelCostGroupBy.CASE);\n const [windowDays, setWindowDays] = useState<ModelCostBreakdownWindow>(ModelCostBreakdownWindow.LAST_30_DAYS);\n /** The last answer, with the window it was asked for: a summary only answers for the grouping AND window it was read for. */\n const [held, setHeld] = useState<{ readonly summary: ModelCostSummary; readonly windowDays: ModelCostBreakdownWindow; readonly organizationId: string | undefined } | null>(null);\n const [loading, setLoading] = useState(true);\n const [failure, setFailure] = useState<ModelCostBreakdownFailure | null>(null);\n\n useEffect(() => {\n // A representing organization's view with no organization selected: nothing to ask for, and the panel says so.\n if (awaitsOrganization) {\n setFailure(null);\n setLoading(false);\n return;\n }\n let cancelled = false;\n const to = new Date();\n const from = new Date(to.getTime() - windowDays * 24 * 60 * 60_000);\n setLoading(true);\n setFailure(null);\n getManualCallsHttpClient()\n .summarizeModelCost({ from: from.toISOString(), to: to.toISOString(), groupBy: grouping, ...(representingOrganizationId ? { organizationId: representingOrganizationId } : {}) })\n .then((result) => { if (!cancelled) setHeld({ summary: result, windowDays, organizationId: representingOrganizationId }); })\n .catch((caught: unknown) => {\n if (cancelled) return;\n // The panel says it failed whatever the cause, so it never sits on \"loading\". A missing access window is a step\n // the reader can take, named in the panel; any other backend error is then rethrown for the application's error\n // surfacing.\n if (isWildoBackendError(caught) && caught.customMessageReference === ErrorCustomMessageReference.AUTHORIZATIONS_APPLICATION_ACCESS_GRANT_REQUIRED) {\n setFailure(ModelCostBreakdownFailure.ACCESS_GRANT_REQUIRED);\n return;\n }\n setFailure(ModelCostBreakdownFailure.GENERIC);\n if (isWildoBackendError(caught)) throw caught;\n })\n .finally(() => { if (!cancelled) setLoading(false); });\n return () => { cancelled = true; };\n }, [grouping, windowDays, representingOrganizationId, awaitsOrganization]);\n\n // A regroup or a new window keeps the previous answer until the new one arrives: that is loading, not \"no calls\", and\n // the previous figures are not shown under the newly chosen tab or window (#2528 review L5).\n // A summary answers for the organization it was read for too: a switch of organization shows loading, not the last one's.\n const summary = held && held.windowDays === windowDays && held.summary.groupBy === grouping && held.organizationId === representingOrganizationId ? held.summary : null;\n const groups = useMemo(() => summary?.groups ?? [], [summary]);\n const awaiting = loading || summary === null;\n\n if (!isReady) return null;\n\n const costOf = (group: ModelCostSummaryGroup): string => {\n const amounts = group.totals.flatMap((total) => {\n const amount = formatModelCostMinorUnits(total.costMinor, total.currency, formatNumber);\n return amount === undefined ? [] : [amount];\n });\n return amounts.length > 0 ? amounts.join(', ') : t('noPricedCost');\n };\n const tokensOf = (group: ModelCostSummaryGroup): number => group.totals.reduce((sum, total) => sum + total.totalTokens, 0);\n\n return (\n <div className=\"flex flex-col gap-section\">\n <h3 className=\"text-base font-semibold tracking-tight\">{t(scope === ModelCostBreakdownScope.REPRESENTING_ORGANIZATION ? 'representingPageTitle' : 'pageTitle')}</h3>\n <Text className=\"text-sm text-muted-foreground\">{t(scope === ModelCostBreakdownScope.REPRESENTING_ORGANIZATION ? 'representingPageDescription' : 'pageDescription')}</Text>\n\n <div className=\"flex flex-wrap items-center justify-between gap-section\">\n <Tabs value={grouping} onValueChange={(value) => setGrouping(value as ModelCostGroupBy)}>\n <TabsList>\n {GROUPINGS.map((value) => (\n <TabsTrigger key={value} value={value} data-ref={value}>{t(groupingLabelKey(value))}</TabsTrigger>\n ))}\n </TabsList>\n </Tabs>\n <div className=\"flex gap-element\" role=\"group\" aria-label={t('windowLabel')}>\n {WINDOWS.map((value) => (\n <Button\n key={value}\n size={ButtonSize.SM}\n variant={value === windowDays ? ButtonVariants_Variant.DEFAULT : ButtonVariants_Variant.OUTLINE}\n aria-pressed={value === windowDays}\n onClick={() => setWindowDays(value)}\n >\n {t(windowLabelKey(value))}\n </Button>\n ))}\n </div>\n </div>\n\n {awaitsOrganization ? (\n <Text className=\"text-sm text-muted-foreground\">{t('noOrganization')}</Text>\n ) : failure ? (\n <Alert variant={failure === ModelCostBreakdownFailure.ACCESS_GRANT_REQUIRED ? 'default' : 'destructive'}>\n <AlertDescription>{t(failureLabelKey(failure))}</AlertDescription>\n </Alert>\n ) : (\n <Card>\n <CardContent className=\"flex flex-col gap-element p-card\">\n {awaiting && groups.length === 0 ? (\n <Text className=\"text-sm text-muted-foreground\">{t('loading')}</Text>\n ) : groups.length === 0 ? (\n <Text className=\"text-sm text-muted-foreground\">{t('empty')}</Text>\n ) : (\n <Table>\n <TableHeader>\n <TableRow>\n <TableHead>{t(groupingLabelKey(grouping))}</TableHead>\n <TableHead>{t('columnCost')}</TableHead>\n <TableHead>{t('columnCalls')}</TableHead>\n <TableHead>{t('columnUnpriced')}</TableHead>\n <TableHead>{t('columnTokens')}</TableHead>\n <TableHead>{t('columnClassifierCalls')}</TableHead>\n <TableHead>{t('columnDocumentExtractionCalls')}</TableHead>\n <TableHead>{t('columnPersonalDataWithheld')}</TableHead>\n {grouping === ModelCostGroupBy.CASE ? <TableHead>{t('columnDecisionTime')}</TableHead> : null}\n </TableRow>\n </TableHeader>\n <TableBody>\n {groups.map((group, index) => {\n const key = modelCostGroupKey(group, grouping);\n return (\n <TableRow key={key ?? `unattributed-${index}`} data-model-cost-group={key ?? 'unattributed'}>\n <TableCell className={key ? 'font-mono' : 'text-muted-foreground'}>{key ?? t('unattributed')}</TableCell>\n <TableCell className=\"tabular-nums\">{costOf(group)}</TableCell>\n <TableCell className=\"tabular-nums\">{formatNumber(group.callCount)}</TableCell>\n <TableCell className=\"tabular-nums\">{formatNumber(group.unpricedCallCount)}</TableCell>\n <TableCell className=\"tabular-nums\">{formatNumber(tokensOf(group))}</TableCell>\n <TableCell className=\"tabular-nums\">{formatNumber(group.classifierCallCount)}</TableCell>\n <TableCell className=\"tabular-nums\">{formatNumber(group.documentExtractionCallCount)}</TableCell>\n <TableCell className=\"tabular-nums\">{formatNumber(group.personalDataFieldsWithheld)}</TableCell>\n {grouping === ModelCostGroupBy.CASE ? (\n <TableCell>\n {group.decisionTime ? t(decisionTimeLabelKey(group.decisionTime.availability), decisionTimeParams(group.decisionTime)) : null}\n </TableCell>\n ) : null}\n </TableRow>\n );\n })}\n </TableBody>\n </Table>\n )}\n {summary && summary.unattributedCallCount > 0 ? (\n <Text className=\"text-xs text-muted-foreground\">{t('windowUnattributed', { count: summary.unattributedCallCount })}</Text>\n ) : null}\n {summary && summary.unpricedCallCount > 0 ? (\n <Text className=\"text-xs text-muted-foreground\">{t('windowUnpriced', { count: summary.unpricedCallCount })}</Text>\n ) : null}\n </CardContent>\n </Card>\n )}\n </div>\n );\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppPage_ModelCostBreakdownSettings.labels.d.ts","sourceRoot":"","sources":["../../../../../src/components/settings/AppPage_ModelCostBreakdownSettings.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAW7C,eAAO,MAAM,0CAA0C,EAAE,mBAAmB,EAgC3E,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { FrontendComponentType, LabelKind, registerComponentLabels, } from '@wildo-ai/presets-components-models';
|
|
2
|
+
// Companion-only label metadata for the model-cost breakdown panel (#2528): keys + kind + per-key purpose. Statically
|
|
3
|
+
// scanned by the dev companion to generate the `components.APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.*` bundle; NOT
|
|
4
|
+
// imported at runtime, so it never ships in the browser bundle. Keep in lock-step with the keys the component reads via
|
|
5
|
+
// `tComponent(APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS, ...)`.
|
|
6
|
+
//
|
|
7
|
+
// One grouping word per `ModelCostGroupBy` member, one window word per `ModelCostBreakdownWindow` member and one
|
|
8
|
+
// review-time sentence per `DecisionTimeAvailability` member, and one message per `ModelCostBreakdownFailure` member, as
|
|
9
|
+
// literal refs (the scan reads literals). The `representing*` refs are the representing organization's own view of the panel.
|
|
10
|
+
// `AppPage_ModelCostBreakdownSettings.test.tsx` holds the three totals.
|
|
11
|
+
export const AppLayoutsModelCostBreakdownSettingsLabels = [
|
|
12
|
+
{ ref: 'pageTitle', kind: LabelKind.HEADING, purpose: 'Heading of the panel showing what the application\'s calls to AI providers (model calls, content-safety checks, document text extractions) cost, broken down by case, organization, agent or model' },
|
|
13
|
+
{ ref: 'pageDescription', kind: LabelKind.DESCRIPTION, purpose: 'One sentence under the heading: the cost of the calls to AI providers in the chosen period, in money, per group; calls that could not be tied to a case or priced are counted apart so the totals are not mistaken for complete' },
|
|
14
|
+
{ ref: 'representingPageTitle', kind: LabelKind.HEADING, purpose: 'Heading of the panel showing what this organization\'s own calls to AI providers cost: the work its representatives and agents did in the organizations it works in through a relationship (for example the clients a service firm works for), and in its own organization' },
|
|
15
|
+
{ ref: 'representingPageDescription', kind: LabelKind.DESCRIPTION, purpose: 'One sentence under the heading: the cost of this organization\'s own calls to AI providers in the chosen period, in money, per group (per case, per organization it worked in, per agent or per model); calls that could not be priced are counted apart' },
|
|
16
|
+
{ ref: 'noOrganization', kind: LabelKind.EMPTY_STATE, purpose: 'Shown on an organization\'s own cost panel when no organization is selected, so there is no organization to show the cost of' },
|
|
17
|
+
{ ref: 'groupBy_CASE', kind: LabelKind.LABEL, purpose: 'Tab and column heading: the cost per case (the record the work was for, e.g. a matter, a ticket or a month-end close)' },
|
|
18
|
+
{ ref: 'groupBy_ORGANIZATION', kind: LabelKind.LABEL, purpose: 'Tab and column heading: the cost per organization the calls were made in (a customer organization, or an organization worked in through a relationship)' },
|
|
19
|
+
{ ref: 'groupBy_AGENT', kind: LabelKind.LABEL, purpose: 'Tab and column heading: the cost per AI agent' },
|
|
20
|
+
{ ref: 'groupBy_MODEL', kind: LabelKind.LABEL, purpose: 'Tab and column heading: the cost per AI model (its provider and model name)' },
|
|
21
|
+
{ ref: 'windowLabel', kind: LabelKind.LABEL, purpose: 'Accessible name of the group of buttons choosing the time window' },
|
|
22
|
+
{ ref: 'window_30', kind: LabelKind.BUTTON, purpose: 'Button: show the last 30 days' },
|
|
23
|
+
{ ref: 'window_90', kind: LabelKind.BUTTON, purpose: 'Button: show the last 90 days' },
|
|
24
|
+
{ ref: 'window_365', kind: LabelKind.BUTTON, purpose: 'Button: show the last 365 days' },
|
|
25
|
+
{ ref: 'columnCost', kind: LabelKind.LABEL, purpose: 'Column heading: what the group\'s calls to AI providers cost, in money (one amount per currency): its model calls, content-safety checks and document text extractions' },
|
|
26
|
+
{ ref: 'columnCalls', kind: LabelKind.LABEL, purpose: 'Column heading: how many model calls the group made' },
|
|
27
|
+
{ ref: 'columnUnpriced', kind: LabelKind.LABEL, purpose: 'Column heading: how many of the group\'s calls to AI providers (of any kind) have no price, so are not in the cost' },
|
|
28
|
+
{ ref: 'columnTokens', kind: LabelKind.LABEL, purpose: 'Column heading: how many tokens (units of text) the calls used in total' },
|
|
29
|
+
{ ref: 'columnClassifierCalls', kind: LabelKind.LABEL, purpose: 'Column heading: how many content-safety checks were made (screening what others wrote for instructions aimed at the assistant, checking replies for harmful content); they are not model calls and are not in the token count, but they are billed and their cost is in the cost column' },
|
|
30
|
+
{ ref: 'columnDocumentExtractionCalls', kind: LabelKind.LABEL, purpose: 'Column heading: how many documents had their text extracted (reading scanned or uploaded documents); they are not model calls and are not in the token count, but they are billed by the page and their cost is in the cost column' },
|
|
31
|
+
{ ref: 'columnPersonalDataWithheld', kind: LabelKind.LABEL, purpose: 'Column heading: how many personal fields the assistant was sent a placeholder for instead of the value, under the personal-data protection in force; a count, never the values' },
|
|
32
|
+
{ ref: 'columnDecisionTime', kind: LabelKind.LABEL, purpose: 'Column heading, per case: how much time reviewers spent deciding what the agents proposed for it (an estimate)' },
|
|
33
|
+
{ ref: 'decisionTime_JOINED', kind: LabelKind.MESSAGE, purpose: 'Review time of a case: how many decisions reviewers took on the agents\' proposals, and the minutes between each proposal being shown and decided (an estimate of review effort, not a timesheet)', params: [{ key: 'decisions', meaning: 'How many decisions reviewers took on the case', isCount: true }, { key: 'minutes', meaning: 'Total review minutes, rounded' }] },
|
|
34
|
+
{ ref: 'decisionTime_NOT_RECORDED', kind: LabelKind.MESSAGE, purpose: 'Shown instead of a review time for a case with no reviewer\'s decision recorded; it is unknown, which is not the same as zero' },
|
|
35
|
+
{ ref: 'noPricedCost', kind: LabelKind.MESSAGE, purpose: 'Shown in the cost column when none of the group\'s calls has a price' },
|
|
36
|
+
{ ref: 'unattributed', kind: LabelKind.LABEL, purpose: 'Shown for the group of calls that could not be tied to a case, organization, agent or model' },
|
|
37
|
+
{ ref: 'windowUnattributed', kind: LabelKind.MESSAGE, purpose: 'Line under the table: how many calls in the period were made outside any piece of work, so are in no case\'s cost', params: [{ key: 'count', meaning: 'How many calls', isCount: true }] },
|
|
38
|
+
{ ref: 'windowUnpriced', kind: LabelKind.MESSAGE, purpose: 'Line under the table: how many calls in the period have no price, so are in no cost', params: [{ key: 'count', meaning: 'How many calls', isCount: true }] },
|
|
39
|
+
{ ref: 'loading', kind: LabelKind.MESSAGE, purpose: 'Shown while the breakdown is being computed' },
|
|
40
|
+
{ ref: 'empty', kind: LabelKind.EMPTY_STATE, purpose: 'Shown when no model call was made in the period' },
|
|
41
|
+
{ ref: 'errorGeneric', kind: LabelKind.MESSAGE, purpose: 'Generic error shown when the breakdown could not be loaded' },
|
|
42
|
+
{ ref: 'errorAccessGrantRequired', kind: LabelKind.MESSAGE, purpose: 'Shown to an application administrator who asked for the cost per case where the organizations working through relationships are independent of the application\'s operator (for example independent firms serving their clients): per-case cost is each such organization\'s own data, such as a firm\'s margin, so reading it needs an access window that a second administrator approves (requested under Access grants); the totals per organization, agent and model need none' },
|
|
43
|
+
];
|
|
44
|
+
registerComponentLabels(FrontendComponentType.APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS, AppLayoutsModelCostBreakdownSettingsLabels);
|
|
45
|
+
//# sourceMappingURL=AppPage_ModelCostBreakdownSettings.labels.js.map
|