@ultrst-armada/floks 2.0.3 → 2.0.6
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/.krusbl-release-attestation.json +3 -3
- package/package.json +4 -4
- package/packages/canvas-ui/dist/authoring/authoringOperations.d.ts +41 -0
- package/packages/canvas-ui/dist/authoring/authoringOperations.test.d.ts +1 -0
- package/packages/canvas-ui/dist/authoring/index.d.ts +1 -0
- package/packages/canvas-ui/dist/authoring/index.js +17 -3
- package/packages/canvas-ui/dist/{chunk-TS7P3WWH.js → chunk-CI4C6DJR.js} +108 -24
- package/packages/canvas-ui/dist/index.js +52 -38
- package/packages/canvas-ui/dist/predictive/index.js +1 -1
- package/packages/canvas-ui/package.json +2 -2
- package/packages/ui/dist/chunk-2YP2RPJY.js +54 -0
- package/packages/ui/dist/{chunk-RXHCAXSX.js → chunk-FA6GHJKU.js} +3 -3
- package/packages/ui/dist/{chunk-G5CYPT3P.js → chunk-IYBFDSTU.js} +93 -9
- package/packages/ui/dist/{chunk-DZTJJOLR.js → chunk-NKFSUEAH.js} +1 -1
- package/packages/ui/dist/{chunk-OMNGRMJY.js → chunk-QFUPODK6.js} +601 -534
- package/packages/ui/dist/{chunk-GOUFV3B4.js → chunk-RLM72WKL.js} +1 -1
- package/packages/ui/dist/{chunk-4GMTEWLE.js → chunk-SFD2LWCU.js} +2 -2
- package/packages/ui/dist/components/auth/index.js +3 -3
- package/packages/ui/dist/components/graph/index.js +3 -3
- package/packages/ui/dist/components/tiles/index.js +2 -2
- package/packages/ui/dist/components/workspace/GoogleDriveWorkspacePicker.d.ts +2 -2
- package/packages/ui/dist/components/workspace/WorkspaceCreateDialog.backblaze.test.d.ts +1 -0
- package/packages/ui/dist/components/workspace/WorkspaceCreateDialog.d.ts +45 -12
- package/packages/ui/dist/components/workspace/WorkspaceCreateDialog.kloks-service.test.d.ts +1 -0
- package/packages/ui/dist/components/workspace/WorkspaceGate.d.ts +3 -1
- package/packages/ui/dist/components/workspace/WorkspaceTilesMenu.d.ts +1 -1
- package/packages/ui/dist/components/workspace/index.d.ts +0 -3
- package/packages/ui/dist/components/workspace/index.js +3 -9
- package/packages/ui/dist/frnl/frnlPage.d.ts +30 -0
- package/packages/ui/dist/frnl/frnlTabWindow.d.ts +21 -0
- package/packages/ui/dist/frnl/index.d.ts +3 -1
- package/packages/ui/dist/frnl/index.js +7 -3
- package/packages/ui/dist/frnl/store.d.ts +7 -18
- package/packages/ui/dist/frnl/store.js +3 -1
- package/packages/ui/dist/index.d.ts +0 -5
- package/packages/ui/dist/index.js +16 -71
- package/packages/ui/dist/palette/index.js +1 -2
- package/packages/ui/package.json +4 -9
- package/packages/ui/dist/chunk-B4XTM5TI.js +0 -25
- package/packages/ui/dist/chunk-ECVX6KZM.js +0 -783
- package/packages/ui/dist/chunk-SLJBDDSN.js +0 -0
- package/packages/ui/dist/components/workspace/SrklBackblazeTile.d.ts +0 -27
- package/packages/ui/dist/components/workspace/StorageOptionTiles.d.ts +0 -27
- package/packages/ui/dist/components/workspace/StoragePresetTile.d.ts +0 -8
- package/packages/ui/dist/hierarchy/BadgeParent.d.ts +0 -25
- package/packages/ui/dist/hierarchy/ButtonParent.d.ts +0 -37
- package/packages/ui/dist/hierarchy/InputParent.d.ts +0 -34
- package/packages/ui/dist/hierarchy/PanelParent.d.ts +0 -29
- package/packages/ui/dist/hierarchy/TileParent.d.ts +0 -26
- package/packages/ui/dist/hierarchy/UIElementBase.d.ts +0 -38
- package/packages/ui/dist/hierarchy/UIParent.d.ts +0 -8
- package/packages/ui/dist/hierarchy/index.css +0 -183
- package/packages/ui/dist/hierarchy/index.d.ts +0 -7
- package/packages/ui/dist/hierarchy/index.js +0 -61
- /package/packages/ui/dist/{chunk-ZQK5I5ZL.js → chunk-I66A7ROC.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TilesMenu
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NKFSUEAH.js";
|
|
4
4
|
import {
|
|
5
5
|
useFloksFrnlStore
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2YP2RPJY.js";
|
|
7
7
|
|
|
8
8
|
// src/components/graph/GraphsMenu.tsx
|
|
9
9
|
import { GitBranch, Network } from "lucide-react";
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
resolveLuthEnvironment,
|
|
17
17
|
resolveLuthOrigin,
|
|
18
18
|
useLuthAuth
|
|
19
|
-
} from "../../chunk-
|
|
20
|
-
import "../../chunk-
|
|
19
|
+
} from "../../chunk-FA6GHJKU.js";
|
|
20
|
+
import "../../chunk-RLM72WKL.js";
|
|
21
21
|
import "../../chunk-5ZMXFCD4.js";
|
|
22
22
|
import "../../chunk-C3L53YN4.js";
|
|
23
|
-
import "../../chunk-
|
|
23
|
+
import "../../chunk-2YP2RPJY.js";
|
|
24
24
|
import "../../chunk-W42SJGOJ.js";
|
|
25
25
|
import "../../chunk-62ITRDJX.js";
|
|
26
26
|
import "../../chunk-A2CDQISJ.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GRAPHS_MENU_REQUIRED_SERVICES,
|
|
3
3
|
GraphsMenu
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-SFD2LWCU.js";
|
|
5
|
+
import "../../chunk-NKFSUEAH.js";
|
|
6
|
+
import "../../chunk-2YP2RPJY.js";
|
|
7
7
|
export {
|
|
8
8
|
GRAPHS_MENU_REQUIRED_SERVICES,
|
|
9
9
|
GraphsMenu
|
|
@@ -2,8 +2,8 @@ import "../../chunk-2SD6BIUX.js";
|
|
|
2
2
|
import {
|
|
3
3
|
TilesMenu,
|
|
4
4
|
tilesMenuDefinition
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-NKFSUEAH.js";
|
|
6
|
+
import "../../chunk-2YP2RPJY.js";
|
|
7
7
|
export {
|
|
8
8
|
TilesMenu,
|
|
9
9
|
tilesMenuDefinition
|
|
@@ -14,8 +14,8 @@ export interface GoogleDriveFolder {
|
|
|
14
14
|
export interface GoogleDriveWorkspacePickerProps {
|
|
15
15
|
userId: string;
|
|
16
16
|
connection?: GoogleDriveConnection;
|
|
17
|
-
connectGoogleDrive?: (userId: string) => Promise<GoogleDriveConnection>;
|
|
18
|
-
listGoogleDriveFolders?: (connectionId: string, parentFolderId?: string) => Promise<GoogleDriveFolder[]>;
|
|
17
|
+
connectGoogleDrive?: (userId: string) => Promise<GoogleDriveConnection | void>;
|
|
18
|
+
listGoogleDriveFolders?: (connectionId: string, parentFolderId?: string, userId?: string) => Promise<GoogleDriveFolder[]>;
|
|
19
19
|
onConnected: (connection: GoogleDriveConnection) => void;
|
|
20
20
|
onSelectFolder: (folder: GoogleDriveFolder) => void;
|
|
21
21
|
selectedFolder?: GoogleDriveFolder | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -13,6 +13,17 @@ export interface BackblazeAccount {
|
|
|
13
13
|
name: string;
|
|
14
14
|
provider?: string;
|
|
15
15
|
}
|
|
16
|
+
export interface BackblazeCredentialInput {
|
|
17
|
+
label?: string;
|
|
18
|
+
keyId: string;
|
|
19
|
+
applicationKey: string;
|
|
20
|
+
}
|
|
21
|
+
export interface BackblazeCredentialTestResult {
|
|
22
|
+
success: boolean;
|
|
23
|
+
accountId?: string;
|
|
24
|
+
buckets: BackblazeBucket[];
|
|
25
|
+
error?: string;
|
|
26
|
+
}
|
|
16
27
|
export interface WorkspaceStorageOption {
|
|
17
28
|
id: string;
|
|
18
29
|
provider: WorkspaceStorageProvider;
|
|
@@ -26,6 +37,7 @@ export interface WorkspaceStorageOption {
|
|
|
26
37
|
bucketName?: string;
|
|
27
38
|
b2BucketName?: string;
|
|
28
39
|
googleEmail?: string;
|
|
40
|
+
googleAccountId?: string;
|
|
29
41
|
googleRootFolderId?: string;
|
|
30
42
|
googleRootFolderName?: string;
|
|
31
43
|
}
|
|
@@ -53,12 +65,35 @@ export interface WorkspaceCreateInput {
|
|
|
53
65
|
googleRootFolderName?: string;
|
|
54
66
|
storageConnection?: WorkspaceStorageOption;
|
|
55
67
|
}
|
|
68
|
+
export interface StorageProviderCapability {
|
|
69
|
+
id: WorkspaceStorageProvider;
|
|
70
|
+
displayName: string;
|
|
71
|
+
enabled: boolean;
|
|
72
|
+
availabilityReason?: string;
|
|
73
|
+
canSelectExistingConnection: boolean;
|
|
74
|
+
canCreateConnection: boolean;
|
|
75
|
+
requiredConfigurationFields: string[];
|
|
76
|
+
authorizationMode: string;
|
|
77
|
+
discoveryCapabilities: {
|
|
78
|
+
accounts: boolean;
|
|
79
|
+
buckets: boolean;
|
|
80
|
+
folders: boolean;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
56
83
|
export interface WorkspaceStorageService {
|
|
84
|
+
listStorageProviderCapabilities?: (userId: string) => Promise<StorageProviderCapability[]>;
|
|
57
85
|
listStorageConnections?: (userId: string) => Promise<WorkspaceStorageOption[]>;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
86
|
+
testBackblazeCredentials?: (input: BackblazeCredentialInput) => Promise<BackblazeCredentialTestResult>;
|
|
87
|
+
createBackblazeConnection?: (userId: string, input: BackblazeCredentialInput & {
|
|
88
|
+
bucketName: string;
|
|
89
|
+
}) => Promise<BackblazeAccount>;
|
|
90
|
+
connectGoogleDrive?: (userId: string) => Promise<WorkspaceStorageOption | void>;
|
|
91
|
+
listGoogleDriveFolders?: (connectionId: string, parentFolderId?: string, userId?: string) => Promise<GoogleDriveFolder[]>;
|
|
92
|
+
getGoogleDriveAccountIdentity?: (userId: string, connectionId: string) => Promise<{
|
|
93
|
+
accountId: string;
|
|
94
|
+
email?: string;
|
|
95
|
+
}>;
|
|
96
|
+
selectGoogleDriveRootFolder?: (userId: string, connectionId: string, folderId: string) => Promise<GoogleDriveFolder>;
|
|
62
97
|
}
|
|
63
98
|
export type WorkspaceCreateDialogHiddenField = 'description' | 'localFolderName' | 'backblaze' | 'canonicalFolderPreview';
|
|
64
99
|
export interface WorkspaceStoragePolicy {
|
|
@@ -88,6 +123,7 @@ export interface WorkspaceCreateDialogProps {
|
|
|
88
123
|
storageOptions?: WorkspaceStorageOption[];
|
|
89
124
|
storageService?: WorkspaceStorageService;
|
|
90
125
|
visibility?: WorkspaceCreateDialogVisibility;
|
|
126
|
+
googleDriveConnectionId?: string;
|
|
91
127
|
onClose: () => void;
|
|
92
128
|
onSubmit: (input: WorkspaceCreateInput) => Promise<void> | void;
|
|
93
129
|
}
|
|
@@ -103,12 +139,9 @@ export interface KloksServiceInvoker {
|
|
|
103
139
|
invoke: (serviceId: string, operation: string, input: Record<string, unknown>) => Promise<unknown>;
|
|
104
140
|
}
|
|
105
141
|
/**
|
|
106
|
-
*
|
|
107
|
-
*
|
|
142
|
+
* Every storage operation, including Google OAuth and folder selection, is
|
|
143
|
+
* invoked through the canonical Kloks StorageService contract. Floks never
|
|
144
|
+
* exchanges OAuth codes, persists tokens, or calls provider APIs directly.
|
|
108
145
|
*/
|
|
109
|
-
export
|
|
110
|
-
|
|
111
|
-
listGoogleDriveFolders: (connectionId: string, parentFolderId?: string) => Promise<GoogleDriveFolder[]>;
|
|
112
|
-
}
|
|
113
|
-
export declare function createKloksWorkspaceStorageService(invoker: KloksServiceInvoker, googleDrive?: KloksGoogleDriveWorkspaceApi): WorkspaceStorageService;
|
|
114
|
-
export declare function WorkspaceCreateDialog({ open, userId, currentUser, appName, storageOptions, storageService, visibility, onClose, onSubmit, }: WorkspaceCreateDialogProps): React.JSX.Element;
|
|
146
|
+
export declare function createKloksWorkspaceStorageService(invoker: KloksServiceInvoker): WorkspaceStorageService;
|
|
147
|
+
export declare function WorkspaceCreateDialog({ open, userId, currentUser, appName, storageOptions, storageService, visibility, googleDriveConnectionId, onClose, onSubmit, }: WorkspaceCreateDialogProps): React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type WorkspaceRecord } from './WorkspaceTilesMenu.js';
|
|
3
|
-
import { type WorkspaceStorageService, type WorkspaceCreateInput } from './WorkspaceCreateDialog.js';
|
|
3
|
+
import { type WorkspaceStorageService, type WorkspaceCreateInput, type WorkspaceStorageOption, type WorkspaceCreateDialogVisibility } from './WorkspaceCreateDialog.js';
|
|
4
4
|
export interface WorkspaceGateProps {
|
|
5
5
|
workspaces: WorkspaceRecord[] | any[];
|
|
6
6
|
activeWorkspaceId?: string | null;
|
|
@@ -14,6 +14,8 @@ export interface WorkspaceGateProps {
|
|
|
14
14
|
appName?: string;
|
|
15
15
|
appSubtitle?: string;
|
|
16
16
|
storageService?: WorkspaceStorageService;
|
|
17
|
+
storageOptions?: WorkspaceStorageOption[];
|
|
18
|
+
visibility?: WorkspaceCreateDialogVisibility;
|
|
17
19
|
onSelectWorkspace: (workspace: WorkspaceRecord) => void;
|
|
18
20
|
onCreateWorkspace?: (input: WorkspaceCreateInput | any) => Promise<void> | void;
|
|
19
21
|
onUpdateWorkspace?: (workspaceId: string, patch: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type WorkspaceCreateInput, type WorkspaceStorageService, type WorkspaceCreateDialogVisibility, type WorkspaceStorageOption } from './WorkspaceCreateDialog.js';
|
|
3
|
-
export declare const WORKSPACE_TILES_MENU_REQUIRED_SERVICES: readonly ["auth", "workspace", "storage"
|
|
3
|
+
export declare const WORKSPACE_TILES_MENU_REQUIRED_SERVICES: readonly ["auth", "workspace", "storage"];
|
|
4
4
|
export interface WorkspaceRecord {
|
|
5
5
|
id: string;
|
|
6
6
|
title: string;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
export * from './StoragePresetTile.js';
|
|
2
|
-
export * from './SrklBackblazeTile.js';
|
|
3
|
-
export * from './StorageOptionTiles.js';
|
|
4
1
|
export * from './WorkspaceStorageReadonlyPanel.js';
|
|
5
2
|
export * from './WorkspaceSecondaryClonesPanel.js';
|
|
6
3
|
export * from './WorkspaceCreateDialog.js';
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GoogleDriveWorkspacePicker,
|
|
3
|
-
SrklBackblazeTile,
|
|
4
|
-
StorageOptionTiles,
|
|
5
|
-
StoragePresetTile,
|
|
6
3
|
WORKSPACE_TILES_MENU_REQUIRED_SERVICES,
|
|
7
4
|
WorkspaceCreateDialog,
|
|
8
5
|
WorkspaceGate,
|
|
@@ -15,14 +12,11 @@ import {
|
|
|
15
12
|
describeGoogleDriveError,
|
|
16
13
|
formatWorkspaceFolderPreview,
|
|
17
14
|
workspaceTilesMenuDefinition
|
|
18
|
-
} from "../../chunk-
|
|
19
|
-
import "../../chunk-
|
|
20
|
-
import "../../chunk-
|
|
15
|
+
} from "../../chunk-QFUPODK6.js";
|
|
16
|
+
import "../../chunk-NKFSUEAH.js";
|
|
17
|
+
import "../../chunk-2YP2RPJY.js";
|
|
21
18
|
export {
|
|
22
19
|
GoogleDriveWorkspacePicker,
|
|
23
|
-
SrklBackblazeTile,
|
|
24
|
-
StorageOptionTiles,
|
|
25
|
-
StoragePresetTile,
|
|
26
20
|
WORKSPACE_TILES_MENU_REQUIRED_SERVICES,
|
|
27
21
|
WorkspaceCreateDialog,
|
|
28
22
|
WorkspaceGate,
|
|
@@ -2,6 +2,36 @@ import React from 'react';
|
|
|
2
2
|
import { type FrnlOrchestrationDefinition } from '@ultrst-armada/frnlts';
|
|
3
3
|
import { type FrnlBreadcrumbItem, type FrnlTopBarTab, type FrnlUserProfile } from './frnlTopBar.js';
|
|
4
4
|
import { type FrnlApiRequestLog } from './frnlBottomBar.js';
|
|
5
|
+
export declare const frnlPageDefinition: {
|
|
6
|
+
name: string;
|
|
7
|
+
states: {
|
|
8
|
+
active: {
|
|
9
|
+
name: string;
|
|
10
|
+
events: {
|
|
11
|
+
selectTab: {
|
|
12
|
+
functionId: string;
|
|
13
|
+
};
|
|
14
|
+
save: {
|
|
15
|
+
functionId: string;
|
|
16
|
+
};
|
|
17
|
+
openSettings: {
|
|
18
|
+
functionId: string;
|
|
19
|
+
};
|
|
20
|
+
logout: {
|
|
21
|
+
functionId: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
visualParameters: {};
|
|
25
|
+
phases: {
|
|
26
|
+
sustainPhase: {
|
|
27
|
+
visualDefinition: {
|
|
28
|
+
parameters: {};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
5
35
|
export interface FrnlPageTab extends FrnlTopBarTab {
|
|
6
36
|
content?: React.ReactNode;
|
|
7
37
|
}
|
|
@@ -7,6 +7,27 @@ export interface FrnlTabItem {
|
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
content?: React.ReactNode;
|
|
9
9
|
}
|
|
10
|
+
export declare const frnlTabWindowDefinition: {
|
|
11
|
+
name: string;
|
|
12
|
+
states: {
|
|
13
|
+
active: {
|
|
14
|
+
name: string;
|
|
15
|
+
events: {
|
|
16
|
+
selectTab: {
|
|
17
|
+
functionId: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
visualParameters: {};
|
|
21
|
+
phases: {
|
|
22
|
+
sustainPhase: {
|
|
23
|
+
visualDefinition: {
|
|
24
|
+
parameters: {};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
10
31
|
export interface FrnlTabWindowProps {
|
|
11
32
|
id?: string;
|
|
12
33
|
tabs: FrnlTabItem[];
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from './store.js';
|
|
2
2
|
export type { FrnlInputContract } from '@ultrst-armada/frnlts';
|
|
3
|
-
export type { FrnlFrontendApi, FrnlFrontendSnapshot, FrnlComponentSnapshot, FrnlComponentControl } from '@ultrst-armada/frnlts';
|
|
3
|
+
export type { FrnlFrontendApi, FrnlFrontendSnapshot, FrnlComponentSnapshot, FrnlComponentControl, FrnlMeasurementAdapter, FrnlRealizedState, FrnlGeometry } from '@ultrst-armada/frnlts';
|
|
4
|
+
export { createFrnlDomMeasurementAdapter } from '@ultrst-armada/frnlts';
|
|
5
|
+
export { getFloksFrnlFrontendApi, floksFrnlFrontendApi } from './store.js';
|
|
4
6
|
export { frnlButton, frnlButtonDefinition, type FrnlButtonProps, type FrnlButtonVariant, type FrnlButtonSize, } from './frnlButton.js';
|
|
5
7
|
export { frnlTextInput, frnlTextInputDefinition, type FrnlTextInputProps, } from './frnlTextInput.js';
|
|
6
8
|
export { frnlSelect, frnlSelectDefinition, type FrnlSelectProps, type FrnlSelectOption, frnlToggle, frnlToggleDefinition, type FrnlToggleProps, frnlSlider, type FrnlSliderProps, frnlBadge, type FrnlBadgeProps, } from './frnlControls.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
createFrnlDomMeasurementAdapter,
|
|
2
3
|
frnlBadge,
|
|
3
4
|
frnlBottomBar,
|
|
4
5
|
frnlPage,
|
|
@@ -9,26 +10,28 @@ import {
|
|
|
9
10
|
frnlToggle,
|
|
10
11
|
frnlToggleDefinition,
|
|
11
12
|
frnlTopBar
|
|
12
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-IYBFDSTU.js";
|
|
13
14
|
import {
|
|
14
15
|
frnlButton,
|
|
15
16
|
frnlButtonDefinition,
|
|
16
17
|
frnlTextInput,
|
|
17
18
|
frnlTextInputDefinition
|
|
18
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-RLM72WKL.js";
|
|
19
20
|
import "../chunk-5ZMXFCD4.js";
|
|
20
21
|
import "../chunk-C3L53YN4.js";
|
|
21
22
|
import {
|
|
22
23
|
FrnlStoreProvider,
|
|
23
24
|
floksFrnlFrontendApi,
|
|
24
25
|
floksFrnlStore,
|
|
26
|
+
getFloksFrnlFrontendApi,
|
|
25
27
|
getFloksFrnlStore,
|
|
26
28
|
useFloksFrnlStore
|
|
27
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-2YP2RPJY.js";
|
|
28
30
|
import "../chunk-62ITRDJX.js";
|
|
29
31
|
import "../chunk-A2CDQISJ.js";
|
|
30
32
|
export {
|
|
31
33
|
FrnlStoreProvider,
|
|
34
|
+
createFrnlDomMeasurementAdapter,
|
|
32
35
|
floksFrnlFrontendApi,
|
|
33
36
|
floksFrnlStore,
|
|
34
37
|
frnlBadge,
|
|
@@ -45,6 +48,7 @@ export {
|
|
|
45
48
|
frnlToggle,
|
|
46
49
|
frnlToggleDefinition,
|
|
47
50
|
frnlTopBar,
|
|
51
|
+
getFloksFrnlFrontendApi,
|
|
48
52
|
getFloksFrnlStore,
|
|
49
53
|
useFloksFrnlStore
|
|
50
54
|
};
|
|
@@ -1,28 +1,17 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
|
-
import { type FrnlStore } from '@ultrst-armada/frnlts';
|
|
2
|
+
import { type FrnlStore, type FrnlFrontendApi } from '@ultrst-armada/frnlts';
|
|
3
3
|
export type { FrnlStore };
|
|
4
|
-
/**
|
|
5
|
-
* Default canonical shared FrnlTS semantic store for Floks UI assets.
|
|
6
|
-
* For application-level custom store isolation, prefer using `FrnlStoreProvider`.
|
|
7
|
-
*/
|
|
4
|
+
/** Default canonical shared FrnlTS semantic store for Floks UI assets. */
|
|
8
5
|
export declare const floksFrnlStore: FrnlStore;
|
|
9
|
-
/** Canonical programmatic
|
|
10
|
-
export declare const floksFrnlFrontendApi:
|
|
11
|
-
/**
|
|
12
|
-
* Returns the currently active global Frnl store (defaults to `floksFrnlStore`).
|
|
13
|
-
*/
|
|
6
|
+
/** Canonical programmatic UI surface for the default Floks store. */
|
|
7
|
+
export declare const floksFrnlFrontendApi: FrnlFrontendApi;
|
|
14
8
|
export declare function getFloksFrnlStore(): FrnlStore;
|
|
9
|
+
export declare function getFloksFrnlFrontendApi(): FrnlFrontendApi;
|
|
15
10
|
export interface FrnlStoreProviderProps {
|
|
16
11
|
store: FrnlStore;
|
|
17
12
|
children: ReactNode;
|
|
13
|
+
applicationId?: string;
|
|
14
|
+
route?: string;
|
|
18
15
|
}
|
|
19
|
-
/**
|
|
20
|
-
* Context provider allowing applications to inject an isolated or shared Frnl store
|
|
21
|
-
* down a specific component subtree. This is the preferred mechanism for custom store injection.
|
|
22
|
-
*/
|
|
23
16
|
export declare const FrnlStoreProvider: React.FC<FrnlStoreProviderProps>;
|
|
24
|
-
/**
|
|
25
|
-
* Hook to access the active Frnl store: prefers React Context if provided via FrnlStoreProvider,
|
|
26
|
-
* falling back to the canonical default floksFrnlStore.
|
|
27
|
-
*/
|
|
28
17
|
export declare function useFloksFrnlStore(): FrnlStore;
|
|
@@ -2,13 +2,15 @@ import {
|
|
|
2
2
|
FrnlStoreProvider,
|
|
3
3
|
floksFrnlFrontendApi,
|
|
4
4
|
floksFrnlStore,
|
|
5
|
+
getFloksFrnlFrontendApi,
|
|
5
6
|
getFloksFrnlStore,
|
|
6
7
|
useFloksFrnlStore
|
|
7
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-2YP2RPJY.js";
|
|
8
9
|
export {
|
|
9
10
|
FrnlStoreProvider,
|
|
10
11
|
floksFrnlFrontendApi,
|
|
11
12
|
floksFrnlStore,
|
|
13
|
+
getFloksFrnlFrontendApi,
|
|
12
14
|
getFloksFrnlStore,
|
|
13
15
|
useFloksFrnlStore
|
|
14
16
|
};
|
|
@@ -12,10 +12,5 @@ export * from './components/graph/index.js';
|
|
|
12
12
|
export * from './components/workspace/index.js';
|
|
13
13
|
export * from './components/ai/index.js';
|
|
14
14
|
export * from './palette/index.js';
|
|
15
|
-
export * from './hierarchy/index.js';
|
|
16
|
-
export * from './frnl/store.js';
|
|
17
|
-
export type { ColorPalette } from './palette/index.js';
|
|
18
|
-
export { BUILTIN_PALETTES, DEFAULT_PALETTE_ID } from './palette/index.js';
|
|
19
|
-
export { type UIInteractionState, type UIStyleTokens, type UIBaseProps, type UIVariant, type UISize, type TooltipDirection, UIParent, type UIParentProps, type UIProps, ButtonParent, type ButtonParentProps, SplitButton, type SplitButtonProps, type ButtonVariant, type ButtonSize, type ButtonProps, ActionButton, IconButton, ToggleButton, DangerButton, GhostButton, PanelParent, type PanelParentProps, type PanelVariant, type PanelProps, ModalPanel, InspectorPanel, CardPanel, ToolbarPanel, SliderInput, type SliderInputProps, TextInput, type TextInputProps, SelectInput, type SelectInputProps, ToggleInput, type ToggleInputProps, TileParent, type TileParentProps, type TileVariant, SpawnOptionTile, CategoryCardTile, ClipCardTile, ChannelStripTile, Badge, type BadgeProps, TelemetryPill, type TelemetryPillProps, StatusDot, type StatusDotProps, type BadgeTone, } from './hierarchy/index.js';
|
|
20
15
|
export { floksFrnlStore, getFloksFrnlStore, FrnlStoreProvider, useFloksFrnlStore, } from './frnl/store.js';
|
|
21
16
|
export * from './frnl/index.js';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./chunk-2SD6BIUX.js";
|
|
2
1
|
import {
|
|
3
2
|
MIDI_MAX,
|
|
4
3
|
MIDI_MIN,
|
|
@@ -8,9 +7,6 @@ import {
|
|
|
8
7
|
} from "./chunk-HXTM3RSQ.js";
|
|
9
8
|
import {
|
|
10
9
|
GoogleDriveWorkspacePicker,
|
|
11
|
-
SrklBackblazeTile,
|
|
12
|
-
StorageOptionTiles,
|
|
13
|
-
StoragePresetTile,
|
|
14
10
|
WORKSPACE_TILES_MENU_REQUIRED_SERVICES,
|
|
15
11
|
WorkspaceCreateDialog,
|
|
16
12
|
WorkspaceGate,
|
|
@@ -23,7 +19,7 @@ import {
|
|
|
23
19
|
describeGoogleDriveError,
|
|
24
20
|
formatWorkspaceFolderPreview,
|
|
25
21
|
workspaceTilesMenuDefinition
|
|
26
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QFUPODK6.js";
|
|
27
23
|
import {
|
|
28
24
|
AUTH_PAGE_REQUIRED_SERVICES,
|
|
29
25
|
AuthLoadingScreen,
|
|
@@ -42,7 +38,7 @@ import {
|
|
|
42
38
|
resolveLuthEnvironment,
|
|
43
39
|
resolveLuthOrigin,
|
|
44
40
|
useLuthAuth
|
|
45
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-FA6GHJKU.js";
|
|
46
42
|
import {
|
|
47
43
|
ConfirmDialog,
|
|
48
44
|
CopyableErrorAlert,
|
|
@@ -74,11 +70,7 @@ import {
|
|
|
74
70
|
import {
|
|
75
71
|
GRAPHS_MENU_REQUIRED_SERVICES,
|
|
76
72
|
GraphsMenu
|
|
77
|
-
} from "./chunk-
|
|
78
|
-
import {
|
|
79
|
-
TilesMenu,
|
|
80
|
-
tilesMenuDefinition
|
|
81
|
-
} from "./chunk-DZTJJOLR.js";
|
|
73
|
+
} from "./chunk-SFD2LWCU.js";
|
|
82
74
|
import {
|
|
83
75
|
AppShell,
|
|
84
76
|
BreadcrumbNav,
|
|
@@ -93,7 +85,13 @@ import {
|
|
|
93
85
|
import {
|
|
94
86
|
CopyableLogViewer
|
|
95
87
|
} from "./chunk-RLQ2ALJG.js";
|
|
88
|
+
import "./chunk-2SD6BIUX.js";
|
|
96
89
|
import {
|
|
90
|
+
TilesMenu,
|
|
91
|
+
tilesMenuDefinition
|
|
92
|
+
} from "./chunk-NKFSUEAH.js";
|
|
93
|
+
import {
|
|
94
|
+
createFrnlDomMeasurementAdapter,
|
|
97
95
|
frnlBadge,
|
|
98
96
|
frnlBottomBar,
|
|
99
97
|
frnlPage,
|
|
@@ -104,40 +102,13 @@ import {
|
|
|
104
102
|
frnlToggle,
|
|
105
103
|
frnlToggleDefinition,
|
|
106
104
|
frnlTopBar
|
|
107
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-IYBFDSTU.js";
|
|
108
106
|
import {
|
|
109
107
|
frnlButton,
|
|
110
108
|
frnlButtonDefinition,
|
|
111
109
|
frnlTextInput,
|
|
112
110
|
frnlTextInputDefinition
|
|
113
|
-
} from "./chunk-
|
|
114
|
-
import {
|
|
115
|
-
ActionButton,
|
|
116
|
-
Badge,
|
|
117
|
-
ButtonParent,
|
|
118
|
-
CardPanel,
|
|
119
|
-
CategoryCardTile,
|
|
120
|
-
ChannelStripTile,
|
|
121
|
-
ClipCardTile,
|
|
122
|
-
DangerButton,
|
|
123
|
-
GhostButton,
|
|
124
|
-
IconButton,
|
|
125
|
-
InspectorPanel,
|
|
126
|
-
ModalPanel,
|
|
127
|
-
PanelParent,
|
|
128
|
-
SelectInput,
|
|
129
|
-
SliderInput,
|
|
130
|
-
SpawnOptionTile,
|
|
131
|
-
SplitButton,
|
|
132
|
-
StatusDot,
|
|
133
|
-
TelemetryPill,
|
|
134
|
-
TextInput,
|
|
135
|
-
TileParent,
|
|
136
|
-
ToggleButton,
|
|
137
|
-
ToggleInput,
|
|
138
|
-
ToolbarPanel,
|
|
139
|
-
UIParent
|
|
140
|
-
} from "./chunk-ECVX6KZM.js";
|
|
111
|
+
} from "./chunk-RLM72WKL.js";
|
|
141
112
|
import "./chunk-5ZMXFCD4.js";
|
|
142
113
|
import {
|
|
143
114
|
ApiCallIndicator,
|
|
@@ -150,10 +121,10 @@ import {
|
|
|
150
121
|
FrnlStoreProvider,
|
|
151
122
|
floksFrnlFrontendApi,
|
|
152
123
|
floksFrnlStore,
|
|
124
|
+
getFloksFrnlFrontendApi,
|
|
153
125
|
getFloksFrnlStore,
|
|
154
126
|
useFloksFrnlStore
|
|
155
|
-
} from "./chunk-
|
|
156
|
-
import "./chunk-SLJBDDSN.js";
|
|
127
|
+
} from "./chunk-2YP2RPJY.js";
|
|
157
128
|
import {
|
|
158
129
|
DEFAULT_PALETTE_ID,
|
|
159
130
|
THEME_STORAGE_KEY,
|
|
@@ -164,7 +135,7 @@ import {
|
|
|
164
135
|
subscribeToPalette,
|
|
165
136
|
usePalette,
|
|
166
137
|
useTheme
|
|
167
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-I66A7ROC.js";
|
|
168
139
|
import {
|
|
169
140
|
BlockquoteStyleSchema,
|
|
170
141
|
CodeStyleSchema,
|
|
@@ -269,7 +240,6 @@ export {
|
|
|
269
240
|
AIProviderSelector,
|
|
270
241
|
AUTH_PAGE_REQUIRED_SERVICES,
|
|
271
242
|
AccountsSettingsSection,
|
|
272
|
-
ActionButton,
|
|
273
243
|
AgentExecutionCard,
|
|
274
244
|
ApiCallIndicator,
|
|
275
245
|
AppShell,
|
|
@@ -277,7 +247,6 @@ export {
|
|
|
277
247
|
AuthPage,
|
|
278
248
|
AutoSaveToggle,
|
|
279
249
|
BUILTIN_PALETTES,
|
|
280
|
-
Badge,
|
|
281
250
|
BaseBadge,
|
|
282
251
|
BaseButton,
|
|
283
252
|
BaseCard,
|
|
@@ -290,12 +259,7 @@ export {
|
|
|
290
259
|
BottomStrip,
|
|
291
260
|
BottomStripProvider,
|
|
292
261
|
BreadcrumbNav,
|
|
293
|
-
ButtonParent,
|
|
294
262
|
CANONICAL_ELEMENTS,
|
|
295
|
-
CardPanel,
|
|
296
|
-
CategoryCardTile,
|
|
297
|
-
ChannelStripTile,
|
|
298
|
-
ClipCardTile,
|
|
299
263
|
CodeStyleSchema,
|
|
300
264
|
ConfirmDialog,
|
|
301
265
|
CopyableErrorAlert,
|
|
@@ -310,7 +274,6 @@ export {
|
|
|
310
274
|
DOCUSTACK_CYBERPUNK_PACK,
|
|
311
275
|
DOCUSTACK_DARK_GOLD_PACK,
|
|
312
276
|
DOCUSTACK_WARM_COFFEE_PACK,
|
|
313
|
-
DangerButton,
|
|
314
277
|
DirectChatHeader,
|
|
315
278
|
DirectChatInput,
|
|
316
279
|
DirectChatMessageList,
|
|
@@ -326,7 +289,6 @@ export {
|
|
|
326
289
|
FloatingDetailsPanel,
|
|
327
290
|
FrnlStoreProvider,
|
|
328
291
|
GRAPHS_MENU_REQUIRED_SERVICES,
|
|
329
|
-
GhostButton,
|
|
330
292
|
GoogleDriveWorkspacePicker,
|
|
331
293
|
GoogleIcon,
|
|
332
294
|
GoogleSignInButton,
|
|
@@ -334,9 +296,7 @@ export {
|
|
|
334
296
|
HeaderBar,
|
|
335
297
|
HeadingLevelSchema,
|
|
336
298
|
HorizontalRuleStyleSchema,
|
|
337
|
-
IconButton,
|
|
338
299
|
IconOnlyButton,
|
|
339
|
-
InspectorPanel,
|
|
340
300
|
KNOWN_CREDENTIAL_URLS,
|
|
341
301
|
KeyBackupExportTab,
|
|
342
302
|
KeyBackupImportTab,
|
|
@@ -358,7 +318,6 @@ export {
|
|
|
358
318
|
MarkdownSectionStylesSchema,
|
|
359
319
|
MidiTimeline,
|
|
360
320
|
ModalContainer,
|
|
361
|
-
ModalPanel,
|
|
362
321
|
ModelCard,
|
|
363
322
|
ModelCardFooter,
|
|
364
323
|
ModelCardHeader,
|
|
@@ -366,13 +325,11 @@ export {
|
|
|
366
325
|
MusicalTimeline,
|
|
367
326
|
PageContainer,
|
|
368
327
|
PanelContainer,
|
|
369
|
-
PanelParent,
|
|
370
328
|
ParagraphStyleSchema,
|
|
371
329
|
ResizeHandles,
|
|
372
330
|
SearchInput,
|
|
373
331
|
SearchableList,
|
|
374
332
|
SectionContainer,
|
|
375
|
-
SelectInput,
|
|
376
333
|
SettingsTab,
|
|
377
334
|
SidebarContainer,
|
|
378
335
|
SingleKeyCard,
|
|
@@ -380,36 +337,22 @@ export {
|
|
|
380
337
|
SkipoSemanticTokensSchema,
|
|
381
338
|
SkipoThemeMetadataSchema,
|
|
382
339
|
SkipoThemeProvider,
|
|
383
|
-
SliderInput,
|
|
384
|
-
SpawnOptionTile,
|
|
385
|
-
SplitButton,
|
|
386
340
|
SplitContainer,
|
|
387
|
-
SrklBackblazeTile,
|
|
388
|
-
StatusDot,
|
|
389
341
|
StatusIndicator,
|
|
390
342
|
StatusLight,
|
|
391
|
-
StorageOptionTiles,
|
|
392
|
-
StoragePresetTile,
|
|
393
343
|
SystemMessageDisplay,
|
|
394
344
|
THEME_STORAGE_KEY,
|
|
395
345
|
TabContainer,
|
|
396
346
|
TableStyleSchema,
|
|
397
|
-
TelemetryPill,
|
|
398
|
-
TextInput,
|
|
399
347
|
ThemeEngine,
|
|
400
348
|
ThemeProvider,
|
|
401
349
|
ThemeSettingsSection,
|
|
402
350
|
ThemeTypographySchema,
|
|
403
351
|
ThemeVariantDefinitionSchema,
|
|
404
|
-
TileParent,
|
|
405
352
|
TilesMenu,
|
|
406
353
|
TimelineScrubber,
|
|
407
|
-
ToggleButton,
|
|
408
|
-
ToggleInput,
|
|
409
|
-
ToolbarPanel,
|
|
410
354
|
TopToolbar,
|
|
411
355
|
UIElementThemeValueSchema,
|
|
412
|
-
UIParent,
|
|
413
356
|
WORKSPACE_TILES_MENU_REQUIRED_SERVICES,
|
|
414
357
|
WorkspaceCreateDialog,
|
|
415
358
|
WorkspaceGate,
|
|
@@ -423,6 +366,7 @@ export {
|
|
|
423
366
|
buildWorkspaceCreateInput,
|
|
424
367
|
centralLedger,
|
|
425
368
|
createAppThemeSocket,
|
|
369
|
+
createFrnlDomMeasurementAdapter,
|
|
426
370
|
createKloksWorkspaceStorageService,
|
|
427
371
|
createLuthAuthClient,
|
|
428
372
|
createLuthAuthClientForApplication,
|
|
@@ -448,6 +392,7 @@ export {
|
|
|
448
392
|
frnlTopBar,
|
|
449
393
|
getActivePalette,
|
|
450
394
|
getAllUIElements,
|
|
395
|
+
getFloksFrnlFrontendApi,
|
|
451
396
|
getFloksFrnlStore,
|
|
452
397
|
getProviderIcon,
|
|
453
398
|
getThemeEngineStatus,
|