@opencx/widget-react 4.0.62 → 5.0.0-beta.1
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/Chart.impl-Cw-LLbMd.js +153 -0
- package/dist/Chart.impl-Cw-LLbMd.js.map +1 -0
- package/dist/Chart.impl-_h2MWB6m.cjs +2 -0
- package/dist/Chart.impl-_h2MWB6m.cjs.map +1 -0
- package/dist/index-CDQ8VXlE.js +11557 -0
- package/dist/index-CDQ8VXlE.js.map +1 -0
- package/dist/index-CTqMde4I.cjs +234 -0
- package/dist/index-CTqMde4I.cjs.map +1 -0
- package/dist/index.cjs +1 -50
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -3391
- package/dist/index.js.map +1 -1
- package/dist/package.json.d.ts +82 -0
- package/dist/src/WidgetImperativeHandler.d.ts +1 -0
- package/dist/src/WidgetImperativeHandler.d.ts.map +1 -1
- package/dist/src/WidgetPopoverContent.d.ts.map +1 -1
- package/dist/src/WidgetPopoverTrigger.d.ts.map +1 -1
- package/dist/src/__tests__/motion-contract.spec.d.ts +2 -0
- package/dist/src/__tests__/motion-contract.spec.d.ts.map +1 -0
- package/dist/src/__tests__/question-capabilities.spec.d.ts +2 -0
- package/dist/src/__tests__/question-capabilities.spec.d.ts.map +1 -0
- package/dist/src/companion/CompanionContent.d.ts +30 -0
- package/dist/src/companion/CompanionContent.d.ts.map +1 -0
- package/dist/src/companion/CompanionFaceIcon.d.ts +15 -0
- package/dist/src/companion/CompanionFaceIcon.d.ts.map +1 -0
- package/dist/src/companion/CompanionFrame.d.ts +19 -0
- package/dist/src/companion/CompanionFrame.d.ts.map +1 -0
- package/dist/src/companion/FrameIconButton.d.ts +15 -0
- package/dist/src/companion/FrameIconButton.d.ts.map +1 -0
- package/dist/src/companion/LayoutPicker.d.ts +7 -0
- package/dist/src/companion/LayoutPicker.d.ts.map +1 -0
- package/dist/src/companion/PanelControls.d.ts +15 -0
- package/dist/src/companion/PanelControls.d.ts.map +1 -0
- package/dist/src/companion/RestingPill.d.ts +14 -0
- package/dist/src/companion/RestingPill.d.ts.map +1 -0
- package/dist/src/companion/SidebarSubmenu.d.ts +21 -0
- package/dist/src/companion/SidebarSubmenu.d.ts.map +1 -0
- package/dist/src/companion/WidgetCompanion.d.ts +3 -0
- package/dist/src/companion/WidgetCompanion.d.ts.map +1 -0
- package/dist/src/companion/__tests__/app-frame.spec.d.ts +2 -0
- package/dist/src/companion/__tests__/app-frame.spec.d.ts.map +1 -0
- package/dist/src/companion/__tests__/companion-dismissal.spec.d.ts +2 -0
- package/dist/src/companion/__tests__/companion-dismissal.spec.d.ts.map +1 -0
- package/dist/src/companion/__tests__/companion-focus.spec.d.ts +2 -0
- package/dist/src/companion/__tests__/companion-focus.spec.d.ts.map +1 -0
- package/dist/src/companion/__tests__/companion-frame.spec.d.ts +2 -0
- package/dist/src/companion/__tests__/companion-frame.spec.d.ts.map +1 -0
- package/dist/src/companion/__tests__/companion-geometry.spec.d.ts +2 -0
- package/dist/src/companion/__tests__/companion-geometry.spec.d.ts.map +1 -0
- package/dist/src/companion/__tests__/companion-keyboard.spec.d.ts +2 -0
- package/dist/src/companion/__tests__/companion-keyboard.spec.d.ts.map +1 -0
- package/dist/src/companion/__tests__/host-scroll-lock.spec.d.ts +2 -0
- package/dist/src/companion/__tests__/host-scroll-lock.spec.d.ts.map +1 -0
- package/dist/src/companion/__tests__/layout-picker.spec.d.ts +2 -0
- package/dist/src/companion/__tests__/layout-picker.spec.d.ts.map +1 -0
- package/dist/src/companion/__tests__/message-styles.spec.d.ts +2 -0
- package/dist/src/companion/__tests__/message-styles.spec.d.ts.map +1 -0
- package/dist/src/companion/__tests__/use-companion-host-effects.spec.d.ts +2 -0
- package/dist/src/companion/__tests__/use-companion-host-effects.spec.d.ts.map +1 -0
- package/dist/src/companion/__tests__/use-companion-measurements.spec.d.ts +2 -0
- package/dist/src/companion/__tests__/use-companion-measurements.spec.d.ts.map +1 -0
- package/dist/src/companion/__tests__/use-host-portal.spec.d.ts +2 -0
- package/dist/src/companion/__tests__/use-host-portal.spec.d.ts.map +1 -0
- package/dist/src/companion/__tests__/use-persisted-pill-drag.spec.d.ts +2 -0
- package/dist/src/companion/__tests__/use-persisted-pill-drag.spec.d.ts.map +1 -0
- package/dist/src/companion/app-frame.d.ts +13 -0
- package/dist/src/companion/app-frame.d.ts.map +1 -0
- package/dist/src/companion/companion-dismissal.d.ts +21 -0
- package/dist/src/companion/companion-dismissal.d.ts.map +1 -0
- package/dist/src/companion/companion-geometry.d.ts +101 -0
- package/dist/src/companion/companion-geometry.d.ts.map +1 -0
- package/dist/src/companion/companion-keyboard.d.ts +43 -0
- package/dist/src/companion/companion-keyboard.d.ts.map +1 -0
- package/dist/src/companion/host-scroll-lock.d.ts +5 -0
- package/dist/src/companion/host-scroll-lock.d.ts.map +1 -0
- package/dist/src/companion/layout-glyphs.d.ts +14 -0
- package/dist/src/companion/layout-glyphs.d.ts.map +1 -0
- package/dist/src/companion/message-styles.d.ts +2 -0
- package/dist/src/companion/message-styles.d.ts.map +1 -0
- package/dist/src/companion/types.d.ts +3 -0
- package/dist/src/companion/types.d.ts.map +1 -0
- package/dist/src/companion/useCompanionHostEffects.d.ts +46 -0
- package/dist/src/companion/useCompanionHostEffects.d.ts.map +1 -0
- package/dist/src/companion/useCompanionMeasurements.d.ts +12 -0
- package/dist/src/companion/useCompanionMeasurements.d.ts.map +1 -0
- package/dist/src/companion/useHostPortal.d.ts +22 -0
- package/dist/src/companion/useHostPortal.d.ts.map +1 -0
- package/dist/src/companion/usePersistedPillDrag.d.ts +29 -0
- package/dist/src/companion/usePersistedPillDrag.d.ts.map +1 -0
- package/dist/src/components/AgentAvatar.d.ts.map +1 -1
- package/dist/src/components/AgentMessageGroup.d.ts +6 -1
- package/dist/src/components/AgentMessageGroup.d.ts.map +1 -1
- package/dist/src/components/ClarificationQuestions.d.ts +17 -0
- package/dist/src/components/ClarificationQuestions.d.ts.map +1 -0
- package/dist/src/components/Dialoger.d.ts.map +1 -1
- package/dist/src/components/FrameDocument.d.ts +31 -0
- package/dist/src/components/FrameDocument.d.ts.map +1 -0
- package/dist/src/components/GroupTimestamp.d.ts.map +1 -1
- package/dist/src/components/Header.d.ts +7 -0
- package/dist/src/components/Header.d.ts.map +1 -1
- package/dist/src/components/MessageActions.d.ts +21 -0
- package/dist/src/components/MessageActions.d.ts.map +1 -0
- package/dist/src/components/RichText.d.ts.map +1 -1
- package/dist/src/components/StepsGroup.d.ts +10 -0
- package/dist/src/components/StepsGroup.d.ts.map +1 -0
- package/dist/src/components/StreamingTurn.d.ts +33 -0
- package/dist/src/components/StreamingTurn.d.ts.map +1 -0
- package/dist/src/components/UserMessage.d.ts.map +1 -1
- package/dist/src/components/ZoomableImage.d.ts +1 -1
- package/dist/src/components/ZoomableImage.d.ts.map +1 -1
- package/dist/src/components/__tests__/clarification-questions.spec.d.ts +2 -0
- package/dist/src/components/__tests__/clarification-questions.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/dialoger-escape.spec.d.ts +2 -0
- package/dist/src/components/__tests__/dialoger-escape.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/header-title.spec.d.ts +2 -0
- package/dist/src/components/__tests__/header-title.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/message-actions.spec.d.ts +2 -0
- package/dist/src/components/__tests__/message-actions.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/rich-text-sanitize.spec.d.ts +2 -0
- package/dist/src/components/__tests__/rich-text-sanitize.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/steps-group-collapse.spec.d.ts +2 -0
- package/dist/src/components/__tests__/steps-group-collapse.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/steps-reasoning-markdown.spec.d.ts +2 -0
- package/dist/src/components/__tests__/steps-reasoning-markdown.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/steps-tool-io.spec.d.ts +2 -0
- package/dist/src/components/__tests__/steps-tool-io.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/streaming-turn-customization.spec.d.ts +2 -0
- package/dist/src/components/__tests__/streaming-turn-customization.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/streaming-turn-working.spec.d.ts +2 -0
- package/dist/src/components/__tests__/streaming-turn-working.spec.d.ts.map +1 -0
- package/dist/src/components/custom-components/AgentMessageDefaultComponent.d.ts.map +1 -1
- package/dist/src/components/custom-components/__tests__/agent-message-spec-history.spec.d.ts +2 -0
- package/dist/src/components/custom-components/__tests__/agent-message-spec-history.spec.d.ts.map +1 -0
- package/dist/src/components/lib/BrailleSpinner.d.ts +10 -0
- package/dist/src/components/lib/BrailleSpinner.d.ts.map +1 -0
- package/dist/src/components/lib/DynamicIcon.d.ts.map +1 -1
- package/dist/src/components/lib/MotionDiv.d.ts.map +1 -1
- package/dist/src/components/lib/MotionDiv__VerticalReveal.d.ts.map +1 -1
- package/dist/src/components/lib/badge.d.ts +1 -1
- package/dist/src/components/lib/button.d.ts +2 -2
- package/dist/src/components/lib/input.d.ts.map +1 -1
- package/dist/src/components/lib/tooltip.d.ts +18 -2
- package/dist/src/components/lib/tooltip.d.ts.map +1 -1
- package/dist/src/hooks/useCanHover.d.ts +8 -0
- package/dist/src/hooks/useCanHover.d.ts.map +1 -0
- package/dist/src/hooks/useTheme.d.ts +17 -2
- package/dist/src/hooks/useTheme.d.ts.map +1 -1
- package/dist/src/hooks/useTranslation.d.ts +3 -2
- package/dist/src/hooks/useTranslation.d.ts.map +1 -1
- package/dist/src/hooks/useTriggerLabel.d.ts +6 -0
- package/dist/src/hooks/useTriggerLabel.d.ts.map +1 -0
- package/dist/src/index.d.ts +12 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/json-render/Chart.d.ts +4 -0
- package/dist/src/json-render/Chart.d.ts.map +1 -0
- package/dist/src/json-render/Chart.impl.d.ts +4 -0
- package/dist/src/json-render/Chart.impl.d.ts.map +1 -0
- package/dist/src/json-render/JsonRenderErrorBoundary.d.ts +27 -0
- package/dist/src/json-render/JsonRenderErrorBoundary.d.ts.map +1 -0
- package/dist/src/json-render/SpecRenderer.d.ts +28 -0
- package/dist/src/json-render/SpecRenderer.d.ts.map +1 -0
- package/dist/src/json-render/__tests__/catalog.spec.d.ts +2 -0
- package/dist/src/json-render/__tests__/catalog.spec.d.ts.map +1 -0
- package/dist/src/json-render/__tests__/chart.spec.d.ts +2 -0
- package/dist/src/json-render/__tests__/chart.spec.d.ts.map +1 -0
- package/dist/src/json-render/__tests__/json-render-error-boundary.spec.d.ts +2 -0
- package/dist/src/json-render/__tests__/json-render-error-boundary.spec.d.ts.map +1 -0
- package/dist/src/json-render/__tests__/normalize-spec.spec.d.ts +2 -0
- package/dist/src/json-render/__tests__/normalize-spec.spec.d.ts.map +1 -0
- package/dist/src/json-render/__tests__/phone-agent-card.spec.d.ts +2 -0
- package/dist/src/json-render/__tests__/phone-agent-card.spec.d.ts.map +1 -0
- package/dist/src/json-render/__tests__/props.spec.d.ts +2 -0
- package/dist/src/json-render/__tests__/props.spec.d.ts.map +1 -0
- package/dist/src/json-render/__tests__/segment-content.spec.d.ts +2 -0
- package/dist/src/json-render/__tests__/segment-content.spec.d.ts.map +1 -0
- package/dist/src/json-render/__tests__/spec-renderer.spec.d.ts +2 -0
- package/dist/src/json-render/__tests__/spec-renderer.spec.d.ts.map +1 -0
- package/dist/src/json-render/catalog.d.ts +260 -0
- package/dist/src/json-render/catalog.d.ts.map +1 -0
- package/dist/src/json-render/host.d.ts +27 -0
- package/dist/src/json-render/host.d.ts.map +1 -0
- package/dist/src/json-render/index.d.ts +12 -0
- package/dist/src/json-render/index.d.ts.map +1 -0
- package/dist/src/json-render/normalize-spec.d.ts +22 -0
- package/dist/src/json-render/normalize-spec.d.ts.map +1 -0
- package/dist/src/json-render/props.d.ts +207 -0
- package/dist/src/json-render/props.d.ts.map +1 -0
- package/dist/src/json-render/registry.d.ts +5 -0
- package/dist/src/json-render/registry.d.ts.map +1 -0
- package/dist/src/json-render/segment-content.d.ts +25 -0
- package/dist/src/json-render/segment-content.d.ts.map +1 -0
- package/dist/src/json-render/ui-prompt.d.ts +22 -0
- package/dist/src/json-render/ui-prompt.d.ts.map +1 -0
- package/dist/src/motion.d.ts +55 -0
- package/dist/src/motion.d.ts.map +1 -0
- package/dist/src/page-context/PageContextPill.d.ts +17 -0
- package/dist/src/page-context/PageContextPill.d.ts.map +1 -0
- package/dist/src/page-context/usePageEntity.d.ts +15 -0
- package/dist/src/page-context/usePageEntity.d.ts.map +1 -0
- package/dist/src/page-marks/MarkThumbnail.d.ts +19 -0
- package/dist/src/page-marks/MarkThumbnail.d.ts.map +1 -0
- package/dist/src/page-marks/PageMarkOverlay.d.ts +23 -0
- package/dist/src/page-marks/PageMarkOverlay.d.ts.map +1 -0
- package/dist/src/page-marks/PageMarkPill.d.ts +16 -0
- package/dist/src/page-marks/PageMarkPill.d.ts.map +1 -0
- package/dist/src/page-marks/PageMarksProvider.d.ts +21 -0
- package/dist/src/page-marks/PageMarksProvider.d.ts.map +1 -0
- package/dist/src/page-marks/SentMarkChip.d.ts +15 -0
- package/dist/src/page-marks/SentMarkChip.d.ts.map +1 -0
- package/dist/src/page-marks/__tests__/agent-mark.spec.d.ts +2 -0
- package/dist/src/page-marks/__tests__/agent-mark.spec.d.ts.map +1 -0
- package/dist/src/page-marks/__tests__/mark-snapshot-upload.spec.d.ts +2 -0
- package/dist/src/page-marks/__tests__/mark-snapshot-upload.spec.d.ts.map +1 -0
- package/dist/src/page-marks/__tests__/page-element-name.spec.d.ts +2 -0
- package/dist/src/page-marks/__tests__/page-element-name.spec.d.ts.map +1 -0
- package/dist/src/page-marks/__tests__/page-element.spec.d.ts +2 -0
- package/dist/src/page-marks/__tests__/page-element.spec.d.ts.map +1 -0
- package/dist/src/page-marks/__tests__/page-mark-pill.spec.d.ts +2 -0
- package/dist/src/page-marks/__tests__/page-mark-pill.spec.d.ts.map +1 -0
- package/dist/src/page-marks/__tests__/page-mark-theme.spec.d.ts +2 -0
- package/dist/src/page-marks/__tests__/page-mark-theme.spec.d.ts.map +1 -0
- package/dist/src/page-marks/__tests__/page-mark-tile.spec.d.ts +2 -0
- package/dist/src/page-marks/__tests__/page-mark-tile.spec.d.ts.map +1 -0
- package/dist/src/page-marks/__tests__/page-marks-provider.spec.d.ts +2 -0
- package/dist/src/page-marks/__tests__/page-marks-provider.spec.d.ts.map +1 -0
- package/dist/src/page-marks/__tests__/picked-elements.spec.d.ts +2 -0
- package/dist/src/page-marks/__tests__/picked-elements.spec.d.ts.map +1 -0
- package/dist/src/page-marks/__tests__/sent-mark-chip.spec.d.ts +2 -0
- package/dist/src/page-marks/__tests__/sent-mark-chip.spec.d.ts.map +1 -0
- package/dist/src/page-marks/__tests__/use-page-marking.spec.d.ts +2 -0
- package/dist/src/page-marks/__tests__/use-page-marking.spec.d.ts.map +1 -0
- package/dist/src/page-marks/agent-mark.d.ts +37 -0
- package/dist/src/page-marks/agent-mark.d.ts.map +1 -0
- package/dist/src/page-marks/mark-thumbnail.d.ts +25 -0
- package/dist/src/page-marks/mark-thumbnail.d.ts.map +1 -0
- package/dist/src/page-marks/page-element.d.ts +89 -0
- package/dist/src/page-marks/page-element.d.ts.map +1 -0
- package/dist/src/page-marks/page-mark-theme.d.ts +30 -0
- package/dist/src/page-marks/page-mark-theme.d.ts.map +1 -0
- package/dist/src/page-marks/page-mark.d.ts +103 -0
- package/dist/src/page-marks/page-mark.d.ts.map +1 -0
- package/dist/src/page-marks/useMarkThumbnail.d.ts +8 -0
- package/dist/src/page-marks/useMarkThumbnail.d.ts.map +1 -0
- package/dist/src/page-marks/usePageMarking.d.ts +53 -0
- package/dist/src/page-marks/usePageMarking.d.ts.map +1 -0
- package/dist/src/screens/chat/ChatCanvas.d.ts.map +1 -1
- package/dist/src/screens/chat/ChatFooter.d.ts.map +1 -1
- package/dist/src/screens/chat/ChatFooterItems.d.ts.map +1 -1
- package/dist/src/screens/chat/ChatInput.d.ts +27 -0
- package/dist/src/screens/chat/ChatInput.d.ts.map +1 -0
- package/dist/src/screens/chat/ChatMain.d.ts.map +1 -1
- package/dist/src/screens/chat/DictationMicButton.d.ts +18 -0
- package/dist/src/screens/chat/DictationMicButton.d.ts.map +1 -0
- package/dist/src/screens/chat/InitialMessages.d.ts +7 -1
- package/dist/src/screens/chat/InitialMessages.d.ts.map +1 -1
- package/dist/src/screens/chat/MentionPicker.d.ts +39 -0
- package/dist/src/screens/chat/MentionPicker.d.ts.map +1 -0
- package/dist/src/screens/chat/MentionText.d.ts +16 -0
- package/dist/src/screens/chat/MentionText.d.ts.map +1 -0
- package/dist/src/screens/chat/MessageGroups.d.ts +12 -0
- package/dist/src/screens/chat/MessageGroups.d.ts.map +1 -0
- package/dist/src/screens/chat/UploadPreview.d.ts +23 -0
- package/dist/src/screens/chat/UploadPreview.d.ts.map +1 -0
- package/dist/src/screens/chat/__tests__/chat-input-clarification.spec.d.ts +2 -0
- package/dist/src/screens/chat/__tests__/chat-input-clarification.spec.d.ts.map +1 -0
- package/dist/src/screens/chat/__tests__/chatInput.spec.d.ts +2 -0
- package/dist/src/screens/chat/__tests__/chatInput.spec.d.ts.map +1 -0
- package/dist/src/screens/chat/__tests__/use-mentions.spec.d.ts +2 -0
- package/dist/src/screens/chat/__tests__/use-mentions.spec.d.ts.map +1 -0
- package/dist/src/screens/chat/__tests__/useSentTextRecall.spec.d.ts +2 -0
- package/dist/src/screens/chat/__tests__/useSentTextRecall.spec.d.ts.map +1 -0
- package/dist/src/screens/chat/agent/AgentChatMain.d.ts +16 -0
- package/dist/src/screens/chat/agent/AgentChatMain.d.ts.map +1 -0
- package/dist/src/screens/chat/agent/AgentChatPageEffects.d.ts +9 -0
- package/dist/src/screens/chat/agent/AgentChatPageEffects.d.ts.map +1 -0
- package/dist/src/screens/chat/agent/QueuedSendsPill.d.ts +18 -0
- package/dist/src/screens/chat/agent/QueuedSendsPill.d.ts.map +1 -0
- package/dist/src/screens/chat/agent/__tests__/agent-chat-main.promotion.spec.d.ts +2 -0
- package/dist/src/screens/chat/agent/__tests__/agent-chat-main.promotion.spec.d.ts.map +1 -0
- package/dist/src/screens/chat/agent/__tests__/agent-chat-page-effects.spec.d.ts +2 -0
- package/dist/src/screens/chat/agent/__tests__/agent-chat-page-effects.spec.d.ts.map +1 -0
- package/dist/src/screens/chat/agent/__tests__/scroll-follow.utils.spec.d.ts +2 -0
- package/dist/src/screens/chat/agent/__tests__/scroll-follow.utils.spec.d.ts.map +1 -0
- package/dist/src/screens/chat/agent/__tests__/useStreamFollow.spec.d.ts +2 -0
- package/dist/src/screens/chat/agent/__tests__/useStreamFollow.spec.d.ts.map +1 -0
- package/dist/src/screens/chat/agent/scroll-follow.utils.d.ts +17 -0
- package/dist/src/screens/chat/agent/scroll-follow.utils.d.ts.map +1 -0
- package/dist/src/screens/chat/agent/useStreamFollow.d.ts +23 -0
- package/dist/src/screens/chat/agent/useStreamFollow.d.ts.map +1 -0
- package/dist/src/screens/chat/caret-position.d.ts +19 -0
- package/dist/src/screens/chat/caret-position.d.ts.map +1 -0
- package/dist/src/screens/chat/composer-styles.d.ts +21 -0
- package/dist/src/screens/chat/composer-styles.d.ts.map +1 -0
- package/dist/src/screens/chat/index.d.ts.map +1 -1
- package/dist/src/screens/chat/useMentions.d.ts +60 -0
- package/dist/src/screens/chat/useMentions.d.ts.map +1 -0
- package/dist/src/screens/chat/usePageMarkComposer.d.ts +25 -0
- package/dist/src/screens/chat/usePageMarkComposer.d.ts.map +1 -0
- package/dist/src/screens/chat/useSentTextRecall.d.ts +29 -0
- package/dist/src/screens/chat/useSentTextRecall.d.ts.map +1 -0
- package/dist/src/screens/sessions/index.d.ts.map +1 -1
- package/dist/src/utils/__tests__/keybindings.spec.d.ts +2 -0
- package/dist/src/utils/__tests__/keybindings.spec.d.ts.map +1 -0
- package/dist/src/utils/__tests__/strip-citation-refs.spec.d.ts +2 -0
- package/dist/src/utils/__tests__/strip-citation-refs.spec.d.ts.map +1 -0
- package/dist/src/utils/__tests__/strip-inline-markdown.spec.d.ts +2 -0
- package/dist/src/utils/__tests__/strip-inline-markdown.spec.d.ts.map +1 -0
- package/dist/src/utils/group-messages-by-type.d.ts +1 -2
- package/dist/src/utils/group-messages-by-type.d.ts.map +1 -1
- package/dist/src/utils/keybindings.d.ts +24 -0
- package/dist/src/utils/keybindings.d.ts.map +1 -0
- package/dist/src/utils/render-custom-trigger.d.ts +11 -0
- package/dist/src/utils/render-custom-trigger.d.ts.map +1 -0
- package/dist/src/utils/strip-citation-refs.d.ts +10 -0
- package/dist/src/utils/strip-citation-refs.d.ts.map +1 -0
- package/dist/src/utils/strip-inline-markdown.d.ts +14 -0
- package/dist/src/utils/strip-inline-markdown.d.ts.map +1 -0
- package/package.json +16 -6
- package/dist/src/components/lib/dropdown-menu.d.ts +0 -28
- package/dist/src/components/lib/dropdown-menu.d.ts.map +0 -1
- package/dist/src/components/lib/popover.d.ts +0 -9
- package/dist/src/components/lib/popover.d.ts.map +0 -1
- package/dist/src/components/lib/switch.d.ts +0 -5
- package/dist/src/components/lib/switch.d.ts.map +0 -1
- package/dist/src/screens/chat/AdvancedInitialMessages.d.ts +0 -3
- package/dist/src/screens/chat/AdvancedInitialMessages.d.ts.map +0 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Spec } from '@json-render/core';
|
|
2
|
+
/**
|
|
3
|
+
* Recover List rows the model parked behind a `repeat`.
|
|
4
|
+
*
|
|
5
|
+
* The slim widget prompt documents no `repeat` directive, but models that know
|
|
6
|
+
* the full json-render contract sometimes invent one anyway (bind a container's
|
|
7
|
+
* children to a `/state` array) and apply it to a `List` — a leaf that renders
|
|
8
|
+
* `props.items` and ignores `children` — producing
|
|
9
|
+
* `{ type: 'List', props: { items: [] }, repeat: { statePath } }` with the real
|
|
10
|
+
* rows sitting in `state`. That renders an invisible empty list.
|
|
11
|
+
*
|
|
12
|
+
* This detects a `List` with empty `items` + a `repeat`, resolves the state
|
|
13
|
+
* array, inlines it into `props.items`, and drops the `repeat`. Scoped to `List`
|
|
14
|
+
* on purpose: List items are 1:1 with state objects (lossless to inline). Table
|
|
15
|
+
* rows are positional `string[]` (can't inline) and an empty Table already shows
|
|
16
|
+
* a visible empty state, so it's not a silent failure there.
|
|
17
|
+
*
|
|
18
|
+
* Returns the SAME spec reference when nothing changed, to keep React identity
|
|
19
|
+
* stable across streaming re-renders.
|
|
20
|
+
*/
|
|
21
|
+
export declare function inlineRepeatLeaves(spec: Spec): Spec;
|
|
22
|
+
//# sourceMappingURL=normalize-spec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize-spec.d.ts","sourceRoot":"","sources":["../../../src/json-render/normalize-spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,IAAI,EAAkB,MAAM,mBAAmB,CAAC;AAGzE;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAanD"}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Runtime prop schemas for every json-render component the widget agent can
|
|
4
|
+
* emit, plus a defensive parser. These are the single source of truth: the
|
|
5
|
+
* catalog (`catalog.ts`) feeds them to the model prompt, and the registry
|
|
6
|
+
* (`registry.tsx`) parses streamed props through them before rendering.
|
|
7
|
+
*
|
|
8
|
+
* Optional props use `.nullish()` (null OR absent) rather than `.optional()` so
|
|
9
|
+
* a prop the model omits — or hasn't finished streaming — never fails the parse.
|
|
10
|
+
* Required props that ARE malformed fall back to a typed default (see
|
|
11
|
+
* `parseProps`), so a bad prop degrades one component to a safe empty state
|
|
12
|
+
* instead of throwing and tearing down the whole spec.
|
|
13
|
+
*/
|
|
14
|
+
export declare const cardPropsSchema: z.ZodObject<{
|
|
15
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
export declare const stackPropsSchema: z.ZodObject<{
|
|
19
|
+
direction: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
20
|
+
row: "row";
|
|
21
|
+
column: "column";
|
|
22
|
+
}>>>;
|
|
23
|
+
gap: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
24
|
+
sm: "sm";
|
|
25
|
+
md: "md";
|
|
26
|
+
lg: "lg";
|
|
27
|
+
}>>>;
|
|
28
|
+
align: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
29
|
+
center: "center";
|
|
30
|
+
start: "start";
|
|
31
|
+
end: "end";
|
|
32
|
+
stretch: "stretch";
|
|
33
|
+
}>>>;
|
|
34
|
+
justify: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
35
|
+
center: "center";
|
|
36
|
+
start: "start";
|
|
37
|
+
end: "end";
|
|
38
|
+
between: "between";
|
|
39
|
+
}>>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export declare const gridPropsSchema: z.ZodObject<{
|
|
42
|
+
columns: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>>;
|
|
43
|
+
gap: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
44
|
+
sm: "sm";
|
|
45
|
+
md: "md";
|
|
46
|
+
lg: "lg";
|
|
47
|
+
}>>>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
export declare const headingPropsSchema: z.ZodObject<{
|
|
50
|
+
text: z.ZodString;
|
|
51
|
+
level: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
export declare const textPropsSchema: z.ZodObject<{
|
|
54
|
+
text: z.ZodString;
|
|
55
|
+
variant: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
56
|
+
body: "body";
|
|
57
|
+
caption: "caption";
|
|
58
|
+
code: "code";
|
|
59
|
+
muted: "muted";
|
|
60
|
+
}>>>;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
export declare const badgePropsSchema: z.ZodObject<{
|
|
63
|
+
text: z.ZodString;
|
|
64
|
+
variant: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
65
|
+
success: "success";
|
|
66
|
+
default: "default";
|
|
67
|
+
secondary: "secondary";
|
|
68
|
+
warning: "warning";
|
|
69
|
+
destructive: "destructive";
|
|
70
|
+
}>>>;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
export declare const listItemSchema: z.ZodObject<{
|
|
73
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
+
label: z.ZodString;
|
|
75
|
+
secondary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
+
badge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
78
|
+
success: "success";
|
|
79
|
+
warning: "warning";
|
|
80
|
+
error: "error";
|
|
81
|
+
info: "info";
|
|
82
|
+
neutral: "neutral";
|
|
83
|
+
}>>>;
|
|
84
|
+
href: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
85
|
+
}, z.core.$strip>;
|
|
86
|
+
export declare const listPropsSchema: z.ZodObject<{
|
|
87
|
+
items: z.ZodArray<z.ZodObject<{
|
|
88
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
+
label: z.ZodString;
|
|
90
|
+
secondary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
badge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
93
|
+
success: "success";
|
|
94
|
+
warning: "warning";
|
|
95
|
+
error: "error";
|
|
96
|
+
info: "info";
|
|
97
|
+
neutral: "neutral";
|
|
98
|
+
}>>>;
|
|
99
|
+
href: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
100
|
+
}, z.core.$strip>>;
|
|
101
|
+
maxVisible: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
102
|
+
}, z.core.$strip>;
|
|
103
|
+
/**
|
|
104
|
+
* The List schema the CATALOG (and so the generated model prompt) sees. The
|
|
105
|
+
* `href` transform above is opaque to json-render's prompt printer, which
|
|
106
|
+
* renders it as a required `href: unknown` — so the prompt declares the plain
|
|
107
|
+
* `string?` shape the model should write, and the registry keeps parsing with
|
|
108
|
+
* the sanitizing schema.
|
|
109
|
+
*/
|
|
110
|
+
export declare const listPropsPromptSchema: z.ZodObject<{
|
|
111
|
+
items: z.ZodArray<z.ZodObject<{
|
|
112
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
113
|
+
label: z.ZodString;
|
|
114
|
+
secondary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
115
|
+
badge: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
117
|
+
success: "success";
|
|
118
|
+
warning: "warning";
|
|
119
|
+
error: "error";
|
|
120
|
+
info: "info";
|
|
121
|
+
neutral: "neutral";
|
|
122
|
+
}>>>;
|
|
123
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
124
|
+
}, z.core.$strip>>;
|
|
125
|
+
maxVisible: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
126
|
+
}, z.core.$strip>;
|
|
127
|
+
export declare const tablePropsSchema: z.ZodObject<{
|
|
128
|
+
columns: z.ZodArray<z.ZodString>;
|
|
129
|
+
rows: z.ZodArray<z.ZodArray<z.ZodString>>;
|
|
130
|
+
caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
131
|
+
}, z.core.$strip>;
|
|
132
|
+
/** Period-over-period change on a Metric (KPI delta). */
|
|
133
|
+
export declare const metricDeltaSchema: z.ZodObject<{
|
|
134
|
+
value: z.ZodString;
|
|
135
|
+
direction: z.ZodEnum<{
|
|
136
|
+
flat: "flat";
|
|
137
|
+
up: "up";
|
|
138
|
+
down: "down";
|
|
139
|
+
}>;
|
|
140
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
export declare const metricPropsSchema: z.ZodObject<{
|
|
143
|
+
label: z.ZodString;
|
|
144
|
+
value: z.ZodString;
|
|
145
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
146
|
+
trend: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
147
|
+
neutral: "neutral";
|
|
148
|
+
up: "up";
|
|
149
|
+
down: "down";
|
|
150
|
+
}>>>;
|
|
151
|
+
delta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
152
|
+
value: z.ZodString;
|
|
153
|
+
direction: z.ZodEnum<{
|
|
154
|
+
flat: "flat";
|
|
155
|
+
up: "up";
|
|
156
|
+
down: "down";
|
|
157
|
+
}>;
|
|
158
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
159
|
+
}, z.core.$strip>>>;
|
|
160
|
+
}, z.core.$strip>;
|
|
161
|
+
export declare const calloutPropsSchema: z.ZodObject<{
|
|
162
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
163
|
+
warning: "warning";
|
|
164
|
+
info: "info";
|
|
165
|
+
tip: "tip";
|
|
166
|
+
important: "important";
|
|
167
|
+
}>>>;
|
|
168
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
169
|
+
content: z.ZodString;
|
|
170
|
+
}, z.core.$strip>;
|
|
171
|
+
export declare const chartPropsSchema: z.ZodObject<{
|
|
172
|
+
type: z.ZodEnum<{
|
|
173
|
+
line: "line";
|
|
174
|
+
bar: "bar";
|
|
175
|
+
pie: "pie";
|
|
176
|
+
}>;
|
|
177
|
+
data: z.ZodArray<z.ZodObject<{
|
|
178
|
+
label: z.ZodString;
|
|
179
|
+
value: z.ZodNumber;
|
|
180
|
+
}, z.core.$strip>>;
|
|
181
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
182
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
183
|
+
centerLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
184
|
+
}, z.core.$strip>;
|
|
185
|
+
/**
|
|
186
|
+
* A phone agent the OpenCX companion just created or re-presented. The model
|
|
187
|
+
* never authors this itself — the `present_phone_agent` tool returns the whole
|
|
188
|
+
* spec, which the reply carries verbatim.
|
|
189
|
+
*/
|
|
190
|
+
export declare const phoneAgentCardPropsSchema: z.ZodObject<{
|
|
191
|
+
agentId: z.ZodString;
|
|
192
|
+
agentName: z.ZodString;
|
|
193
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
|
+
}, z.core.$strip>;
|
|
195
|
+
export type ListItem = z.infer<typeof listItemSchema>;
|
|
196
|
+
export type MetricDelta = z.infer<typeof metricDeltaSchema>;
|
|
197
|
+
export type ChartProps = z.infer<typeof chartPropsSchema>;
|
|
198
|
+
/**
|
|
199
|
+
* Parse streamed props against a schema, returning a typed `fallback` on
|
|
200
|
+
* failure instead of throwing. Failures are EXPECTED during streaming (a prop
|
|
201
|
+
* arrives half-formed, then completes on the next patch) and on the occasional
|
|
202
|
+
* model mistake — neither is an error worth surfacing, so we degrade quietly to
|
|
203
|
+
* the fallback and let the next patch re-render. This is the widget's first line
|
|
204
|
+
* of defense: one bad prop can never crash the whole spec render.
|
|
205
|
+
*/
|
|
206
|
+
export declare function parseProps<Schema extends z.ZodType>(schema: Schema, raw: unknown, fallback: z.output<Schema>): z.output<Schema>;
|
|
207
|
+
//# sourceMappingURL=props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/json-render/props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;GAWG;AAIH,eAAO,MAAM,eAAe;;;iBAG1B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;iBAK3B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;iBAK1B,CAAC;AAIH,eAAO,MAAM,kBAAkB;;;iBAK7B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;iBAG1B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;iBAK3B,CAAC;AAoCH,eAAO,MAAM,cAAc;;;;;;;;;;;;;iBAOzB,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;iBAI1B,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;iBAGhC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;iBAI3B,CAAC;AAEH,yDAAyD;AACzD,eAAO,MAAM,iBAAiB;;;;;;;;iBAO5B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;iBAM5B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;iBAI7B,CAAC;AAOH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;iBAO3B,CAAC;AAIH;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACtD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,MAAM,SAAS,CAAC,CAAC,OAAO,EACjD,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,OAAO,EACZ,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,GACzB,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAGlB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentRenderer } from '@json-render/react';
|
|
2
|
+
export declare const registry: import('@json-render/react').ComponentRegistry;
|
|
3
|
+
/** Rendered for any element whose `type` isn't in the registry. */
|
|
4
|
+
export declare const JsonRenderFallback: ComponentRenderer;
|
|
5
|
+
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/json-render/registry.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAkE5E,eAAO,MAAQ,QAAQ,gDAsOrB,CAAC;AAEH,mEAAmE;AACnE,eAAO,MAAM,kBAAkB,EAAE,iBAOhC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Spec } from '@json-render/core';
|
|
2
|
+
export type ContentSegment = {
|
|
3
|
+
type: 'markdown';
|
|
4
|
+
content: string;
|
|
5
|
+
} | {
|
|
6
|
+
type: 'ui';
|
|
7
|
+
spec: Spec;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Segment persisted AI output into markdown prose and compiled UI specs.
|
|
11
|
+
*
|
|
12
|
+
* The agent chat stream transforms ` ```spec ` fences into `data-spec` parts
|
|
13
|
+
* ONLY on the client-facing SSE — the persisted assistant text keeps the raw
|
|
14
|
+
* fence (persist raw, transform on serve). So the history path re-derives the
|
|
15
|
+
* spec from the stored text here.
|
|
16
|
+
*
|
|
17
|
+
* There is exactly ONE spec format: JSONL patch lines inside a ` ```spec `
|
|
18
|
+
* fence — what the prompt instructs the model to emit and what every tool
|
|
19
|
+
* that hands back a card emits. Everything else is markdown. A fence is consumed only after its patches compile to nonempty UI;
|
|
20
|
+
* malformed, unsupported, empty, and incomplete-only fences remain visible as
|
|
21
|
+
* their original fenced markdown. An unclosed fence (turn cut mid-stream)
|
|
22
|
+
* still compiles when enough valid patches arrived.
|
|
23
|
+
*/
|
|
24
|
+
export declare function segmentContent(text: string): ContentSegment[];
|
|
25
|
+
//# sourceMappingURL=segment-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"segment-content.d.ts","sourceRoot":"","sources":["../../../src/json-render/segment-content.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,IAAI,EACV,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,cAAc,GACtB;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACrC;IAAE,IAAI,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,IAAI,CAAA;CAAE,CAAC;AAE/B;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,EAAE,CAmF7D"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The inline-mode UI prompt for the widget catalog. The agent chat model needs
|
|
3
|
+
* this server-side so it emits ` ```spec ` JSONL the stream can transform; the
|
|
4
|
+
* catalog lives in this package because the renderer that consumes the spec is
|
|
5
|
+
* the widget's React registry. To avoid duplicating the catalog server-side,
|
|
6
|
+
* the resolved prompt is materialized into the opencx backend as a frozen
|
|
7
|
+
* string — run `pnpm -F @opencx/widget-react gen:ui-prompt` after changing the
|
|
8
|
+
* catalog and commit the regenerated
|
|
9
|
+
* `backend/src/agent-engine/ui-prompt.generated.ts`.
|
|
10
|
+
*
|
|
11
|
+
* DELIBERATELY SLIM — display-only contract, all data inline in props.
|
|
12
|
+
* The full `catalog.prompt({ mode: 'inline' })` output (~19KB: state model,
|
|
13
|
+
* repeat, events, watchers, visibility, dynamic props) made the chat model
|
|
14
|
+
* reason for 85s+ before its first token, blowing through the 180s agent chat
|
|
15
|
+
* turn ceiling (`ai_decided_to_not_reply`). None of that machinery applies to
|
|
16
|
+
* the widget's static components, so the prompt documents only: the patch
|
|
17
|
+
* format, the component catalog (extracted from the generated prompt so props
|
|
18
|
+
* and descriptions never drift), and the usage rules. Measured: ~2x faster
|
|
19
|
+
* turns, identical spec quality.
|
|
20
|
+
*/
|
|
21
|
+
export declare const widgetUiPrompt: string;
|
|
22
|
+
//# sourceMappingURL=ui-prompt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-prompt.d.ts","sourceRoot":"","sources":["../../../src/json-render/ui-prompt.ts"],"names":[],"mappings":"AA8BA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,cAAc,EAAE,MAmBU,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The widget's motion tokens (see MOTION.md) and the companion's shadow
|
|
3
|
+
* materials. Surfaces are theme tokens (palette / primaryColor via cssVars
|
|
4
|
+
* on the host shell) so embedder customizations apply to companion chrome
|
|
5
|
+
* exactly like popover; only the shadows live here. There is no frosted
|
|
6
|
+
* glass — a filter inside the iframe can only sample the iframe's own
|
|
7
|
+
* document, never the host page.
|
|
8
|
+
*
|
|
9
|
+
* Rings and rim highlights stay whisper-faint: bright white edges read as
|
|
10
|
+
* "weird white borders" on dark host pages.
|
|
11
|
+
*/
|
|
12
|
+
/** Strong ease-out for entering/exiting chrome (fades, veils, headers). */
|
|
13
|
+
export declare const EASE_OUT: readonly [0.23, 1, 0.32, 1];
|
|
14
|
+
/** The default enter: a 200ms fade on `EASE_OUT`. */
|
|
15
|
+
export declare const FADE_TRANSITION: {
|
|
16
|
+
readonly duration: 0.2;
|
|
17
|
+
readonly ease: readonly [0.23, 1, 0.32, 1];
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* The 150ms micro-feedback tween: exits (50ms snappier than the enter, a
|
|
21
|
+
* sanctioned asymmetry), reduced-motion stand-ins for the morph spring, and
|
|
22
|
+
* the pill settling after a drag.
|
|
23
|
+
*/
|
|
24
|
+
export declare const QUICK_TWEEN: {
|
|
25
|
+
readonly duration: 0.15;
|
|
26
|
+
readonly ease: readonly [0.23, 1, 0.32, 1];
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The shared morph spring: near-critically damped (ratio ≈ 1.0 at stiffness
|
|
30
|
+
* 500 / mass 1), so the morph stays snappy but never overshoots. An
|
|
31
|
+
* underdamped spring (damping 40 → ratio 0.89) made the companion input bar's
|
|
32
|
+
* height bounce every time it settled — reads as jitter on a text composer,
|
|
33
|
+
* which should feel crisp, not springy. The popover open/close rides the same
|
|
34
|
+
* curve so both shells share one motion signature.
|
|
35
|
+
*/
|
|
36
|
+
export declare const MORPH_SPRING: {
|
|
37
|
+
readonly type: "spring";
|
|
38
|
+
readonly stiffness: 500;
|
|
39
|
+
readonly damping: 45;
|
|
40
|
+
readonly mass: 1;
|
|
41
|
+
};
|
|
42
|
+
export declare const APP_FRAME_EASE_CSS: string;
|
|
43
|
+
/**
|
|
44
|
+
* The shell spring-interpolates between these shadows during the morph, and
|
|
45
|
+
* complex values only interpolate when their structure matches — a mismatched
|
|
46
|
+
* shadow count or length count makes the whole shadow snap mid-morph instead.
|
|
47
|
+
* So every constant fills the same four slots (large soft, small soft, ring,
|
|
48
|
+
* inset top highlight), all with explicit spread, padding unused slots with
|
|
49
|
+
* transparent zero-size entries (same trick as app-frame's transparent ring).
|
|
50
|
+
*/
|
|
51
|
+
export declare const PILL_SHADOW = "0 2px 12px 0 rgba(0,0,0,0.18), 0 1px 4px 0 rgba(0,0,0,0), 0 0 0 1px rgba(255,255,255,0.08), inset 0 1px 0 0 rgba(255,255,255,0)";
|
|
52
|
+
export declare const DOCK_SHADOW = "0 8px 28px 0 rgba(0,0,0,0.10), 0 1px 4px 0 rgba(0,0,0,0), 0 0 0 1px rgba(0,0,0,0.05), inset 0 1px 0 0 rgba(255,255,255,0.5)";
|
|
53
|
+
export declare const INPUT_SHADOW = "0 12px 40px 0 rgba(0,0,0,0.12), 0 2px 8px 0 rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.05), inset 0 1px 0 0 rgba(255,255,255,0.5)";
|
|
54
|
+
export declare const CHAT_SHADOW = "0 24px 48px -16px rgba(0,0,0,0.18), 0 4px 16px 0 rgba(0,0,0,0.05), 0 0 0 1px rgba(0,0,0,0.05), inset 0 1px 0 0 rgba(255,255,255,0.5)";
|
|
55
|
+
//# sourceMappingURL=motion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../src/motion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,2EAA2E;AAC3E,eAAO,MAAM,QAAQ,6BAA8B,CAAC;AAEpD,qDAAqD;AACrD,eAAO,MAAM,eAAe;;;CAA6C,CAAC;AAE1E;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;CAA8C,CAAC;AAEvE;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AAUX,eAAO,MAAM,kBAAkB,QAA+C,CAAC;AAE/E;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,oIAC2G,CAAC;AAEpI,eAAO,MAAM,WAAW,gIACuG,CAAC;AAEhI,eAAO,MAAM,YAAY,oIAC0G,CAAC;AAEpI,eAAO,MAAM,WAAW,yIACgH,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PageEntity } from './usePageEntity';
|
|
3
|
+
/**
|
|
4
|
+
* The composer's page-context pill: the one thing on the host page the
|
|
5
|
+
* visitor is looking at (Linear-style), so they can see what "this" will
|
|
6
|
+
* mean to the agent before they send. Removable for a message that is not
|
|
7
|
+
* about it.
|
|
8
|
+
*
|
|
9
|
+
* Flat, with no surface of its own: it sits in the composer's attached-context
|
|
10
|
+
* tray, and the tray is already a surface. Marks are not here — they are
|
|
11
|
+
* pictures, so they preview with the files.
|
|
12
|
+
*/
|
|
13
|
+
export declare function PageContextPill({ entity, onRemove, }: {
|
|
14
|
+
entity: PageEntity;
|
|
15
|
+
onRemove: () => void;
|
|
16
|
+
}): React.JSX.Element;
|
|
17
|
+
//# sourceMappingURL=PageContextPill.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageContextPill.d.ts","sourceRoot":"","sources":["../../../src/page-context/PageContextPill.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,QAAQ,GACT,EAAE;IACD,MAAM,EAAE,UAAU,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,qBAwBA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WidgetPageContext } from '@opencx/widget-core';
|
|
2
|
+
export type PageEntity = NonNullable<WidgetPageContext['entity']>;
|
|
3
|
+
/**
|
|
4
|
+
* The entity the host says the visitor is looking at, read the same way the
|
|
5
|
+
* send reads it (`resolveConfigContext`, so a function-form `context` is
|
|
6
|
+
* live). Null when the host set none or set something malformed — the pill
|
|
7
|
+
* simply does not show, and the send still carries whatever the host sent.
|
|
8
|
+
* Also null when page context is off for this embed (org feature narrowed
|
|
9
|
+
* by `config.features.pageContext`): the agent will not read the page, so
|
|
10
|
+
* the pill must not promise it. Re-read when the host navigates, so a
|
|
11
|
+
* function-form `context` that follows the route is reflected in the pill
|
|
12
|
+
* without a reload.
|
|
13
|
+
*/
|
|
14
|
+
export declare function usePageEntity(): PageEntity | null;
|
|
15
|
+
//# sourceMappingURL=usePageEntity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePageEntity.d.ts","sourceRoot":"","sources":["../../../src/page-context/usePageEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,qBAAqB,CAAC;AAe7B,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC;AAElE;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,IAAI,UAAU,GAAG,IAAI,CASjD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The region's actual pixels with the visitor's note captioned over them —
|
|
4
|
+
* the one presentation a page mark has. Two shapes: a `tile` is the same
|
|
5
|
+
* 48px square a file preview gets, for the composer's attachments row; a
|
|
6
|
+
* `strip` keeps the region's own proportions, for the sent bubble where
|
|
7
|
+
* there is room to read it. Children (the pill's remove button) overlay the
|
|
8
|
+
* picture.
|
|
9
|
+
*/
|
|
10
|
+
export declare function MarkThumbnail({ src, alt, title, note, shape, className, children, ...rest }: {
|
|
11
|
+
src: string;
|
|
12
|
+
alt: string;
|
|
13
|
+
title: string;
|
|
14
|
+
note?: string | undefined;
|
|
15
|
+
shape?: 'tile' | 'strip';
|
|
16
|
+
className?: string;
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
} & Record<`data-${string}`, string>): React.JSX.Element;
|
|
19
|
+
//# sourceMappingURL=MarkThumbnail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarkThumbnail.d.ts","sourceRoot":"","sources":["../../../src/page-marks/MarkThumbnail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAC5B,GAAG,EACH,GAAG,EACH,KAAK,EACL,IAAI,EACJ,KAAe,EACf,SAAS,EACT,QAAQ,EACR,GAAG,IAAI,EACR,EAAE;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,GAAG,MAAM,CAAC,QAAQ,MAAM,EAAE,EAAE,MAAM,CAAC,qBAmCnC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { MarkShape } from './page-mark';
|
|
3
|
+
import { MarkDraft, MarkHover } from './usePageMarking';
|
|
4
|
+
/**
|
|
5
|
+
* Mark-mode visuals, rendered on the HOST page: a hint bar while armed, a
|
|
6
|
+
* hover frame over the element under the cursor, and — once a mark is placed
|
|
7
|
+
* — its editor: corner handles showing where to grab, plus one card carrying
|
|
8
|
+
* the shape palette and the note. The mark itself is notation ink anchored in
|
|
9
|
+
* page coordinates, so it scrolls with the content.
|
|
10
|
+
*
|
|
11
|
+
* Everything here is pointer-inert except the editor card: the gestures live
|
|
12
|
+
* on the host document (see `usePageMarking`), and an overlay that swallowed
|
|
13
|
+
* pointer events would blind them.
|
|
14
|
+
*/
|
|
15
|
+
export declare function PageMarkOverlay({ isActive, draft, hover, onShapeChange, onAttach, onDiscard, }: {
|
|
16
|
+
isActive: boolean;
|
|
17
|
+
draft: MarkDraft | null;
|
|
18
|
+
hover: MarkHover | null;
|
|
19
|
+
onShapeChange: (shape: MarkShape) => void;
|
|
20
|
+
onAttach: (note: string) => void;
|
|
21
|
+
onDiscard: () => void;
|
|
22
|
+
}): React.ReactPortal | null;
|
|
23
|
+
//# sourceMappingURL=PageMarkOverlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageMarkOverlay.d.ts","sourceRoot":"","sources":["../../../src/page-marks/PageMarkOverlay.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,OAAO,EAAe,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAE1D,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7D;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,KAAK,EACL,KAAK,EACL,aAAa,EACb,QAAQ,EACR,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,SAAS,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,SAAS,GAAG,IAAI,CAAC;IACxB,aAAa,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,4BA+IA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PageMark } from './page-mark';
|
|
3
|
+
/**
|
|
4
|
+
* One page mark previewed in the composer's attachment row — the same square
|
|
5
|
+
* tile a file gets, because a mark IS a picture the message carries. Shows
|
|
6
|
+
* the region's actual pixels (the focus element's snapshot, rasterized at
|
|
7
|
+
* commit) the moment it lands, with the visitor's note captioned over them;
|
|
8
|
+
* until then — and whenever a snapshot isn't possible — the pen glyph stands
|
|
9
|
+
* in, with the label captioned the same way so the tile still says what it
|
|
10
|
+
* is. Removing it un-draws the mark from the host page.
|
|
11
|
+
*/
|
|
12
|
+
export declare function PageMarkPill({ mark, onRemove, }: {
|
|
13
|
+
mark: PageMark;
|
|
14
|
+
onRemove: () => void;
|
|
15
|
+
}): React.JSX.Element;
|
|
16
|
+
//# sourceMappingURL=PageMarkPill.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageMarkPill.d.ts","sourceRoot":"","sources":["../../../src/page-marks/PageMarkPill.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAI5C;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,qBA0EA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { MarkInk, PageMark } from './page-mark';
|
|
3
|
+
type PageMarksContextValue = {
|
|
4
|
+
marks: readonly PageMark[];
|
|
5
|
+
isArmed: boolean;
|
|
6
|
+
setArmed(armed: boolean): void;
|
|
7
|
+
attach(mark: PageMark, ink: MarkInk): void;
|
|
8
|
+
detach(mark: PageMark): void;
|
|
9
|
+
detachAll(): void;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* One page-mark owner per Widget. It sits above shell/composer swaps so marks
|
|
13
|
+
* survive those swaps, but below WidgetProvider so separate Widget instances
|
|
14
|
+
* never share marks or armed state.
|
|
15
|
+
*/
|
|
16
|
+
export declare function PageMarksProvider({ children }: {
|
|
17
|
+
children: React.ReactNode;
|
|
18
|
+
}): React.JSX.Element;
|
|
19
|
+
export declare function usePageMarks(): PageMarksContextValue;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=PageMarksProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageMarksProvider.d.ts","sourceRoot":"","sources":["../../../src/page-marks/PageMarksProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAQN,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAErD,KAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,SAAS,QAAQ,EAAE,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IAC/B,MAAM,CAAC,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3C,MAAM,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC7B,SAAS,IAAI,IAAI,CAAC;CACnB,CAAC;AAIF;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,qBAkD5E;AAED,wBAAgB,YAAY,IAAI,qBAAqB,CAMpD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MarkedElementRef } from '@opencx/widget-core';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* A page mark on the SENT user bubble — the composer pill's presentation
|
|
5
|
+
* without its remove affordance: the region's actual pixels, the note
|
|
6
|
+
* captioned over them, and the element name only as the fallback when no
|
|
7
|
+
* snapshot exists. The message carries the mark object itself, so the
|
|
8
|
+
* thumbnail taken in the composer survives the send instead of collapsing
|
|
9
|
+
* back into a bare tag name; after a reload the uploaded snapshot's URL takes
|
|
10
|
+
* its place.
|
|
11
|
+
*/
|
|
12
|
+
export declare function SentMarkChip({ element }: {
|
|
13
|
+
element: MarkedElementRef;
|
|
14
|
+
}): React.JSX.Element;
|
|
15
|
+
//# sourceMappingURL=SentMarkChip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SentMarkChip.d.ts","sourceRoot":"","sources":["../../../src/page-marks/SentMarkChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,gBAAgB,CAAA;CAAE,qBA+BtE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-mark.spec.d.ts","sourceRoot":"","sources":["../../../../src/page-marks/__tests__/agent-mark.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mark-snapshot-upload.spec.d.ts","sourceRoot":"","sources":["../../../../src/page-marks/__tests__/mark-snapshot-upload.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-element-name.spec.d.ts","sourceRoot":"","sources":["../../../../src/page-marks/__tests__/page-element-name.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-element.spec.d.ts","sourceRoot":"","sources":["../../../../src/page-marks/__tests__/page-element.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-mark-pill.spec.d.ts","sourceRoot":"","sources":["../../../../src/page-marks/__tests__/page-mark-pill.spec.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-mark-theme.spec.d.ts","sourceRoot":"","sources":["../../../../src/page-marks/__tests__/page-mark-theme.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-mark-tile.spec.d.ts","sourceRoot":"","sources":["../../../../src/page-marks/__tests__/page-mark-tile.spec.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-marks-provider.spec.d.ts","sourceRoot":"","sources":["../../../../src/page-marks/__tests__/page-marks-provider.spec.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"picked-elements.spec.d.ts","sourceRoot":"","sources":["../../../../src/page-marks/__tests__/picked-elements.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sent-mark-chip.spec.d.ts","sourceRoot":"","sources":["../../../../src/page-marks/__tests__/sent-mark-chip.spec.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-page-marking.spec.d.ts","sourceRoot":"","sources":["../../../../src/page-marks/__tests__/use-page-marking.spec.tsx"],"names":[],"mappings":""}
|