@vertesia/ui 0.81.0 → 0.81.2-dev.20260204.135023Z
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/package.json +6 -10
- package/src/core/components/InputList.tsx +1 -1
- package/src/core/components/Overlay.tsx +1 -1
- package/src/core/components/SidePanel.tsx +25 -13
- package/src/core/components/index.ts +0 -8
- package/src/core/components/{Panel.tsx → shadcn/Panel.tsx} +1 -1
- package/src/core/components/{Badge.tsx → shadcn/badge.tsx} +1 -1
- package/src/core/components/shadcn/calendar.tsx +2 -2
- package/src/core/components/shadcn/command.tsx +1 -1
- package/src/core/components/shadcn/filters/index.ts +1 -1
- package/src/core/components/shadcn/index.ts +5 -3
- package/src/core/components/{ConfirmModal.tsx → shadcn/modal/ConfirmModal.tsx} +8 -8
- package/src/core/components/{DeleteModal.tsx → shadcn/modal/DeleteModal.tsx} +1 -1
- package/src/core/components/shadcn/{dialog.tsx → modal/dialog.tsx} +41 -32
- package/src/core/components/shadcn/modal/index.ts +3 -0
- package/src/core/components/shadcn/popover.tsx +4 -2
- package/src/core/components/shadcn/selectBox.tsx +14 -12
- package/src/core/components/shadcn/tabs.tsx +16 -7
- package/src/core/components/shadcn/tooltip.tsx +20 -16
- package/src/features/agent/PayloadBuilder.tsx +28 -0
- package/src/features/agent/chat/ModernAgentConversation.tsx +13 -111
- package/src/features/agent/chat/ModernAgentOutput/Header.tsx +1 -1
- package/src/features/agent/chat/ModernAgentOutput/MessageInput.tsx +7 -7
- package/src/features/facets/AgentRunnerFacetsNav.tsx +125 -0
- package/src/features/facets/index.ts +1 -0
- package/src/features/store/collections/CreateCollection.tsx +9 -9
- package/src/features/store/collections/EditCollectionView.tsx +11 -9
- package/src/features/store/objects/components/ContentOverview.tsx +8 -8
- package/src/features/store/objects/components/PropertiesEditorModal.tsx +35 -51
- package/src/features/store/objects/components/SelectDocumentModal.tsx +6 -6
- package/src/features/store/objects/components/useContentPanelHooks.ts +3 -3
- package/src/features/store/objects/selection/actions/AddToCollectionAction.tsx +13 -13
- package/src/features/store/objects/selection/actions/StartWorkflowComponent.tsx +8 -8
- package/src/features/store/objects/upload/DocumentUploadModal.tsx +25 -25
- package/src/features/store/types/ObjectSchemaEditor.tsx +30 -27
- package/src/features/store/types/SelectContentType.tsx +3 -3
- package/src/features/store/types/TableLayoutEditor.tsx +13 -17
- package/src/layout/AppLayout.tsx +16 -44
- package/src/layout/Sidebar.tsx +1 -1
- package/src/session/auth/auth-flow.md +1094 -0
- package/src/session/index.ts +1 -0
- package/src/shell/apps/AppProjectSelector.tsx +2 -2
- package/src/shell/login/InviteAcceptModal.tsx +6 -6
- package/src/shell/login/SignInModal.tsx +1 -1
- package/src/shell/login/SignupForm.tsx +3 -3
- package/src/shell/login/UserInfo.tsx +5 -5
- package/src/widgets/index.ts +1 -1
- package/src/widgets/json-view/JSONCode.tsx +28 -172
- package/src/widgets/json-view/JSONDisplay.tsx +1 -1
- package/src/widgets/{codemirror → monacoEditor}/MonacoEditor.tsx +16 -11
- package/src/widgets/monacoEditor/index.ts +3 -0
- package/src/widgets/schema-editor/editor/PropertyEditor.tsx +5 -5
- package/lib/esm/core/components/Avatar.js +0 -31
- package/lib/esm/core/components/Avatar.js.map +0 -1
- package/lib/esm/core/components/Badge.js +0 -62
- package/lib/esm/core/components/Badge.js.map +0 -1
- package/lib/esm/core/components/Button.js +0 -32
- package/lib/esm/core/components/Button.js.map +0 -1
- package/lib/esm/core/components/Center.js +0 -6
- package/lib/esm/core/components/Center.js.map +0 -1
- package/lib/esm/core/components/ComboBox.js +0 -356
- package/lib/esm/core/components/ComboBox.js.map +0 -1
- package/lib/esm/core/components/ConfirmModal.js +0 -10
- package/lib/esm/core/components/ConfirmModal.js.map +0 -1
- package/lib/esm/core/components/DeleteModal.js +0 -28
- package/lib/esm/core/components/DeleteModal.js.map +0 -1
- package/lib/esm/core/components/Divider.js +0 -6
- package/lib/esm/core/components/Divider.js.map +0 -1
- package/lib/esm/core/components/Dropdown.js +0 -16
- package/lib/esm/core/components/Dropdown.js.map +0 -1
- package/lib/esm/core/components/DropdownList.js +0 -9
- package/lib/esm/core/components/DropdownList.js.map +0 -1
- package/lib/esm/core/components/EmptyCollection.js +0 -7
- package/lib/esm/core/components/EmptyCollection.js.map +0 -1
- package/lib/esm/core/components/FileUpload.js +0 -119
- package/lib/esm/core/components/FileUpload.js.map +0 -1
- package/lib/esm/core/components/FormItem.js +0 -9
- package/lib/esm/core/components/FormItem.js.map +0 -1
- package/lib/esm/core/components/InputList.js +0 -61
- package/lib/esm/core/components/InputList.js.map +0 -1
- package/lib/esm/core/components/Link.js +0 -13
- package/lib/esm/core/components/Link.js.map +0 -1
- package/lib/esm/core/components/MenuList.js +0 -20
- package/lib/esm/core/components/MenuList.js.map +0 -1
- package/lib/esm/core/components/MessageBox.js +0 -66
- package/lib/esm/core/components/MessageBox.js.map +0 -1
- package/lib/esm/core/components/Modal.js +0 -26
- package/lib/esm/core/components/Modal.js.map +0 -1
- package/lib/esm/core/components/NumberInput.js +0 -43
- package/lib/esm/core/components/NumberInput.js.map +0 -1
- package/lib/esm/core/components/Overlay.js +0 -57
- package/lib/esm/core/components/Overlay.js.map +0 -1
- package/lib/esm/core/components/Panel.js +0 -8
- package/lib/esm/core/components/Panel.js.map +0 -1
- package/lib/esm/core/components/Portal.js +0 -28
- package/lib/esm/core/components/Portal.js.map +0 -1
- package/lib/esm/core/components/RadioGroup.js +0 -34
- package/lib/esm/core/components/RadioGroup.js.map +0 -1
- package/lib/esm/core/components/SelectBox.js +0 -67
- package/lib/esm/core/components/SelectBox.js.map +0 -1
- package/lib/esm/core/components/SelectList.js +0 -52
- package/lib/esm/core/components/SelectList.js.map +0 -1
- package/lib/esm/core/components/SelectStack.js +0 -8
- package/lib/esm/core/components/SelectStack.js.map +0 -1
- package/lib/esm/core/components/SidePanel.js +0 -33
- package/lib/esm/core/components/SidePanel.js.map +0 -1
- package/lib/esm/core/components/Spinner.js +0 -18
- package/lib/esm/core/components/Spinner.js.map +0 -1
- package/lib/esm/core/components/Switch.js +0 -12
- package/lib/esm/core/components/Switch.js.map +0 -1
- package/lib/esm/core/components/TagsInput.js +0 -194
- package/lib/esm/core/components/TagsInput.js.map +0 -1
- package/lib/esm/core/components/index.js +0 -36
- package/lib/esm/core/components/index.js.map +0 -1
- package/lib/esm/core/components/libs/utils.js +0 -6
- package/lib/esm/core/components/libs/utils.js.map +0 -1
- package/lib/esm/core/components/libs/visuallyHidden.js +0 -16
- package/lib/esm/core/components/libs/visuallyHidden.js.map +0 -1
- package/lib/esm/core/components/popup/Popup.js +0 -60
- package/lib/esm/core/components/popup/Popup.js.map +0 -1
- package/lib/esm/core/components/popup/PopupController.js +0 -149
- package/lib/esm/core/components/popup/PopupController.js.map +0 -1
- package/lib/esm/core/components/popup/index.js +0 -4
- package/lib/esm/core/components/popup/index.js.map +0 -1
- package/lib/esm/core/components/popup/position.js +0 -221
- package/lib/esm/core/components/popup/position.js.map +0 -1
- package/lib/esm/core/components/popup/utils.js +0 -74
- package/lib/esm/core/components/popup/utils.js.map +0 -1
- package/lib/esm/core/components/shadcn/breadcrumb.js +0 -51
- package/lib/esm/core/components/shadcn/breadcrumb.js.map +0 -1
- package/lib/esm/core/components/shadcn/button.js +0 -76
- package/lib/esm/core/components/shadcn/button.js.map +0 -1
- package/lib/esm/core/components/shadcn/calendar.js +0 -13
- package/lib/esm/core/components/shadcn/calendar.js.map +0 -1
- package/lib/esm/core/components/shadcn/card.js +0 -17
- package/lib/esm/core/components/shadcn/card.js.map +0 -1
- package/lib/esm/core/components/shadcn/checkbox.js +0 -9
- package/lib/esm/core/components/shadcn/checkbox.js.map +0 -1
- package/lib/esm/core/components/shadcn/command.js +0 -29
- package/lib/esm/core/components/shadcn/command.js.map +0 -1
- package/lib/esm/core/components/shadcn/dialog.js +0 -74
- package/lib/esm/core/components/shadcn/dialog.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/DynamicLabel.js +0 -38
- package/lib/esm/core/components/shadcn/filters/DynamicLabel.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/animateChangeInHeight.js +0 -23
- package/lib/esm/core/components/shadcn/filters/animateChangeInHeight.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/DateCombobox.js +0 -129
- package/lib/esm/core/components/shadcn/filters/comboBox/DateCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/SelectCombobox.js +0 -46
- package/lib/esm/core/components/shadcn/filters/comboBox/SelectCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/StringListCombobox.js +0 -23
- package/lib/esm/core/components/shadcn/filters/comboBox/StringListCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/TextCombobox.js +0 -28
- package/lib/esm/core/components/shadcn/filters/comboBox/TextCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/comboBox.js +0 -5
- package/lib/esm/core/components/shadcn/filters/comboBox/comboBox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/SelectFilter.js +0 -98
- package/lib/esm/core/components/shadcn/filters/filter/SelectFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/StringListFilter.js +0 -24
- package/lib/esm/core/components/shadcn/filters/filter/StringListFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/TextFilter.js +0 -21
- package/lib/esm/core/components/shadcn/filters/filter/TextFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/dateFilter.js +0 -161
- package/lib/esm/core/components/shadcn/filters/filter/dateFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter-styles.js +0 -88
- package/lib/esm/core/components/shadcn/filters/filter-styles.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filterBar.js +0 -242
- package/lib/esm/core/components/shadcn/filters/filterBar.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filters.js +0 -57
- package/lib/esm/core/components/shadcn/filters/filters.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/index.js +0 -6
- package/lib/esm/core/components/shadcn/filters/index.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/types.js +0 -10
- package/lib/esm/core/components/shadcn/filters/types.js.map +0 -1
- package/lib/esm/core/components/shadcn/heading.js +0 -17
- package/lib/esm/core/components/shadcn/heading.js.map +0 -1
- package/lib/esm/core/components/shadcn/index.js +0 -23
- package/lib/esm/core/components/shadcn/index.js.map +0 -1
- package/lib/esm/core/components/shadcn/input.js +0 -41
- package/lib/esm/core/components/shadcn/input.js.map +0 -1
- package/lib/esm/core/components/shadcn/label.js +0 -10
- package/lib/esm/core/components/shadcn/label.js.map +0 -1
- package/lib/esm/core/components/shadcn/popover.js +0 -50
- package/lib/esm/core/components/shadcn/popover.js.map +0 -1
- package/lib/esm/core/components/shadcn/resizeable.js +0 -15
- package/lib/esm/core/components/shadcn/resizeable.js.map +0 -1
- package/lib/esm/core/components/shadcn/selectBox.js +0 -152
- package/lib/esm/core/components/shadcn/selectBox.js.map +0 -1
- package/lib/esm/core/components/shadcn/separator.js +0 -8
- package/lib/esm/core/components/shadcn/separator.js.map +0 -1
- package/lib/esm/core/components/shadcn/tabs.js +0 -132
- package/lib/esm/core/components/shadcn/tabs.js.map +0 -1
- package/lib/esm/core/components/shadcn/text.js +0 -30
- package/lib/esm/core/components/shadcn/text.js.map +0 -1
- package/lib/esm/core/components/shadcn/textarea.js +0 -7
- package/lib/esm/core/components/shadcn/textarea.js.map +0 -1
- package/lib/esm/core/components/shadcn/theme/ThemeProvider.js +0 -39
- package/lib/esm/core/components/shadcn/theme/ThemeProvider.js.map +0 -1
- package/lib/esm/core/components/shadcn/theme/ThemeSwitcher.js +0 -13
- package/lib/esm/core/components/shadcn/theme/ThemeSwitcher.js.map +0 -1
- package/lib/esm/core/components/shadcn/tooltip.js +0 -14
- package/lib/esm/core/components/shadcn/tooltip.js.map +0 -1
- package/lib/esm/core/components/styles.js +0 -10
- package/lib/esm/core/components/styles.js.map +0 -1
- package/lib/esm/core/components/table/index.js +0 -24
- package/lib/esm/core/components/table/index.js.map +0 -1
- package/lib/esm/core/components/tabs/Tabs.js +0 -78
- package/lib/esm/core/components/tabs/Tabs.js.map +0 -1
- package/lib/esm/core/components/tabs/TabsContext.js +0 -7
- package/lib/esm/core/components/tabs/TabsContext.js.map +0 -1
- package/lib/esm/core/components/tabs/index.js +0 -3
- package/lib/esm/core/components/tabs/index.js.map +0 -1
- package/lib/esm/core/components/toast/NotificationPanel.js +0 -43
- package/lib/esm/core/components/toast/NotificationPanel.js.map +0 -1
- package/lib/esm/core/components/toast/ToastContext.js +0 -7
- package/lib/esm/core/components/toast/ToastContext.js.map +0 -1
- package/lib/esm/core/components/toast/ToastProps.js +0 -2
- package/lib/esm/core/components/toast/ToastProps.js.map +0 -1
- package/lib/esm/core/components/toast/ToastProvider.js +0 -13
- package/lib/esm/core/components/toast/ToastProvider.js.map +0 -1
- package/lib/esm/core/components/toast/index.js +0 -3
- package/lib/esm/core/components/toast/index.js.map +0 -1
- package/lib/esm/core/hooks/CompositeState.js +0 -256
- package/lib/esm/core/hooks/CompositeState.js.map +0 -1
- package/lib/esm/core/hooks/PortalContainerProvider.js +0 -42
- package/lib/esm/core/hooks/PortalContainerProvider.js.map +0 -1
- package/lib/esm/core/hooks/SharedState.js +0 -64
- package/lib/esm/core/hooks/SharedState.js.map +0 -1
- package/lib/esm/core/hooks/index.js +0 -16
- package/lib/esm/core/hooks/index.js.map +0 -1
- package/lib/esm/core/hooks/useClickOutside.js +0 -29
- package/lib/esm/core/hooks/useClickOutside.js.map +0 -1
- package/lib/esm/core/hooks/useCopyToClipboard.js +0 -23
- package/lib/esm/core/hooks/useCopyToClipboard.js.map +0 -1
- package/lib/esm/core/hooks/useDarkMode.js +0 -11
- package/lib/esm/core/hooks/useDarkMode.js.map +0 -1
- package/lib/esm/core/hooks/useDebounce.js +0 -14
- package/lib/esm/core/hooks/useDebounce.js.map +0 -1
- package/lib/esm/core/hooks/useEventSource.js +0 -31
- package/lib/esm/core/hooks/useEventSource.js.map +0 -1
- package/lib/esm/core/hooks/useFetch.js +0 -40
- package/lib/esm/core/hooks/useFetch.js.map +0 -1
- package/lib/esm/core/hooks/useFlag.js +0 -13
- package/lib/esm/core/hooks/useFlag.js.map +0 -1
- package/lib/esm/core/hooks/useIntersectionObserver.js +0 -34
- package/lib/esm/core/hooks/useIntersectionObserver.js.map +0 -1
- package/lib/esm/core/hooks/useIsFistRendering.js +0 -14
- package/lib/esm/core/hooks/useIsFistRendering.js.map +0 -1
- package/lib/esm/core/hooks/useSafeLayoutEffect.js +0 -4
- package/lib/esm/core/hooks/useSafeLayoutEffect.js.map +0 -1
- package/lib/esm/core/hooks/useScrollableSearch.js +0 -92
- package/lib/esm/core/hooks/useScrollableSearch.js.map +0 -1
- package/lib/esm/core/hooks/useSharedValue.js +0 -21
- package/lib/esm/core/hooks/useSharedValue.js.map +0 -1
- package/lib/esm/core/index.js +0 -4
- package/lib/esm/core/index.js.map +0 -1
- package/lib/esm/core/utils/cn.js +0 -6
- package/lib/esm/core/utils/cn.js.map +0 -1
- package/lib/esm/core/utils/index.js +0 -2
- package/lib/esm/core/utils/index.js.map +0 -1
- package/lib/esm/env/index.js +0 -75
- package/lib/esm/env/index.js.map +0 -1
- package/lib/esm/features/activity-doc/ActivityDoc.js +0 -71
- package/lib/esm/features/activity-doc/ActivityDoc.js.map +0 -1
- package/lib/esm/features/activity-doc/index.js +0 -2
- package/lib/esm/features/activity-doc/index.js.map +0 -1
- package/lib/esm/features/agent/PayloadBuilder.js +0 -266
- package/lib/esm/features/agent/PayloadBuilder.js.map +0 -1
- package/lib/esm/features/agent/chat/AgentChart.js +0 -184
- package/lib/esm/features/agent/chat/AgentChart.js.map +0 -1
- package/lib/esm/features/agent/chat/AnimatedThinkingDots.js +0 -207
- package/lib/esm/features/agent/chat/AnimatedThinkingDots.js.map +0 -1
- package/lib/esm/features/agent/chat/JumpingDots.js +0 -6
- package/lib/esm/features/agent/chat/JumpingDots.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentConversation.js +0 -490
- package/lib/esm/features/agent/chat/ModernAgentConversation.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js +0 -133
- package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js +0 -62
- package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js +0 -29
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js +0 -95
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js +0 -54
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js +0 -368
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessagesContainer.js +0 -20
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessagesContainer.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/PlanPanel.js +0 -63
- package/lib/esm/features/agent/chat/ModernAgentOutput/PlanPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlideInPanel.js +0 -23
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlideInPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingMessages.js +0 -52
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingMessages.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js +0 -82
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/StackedMessages.js +0 -13
- package/lib/esm/features/agent/chat/ModernAgentOutput/StackedMessages.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js +0 -105
- package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/utils.js +0 -160
- package/lib/esm/features/agent/chat/ModernAgentOutput/utils.js.map +0 -1
- package/lib/esm/features/agent/chat/SlidingThinkingIndicator.js +0 -266
- package/lib/esm/features/agent/chat/SlidingThinkingIndicator.js.map +0 -1
- package/lib/esm/features/agent/chat/WaitingMessages.js +0 -60
- package/lib/esm/features/agent/chat/WaitingMessages.js.map +0 -1
- package/lib/esm/features/agent/chat/index.js +0 -6
- package/lib/esm/features/agent/chat/index.js.map +0 -1
- package/lib/esm/features/agent/createChartTool.js +0 -354
- package/lib/esm/features/agent/createChartTool.js.map +0 -1
- package/lib/esm/features/agent/examples.js +0 -295
- package/lib/esm/features/agent/examples.js.map +0 -1
- package/lib/esm/features/agent/index.js +0 -5
- package/lib/esm/features/agent/index.js.map +0 -1
- package/lib/esm/features/agent/visualization.js +0 -165
- package/lib/esm/features/agent/visualization.js.map +0 -1
- package/lib/esm/features/errors/PanelErrorBoundary.js +0 -11
- package/lib/esm/features/errors/PanelErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/RowErrorBoundary.js +0 -9
- package/lib/esm/features/errors/RowErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/VertesiaErrorBoundary.js +0 -15
- package/lib/esm/features/errors/VertesiaErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/WidgetErrorBoundary.js +0 -11
- package/lib/esm/features/errors/WidgetErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/index.js +0 -5
- package/lib/esm/features/errors/index.js.map +0 -1
- package/lib/esm/features/facets/CollectionsFacetsNav.js +0 -89
- package/lib/esm/features/facets/CollectionsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/DocumentsFacetsNav.js +0 -147
- package/lib/esm/features/facets/DocumentsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/EnvironmentFacet.js +0 -39
- package/lib/esm/features/facets/EnvironmentFacet.js.map +0 -1
- package/lib/esm/features/facets/InteractionsFacetsNav.js +0 -88
- package/lib/esm/features/facets/InteractionsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/PromptsFacetsNav.js +0 -80
- package/lib/esm/features/facets/PromptsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/RunsFacetsNav.js +0 -157
- package/lib/esm/features/facets/RunsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js +0 -100
- package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/index.js +0 -15
- package/lib/esm/features/facets/index.js.map +0 -1
- package/lib/esm/features/facets/utils/SearchInterface.js +0 -2
- package/lib/esm/features/facets/utils/SearchInterface.js.map +0 -1
- package/lib/esm/features/facets/utils/StringFacet.js +0 -12
- package/lib/esm/features/facets/utils/StringFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/StringListFacet.js +0 -11
- package/lib/esm/features/facets/utils/StringListFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/TypeFacet.js +0 -42
- package/lib/esm/features/facets/utils/TypeFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VEnvironmentFacet.js +0 -25
- package/lib/esm/features/facets/utils/VEnvironmentFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VInteractionFacet.js +0 -45
- package/lib/esm/features/facets/utils/VInteractionFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VStringFacet.js +0 -20
- package/lib/esm/features/facets/utils/VStringFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VTypeFacet.js +0 -61
- package/lib/esm/features/facets/utils/VTypeFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VUserFacet.js +0 -31
- package/lib/esm/features/facets/utils/VUserFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/utils.js +0 -7
- package/lib/esm/features/facets/utils/utils.js.map +0 -1
- package/lib/esm/features/index.js +0 -12
- package/lib/esm/features/index.js.map +0 -1
- package/lib/esm/features/layout/GenericPageNavHeader.js +0 -74
- package/lib/esm/features/layout/GenericPageNavHeader.js.map +0 -1
- package/lib/esm/features/layout/NotFoundView.js +0 -5
- package/lib/esm/features/layout/NotFoundView.js.map +0 -1
- package/lib/esm/features/layout/index.js +0 -3
- package/lib/esm/features/layout/index.js.map +0 -1
- package/lib/esm/features/magic-pdf/AnnotatedImageSlider.js +0 -268
- package/lib/esm/features/magic-pdf/AnnotatedImageSlider.js.map +0 -1
- package/lib/esm/features/magic-pdf/DownloadPopover.js +0 -28
- package/lib/esm/features/magic-pdf/DownloadPopover.js.map +0 -1
- package/lib/esm/features/magic-pdf/ExtractedContentView.js +0 -77
- package/lib/esm/features/magic-pdf/ExtractedContentView.js.map +0 -1
- package/lib/esm/features/magic-pdf/MagicPdfProvider.js +0 -242
- package/lib/esm/features/magic-pdf/MagicPdfProvider.js.map +0 -1
- package/lib/esm/features/magic-pdf/MagicPdfView.js +0 -61
- package/lib/esm/features/magic-pdf/MagicPdfView.js.map +0 -1
- package/lib/esm/features/magic-pdf/index.js +0 -2
- package/lib/esm/features/magic-pdf/index.js.map +0 -1
- package/lib/esm/features/magic-pdf/types.js +0 -2
- package/lib/esm/features/magic-pdf/types.js.map +0 -1
- package/lib/esm/features/pdf-viewer/PdfPageRenderer.js +0 -261
- package/lib/esm/features/pdf-viewer/PdfPageRenderer.js.map +0 -1
- package/lib/esm/features/pdf-viewer/PdfPageSlider.js +0 -276
- package/lib/esm/features/pdf-viewer/PdfPageSlider.js.map +0 -1
- package/lib/esm/features/pdf-viewer/SimplePdfViewer.js +0 -71
- package/lib/esm/features/pdf-viewer/SimplePdfViewer.js.map +0 -1
- package/lib/esm/features/pdf-viewer/index.js +0 -4
- package/lib/esm/features/pdf-viewer/index.js.map +0 -1
- package/lib/esm/features/permissions/SecureButton.js +0 -13
- package/lib/esm/features/permissions/SecureButton.js.map +0 -1
- package/lib/esm/features/permissions/SecureSidebarItem.js +0 -14
- package/lib/esm/features/permissions/SecureSidebarItem.js.map +0 -1
- package/lib/esm/features/permissions/UserPermissionsProvider.js +0 -87
- package/lib/esm/features/permissions/UserPermissionsProvider.js.map +0 -1
- package/lib/esm/features/permissions/helpers.js +0 -12
- package/lib/esm/features/permissions/helpers.js.map +0 -1
- package/lib/esm/features/permissions/index.js +0 -5
- package/lib/esm/features/permissions/index.js.map +0 -1
- package/lib/esm/features/store/collections/BrowseCollectionView.js +0 -40
- package/lib/esm/features/store/collections/BrowseCollectionView.js.map +0 -1
- package/lib/esm/features/store/collections/CollectionsTable.js +0 -64
- package/lib/esm/features/store/collections/CollectionsTable.js.map +0 -1
- package/lib/esm/features/store/collections/CreateCollection.js +0 -87
- package/lib/esm/features/store/collections/CreateCollection.js.map +0 -1
- package/lib/esm/features/store/collections/EditCollectionView.js +0 -183
- package/lib/esm/features/store/collections/EditCollectionView.js.map +0 -1
- package/lib/esm/features/store/collections/SelectCollection.js +0 -119
- package/lib/esm/features/store/collections/SelectCollection.js.map +0 -1
- package/lib/esm/features/store/collections/SharedPropsEditor.js +0 -39
- package/lib/esm/features/store/collections/SharedPropsEditor.js.map +0 -1
- package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js +0 -35
- package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js.map +0 -1
- package/lib/esm/features/store/collections/index.js +0 -8
- package/lib/esm/features/store/collections/index.js.map +0 -1
- package/lib/esm/features/store/index.js +0 -4
- package/lib/esm/features/store/index.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentPreviewPanel.js +0 -147
- package/lib/esm/features/store/objects/DocumentPreviewPanel.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentSearchResults.js +0 -204
- package/lib/esm/features/store/objects/DocumentSearchResults.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentSelectionProvider.js +0 -81
- package/lib/esm/features/store/objects/DocumentSelectionProvider.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentTable.js +0 -278
- package/lib/esm/features/store/objects/DocumentTable.js.map +0 -1
- package/lib/esm/features/store/objects/ExportPropertiesModal.js +0 -31
- package/lib/esm/features/store/objects/ExportPropertiesModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/ContentDispositionButton.js +0 -31
- package/lib/esm/features/store/objects/components/ContentDispositionButton.js.map +0 -1
- package/lib/esm/features/store/objects/components/ContentOverview.js +0 -520
- package/lib/esm/features/store/objects/components/ContentOverview.js.map +0 -1
- package/lib/esm/features/store/objects/components/DocumentIcon.js +0 -33
- package/lib/esm/features/store/objects/components/DocumentIcon.js.map +0 -1
- package/lib/esm/features/store/objects/components/DocumentInput.js +0 -51
- package/lib/esm/features/store/objects/components/DocumentInput.js.map +0 -1
- package/lib/esm/features/store/objects/components/PropertiesEditorModal.js +0 -171
- package/lib/esm/features/store/objects/components/PropertiesEditorModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/SaveVersionConfirmModal.js +0 -53
- package/lib/esm/features/store/objects/components/SaveVersionConfirmModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/SelectDocument.js +0 -55
- package/lib/esm/features/store/objects/components/SelectDocument.js.map +0 -1
- package/lib/esm/features/store/objects/components/SelectDocumentModal.js +0 -7
- package/lib/esm/features/store/objects/components/SelectDocumentModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/VectorSearchWidget.js +0 -90
- package/lib/esm/features/store/objects/components/VectorSearchWidget.js.map +0 -1
- package/lib/esm/features/store/objects/components/index.js +0 -10
- package/lib/esm/features/store/objects/components/index.js.map +0 -1
- package/lib/esm/features/store/objects/components/useContentPanelHooks.js +0 -153
- package/lib/esm/features/store/objects/components/useContentPanelHooks.js.map +0 -1
- package/lib/esm/features/store/objects/components/useDownloadObject.js +0 -21
- package/lib/esm/features/store/objects/components/useDownloadObject.js.map +0 -1
- package/lib/esm/features/store/objects/index.js +0 -11
- package/lib/esm/features/store/objects/index.js.map +0 -1
- package/lib/esm/features/store/objects/layout/DocumentTableColumn.js +0 -86
- package/lib/esm/features/store/objects/layout/DocumentTableColumn.js.map +0 -1
- package/lib/esm/features/store/objects/layout/documentLayout.js +0 -15
- package/lib/esm/features/store/objects/layout/documentLayout.js.map +0 -1
- package/lib/esm/features/store/objects/layout/index.js +0 -3
- package/lib/esm/features/store/objects/layout/index.js.map +0 -1
- package/lib/esm/features/store/objects/layout/renderers.js +0 -157
- package/lib/esm/features/store/objects/layout/renderers.js.map +0 -1
- package/lib/esm/features/store/objects/search/DocumentSearchContext.js +0 -175
- package/lib/esm/features/store/objects/search/DocumentSearchContext.js.map +0 -1
- package/lib/esm/features/store/objects/search/DocumentSearchProvider.js +0 -39
- package/lib/esm/features/store/objects/search/DocumentSearchProvider.js.map +0 -1
- package/lib/esm/features/store/objects/search/index.js +0 -3
- package/lib/esm/features/store/objects/search/index.js.map +0 -1
- package/lib/esm/features/store/objects/selection/ObjectsActionContext.js +0 -150
- package/lib/esm/features/store/objects/selection/ObjectsActionContext.js.map +0 -1
- package/lib/esm/features/store/objects/selection/ObjectsActionSpec.js +0 -2
- package/lib/esm/features/store/objects/selection/ObjectsActionSpec.js.map +0 -1
- package/lib/esm/features/store/objects/selection/SelectionActions.js +0 -69
- package/lib/esm/features/store/objects/selection/SelectionActions.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js +0 -81
- package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/ChangeTypeAction.js +0 -53
- package/lib/esm/features/store/objects/selection/actions/ChangeTypeAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/ConfirmAction.js +0 -30
- package/lib/esm/features/store/objects/selection/actions/ConfirmAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/DeleteObjectsAction.js +0 -84
- package/lib/esm/features/store/objects/selection/actions/DeleteObjectsAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/ExportPropertiesAction.js +0 -106
- package/lib/esm/features/store/objects/selection/actions/ExportPropertiesAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/RemoveFromCollectionAction.js +0 -64
- package/lib/esm/features/store/objects/selection/actions/RemoveFromCollectionAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/StartWorkflowComponent.js +0 -72
- package/lib/esm/features/store/objects/selection/actions/StartWorkflowComponent.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/index.js +0 -8
- package/lib/esm/features/store/objects/selection/actions/index.js.map +0 -1
- package/lib/esm/features/store/objects/selection/index.js +0 -5
- package/lib/esm/features/store/objects/selection/index.js.map +0 -1
- package/lib/esm/features/store/objects/upload/DocumentUploadModal.js +0 -519
- package/lib/esm/features/store/objects/upload/DocumentUploadModal.js.map +0 -1
- package/lib/esm/features/store/objects/upload/index.js +0 -4
- package/lib/esm/features/store/objects/upload/index.js.map +0 -1
- package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js +0 -195
- package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js.map +0 -1
- package/lib/esm/features/store/objects/upload/useUploadHandler.js +0 -230
- package/lib/esm/features/store/objects/upload/useUploadHandler.js.map +0 -1
- package/lib/esm/features/store/types/ContentObjectTypesSearch.js +0 -81
- package/lib/esm/features/store/types/ContentObjectTypesSearch.js.map +0 -1
- package/lib/esm/features/store/types/ContentObjectTypesTable.js +0 -11
- package/lib/esm/features/store/types/ContentObjectTypesTable.js.map +0 -1
- package/lib/esm/features/store/types/CreateOrUpdateTypeModal.js +0 -26
- package/lib/esm/features/store/types/CreateOrUpdateTypeModal.js.map +0 -1
- package/lib/esm/features/store/types/ObjectSchemaEditor.js +0 -103
- package/lib/esm/features/store/types/ObjectSchemaEditor.js.map +0 -1
- package/lib/esm/features/store/types/SelectContentType.js +0 -43
- package/lib/esm/features/store/types/SelectContentType.js.map +0 -1
- package/lib/esm/features/store/types/SelectContentTypeModal.js +0 -28
- package/lib/esm/features/store/types/SelectContentTypeModal.js.map +0 -1
- package/lib/esm/features/store/types/TableLayoutEditor.js +0 -78
- package/lib/esm/features/store/types/TableLayoutEditor.js.map +0 -1
- package/lib/esm/features/store/types/index.js +0 -9
- package/lib/esm/features/store/types/index.js.map +0 -1
- package/lib/esm/features/store/types/search/ObjectTypeSearchContext.js +0 -98
- package/lib/esm/features/store/types/search/ObjectTypeSearchContext.js.map +0 -1
- package/lib/esm/features/store/types/search/ObjectTypeSearchProvider.js +0 -15
- package/lib/esm/features/store/types/search/ObjectTypeSearchProvider.js.map +0 -1
- package/lib/esm/features/store/types/search/index.js +0 -3
- package/lib/esm/features/store/types/search/index.js.map +0 -1
- package/lib/esm/features/user/UserAvatar.js +0 -18
- package/lib/esm/features/user/UserAvatar.js.map +0 -1
- package/lib/esm/features/user/UserInfo.js +0 -121
- package/lib/esm/features/user/UserInfo.js.map +0 -1
- package/lib/esm/features/user/index.js +0 -3
- package/lib/esm/features/user/index.js.map +0 -1
- package/lib/esm/features/utils/index.js +0 -6
- package/lib/esm/features/utils/index.js.map +0 -1
- package/lib/esm/features/utils/mimeType.js +0 -17
- package/lib/esm/features/utils/mimeType.js.map +0 -1
- package/lib/esm/features/utils/print.js +0 -181
- package/lib/esm/features/utils/print.js.map +0 -1
- package/lib/esm/features/utils/rendition.js +0 -67
- package/lib/esm/features/utils/rendition.js.map +0 -1
- package/lib/esm/features/utils/text.js +0 -10
- package/lib/esm/features/utils/text.js.map +0 -1
- package/lib/esm/features/utils/workflowStatus.js +0 -43
- package/lib/esm/features/utils/workflowStatus.js.map +0 -1
- package/lib/esm/layout/AppLayout.js +0 -46
- package/lib/esm/layout/AppLayout.js.map +0 -1
- package/lib/esm/layout/FullHeightLayout.js +0 -18
- package/lib/esm/layout/FullHeightLayout.js.map +0 -1
- package/lib/esm/layout/Navbar.js +0 -40
- package/lib/esm/layout/Navbar.js.map +0 -1
- package/lib/esm/layout/Sidebar.js +0 -45
- package/lib/esm/layout/Sidebar.js.map +0 -1
- package/lib/esm/layout/SidebarContext.js +0 -10
- package/lib/esm/layout/SidebarContext.js.map +0 -1
- package/lib/esm/layout/TitleBar.js +0 -5
- package/lib/esm/layout/TitleBar.js.map +0 -1
- package/lib/esm/layout/index.js +0 -7
- package/lib/esm/layout/index.js.map +0 -1
- package/lib/esm/router/FixLinks.js +0 -23
- package/lib/esm/router/FixLinks.js.map +0 -1
- package/lib/esm/router/HistoryNavigator.js +0 -192
- package/lib/esm/router/HistoryNavigator.js.map +0 -1
- package/lib/esm/router/Nav.js +0 -26
- package/lib/esm/router/Nav.js.map +0 -1
- package/lib/esm/router/NestedNavigationContext.js +0 -19
- package/lib/esm/router/NestedNavigationContext.js.map +0 -1
- package/lib/esm/router/NestedRouterProvider.js +0 -44
- package/lib/esm/router/NestedRouterProvider.js.map +0 -1
- package/lib/esm/router/PathMatcher.js +0 -159
- package/lib/esm/router/PathMatcher.js.map +0 -1
- package/lib/esm/router/PathWithParams.js +0 -34
- package/lib/esm/router/PathWithParams.js.map +0 -1
- package/lib/esm/router/Route404.js +0 -18
- package/lib/esm/router/Route404.js.map +0 -1
- package/lib/esm/router/RouteComponent.js +0 -32
- package/lib/esm/router/RouteComponent.js.map +0 -1
- package/lib/esm/router/Router.js +0 -161
- package/lib/esm/router/Router.js.map +0 -1
- package/lib/esm/router/RouterProvider.js +0 -41
- package/lib/esm/router/RouterProvider.js.map +0 -1
- package/lib/esm/router/index.js +0 -11
- package/lib/esm/router/index.js.map +0 -1
- package/lib/esm/router/path.js +0 -140
- package/lib/esm/router/path.js.map +0 -1
- package/lib/esm/session/TypeRegistry.js +0 -24
- package/lib/esm/session/TypeRegistry.js.map +0 -1
- package/lib/esm/session/UserSession.js +0 -192
- package/lib/esm/session/UserSession.js.map +0 -1
- package/lib/esm/session/UserSessionProvider.js +0 -179
- package/lib/esm/session/UserSessionProvider.js.map +0 -1
- package/lib/esm/session/auth/composable.js +0 -255
- package/lib/esm/session/auth/composable.js.map +0 -1
- package/lib/esm/session/auth/firebase.js +0 -158
- package/lib/esm/session/auth/firebase.js.map +0 -1
- package/lib/esm/session/auth/useAuthState.js +0 -46
- package/lib/esm/session/auth/useAuthState.js.map +0 -1
- package/lib/esm/session/auth/useCurrentTenant.js +0 -63
- package/lib/esm/session/auth/useCurrentTenant.js.map +0 -1
- package/lib/esm/session/constants.js +0 -3
- package/lib/esm/session/constants.js.map +0 -1
- package/lib/esm/session/index.js +0 -8
- package/lib/esm/session/index.js.map +0 -1
- package/lib/esm/session/useUXTracking.js +0 -29
- package/lib/esm/session/useUXTracking.js.map +0 -1
- package/lib/esm/shell/SplashScreen.js +0 -26
- package/lib/esm/shell/SplashScreen.js.map +0 -1
- package/lib/esm/shell/VertesiaShell.js +0 -10
- package/lib/esm/shell/VertesiaShell.js.map +0 -1
- package/lib/esm/shell/apps/AppInstallationProvider.js +0 -13
- package/lib/esm/shell/apps/AppInstallationProvider.js.map +0 -1
- package/lib/esm/shell/apps/AppProjectSelector.js +0 -36
- package/lib/esm/shell/apps/AppProjectSelector.js.map +0 -1
- package/lib/esm/shell/apps/StandaloneApp.js +0 -60
- package/lib/esm/shell/apps/StandaloneApp.js.map +0 -1
- package/lib/esm/shell/apps/index.js +0 -4
- package/lib/esm/shell/apps/index.js.map +0 -1
- package/lib/esm/shell/index.js +0 -8
- package/lib/esm/shell/index.js.map +0 -1
- package/lib/esm/shell/login/EnterpriseSigninButton.js +0 -84
- package/lib/esm/shell/login/EnterpriseSigninButton.js.map +0 -1
- package/lib/esm/shell/login/GitHubSignInButton.js +0 -24
- package/lib/esm/shell/login/GitHubSignInButton.js.map +0 -1
- package/lib/esm/shell/login/GoogleSignInButton.js +0 -25
- package/lib/esm/shell/login/GoogleSignInButton.js.map +0 -1
- package/lib/esm/shell/login/InviteAcceptModal.js +0 -62
- package/lib/esm/shell/login/InviteAcceptModal.js.map +0 -1
- package/lib/esm/shell/login/MicrosoftSigninButton.js +0 -19
- package/lib/esm/shell/login/MicrosoftSigninButton.js.map +0 -1
- package/lib/esm/shell/login/PreviewIcon.js +0 -23
- package/lib/esm/shell/login/PreviewIcon.js.map +0 -1
- package/lib/esm/shell/login/SignInModal.js +0 -9
- package/lib/esm/shell/login/SignInModal.js.map +0 -1
- package/lib/esm/shell/login/SigninScreen.js +0 -64
- package/lib/esm/shell/login/SigninScreen.js.map +0 -1
- package/lib/esm/shell/login/SignupForm.js +0 -91
- package/lib/esm/shell/login/SignupForm.js.map +0 -1
- package/lib/esm/shell/login/TerminalLogin.js +0 -179
- package/lib/esm/shell/login/TerminalLogin.js.map +0 -1
- package/lib/esm/shell/login/UserInfo.js +0 -41
- package/lib/esm/shell/login/UserInfo.js.map +0 -1
- package/lib/esm/shell/login/UserSessionMenu.js +0 -37
- package/lib/esm/shell/login/UserSessionMenu.js.map +0 -1
- package/lib/esm/shell/utils.js +0 -6
- package/lib/esm/shell/utils.js.map +0 -1
- package/lib/esm/widgets/Progress.js +0 -5
- package/lib/esm/widgets/Progress.js.map +0 -1
- package/lib/esm/widgets/SvgIcon.js +0 -36
- package/lib/esm/widgets/SvgIcon.js.map +0 -1
- package/lib/esm/widgets/codemirror/CodeMirrorEditor.js +0 -103
- package/lib/esm/widgets/codemirror/CodeMirrorEditor.js.map +0 -1
- package/lib/esm/widgets/codemirror/CodemirrorStateSingleton.js +0 -33
- package/lib/esm/widgets/codemirror/CodemirrorStateSingleton.js.map +0 -1
- package/lib/esm/widgets/codemirror/MonacoEditor.js +0 -128
- package/lib/esm/widgets/codemirror/MonacoEditor.js.map +0 -1
- package/lib/esm/widgets/codemirror/index.js +0 -3
- package/lib/esm/widgets/codemirror/index.js.map +0 -1
- package/lib/esm/widgets/form/Form.js +0 -100
- package/lib/esm/widgets/form/Form.js.map +0 -1
- package/lib/esm/widgets/form/FormContext.js +0 -31
- package/lib/esm/widgets/form/FormContext.js.map +0 -1
- package/lib/esm/widgets/form/ManagedObject.js +0 -287
- package/lib/esm/widgets/form/ManagedObject.js.map +0 -1
- package/lib/esm/widgets/form/fields.js +0 -12
- package/lib/esm/widgets/form/fields.js.map +0 -1
- package/lib/esm/widgets/form/index.js +0 -7
- package/lib/esm/widgets/form/index.js.map +0 -1
- package/lib/esm/widgets/form/inputs.js +0 -38
- package/lib/esm/widgets/form/inputs.js.map +0 -1
- package/lib/esm/widgets/form/schema.js +0 -197
- package/lib/esm/widgets/form/schema.js.map +0 -1
- package/lib/esm/widgets/index.js +0 -12
- package/lib/esm/widgets/index.js.map +0 -1
- package/lib/esm/widgets/json-view/JSONCode.js +0 -157
- package/lib/esm/widgets/json-view/JSONCode.js.map +0 -1
- package/lib/esm/widgets/json-view/JSONDisplay.js +0 -10
- package/lib/esm/widgets/json-view/JSONDisplay.js.map +0 -1
- package/lib/esm/widgets/json-view/JSONView.js +0 -106
- package/lib/esm/widgets/json-view/JSONView.js.map +0 -1
- package/lib/esm/widgets/json-view/index.js +0 -4
- package/lib/esm/widgets/json-view/index.js.map +0 -1
- package/lib/esm/widgets/json-view/types.js +0 -2
- package/lib/esm/widgets/json-view/types.js.map +0 -1
- package/lib/esm/widgets/markdown/MarkdownRenderer.js +0 -246
- package/lib/esm/widgets/markdown/MarkdownRenderer.js.map +0 -1
- package/lib/esm/widgets/markdown/index.js +0 -2
- package/lib/esm/widgets/markdown/index.js.map +0 -1
- package/lib/esm/widgets/popover/Popover.js +0 -73
- package/lib/esm/widgets/popover/Popover.js.map +0 -1
- package/lib/esm/widgets/popover/context.js +0 -7
- package/lib/esm/widgets/popover/context.js.map +0 -1
- package/lib/esm/widgets/popover/index.js +0 -3
- package/lib/esm/widgets/popover/index.js.map +0 -1
- package/lib/esm/widgets/popover/slots.js +0 -22
- package/lib/esm/widgets/popover/slots.js.map +0 -1
- package/lib/esm/widgets/properties/PropertiesView.js +0 -8
- package/lib/esm/widgets/properties/PropertiesView.js.map +0 -1
- package/lib/esm/widgets/properties/index.js +0 -2
- package/lib/esm/widgets/properties/index.js.map +0 -1
- package/lib/esm/widgets/schema-editor/ManagedSchema.js +0 -300
- package/lib/esm/widgets/schema-editor/ManagedSchema.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/Editable.js +0 -110
- package/lib/esm/widgets/schema-editor/editor/Editable.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/EditableSchemaProperty.js +0 -8
- package/lib/esm/widgets/schema-editor/editor/EditableSchemaProperty.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/PropertyEditor.js +0 -81
- package/lib/esm/widgets/schema-editor/editor/PropertyEditor.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/PropertyViewer.js +0 -7
- package/lib/esm/widgets/schema-editor/editor/PropertyViewer.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/SchemaContext.js +0 -9
- package/lib/esm/widgets/schema-editor/editor/SchemaContext.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/SchemaEditor.js +0 -84
- package/lib/esm/widgets/schema-editor/editor/SchemaEditor.js.map +0 -1
- package/lib/esm/widgets/schema-editor/index.js +0 -7
- package/lib/esm/widgets/schema-editor/index.js.map +0 -1
- package/lib/esm/widgets/schema-editor/json-schema4-utils.js +0 -188
- package/lib/esm/widgets/schema-editor/json-schema4-utils.js.map +0 -1
- package/lib/esm/widgets/schema-editor/type-signature.js +0 -30
- package/lib/esm/widgets/schema-editor/type-signature.js.map +0 -1
- package/lib/esm/widgets/upload/DropZone.js +0 -175
- package/lib/esm/widgets/upload/DropZone.js.map +0 -1
- package/lib/esm/widgets/upload/UploadResultCategory.js +0 -19
- package/lib/esm/widgets/upload/UploadResultCategory.js.map +0 -1
- package/lib/esm/widgets/upload/UploadSummary.js +0 -30
- package/lib/esm/widgets/upload/UploadSummary.js.map +0 -1
- package/lib/esm/widgets/upload/index.js +0 -4
- package/lib/esm/widgets/upload/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/Attributes/index.js +0 -11
- package/lib/esm/widgets/xml-viewer/components/Attributes/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/CDataTag/index.js +0 -8
- package/lib/esm/widgets/xml-viewer/components/CDataTag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/CollapseIcon/index.js +0 -11
- package/lib/esm/widgets/xml-viewer/components/CollapseIcon/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/CommentTag/index.js +0 -11
- package/lib/esm/widgets/xml-viewer/components/CommentTag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/DeclarationTag/index.js +0 -9
- package/lib/esm/widgets/xml-viewer/components/DeclarationTag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/Elements/index.js +0 -36
- package/lib/esm/widgets/xml-viewer/components/Elements/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/InvalidXml/index.js +0 -5
- package/lib/esm/widgets/xml-viewer/components/InvalidXml/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/Tag/index.js +0 -13
- package/lib/esm/widgets/xml-viewer/components/Tag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/TextElement/index.js +0 -13
- package/lib/esm/widgets/xml-viewer/components/TextElement/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/XMLViewer.js +0 -39
- package/lib/esm/widgets/xml-viewer/components/XMLViewer.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/types.js +0 -2
- package/lib/esm/widgets/xml-viewer/components/types.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/constants/index.js +0 -27
- package/lib/esm/widgets/xml-viewer/constants/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/context/xml-viewer-context.js +0 -10
- package/lib/esm/widgets/xml-viewer/context/xml-viewer-context.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/helpers/index.js +0 -40
- package/lib/esm/widgets/xml-viewer/helpers/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/hooks/useCollapsible.js +0 -22
- package/lib/esm/widgets/xml-viewer/hooks/useCollapsible.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/hooks/useXMLViewer.js +0 -31
- package/lib/esm/widgets/xml-viewer/hooks/useXMLViewer.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/index.js +0 -3
- package/lib/esm/widgets/xml-viewer/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/types/index.js +0 -2
- package/lib/esm/widgets/xml-viewer/types/index.js.map +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/types/core/components/Avatar.d.ts +0 -16
- package/lib/types/core/components/Avatar.d.ts.map +0 -1
- package/lib/types/core/components/Badge.d.ts +0 -21
- package/lib/types/core/components/Badge.d.ts.map +0 -1
- package/lib/types/core/components/Button.d.ts +0 -14
- package/lib/types/core/components/Button.d.ts.map +0 -1
- package/lib/types/core/components/Center.d.ts +0 -8
- package/lib/types/core/components/Center.d.ts.map +0 -1
- package/lib/types/core/components/ComboBox.d.ts +0 -124
- package/lib/types/core/components/ComboBox.d.ts.map +0 -1
- package/lib/types/core/components/ConfirmModal.d.ts +0 -11
- package/lib/types/core/components/ConfirmModal.d.ts.map +0 -1
- package/lib/types/core/components/DeleteModal.d.ts +0 -11
- package/lib/types/core/components/DeleteModal.d.ts.map +0 -1
- package/lib/types/core/components/Divider.d.ts +0 -6
- package/lib/types/core/components/Divider.d.ts.map +0 -1
- package/lib/types/core/components/Dropdown.d.ts +0 -15
- package/lib/types/core/components/Dropdown.d.ts.map +0 -1
- package/lib/types/core/components/DropdownList.d.ts +0 -13
- package/lib/types/core/components/DropdownList.d.ts.map +0 -1
- package/lib/types/core/components/EmptyCollection.d.ts +0 -9
- package/lib/types/core/components/EmptyCollection.d.ts.map +0 -1
- package/lib/types/core/components/FileUpload.d.ts +0 -29
- package/lib/types/core/components/FileUpload.d.ts.map +0 -1
- package/lib/types/core/components/FormItem.d.ts +0 -13
- package/lib/types/core/components/FormItem.d.ts.map +0 -1
- package/lib/types/core/components/InputList.d.ts +0 -12
- package/lib/types/core/components/InputList.d.ts.map +0 -1
- package/lib/types/core/components/Link.d.ts +0 -7
- package/lib/types/core/components/Link.d.ts.map +0 -1
- package/lib/types/core/components/MenuList.d.ts +0 -14
- package/lib/types/core/components/MenuList.d.ts.map +0 -1
- package/lib/types/core/components/MessageBox.d.ts +0 -36
- package/lib/types/core/components/MessageBox.d.ts.map +0 -1
- package/lib/types/core/components/Modal.d.ts +0 -30
- package/lib/types/core/components/Modal.d.ts.map +0 -1
- package/lib/types/core/components/NumberInput.d.ts +0 -16
- package/lib/types/core/components/NumberInput.d.ts.map +0 -1
- package/lib/types/core/components/Overlay.d.ts +0 -25
- package/lib/types/core/components/Overlay.d.ts.map +0 -1
- package/lib/types/core/components/Panel.d.ts +0 -11
- package/lib/types/core/components/Panel.d.ts.map +0 -1
- package/lib/types/core/components/Portal.d.ts +0 -6
- package/lib/types/core/components/Portal.d.ts.map +0 -1
- package/lib/types/core/components/RadioGroup.d.ts +0 -26
- package/lib/types/core/components/RadioGroup.d.ts.map +0 -1
- package/lib/types/core/components/SelectBox.d.ts +0 -36
- package/lib/types/core/components/SelectBox.d.ts.map +0 -1
- package/lib/types/core/components/SelectList.d.ts +0 -19
- package/lib/types/core/components/SelectList.d.ts.map +0 -1
- package/lib/types/core/components/SelectStack.d.ts +0 -13
- package/lib/types/core/components/SelectStack.d.ts.map +0 -1
- package/lib/types/core/components/SidePanel.d.ts +0 -11
- package/lib/types/core/components/SidePanel.d.ts.map +0 -1
- package/lib/types/core/components/Spinner.d.ts +0 -7
- package/lib/types/core/components/Spinner.d.ts.map +0 -1
- package/lib/types/core/components/Switch.d.ts +0 -11
- package/lib/types/core/components/Switch.d.ts.map +0 -1
- package/lib/types/core/components/TagsInput.d.ts +0 -16
- package/lib/types/core/components/TagsInput.d.ts.map +0 -1
- package/lib/types/core/components/index.d.ts +0 -40
- package/lib/types/core/components/index.d.ts.map +0 -1
- package/lib/types/core/components/libs/utils.d.ts +0 -3
- package/lib/types/core/components/libs/utils.d.ts.map +0 -1
- package/lib/types/core/components/libs/visuallyHidden.d.ts +0 -7
- package/lib/types/core/components/libs/visuallyHidden.d.ts.map +0 -1
- package/lib/types/core/components/popup/Popup.d.ts +0 -26
- package/lib/types/core/components/popup/Popup.d.ts.map +0 -1
- package/lib/types/core/components/popup/PopupController.d.ts +0 -41
- package/lib/types/core/components/popup/PopupController.d.ts.map +0 -1
- package/lib/types/core/components/popup/index.d.ts +0 -4
- package/lib/types/core/components/popup/index.d.ts.map +0 -1
- package/lib/types/core/components/popup/position.d.ts +0 -59
- package/lib/types/core/components/popup/position.d.ts.map +0 -1
- package/lib/types/core/components/popup/utils.d.ts +0 -30
- package/lib/types/core/components/popup/utils.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/breadcrumb.d.ts +0 -15
- package/lib/types/core/components/shadcn/breadcrumb.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/button.d.ts +0 -27
- package/lib/types/core/components/shadcn/button.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/calendar.d.ts +0 -11
- package/lib/types/core/components/shadcn/calendar.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/card.d.ts +0 -9
- package/lib/types/core/components/shadcn/card.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/checkbox.d.ts +0 -5
- package/lib/types/core/components/shadcn/checkbox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/command.d.ts +0 -17
- package/lib/types/core/components/shadcn/command.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/dialog.d.ts +0 -38
- package/lib/types/core/components/shadcn/dialog.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/DynamicLabel.d.ts +0 -9
- package/lib/types/core/components/shadcn/filters/DynamicLabel.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/animateChangeInHeight.d.ts +0 -7
- package/lib/types/core/components/shadcn/filters/animateChangeInHeight.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/DateCombobox.d.ts +0 -6
- package/lib/types/core/components/shadcn/filters/comboBox/DateCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts +0 -9
- package/lib/types/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts +0 -6
- package/lib/types/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/TextCombobox.d.ts +0 -6
- package/lib/types/core/components/shadcn/filters/comboBox/TextCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/comboBox.d.ts +0 -5
- package/lib/types/core/components/shadcn/filters/comboBox/comboBox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/SelectFilter.d.ts +0 -12
- package/lib/types/core/components/shadcn/filters/filter/SelectFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/StringListFilter.d.ts +0 -11
- package/lib/types/core/components/shadcn/filters/filter/StringListFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/TextFilter.d.ts +0 -13
- package/lib/types/core/components/shadcn/filters/filter/TextFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/dateFilter.d.ts +0 -14
- package/lib/types/core/components/shadcn/filters/filter/dateFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter-styles.d.ts +0 -2
- package/lib/types/core/components/shadcn/filters/filter-styles.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filterBar.d.ts +0 -20
- package/lib/types/core/components/shadcn/filters/filterBar.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filters.d.ts +0 -10
- package/lib/types/core/components/shadcn/filters/filters.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/index.d.ts +0 -6
- package/lib/types/core/components/shadcn/filters/index.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/types.d.ts +0 -35
- package/lib/types/core/components/shadcn/filters/types.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/heading.d.ts +0 -6
- package/lib/types/core/components/shadcn/heading.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/index.d.ts +0 -23
- package/lib/types/core/components/shadcn/index.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/input.d.ts +0 -17
- package/lib/types/core/components/shadcn/input.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/label.d.ts +0 -8
- package/lib/types/core/components/shadcn/label.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/popover.d.ts +0 -24
- package/lib/types/core/components/shadcn/popover.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/resizeable.d.ts +0 -9
- package/lib/types/core/components/shadcn/resizeable.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/selectBox.d.ts +0 -36
- package/lib/types/core/components/shadcn/selectBox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/separator.d.ts +0 -5
- package/lib/types/core/components/shadcn/separator.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/tabs.d.ts +0 -33
- package/lib/types/core/components/shadcn/tabs.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/text.d.ts +0 -11
- package/lib/types/core/components/shadcn/text.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/textarea.d.ts +0 -4
- package/lib/types/core/components/shadcn/textarea.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/theme/ThemeProvider.d.ts +0 -15
- package/lib/types/core/components/shadcn/theme/ThemeProvider.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/theme/ThemeSwitcher.d.ts +0 -10
- package/lib/types/core/components/shadcn/theme/ThemeSwitcher.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/tooltip.d.ts +0 -20
- package/lib/types/core/components/shadcn/tooltip.d.ts.map +0 -1
- package/lib/types/core/components/styles.d.ts +0 -7
- package/lib/types/core/components/styles.d.ts.map +0 -1
- package/lib/types/core/components/table/index.d.ts +0 -19
- package/lib/types/core/components/table/index.d.ts.map +0 -1
- package/lib/types/core/components/tabs/Tabs.d.ts +0 -25
- package/lib/types/core/components/tabs/Tabs.d.ts.map +0 -1
- package/lib/types/core/components/tabs/TabsContext.d.ts +0 -17
- package/lib/types/core/components/tabs/TabsContext.d.ts.map +0 -1
- package/lib/types/core/components/tabs/index.d.ts +0 -3
- package/lib/types/core/components/tabs/index.d.ts.map +0 -1
- package/lib/types/core/components/toast/NotificationPanel.d.ts +0 -8
- package/lib/types/core/components/toast/NotificationPanel.d.ts.map +0 -1
- package/lib/types/core/components/toast/ToastContext.d.ts +0 -6
- package/lib/types/core/components/toast/ToastContext.d.ts.map +0 -1
- package/lib/types/core/components/toast/ToastProps.d.ts +0 -7
- package/lib/types/core/components/toast/ToastProps.d.ts.map +0 -1
- package/lib/types/core/components/toast/ToastProvider.d.ts +0 -6
- package/lib/types/core/components/toast/ToastProvider.d.ts.map +0 -1
- package/lib/types/core/components/toast/index.d.ts +0 -3
- package/lib/types/core/components/toast/index.d.ts.map +0 -1
- package/lib/types/core/hooks/CompositeState.d.ts +0 -137
- package/lib/types/core/hooks/CompositeState.d.ts.map +0 -1
- package/lib/types/core/hooks/PortalContainerProvider.d.ts +0 -7
- package/lib/types/core/hooks/PortalContainerProvider.d.ts.map +0 -1
- package/lib/types/core/hooks/SharedState.d.ts +0 -10
- package/lib/types/core/hooks/SharedState.d.ts.map +0 -1
- package/lib/types/core/hooks/index.d.ts +0 -16
- package/lib/types/core/hooks/index.d.ts.map +0 -1
- package/lib/types/core/hooks/useClickOutside.d.ts +0 -8
- package/lib/types/core/hooks/useClickOutside.d.ts.map +0 -1
- package/lib/types/core/hooks/useCopyToClipboard.d.ts +0 -5
- package/lib/types/core/hooks/useCopyToClipboard.d.ts.map +0 -1
- package/lib/types/core/hooks/useDarkMode.d.ts +0 -2
- package/lib/types/core/hooks/useDarkMode.d.ts.map +0 -1
- package/lib/types/core/hooks/useDebounce.d.ts +0 -2
- package/lib/types/core/hooks/useDebounce.d.ts.map +0 -1
- package/lib/types/core/hooks/useEventSource.d.ts +0 -2
- package/lib/types/core/hooks/useEventSource.d.ts.map +0 -1
- package/lib/types/core/hooks/useFetch.d.ts +0 -24
- package/lib/types/core/hooks/useFetch.d.ts.map +0 -1
- package/lib/types/core/hooks/useFlag.d.ts +0 -9
- package/lib/types/core/hooks/useFlag.d.ts.map +0 -1
- package/lib/types/core/hooks/useIntersectionObserver.d.ts +0 -14
- package/lib/types/core/hooks/useIntersectionObserver.d.ts.map +0 -1
- package/lib/types/core/hooks/useIsFistRendering.d.ts +0 -2
- package/lib/types/core/hooks/useIsFistRendering.d.ts.map +0 -1
- package/lib/types/core/hooks/useSafeLayoutEffect.d.ts +0 -4
- package/lib/types/core/hooks/useSafeLayoutEffect.d.ts.map +0 -1
- package/lib/types/core/hooks/useScrollableSearch.d.ts +0 -82
- package/lib/types/core/hooks/useScrollableSearch.d.ts.map +0 -1
- package/lib/types/core/hooks/useSharedValue.d.ts +0 -12
- package/lib/types/core/hooks/useSharedValue.d.ts.map +0 -1
- package/lib/types/core/index.d.ts +0 -4
- package/lib/types/core/index.d.ts.map +0 -1
- package/lib/types/core/utils/cn.d.ts +0 -3
- package/lib/types/core/utils/cn.d.ts.map +0 -1
- package/lib/types/core/utils/index.d.ts +0 -2
- package/lib/types/core/utils/index.d.ts.map +0 -1
- package/lib/types/env/index.d.ts +0 -76
- package/lib/types/env/index.d.ts.map +0 -1
- package/lib/types/features/activity-doc/ActivityDoc.d.ts +0 -14
- package/lib/types/features/activity-doc/ActivityDoc.d.ts.map +0 -1
- package/lib/types/features/activity-doc/index.d.ts +0 -2
- package/lib/types/features/activity-doc/index.d.ts.map +0 -1
- package/lib/types/features/agent/PayloadBuilder.d.ts +0 -65
- package/lib/types/features/agent/PayloadBuilder.d.ts.map +0 -1
- package/lib/types/features/agent/chat/AgentChart.d.ts +0 -48
- package/lib/types/features/agent/chat/AgentChart.d.ts.map +0 -1
- package/lib/types/features/agent/chat/AnimatedThinkingDots.d.ts +0 -38
- package/lib/types/features/agent/chat/AnimatedThinkingDots.d.ts.map +0 -1
- package/lib/types/features/agent/chat/JumpingDots.d.ts +0 -7
- package/lib/types/features/agent/chat/JumpingDots.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentConversation.d.ts +0 -25
- package/lib/types/features/agent/chat/ModernAgentConversation.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts +0 -23
- package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts +0 -20
- package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts +0 -11
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts +0 -18
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageInput.d.ts +0 -11
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageInput.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageItem.d.ts +0 -8
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageItem.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts +0 -10
- package/lib/types/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts +0 -9
- package/lib/types/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts +0 -11
- package/lib/types/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts +0 -8
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts +0 -10
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts +0 -8
- package/lib/types/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts +0 -22
- package/lib/types/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/utils.d.ts +0 -25
- package/lib/types/features/agent/chat/ModernAgentOutput/utils.d.ts.map +0 -1
- package/lib/types/features/agent/chat/SlidingThinkingIndicator.d.ts +0 -18
- package/lib/types/features/agent/chat/SlidingThinkingIndicator.d.ts.map +0 -1
- package/lib/types/features/agent/chat/WaitingMessages.d.ts +0 -2
- package/lib/types/features/agent/chat/WaitingMessages.d.ts.map +0 -1
- package/lib/types/features/agent/chat/index.d.ts +0 -6
- package/lib/types/features/agent/chat/index.d.ts.map +0 -1
- package/lib/types/features/agent/createChartTool.d.ts +0 -178
- package/lib/types/features/agent/createChartTool.d.ts.map +0 -1
- package/lib/types/features/agent/examples.d.ts +0 -59
- package/lib/types/features/agent/examples.d.ts.map +0 -1
- package/lib/types/features/agent/index.d.ts +0 -5
- package/lib/types/features/agent/index.d.ts.map +0 -1
- package/lib/types/features/agent/visualization.d.ts +0 -95
- package/lib/types/features/agent/visualization.d.ts.map +0 -1
- package/lib/types/features/errors/PanelErrorBoundary.d.ts +0 -5
- package/lib/types/features/errors/PanelErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/RowErrorBoundary.d.ts +0 -8
- package/lib/types/features/errors/RowErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/VertesiaErrorBoundary.d.ts +0 -12
- package/lib/types/features/errors/VertesiaErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/WidgetErrorBoundary.d.ts +0 -5
- package/lib/types/features/errors/WidgetErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/index.d.ts +0 -5
- package/lib/types/features/errors/index.d.ts.map +0 -1
- package/lib/types/features/facets/CollectionsFacetsNav.d.ts +0 -14
- package/lib/types/features/facets/CollectionsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/DocumentsFacetsNav.d.ts +0 -17
- package/lib/types/features/facets/DocumentsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/EnvironmentFacet.d.ts +0 -10
- package/lib/types/features/facets/EnvironmentFacet.d.ts.map +0 -1
- package/lib/types/features/facets/InteractionsFacetsNav.d.ts +0 -14
- package/lib/types/features/facets/InteractionsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/PromptsFacetsNav.d.ts +0 -15
- package/lib/types/features/facets/PromptsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/RunsFacetsNav.d.ts +0 -20
- package/lib/types/features/facets/RunsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/WorkflowExecutionsFacetsNav.d.ts +0 -14
- package/lib/types/features/facets/WorkflowExecutionsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/index.d.ts +0 -15
- package/lib/types/features/facets/index.d.ts.map +0 -1
- package/lib/types/features/facets/utils/SearchInterface.d.ts +0 -14
- package/lib/types/features/facets/utils/SearchInterface.d.ts.map +0 -1
- package/lib/types/features/facets/utils/StringFacet.d.ts +0 -11
- package/lib/types/features/facets/utils/StringFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/StringListFacet.d.ts +0 -11
- package/lib/types/features/facets/utils/StringListFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/TypeFacet.d.ts +0 -16
- package/lib/types/features/facets/utils/TypeFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VEnvironmentFacet.d.ts +0 -12
- package/lib/types/features/facets/utils/VEnvironmentFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VInteractionFacet.d.ts +0 -15
- package/lib/types/features/facets/utils/VInteractionFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VStringFacet.d.ts +0 -21
- package/lib/types/features/facets/utils/VStringFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VTypeFacet.d.ts +0 -12
- package/lib/types/features/facets/utils/VTypeFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VUserFacet.d.ts +0 -11
- package/lib/types/features/facets/utils/VUserFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/utils.d.ts +0 -4
- package/lib/types/features/facets/utils/utils.d.ts.map +0 -1
- package/lib/types/features/index.d.ts +0 -12
- package/lib/types/features/index.d.ts.map +0 -1
- package/lib/types/features/layout/GenericPageNavHeader.d.ts +0 -14
- package/lib/types/features/layout/GenericPageNavHeader.d.ts.map +0 -1
- package/lib/types/features/layout/NotFoundView.d.ts +0 -5
- package/lib/types/features/layout/NotFoundView.d.ts.map +0 -1
- package/lib/types/features/layout/index.d.ts +0 -3
- package/lib/types/features/layout/index.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/AnnotatedImageSlider.d.ts +0 -13
- package/lib/types/features/magic-pdf/AnnotatedImageSlider.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/DownloadPopover.d.ts +0 -7
- package/lib/types/features/magic-pdf/DownloadPopover.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/ExtractedContentView.d.ts +0 -8
- package/lib/types/features/magic-pdf/ExtractedContentView.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/MagicPdfProvider.d.ts +0 -58
- package/lib/types/features/magic-pdf/MagicPdfProvider.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/MagicPdfView.d.ts +0 -7
- package/lib/types/features/magic-pdf/MagicPdfView.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/index.d.ts +0 -2
- package/lib/types/features/magic-pdf/index.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/types.d.ts +0 -2
- package/lib/types/features/magic-pdf/types.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/PdfPageRenderer.d.ts +0 -83
- package/lib/types/features/pdf-viewer/PdfPageRenderer.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/PdfPageSlider.d.ts +0 -29
- package/lib/types/features/pdf-viewer/PdfPageSlider.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/SimplePdfViewer.d.ts +0 -19
- package/lib/types/features/pdf-viewer/SimplePdfViewer.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/index.d.ts +0 -4
- package/lib/types/features/pdf-viewer/index.d.ts.map +0 -1
- package/lib/types/features/permissions/SecureButton.d.ts +0 -8
- package/lib/types/features/permissions/SecureButton.d.ts.map +0 -1
- package/lib/types/features/permissions/SecureSidebarItem.d.ts +0 -8
- package/lib/types/features/permissions/SecureSidebarItem.d.ts.map +0 -1
- package/lib/types/features/permissions/UserPermissionsProvider.d.ts +0 -21
- package/lib/types/features/permissions/UserPermissionsProvider.d.ts.map +0 -1
- package/lib/types/features/permissions/helpers.d.ts +0 -5
- package/lib/types/features/permissions/helpers.d.ts.map +0 -1
- package/lib/types/features/permissions/index.d.ts +0 -5
- package/lib/types/features/permissions/index.d.ts.map +0 -1
- package/lib/types/features/store/collections/BrowseCollectionView.d.ts +0 -7
- package/lib/types/features/store/collections/BrowseCollectionView.d.ts.map +0 -1
- package/lib/types/features/store/collections/CollectionsTable.d.ts +0 -6
- package/lib/types/features/store/collections/CollectionsTable.d.ts.map +0 -1
- package/lib/types/features/store/collections/CreateCollection.d.ts +0 -13
- package/lib/types/features/store/collections/CreateCollection.d.ts.map +0 -1
- package/lib/types/features/store/collections/EditCollectionView.d.ts +0 -8
- package/lib/types/features/store/collections/EditCollectionView.d.ts.map +0 -1
- package/lib/types/features/store/collections/SelectCollection.d.ts +0 -20
- package/lib/types/features/store/collections/SelectCollection.d.ts.map +0 -1
- package/lib/types/features/store/collections/SharedPropsEditor.d.ts +0 -7
- package/lib/types/features/store/collections/SharedPropsEditor.d.ts.map +0 -1
- package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts +0 -7
- package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts.map +0 -1
- package/lib/types/features/store/collections/index.d.ts +0 -8
- package/lib/types/features/store/collections/index.d.ts.map +0 -1
- package/lib/types/features/store/index.d.ts +0 -4
- package/lib/types/features/store/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentPreviewPanel.d.ts +0 -8
- package/lib/types/features/store/objects/DocumentPreviewPanel.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentSearchResults.d.ts +0 -20
- package/lib/types/features/store/objects/DocumentSearchResults.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentSelectionProvider.d.ts +0 -33
- package/lib/types/features/store/objects/DocumentSelectionProvider.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentTable.d.ts +0 -25
- package/lib/types/features/store/objects/DocumentTable.d.ts.map +0 -1
- package/lib/types/features/store/objects/ExportPropertiesModal.d.ts +0 -12
- package/lib/types/features/store/objects/ExportPropertiesModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/ContentDispositionButton.d.ts +0 -9
- package/lib/types/features/store/objects/components/ContentDispositionButton.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/ContentOverview.d.ts +0 -9
- package/lib/types/features/store/objects/components/ContentOverview.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/DocumentIcon.d.ts +0 -18
- package/lib/types/features/store/objects/components/DocumentIcon.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/DocumentInput.d.ts +0 -8
- package/lib/types/features/store/objects/components/DocumentInput.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/PropertiesEditorModal.d.ts +0 -9
- package/lib/types/features/store/objects/components/PropertiesEditorModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/SaveVersionConfirmModal.d.ts +0 -9
- package/lib/types/features/store/objects/components/SaveVersionConfirmModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/SelectDocument.d.ts +0 -9
- package/lib/types/features/store/objects/components/SelectDocument.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/SelectDocumentModal.d.ts +0 -9
- package/lib/types/features/store/objects/components/SelectDocumentModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/VectorSearchWidget.d.ts +0 -12
- package/lib/types/features/store/objects/components/VectorSearchWidget.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/index.d.ts +0 -10
- package/lib/types/features/store/objects/components/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/useContentPanelHooks.d.ts +0 -30
- package/lib/types/features/store/objects/components/useContentPanelHooks.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/useDownloadObject.d.ts +0 -4
- package/lib/types/features/store/objects/components/useDownloadObject.d.ts.map +0 -1
- package/lib/types/features/store/objects/index.d.ts +0 -11
- package/lib/types/features/store/objects/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/DocumentTableColumn.d.ts +0 -18
- package/lib/types/features/store/objects/layout/DocumentTableColumn.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/documentLayout.d.ts +0 -20
- package/lib/types/features/store/objects/layout/documentLayout.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/index.d.ts +0 -3
- package/lib/types/features/store/objects/layout/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/renderers.d.ts +0 -3
- package/lib/types/features/store/objects/layout/renderers.d.ts.map +0 -1
- package/lib/types/features/store/objects/search/DocumentSearchContext.d.ts +0 -52
- package/lib/types/features/store/objects/search/DocumentSearchContext.d.ts.map +0 -1
- package/lib/types/features/store/objects/search/DocumentSearchProvider.d.ts +0 -14
- package/lib/types/features/store/objects/search/DocumentSearchProvider.d.ts.map +0 -1
- package/lib/types/features/store/objects/search/index.d.ts +0 -3
- package/lib/types/features/store/objects/search/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/ObjectsActionContext.d.ts +0 -26
- package/lib/types/features/store/objects/selection/ObjectsActionContext.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/ObjectsActionSpec.d.ts +0 -28
- package/lib/types/features/store/objects/selection/ObjectsActionSpec.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/SelectionActions.d.ts +0 -6
- package/lib/types/features/store/objects/selection/SelectionActions.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/AddToCollectionAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/AddToCollectionAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/ChangeTypeAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/ChangeTypeAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/ConfirmAction.d.ts +0 -16
- package/lib/types/features/store/objects/selection/actions/ConfirmAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/DeleteObjectsAction.d.ts +0 -5
- package/lib/types/features/store/objects/selection/actions/DeleteObjectsAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/ExportPropertiesAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/ExportPropertiesAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/StartWorkflowComponent.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/StartWorkflowComponent.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/index.d.ts +0 -8
- package/lib/types/features/store/objects/selection/actions/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/index.d.ts +0 -5
- package/lib/types/features/store/objects/selection/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/DocumentUploadModal.d.ts +0 -39
- package/lib/types/features/store/objects/upload/DocumentUploadModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/index.d.ts +0 -4
- package/lib/types/features/store/objects/upload/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/useSmartFileUploadProcessing.d.ts +0 -30
- package/lib/types/features/store/objects/upload/useSmartFileUploadProcessing.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/useUploadHandler.d.ts +0 -50
- package/lib/types/features/store/objects/upload/useUploadHandler.d.ts.map +0 -1
- package/lib/types/features/store/types/ContentObjectTypesSearch.d.ts +0 -6
- package/lib/types/features/store/types/ContentObjectTypesSearch.d.ts.map +0 -1
- package/lib/types/features/store/types/ContentObjectTypesTable.d.ts +0 -8
- package/lib/types/features/store/types/ContentObjectTypesTable.d.ts.map +0 -1
- package/lib/types/features/store/types/CreateOrUpdateTypeModal.d.ts +0 -15
- package/lib/types/features/store/types/CreateOrUpdateTypeModal.d.ts.map +0 -1
- package/lib/types/features/store/types/ObjectSchemaEditor.d.ts +0 -8
- package/lib/types/features/store/types/ObjectSchemaEditor.d.ts.map +0 -1
- package/lib/types/features/store/types/SelectContentType.d.ts +0 -11
- package/lib/types/features/store/types/SelectContentType.d.ts.map +0 -1
- package/lib/types/features/store/types/SelectContentTypeModal.d.ts +0 -33
- package/lib/types/features/store/types/SelectContentTypeModal.d.ts.map +0 -1
- package/lib/types/features/store/types/TableLayoutEditor.d.ts +0 -9
- package/lib/types/features/store/types/TableLayoutEditor.d.ts.map +0 -1
- package/lib/types/features/store/types/index.d.ts +0 -9
- package/lib/types/features/store/types/index.d.ts.map +0 -1
- package/lib/types/features/store/types/search/ObjectTypeSearchContext.d.ts +0 -36
- package/lib/types/features/store/types/search/ObjectTypeSearchContext.d.ts.map +0 -1
- package/lib/types/features/store/types/search/ObjectTypeSearchProvider.d.ts +0 -11
- package/lib/types/features/store/types/search/ObjectTypeSearchProvider.d.ts.map +0 -1
- package/lib/types/features/store/types/search/index.d.ts +0 -3
- package/lib/types/features/store/types/search/index.d.ts.map +0 -1
- package/lib/types/features/user/UserAvatar.d.ts +0 -9
- package/lib/types/features/user/UserAvatar.d.ts.map +0 -1
- package/lib/types/features/user/UserInfo.d.ts +0 -48
- package/lib/types/features/user/UserInfo.d.ts.map +0 -1
- package/lib/types/features/user/index.d.ts +0 -3
- package/lib/types/features/user/index.d.ts.map +0 -1
- package/lib/types/features/utils/index.d.ts +0 -6
- package/lib/types/features/utils/index.d.ts.map +0 -1
- package/lib/types/features/utils/mimeType.d.ts +0 -6
- package/lib/types/features/utils/mimeType.d.ts.map +0 -1
- package/lib/types/features/utils/print.d.ts +0 -10
- package/lib/types/features/utils/print.d.ts.map +0 -1
- package/lib/types/features/utils/rendition.d.ts +0 -4
- package/lib/types/features/utils/rendition.d.ts.map +0 -1
- package/lib/types/features/utils/text.d.ts +0 -3
- package/lib/types/features/utils/text.d.ts.map +0 -1
- package/lib/types/features/utils/workflowStatus.d.ts +0 -10
- package/lib/types/features/utils/workflowStatus.d.ts.map +0 -1
- package/lib/types/layout/AppLayout.d.ts +0 -13
- package/lib/types/layout/AppLayout.d.ts.map +0 -1
- package/lib/types/layout/FullHeightLayout.d.ts +0 -27
- package/lib/types/layout/FullHeightLayout.d.ts.map +0 -1
- package/lib/types/layout/Navbar.d.ts +0 -33
- package/lib/types/layout/Navbar.d.ts.map +0 -1
- package/lib/types/layout/Sidebar.d.ts +0 -31
- package/lib/types/layout/Sidebar.d.ts.map +0 -1
- package/lib/types/layout/SidebarContext.d.ts +0 -9
- package/lib/types/layout/SidebarContext.d.ts.map +0 -1
- package/lib/types/layout/TitleBar.d.ts +0 -6
- package/lib/types/layout/TitleBar.d.ts.map +0 -1
- package/lib/types/layout/index.d.ts +0 -7
- package/lib/types/layout/index.d.ts.map +0 -1
- package/lib/types/router/FixLinks.d.ts +0 -7
- package/lib/types/router/FixLinks.d.ts.map +0 -1
- package/lib/types/router/HistoryNavigator.d.ts +0 -59
- package/lib/types/router/HistoryNavigator.d.ts.map +0 -1
- package/lib/types/router/Nav.d.ts +0 -30
- package/lib/types/router/Nav.d.ts.map +0 -1
- package/lib/types/router/NestedNavigationContext.d.ts +0 -9
- package/lib/types/router/NestedNavigationContext.d.ts.map +0 -1
- package/lib/types/router/NestedRouterProvider.d.ts +0 -14
- package/lib/types/router/NestedRouterProvider.d.ts.map +0 -1
- package/lib/types/router/PathMatcher.d.ts +0 -36
- package/lib/types/router/PathMatcher.d.ts.map +0 -1
- package/lib/types/router/PathWithParams.d.ts +0 -9
- package/lib/types/router/PathWithParams.d.ts.map +0 -1
- package/lib/types/router/Route404.d.ts +0 -4
- package/lib/types/router/Route404.d.ts.map +0 -1
- package/lib/types/router/RouteComponent.d.ts +0 -6
- package/lib/types/router/RouteComponent.d.ts.map +0 -1
- package/lib/types/router/Router.d.ts +0 -74
- package/lib/types/router/Router.d.ts.map +0 -1
- package/lib/types/router/RouterProvider.d.ts +0 -15
- package/lib/types/router/RouterProvider.d.ts.map +0 -1
- package/lib/types/router/index.d.ts +0 -11
- package/lib/types/router/index.d.ts.map +0 -1
- package/lib/types/router/path.d.ts +0 -8
- package/lib/types/router/path.d.ts.map +0 -1
- package/lib/types/session/TypeRegistry.d.ts +0 -10
- package/lib/types/session/TypeRegistry.d.ts.map +0 -1
- package/lib/types/session/UserSession.d.ts +0 -40
- package/lib/types/session/UserSession.d.ts.map +0 -1
- package/lib/types/session/UserSessionProvider.d.ts +0 -7
- package/lib/types/session/UserSessionProvider.d.ts.map +0 -1
- package/lib/types/session/auth/composable.d.ts +0 -26
- package/lib/types/session/auth/composable.d.ts.map +0 -1
- package/lib/types/session/auth/firebase.d.ts +0 -10
- package/lib/types/session/auth/firebase.d.ts.map +0 -1
- package/lib/types/session/auth/useAuthState.d.ts +0 -10
- package/lib/types/session/auth/useAuthState.d.ts.map +0 -1
- package/lib/types/session/auth/useCurrentTenant.d.ts +0 -15
- package/lib/types/session/auth/useCurrentTenant.d.ts.map +0 -1
- package/lib/types/session/constants.d.ts +0 -3
- package/lib/types/session/constants.d.ts.map +0 -1
- package/lib/types/session/index.d.ts +0 -8
- package/lib/types/session/index.d.ts.map +0 -1
- package/lib/types/session/useUXTracking.d.ts +0 -6
- package/lib/types/session/useUXTracking.d.ts.map +0 -1
- package/lib/types/shell/SplashScreen.d.ts +0 -7
- package/lib/types/shell/SplashScreen.d.ts.map +0 -1
- package/lib/types/shell/VertesiaShell.d.ts +0 -10
- package/lib/types/shell/VertesiaShell.d.ts.map +0 -1
- package/lib/types/shell/apps/AppInstallationProvider.d.ts +0 -12
- package/lib/types/shell/apps/AppInstallationProvider.d.ts.map +0 -1
- package/lib/types/shell/apps/AppProjectSelector.d.ts +0 -12
- package/lib/types/shell/apps/AppProjectSelector.d.ts.map +0 -1
- package/lib/types/shell/apps/StandaloneApp.d.ts +0 -23
- package/lib/types/shell/apps/StandaloneApp.d.ts.map +0 -1
- package/lib/types/shell/apps/index.d.ts +0 -4
- package/lib/types/shell/apps/index.d.ts.map +0 -1
- package/lib/types/shell/index.d.ts +0 -8
- package/lib/types/shell/index.d.ts.map +0 -1
- package/lib/types/shell/login/EnterpriseSigninButton.d.ts +0 -6
- package/lib/types/shell/login/EnterpriseSigninButton.d.ts.map +0 -1
- package/lib/types/shell/login/GitHubSignInButton.d.ts +0 -6
- package/lib/types/shell/login/GitHubSignInButton.d.ts.map +0 -1
- package/lib/types/shell/login/GoogleSignInButton.d.ts +0 -6
- package/lib/types/shell/login/GoogleSignInButton.d.ts.map +0 -1
- package/lib/types/shell/login/InviteAcceptModal.d.ts +0 -2
- package/lib/types/shell/login/InviteAcceptModal.d.ts.map +0 -1
- package/lib/types/shell/login/MicrosoftSigninButton.d.ts +0 -6
- package/lib/types/shell/login/MicrosoftSigninButton.d.ts.map +0 -1
- package/lib/types/shell/login/PreviewIcon.d.ts +0 -6
- package/lib/types/shell/login/PreviewIcon.d.ts.map +0 -1
- package/lib/types/shell/login/SignInModal.d.ts +0 -7
- package/lib/types/shell/login/SignInModal.d.ts.map +0 -1
- package/lib/types/shell/login/SigninScreen.d.ts +0 -9
- package/lib/types/shell/login/SigninScreen.d.ts.map +0 -1
- package/lib/types/shell/login/SignupForm.d.ts +0 -8
- package/lib/types/shell/login/SignupForm.d.ts.map +0 -1
- package/lib/types/shell/login/TerminalLogin.d.ts +0 -2
- package/lib/types/shell/login/TerminalLogin.d.ts.map +0 -1
- package/lib/types/shell/login/UserInfo.d.ts +0 -6
- package/lib/types/shell/login/UserInfo.d.ts.map +0 -1
- package/lib/types/shell/login/UserSessionMenu.d.ts +0 -9
- package/lib/types/shell/login/UserSessionMenu.d.ts.map +0 -1
- package/lib/types/shell/utils.d.ts +0 -2
- package/lib/types/shell/utils.d.ts.map +0 -1
- package/lib/types/widgets/Progress.d.ts +0 -6
- package/lib/types/widgets/Progress.d.ts.map +0 -1
- package/lib/types/widgets/SvgIcon.d.ts +0 -7
- package/lib/types/widgets/SvgIcon.d.ts.map +0 -1
- package/lib/types/widgets/codemirror/CodeMirrorEditor.d.ts +0 -24
- package/lib/types/widgets/codemirror/CodeMirrorEditor.d.ts.map +0 -1
- package/lib/types/widgets/codemirror/CodemirrorStateSingleton.d.ts +0 -15
- package/lib/types/widgets/codemirror/CodemirrorStateSingleton.d.ts.map +0 -1
- package/lib/types/widgets/codemirror/MonacoEditor.d.ts +0 -38
- package/lib/types/widgets/codemirror/MonacoEditor.d.ts.map +0 -1
- package/lib/types/widgets/codemirror/index.d.ts +0 -5
- package/lib/types/widgets/codemirror/index.d.ts.map +0 -1
- package/lib/types/widgets/form/Form.d.ts +0 -22
- package/lib/types/widgets/form/Form.d.ts.map +0 -1
- package/lib/types/widgets/form/FormContext.d.ts +0 -20
- package/lib/types/widgets/form/FormContext.d.ts.map +0 -1
- package/lib/types/widgets/form/ManagedObject.d.ts +0 -82
- package/lib/types/widgets/form/ManagedObject.d.ts.map +0 -1
- package/lib/types/widgets/form/fields.d.ts +0 -16
- package/lib/types/widgets/form/fields.d.ts.map +0 -1
- package/lib/types/widgets/form/index.d.ts +0 -7
- package/lib/types/widgets/form/index.d.ts.map +0 -1
- package/lib/types/widgets/form/inputs.d.ts +0 -8
- package/lib/types/widgets/form/inputs.d.ts.map +0 -1
- package/lib/types/widgets/form/schema.d.ts +0 -47
- package/lib/types/widgets/form/schema.d.ts.map +0 -1
- package/lib/types/widgets/index.d.ts +0 -12
- package/lib/types/widgets/index.d.ts.map +0 -1
- package/lib/types/widgets/json-view/JSONCode.d.ts +0 -22
- package/lib/types/widgets/json-view/JSONCode.d.ts.map +0 -1
- package/lib/types/widgets/json-view/JSONDisplay.d.ts +0 -8
- package/lib/types/widgets/json-view/JSONDisplay.d.ts.map +0 -1
- package/lib/types/widgets/json-view/JSONView.d.ts +0 -7
- package/lib/types/widgets/json-view/JSONView.d.ts.map +0 -1
- package/lib/types/widgets/json-view/index.d.ts +0 -5
- package/lib/types/widgets/json-view/index.d.ts.map +0 -1
- package/lib/types/widgets/json-view/types.d.ts +0 -8
- package/lib/types/widgets/json-view/types.d.ts.map +0 -1
- package/lib/types/widgets/markdown/MarkdownRenderer.d.ts +0 -13
- package/lib/types/widgets/markdown/MarkdownRenderer.d.ts.map +0 -1
- package/lib/types/widgets/markdown/index.d.ts +0 -2
- package/lib/types/widgets/markdown/index.d.ts.map +0 -1
- package/lib/types/widgets/popover/Popover.d.ts +0 -38
- package/lib/types/widgets/popover/Popover.d.ts.map +0 -1
- package/lib/types/widgets/popover/context.d.ts +0 -8
- package/lib/types/widgets/popover/context.d.ts.map +0 -1
- package/lib/types/widgets/popover/index.d.ts +0 -3
- package/lib/types/widgets/popover/index.d.ts.map +0 -1
- package/lib/types/widgets/popover/slots.d.ts +0 -5
- package/lib/types/widgets/popover/slots.d.ts.map +0 -1
- package/lib/types/widgets/properties/PropertiesView.d.ts +0 -11
- package/lib/types/widgets/properties/PropertiesView.d.ts.map +0 -1
- package/lib/types/widgets/properties/index.d.ts +0 -2
- package/lib/types/widgets/properties/index.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/ManagedSchema.d.ts +0 -75
- package/lib/types/widgets/schema-editor/ManagedSchema.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/Editable.d.ts +0 -40
- package/lib/types/widgets/schema-editor/editor/Editable.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/EditableSchemaProperty.d.ts +0 -8
- package/lib/types/widgets/schema-editor/editor/EditableSchemaProperty.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/PropertyEditor.d.ts +0 -5
- package/lib/types/widgets/schema-editor/editor/PropertyEditor.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/PropertyViewer.d.ts +0 -4
- package/lib/types/widgets/schema-editor/editor/PropertyViewer.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/SchemaContext.d.ts +0 -3
- package/lib/types/widgets/schema-editor/editor/SchemaContext.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/SchemaEditor.d.ts +0 -9
- package/lib/types/widgets/schema-editor/editor/SchemaEditor.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/index.d.ts +0 -7
- package/lib/types/widgets/schema-editor/index.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/json-schema4-utils.d.ts +0 -16
- package/lib/types/widgets/schema-editor/json-schema4-utils.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/type-signature.d.ts +0 -19
- package/lib/types/widgets/schema-editor/type-signature.d.ts.map +0 -1
- package/lib/types/widgets/upload/DropZone.d.ts +0 -41
- package/lib/types/widgets/upload/DropZone.d.ts.map +0 -1
- package/lib/types/widgets/upload/UploadResultCategory.d.ts +0 -26
- package/lib/types/widgets/upload/UploadResultCategory.d.ts.map +0 -1
- package/lib/types/widgets/upload/UploadSummary.d.ts +0 -38
- package/lib/types/widgets/upload/UploadSummary.d.ts.map +0 -1
- package/lib/types/widgets/upload/index.d.ts +0 -4
- package/lib/types/widgets/upload/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/Attributes/index.d.ts +0 -6
- package/lib/types/widgets/xml-viewer/components/Attributes/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/CDataTag/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/CDataTag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/CollapseIcon/index.d.ts +0 -5
- package/lib/types/widgets/xml-viewer/components/CollapseIcon/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/CommentTag/index.d.ts +0 -9
- package/lib/types/widgets/xml-viewer/components/CommentTag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/DeclarationTag/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/DeclarationTag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/Elements/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/Elements/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/InvalidXml/index.d.ts +0 -2
- package/lib/types/widgets/xml-viewer/components/InvalidXml/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/Tag/index.d.ts +0 -13
- package/lib/types/widgets/xml-viewer/components/Tag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/TextElement/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/TextElement/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/XMLViewer.d.ts +0 -3
- package/lib/types/widgets/xml-viewer/components/XMLViewer.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/types.d.ts +0 -104
- package/lib/types/widgets/xml-viewer/components/types.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/constants/index.d.ts +0 -27
- package/lib/types/widgets/xml-viewer/constants/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/context/xml-viewer-context.d.ts +0 -4
- package/lib/types/widgets/xml-viewer/context/xml-viewer-context.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/helpers/index.d.ts +0 -13
- package/lib/types/widgets/xml-viewer/helpers/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/hooks/useCollapsible.d.ts +0 -15
- package/lib/types/widgets/xml-viewer/hooks/useCollapsible.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/hooks/useXMLViewer.d.ts +0 -10
- package/lib/types/widgets/xml-viewer/hooks/useXMLViewer.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/index.d.ts +0 -3
- package/lib/types/widgets/xml-viewer/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/types/index.d.ts +0 -16
- package/lib/types/widgets/xml-viewer/types/index.d.ts.map +0 -1
- package/lib/vertesia-ui-core.js +0 -2
- package/lib/vertesia-ui-core.js.map +0 -1
- package/lib/vertesia-ui-env.js +0 -2
- package/lib/vertesia-ui-env.js.map +0 -1
- package/lib/vertesia-ui-features.js +0 -2
- package/lib/vertesia-ui-features.js.map +0 -1
- package/lib/vertesia-ui-layout.js +0 -2
- package/lib/vertesia-ui-layout.js.map +0 -1
- package/lib/vertesia-ui-router.js +0 -2
- package/lib/vertesia-ui-router.js.map +0 -1
- package/lib/vertesia-ui-session.js +0 -2
- package/lib/vertesia-ui-session.js.map +0 -1
- package/lib/vertesia-ui-shell.js +0 -2
- package/lib/vertesia-ui-shell.js.map +0 -1
- package/lib/vertesia-ui-widgets.js +0 -2
- package/lib/vertesia-ui-widgets.js.map +0 -1
- package/src/core/components/Button.tsx +0 -63
- package/src/core/components/Modal.tsx +0 -144
- package/src/core/components/SelectBox.tsx +0 -188
- package/src/core/components/tabs/Tabs.tsx +0 -132
- package/src/core/components/tabs/TabsContext.ts +0 -25
- package/src/core/components/tabs/index.ts +0 -2
- package/src/widgets/codemirror/CodeMirrorEditor.tsx +0 -122
- package/src/widgets/codemirror/CodemirrorStateSingleton.tsx +0 -39
- package/src/widgets/codemirror/index.ts +0 -6
- /package/src/core/components/{MessageBox.tsx → shadcn/MessageBox.tsx} +0 -0
|
@@ -0,0 +1,1094 @@
|
|
|
1
|
+
# User Authentication Flow
|
|
2
|
+
|
|
3
|
+
This document describes the authentication flow for the Vertesia user-facing applications.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
The authentication system uses:
|
|
8
|
+
- **Firebase** for identity management and OAuth provider integration
|
|
9
|
+
- **Central Auth** (internal-auth.vertesia.app) for centralized authentication flow
|
|
10
|
+
- **STS (Security Token Service)** (sts.vertesia.io) to validate Firebase tokens and generate Vertesia JWT tokens
|
|
11
|
+
- **Session state management** to validate redirects and prevent CSRF attacks
|
|
12
|
+
|
|
13
|
+
### STS Endpoints
|
|
14
|
+
- Production/Preview: `https://sts.vertesia.io`
|
|
15
|
+
- Staging: `https://sts-staging.vertesia.io`
|
|
16
|
+
|
|
17
|
+
**Important**: STS is the single source of truth for generating Vertesia JWT tokens. Both authentication paths (Central Auth and Direct Firebase) ultimately call STS to get the JWT.
|
|
18
|
+
|
|
19
|
+
## Key Components
|
|
20
|
+
|
|
21
|
+
- **UserSession** (UserSession.ts): Core session class managing auth state, client configuration, and user data
|
|
22
|
+
- **UserSessionProvider** (UserSessionProvider.tsx): React context provider orchestrating the auth flow
|
|
23
|
+
- **SigninScreen** (SigninScreen.tsx): UI component showing login options and handling signup
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Complete Authentication Flow
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
31
|
+
│ APP LOADS (NO AUTHENTICATION) │
|
|
32
|
+
└────────────────────────────────────────────┬────────────────────────────────┘
|
|
33
|
+
│
|
|
34
|
+
▼
|
|
35
|
+
┌─────────────────────────────┐
|
|
36
|
+
│ UserSessionProvider mounts │
|
|
37
|
+
│ │
|
|
38
|
+
│ 1. Parse URL hash: │
|
|
39
|
+
│ token=..., state=... │
|
|
40
|
+
│ 2. Get account/project from │
|
|
41
|
+
│ URL (?a=...&p=...) or │
|
|
42
|
+
│ localStorage │
|
|
43
|
+
│ 3. Clear URL hash │
|
|
44
|
+
│ 4. Setup idempotency guard │
|
|
45
|
+
│ 5. Create new UserSession │
|
|
46
|
+
│ (authToken = undefined) │
|
|
47
|
+
└──────────┬──────────────────┘
|
|
48
|
+
│
|
|
49
|
+
▼
|
|
50
|
+
┌─────────────────────────────┐
|
|
51
|
+
│ Has token & state in URL? │
|
|
52
|
+
└─────┬───────────────┬───────┘
|
|
53
|
+
YES NO
|
|
54
|
+
│ │
|
|
55
|
+
┌───────────────────────────┘ └───────────────────────────┐
|
|
56
|
+
▼ ▼
|
|
57
|
+
┌────────────────────┐ ┌────────────────────┐
|
|
58
|
+
│ ═══════════════════│ │ ═══════════════════│
|
|
59
|
+
│ PATH A: TOKEN FLOW │ │ PATH B: NO TOKEN │
|
|
60
|
+
│ ═══════════════════│ │ ═══════════════════│
|
|
61
|
+
│ │ │ │
|
|
62
|
+
│ (Returning from │ │ (First load or │
|
|
63
|
+
│ central auth) │ │ no URL token) │
|
|
64
|
+
└────────┬───────────┘ └────────┬───────────┘
|
|
65
|
+
│ │
|
|
66
|
+
▼ ▼
|
|
67
|
+
┌────────────────────┐ ┌────────────────────┐
|
|
68
|
+
│ verifyState() │ │ Setup Firebase │
|
|
69
|
+
└────┬───────────┬───┘ │ onAuthStateChanged │
|
|
70
|
+
YES NO │ listener │
|
|
71
|
+
│ │ └────────┬───────────┘
|
|
72
|
+
│ ▼ │
|
|
73
|
+
│ ┌────────────────┐ │
|
|
74
|
+
│ │ Invalid state! │ │
|
|
75
|
+
│ │ Log error │ │
|
|
76
|
+
│ │ Show │ │
|
|
77
|
+
│ │ SigninScreen │ │
|
|
78
|
+
│ └────────────────┘ │
|
|
79
|
+
│ │
|
|
80
|
+
▼ ▼
|
|
81
|
+
┌────────────────────┐ ┌────────────────────────┐
|
|
82
|
+
│ clearState() │ │ Show SigninScreen │
|
|
83
|
+
└────────┬───────────┘ │ │
|
|
84
|
+
│ │ shouldRedirectTo │
|
|
85
|
+
▼ │ CentralAuth()? │
|
|
86
|
+
┌────────────────────┐ └──────┬─────────────────┘
|
|
87
|
+
│ getComposableToken │ YES
|
|
88
|
+
│ (with URL token) │ │
|
|
89
|
+
│ │ ▼
|
|
90
|
+
│ IMPORTANT: │ ┌──────────────────────────┐
|
|
91
|
+
│ This token is │ │ Show "Continue with │
|
|
92
|
+
│ already a │ │ Central Auth" button │
|
|
93
|
+
│ VERTESIA JWT! │ │ │
|
|
94
|
+
└────────┬───────────┘ │ OR │
|
|
95
|
+
│ │ │
|
|
96
|
+
▼ │ Show login options: │
|
|
97
|
+
┌────────────────────┐ │ - GoogleSignInButton │
|
|
98
|
+
│ SUCCESS? │ │ - GitHubSignInButton │
|
|
99
|
+
└────┬───────────┬───┘ │ - MicrosoftSignInButton │
|
|
100
|
+
YES NO │ - EnterpriseSigninButton │
|
|
101
|
+
│ │ └──────┬───────────────────┘
|
|
102
|
+
│ ▼ │
|
|
103
|
+
│ ┌──────────────────┐ │
|
|
104
|
+
│ │ Error Type? │ ┌───────────────┴───────────────┐
|
|
105
|
+
│ └──┬───────────┬───┘ │ │
|
|
106
|
+
│ │ │ ┌───────▼────────┐ ┌──────────────┐ │
|
|
107
|
+
│ UserNot Other │ OPTION 1: │ │ OPTION 2: │ │
|
|
108
|
+
│ Found Error │ CENTRAL AUTH │ │ STANDARD │ │
|
|
109
|
+
│ │ │ │ (OAuth-like) │ │ SIGNIN │ │
|
|
110
|
+
│ ▼ ▼ └───────┬────────┘ └──────┬───────┘ │
|
|
111
|
+
│ ┌───────┐ ┌──────────────────┐ │ │ │
|
|
112
|
+
│ │ Show │ │ Show SigninScreen│ │ │ │
|
|
113
|
+
│ │signup │ │ with error msg │ │ │ │
|
|
114
|
+
│ │ flow │ │ (authError set) │ │ ┌────▼──────────▼────┐
|
|
115
|
+
│ └───────┘ └──────────────────┘ │ │ OPTION 3: │
|
|
116
|
+
│ │ │ SSO SIGNIN (SAML) │
|
|
117
|
+
│ │ └────┬───────────────┘
|
|
118
|
+
▼ │ │
|
|
119
|
+
┌────────────────────┐ │ │
|
|
120
|
+
│ session.login(JWT) │ ◄──────────────────┼───────────────────┘
|
|
121
|
+
│ │ │
|
|
122
|
+
│ Inside login(): │ │
|
|
123
|
+
│ 1. authError=undef │ │
|
|
124
|
+
│ 2. isLoading=false │ │
|
|
125
|
+
│ 3. Decode JWT │ │
|
|
126
|
+
│ 4. Set auth │ │
|
|
127
|
+
│ callback │ │
|
|
128
|
+
│ 5. Save to │ │
|
|
129
|
+
│ localStorage │ │
|
|
130
|
+
│ 6. Notify │ │
|
|
131
|
+
│ Env.onLogin() │ │
|
|
132
|
+
│ 7. Promise.all([ │ │
|
|
133
|
+
│ _loadTypes(), │ │
|
|
134
|
+
│ fetchOnboard │ │
|
|
135
|
+
│ ingStatus() │ │
|
|
136
|
+
│ ]) │ │
|
|
137
|
+
└────────┬───────────┘ │
|
|
138
|
+
│ │
|
|
139
|
+
▼ │
|
|
140
|
+
┌────────────────────┐ │
|
|
141
|
+
│ setSession() │ │
|
|
142
|
+
│ Update state │ │
|
|
143
|
+
│ │ │
|
|
144
|
+
│ USER LOGGED IN! │ │
|
|
145
|
+
│ Show main app │ │
|
|
146
|
+
└────────────────────┘ │
|
|
147
|
+
│
|
|
148
|
+
│
|
|
149
|
+
┌──────────────────────────────────────────┼──────────────────────────────────┐
|
|
150
|
+
│ │ │
|
|
151
|
+
│ DETAILED: SIGNIN OPTIONS │ │
|
|
152
|
+
│ │ │
|
|
153
|
+
└──────────────────────────────────────────┼──────────────────────────────────┘
|
|
154
|
+
│
|
|
155
|
+
┌───────────────────────────────┴────────────────────────┐
|
|
156
|
+
│ │
|
|
157
|
+
▼ │
|
|
158
|
+
┌────────────────────────┐ ┌────────────────────────┐ ┌─────▼─────────────┐
|
|
159
|
+
│ OPTION 1: │ │ OPTION 2: │ │ OPTION 3: │
|
|
160
|
+
│ CENTRAL AUTH │ │ STANDARD SIGNIN │ │ SSO SIGNIN │
|
|
161
|
+
│ ═════════════ │ │ ═══════════════ │ │ ══════════ │
|
|
162
|
+
└────────┬───────────────┘ └────────┬───────────────┘ └─────┬─────────────┘
|
|
163
|
+
│ │ │
|
|
164
|
+
▼ ▼ ▼
|
|
165
|
+
┌──────────────────────┐ ┌──────────────────────┐ ┌──────────────────────┐
|
|
166
|
+
│ Generate state │ │ User clicks: │ │ User enters: │
|
|
167
|
+
│ Save to session │ │ - Google │ │ - Company email │
|
|
168
|
+
│ Storage (5 min) │ │ - GitHub │ │ or domain │
|
|
169
|
+
└──────────┬───────────┘ │ - Microsoft │ └──────────┬───────────┘
|
|
170
|
+
│ └──────────┬───────────┘ │
|
|
171
|
+
▼ │ ▼
|
|
172
|
+
┌──────────────────────┐ │ ┌──────────────────────┐
|
|
173
|
+
│ Get account/ │ ▼ │ Lookup SSO │
|
|
174
|
+
│ project from URL or │ ┌──────────────────────┐ │ provider config │
|
|
175
|
+
│ localStorage │ │ Call Firebase: │ │ for domain │
|
|
176
|
+
└──────────┬───────────┘ │ signInWith...() │ └──────────┬───────────┘
|
|
177
|
+
│ │ - Google │ │
|
|
178
|
+
▼ │ - GitHub │ ▼
|
|
179
|
+
┌──────────────────────┐ │ - Microsoft │ ┌──────────────────────┐
|
|
180
|
+
│ Build redirect URL: │ └──────────┬───────────┘ │ Redirect to SSO │
|
|
181
|
+
│ │ │ │ provider (Okta, │
|
|
182
|
+
│ internal-auth │ ▼ │ Azure AD, etc.) │
|
|
183
|
+
│ .vertesia.app │ ┌──────────────────────┐ └──────────┬───────────┘
|
|
184
|
+
│ ?sts=... │ │ Firebase OAuth │ │
|
|
185
|
+
│ &redirect_uri=... │ │ redirect & return │ ▼
|
|
186
|
+
│ &state=... │ └──────────┬───────────┘ ┌──────────────────────┐
|
|
187
|
+
└──────────┬───────────┘ │ │ User auth at SSO │
|
|
188
|
+
│ ▼ └──────────┬───────────┘
|
|
189
|
+
▼ ┌──────────────────────┐ │
|
|
190
|
+
┌──────────────────────┐ │ Firebase auth │ ▼
|
|
191
|
+
│ window.location │ │ success! │ ┌──────────────────────┐
|
|
192
|
+
│ .replace() to │ │ │ │ SAML response │
|
|
193
|
+
│ central auth │ │ Firebase creates │ │ back to app │
|
|
194
|
+
└──────────┬───────────┘ │ session │ └──────────┬───────────┘
|
|
195
|
+
│ └──────────┬───────────┘ │
|
|
196
|
+
▼ │ ▼
|
|
197
|
+
┌──────────────────────┐ │ ┌──────────────────────┐
|
|
198
|
+
│ Central Auth Page │ │ │ Exchange SAML for │
|
|
199
|
+
│ │ │ │ Firebase custom │
|
|
200
|
+
│ User authenticates │ │ │ token │
|
|
201
|
+
│ Gets Firebase token │ │ └──────────┬───────────┘
|
|
202
|
+
└──────────┬───────────┘ │ │
|
|
203
|
+
│ │ ▼
|
|
204
|
+
▼ │ ┌──────────────────────┐
|
|
205
|
+
┌──────────────────────┐ │ │ Sign in to Firebase │
|
|
206
|
+
│ Central auth calls │ │ │ with custom token │
|
|
207
|
+
│ STS server: │ │ └──────────┬───────────┘
|
|
208
|
+
│ │ │ │
|
|
209
|
+
│ POST │ │ │
|
|
210
|
+
│ sts.vertesia.io │ │ │
|
|
211
|
+
│ /token/issue │ │ │
|
|
212
|
+
│ │ │ │
|
|
213
|
+
│ Authorization: │ │ │
|
|
214
|
+
│ Bearer <Firebase> │ │ │
|
|
215
|
+
│ │ │ │
|
|
216
|
+
│ Body: { │ │ │
|
|
217
|
+
│ type: 'user', │ │ │
|
|
218
|
+
│ account_id, │ │ │
|
|
219
|
+
│ project_id │ │ │
|
|
220
|
+
│ } │ │ │
|
|
221
|
+
└──────────┬───────────┘ │ │
|
|
222
|
+
│ │ │
|
|
223
|
+
▼ │ │
|
|
224
|
+
┌──────────────────────┐ │ │
|
|
225
|
+
│ STS validates │ │ │
|
|
226
|
+
│ Firebase token and │ │ │
|
|
227
|
+
│ generates Vertesia │ │ │
|
|
228
|
+
│ JWT │ │ │
|
|
229
|
+
└──────────┬───────────┘ │ │
|
|
230
|
+
│ │ │
|
|
231
|
+
▼ │ │
|
|
232
|
+
┌──────────────────────┐ │ │
|
|
233
|
+
│ Redirect back to app │ │ │
|
|
234
|
+
│ with: │ │ │
|
|
235
|
+
│ │ │ │
|
|
236
|
+
│ #token=<VERTESIA_JWT>│ │ │
|
|
237
|
+
│ &state=<state> │ │ │
|
|
238
|
+
└──────────┬───────────┘ │ │
|
|
239
|
+
│ │ │
|
|
240
|
+
│ ▼ ▼
|
|
241
|
+
│ ┌────────────────────────────────────────────┐
|
|
242
|
+
│ │ ★ TRIGGERS onAuthStateChanged listener ★ │
|
|
243
|
+
│ │ │
|
|
244
|
+
│ │ This Firebase listener is triggered by: │
|
|
245
|
+
│ │ │
|
|
246
|
+
│ │ 1. Page load/mount (always) │
|
|
247
|
+
│ │ │
|
|
248
|
+
│ │ 2. Firebase sign-in from: │
|
|
249
|
+
│ │ - Google/GitHub/MS OAuth (Option 2) │
|
|
250
|
+
│ │ - Enterprise SSO/SAML (Option 3) │
|
|
251
|
+
│ │ │
|
|
252
|
+
│ │ 3. Firebase sign-out (session.logout()) │
|
|
253
|
+
│ │ │
|
|
254
|
+
│ │ 4. Token refresh/expiry (automatic) │
|
|
255
|
+
│ └────────────┬───────────────────────────────┘
|
|
256
|
+
│ │
|
|
257
|
+
│ ▼
|
|
258
|
+
│ ┌────────────────────────────────┐
|
|
259
|
+
│ │ Firebase user exists? │
|
|
260
|
+
│ └─────┬──────────────────┬───────┘
|
|
261
|
+
│ YES NO
|
|
262
|
+
│ │ │
|
|
263
|
+
│ ▼ ▼
|
|
264
|
+
│ ┌────────────────────┐ ┌────────────────────┐
|
|
265
|
+
│ │ RETURNING USER │ │ NEW/LOGGED OUT │
|
|
266
|
+
│ │ │ │ USER │
|
|
267
|
+
│ │ getComposableToken │ │ │
|
|
268
|
+
│ │ calls STS: │ │ session.authToken │
|
|
269
|
+
│ │ │ │ stays undefined │
|
|
270
|
+
│ │ POST │ │ │
|
|
271
|
+
│ │ sts.vertesia.io │ │ SigninScreen shows │
|
|
272
|
+
│ │ /token/issue │ │ (!session||!user) │
|
|
273
|
+
│ │ │ └────────────────────┘
|
|
274
|
+
│ │ Authorization: │
|
|
275
|
+
│ │ Bearer <Firebase> │
|
|
276
|
+
│ │ │
|
|
277
|
+
│ │ Body: { │
|
|
278
|
+
│ │ type: 'user', │
|
|
279
|
+
│ │ account_id, │
|
|
280
|
+
│ │ project_id │
|
|
281
|
+
│ │ } │
|
|
282
|
+
│ │ │
|
|
283
|
+
│ │ STS returns │
|
|
284
|
+
│ │ Vertesia JWT │
|
|
285
|
+
│ └────────┬───────────┘
|
|
286
|
+
│ │
|
|
287
|
+
│ ▼
|
|
288
|
+
│ ┌────────────────────┐
|
|
289
|
+
│ │ session.login(JWT) │
|
|
290
|
+
│ └────────┬───────────┘
|
|
291
|
+
│ │
|
|
292
|
+
│ ▼
|
|
293
|
+
│ ┌────────────────────┐
|
|
294
|
+
│ │ SUCCESS? │
|
|
295
|
+
│ └────┬───────────┬───┘
|
|
296
|
+
│ YES NO
|
|
297
|
+
│ │ │
|
|
298
|
+
│ │ ▼
|
|
299
|
+
│ │ ┌──────────────────┐
|
|
300
|
+
│ │ │ UserNotFoundError│
|
|
301
|
+
│ │ │ → Show signup │
|
|
302
|
+
│ │ │ │
|
|
303
|
+
│ │ │ Other Error │
|
|
304
|
+
│ │ │ → logout() │
|
|
305
|
+
│ │ │ → Show error │
|
|
306
|
+
│ │ └──────────────────┘
|
|
307
|
+
│ │
|
|
308
|
+
│ ▼
|
|
309
|
+
│ ┌────────────────────┐
|
|
310
|
+
│ │ Update state │
|
|
311
|
+
│ │ User logged in │
|
|
312
|
+
│ │ Show main app │
|
|
313
|
+
│ └────────────────────┘
|
|
314
|
+
│ │
|
|
315
|
+
└────────────────┘
|
|
316
|
+
│
|
|
317
|
+
▼
|
|
318
|
+
┌────────────────────┐
|
|
319
|
+
│ ═══════════════════│
|
|
320
|
+
│ ALL PATHS END HERE │
|
|
321
|
+
│ ═══════════════════│
|
|
322
|
+
│ │
|
|
323
|
+
│ User authenticated │
|
|
324
|
+
│ Main app shown │
|
|
325
|
+
└────────────────────┘
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
## Key Differences Between Authentication Paths
|
|
329
|
+
|
|
330
|
+
### Path A: Central Auth (Option 1) - Returns with JWT
|
|
331
|
+
1. User clicks "Continue with Central Auth"
|
|
332
|
+
2. Redirects to internal-auth.vertesia.app
|
|
333
|
+
3. Central auth authenticates user and gets Firebase token
|
|
334
|
+
4. **Central auth calls STS** (`POST sts.vertesia.io/token/issue` with Firebase token)
|
|
335
|
+
5. **STS validates Firebase token and generates Vertesia JWT**
|
|
336
|
+
6. Returns with **Vertesia JWT** in URL hash
|
|
337
|
+
7. UserSessionProvider processes JWT directly → `session.login(JWT)`
|
|
338
|
+
8. **onAuthStateChanged may fire separately but login already happened**
|
|
339
|
+
|
|
340
|
+
### Path B: Standard/SSO (Options 2 & 3) - Firebase First
|
|
341
|
+
1. User clicks provider button (Google/GitHub/Microsoft/Enterprise)
|
|
342
|
+
2. Firebase authentication flow (OAuth or SAML)
|
|
343
|
+
3. **Firebase creates session (NO token in URL)**
|
|
344
|
+
4. **onAuthStateChanged fires FIRST**
|
|
345
|
+
5. Listener calls `getComposableToken()` which **calls STS** (`POST sts.vertesia.io/token/issue` with Firebase token)
|
|
346
|
+
6. **STS validates Firebase token and generates Vertesia JWT**
|
|
347
|
+
7. Then calls `session.login(JWT)`
|
|
348
|
+
|
|
349
|
+
### Summary Table
|
|
350
|
+
|
|
351
|
+
| Aspect | Central Auth (Option 1) | Standard/SSO (Options 2 & 3) |
|
|
352
|
+
|--------|------------------------|------------------------------|
|
|
353
|
+
| **Token in URL?** | YES - Vertesia JWT | NO |
|
|
354
|
+
| **Initial trigger** | URL token processing | onAuthStateChanged listener |
|
|
355
|
+
| **Who calls STS?** | Central auth server | Your app (in onAuthStateChanged) |
|
|
356
|
+
| **STS call location** | Server-side (central auth) | Client-side (browser) |
|
|
357
|
+
| **Firebase session** | Created by central auth | Created directly by Firebase |
|
|
358
|
+
| **Login order** | 1. session.login()<br>2. onAuthStateChanged fires | 1. onAuthStateChanged fires<br>2. session.login() |
|
|
359
|
+
|
|
360
|
+
---
|
|
361
|
+
|
|
362
|
+
## Signup Flow (UserNotFoundError)
|
|
363
|
+
|
|
364
|
+
```
|
|
365
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
366
|
+
│ UserNotFoundError Handling │
|
|
367
|
+
└────────────────────────────────────────────┬────────────────────────────────┘
|
|
368
|
+
│
|
|
369
|
+
▼
|
|
370
|
+
┌─────────────────────────────┐
|
|
371
|
+
│ getComposableToken() │
|
|
372
|
+
│ returns UserNotFoundError │
|
|
373
|
+
│ │
|
|
374
|
+
│ This means: Firebase user │
|
|
375
|
+
│ exists but no Vertesia user │
|
|
376
|
+
└──────────┬──────────────────┘
|
|
377
|
+
│
|
|
378
|
+
▼
|
|
379
|
+
┌─────────────────────────────┐
|
|
380
|
+
│ Set state: │
|
|
381
|
+
│ - isLoading = false │
|
|
382
|
+
│ - authError = err │
|
|
383
|
+
│ - Do NOT logout() │
|
|
384
|
+
│ - Do NOT redirect │
|
|
385
|
+
└──────────┬──────────────────┘
|
|
386
|
+
│
|
|
387
|
+
▼
|
|
388
|
+
┌─────────────────────────────┐
|
|
389
|
+
│ SigninScreen detects │
|
|
390
|
+
│ UserNotFoundError via │
|
|
391
|
+
│ useEffect │
|
|
392
|
+
└──────────┬──────────────────┘
|
|
393
|
+
│
|
|
394
|
+
▼
|
|
395
|
+
┌─────────────────────────────┐
|
|
396
|
+
│ setCollectSignupData(true) │
|
|
397
|
+
│ │
|
|
398
|
+
│ Shows SignupForm component │
|
|
399
|
+
└──────────┬──────────────────┘
|
|
400
|
+
│
|
|
401
|
+
▼
|
|
402
|
+
┌─────────────────────────────┐
|
|
403
|
+
│ SignupForm Component │
|
|
404
|
+
│ │
|
|
405
|
+
│ User fills in: │
|
|
406
|
+
│ - Name │
|
|
407
|
+
│ - Organization │
|
|
408
|
+
│ - Other signup data │
|
|
409
|
+
└──────────┬──────────────────┘
|
|
410
|
+
│
|
|
411
|
+
▼
|
|
412
|
+
┌─────────────────────────────┐
|
|
413
|
+
│ onSignup() called │
|
|
414
|
+
│ │
|
|
415
|
+
│ Build SignupPayload: │
|
|
416
|
+
│ - signupData │
|
|
417
|
+
│ - firebaseToken │
|
|
418
|
+
└──────────┬──────────────────┘
|
|
419
|
+
│
|
|
420
|
+
▼
|
|
421
|
+
┌─────────────────────────────┐
|
|
422
|
+
│ POST /auth/signup │
|
|
423
|
+
│ │
|
|
424
|
+
│ Server creates: │
|
|
425
|
+
│ - Vertesia user │
|
|
426
|
+
│ - Default account │
|
|
427
|
+
│ - Default project │
|
|
428
|
+
└──────────┬──────────────────┘
|
|
429
|
+
│
|
|
430
|
+
▼
|
|
431
|
+
┌─────────────────────────────┐
|
|
432
|
+
│ trackEvent("sign_up") │
|
|
433
|
+
│ │
|
|
434
|
+
│ window.location.href = "/" │
|
|
435
|
+
│ │
|
|
436
|
+
│ (Full page reload triggers │
|
|
437
|
+
│ normal auth flow) │
|
|
438
|
+
└─────────────────────────────┘
|
|
439
|
+
```
|
|
440
|
+
|
|
441
|
+
---
|
|
442
|
+
|
|
443
|
+
## Logout Flow
|
|
444
|
+
|
|
445
|
+
```
|
|
446
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
447
|
+
│ User Logout │
|
|
448
|
+
└────────────────────────────────────────────┬────────────────────────────────┘
|
|
449
|
+
│
|
|
450
|
+
▼
|
|
451
|
+
┌─────────────────────────────┐
|
|
452
|
+
│ session.logout() or │
|
|
453
|
+
│ session.signOut() │
|
|
454
|
+
└──────────┬──────────────────┘
|
|
455
|
+
│
|
|
456
|
+
▼
|
|
457
|
+
┌─────────────────────────────┐
|
|
458
|
+
│ Check: authToken exists? │
|
|
459
|
+
└──────────┬──────────────────┘
|
|
460
|
+
YES
|
|
461
|
+
│
|
|
462
|
+
▼
|
|
463
|
+
┌─────────────────────────────┐
|
|
464
|
+
│ shouldRedirectToCentralAuth │
|
|
465
|
+
│ ()? │
|
|
466
|
+
└──────┬────────────┬─────────┘
|
|
467
|
+
YES NO
|
|
468
|
+
│ │
|
|
469
|
+
┌───────────┘ └──────────┐
|
|
470
|
+
▼ ▼
|
|
471
|
+
┌──────────────────────┐ ┌──────────────────────┐
|
|
472
|
+
│ Redirect to Central │ │ getFirebaseAuth() │
|
|
473
|
+
│ Auth for logout: │ │ .signOut() │
|
|
474
|
+
│ │ │ │
|
|
475
|
+
│ internal-auth │ │ (Triggers │
|
|
476
|
+
│ .vertesia.app │ │ onAuthStateChanged │
|
|
477
|
+
│ /logout │ │ with anonymous user)│
|
|
478
|
+
│ │ └──────────┬───────────┘
|
|
479
|
+
│ (Central auth │ │
|
|
480
|
+
│ handles Firebase │ │
|
|
481
|
+
│ logout) │ │
|
|
482
|
+
└──────────┬───────────┘ │
|
|
483
|
+
│ │
|
|
484
|
+
└────────────┬───────────────────┘
|
|
485
|
+
│
|
|
486
|
+
▼
|
|
487
|
+
┌─────────────────────────────┐
|
|
488
|
+
│ Clear session data: │
|
|
489
|
+
│ - authError = undefined │
|
|
490
|
+
│ - isLoading = false │
|
|
491
|
+
│ - authToken = undefined │
|
|
492
|
+
│ - typeRegistry = undefined │
|
|
493
|
+
└──────────┬──────────────────┘
|
|
494
|
+
│
|
|
495
|
+
▼
|
|
496
|
+
┌─────────────────────────────┐
|
|
497
|
+
│ client.withAuthCallback │
|
|
498
|
+
│ (undefined) │
|
|
499
|
+
│ │
|
|
500
|
+
│ (Clear client auth) │
|
|
501
|
+
└──────────┬──────────────────┘
|
|
502
|
+
│
|
|
503
|
+
▼
|
|
504
|
+
┌─────────────────────────────┐
|
|
505
|
+
│ setSession(this.clone()) │
|
|
506
|
+
│ │
|
|
507
|
+
│ React re-render triggers │
|
|
508
|
+
│ SigninScreen display │
|
|
509
|
+
└─────────────────────────────┘
|
|
510
|
+
```
|
|
511
|
+
|
|
512
|
+
---
|
|
513
|
+
|
|
514
|
+
## Account/Project Switching
|
|
515
|
+
|
|
516
|
+
```
|
|
517
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
518
|
+
│ Account/Project Switching │
|
|
519
|
+
└────────────────────────────────────────┬────────────────────────────────────┘
|
|
520
|
+
│
|
|
521
|
+
┌────────────────┴────────────────┐
|
|
522
|
+
│ │
|
|
523
|
+
▼ ▼
|
|
524
|
+
┌────────────────────┐ ┌────────────────────┐
|
|
525
|
+
│ switchAccount(id) │ │ switchProject(id) │
|
|
526
|
+
└──────────┬─────────┘ └──────────┬─────────┘
|
|
527
|
+
│ │
|
|
528
|
+
▼ ▼
|
|
529
|
+
┌────────────────────┐ ┌────────────────────┐
|
|
530
|
+
│ Save to │ │ Save to │
|
|
531
|
+
│ localStorage: │ │ localStorage: │
|
|
532
|
+
│ - LastSelected │ │ - LastSelected │
|
|
533
|
+
│ AccountId │ │ ProjectId │
|
|
534
|
+
│ - LastSelected │ │ (per account) │
|
|
535
|
+
│ ProjectId │ └──────────┬─────────┘
|
|
536
|
+
│ (for current) │ │
|
|
537
|
+
└──────────┬─────────┘ │
|
|
538
|
+
│ │
|
|
539
|
+
▼ ▼
|
|
540
|
+
┌────────────────────┐ ┌────────────────────┐
|
|
541
|
+
│ window.location │ │ window.location │
|
|
542
|
+
│ .replace( │ │ .replace( │
|
|
543
|
+
│ '/?a=' + id) │ │ '/?a=' + acct │
|
|
544
|
+
│ │ │ '&p=' + proj) │
|
|
545
|
+
│ Full page reload │ │ │
|
|
546
|
+
└──────────┬─────────┘ │ Full page reload │
|
|
547
|
+
│ └──────────┬─────────┘
|
|
548
|
+
│ │
|
|
549
|
+
└───────────┬───────────────────┘
|
|
550
|
+
│
|
|
551
|
+
▼
|
|
552
|
+
┌─────────────────────────────┐
|
|
553
|
+
│ UserSessionProvider mounts │
|
|
554
|
+
│ with new account/project │
|
|
555
|
+
│ from URL params │
|
|
556
|
+
│ │
|
|
557
|
+
│ Firebase listener triggers │
|
|
558
|
+
│ getComposableToken with │
|
|
559
|
+
│ new selection │
|
|
560
|
+
└─────────────────────────────┘
|
|
561
|
+
```
|
|
562
|
+
|
|
563
|
+
---
|
|
564
|
+
|
|
565
|
+
## Key Implementation Details
|
|
566
|
+
|
|
567
|
+
### State Validation (CSRF Protection)
|
|
568
|
+
|
|
569
|
+
```typescript
|
|
570
|
+
// generateState() creates random string, stores in sessionStorage with 5 min TTL
|
|
571
|
+
const state = crypto.randomUUID();
|
|
572
|
+
sessionStorage.setItem('auth_state', JSON.stringify({
|
|
573
|
+
state,
|
|
574
|
+
timestamp: Date.now()
|
|
575
|
+
}));
|
|
576
|
+
|
|
577
|
+
// verifyState() checks:
|
|
578
|
+
// 1. State exists in sessionStorage
|
|
579
|
+
// 2. Matches URL parameter
|
|
580
|
+
// 3. Not expired (< 5 minutes old)
|
|
581
|
+
```
|
|
582
|
+
|
|
583
|
+
### Account/Project Selection Priority
|
|
584
|
+
|
|
585
|
+
```typescript
|
|
586
|
+
// 1. URL params (highest priority)
|
|
587
|
+
const accountId = searchParams.get('a')
|
|
588
|
+
// 2. localStorage (fallback)
|
|
589
|
+
?? localStorage.getItem(LastSelectedAccountId_KEY)
|
|
590
|
+
// 3. undefined (will use default)
|
|
591
|
+
?? undefined;
|
|
592
|
+
|
|
593
|
+
const projectId = searchParams.get('p')
|
|
594
|
+
?? localStorage.getItem(LastSelectedProjectId_KEY + '-' + accountId)
|
|
595
|
+
?? undefined;
|
|
596
|
+
```
|
|
597
|
+
|
|
598
|
+
### Session.login() Internal Flow
|
|
599
|
+
|
|
600
|
+
```typescript
|
|
601
|
+
async login(token: string) {
|
|
602
|
+
// 1. Clear any previous errors
|
|
603
|
+
this.authError = undefined;
|
|
604
|
+
this.isLoading = false;
|
|
605
|
+
|
|
606
|
+
// 2. Setup auth callback for API client
|
|
607
|
+
this.client.withAuthCallback(() => this.authCallback);
|
|
608
|
+
|
|
609
|
+
// 3. Decode JWT to get user info
|
|
610
|
+
this.authToken = jwtDecode(token);
|
|
611
|
+
|
|
612
|
+
// 4. Save selections to localStorage
|
|
613
|
+
localStorage.setItem(LastSelectedAccountId_KEY, this.authToken.account.id);
|
|
614
|
+
localStorage.setItem(
|
|
615
|
+
LastSelectedProjectId_KEY + '-' + this.authToken.account.id,
|
|
616
|
+
this.authToken.project?.id ?? ''
|
|
617
|
+
);
|
|
618
|
+
|
|
619
|
+
// 5. Notify host app
|
|
620
|
+
Env.onLogin?.(this.authToken);
|
|
621
|
+
|
|
622
|
+
// 6. Load types and onboarding in parallel
|
|
623
|
+
await Promise.all([
|
|
624
|
+
this._loadTypes(),
|
|
625
|
+
this.fetchOnboardingStatus(),
|
|
626
|
+
]);
|
|
627
|
+
}
|
|
628
|
+
```
|
|
629
|
+
|
|
630
|
+
### Idempotency Guard
|
|
631
|
+
|
|
632
|
+
```typescript
|
|
633
|
+
// UserSessionProvider uses ref to prevent duplicate auth flow
|
|
634
|
+
const hasInitiatedAuthRef = useRef(false);
|
|
635
|
+
|
|
636
|
+
useEffect(() => {
|
|
637
|
+
if (hasInitiatedAuthRef.current) {
|
|
638
|
+
console.log("Auth: skipping duplicate auth flow initiation");
|
|
639
|
+
return;
|
|
640
|
+
}
|
|
641
|
+
hasInitiatedAuthRef.current = true;
|
|
642
|
+
// ... rest of auth flow
|
|
643
|
+
}, []);
|
|
644
|
+
```
|
|
645
|
+
|
|
646
|
+
---
|
|
647
|
+
|
|
648
|
+
## Environment Differences
|
|
649
|
+
|
|
650
|
+
The `shouldRedirectToCentralAuth()` function determines which signin UI to show:
|
|
651
|
+
|
|
652
|
+
```typescript
|
|
653
|
+
// Currently hardcoded to return true
|
|
654
|
+
export function shouldRedirectToCentralAuth() {
|
|
655
|
+
return true;
|
|
656
|
+
|
|
657
|
+
// Has logic for:
|
|
658
|
+
// if (Env.isDocker) return true;
|
|
659
|
+
// return devDomains.some(domain =>
|
|
660
|
+
// window.location.hostname.endsWith(domain)
|
|
661
|
+
// );
|
|
662
|
+
}
|
|
663
|
+
```
|
|
664
|
+
|
|
665
|
+
When `true`: Shows "Continue with Central Auth" button
|
|
666
|
+
When `false`: Shows Google/GitHub/Microsoft/Enterprise sign-in buttons
|
|
667
|
+
|
|
668
|
+
---
|
|
669
|
+
|
|
670
|
+
## Error Handling Summary
|
|
671
|
+
|
|
672
|
+
| Error Type | Flow | Action |
|
|
673
|
+
|------------|------|--------|
|
|
674
|
+
| **UserNotFoundError** | Token exchange | Show SignupForm, don't logout, don't redirect |
|
|
675
|
+
| **Invalid state** | State validation | Show SigninScreen with error |
|
|
676
|
+
| **Network/API error** | Token exchange | Show SigninScreen with error message |
|
|
677
|
+
| **Type loading error** | session.login() | Set authError, partial login (may show app with limitations) |
|
|
678
|
+
| **Onboarding fetch error** | session.login() | Log error, continue (onboardingComplete=false) |
|
|
679
|
+
|
|
680
|
+
---
|
|
681
|
+
|
|
682
|
+
## Storage Keys
|
|
683
|
+
|
|
684
|
+
- `LastSelectedAccountId_KEY`: Last selected account ID
|
|
685
|
+
- `LastSelectedProjectId_KEY-{accountId}`: Last selected project per account
|
|
686
|
+
- `auth_state`: State parameter for CSRF protection (sessionStorage, 5 min TTL)
|
|
687
|
+
|
|
688
|
+
---
|
|
689
|
+
|
|
690
|
+
## Complete Flow Diagram
|
|
691
|
+
|
|
692
|
+
### Full Authentication Flow (Mermaid)
|
|
693
|
+
|
|
694
|
+
```mermaid
|
|
695
|
+
flowchart TB
|
|
696
|
+
Start([APP LOADS NO AUTHENTICATION]) --> Mount[UserSessionProvider mounts<br/>1. Parse URL hash<br/>2. Get account/project<br/>3. Clear URL hash<br/>4. Setup idempotency<br/>5. Create UserSession]
|
|
697
|
+
Mount --> HasToken{Has token &<br/>state in URL?}
|
|
698
|
+
|
|
699
|
+
%% PATH B: NO TOKEN FLOW
|
|
700
|
+
HasToken -->|NO| PathB[PATH B: NO TOKEN FLOW<br/>First load or no URL token]
|
|
701
|
+
PathB --> SetupFirebase[Setup Firebase<br/>onAuthStateChanged<br/>listener]
|
|
702
|
+
SetupFirebase --> ShowSignin[Show SigninScreen]
|
|
703
|
+
ShowSignin --> ShouldRedirect{shouldRedirectTo<br/>CentralAuth?}
|
|
704
|
+
ShouldRedirect -->|YES| ShowCentral[Show Continue with<br/>Central Auth button]
|
|
705
|
+
ShouldRedirect -->|NO| ShowOptions[Show login options:<br/>- Google<br/>- GitHub<br/>- Microsoft<br/>- Enterprise]
|
|
706
|
+
|
|
707
|
+
%% Three authentication options
|
|
708
|
+
ShowCentral --> Option1
|
|
709
|
+
ShowOptions --> Option2
|
|
710
|
+
ShowOptions --> Option3
|
|
711
|
+
|
|
712
|
+
subgraph Option1[OPTION 1: CENTRAL AUTH]
|
|
713
|
+
C1[Generate state<br/>Save to sessionStorage]
|
|
714
|
+
C2[Get account/project<br/>from URL or localStorage]
|
|
715
|
+
C3[Build redirect URL:<br/>internal-auth.vertesia.app<br/>?sts=...&redirect_uri=...&state=...]
|
|
716
|
+
C4[window.location.replace<br/>to central auth]
|
|
717
|
+
C5[Central Auth Page<br/>User authenticates<br/>Gets Firebase token]
|
|
718
|
+
C6[Central auth calls STS:<br/>POST sts.vertesia.io/token/issue<br/>Authorization: Bearer Firebase<br/>Body: type, account_id, project_id]
|
|
719
|
+
C7[STS validates Firebase token<br/>and generates Vertesia JWT]
|
|
720
|
+
C8[Redirect back to app with:<br/>#token=VERTESIA_JWT&state=state]
|
|
721
|
+
|
|
722
|
+
C1 --> C2 --> C3 --> C4 --> C5 --> C6 --> C7 --> C8
|
|
723
|
+
end
|
|
724
|
+
|
|
725
|
+
subgraph Option2[OPTION 2: STANDARD SIGNIN]
|
|
726
|
+
S1[User clicks:<br/>Google/GitHub/Microsoft]
|
|
727
|
+
S2[Call Firebase:<br/>signInWith... OAuth]
|
|
728
|
+
S3[Firebase OAuth<br/>redirect & return]
|
|
729
|
+
S4[Firebase auth success!<br/>Firebase creates session]
|
|
730
|
+
|
|
731
|
+
S1 --> S2 --> S3 --> S4
|
|
732
|
+
end
|
|
733
|
+
|
|
734
|
+
subgraph Option3[OPTION 3: SSO SIGNIN SAML]
|
|
735
|
+
E1[User enters:<br/>Company email or domain]
|
|
736
|
+
E2[Lookup SSO<br/>provider config]
|
|
737
|
+
E3[Redirect to SSO provider<br/>Okta, Azure AD, etc.]
|
|
738
|
+
E4[User auth at SSO provider]
|
|
739
|
+
E5[SAML response back to app]
|
|
740
|
+
E6[Exchange SAML for<br/>Firebase custom token]
|
|
741
|
+
E7[Sign in to Firebase<br/>with custom token]
|
|
742
|
+
|
|
743
|
+
E1 --> E2 --> E3 --> E4 --> E5 --> E6 --> E7
|
|
744
|
+
end
|
|
745
|
+
|
|
746
|
+
%% PATH A: TOKEN FLOW - After redirect back
|
|
747
|
+
C8 --> PathA[PATH A: TOKEN FLOW<br/>Returning from central auth]
|
|
748
|
+
HasToken -->|YES| PathA
|
|
749
|
+
PathA --> VerifyState{verifyState?}
|
|
750
|
+
VerifyState -->|NO| InvalidState[Invalid state!<br/>Log error<br/>Show SigninScreen]
|
|
751
|
+
VerifyState -->|YES| ReturningUser[RETURNING USER<br/>getComposableToken calls STS:<br/>POST sts.vertesia.io/token/issue<br/>Authorization: Bearer Firebase<br/>Body: type, account_id, project_id<br/><br/>STS returns Vertesia JWT]
|
|
752
|
+
ClearState --> GetToken[getComposableToken<br/>with URL token<br/>This is already a<br/>VERTESIA JWT from STS]
|
|
753
|
+
GetToken --> TokenSuccess{SUCCESS?}
|
|
754
|
+
TokenSuccess -->|YES| SessionLogin[session.login JWT]
|
|
755
|
+
TokenSuccess -->|NO| TokenError{Error Type?}
|
|
756
|
+
TokenError -->|UserNotFound| SignupFlow
|
|
757
|
+
TokenError -->|Other| ShowError[Show SigninScreen<br/>with error msg]
|
|
758
|
+
|
|
759
|
+
subgraph SignupFlow[SIGNUP FLOW - UserNotFoundError]
|
|
760
|
+
SU1[Set state:<br/>- isLoading = false<br/>- authError = UserNotFoundError<br/>- Do NOT logout]
|
|
761
|
+
SU2[SigninScreen detects<br/>UserNotFoundError via useEffect]
|
|
762
|
+
SU3[setCollectSignupData true<br/>Shows SignupForm component]
|
|
763
|
+
SU4[User fills in:<br/>- Name<br/>- Organization<br/>- Other signup data]
|
|
764
|
+
SU5[onSignup called<br/>Build SignupPayload]
|
|
765
|
+
SU6[POST /auth/signup<br/><br/>Server creates:<br/>- Vertesia user<br/>- Default account<br/>- Default project]
|
|
766
|
+
SU7[trackEvent sign_up<br/>window.location.href = /<br/>Full page reload]
|
|
767
|
+
|
|
768
|
+
SU1 --> SU2 --> SU3 --> SU4 --> SU5 --> SU6 --> SU7
|
|
769
|
+
end
|
|
770
|
+
|
|
771
|
+
Start([User Logout]) --> Trigger[session.logout or<br/>session.signOut]
|
|
772
|
+
|
|
773
|
+
Trigger --> Check{authToken<br/>exists?}
|
|
774
|
+
|
|
775
|
+
Check -->|YES| ShouldRedirect{shouldRedirectTo<br/>CentralAuth?}
|
|
776
|
+
|
|
777
|
+
ShouldRedirect -->|YES| RedirectLogout[Redirect to Central Auth<br/>for logout<br/><br/>internal-auth.vertesia.app<br/>/logout<br/><br/>Central auth handles<br/>Firebase logout]
|
|
778
|
+
|
|
779
|
+
ShouldRedirect -->|NO| FirebaseSignout[getFirebaseAuth.signOut<br/><br/>Triggers onAuthStateChanged<br/>with anonymous user]
|
|
780
|
+
|
|
781
|
+
RedirectLogout --> ClearData[Clear session data:<br/>- authError = undefined<br/>- isLoading = false<br/>- authToken = undefined<br/>- typeRegistry = undefined]
|
|
782
|
+
|
|
783
|
+
FirebaseSignout --> ClearData
|
|
784
|
+
|
|
785
|
+
ClearData --> ClearClient[client.withAuthCallback<br/>undefined<br/><br/>Clear client auth]
|
|
786
|
+
|
|
787
|
+
ClearClient --> UpdateState[setSession this.clone<br/><br/>React re-render triggers<br/>SigninScreen display]
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
SU7 --> Converge
|
|
791
|
+
|
|
792
|
+
%% Convergence point
|
|
793
|
+
S4 --> FirebaseListener
|
|
794
|
+
E7 --> FirebaseListener
|
|
795
|
+
|
|
796
|
+
FirebaseListener[★ TRIGGERS onAuthStateChanged ★<br/>Triggered by:<br/>1. Page load/mount always<br/>2. Firebase sign-in Options 2 & 3<br/>3. Firebase sign-out<br/>4. Token refresh/expiry]
|
|
797
|
+
|
|
798
|
+
FirebaseListener --> FirebaseUser{Firebase user exists?}
|
|
799
|
+
|
|
800
|
+
FirebaseUser -->|NO| LoggedOut[NEW/LOGGED OUT USER<br/>session.authToken stays undefined<br/>SigninScreen shows]
|
|
801
|
+
|
|
802
|
+
LoggedOut --> ShowSignin
|
|
803
|
+
|
|
804
|
+
FirebaseUser -->|YES| ReturningUser[RETURNING USER<br/>getComposableToken calls STS:<br/>POST sts.vertesia.io/token/issue<br/>Authorization: Bearer Firebase<br/>Body: type, account_id, project_id<br/><br/>STS returns Vertesia JWT]
|
|
805
|
+
|
|
806
|
+
ReturningUser --> ReturningLogin[session.login JWT]
|
|
807
|
+
ReturningLogin --> ReturningSuccess{SUCCESS?}
|
|
808
|
+
ReturningSuccess -->|YES| UpdateState[Update state<br/>User logged in<br/>Show main app]
|
|
809
|
+
ReturningSuccess -->|NO| ReturningError{Error Type?}
|
|
810
|
+
ReturningError -->|UserNotFound| SignupFlow
|
|
811
|
+
ReturningError -->|Other| LogoutError[logout<br/>Show error]
|
|
812
|
+
|
|
813
|
+
%% Session login flow
|
|
814
|
+
SessionLogin --> LoginSteps[Inside login:<br/>1. authError=undefined<br/>2. isLoading=false<br/>3. Decode JWT<br/>4. Set auth callback<br/>5. Save to localStorage<br/>6. Notify Env.onLogin<br/>7. Promise.all loadTypes, fetchOnboarding]
|
|
815
|
+
LoginSteps --> SetSession[setSession<br/>Update state]
|
|
816
|
+
SetSession --> LoggedIn[USER LOGGED IN!<br/>Show main app]
|
|
817
|
+
|
|
818
|
+
UpdateState --> Converge[ALL PATHS END HERE<br/>User authenticated<br/>Main app shown]
|
|
819
|
+
LoggedIn --> Converge
|
|
820
|
+
|
|
821
|
+
style PathA fill:#e1f5ff
|
|
822
|
+
style PathB fill:#fff4e1
|
|
823
|
+
style Option1 fill:#f0f0f0
|
|
824
|
+
style Option2 fill:#f0f0f0
|
|
825
|
+
style Option3 fill:#f0f0f0
|
|
826
|
+
style Converge fill:#d4edda
|
|
827
|
+
style FirebaseListener fill:#fff3cd
|
|
828
|
+
```
|
|
829
|
+
|
|
830
|
+
---
|
|
831
|
+
|
|
832
|
+
## Sequence Diagrams
|
|
833
|
+
|
|
834
|
+
### Option 1: Central Auth Flow
|
|
835
|
+
|
|
836
|
+
```mermaid
|
|
837
|
+
sequenceDiagram
|
|
838
|
+
actor User
|
|
839
|
+
participant App as Composable UI
|
|
840
|
+
participant CentralAuth as Central Auth<br/>(internal-auth.vertesia.app)
|
|
841
|
+
participant Firebase as Firebase Auth
|
|
842
|
+
participant STS as STS<br/>(sts.vertesia.io)
|
|
843
|
+
|
|
844
|
+
User->>App: Navigate to app (no auth)
|
|
845
|
+
activate App
|
|
846
|
+
App->>App: Show SigninScreen
|
|
847
|
+
User->>App: Click 'Continue with Central Auth'
|
|
848
|
+
|
|
849
|
+
App->>App: generateState()<br/>(save to sessionStorage)
|
|
850
|
+
App->>CentralAuth: Redirect with state<br/>?sts=...&redirect_uri=...&state=...
|
|
851
|
+
activate CentralAuth
|
|
852
|
+
|
|
853
|
+
CentralAuth->>Firebase: Authenticate user
|
|
854
|
+
activate Firebase
|
|
855
|
+
Firebase-->>CentralAuth: Firebase ID token
|
|
856
|
+
deactivate Firebase
|
|
857
|
+
|
|
858
|
+
CentralAuth->>STS: POST /token/issue<br/>Authorization: Bearer {Firebase token}<br/>Body: {type:'user', account_id, project_id}
|
|
859
|
+
activate STS
|
|
860
|
+
STS->>STS: Validate Firebase token
|
|
861
|
+
STS->>STS: Generate Vertesia JWT
|
|
862
|
+
STS-->>CentralAuth: Vertesia JWT
|
|
863
|
+
deactivate STS
|
|
864
|
+
|
|
865
|
+
CentralAuth->>App: Redirect back<br/>#token={JWT}&state={state}
|
|
866
|
+
deactivate CentralAuth
|
|
867
|
+
|
|
868
|
+
App->>App: verifyState()
|
|
869
|
+
App->>App: clearState()
|
|
870
|
+
App->>App: getComposableToken(JWT from URL)
|
|
871
|
+
App->>App: session.login(JWT)
|
|
872
|
+
App->>App: Show main app
|
|
873
|
+
deactivate App
|
|
874
|
+
```
|
|
875
|
+
|
|
876
|
+
### Option 2: Standard Sign-in (Google/GitHub/Microsoft)
|
|
877
|
+
|
|
878
|
+
```mermaid
|
|
879
|
+
sequenceDiagram
|
|
880
|
+
actor User
|
|
881
|
+
participant App as Composable UI
|
|
882
|
+
participant Firebase as Firebase Auth
|
|
883
|
+
participant Provider as OAuth Provider<br/>(Google/GitHub/Microsoft)
|
|
884
|
+
participant STS as STS<br/>(sts.vertesia.io)
|
|
885
|
+
|
|
886
|
+
User->>App: Navigate to app (no auth)
|
|
887
|
+
activate App
|
|
888
|
+
App->>App: Show SigninScreen
|
|
889
|
+
App->>App: Setup onAuthStateChanged listener
|
|
890
|
+
User->>App: Click provider button (e.g., Google)
|
|
891
|
+
|
|
892
|
+
App->>Firebase: signInWithPopup(GoogleAuthProvider)
|
|
893
|
+
activate Firebase
|
|
894
|
+
Firebase->>Provider: OAuth redirect
|
|
895
|
+
activate Provider
|
|
896
|
+
Provider->>User: Show provider login page
|
|
897
|
+
User->>Provider: Authenticate & consent
|
|
898
|
+
Provider-->>Firebase: OAuth credentials
|
|
899
|
+
deactivate Provider
|
|
900
|
+
Firebase->>Firebase: Create Firebase session
|
|
901
|
+
Firebase-->>App: Firebase auth success
|
|
902
|
+
|
|
903
|
+
Note over App,Firebase: onAuthStateChanged fires
|
|
904
|
+
Firebase->>App: User object (with ID token)
|
|
905
|
+
deactivate Firebase
|
|
906
|
+
|
|
907
|
+
App->>App: getComposableToken()
|
|
908
|
+
App->>Firebase: Get ID token from current user
|
|
909
|
+
activate Firebase
|
|
910
|
+
Firebase-->>App: Firebase ID token
|
|
911
|
+
deactivate Firebase
|
|
912
|
+
|
|
913
|
+
App->>STS: POST /token/issue<br/>Authorization: Bearer {Firebase token}<br/>Body: {type:'user', account_id, project_id}
|
|
914
|
+
activate STS
|
|
915
|
+
STS->>STS: Validate Firebase token
|
|
916
|
+
STS->>STS: Generate Vertesia JWT
|
|
917
|
+
STS-->>App: Vertesia JWT
|
|
918
|
+
deactivate STS
|
|
919
|
+
|
|
920
|
+
App->>App: session.login(JWT)
|
|
921
|
+
App->>App: Show main app
|
|
922
|
+
deactivate App
|
|
923
|
+
```
|
|
924
|
+
|
|
925
|
+
### Option 3: Enterprise SSO/SAML Sign-in
|
|
926
|
+
|
|
927
|
+
```mermaid
|
|
928
|
+
sequenceDiagram
|
|
929
|
+
actor User
|
|
930
|
+
participant App as Composable UI
|
|
931
|
+
participant Firebase as Firebase Auth
|
|
932
|
+
participant SSO as SSO Provider<br/>(Okta/Azure AD/etc.)
|
|
933
|
+
participant STS as STS<br/>(sts.vertesia.io)
|
|
934
|
+
|
|
935
|
+
User->>App: Navigate to app (no auth)
|
|
936
|
+
activate App
|
|
937
|
+
App->>App: Show SigninScreen
|
|
938
|
+
App->>App: Setup onAuthStateChanged listener
|
|
939
|
+
User->>App: Click 'Enterprise Sign-in'
|
|
940
|
+
User->>App: Enter company email/domain
|
|
941
|
+
|
|
942
|
+
App->>App: Lookup SSO provider config
|
|
943
|
+
App->>SSO: Redirect to SSO provider
|
|
944
|
+
activate SSO
|
|
945
|
+
SSO->>User: Show SSO login page
|
|
946
|
+
User->>SSO: Authenticate
|
|
947
|
+
SSO-->>App: SAML response
|
|
948
|
+
deactivate SSO
|
|
949
|
+
|
|
950
|
+
App->>Firebase: Exchange SAML for Firebase custom token
|
|
951
|
+
activate Firebase
|
|
952
|
+
Firebase->>Firebase: Validate SAML & create session
|
|
953
|
+
Firebase-->>App: Firebase auth success
|
|
954
|
+
|
|
955
|
+
Note over App,Firebase: onAuthStateChanged fires
|
|
956
|
+
Firebase->>App: User object (with ID token)
|
|
957
|
+
deactivate Firebase
|
|
958
|
+
|
|
959
|
+
App->>App: getComposableToken()
|
|
960
|
+
App->>Firebase: Get ID token from current user
|
|
961
|
+
activate Firebase
|
|
962
|
+
Firebase-->>App: Firebase ID token
|
|
963
|
+
deactivate Firebase
|
|
964
|
+
|
|
965
|
+
App->>STS: POST /token/issue<br/>Authorization: Bearer {Firebase token}<br/>Body: {type:'user', account_id, project_id}
|
|
966
|
+
activate STS
|
|
967
|
+
STS->>STS: Validate Firebase token
|
|
968
|
+
STS->>STS: Generate Vertesia JWT
|
|
969
|
+
STS-->>App: Vertesia JWT
|
|
970
|
+
deactivate STS
|
|
971
|
+
|
|
972
|
+
App->>App: session.login(JWT)
|
|
973
|
+
App->>App: Show main app
|
|
974
|
+
deactivate App
|
|
975
|
+
```
|
|
976
|
+
|
|
977
|
+
### Session Restoration (Page Reload)
|
|
978
|
+
|
|
979
|
+
```mermaid
|
|
980
|
+
sequenceDiagram
|
|
981
|
+
actor User
|
|
982
|
+
participant App as Composable UI
|
|
983
|
+
participant Firebase as Firebase Auth
|
|
984
|
+
participant STS as STS<br/>(sts.vertesia.io)
|
|
985
|
+
|
|
986
|
+
User->>App: Reload page / Navigate back
|
|
987
|
+
activate App
|
|
988
|
+
App->>App: UserSessionProvider mounts
|
|
989
|
+
App->>App: Setup onAuthStateChanged listener
|
|
990
|
+
|
|
991
|
+
Note over App,Firebase: onAuthStateChanged fires immediately
|
|
992
|
+
|
|
993
|
+
alt Firebase session exists
|
|
994
|
+
Firebase->>App: User object (with ID token)
|
|
995
|
+
|
|
996
|
+
App->>App: getComposableToken()
|
|
997
|
+
App->>Firebase: Get ID token from current user
|
|
998
|
+
activate Firebase
|
|
999
|
+
Firebase-->>App: Firebase ID token
|
|
1000
|
+
deactivate Firebase
|
|
1001
|
+
|
|
1002
|
+
App->>STS: POST /token/issue<br/>Authorization: Bearer {Firebase token}<br/>Body: {type:'user', account_id, project_id}
|
|
1003
|
+
activate STS
|
|
1004
|
+
STS->>STS: Validate Firebase token
|
|
1005
|
+
STS->>STS: Generate Vertesia JWT
|
|
1006
|
+
STS-->>App: Vertesia JWT
|
|
1007
|
+
deactivate STS
|
|
1008
|
+
|
|
1009
|
+
App->>App: session.login(JWT)
|
|
1010
|
+
App->>App: Show main app (user logged in)
|
|
1011
|
+
else No Firebase session
|
|
1012
|
+
Firebase->>App: Anonymous user
|
|
1013
|
+
App->>App: Show SigninScreen (not logged in)
|
|
1014
|
+
end
|
|
1015
|
+
|
|
1016
|
+
deactivate App
|
|
1017
|
+
```
|
|
1018
|
+
|
|
1019
|
+
---
|
|
1020
|
+
|
|
1021
|
+
## Additional Flow Diagrams (Mermaid)
|
|
1022
|
+
|
|
1023
|
+
### Logout Flow
|
|
1024
|
+
|
|
1025
|
+
```mermaid
|
|
1026
|
+
flowchart TB
|
|
1027
|
+
Start([User Logout]) --> Trigger[session.logout or<br/>session.signOut]
|
|
1028
|
+
|
|
1029
|
+
Trigger --> Check{authToken<br/>exists?}
|
|
1030
|
+
|
|
1031
|
+
Check -->|YES| ShouldRedirect{shouldRedirectTo<br/>CentralAuth?}
|
|
1032
|
+
|
|
1033
|
+
ShouldRedirect -->|YES| RedirectLogout[Redirect to Central Auth<br/>for logout<br/><br/>internal-auth.vertesia.app<br/>/logout<br/><br/>Central auth handles<br/>Firebase logout]
|
|
1034
|
+
|
|
1035
|
+
ShouldRedirect -->|NO| FirebaseSignout[getFirebaseAuth.signOut<br/><br/>Triggers onAuthStateChanged<br/>with anonymous user]
|
|
1036
|
+
|
|
1037
|
+
RedirectLogout --> ClearData[Clear session data:<br/>- authError = undefined<br/>- isLoading = false<br/>- authToken = undefined<br/>- typeRegistry = undefined]
|
|
1038
|
+
|
|
1039
|
+
FirebaseSignout --> ClearData
|
|
1040
|
+
|
|
1041
|
+
ClearData --> ClearClient[client.withAuthCallback<br/>undefined<br/><br/>Clear client auth]
|
|
1042
|
+
|
|
1043
|
+
ClearClient --> UpdateState[setSession this.clone<br/><br/>React re-render triggers<br/>SigninScreen display]
|
|
1044
|
+
|
|
1045
|
+
style Start fill:#fff4e1
|
|
1046
|
+
style UpdateState fill:#d4edda
|
|
1047
|
+
```
|
|
1048
|
+
|
|
1049
|
+
### Account/Project Switching Flow
|
|
1050
|
+
|
|
1051
|
+
```mermaid
|
|
1052
|
+
flowchart TB
|
|
1053
|
+
Start([Account/Project Switching]) --> Branch{Which action?}
|
|
1054
|
+
|
|
1055
|
+
Branch -->|Account| SwitchAccount[switchAccount id]
|
|
1056
|
+
Branch -->|Project| SwitchProject[switchProject id]
|
|
1057
|
+
|
|
1058
|
+
SwitchAccount --> SaveAccount[Save to localStorage:<br/>- LastSelectedAccountId<br/>- LastSelectedProjectId<br/> for current account]
|
|
1059
|
+
|
|
1060
|
+
SwitchProject --> SaveProject[Save to localStorage:<br/>- LastSelectedProjectId<br/> per account]
|
|
1061
|
+
|
|
1062
|
+
SaveAccount --> ReloadAccount[window.location.replace<br/>/?a= + id<br/><br/>Full page reload]
|
|
1063
|
+
|
|
1064
|
+
SaveProject --> ReloadProject[window.location.replace<br/>/?a= + acct & p= + proj<br/><br/>Full page reload]
|
|
1065
|
+
|
|
1066
|
+
ReloadAccount --> Converge[UserSessionProvider mounts<br/>with new account/project<br/>from URL params<br/><br/>Firebase listener triggers<br/>getComposableToken with<br/>new selection]
|
|
1067
|
+
|
|
1068
|
+
ReloadProject --> Converge
|
|
1069
|
+
|
|
1070
|
+
style Start fill:#fff4e1
|
|
1071
|
+
style Converge fill:#d4edda
|
|
1072
|
+
```
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
|
|
1076
|
+
subgraph LogoutFlow[LOGOUT FLOW]
|
|
1077
|
+
LO1([User Logout])
|
|
1078
|
+
LO2[session.logout or<br/>session.signOut]
|
|
1079
|
+
LO3{authToken<br/>exists?}
|
|
1080
|
+
LO4{shouldRedirectTo<br/>CentralAuth?}
|
|
1081
|
+
LO5[Redirect to Central Auth<br/>for logout<br/><br/>internal-auth.vertesia.app<br/>/logout<br/><br/>Central auth handles<br/>Firebase logout]
|
|
1082
|
+
LO6[getFirebaseAuth.signOut<br/><br/>Triggers onAuthStateChanged<br/>with anonymous user]
|
|
1083
|
+
LO7[Clear session data:<br/>- authError = undefined<br/>- isLoading = false<br/>- authToken = undefined<br/>- typeRegistry = undefined]
|
|
1084
|
+
LO8[client.withAuthCallback<br/>undefined<br/><br/>Clear client auth]
|
|
1085
|
+
LO9[setSession this.clone<br/><br/>React re-render triggers<br/>SigninScreen display]
|
|
1086
|
+
|
|
1087
|
+
LO1 --> LO2 --> LO3
|
|
1088
|
+
LO3 -->|YES| LO4
|
|
1089
|
+
LO4 -->|YES| LO5
|
|
1090
|
+
LO4 -->|NO| LO6
|
|
1091
|
+
LO5 --> LO7
|
|
1092
|
+
LO6 --> LO7
|
|
1093
|
+
LO7 --> LO8 --> LO9
|
|
1094
|
+
end
|