@vertesia/ui 0.77.0 → 0.78.0-dev-28b447d
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 +170 -164
- package/src/core/components/SelectList.tsx +11 -1
- package/src/core/components/SidePanel.tsx +13 -10
- package/src/core/components/shadcn/filters/filterBar.tsx +46 -20
- package/src/core/components/shadcn/index.ts +1 -0
- package/src/core/components/shadcn/resizeable.tsx +54 -0
- package/src/core/components/shadcn/tabs.tsx +16 -6
- package/src/core/components/table/index.tsx +1 -1
- package/src/core/hooks/PortalContainerProvider.tsx +56 -0
- package/src/core/hooks/index.ts +1 -0
- package/src/env/index.ts +2 -1
- package/src/features/facets/CollectionsFacetsNav.tsx +94 -0
- package/src/features/facets/DocumentsFacetsNav.tsx +22 -11
- package/src/features/facets/EnvironmentFacet.tsx +1 -1
- package/src/features/facets/InteractionsFacetsNav.tsx +111 -0
- package/src/features/facets/PromptsFacetsNav.tsx +110 -0
- package/src/features/facets/RunsFacetsNav.tsx +40 -9
- package/src/features/facets/WorkflowExecutionsFacetsNav.tsx +10 -8
- package/src/features/facets/index.ts +11 -9
- package/{lib/types/features/facets/VFacetsNav.d.ts → src/features/facets/utils/SearchInterface.tsx} +0 -8
- package/src/features/facets/{VTypeFacet.tsx → utils/VTypeFacet.tsx} +6 -3
- package/src/features/facets/{VUserFacet.tsx → utils/VUserFacet.tsx} +1 -1
- package/src/features/store/collections/EditCollectionView.tsx +14 -1
- package/src/features/store/collections/SelectCollection.tsx +160 -31
- package/src/features/store/objects/DocumentSearchResults.tsx +75 -39
- package/src/features/store/objects/components/ContentOverview.tsx +432 -261
- package/src/features/store/objects/components/DocumentIcon.tsx +37 -2
- package/src/features/store/objects/layout/documentLayout.tsx +3 -7
- package/src/features/store/objects/search/DocumentSearchContext.ts +8 -3
- package/src/features/store/objects/selection/actions/AddToCollectionAction.tsx +15 -8
- package/src/features/store/objects/upload/DocumentUploadModal.tsx +5 -6
- package/src/features/store/types/ObjectSchemaEditor.tsx +1 -1
- package/src/features/user/UserInfo.tsx +68 -3
- package/src/session/UserSession.ts +1 -0
- package/src/session/UserSessionProvider.tsx +1 -1
- package/src/session/auth/composable.ts +71 -70
- package/src/shell/apps/AppProjectSelector.tsx +19 -8
- package/src/shell/apps/index.ts +1 -1
- package/src/shell/login/UserInfo.tsx +1 -1
- package/src/widgets/schema-editor/index.ts +0 -1
- 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 -43
- 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 -23
- 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/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 -47
- 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/Textarea.js +0 -15
- package/lib/esm/core/components/Textarea.js.map +0 -1
- package/lib/esm/core/components/index.js +0 -35
- 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 -30
- package/lib/esm/core/components/shadcn/breadcrumb.js.map +0 -1
- package/lib/esm/core/components/shadcn/button.js +0 -75
- 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 -60
- 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 -101
- 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 -215
- 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 -22
- package/lib/esm/core/components/shadcn/index.js.map +0 -1
- package/lib/esm/core/components/shadcn/input.js +0 -38
- 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/selectBox.js +0 -128
- 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 -120
- 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/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 -23
- 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 -118
- package/lib/esm/core/hooks/CompositeState.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 -14
- 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/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 -72
- 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 -241
- package/lib/esm/features/agent/PayloadBuilder.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 -415
- package/lib/esm/features/agent/chat/ModernAgentConversation.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js +0 -130
- 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 -97
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js +0 -46
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js +0 -364
- 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 -62
- 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 -5
- package/lib/esm/features/agent/chat/index.js.map +0 -1
- package/lib/esm/features/agent/index.js +0 -3
- package/lib/esm/features/agent/index.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/DocumentsFacetsNav.js +0 -135
- 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/FacetsNav.js +0 -8
- package/lib/esm/features/facets/FacetsNav.js.map +0 -1
- package/lib/esm/features/facets/RunsFacetsNav.js +0 -135
- package/lib/esm/features/facets/RunsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/StringFacet.js +0 -12
- package/lib/esm/features/facets/StringFacet.js.map +0 -1
- package/lib/esm/features/facets/StringListFacet.js +0 -11
- package/lib/esm/features/facets/StringListFacet.js.map +0 -1
- package/lib/esm/features/facets/TypeFacet.js +0 -42
- package/lib/esm/features/facets/TypeFacet.js.map +0 -1
- package/lib/esm/features/facets/VEnvironmentFacet.js +0 -24
- package/lib/esm/features/facets/VEnvironmentFacet.js.map +0 -1
- package/lib/esm/features/facets/VFacetsNav.js +0 -48
- package/lib/esm/features/facets/VFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/VInteractionFacet.js +0 -45
- package/lib/esm/features/facets/VInteractionFacet.js.map +0 -1
- package/lib/esm/features/facets/VStringFacet.js +0 -20
- package/lib/esm/features/facets/VStringFacet.js.map +0 -1
- package/lib/esm/features/facets/VTypeFacet.js +0 -56
- package/lib/esm/features/facets/VTypeFacet.js.map +0 -1
- package/lib/esm/features/facets/VUserFacet.js +0 -31
- package/lib/esm/features/facets/VUserFacet.js.map +0 -1
- package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js +0 -98
- package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/index.js +0 -13
- package/lib/esm/features/facets/index.js.map +0 -1
- package/lib/esm/features/facets/utils.js +0 -7
- package/lib/esm/features/facets/utils.js.map +0 -1
- package/lib/esm/features/index.js +0 -11
- package/lib/esm/features/index.js.map +0 -1
- package/lib/esm/features/layout/GenericPageNavHeader.js +0 -11
- 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/DownloadPopover.js +0 -28
- package/lib/esm/features/magic-pdf/DownloadPopover.js.map +0 -1
- package/lib/esm/features/magic-pdf/MagicPdfView.js +0 -67
- package/lib/esm/features/magic-pdf/MagicPdfView.js.map +0 -1
- package/lib/esm/features/magic-pdf/PageSlider.js +0 -70
- package/lib/esm/features/magic-pdf/PageSlider.js.map +0 -1
- package/lib/esm/features/magic-pdf/PdfPageProvider.js +0 -188
- package/lib/esm/features/magic-pdf/PdfPageProvider.js.map +0 -1
- package/lib/esm/features/magic-pdf/TextPageView.js +0 -62
- package/lib/esm/features/magic-pdf/TextPageView.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/magic-pdf/useResizeOnDrag.js +0 -34
- package/lib/esm/features/magic-pdf/useResizeOnDrag.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 -37
- 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 -162
- package/lib/esm/features/store/collections/EditCollectionView.js.map +0 -1
- package/lib/esm/features/store/collections/SelectCollection.js +0 -24
- package/lib/esm/features/store/collections/SelectCollection.js.map +0 -1
- package/lib/esm/features/store/collections/index.js +0 -6
- 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 -159
- 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 -192
- package/lib/esm/features/store/objects/components/ContentOverview.js.map +0 -1
- package/lib/esm/features/store/objects/components/DocumentIcon.js +0 -25
- 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 -44
- package/lib/esm/features/store/objects/components/SaveVersionConfirmModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/SelectDocument.js +0 -45
- 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/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 -74
- package/lib/esm/features/store/objects/layout/DocumentTableColumn.js.map +0 -1
- package/lib/esm/features/store/objects/layout/documentLayout.js +0 -16
- 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 -128
- package/lib/esm/features/store/objects/layout/renderers.js.map +0 -1
- package/lib/esm/features/store/objects/search/DocumentSearchContext.js +0 -168
- 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 -149
- 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 -75
- package/lib/esm/features/store/objects/selection/SelectionActions.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js +0 -73
- 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 -66
- 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 -511
- 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 -194
- 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 -87
- 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 -4
- package/lib/esm/features/utils/index.js.map +0 -1
- package/lib/esm/features/utils/mimeType.js +0 -9
- package/lib/esm/features/utils/mimeType.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/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 -149
- 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 -191
- package/lib/esm/session/UserSession.js.map +0 -1
- package/lib/esm/session/UserSessionProvider.js +0 -164
- package/lib/esm/session/UserSessionProvider.js.map +0 -1
- package/lib/esm/session/auth/composable.js +0 -162
- 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 -25
- 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 -40
- package/lib/esm/shell/login/UserInfo.js.map +0 -1
- package/lib/esm/shell/login/UserSessionMenu.js +0 -31
- 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/index.js +0 -2
- package/lib/esm/widgets/codemirror/index.js.map +0 -1
- package/lib/esm/widgets/form/Form.js +0 -102
- package/lib/esm/widgets/form/Form.js.map +0 -1
- package/lib/esm/widgets/form/FormContext.js +0 -29
- package/lib/esm/widgets/form/FormContext.js.map +0 -1
- package/lib/esm/widgets/form/ManagedObject.js +0 -283
- package/lib/esm/widgets/form/ManagedObject.js.map +0 -1
- package/lib/esm/widgets/form/fields.js +0 -11
- 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 -36
- 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 -24
- 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/JSONSchemaEditorModal.js +0 -49
- package/lib/esm/widgets/schema-editor/JSONSchemaEditorModal.js.map +0 -1
- package/lib/esm/widgets/schema-editor/ManagedSchema.js +0 -303
- 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 -8
- 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 -162
- 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 -30
- 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 -17
- 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/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 -18
- 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/Textarea.d.ts +0 -8
- package/lib/types/core/components/Textarea.d.ts.map +0 -1
- package/lib/types/core/components/index.d.ts +0 -39
- 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 -14
- 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 -36
- 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 -22
- 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 -17
- package/lib/types/core/components/shadcn/popover.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/selectBox.d.ts +0 -31
- 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 -30
- 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/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 -15
- 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 -28
- package/lib/types/core/hooks/CompositeState.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 -14
- 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/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 -72
- 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 -73
- package/lib/types/features/agent/PayloadBuilder.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 -22
- package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts +0 -19
- 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 -16
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageInput.d.ts +0 -13
- 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 -5
- package/lib/types/features/agent/chat/index.d.ts.map +0 -1
- package/lib/types/features/agent/index.d.ts +0 -3
- package/lib/types/features/agent/index.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/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/FacetsNav.d.ts +0 -7
- package/lib/types/features/facets/FacetsNav.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/StringFacet.d.ts +0 -11
- package/lib/types/features/facets/StringFacet.d.ts.map +0 -1
- package/lib/types/features/facets/StringListFacet.d.ts +0 -11
- package/lib/types/features/facets/StringListFacet.d.ts.map +0 -1
- package/lib/types/features/facets/TypeFacet.d.ts +0 -16
- package/lib/types/features/facets/TypeFacet.d.ts.map +0 -1
- package/lib/types/features/facets/VEnvironmentFacet.d.ts +0 -12
- package/lib/types/features/facets/VEnvironmentFacet.d.ts.map +0 -1
- package/lib/types/features/facets/VFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/VInteractionFacet.d.ts +0 -15
- package/lib/types/features/facets/VInteractionFacet.d.ts.map +0 -1
- package/lib/types/features/facets/VStringFacet.d.ts +0 -21
- package/lib/types/features/facets/VStringFacet.d.ts.map +0 -1
- package/lib/types/features/facets/VTypeFacet.d.ts +0 -11
- package/lib/types/features/facets/VTypeFacet.d.ts.map +0 -1
- package/lib/types/features/facets/VUserFacet.d.ts +0 -11
- package/lib/types/features/facets/VUserFacet.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 -13
- package/lib/types/features/facets/index.d.ts.map +0 -1
- package/lib/types/features/facets/utils.d.ts +0 -4
- package/lib/types/features/facets/utils.d.ts.map +0 -1
- package/lib/types/features/index.d.ts +0 -11
- package/lib/types/features/index.d.ts.map +0 -1
- package/lib/types/features/layout/GenericPageNavHeader.d.ts +0 -13
- 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/DownloadPopover.d.ts +0 -7
- package/lib/types/features/magic-pdf/DownloadPopover.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/PageSlider.d.ts +0 -9
- package/lib/types/features/magic-pdf/PageSlider.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/PdfPageProvider.d.ts +0 -39
- package/lib/types/features/magic-pdf/PdfPageProvider.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/TextPageView.d.ts +0 -8
- package/lib/types/features/magic-pdf/TextPageView.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/magic-pdf/useResizeOnDrag.d.ts +0 -9
- package/lib/types/features/magic-pdf/useResizeOnDrag.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 -15
- package/lib/types/features/store/collections/SelectCollection.d.ts.map +0 -1
- package/lib/types/features/store/collections/index.d.ts +0 -6
- 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 -21
- 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 -12
- 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/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 -17
- package/lib/types/features/store/objects/layout/DocumentTableColumn.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/documentLayout.d.ts +0 -18
- 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 -53
- 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 -5
- 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 -4
- 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 -38
- 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 -37
- 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 -4
- package/lib/types/features/utils/index.d.ts.map +0 -1
- package/lib/types/features/utils/mimeType.d.ts +0 -5
- package/lib/types/features/utils/mimeType.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/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 -56
- package/lib/types/router/HistoryNavigator.d.ts.map +0 -1
- package/lib/types/router/Nav.d.ts +0 -29
- 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 -23
- 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/index.d.ts +0 -2
- package/lib/types/widgets/codemirror/index.d.ts.map +0 -1
- package/lib/types/widgets/form/Form.d.ts +0 -21
- package/lib/types/widgets/form/Form.d.ts.map +0 -1
- package/lib/types/widgets/form/FormContext.d.ts +0 -17
- 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 -9
- 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/JSONSchemaEditorModal.d.ts +0 -10
- package/lib/types/widgets/schema-editor/JSONSchemaEditorModal.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 -8
- 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 -17
- 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/features/facets/FacetsNav.tsx +0 -19
- package/src/features/facets/VFacetsNav.tsx +0 -81
- package/src/widgets/schema-editor/JSONSchemaEditorModal.tsx +0 -67
- /package/src/features/facets/{StringFacet.tsx → utils/StringFacet.tsx} +0 -0
- /package/src/features/facets/{StringListFacet.tsx → utils/StringListFacet.tsx} +0 -0
- /package/src/features/facets/{TypeFacet.tsx → utils/TypeFacet.tsx} +0 -0
- /package/src/features/facets/{VEnvironmentFacet.tsx → utils/VEnvironmentFacet.tsx} +0 -0
- /package/src/features/facets/{VInteractionFacet.tsx → utils/VInteractionFacet.tsx} +0 -0
- /package/src/features/facets/{VStringFacet.tsx → utils/VStringFacet.tsx} +0 -0
- /package/src/features/facets/{utils.tsx → utils/utils.tsx} +0 -0
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { FilterProvider, FilterBtn, FilterBar, FilterClear } from '@vertesia/ui/core';
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import { VStringFacet } from './VStringFacet';
|
|
5
|
-
import { VUserFacet } from './VUserFacet';
|
|
6
|
-
// Hook to create filter groups for workflow executions
|
|
7
|
-
export function useWorkflowExecutionsFilterGroups(facets) {
|
|
8
|
-
const customFilterGroups = [];
|
|
9
|
-
customFilterGroups.push({
|
|
10
|
-
placeholder: 'Search by Workflow or Run ID',
|
|
11
|
-
name: 'name',
|
|
12
|
-
type: 'text',
|
|
13
|
-
options: [],
|
|
14
|
-
});
|
|
15
|
-
if (facets.status) {
|
|
16
|
-
const statusFilterGroup = VStringFacet({
|
|
17
|
-
search: null, // This will be provided by the search context
|
|
18
|
-
buckets: facets.status || [],
|
|
19
|
-
name: 'Status'
|
|
20
|
-
});
|
|
21
|
-
customFilterGroups.push(statusFilterGroup);
|
|
22
|
-
}
|
|
23
|
-
if (facets.initiated_by) {
|
|
24
|
-
const initiatedByFilterGroup = VUserFacet({
|
|
25
|
-
buckets: facets.initiated_by || [],
|
|
26
|
-
name: 'User'
|
|
27
|
-
});
|
|
28
|
-
customFilterGroups.push(initiatedByFilterGroup);
|
|
29
|
-
}
|
|
30
|
-
const dateAfterFilterGroup = {
|
|
31
|
-
name: 'start',
|
|
32
|
-
placeholder: 'Date After',
|
|
33
|
-
type: 'date',
|
|
34
|
-
multiple: false
|
|
35
|
-
};
|
|
36
|
-
customFilterGroups.push(dateAfterFilterGroup);
|
|
37
|
-
const dateBeforeFilterGroup = {
|
|
38
|
-
name: 'end',
|
|
39
|
-
placeholder: 'Date Before',
|
|
40
|
-
type: 'date',
|
|
41
|
-
multiple: false
|
|
42
|
-
};
|
|
43
|
-
customFilterGroups.push(dateBeforeFilterGroup);
|
|
44
|
-
return customFilterGroups;
|
|
45
|
-
}
|
|
46
|
-
// Hook to create filter change handler for workflow executions
|
|
47
|
-
export function useWorkflowExecutionsFilterHandler(search) {
|
|
48
|
-
return (newFilters) => {
|
|
49
|
-
if (newFilters.length === 0) {
|
|
50
|
-
search.clearFilters();
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
search.clearFilters(false);
|
|
54
|
-
newFilters.forEach(filter => {
|
|
55
|
-
if (filter.value && filter.value.length > 0) {
|
|
56
|
-
const filterName = filter.name;
|
|
57
|
-
let filterValue;
|
|
58
|
-
if (filter.type === 'stringList') {
|
|
59
|
-
filterValue = filter.value.map(v => typeof v === 'string' ? v : v.value);
|
|
60
|
-
}
|
|
61
|
-
else if (filter.multiple) {
|
|
62
|
-
filterValue = Array.isArray(filter.value)
|
|
63
|
-
? filter.value.map((v) => typeof v === 'object' && v.value ? v.value : v)
|
|
64
|
-
: [typeof filter.value === 'object' && filter.value.value ? filter.value.value : filter.value];
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
// Single value - don't wrap in array
|
|
68
|
-
filterValue = Array.isArray(filter.value) && filter.value[0] && typeof filter.value[0] === 'object'
|
|
69
|
-
? filter.value[0].value
|
|
70
|
-
: Array.isArray(filter.value) && filter.value[0]
|
|
71
|
-
? filter.value[0]
|
|
72
|
-
: filter.value;
|
|
73
|
-
}
|
|
74
|
-
if (filterName === 'name') {
|
|
75
|
-
search.query.search_term = filterValue;
|
|
76
|
-
search.query.name = filterValue;
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
search.query[filterName] = filterValue;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
search.search();
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
// Legacy component for backward compatibility
|
|
87
|
-
export function WorkflowExecutionsFacetsNav({ facets, search, }) {
|
|
88
|
-
const [filters, setFilters] = useState([]);
|
|
89
|
-
const filterGroups = useWorkflowExecutionsFilterGroups(facets);
|
|
90
|
-
const handleFilterLogic = useWorkflowExecutionsFilterHandler(search);
|
|
91
|
-
const handleFilterChange = (value) => {
|
|
92
|
-
const newFilters = typeof value === 'function' ? value(filters) : value;
|
|
93
|
-
setFilters(newFilters);
|
|
94
|
-
handleFilterLogic(newFilters);
|
|
95
|
-
};
|
|
96
|
-
return (_jsx(FilterProvider, { filterGroups: filterGroups, filters: filters, setFilters: handleFilterChange, children: _jsxs("div", { className: "flex gap-2 items-center", children: [_jsx(FilterBtn, {}), _jsx(FilterBar, {}), _jsx(FilterClear, {})] }) }));
|
|
97
|
-
}
|
|
98
|
-
//# sourceMappingURL=WorkflowExecutionsFacetsNav.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowExecutionsFacetsNav.js","sourceRoot":"","sources":["../../../../src/features/facets/WorkflowExecutionsFacetsNav.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAwB,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AACzH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAW1C,uDAAuD;AACvD,MAAM,UAAU,iCAAiC,CAAC,MAAkD;IAChG,MAAM,kBAAkB,GAAkB,EAAE,CAAC;IAE7C,kBAAkB,CAAC,IAAI,CAAC;QACpB,WAAW,EAAE,8BAA8B;QAC3C,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,EAAE;KACd,CAAC,CAAC;IAEH,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;QAChB,MAAM,iBAAiB,GAA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O,CACpB,CAAC;AACN,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export { EnvironmentFacet } from "./EnvironmentFacet";
|
|
2
|
-
export * from "./FacetsNav";
|
|
3
|
-
export { StringFacet } from "./StringFacet";
|
|
4
|
-
export { StringListFacet } from "./StringListFacet";
|
|
5
|
-
export { TypeFacet } from "./TypeFacet";
|
|
6
|
-
export * from "./VFacetsNav";
|
|
7
|
-
export { VStringFacet } from "./VStringFacet";
|
|
8
|
-
export { VTypeFacet } from "./VTypeFacet";
|
|
9
|
-
export { VUserFacet } from "./VUserFacet";
|
|
10
|
-
export { RunsFacetsNav, useRunsFilterGroups, useRunsFilterHandler } from "./RunsFacetsNav";
|
|
11
|
-
export { WorkflowExecutionsFacetsNav, useWorkflowExecutionsFilterGroups, useWorkflowExecutionsFilterHandler } from "./WorkflowExecutionsFacetsNav";
|
|
12
|
-
export { DocumentsFacetsNav, useDocumentFilterGroups, useDocumentFilterHandler } from "./DocumentsFacetsNav";
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/facets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC3F,OAAO,EAAE,2BAA2B,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,+BAA+B,CAAC;AACnJ,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/features/facets/utils.tsx"],"names":[],"mappings":"AAEA,MAAM,UAAU,gBAAgB,CAAC,MAAmB;IAChD,OAAO,GAAG,MAAM,CAAC,GAAG,KAAK,MAAM,CAAC,KAAK,GAAG,CAAC;AAC7C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,MAAuB;IACxD,OAAO,GAAG,MAAM,CAAC,IAAI,KAAK,MAAM,CAAC,KAAK,GAAG,CAAC;AAC9C,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from "./activity-doc/index.js";
|
|
2
|
-
export * from "./agent";
|
|
3
|
-
export * from "./errors/index.js";
|
|
4
|
-
export * from "./facets/index.js";
|
|
5
|
-
export * from "./layout/index.js";
|
|
6
|
-
export * from "./magic-pdf/index.js";
|
|
7
|
-
export * from "./permissions/index.js";
|
|
8
|
-
export * from "./store/index.js";
|
|
9
|
-
export * from "./user/index.js";
|
|
10
|
-
export * from "./utils/index.js";
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import clsx from 'clsx';
|
|
3
|
-
import { ChevronRight, Info } from 'lucide-react';
|
|
4
|
-
import { VTooltip } from '@vertesia/ui/core';
|
|
5
|
-
export function GenericPageNavHeader({ className, children, title, description, actions, breadcrumbs, isCompact = false }) {
|
|
6
|
-
return (_jsxs("div", { className: clsx(isCompact ? 'pb-0' : 'pb-2', 'p-4 flex flex-col', className), children: [_jsxs("div", { className: 'flex items-start gap-4', children: [_jsxs("div", { className: "w-full flex place-content-between h-auto min-h-8 flex-col items-start", children: [_jsx("nav", { className: "flex-1 flex justify-start text-xs", children: breadcrumbs?.map((breadcrumb, index) => {
|
|
7
|
-
return (_jsxs("div", { className: "flex items-center text-muted", children: [breadcrumb, index < breadcrumbs.length - 1 && _jsx(ChevronRight, { className: "w-3.5 h-3.5" })] }, index));
|
|
8
|
-
}) }), _jsxs("div", { className: 'flex gap-2 items-center', children: [_jsx("h1", { className: "text-xl font-semibold break-all", children: title }), description &&
|
|
9
|
-
_jsx(VTooltip, { description: description, children: _jsx(Info, { className: "size-4 text-muted" }) })] })] }), _jsx("div", { className: "flex gap-x-2 shrink-0", children: actions })] }), children && _jsx("div", { className: "w-full flex items-center", children: children })] }));
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=GenericPageNavHeader.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GenericPageNavHeader.js","sourceRoot":"","sources":["../../../../src/features/layout/GenericPageNavHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAY7C,MAAM,UAAU,oBAAoB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,GAAG,KAAK,EAA6B;IAChJ,OAAO,CACH,eAAK,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,mBAAmB,EAAE,SAAS,CAAC,aAC7E,eAAK,SAAS,EAAC,wBAAwB,aACnC,eAAK,SAAS,EAAC,uEAAuE,aAClF,cAAK,SAAS,EAAC,mCAAmC,YAC7C,WAAW,EAAE,GAAG,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,EAAE;oCACpC,OAAO,CACH,eAAK,SAAS,EAAC,8BAA8B,aACxC,UAAU,EACV,KAAK,GAAG,WAAW,CAAC,MAAM,GAAG,CAAC,IAAI,KAAC,YAAY,IAAC,SAAS,EAAC,aAAa,GAAG,KAF5B,KAAK,CAGlD,CACT,CAAA;gCACL,CAAC,CAAC,GACA,EACN,eAAK,SAAS,EAAC,yBAAyB,aACpC,aAAI,SAAS,EAAC,iCAAiC,YAAE,KAAK,GAAM,EAExD,WAAW;wCACX,KAAC,QAAQ,IACL,WAAW,EAAE,WAAW,YACxB,KAAC,IAAI,IAAC,SAAS,EAAC,mBAAmB,GAAG,GAC/B,IAEb,IACJ,EACN,cAAK,SAAS,EAAC,uBAAuB,YAAE,OAAO,GAAO,IACpD,EACL,QAAQ,IAAI,cAAK,SAAS,EAAC,0BAA0B,YAAE,QAAQ,GAAO,IACrE,CACT,CAAA;AACL,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
export function NotFoundView({}) {
|
|
3
|
-
return (_jsxs("div", { className: "text-center pt-32", children: [_jsx("h1", { className: "text-3xl font-bold text-red-500", children: "404" }), _jsx("p", { className: "text-2xl", children: "Page Not Found" })] }));
|
|
4
|
-
}
|
|
5
|
-
//# sourceMappingURL=NotFoundView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotFoundView.js","sourceRoot":"","sources":["../../../../src/features/layout/NotFoundView.tsx"],"names":[],"mappings":";AAGA,MAAM,UAAU,YAAY,CAAC,EAAsB;IAC/C,OAAO,CACH,eAAK,SAAS,EAAC,mBAAmB,aAC9B,aAAI,SAAS,EAAC,iCAAiC,oBAAS,EACxD,YAAG,SAAS,EAAC,UAAU,+BAAmB,IACxC,CACT,CAAA;AACL,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useUserSession } from "@vertesia/ui/session";
|
|
3
|
-
import { Popover } from "@vertesia/ui/widgets";
|
|
4
|
-
import { CloudDownload } from "lucide-react";
|
|
5
|
-
import { getResourceUrl } from "./PdfPageProvider";
|
|
6
|
-
export function DownloadPopover({ object }) {
|
|
7
|
-
const { client } = useUserSession();
|
|
8
|
-
const onDownload = (name) => {
|
|
9
|
-
getResourceUrl(client, object.id, name).then(url => window.open(url, '_blank'));
|
|
10
|
-
};
|
|
11
|
-
const getProcessorType = () => {
|
|
12
|
-
if (object.metadata?.type === "document") {
|
|
13
|
-
const docMetadata = object.metadata;
|
|
14
|
-
return docMetadata.content_processor?.type || "xml";
|
|
15
|
-
}
|
|
16
|
-
return "xml"; // default
|
|
17
|
-
};
|
|
18
|
-
const processorType = getProcessorType();
|
|
19
|
-
const renderDownloadOptions = () => {
|
|
20
|
-
if (processorType === "markdown") {
|
|
21
|
-
return (_jsx("button", { className: "p-2 cursor-pointer hover:bg-slate-50 dark:hover:bg-slate-100", onClick: () => onDownload("document.md"), children: "document.md" }));
|
|
22
|
-
}
|
|
23
|
-
// Default XML processor options
|
|
24
|
-
return (_jsxs(_Fragment, { children: [_jsx("button", { className: "p-2 cursor-pointer hover:bg-slate-50 dark:hover:bg-slate-100", onClick: () => onDownload("annotated.pdf"), children: "annotated.pdf" }), _jsx("button", { className: "p-2 cursor-pointer hover:bg-slate-50 dark:hover:bg-slate-100", onClick: () => onDownload("document.xml"), children: "document.xml" }), _jsx("button", { className: "p-2 cursor-pointer hover:bg-slate-50 dark:hover:bg-slate-100", onClick: () => onDownload("analyzed-pages.json"), children: "analyzed-pages.json" })] }));
|
|
25
|
-
};
|
|
26
|
-
return (_jsx("div", { className: "absolute bottom-[58px] right-[20px] w-[36px] h-[36px] cursor-pointer text-indigo-400 border-indigo-400 hover:border-indigo-500 hover:text-indigo-500 border-2 rounded-full shadow-xs flex items-center justify-center", children: _jsxs(Popover, { strategy: 'absolute', placement: 'top-end', zIndex: 100, offset: 20, children: [_jsx(Popover.Trigger, { click: true, children: _jsx(CloudDownload, { className: 'size-6' }) }), _jsx(Popover.Content, { children: _jsx("div", { className: "rounded-md shadow-md border border-gray-100 bg-white dark:bg-slate-50 dark:border-slate-100 min-w-[200px] flex flex-col divide-y", children: renderDownloadOptions() }) })] }) }));
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=DownloadPopover.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadPopover.js","sourceRoot":"","sources":["../../../../src/features/magic-pdf/DownloadPopover.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAKnD,MAAM,UAAU,eAAe,CAAC,EAAE,MAAM,EAAwB;IAC5D,MAAM,EAAE,MAAM,EAAE,GAAG,cAAc,EAAE,CAAA;IACnC,MAAM,UAAU,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AS,EAAC,SAAS,EAAC,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,aACpE,KAAC,OAAO,CAAC,OAAO,IAAC,KAAK,kBAClB,KAAC,aAAa,IAAC,SAAS,EAAC,QAAQ,GAAG,GACtB,EAClB,KAAC,OAAO,CAAC,OAAO,cACZ,cAAK,SAAS,EAAC,kIAAkI,YAC5I,qBAAqB,EAAE,GACtB,GACQ,IACZ,GACR,CACT,CAAA;AACL,CAAC"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { ErrorBox, useFetch } from "@vertesia/ui/core";
|
|
3
|
-
import { useUserSession } from "@vertesia/ui/session";
|
|
4
|
-
import { X } from "lucide-react";
|
|
5
|
-
import { useRef, useState } from "react";
|
|
6
|
-
import { DownloadPopover } from "./DownloadPopover";
|
|
7
|
-
import { PageSlider } from "./PageSlider";
|
|
8
|
-
import { PdfPageProvider } from "./PdfPageProvider";
|
|
9
|
-
import { TextPageView } from "./TextPageView";
|
|
10
|
-
import { useResizeEW } from "./useResizeOnDrag";
|
|
11
|
-
export function MagicPdfView({ objectId, onClose }) {
|
|
12
|
-
const { client } = useUserSession();
|
|
13
|
-
const { data: object, error } = useFetch(() => client.store.objects.retrieve(objectId, "+text"), [objectId]);
|
|
14
|
-
if (error) {
|
|
15
|
-
return _jsx(ErrorBox, { title: 'Fetching document failed', children: error.message });
|
|
16
|
-
}
|
|
17
|
-
return object ? (_jsx("div", { className: 'fixed inset-0 bg-white dark:bg-slate-700 z-50 flex items-center justify-center', children: _jsx(PdfPageProvider, { object: object, children: _jsx(MagicPdfViewImpl, { object: object, onClose: onClose }) }) })) : "Loading...";
|
|
18
|
-
}
|
|
19
|
-
function MagicPdfViewImpl({ object, onClose }) {
|
|
20
|
-
const getInitialViewType = () => {
|
|
21
|
-
if (object.metadata?.type === "document") {
|
|
22
|
-
const docMetadata = object.metadata;
|
|
23
|
-
const processorType = docMetadata.content_processor?.type;
|
|
24
|
-
if (processorType === "markdown")
|
|
25
|
-
return "markdown";
|
|
26
|
-
if (processorType === "xml")
|
|
27
|
-
return "xml";
|
|
28
|
-
}
|
|
29
|
-
return "xml"; // default
|
|
30
|
-
};
|
|
31
|
-
const getProcessorType = () => {
|
|
32
|
-
if (object.metadata?.type === "document") {
|
|
33
|
-
const docMetadata = object.metadata;
|
|
34
|
-
return docMetadata.content_processor?.type || "xml";
|
|
35
|
-
}
|
|
36
|
-
return "xml"; // default
|
|
37
|
-
};
|
|
38
|
-
const [viewType, setViewType] = useState(getInitialViewType());
|
|
39
|
-
const [pageNumber, setPageNumber] = useState(1);
|
|
40
|
-
const processorType = getProcessorType();
|
|
41
|
-
const handler = useRef(null);
|
|
42
|
-
const left = useRef(null);
|
|
43
|
-
const right = useRef(null);
|
|
44
|
-
useResizeEW({
|
|
45
|
-
handler, left, right
|
|
46
|
-
});
|
|
47
|
-
return (_jsxs(_Fragment, { children: [_jsxs("div", { ref: left, className: `absolute top-0 left-0 bottom-0 w-[50%] bg-gray-100 dark:bg-slate-800 flex items-stretch justify-stretch py-2`, children: [_jsx(PageSlider, { className: "flex-1", currentPage: pageNumber, onChange: setPageNumber, object: object }), _jsx("div", { ref: handler, className: 'w-[2px] p-[2px] m-0 bg-slate-300 cursor-ew-resize' })] }), _jsx("div", { ref: right, className: `absolute top-0 left-[50%] right-0 bottom-0 flex items-stretch justify-stretch overflow-auto p-2`, children: _jsx(TextPageView, { pageNumber: pageNumber, viewType: viewType }) }), _jsx(DownloadPopover, { object: object }), processorType === "xml" && _jsx(ContentSwitcher, { type: viewType, onSwitch: setViewType }), !!onClose &&
|
|
48
|
-
_jsx("div", { className: "absolute top-6 right-7 w-9 h-9 cursor-pointer text-red-400 border-red-400 hover:border-red-500 hover:text-red-500 border-2 rounded-full shadow-xs flex items-center justify-center", onClick: onClose, children: _jsx(X, { className: 'size-6' }) })] }));
|
|
49
|
-
}
|
|
50
|
-
function ContentSwitcher({ type = "xml", onSwitch }) {
|
|
51
|
-
const _onSwitch = () => {
|
|
52
|
-
if (type === "xml") {
|
|
53
|
-
onSwitch("json");
|
|
54
|
-
}
|
|
55
|
-
else if (type === "json") {
|
|
56
|
-
onSwitch("markdown");
|
|
57
|
-
}
|
|
58
|
-
else if (type === "markdown") {
|
|
59
|
-
onSwitch("xml");
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
return (_jsxs("div", { className: "absolute bottom-[16px] right-[20px] w-[36px] h-[36px] cursor-pointer text-indigo-400 border-indigo-400 hover:border-indigo-500 hover:text-indigo-500 border-2 rounded-full shadow-xs flex items-center justify-center", onClick: _onSwitch, children: [type === "xml" && JSON, type === "json" && MARKDOWN, type === "markdown" && XML] }));
|
|
63
|
-
}
|
|
64
|
-
const JSON = _jsx("svg", { width: "16px", height: "16px", viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", children: _jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6 2.984V2h-.09c-.313 0-.616.062-.909.185a2.33 2.33 0 0 0-.775.53 2.23 2.23 0 0 0-.493.753v.001a3.542 3.542 0 0 0-.198.83v.002a6.08 6.08 0 0 0-.024.863c.012.29.018.58.018.869 0 .203-.04.393-.117.572v.001a1.504 1.504 0 0 1-.765.787 1.376 1.376 0 0 1-.558.115H2v.984h.09c.195 0 .38.04.556.121l.001.001c.178.078.329.184.455.318l.002.002c.13.13.233.285.307.465l.001.002c.078.18.117.368.117.566 0 .29-.006.58-.018.869-.012.296-.004.585.024.87v.001c.033.283.099.558.197.824v.001c.106.273.271.524.494.753.223.23.482.407.775.53.293.123.596.185.91.185H6v-.984h-.09c-.2 0-.387-.038-.563-.115a1.613 1.613 0 0 1-.457-.32 1.659 1.659 0 0 1-.309-.467c-.074-.18-.11-.37-.11-.573 0-.228.003-.453.011-.672.008-.228.008-.45 0-.665a4.639 4.639 0 0 0-.055-.64 2.682 2.682 0 0 0-.168-.609A2.284 2.284 0 0 0 3.522 8a2.284 2.284 0 0 0 .738-.955c.08-.192.135-.393.168-.602.033-.21.051-.423.055-.64.008-.22.008-.442 0-.666-.008-.224-.012-.45-.012-.678a1.47 1.47 0 0 1 .877-1.354 1.33 1.33 0 0 1 .563-.121H6zm4 10.032V14h.09c.313 0 .616-.062.909-.185.293-.123.552-.3.775-.53.223-.23.388-.48.493-.753v-.001c.1-.266.165-.543.198-.83v-.002c.028-.28.036-.567.024-.863-.012-.29-.018-.58-.018-.869 0-.203.04-.393.117-.572v-.001a1.502 1.502 0 0 1 .765-.787 1.38 1.38 0 0 1 .558-.115H14v-.984h-.09c-.196 0-.381-.04-.557-.121l-.001-.001a1.376 1.376 0 0 1-.455-.318l-.002-.002a1.415 1.415 0 0 1-.307-.465v-.002a1.405 1.405 0 0 1-.118-.566c0-.29.006-.58.018-.869a6.174 6.174 0 0 0-.024-.87v-.001a3.537 3.537 0 0 0-.197-.824v-.001a2.23 2.23 0 0 0-.494-.753 2.331 2.331 0 0 0-.775-.53 2.325 2.325 0 0 0-.91-.185H10v.984h.09c.2 0 .387.038.562.115.174.082.326.188.457.32.127.134.23.29.309.467.074.18.11.37.11.573 0 .228-.003.452-.011.672-.008.228-.008.45 0 .665.004.222.022.435.055.64.033.214.089.416.168.609a2.285 2.285 0 0 0 .738.955 2.285 2.285 0 0 0-.738.955 2.689 2.689 0 0 0-.168.602c-.033.21-.051.423-.055.64a9.15 9.15 0 0 0 0 .666c.008.224.012.45.012.678a1.471 1.471 0 0 1-.877 1.354 1.33 1.33 0 0 1-.563.121H10z" }) });
|
|
65
|
-
const XML = _jsx("svg", { width: "16px", height: "16px", viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", children: _jsx("path", { d: "M4.708 5.578L2.061 8.224l2.647 2.646-.708.708-3-3V7.87l3-3 .708.708zm7-.708L11 5.578l2.647 2.646L11 10.87l.708.708 3-3V7.87l-3-3zM4.908 13l.894.448 5-10L9.908 3l-5 10z" }) });
|
|
66
|
-
const MARKDOWN = _jsx("svg", { width: "16px", height: "16px", viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", children: _jsx("path", { d: "M14.85 3H1.15C.52 3 0 3.52 0 4.15v7.69C0 12.48.52 13 1.15 13h13.69c.64 0 1.15-.52 1.15-1.15v-7.7C16 3.52 15.48 3 14.85 3zM9 11H7.5L5.5 9l-1 1.5H3V5h1.5l1 2 2-2H9v6zm2.99.5L9.5 8H11V5h1v3h1.5l-2.51 3.5z" }) });
|
|
67
|
-
//# sourceMappingURL=MagicPdfView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MagicPdfView.js","sourceRoot":"","sources":["../../../../src/features/magic-pdf/MagicPdfView.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAOhD,MAAM,UAAU,YAAY,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAqB;IACjE,MAAM,EAAE,MAAM,EAAE,GAAG,cAAc,EAAE,CAAC;IAEpC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAA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/core";
|
|
3
|
-
import clsx from "clsx";
|
|
4
|
-
import { AtSignIcon, ChevronsDown, ChevronsUp, ImageIcon, InfoIcon } from "lucide-react";
|
|
5
|
-
import { useRef, useState } from "react";
|
|
6
|
-
import { usePdfPagesInfo } from "./PdfPageProvider";
|
|
7
|
-
var ImageType;
|
|
8
|
-
(function (ImageType) {
|
|
9
|
-
ImageType[ImageType["default"] = 0] = "default";
|
|
10
|
-
ImageType[ImageType["original"] = 1] = "original";
|
|
11
|
-
ImageType[ImageType["instrumented"] = 2] = "instrumented";
|
|
12
|
-
ImageType[ImageType["annotated"] = 3] = "annotated";
|
|
13
|
-
})(ImageType || (ImageType = {}));
|
|
14
|
-
export function PageSlider({ className, currentPage, onChange, object }) {
|
|
15
|
-
const getProcessorType = () => {
|
|
16
|
-
if (object.metadata?.type === "document") {
|
|
17
|
-
const docMetadata = object.metadata;
|
|
18
|
-
return docMetadata.content_processor?.type || "xml";
|
|
19
|
-
}
|
|
20
|
-
return "xml"; // default
|
|
21
|
-
};
|
|
22
|
-
const getDefaultImageType = () => {
|
|
23
|
-
const processorType = getProcessorType();
|
|
24
|
-
return processorType === "markdown" ? ImageType.original : ImageType.default;
|
|
25
|
-
};
|
|
26
|
-
const [imageType, setImageType] = useState(getDefaultImageType());
|
|
27
|
-
const ref = useRef(null);
|
|
28
|
-
const { urls, originalUrls, annotatedUrls, instrumentedUrls } = usePdfPagesInfo();
|
|
29
|
-
const goPrev = () => {
|
|
30
|
-
if (currentPage > 1) {
|
|
31
|
-
onChange(currentPage - 1);
|
|
32
|
-
if (ref.current) {
|
|
33
|
-
ref.current.querySelector(`div[data-index="${currentPage - 1}"]`)?.scrollIntoView({
|
|
34
|
-
behavior: 'smooth',
|
|
35
|
-
block: 'end',
|
|
36
|
-
inline: 'center'
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
const goNext = () => {
|
|
42
|
-
if (currentPage < urls.length) {
|
|
43
|
-
onChange(currentPage + 1);
|
|
44
|
-
if (ref.current) {
|
|
45
|
-
ref.current.querySelector(`div[data-index="${currentPage + 1}"]`)?.scrollIntoView({
|
|
46
|
-
behavior: 'smooth',
|
|
47
|
-
block: 'end',
|
|
48
|
-
inline: 'center'
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
const actualUrls = imageType === ImageType.instrumented ? instrumentedUrls :
|
|
54
|
-
(imageType === ImageType.annotated ? annotatedUrls :
|
|
55
|
-
(imageType === ImageType.original ? originalUrls : urls));
|
|
56
|
-
return (_jsxs("div", { ref: ref, className: clsx('flex flex-col items-stretch gap-y-2', className), children: [_jsxs("div", { className: "flex h-5 items-center justify-center relative", children: [_jsx("button", { className: BTN_CLASS, onClick: goPrev, children: _jsx(ChevronsUp, { className: 'w-5 h-5' }) }), _jsx("div", { className: "absolute right-3 flex gap-x-1", children: getProcessorType() === "markdown" ? (_jsxs(_Fragment, { children: [_jsx("button", { className: getRadioButtonClass(ImageType.original, imageType), onClick: () => setImageType(ImageType.original), children: _jsx(ImageIcon, { className: "w-5 h-5 mt-1" }) }), _jsx("button", { className: getRadioButtonClass(ImageType.instrumented, imageType), onClick: () => setImageType(ImageType.instrumented), children: _jsx(InfoIcon, { className: "w-5 h-5 mt-1" }) })] })) : (_jsxs(_Fragment, { children: [_jsx("button", { className: getRadioButtonClass(ImageType.default, imageType), onClick: () => setImageType(ImageType.default), children: _jsx(ImageIcon, { className: "w-5 h-5 mt-1" }) }), _jsx("button", { className: getRadioButtonClass(ImageType.instrumented, imageType), onClick: () => setImageType(ImageType.instrumented), children: _jsx(InfoIcon, { className: "w-5 h-5 mt-1" }) }), _jsx("button", { className: getRadioButtonClass(ImageType.annotated, imageType), onClick: () => setImageType(ImageType.annotated), children: _jsx(AtSignIcon, { className: "w-5 h-5 mt-1" }) })] })) })] }), _jsx("div", { className: 'flex flex-col items-center gap-2 flex-1 overflow-y-auto px-2', children: actualUrls.map((url, index) => _jsx(PageThumbnail, { url: url, currentPage: currentPage, pageNumber: index + 1, onSelect: () => onChange(index + 1) }, index)) }), _jsx("div", { className: "flex h-5 items-center justify-center relative", children: _jsx("button", { className: BTN_CLASS, onClick: goNext, children: _jsx(ChevronsDown, { className: 'size-5' }) }) })] }));
|
|
57
|
-
}
|
|
58
|
-
function PageThumbnail({ url, pageNumber, currentPage, onSelect }) {
|
|
59
|
-
return (_jsxs("div", { className: "p-2 hover:bg-gray-200 dark:hover:bg-slate-600 rounded-md", "data-index": pageNumber - 1, children: [_jsx("div", { className: clsx('relative border-[2px] cursor-pointer', pageNumber === currentPage ? "border-blue-500 dark:border-pink-400" : "border-gray-300"), onClick: onSelect, children: _jsx("img", { src: url, alt: `Page ${pageNumber}` }) }), _jsx(Center, { className: "text-sm text-gray-500 dark:text-gray-400 pt-1 font-semibold align", children: pageNumber })] }));
|
|
60
|
-
}
|
|
61
|
-
const BTN_CLASS = "cursor-pointer text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500 hover:font-semibold";
|
|
62
|
-
function getRadioButtonClass(type, currentType) {
|
|
63
|
-
if (type === currentType) {
|
|
64
|
-
return '${BTN_CLASS} text-pink-600';
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
return `${BTN_CLASS}`;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
//# sourceMappingURL=PageSlider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PageSlider.js","sourceRoot":"","sources":["../../../../src/features/magic-pdf/PageSlider.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACzF,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;A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WAAW,EAAE,UAAU,EAAE,KAAK,GAAG,CAAC,EAC/C,QAAQ,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,GAAG,CAAC,CAAC,IAFa,KAAK,CAEd,CAAC,GAC1C,EACN,cAAK,SAAS,EAAC,+CAA+C,YAC1D,iBAAQ,SAAS,EAAE,SAAS,EACxB,OAAO,EAAE,MAAM,YACf,KAAC,YAAY,IAAC,SAAS,EAAC,QAAQ,GAAG,GAC9B,GACP,IACJ,CACT,CAAA;AACL,CAAC;AAQD,SAAS,aAAa,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAsB;IACjF,OAAO,CACH,eAAK,SAAS,EAAC,0DAA0D,gBAAa,UAAU,GAAG,CAAC,aAChG,cAAK,SAAS,EAAE,IAAI,CAAC,sCAAsC,EAAE,UAAU,KAAK,WAAW,CAAC,CAAC,CAAC,sCAAsC,CAAC,CAAC,CAAC,iBAAiB,CAAC,EACjJ,OAAO,EAAE,QAAQ,YACjB,cAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,UAAU,EAAE,GAAI,GACzC,EACP,KAAC,MAAM,IAAC,SAAS,EAAC,mEAAmE,YAAE,UAAU,GAAU,IACzG,CACT,CAAA;AACL,CAAC;AAGD,MAAM,SAAS,GAAG,kHAAkH,CAAC;AAErI,SAAS,mBAAmB,CAAC,IAAe,EAAE,WAAsB;IAChE,IAAI,IAAI,KAAK,WAAW,EAAE,CAAC;QACvB,OAAO,4BAA4B,CAAC;IACxC,CAAC;SAAM,CAAC;QACJ,OAAO,GAAG,SAAS,EAAE,CAAC;IAC1B,CAAC;AACL,CAAC"}
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useUserSession } from "@vertesia/ui/session";
|
|
3
|
-
import React, { createContext, useEffect, useState } from "react";
|
|
4
|
-
const DEFAULT_PAGE_COUNT = 10;
|
|
5
|
-
const ADVANCED_PROCESSING_PREFIX = "magic-pdf";
|
|
6
|
-
class PageLayoutProvider {
|
|
7
|
-
totalPages;
|
|
8
|
-
layoutUrls = [];
|
|
9
|
-
cache;
|
|
10
|
-
constructor(totalPages) {
|
|
11
|
-
this.totalPages = totalPages;
|
|
12
|
-
this.cache = new Array(totalPages);
|
|
13
|
-
}
|
|
14
|
-
async loadUrls(vertesia, objectId) {
|
|
15
|
-
const layoutPromises = [];
|
|
16
|
-
for (let i = 0; i < this.totalPages; i++) {
|
|
17
|
-
layoutPromises.push(getLayoutUrlForPage(vertesia, objectId, i + 1));
|
|
18
|
-
}
|
|
19
|
-
const layoutUrls = await Promise.all(layoutPromises);
|
|
20
|
-
this.layoutUrls = layoutUrls.map((r) => r.url);
|
|
21
|
-
}
|
|
22
|
-
async getPageLayout(page) {
|
|
23
|
-
const index = page - 1;
|
|
24
|
-
let content = this.cache[index];
|
|
25
|
-
if (content === undefined) {
|
|
26
|
-
const url = this.layoutUrls[index];
|
|
27
|
-
content = await fetch(url, { method: "GET" }).then((r) => {
|
|
28
|
-
if (r.ok) {
|
|
29
|
-
return r.text();
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
throw new Error("Failed to fetch json layout: " + r.statusText);
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
this.cache[index] = content;
|
|
36
|
-
}
|
|
37
|
-
return content;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
class PageMarkdownProvider {
|
|
41
|
-
totalPages;
|
|
42
|
-
markdownUrls = [];
|
|
43
|
-
cache;
|
|
44
|
-
constructor(totalPages) {
|
|
45
|
-
this.totalPages = totalPages;
|
|
46
|
-
this.cache = new Array(totalPages);
|
|
47
|
-
}
|
|
48
|
-
async loadUrls(vertesia, objectId) {
|
|
49
|
-
const markdownPromises = [];
|
|
50
|
-
for (let i = 0; i < this.totalPages; i++) {
|
|
51
|
-
markdownPromises.push(getMarkdownUrlForPage(vertesia, objectId, i + 1));
|
|
52
|
-
}
|
|
53
|
-
const markdownUrls = await Promise.all(markdownPromises);
|
|
54
|
-
this.markdownUrls = markdownUrls.map((r) => r.url);
|
|
55
|
-
}
|
|
56
|
-
async getPageMarkdown(page) {
|
|
57
|
-
const index = page - 1;
|
|
58
|
-
let content = this.cache[index];
|
|
59
|
-
if (content === undefined) {
|
|
60
|
-
const url = this.markdownUrls[index];
|
|
61
|
-
content = await fetch(url, { method: "GET" }).then((r) => {
|
|
62
|
-
if (r.ok) {
|
|
63
|
-
return r.text();
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
throw new Error("Failed to fetch markdown: " + r.statusText);
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
this.cache[index] = content;
|
|
70
|
-
}
|
|
71
|
-
return content;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
const PdfPageContext = createContext(undefined);
|
|
75
|
-
export function PdfPageProvider({ children, object }) {
|
|
76
|
-
const { client } = useUserSession();
|
|
77
|
-
const [info, setInfo] = useState();
|
|
78
|
-
useEffect(() => {
|
|
79
|
-
const page_count = object.metadata.page_count ||
|
|
80
|
-
DEFAULT_PAGE_COUNT;
|
|
81
|
-
getPdfPagesInfo(client, object, page_count).then(setInfo);
|
|
82
|
-
}, [object.id]);
|
|
83
|
-
return (info && (_jsx(PdfPageContext.Provider, { value: info, children: children })));
|
|
84
|
-
}
|
|
85
|
-
function getBasePath(objectId) {
|
|
86
|
-
return `${ADVANCED_PROCESSING_PREFIX}/${objectId}`;
|
|
87
|
-
}
|
|
88
|
-
function getPageImagePath(objectId, pageNumber, ext = ".jpg") {
|
|
89
|
-
return `${getBasePath(objectId)}/pages/page-${pageNumber}${ext}`;
|
|
90
|
-
}
|
|
91
|
-
function getPageAnnotatedImagePath(objectId, pageNumber, ext = ".jpg") {
|
|
92
|
-
return `${getBasePath(objectId)}/pages/page-${pageNumber}-annotated${ext}`;
|
|
93
|
-
}
|
|
94
|
-
function getPageInstrumentedImagePath(objectId, pageNumber, ext = ".jpg") {
|
|
95
|
-
return `${getBasePath(objectId)}/pages/page-${pageNumber}.instrumented${ext}`;
|
|
96
|
-
}
|
|
97
|
-
function getPageOriginalImagePath(objectId, pageNumber, ext = ".jpg") {
|
|
98
|
-
return `${getBasePath(objectId)}/pages/page-${pageNumber}.original${ext}`;
|
|
99
|
-
}
|
|
100
|
-
function getLayoutJsonPath(objectId, pageNumber) {
|
|
101
|
-
return `${getBasePath(objectId)}/pages/page-${pageNumber}.layout.json`;
|
|
102
|
-
}
|
|
103
|
-
function getMarkdownPath(objectId, pageNumber) {
|
|
104
|
-
return `${getBasePath(objectId)}/pages/page-${pageNumber}.md`;
|
|
105
|
-
}
|
|
106
|
-
export function getResourceUrl(vertesia, objectId, name) {
|
|
107
|
-
return vertesia.files
|
|
108
|
-
.getDownloadUrl(`${getBasePath(objectId)}/${name}`)
|
|
109
|
-
.then((r) => r.url);
|
|
110
|
-
}
|
|
111
|
-
function getImageUrlForPage(vertesia, objectId, pageNumber) {
|
|
112
|
-
return vertesia.files.getDownloadUrl(getPageImagePath(objectId, pageNumber));
|
|
113
|
-
}
|
|
114
|
-
function getAnnotatedImageUrlForPage(vertesia, objectId, pageNumber) {
|
|
115
|
-
return vertesia.files.getDownloadUrl(getPageAnnotatedImagePath(objectId, pageNumber));
|
|
116
|
-
}
|
|
117
|
-
function getInstrumentedImageUrlForPage(vertesia, objectId, pageNumber) {
|
|
118
|
-
return vertesia.files.getDownloadUrl(getPageInstrumentedImagePath(objectId, pageNumber));
|
|
119
|
-
}
|
|
120
|
-
function getOriginalImageUrlForPage(vertesia, objectId, pageNumber) {
|
|
121
|
-
return vertesia.files.getDownloadUrl(getPageOriginalImagePath(objectId, pageNumber));
|
|
122
|
-
}
|
|
123
|
-
function getLayoutUrlForPage(vertesia, objectId, pageNumber) {
|
|
124
|
-
return vertesia.files.getDownloadUrl(getLayoutJsonPath(objectId, pageNumber));
|
|
125
|
-
}
|
|
126
|
-
function getMarkdownUrlForPage(vertesia, objectId, pageNumber) {
|
|
127
|
-
return vertesia.files.getDownloadUrl(getMarkdownPath(objectId, pageNumber));
|
|
128
|
-
}
|
|
129
|
-
async function getPdfPagesInfo(vertesia, object, page_count) {
|
|
130
|
-
const imageUrlPromises = [];
|
|
131
|
-
for (let i = 0; i < page_count; i++) {
|
|
132
|
-
imageUrlPromises.push(getImageUrlForPage(vertesia, object.id, i + 1));
|
|
133
|
-
}
|
|
134
|
-
const imageUrls = await Promise.all(imageUrlPromises);
|
|
135
|
-
const annotatedImageUrlPromises = [];
|
|
136
|
-
for (let i = 0; i < page_count; i++) {
|
|
137
|
-
annotatedImageUrlPromises.push(getAnnotatedImageUrlForPage(vertesia, object.id, i + 1));
|
|
138
|
-
}
|
|
139
|
-
const annotatedImageUrls = await Promise.all(annotatedImageUrlPromises);
|
|
140
|
-
const instrumentedImageUrlPromises = [];
|
|
141
|
-
for (let i = 0; i < page_count; i++) {
|
|
142
|
-
instrumentedImageUrlPromises.push(getInstrumentedImageUrlForPage(vertesia, object.id, i + 1));
|
|
143
|
-
}
|
|
144
|
-
const instrumentedImageUrls = await Promise.all(instrumentedImageUrlPromises);
|
|
145
|
-
const originalImageUrlPromises = [];
|
|
146
|
-
for (let i = 0; i < page_count; i++) {
|
|
147
|
-
originalImageUrlPromises.push(getOriginalImageUrlForPage(vertesia, object.id, i + 1));
|
|
148
|
-
}
|
|
149
|
-
const originalImageUrls = await Promise.all(originalImageUrlPromises);
|
|
150
|
-
const layoutProvider = new PageLayoutProvider(page_count);
|
|
151
|
-
await layoutProvider.loadUrls(vertesia, object.id);
|
|
152
|
-
const markdownProvider = new PageMarkdownProvider(page_count);
|
|
153
|
-
await markdownProvider.loadUrls(vertesia, object.id);
|
|
154
|
-
const xml = object.text ? cleanXml(object.text) : "";
|
|
155
|
-
return {
|
|
156
|
-
count: page_count,
|
|
157
|
-
urls: imageUrls.map((r) => r.url),
|
|
158
|
-
originalUrls: originalImageUrls.map((r) => r.url),
|
|
159
|
-
annotatedUrls: annotatedImageUrls.map((r) => r.url),
|
|
160
|
-
instrumentedUrls: instrumentedImageUrls.map((r) => r.url),
|
|
161
|
-
layoutProvider,
|
|
162
|
-
markdownProvider,
|
|
163
|
-
xml,
|
|
164
|
-
xmlPages: object.text ? extractXmlPages(xml) : [],
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
export function usePdfPagesInfo() {
|
|
168
|
-
const context = React.useContext(PdfPageContext);
|
|
169
|
-
if (!context) {
|
|
170
|
-
throw new Error("usePdfPagesInfo must be used within a PdfPageProvider");
|
|
171
|
-
}
|
|
172
|
-
return context;
|
|
173
|
-
}
|
|
174
|
-
function extractXmlPages(xml) {
|
|
175
|
-
// Parse the XML string
|
|
176
|
-
const doc = new DOMParser().parseFromString(cleanXml(xml), "text/xml");
|
|
177
|
-
const pages = doc.getElementsByTagName("page");
|
|
178
|
-
const serializer = new XMLSerializer();
|
|
179
|
-
return Array.from(pages).map((p) => serializer.serializeToString(p));
|
|
180
|
-
}
|
|
181
|
-
function cleanXml(xml) {
|
|
182
|
-
const cleanedXML = xml
|
|
183
|
-
// eslint-disable-next-line no-control-regex
|
|
184
|
-
.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]/g, "")
|
|
185
|
-
.replace(/<\?xml.*?\?>/g, "");
|
|
186
|
-
return cleanedXML;
|
|
187
|
-
}
|
|
188
|
-
//# sourceMappingURL=PdfPageProvider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PdfPageProvider.js","sourceRoot":"","sources":["../../../../src/features/magic-pdf/PdfPageProvider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAOtD,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAElE,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAC9B,MAAM,0BAA0B,GAAG,WAAW,CAAC;AAc/C,MAAM,kBAAkB;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