@protobase/ui 0.12.2 → 0.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/app.d.ts +2 -0
- package/dist/app/app.js +6 -2
- package/dist/app/meta-gate.js +47 -6
- package/dist/app/nav-from-meta.js +20 -1
- package/dist/app/pages/project-ui.d.ts +5 -1
- package/dist/app/pages/use-run-action.js +3 -2
- package/dist/app/source-notice.js +47 -0
- package/dist/app-shell/sidebar-item.js +7 -1
- package/dist/data/api-provider.d.ts +46 -3
- package/dist/data/api-provider.js +57 -3
- package/dist/data/meta-context.js +6 -0
- package/dist/data/meta-data.d.ts +15 -1
- package/dist/data/query-keys.js +8 -0
- package/dist/data/use-meta.d.ts +4 -2
- package/dist/data/use-meta.js +15 -3
- package/dist/data/use-source-metas.js +61 -0
- package/dist/data/with-sources.js +38 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/package.js +1 -1
- package/dist/shell/assets/app-Cqr5Ze7R.js +65 -0
- package/dist/shell/assets/{index-ACvBBjQJ.js → index-ntYv19kQ.js} +1 -1
- package/dist/shell/assets/shared-protobase-ui-eH-UjL47.js +1 -0
- package/dist/shell/index.html +3 -3
- package/dist/shell/protobase.shell.json +1 -1
- package/package.json +4 -4
- package/dist/shell/assets/app-BpWT2V8v.js +0 -65
- package/dist/shell/assets/shared-protobase-ui-DLJ-Jjub.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ActionContext, ActionHandler, ProjectUi, definePlugin, defineUi } from
|
|
|
3
3
|
import { PluginInfo, usePlugin } from "./plugins/plugin-context.js";
|
|
4
4
|
import { App, AppProps } from "./app/app.js";
|
|
5
5
|
import "./app/index.js";
|
|
6
|
-
import { ApiProvider, ApiProviderProps, useClient } from "./data/api-provider.js";
|
|
6
|
+
import { ApiProvider, ApiProviderProps, useClient, useResourceClient } from "./data/api-provider.js";
|
|
7
7
|
import { MetaData } from "./data/meta-data.js";
|
|
8
8
|
import { useMeta } from "./data/use-meta.js";
|
|
9
9
|
import { useList } from "./data/use-list.js";
|
|
@@ -39,4 +39,4 @@ import { Step, StepList, StepState } from "./step-list/step-list.js";
|
|
|
39
39
|
import { DiffView, DiffViewProps } from "./diff-view/diff-view.js";
|
|
40
40
|
import { DiffLine, diffStats, parseDiff } from "./diff-view/diff.js";
|
|
41
41
|
import { CompactTable, CompactTableProps } from "./compact-table/compact-table.js";
|
|
42
|
-
export { ActionCard, type ActionCardProps, type ActionContext, type ActionHandler, ApiProvider, type ApiProviderProps, App, AppLink, type AppProps, AssistantDock, type AssistantDockProps, type BackendData, type BackendRefresh, type CardAction, type CardTone, ChatMessage, ChatThread, type ChatThreadProps, CompactTable, type CompactTableProps, Composer, type ComposerProps, type CurrentAddress, type DiffLine, DiffView, type DiffViewProps, FieldList, type FieldWidget, type FieldWidgetEditorProps, type FieldWidgetProps, type LayoutRecord, type ListAddress, type ListChange, type ListDisplay, type ListDisplayRow, type MetaData, PartView, type PluginInfo, type ProjectUi, type RecordCardProps, RecordLink, SidePanel, type SidePanelProps, type Step, StepList, type StepState, definePlugin, defineUi, diffStats, isConflict, mergeUi, parseDiff, pluginApi, protobaseVersion, uiFromModule, useApiToken, useAppAddress, useAssistant, useAssistantClient, useBackendData, useClient, useFacets, useHistogram, useLayoutRecord, useList, useListDisplay, useMeta, usePlugin, useRecord, useSeries, useUpdateRecord };
|
|
42
|
+
export { ActionCard, type ActionCardProps, type ActionContext, type ActionHandler, ApiProvider, type ApiProviderProps, App, AppLink, type AppProps, AssistantDock, type AssistantDockProps, type BackendData, type BackendRefresh, type CardAction, type CardTone, ChatMessage, ChatThread, type ChatThreadProps, CompactTable, type CompactTableProps, Composer, type ComposerProps, type CurrentAddress, type DiffLine, DiffView, type DiffViewProps, FieldList, type FieldWidget, type FieldWidgetEditorProps, type FieldWidgetProps, type LayoutRecord, type ListAddress, type ListChange, type ListDisplay, type ListDisplayRow, type MetaData, PartView, type PluginInfo, type ProjectUi, type RecordCardProps, RecordLink, SidePanel, type SidePanelProps, type Step, StepList, type StepState, definePlugin, defineUi, diffStats, isConflict, mergeUi, parseDiff, pluginApi, protobaseVersion, uiFromModule, useApiToken, useAppAddress, useAssistant, useAssistantClient, useBackendData, useClient, useFacets, useHistogram, useLayoutRecord, useList, useListDisplay, useMeta, usePlugin, useRecord, useResourceClient, useSeries, useUpdateRecord };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiProvider, useClient } from "./data/api-provider.js";
|
|
1
|
+
import { ApiProvider, useClient, useResourceClient } from "./data/api-provider.js";
|
|
2
2
|
import { useApiToken } from "./auth/use-api-token.js";
|
|
3
3
|
import { useRecord } from "./data/use-record.js";
|
|
4
4
|
import { ChatMessage } from "./chat/chat-message.js";
|
|
@@ -30,4 +30,4 @@ import { useList } from "./data/use-list.js";
|
|
|
30
30
|
import { isConflict, useUpdateRecord } from "./data/use-update-record.js";
|
|
31
31
|
import { App } from "./app/app.js";
|
|
32
32
|
import { RecordLink } from "./app/displays/record-link.js";
|
|
33
|
-
export { ActionCard, ApiProvider, App, AppLink, AssistantDock, ChatMessage, ChatThread, CompactTable, Composer, DiffView, FieldList, PartView, RecordLink, SidePanel, StepList, definePlugin, defineUi, diffStats, isConflict, mergeUi, parseDiff, pluginApi, protobaseVersion, uiFromModule, useApiToken, useAppAddress, useAssistant, useAssistantClient, useBackendData, useClient, useFacets, useHistogram, useLayoutRecord, useList, useListDisplay, useMeta, usePlugin, useRecord, useSeries, useUpdateRecord };
|
|
33
|
+
export { ActionCard, ApiProvider, App, AppLink, AssistantDock, ChatMessage, ChatThread, CompactTable, Composer, DiffView, FieldList, PartView, RecordLink, SidePanel, StepList, definePlugin, defineUi, diffStats, isConflict, mergeUi, parseDiff, pluginApi, protobaseVersion, uiFromModule, useApiToken, useAppAddress, useAssistant, useAssistantClient, useBackendData, useClient, useFacets, useHistogram, useLayoutRecord, useList, useListDisplay, useMeta, usePlugin, useRecord, useResourceClient, useSeries, useUpdateRecord };
|
package/dist/package.js
CHANGED