@vertesia/ui 0.78.0 → 0.79.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/core/components/Panel.js +8 -0
- package/lib/esm/core/components/Panel.js.map +1 -0
- package/lib/esm/core/components/SelectBox.js +1 -1
- package/lib/esm/core/components/SelectBox.js.map +1 -1
- package/lib/esm/core/components/SelectList.js +18 -13
- package/lib/esm/core/components/SelectList.js.map +1 -1
- package/lib/esm/core/components/SidePanel.js +2 -2
- package/lib/esm/core/components/SidePanel.js.map +1 -1
- package/lib/esm/core/components/index.js +1 -1
- package/lib/esm/core/components/index.js.map +1 -1
- package/lib/esm/core/components/shadcn/breadcrumb.js +29 -8
- package/lib/esm/core/components/shadcn/breadcrumb.js.map +1 -1
- package/lib/esm/core/components/shadcn/button.js +3 -2
- package/lib/esm/core/components/shadcn/button.js.map +1 -1
- package/lib/esm/core/components/shadcn/filters/filterBar.js +41 -14
- package/lib/esm/core/components/shadcn/filters/filterBar.js.map +1 -1
- package/lib/esm/core/components/shadcn/index.js +2 -0
- package/lib/esm/core/components/shadcn/index.js.map +1 -1
- package/lib/esm/core/components/shadcn/input.js +4 -1
- package/lib/esm/core/components/shadcn/input.js.map +1 -1
- package/lib/esm/core/components/shadcn/resizeable.js +15 -0
- package/lib/esm/core/components/shadcn/resizeable.js.map +1 -0
- package/lib/esm/core/components/shadcn/selectBox.js +15 -9
- package/lib/esm/core/components/shadcn/selectBox.js.map +1 -1
- package/lib/esm/core/components/shadcn/tabs.js +20 -8
- package/lib/esm/core/components/shadcn/tabs.js.map +1 -1
- package/lib/esm/core/components/shadcn/textarea.js +7 -0
- package/lib/esm/core/components/shadcn/textarea.js.map +1 -0
- package/lib/esm/core/components/table/index.js +1 -1
- package/lib/esm/core/components/table/index.js.map +1 -1
- package/lib/esm/core/hooks/CompositeState.js +139 -1
- package/lib/esm/core/hooks/CompositeState.js.map +1 -1
- package/lib/esm/core/hooks/index.js +1 -0
- package/lib/esm/core/hooks/index.js.map +1 -1
- package/lib/esm/core/hooks/useScrollableSearch.js +92 -0
- package/lib/esm/core/hooks/useScrollableSearch.js.map +1 -0
- package/lib/esm/env/index.js +1 -1
- package/lib/esm/env/index.js.map +1 -1
- package/lib/esm/features/agent/PayloadBuilder.js +80 -55
- package/lib/esm/features/agent/PayloadBuilder.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentConversation.js +22 -24
- package/lib/esm/features/agent/chat/ModernAgentConversation.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js +2 -3
- package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js +2 -2
- package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js +15 -20
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/PlanPanel.js +1 -0
- package/lib/esm/features/agent/chat/ModernAgentOutput/PlanPanel.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js +3 -3
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js +6 -6
- package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js.map +1 -1
- package/lib/esm/features/facets/CollectionsFacetsNav.js +85 -0
- package/lib/esm/features/facets/CollectionsFacetsNav.js.map +1 -0
- package/lib/esm/features/facets/DocumentsFacetsNav.js +19 -7
- package/lib/esm/features/facets/DocumentsFacetsNav.js.map +1 -1
- package/lib/esm/features/facets/EnvironmentFacet.js +1 -1
- package/lib/esm/features/facets/EnvironmentFacet.js.map +1 -1
- package/lib/esm/features/facets/InteractionsFacetsNav.js +88 -0
- package/lib/esm/features/facets/InteractionsFacetsNav.js.map +1 -0
- package/lib/esm/features/facets/PromptsFacetsNav.js +80 -0
- package/lib/esm/features/facets/PromptsFacetsNav.js.map +1 -0
- package/lib/esm/features/facets/RunsFacetsNav.js +28 -6
- package/lib/esm/features/facets/RunsFacetsNav.js.map +1 -1
- package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js +7 -5
- package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js.map +1 -1
- package/lib/esm/features/facets/index.js +10 -8
- package/lib/esm/features/facets/index.js.map +1 -1
- package/lib/esm/features/facets/utils/SearchInterface.js +2 -0
- package/lib/esm/features/facets/utils/SearchInterface.js.map +1 -0
- package/lib/esm/features/facets/utils/StringFacet.js.map +1 -0
- package/lib/esm/features/facets/utils/StringListFacet.js.map +1 -0
- package/lib/esm/features/facets/utils/TypeFacet.js.map +1 -0
- package/lib/esm/features/facets/utils/VEnvironmentFacet.js.map +1 -0
- package/lib/esm/features/facets/utils/VInteractionFacet.js.map +1 -0
- package/lib/esm/features/facets/utils/VStringFacet.js.map +1 -0
- package/lib/esm/features/facets/{VTypeFacet.js → utils/VTypeFacet.js} +9 -4
- package/lib/esm/features/facets/utils/VTypeFacet.js.map +1 -0
- package/lib/esm/features/facets/{VUserFacet.js → utils/VUserFacet.js} +1 -1
- package/lib/esm/features/facets/utils/VUserFacet.js.map +1 -0
- package/lib/esm/features/facets/utils/utils.js.map +1 -0
- package/lib/esm/features/layout/GenericPageNavHeader.js +58 -5
- package/lib/esm/features/layout/GenericPageNavHeader.js.map +1 -1
- package/lib/esm/features/store/collections/BrowseCollectionView.js +3 -0
- package/lib/esm/features/store/collections/BrowseCollectionView.js.map +1 -1
- package/lib/esm/features/store/collections/CreateCollection.js +2 -2
- package/lib/esm/features/store/collections/CreateCollection.js.map +1 -1
- package/lib/esm/features/store/collections/EditCollectionView.js +43 -31
- package/lib/esm/features/store/collections/EditCollectionView.js.map +1 -1
- package/lib/esm/features/store/collections/SelectCollection.js +46 -16
- package/lib/esm/features/store/collections/SelectCollection.js.map +1 -1
- package/lib/esm/features/store/objects/DocumentSearchResults.js +43 -13
- package/lib/esm/features/store/objects/DocumentSearchResults.js.map +1 -1
- package/lib/esm/features/store/objects/DocumentTable.js +6 -6
- package/lib/esm/features/store/objects/DocumentTable.js.map +1 -1
- package/lib/esm/features/store/objects/components/ContentOverview.js +225 -87
- package/lib/esm/features/store/objects/components/ContentOverview.js.map +1 -1
- package/lib/esm/features/store/objects/components/DocumentIcon.js +11 -3
- package/lib/esm/features/store/objects/components/DocumentIcon.js.map +1 -1
- package/lib/esm/features/store/objects/components/SaveVersionConfirmModal.js +11 -2
- package/lib/esm/features/store/objects/components/SaveVersionConfirmModal.js.map +1 -1
- package/lib/esm/features/store/objects/components/useDownloadObject.js +2 -2
- package/lib/esm/features/store/objects/components/useDownloadObject.js.map +1 -1
- package/lib/esm/features/store/objects/layout/DocumentTableColumn.js +13 -1
- package/lib/esm/features/store/objects/layout/DocumentTableColumn.js.map +1 -1
- package/lib/esm/features/store/objects/layout/documentLayout.js +7 -8
- package/lib/esm/features/store/objects/layout/documentLayout.js.map +1 -1
- package/lib/esm/features/store/objects/layout/renderers.js +28 -12
- package/lib/esm/features/store/objects/layout/renderers.js.map +1 -1
- package/lib/esm/features/store/objects/search/DocumentSearchContext.js +5 -1
- package/lib/esm/features/store/objects/search/DocumentSearchContext.js.map +1 -1
- package/lib/esm/features/store/objects/search/DocumentSearchProvider.js +1 -1
- package/lib/esm/features/store/objects/search/DocumentSearchProvider.js.map +1 -1
- package/lib/esm/features/store/objects/selection/ObjectsActionContext.js +3 -2
- package/lib/esm/features/store/objects/selection/ObjectsActionContext.js.map +1 -1
- package/lib/esm/features/store/objects/selection/SelectionActions.js +2 -0
- package/lib/esm/features/store/objects/selection/SelectionActions.js.map +1 -1
- package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js +12 -4
- package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js.map +1 -1
- package/lib/esm/features/store/objects/selection/actions/DeleteObjectsAction.js +20 -2
- package/lib/esm/features/store/objects/selection/actions/DeleteObjectsAction.js.map +1 -1
- package/lib/esm/features/store/objects/upload/DocumentUploadModal.js +16 -8
- package/lib/esm/features/store/objects/upload/DocumentUploadModal.js.map +1 -1
- package/lib/esm/features/store/types/CreateOrUpdateTypeModal.js +1 -1
- package/lib/esm/features/store/types/CreateOrUpdateTypeModal.js.map +1 -1
- package/lib/esm/features/store/types/ObjectSchemaEditor.js +1 -1
- package/lib/esm/features/store/types/ObjectSchemaEditor.js.map +1 -1
- package/lib/esm/features/user/UserInfo.js +35 -1
- package/lib/esm/features/user/UserInfo.js.map +1 -1
- package/lib/esm/router/HistoryNavigator.js +25 -2
- package/lib/esm/router/HistoryNavigator.js.map +1 -1
- package/lib/esm/router/Nav.js +3 -3
- package/lib/esm/router/Nav.js.map +1 -1
- package/lib/esm/session/UserSession.js +1 -0
- package/lib/esm/session/UserSession.js.map +1 -1
- package/lib/esm/session/UserSessionProvider.js +9 -2
- package/lib/esm/session/UserSessionProvider.js.map +1 -1
- package/lib/esm/session/auth/composable.js +66 -67
- package/lib/esm/session/auth/composable.js.map +1 -1
- package/lib/esm/shell/login/UserInfo.js +1 -1
- package/lib/esm/shell/login/UserInfo.js.map +1 -1
- package/lib/esm/widgets/form/Form.js +17 -30
- package/lib/esm/widgets/form/Form.js.map +1 -1
- package/lib/esm/widgets/form/FormContext.js +4 -2
- package/lib/esm/widgets/form/FormContext.js.map +1 -1
- package/lib/esm/widgets/form/ManagedObject.js +4 -0
- package/lib/esm/widgets/form/ManagedObject.js.map +1 -1
- package/lib/esm/widgets/form/fields.js +4 -3
- package/lib/esm/widgets/form/fields.js.map +1 -1
- package/lib/esm/widgets/form/inputs.js +2 -0
- package/lib/esm/widgets/form/inputs.js.map +1 -1
- package/lib/esm/widgets/schema-editor/index.js +0 -1
- package/lib/esm/widgets/schema-editor/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/core/components/Panel.d.ts +11 -0
- package/lib/types/core/components/Panel.d.ts.map +1 -0
- package/lib/types/core/components/SelectList.d.ts +2 -1
- package/lib/types/core/components/SelectList.d.ts.map +1 -1
- package/lib/types/core/components/SidePanel.d.ts.map +1 -1
- package/lib/types/core/components/index.d.ts +1 -1
- package/lib/types/core/components/index.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/breadcrumb.d.ts +3 -2
- package/lib/types/core/components/shadcn/breadcrumb.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/button.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/filters/filterBar.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/index.d.ts +2 -0
- package/lib/types/core/components/shadcn/index.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/input.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/resizeable.d.ts +9 -0
- package/lib/types/core/components/shadcn/resizeable.d.ts.map +1 -0
- package/lib/types/core/components/shadcn/selectBox.d.ts +3 -2
- package/lib/types/core/components/shadcn/selectBox.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/tabs.d.ts +2 -1
- package/lib/types/core/components/shadcn/tabs.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/textarea.d.ts +4 -0
- package/lib/types/core/components/shadcn/textarea.d.ts.map +1 -0
- package/lib/types/core/hooks/CompositeState.d.ts +115 -6
- package/lib/types/core/hooks/CompositeState.d.ts.map +1 -1
- package/lib/types/core/hooks/index.d.ts +1 -0
- package/lib/types/core/hooks/index.d.ts.map +1 -1
- package/lib/types/core/hooks/useScrollableSearch.d.ts +82 -0
- package/lib/types/core/hooks/useScrollableSearch.d.ts.map +1 -0
- package/lib/types/env/index.d.ts +3 -1
- package/lib/types/env/index.d.ts.map +1 -1
- package/lib/types/features/agent/PayloadBuilder.d.ts +11 -19
- package/lib/types/features/agent/PayloadBuilder.d.ts.map +1 -1
- package/lib/types/features/agent/chat/ModernAgentConversation.d.ts.map +1 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts +1 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts.map +1 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts.map +1 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts.map +1 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts.map +1 -1
- package/lib/types/features/facets/CollectionsFacetsNav.d.ts +14 -0
- package/lib/types/features/facets/CollectionsFacetsNav.d.ts.map +1 -0
- package/lib/types/features/facets/DocumentsFacetsNav.d.ts +1 -1
- package/lib/types/features/facets/DocumentsFacetsNav.d.ts.map +1 -1
- package/lib/types/features/facets/InteractionsFacetsNav.d.ts +14 -0
- package/lib/types/features/facets/InteractionsFacetsNav.d.ts.map +1 -0
- package/lib/types/features/facets/PromptsFacetsNav.d.ts +15 -0
- package/lib/types/features/facets/PromptsFacetsNav.d.ts.map +1 -0
- package/lib/types/features/facets/RunsFacetsNav.d.ts +1 -1
- package/lib/types/features/facets/RunsFacetsNav.d.ts.map +1 -1
- package/lib/types/features/facets/WorkflowExecutionsFacetsNav.d.ts +1 -1
- package/lib/types/features/facets/WorkflowExecutionsFacetsNav.d.ts.map +1 -1
- package/lib/types/features/facets/index.d.ts +10 -8
- package/lib/types/features/facets/index.d.ts.map +1 -1
- package/lib/types/features/facets/utils/SearchInterface.d.ts +14 -0
- package/lib/types/features/facets/utils/SearchInterface.d.ts.map +1 -0
- package/lib/types/features/facets/utils/StringFacet.d.ts.map +1 -0
- package/lib/types/features/facets/utils/StringListFacet.d.ts.map +1 -0
- package/lib/types/features/facets/utils/TypeFacet.d.ts.map +1 -0
- package/lib/types/features/facets/utils/VEnvironmentFacet.d.ts.map +1 -0
- package/lib/types/features/facets/utils/VInteractionFacet.d.ts.map +1 -0
- package/lib/types/features/facets/utils/VStringFacet.d.ts.map +1 -0
- package/lib/types/features/facets/{VTypeFacet.d.ts → utils/VTypeFacet.d.ts} +2 -1
- package/lib/types/features/facets/utils/VTypeFacet.d.ts.map +1 -0
- package/lib/types/features/facets/utils/VUserFacet.d.ts.map +1 -0
- package/lib/types/features/facets/utils/utils.d.ts.map +1 -0
- package/lib/types/features/layout/GenericPageNavHeader.d.ts +2 -1
- package/lib/types/features/layout/GenericPageNavHeader.d.ts.map +1 -1
- package/lib/types/features/store/collections/BrowseCollectionView.d.ts.map +1 -1
- package/lib/types/features/store/collections/CreateCollection.d.ts.map +1 -1
- package/lib/types/features/store/collections/EditCollectionView.d.ts.map +1 -1
- package/lib/types/features/store/collections/SelectCollection.d.ts +12 -8
- package/lib/types/features/store/collections/SelectCollection.d.ts.map +1 -1
- package/lib/types/features/store/objects/DocumentSearchResults.d.ts.map +1 -1
- package/lib/types/features/store/objects/DocumentTable.d.ts +4 -0
- package/lib/types/features/store/objects/DocumentTable.d.ts.map +1 -1
- package/lib/types/features/store/objects/components/ContentOverview.d.ts.map +1 -1
- package/lib/types/features/store/objects/components/DocumentIcon.d.ts +7 -1
- package/lib/types/features/store/objects/components/DocumentIcon.d.ts.map +1 -1
- package/lib/types/features/store/objects/components/SaveVersionConfirmModal.d.ts.map +1 -1
- package/lib/types/features/store/objects/components/useDownloadObject.d.ts +1 -1
- package/lib/types/features/store/objects/components/useDownloadObject.d.ts.map +1 -1
- package/lib/types/features/store/objects/layout/DocumentTableColumn.d.ts +2 -1
- package/lib/types/features/store/objects/layout/DocumentTableColumn.d.ts.map +1 -1
- package/lib/types/features/store/objects/layout/documentLayout.d.ts +4 -2
- package/lib/types/features/store/objects/layout/documentLayout.d.ts.map +1 -1
- package/lib/types/features/store/objects/layout/renderers.d.ts +1 -1
- package/lib/types/features/store/objects/layout/renderers.d.ts.map +1 -1
- package/lib/types/features/store/objects/search/DocumentSearchContext.d.ts +2 -3
- package/lib/types/features/store/objects/search/DocumentSearchContext.d.ts.map +1 -1
- package/lib/types/features/store/objects/selection/ObjectsActionContext.d.ts.map +1 -1
- package/lib/types/features/store/objects/selection/SelectionActions.d.ts.map +1 -1
- package/lib/types/features/store/objects/selection/actions/DeleteObjectsAction.d.ts +1 -0
- package/lib/types/features/store/objects/selection/actions/DeleteObjectsAction.d.ts.map +1 -1
- package/lib/types/features/store/objects/upload/DocumentUploadModal.d.ts.map +1 -1
- package/lib/types/features/user/UserInfo.d.ts +12 -1
- package/lib/types/features/user/UserInfo.d.ts.map +1 -1
- package/lib/types/router/HistoryNavigator.d.ts.map +1 -1
- package/lib/types/router/Nav.d.ts +2 -1
- package/lib/types/router/Nav.d.ts.map +1 -1
- package/lib/types/session/UserSession.d.ts.map +1 -1
- package/lib/types/session/UserSessionProvider.d.ts.map +1 -1
- package/lib/types/session/auth/composable.d.ts.map +1 -1
- package/lib/types/widgets/form/Form.d.ts +2 -1
- package/lib/types/widgets/form/Form.d.ts.map +1 -1
- package/lib/types/widgets/form/FormContext.d.ts +5 -2
- package/lib/types/widgets/form/FormContext.d.ts.map +1 -1
- package/lib/types/widgets/form/ManagedObject.d.ts.map +1 -1
- package/lib/types/widgets/form/fields.d.ts +2 -2
- package/lib/types/widgets/form/fields.d.ts.map +1 -1
- package/lib/types/widgets/form/inputs.d.ts.map +1 -1
- package/lib/types/widgets/schema-editor/index.d.ts +0 -1
- package/lib/types/widgets/schema-editor/index.d.ts.map +1 -1
- package/lib/vertesia-ui-core.js +1 -1
- package/lib/vertesia-ui-core.js.map +1 -1
- package/lib/vertesia-ui-env.js +1 -1
- package/lib/vertesia-ui-env.js.map +1 -1
- package/lib/vertesia-ui-features.js +1 -1
- package/lib/vertesia-ui-features.js.map +1 -1
- package/lib/vertesia-ui-router.js +1 -1
- package/lib/vertesia-ui-router.js.map +1 -1
- package/lib/vertesia-ui-session.js +1 -1
- package/lib/vertesia-ui-session.js.map +1 -1
- package/lib/vertesia-ui-shell.js +1 -1
- package/lib/vertesia-ui-shell.js.map +1 -1
- package/lib/vertesia-ui-widgets.js +1 -1
- package/lib/vertesia-ui-widgets.js.map +1 -1
- package/package.json +166 -165
- package/src/core/components/Panel.tsx +34 -0
- package/src/core/components/SelectList.tsx +11 -1
- package/src/core/components/SidePanel.tsx +18 -13
- package/src/core/components/index.ts +1 -1
- package/src/core/components/shadcn/breadcrumb.tsx +49 -30
- package/src/core/components/shadcn/button.tsx +3 -2
- package/src/core/components/shadcn/filters/filterBar.tsx +49 -23
- package/src/core/components/shadcn/index.ts +2 -0
- package/src/core/components/shadcn/input.tsx +10 -7
- package/src/core/components/shadcn/resizeable.tsx +54 -0
- package/src/core/components/shadcn/selectBox.tsx +87 -67
- package/src/core/components/shadcn/tabs.tsx +25 -8
- package/src/core/components/shadcn/textarea.tsx +21 -0
- package/src/core/components/table/index.tsx +1 -1
- package/src/core/hooks/index.ts +1 -0
- package/src/core/hooks/useScrollableSearch.tsx +193 -0
- package/src/features/agent/chat/ModernAgentConversation.tsx +109 -118
- package/src/features/agent/chat/ModernAgentOutput/AllMessagesMixed.tsx +2 -22
- package/src/features/agent/chat/ModernAgentOutput/Header.tsx +1 -9
- package/src/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.tsx +39 -55
- package/src/features/agent/chat/ModernAgentOutput/PlanPanel.tsx +1 -0
- package/src/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.tsx +8 -8
- package/src/features/agent/chat/ModernAgentOutput/WorkstreamTabs.tsx +8 -8
- package/src/features/facets/CollectionsFacetsNav.tsx +115 -0
- package/src/features/facets/DocumentsFacetsNav.tsx +22 -11
- package/src/features/facets/EnvironmentFacet.tsx +1 -1
- package/src/features/facets/InteractionsFacetsNav.tsx +121 -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/src/features/facets/utils/SearchInterface.tsx +12 -0
- package/src/features/facets/{VTypeFacet.tsx → utils/VTypeFacet.tsx} +12 -5
- package/src/features/facets/{VUserFacet.tsx → utils/VUserFacet.tsx} +1 -1
- package/src/features/layout/GenericPageNavHeader.tsx +73 -10
- package/src/features/store/collections/BrowseCollectionView.tsx +4 -0
- package/src/features/store/collections/CreateCollection.tsx +3 -4
- package/src/features/store/collections/EditCollectionView.tsx +104 -85
- package/src/features/store/collections/SelectCollection.tsx +214 -29
- package/src/features/store/objects/DocumentSearchResults.tsx +98 -27
- package/src/features/store/objects/DocumentTable.tsx +14 -4
- package/src/features/store/objects/components/ContentOverview.tsx +536 -267
- package/src/features/store/objects/components/DocumentIcon.tsx +42 -13
- package/src/features/store/objects/components/SaveVersionConfirmModal.tsx +12 -2
- package/src/features/store/objects/layout/DocumentTableColumn.tsx +16 -1
- package/src/features/store/objects/layout/documentLayout.tsx +10 -12
- package/src/features/store/objects/layout/knowledge.md +10 -10
- package/src/features/store/objects/layout/renderers.tsx +39 -18
- package/src/features/store/objects/search/DocumentSearchContext.ts +6 -1
- package/src/features/store/objects/search/DocumentSearchProvider.tsx +1 -1
- package/src/features/store/objects/selection/ObjectsActionContext.tsx +3 -2
- package/src/features/store/objects/selection/SelectionActions.tsx +2 -0
- package/src/features/store/objects/selection/actions/AddToCollectionAction.tsx +23 -10
- package/src/features/store/objects/selection/actions/DeleteObjectsAction.tsx +22 -2
- package/src/features/store/objects/upload/DocumentUploadModal.tsx +23 -15
- package/src/features/store/objects/upload/useSmartFileUploadProcessing.ts +10 -7
- package/src/features/store/types/CreateOrUpdateTypeModal.tsx +1 -1
- package/src/features/store/types/ObjectSchemaEditor.tsx +1 -1
- package/src/features/user/UserInfo.tsx +66 -3
- package/src/router/HistoryNavigator.ts +33 -2
- package/src/router/Nav.tsx +4 -3
- package/src/shell/login/UserInfo.tsx +1 -1
- package/src/widgets/form/Form.tsx +19 -43
- package/src/widgets/form/FormContext.ts +5 -2
- package/src/widgets/form/fields.tsx +8 -6
- package/src/widgets/form/inputs.tsx +1 -0
- package/src/widgets/schema-editor/index.ts +0 -1
- package/lib/esm/core/components/Textarea.js +0 -15
- package/lib/esm/core/components/Textarea.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/StringFacet.js.map +0 -1
- package/lib/esm/features/facets/StringListFacet.js.map +0 -1
- package/lib/esm/features/facets/TypeFacet.js.map +0 -1
- 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.map +0 -1
- package/lib/esm/features/facets/VStringFacet.js.map +0 -1
- package/lib/esm/features/facets/VTypeFacet.js.map +0 -1
- package/lib/esm/features/facets/VUserFacet.js.map +0 -1
- package/lib/esm/features/facets/utils.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/types/core/components/Textarea.d.ts +0 -8
- package/lib/types/core/components/Textarea.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/StringFacet.d.ts.map +0 -1
- package/lib/types/features/facets/StringListFacet.d.ts.map +0 -1
- package/lib/types/features/facets/TypeFacet.d.ts.map +0 -1
- package/lib/types/features/facets/VEnvironmentFacet.d.ts.map +0 -1
- package/lib/types/features/facets/VFacetsNav.d.ts +0 -16
- package/lib/types/features/facets/VFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/VInteractionFacet.d.ts.map +0 -1
- package/lib/types/features/facets/VStringFacet.d.ts.map +0 -1
- package/lib/types/features/facets/VTypeFacet.d.ts.map +0 -1
- package/lib/types/features/facets/VUserFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils.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/src/core/components/Textarea.tsx +0 -25
- 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/lib/esm/features/facets/{StringFacet.js → utils/StringFacet.js} +0 -0
- /package/lib/esm/features/facets/{StringListFacet.js → utils/StringListFacet.js} +0 -0
- /package/lib/esm/features/facets/{TypeFacet.js → utils/TypeFacet.js} +0 -0
- /package/lib/esm/features/facets/{VEnvironmentFacet.js → utils/VEnvironmentFacet.js} +0 -0
- /package/lib/esm/features/facets/{VInteractionFacet.js → utils/VInteractionFacet.js} +0 -0
- /package/lib/esm/features/facets/{VStringFacet.js → utils/VStringFacet.js} +0 -0
- /package/lib/esm/features/facets/{utils.js → utils/utils.js} +0 -0
- /package/lib/types/features/facets/{StringFacet.d.ts → utils/StringFacet.d.ts} +0 -0
- /package/lib/types/features/facets/{StringListFacet.d.ts → utils/StringListFacet.d.ts} +0 -0
- /package/lib/types/features/facets/{TypeFacet.d.ts → utils/TypeFacet.d.ts} +0 -0
- /package/lib/types/features/facets/{VEnvironmentFacet.d.ts → utils/VEnvironmentFacet.d.ts} +0 -0
- /package/lib/types/features/facets/{VInteractionFacet.d.ts → utils/VInteractionFacet.d.ts} +0 -0
- /package/lib/types/features/facets/{VStringFacet.d.ts → utils/VStringFacet.d.ts} +0 -0
- /package/lib/types/features/facets/{VUserFacet.d.ts → utils/VUserFacet.d.ts} +0 -0
- /package/lib/types/features/facets/{utils.d.ts → utils/utils.d.ts} +0 -0
- /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,13 +1,12 @@
|
|
|
1
1
|
import { useRef, useState, useEffect } from "react";
|
|
2
2
|
import { ColumnLayout, ContentObject, ContentObjectItem, ComplexSearchQuery } from '@vertesia/common';
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
4
|
Button, Divider, ErrorBox, SidePanel, Spinner, useIntersectionObserver, useToast,
|
|
6
5
|
FilterProvider, FilterBtn, FilterBar, FilterClear, Filter as BaseFilter
|
|
7
6
|
} from '@vertesia/ui/core';
|
|
8
7
|
import { useNavigate } from "@vertesia/ui/router";
|
|
9
8
|
import { TypeRegistry, useUserSession } from '@vertesia/ui/session';
|
|
10
|
-
import { Download, RefreshCw,
|
|
9
|
+
import { Download, RefreshCw, ExternalLink } from 'lucide-react';
|
|
11
10
|
import { useDocumentFilterGroups, useDocumentFilterHandler } from "../../facets/DocumentsFacetsNav";
|
|
12
11
|
import { VectorSearchWidget } from './components/VectorSearchWidget';
|
|
13
12
|
import { ContentDispositionButton } from './components/ContentDispositionButton';
|
|
@@ -19,8 +18,8 @@ import { ContentOverview } from './components/ContentOverview';
|
|
|
19
18
|
import { useDownloadDocument } from './components/useDownloadObject';
|
|
20
19
|
|
|
21
20
|
const defaultLayout: ColumnLayout[] = [
|
|
22
|
-
{ name: "ID", field: "id", type: "
|
|
23
|
-
{ name: "Name", field: ".", type: "
|
|
21
|
+
{ name: "ID", field: "id", type: "objectId?slice=-7" },
|
|
22
|
+
{ name: "Name", field: ".", type: "objectName" },
|
|
24
23
|
{ name: "Type", field: "type.name", type: "string" },
|
|
25
24
|
{ name: "Status", field: "status", type: "string" },
|
|
26
25
|
{ name: "Updated At", field: "updated_at", type: "date" },
|
|
@@ -91,7 +90,7 @@ export function DocumentSearchResults({ layout, onUpload, allowFilter = true, al
|
|
|
91
90
|
const [isReady, setIsReady] = useState(false);
|
|
92
91
|
const [selectedObject, setSelectedObject] = useState<ContentObjectItem | null>(null);
|
|
93
92
|
const { typeRegistry } = useUserSession();
|
|
94
|
-
const { search, isLoading, error, objects } = useWatchDocumentSearchResult();
|
|
93
|
+
const { search, isLoading, error, objects, hasMore } = useWatchDocumentSearchResult();
|
|
95
94
|
const [actualLayout, setActualLayout] = useState<ColumnLayout[]>(
|
|
96
95
|
typeRegistry ? layout || getTableLayout(typeRegistry, search.query.type) : defaultLayout,
|
|
97
96
|
);
|
|
@@ -102,10 +101,11 @@ export function DocumentSearchResults({ layout, onUpload, allowFilter = true, al
|
|
|
102
101
|
const [filters, setFilters] = useState<BaseFilter[]>([]);
|
|
103
102
|
|
|
104
103
|
const loadMoreRef = useRef<HTMLDivElement>(null);
|
|
105
|
-
|
|
104
|
+
|
|
106
105
|
// Trigger initial search when component mounts
|
|
107
106
|
useEffect(() => {
|
|
108
107
|
if (!isReady && objects.length === 0) {
|
|
108
|
+
setLoaded(0);
|
|
109
109
|
// Manually set loading state to show spinner during initial load
|
|
110
110
|
search._updateRunningState(true);
|
|
111
111
|
search.search().then(() => {
|
|
@@ -117,6 +117,12 @@ export function DocumentSearchResults({ layout, onUpload, allowFilter = true, al
|
|
|
117
117
|
}
|
|
118
118
|
}, []);
|
|
119
119
|
|
|
120
|
+
useEffect(() => {
|
|
121
|
+
if (objects.length < loaded) {
|
|
122
|
+
setLoaded(objects.length);
|
|
123
|
+
}
|
|
124
|
+
}, [objects.length, loaded]);
|
|
125
|
+
|
|
120
126
|
useIntersectionObserver(loadMoreRef, () => {
|
|
121
127
|
if (isReady && objects.length > 0 && objects.length != loaded) {
|
|
122
128
|
setIsReady(false);
|
|
@@ -151,10 +157,14 @@ export function DocumentSearchResults({ layout, onUpload, allowFilter = true, al
|
|
|
151
157
|
} else if (query && query.full_text) {
|
|
152
158
|
search.query.full_text = query.full_text;
|
|
153
159
|
search.search().then(() => setIsReady(true));
|
|
154
|
-
} else {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
160
|
+
} else if (query === undefined) {
|
|
161
|
+
// Only clear search if this is a user-initiated clear (not initialization)
|
|
162
|
+
// The VectorSearchWidget calls onChange(undefined) during initialization
|
|
163
|
+
if (isReady) {
|
|
164
|
+
delete search.query.vector;
|
|
165
|
+
delete search.query.full_text;
|
|
166
|
+
search.search().then(() => setIsReady(true));
|
|
167
|
+
}
|
|
158
168
|
}
|
|
159
169
|
};
|
|
160
170
|
|
|
@@ -194,19 +204,93 @@ export function DocumentSearchResults({ layout, onUpload, allowFilter = true, al
|
|
|
194
204
|
} else {
|
|
195
205
|
url.searchParams.delete('filters');
|
|
196
206
|
}
|
|
197
|
-
window.history.replaceState({}, '', url.toString());
|
|
207
|
+
window.history.replaceState(window.history.state || {}, '', url.toString());
|
|
198
208
|
}
|
|
199
209
|
} catch (error) {
|
|
200
210
|
console.error("Failed to clean start/end filters from URL:", error);
|
|
201
211
|
}
|
|
202
212
|
}
|
|
203
213
|
|
|
214
|
+
const navigate = useNavigate();
|
|
215
|
+
const onRowClick = (object: ContentObjectItem) => {
|
|
216
|
+
navigate(`/objects/${object.id}`);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
const previewObject = (objectId: string) => {
|
|
220
|
+
const obj = objects.find(o => o.id === objectId) || null;
|
|
221
|
+
setSelectedObject(obj);
|
|
222
|
+
}
|
|
223
|
+
|
|
204
224
|
return (
|
|
205
225
|
<div className="flex flex-col gap-y-2">
|
|
206
226
|
<OverviewDrawer object={selectedObject} onClose={() => setSelectedObject(null)} />
|
|
207
227
|
{
|
|
208
228
|
error && <ErrorBox title="Error">{error.message}</ErrorBox>
|
|
209
229
|
}
|
|
230
|
+
<Toolsbar
|
|
231
|
+
isLoading={isLoading}
|
|
232
|
+
refreshTrigger={refreshTrigger}
|
|
233
|
+
allowFilter={allowFilter}
|
|
234
|
+
allowSearch={allowSearch}
|
|
235
|
+
filterGroups={filterGroups}
|
|
236
|
+
filters={filters}
|
|
237
|
+
handleFilterChange={handleFilterChange}
|
|
238
|
+
handleVectorSearch={handleVectorSearch}
|
|
239
|
+
handleRefetch={handleRefetch}
|
|
240
|
+
setIsGridView={setIsGridView}
|
|
241
|
+
/>
|
|
242
|
+
<DocumentTable
|
|
243
|
+
objects={objects}
|
|
244
|
+
isLoading={!objects.length && isLoading}
|
|
245
|
+
layout={actualLayout}
|
|
246
|
+
onRowClick={onRowClick}
|
|
247
|
+
previewObject={previewObject}
|
|
248
|
+
selectedObject={selectedObject}
|
|
249
|
+
onUpload={onUpload}
|
|
250
|
+
isGridView={isGridView}
|
|
251
|
+
collectionId={searchContext.collectionId} // Pass the collection ID from context
|
|
252
|
+
/>
|
|
253
|
+
{hasMore ? (
|
|
254
|
+
<div ref={loadMoreRef} className="w-full flex justify-center" >
|
|
255
|
+
<Spinner size='xl' />
|
|
256
|
+
</div>
|
|
257
|
+
) : (
|
|
258
|
+
<div className="text-muted text-center text-sm py-1">
|
|
259
|
+
{`All ${objects.length} objects loaded.`}
|
|
260
|
+
</div>
|
|
261
|
+
)}
|
|
262
|
+
</div>
|
|
263
|
+
);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
interface ToolsbarProps {
|
|
267
|
+
isLoading: boolean;
|
|
268
|
+
refreshTrigger: number;
|
|
269
|
+
allowFilter: boolean;
|
|
270
|
+
allowSearch: boolean;
|
|
271
|
+
filterGroups: ReturnType<typeof useDocumentFilterGroups>;
|
|
272
|
+
filters: BaseFilter[];
|
|
273
|
+
handleFilterChange: React.Dispatch<React.SetStateAction<BaseFilter[]>>;
|
|
274
|
+
handleVectorSearch: (query?: ComplexSearchQuery) => void;
|
|
275
|
+
handleRefetch: () => void;
|
|
276
|
+
setIsGridView: React.Dispatch<React.SetStateAction<boolean>>;
|
|
277
|
+
}
|
|
278
|
+
function Toolsbar(props: ToolsbarProps) {
|
|
279
|
+
const {
|
|
280
|
+
isLoading,
|
|
281
|
+
refreshTrigger,
|
|
282
|
+
allowFilter,
|
|
283
|
+
allowSearch,
|
|
284
|
+
filterGroups,
|
|
285
|
+
filters,
|
|
286
|
+
handleFilterChange,
|
|
287
|
+
handleVectorSearch,
|
|
288
|
+
handleRefetch,
|
|
289
|
+
setIsGridView
|
|
290
|
+
} = props;
|
|
291
|
+
|
|
292
|
+
return (
|
|
293
|
+
<div className="sticky top-0 z-10 bg-background py-2">
|
|
210
294
|
{
|
|
211
295
|
allowFilter && (
|
|
212
296
|
<FilterProvider
|
|
@@ -226,7 +310,7 @@ export function DocumentSearchResults({ layout, onUpload, allowFilter = true, al
|
|
|
226
310
|
<ContentDispositionButton onUpdate={setIsGridView} />
|
|
227
311
|
</div>
|
|
228
312
|
</div>
|
|
229
|
-
<div className="flex gap-2 items-center">
|
|
313
|
+
<div className="flex gap-2 items-center pt-2">
|
|
230
314
|
<FilterBar />
|
|
231
315
|
<FilterClear />
|
|
232
316
|
</div>
|
|
@@ -248,19 +332,6 @@ export function DocumentSearchResults({ layout, onUpload, allowFilter = true, al
|
|
|
248
332
|
</div>
|
|
249
333
|
)
|
|
250
334
|
}
|
|
251
|
-
<DocumentTable
|
|
252
|
-
objects={objects}
|
|
253
|
-
isLoading={!objects.length && isLoading}
|
|
254
|
-
layout={actualLayout}
|
|
255
|
-
onRowClick={setSelectedObject}
|
|
256
|
-
onUpload={onUpload}
|
|
257
|
-
isGridView={isGridView}
|
|
258
|
-
collectionId={searchContext.collectionId} // Pass the collection ID from context
|
|
259
|
-
/>
|
|
260
|
-
{
|
|
261
|
-
isLoading && <div className='flex justify-center'><Spinner size='xl' /></div>
|
|
262
|
-
}
|
|
263
|
-
<div ref={loadMoreRef} />
|
|
264
335
|
</div>
|
|
265
336
|
);
|
|
266
337
|
}
|
|
@@ -279,7 +350,7 @@ function OverviewDrawer({ object, onClose }: OverviewDrawerProps) {
|
|
|
279
350
|
<SidePanel title={object.properties?.title || object.name} isOpen={true} onClose={onClose}>
|
|
280
351
|
<div className="flex items-center gap-x-2">
|
|
281
352
|
<Button variant="ghost" size="sm" title="Open Object" onClick={() => navigate(`/objects/${object.id}`)}>
|
|
282
|
-
<
|
|
353
|
+
<ExternalLink className="size-4" />
|
|
283
354
|
</Button>
|
|
284
355
|
{object.content?.source && (
|
|
285
356
|
<Button variant="ghost" size="sm" title="Download" onClick={onDownload}>
|
|
@@ -289,7 +360,7 @@ function OverviewDrawer({ object, onClose }: OverviewDrawerProps) {
|
|
|
289
360
|
</div>
|
|
290
361
|
<Divider className="my-2" />
|
|
291
362
|
<div className="pt-2">
|
|
292
|
-
<ContentOverview object={object as
|
|
363
|
+
<ContentOverview key={object.id} object={object as ContentObject} loadText />
|
|
293
364
|
</div>
|
|
294
365
|
</SidePanel>
|
|
295
366
|
) : null;
|
|
@@ -10,8 +10,8 @@ import { useDocumentSearch } from "./search/DocumentSearchContext";
|
|
|
10
10
|
import { FileWithMetadata, DocumentUploadModal, useSmartFileUploadProcessing } from "./upload";
|
|
11
11
|
|
|
12
12
|
const defaultLayout: ExtendedColumnLayout[] = [
|
|
13
|
-
{ name: "ID", field: "id", type: "
|
|
14
|
-
{ name: "Name", field: ".", type: "
|
|
13
|
+
{ name: "ID", field: "id", type: "objectId?slice=-7" },
|
|
14
|
+
{ name: "Name", field: ".", type: "objectName" },
|
|
15
15
|
{ name: "Type", field: "type.name", type: "string" },
|
|
16
16
|
{ name: "Status", field: "status", type: "string" },
|
|
17
17
|
{ name: "Updated At", field: "updated_at", type: "date" },
|
|
@@ -19,6 +19,8 @@ const defaultLayout: ExtendedColumnLayout[] = [
|
|
|
19
19
|
|
|
20
20
|
interface DocumentTableProps extends DocumentTableImplProps {
|
|
21
21
|
isGridView?: boolean;
|
|
22
|
+
previewObject?: (objectId: string) => void;
|
|
23
|
+
selectedObject?: ContentObjectItem | null;
|
|
22
24
|
onUpload?: (files: File[], type: string | null, collectionId?: string) => Promise<unknown>; // if defined, accept drag drop to upload
|
|
23
25
|
collectionId?: string; // Important: Add collection ID to ensure uploads go to the right collection
|
|
24
26
|
}
|
|
@@ -303,6 +305,8 @@ interface DocumentTableImplProps {
|
|
|
303
305
|
onSelectionChange?: (selection: DocumentSelection) => void;
|
|
304
306
|
highlightRow?: (item: ContentObjectItem) => boolean;
|
|
305
307
|
rowActions?: (item: ContentObjectItem) => React.ReactNode[];
|
|
308
|
+
previewObject?: (objectId: string) => void;
|
|
309
|
+
selectedObject?: ContentObjectItem | null;
|
|
306
310
|
isGridView?: boolean;
|
|
307
311
|
}
|
|
308
312
|
function DocumentTableImpl({
|
|
@@ -311,6 +315,8 @@ function DocumentTableImpl({
|
|
|
311
315
|
isLoading,
|
|
312
316
|
onRowClick,
|
|
313
317
|
onSelectionChange,
|
|
318
|
+
previewObject,
|
|
319
|
+
selectedObject,
|
|
314
320
|
isGridView,
|
|
315
321
|
}: DocumentTableImplProps) {
|
|
316
322
|
const selection = useOptionalDocumentSelection();
|
|
@@ -363,8 +369,8 @@ function DocumentTableImpl({
|
|
|
363
369
|
const columns = useMemo(() => {
|
|
364
370
|
// avoid rendering empty layouts
|
|
365
371
|
const actualLayout = layout.length > 0 ? layout : defaultLayout;
|
|
366
|
-
return actualLayout.map((col) => new DocumentTableColumn(col));
|
|
367
|
-
}, [layout]);
|
|
372
|
+
return actualLayout.map((col) => new DocumentTableColumn(col, previewObject));
|
|
373
|
+
}, [layout, previewObject]);
|
|
368
374
|
|
|
369
375
|
return isGridView ? (
|
|
370
376
|
<DocumentGridView
|
|
@@ -372,6 +378,8 @@ function DocumentTableImpl({
|
|
|
372
378
|
isLoading={isLoading}
|
|
373
379
|
columns={columns}
|
|
374
380
|
onRowClick={onRowClick}
|
|
381
|
+
previewObject={previewObject}
|
|
382
|
+
selectedObject={selectedObject}
|
|
375
383
|
selection={selection}
|
|
376
384
|
toggleAll={toggleAll}
|
|
377
385
|
onSelectionChange={_onSelectionChange}
|
|
@@ -382,6 +390,8 @@ function DocumentTableImpl({
|
|
|
382
390
|
isLoading={isLoading}
|
|
383
391
|
columns={columns}
|
|
384
392
|
onRowClick={onRowClick}
|
|
393
|
+
previewObject={previewObject}
|
|
394
|
+
selectedObject={selectedObject}
|
|
385
395
|
selection={selection}
|
|
386
396
|
toggleAll={toggleAll}
|
|
387
397
|
onSelectionChange={_onSelectionChange}
|