@floegence/floe-webapp-core 0.5.0 → 0.7.0
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/components/ui/DirectoryPicker.d.ts +31 -0
- package/dist/components/ui/FileSavePicker.d.ts +38 -0
- package/dist/components/ui/index.d.ts +2 -0
- package/dist/components/ui/picker/PickerBase.d.ts +94 -0
- package/dist/index.js +203 -199
- package/dist/index10.js +2 -2
- package/dist/index11.js +4 -4
- package/dist/index12.js +5 -5
- package/dist/index13.js +3 -3
- package/dist/index14.js +4 -4
- package/dist/index15.js +5 -5
- package/dist/index16.js +5 -5
- package/dist/index17.js +4 -4
- package/dist/index18.js +6 -6
- package/dist/index19.js +2 -2
- package/dist/index2.js +6 -6
- package/dist/index20.js +2 -2
- package/dist/index21.js +1 -1
- package/dist/index22.js +4 -4
- package/dist/index23.js +3 -3
- package/dist/index24.js +3 -3
- package/dist/index25.js +1 -1
- package/dist/index26.js +5 -5
- package/dist/index27.js +1 -1
- package/dist/index28.js +3 -3
- package/dist/index29.js +119 -85
- package/dist/index3.js +2 -2
- package/dist/index30.js +197 -29
- package/dist/index31.js +86 -65
- package/dist/index32.js +40 -278
- package/dist/index33.js +65 -148
- package/dist/index34.js +278 -29
- package/dist/index35.js +144 -40
- package/dist/index36.js +26 -10
- package/dist/index37.js +41 -23
- package/dist/index38.js +10 -159
- package/dist/index39.js +29 -233
- package/dist/index4.js +1 -1
- package/dist/index40.js +132 -101
- package/dist/index41.js +228 -191
- package/dist/index42.js +105 -144
- package/dist/index43.js +189 -184
- package/dist/index44.js +157 -139
- package/dist/index45.js +186 -117
- package/dist/index46.js +147 -46
- package/dist/index47.js +122 -48
- package/dist/index48.js +50 -38
- package/dist/index49.js +44 -45
- package/dist/index5.js +4 -4
- package/dist/index50.js +37 -24
- package/dist/index51.js +42 -166
- package/dist/index52.js +22 -37
- package/dist/index53.js +167 -60
- package/dist/index54.js +31 -87
- package/dist/index55.js +63 -118
- package/dist/index56.js +88 -130
- package/dist/index57.js +118 -36
- package/dist/index58.js +130 -427
- package/dist/index59.js +38 -37
- package/dist/index6.js +2 -2
- package/dist/index60.js +434 -18
- package/dist/index61.js +38 -13
- package/dist/index62.js +19 -10
- package/dist/index63.js +13 -16
- package/dist/index64.js +10 -10
- package/dist/index65.js +16 -8
- package/dist/index66.js +9 -60
- package/dist/index67.js +8 -5
- package/dist/index68.js +61 -11
- package/dist/index69.js +5 -26
- package/dist/index7.js +2 -2
- package/dist/index70.js +9 -30
- package/dist/index71.js +27 -92
- package/dist/index72.js +29 -24
- package/dist/index73.js +90 -45
- package/dist/index74.js +26 -13
- package/dist/index75.js +46 -35
- package/dist/index76.js +13 -63
- package/dist/index77.js +33 -82
- package/dist/index78.js +63 -13
- package/dist/index79.js +80 -2259
- package/dist/index8.js +2 -2
- package/dist/index80.js +13 -6
- package/dist/index81.js +2260 -36
- package/dist/index82.js +10 -0
- package/dist/index83.js +42 -0
- package/dist/index84.js +390 -0
- package/dist/index9.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { FileItem } from '../file-browser/types';
|
|
2
|
+
export interface DirectoryPickerProps {
|
|
3
|
+
/** Whether the picker dialog is open */
|
|
4
|
+
open: boolean;
|
|
5
|
+
onOpenChange: (open: boolean) => void;
|
|
6
|
+
/** Full file tree (same FileItem[] as FileBrowser) */
|
|
7
|
+
files: FileItem[];
|
|
8
|
+
/** Initial selected path (default: '/') */
|
|
9
|
+
initialPath?: string;
|
|
10
|
+
/** Dialog title (default: 'Select Directory') */
|
|
11
|
+
title?: string;
|
|
12
|
+
/** Confirm button text (default: 'Select') */
|
|
13
|
+
confirmText?: string;
|
|
14
|
+
/** Cancel button text (default: 'Cancel') */
|
|
15
|
+
cancelText?: string;
|
|
16
|
+
/** Called when user confirms selection */
|
|
17
|
+
onSelect: (path: string) => void;
|
|
18
|
+
/**
|
|
19
|
+
* Called when user creates a new folder.
|
|
20
|
+
* When provided, a "New Folder" button is shown.
|
|
21
|
+
*/
|
|
22
|
+
onCreateFolder?: (parentPath: string, name: string) => Promise<void>;
|
|
23
|
+
/** Optional: filter which directories are selectable (return false to grey-out) */
|
|
24
|
+
filter?: (item: FileItem) => boolean;
|
|
25
|
+
class?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Modal directory picker for selecting a folder path.
|
|
29
|
+
* Standalone component — does not depend on FileBrowserContext.
|
|
30
|
+
*/
|
|
31
|
+
export declare function DirectoryPicker(props: DirectoryPickerProps): import("solid-js").JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { FileItem } from '../file-browser/types';
|
|
2
|
+
export interface FileSavePickerProps {
|
|
3
|
+
/** Whether the picker dialog is open */
|
|
4
|
+
open: boolean;
|
|
5
|
+
onOpenChange: (open: boolean) => void;
|
|
6
|
+
/** Full file tree (same FileItem[] as FileBrowser) */
|
|
7
|
+
files: FileItem[];
|
|
8
|
+
/** Initial directory path (default: '/') */
|
|
9
|
+
initialPath?: string;
|
|
10
|
+
/** Pre-filled filename (e.g. rename scenario) */
|
|
11
|
+
initialFileName?: string;
|
|
12
|
+
/** Dialog title (default: 'Save File') */
|
|
13
|
+
title?: string;
|
|
14
|
+
/** Confirm button text (default: 'Save') */
|
|
15
|
+
confirmText?: string;
|
|
16
|
+
/** Cancel button text (default: 'Cancel') */
|
|
17
|
+
cancelText?: string;
|
|
18
|
+
/** Called when user confirms save */
|
|
19
|
+
onSave: (dirPath: string, fileName: string) => void;
|
|
20
|
+
/**
|
|
21
|
+
* Called when user creates a new folder.
|
|
22
|
+
* When provided, a "New Folder" button is shown.
|
|
23
|
+
*/
|
|
24
|
+
onCreateFolder?: (parentPath: string, name: string) => Promise<void>;
|
|
25
|
+
/** Optional: filter which directories are selectable (return false to grey-out) */
|
|
26
|
+
filter?: (item: FileItem) => boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Validate the filename before save.
|
|
29
|
+
* Return an error message string to block, or empty string to allow.
|
|
30
|
+
*/
|
|
31
|
+
validateFileName?: (name: string) => string;
|
|
32
|
+
class?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Modal file-save picker with directory tree, file list, and filename input.
|
|
36
|
+
* Standalone component — does not depend on FileBrowserContext.
|
|
37
|
+
*/
|
|
38
|
+
export declare function FileSavePicker(props: FileSavePickerProps): import("solid-js").JSX.Element;
|
|
@@ -7,3 +7,5 @@ export { Tooltip, type TooltipProps } from './Tooltip';
|
|
|
7
7
|
export { CommandPalette } from './CommandPalette';
|
|
8
8
|
export { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, Interactive3DCard, AnimatedBorderCard, NeonCard, MorphCard, type CardProps, type CardVariant, type CardHeaderProps, type CardTitleProps, type CardDescriptionProps, type CardContentProps, type CardFooterProps, type Interactive3DCardProps, type AnimatedBorderCardProps, type NeonCardProps, type MorphCardProps, } from './Card';
|
|
9
9
|
export { Tabs, TabPanel, type TabsProps, type TabPanelProps, type TabItem } from './Tabs';
|
|
10
|
+
export { DirectoryPicker, type DirectoryPickerProps } from './DirectoryPicker';
|
|
11
|
+
export { FileSavePicker, type FileSavePickerProps } from './FileSavePicker';
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared internals for DirectoryPicker and FileSavePicker.
|
|
3
|
+
* NOT exported from the package entry — these are implementation details.
|
|
4
|
+
*/
|
|
5
|
+
import { type Accessor, type JSX } from 'solid-js';
|
|
6
|
+
import type { FileItem } from '../../file-browser/types';
|
|
7
|
+
export declare function normalizePath(path: string): string;
|
|
8
|
+
/**
|
|
9
|
+
* Returns ancestor paths (excluding root and the path itself).
|
|
10
|
+
* e.g. "/a/b/c" → ["/a", "/a/b"]
|
|
11
|
+
*/
|
|
12
|
+
export declare function getAncestorPaths(path: string): string[];
|
|
13
|
+
/** Get parent path of a given path */
|
|
14
|
+
export declare function getParentPath(path: string): string;
|
|
15
|
+
/** Build a path → FileItem map for all folders in the tree */
|
|
16
|
+
export declare function useFolderIndex(files: Accessor<FileItem[]>): Accessor<Map<string, FileItem>>;
|
|
17
|
+
export interface UsePickerTreeOptions {
|
|
18
|
+
initialPath?: string;
|
|
19
|
+
open: Accessor<boolean>;
|
|
20
|
+
files: Accessor<FileItem[]>;
|
|
21
|
+
filter?: (item: FileItem) => boolean;
|
|
22
|
+
/** Additional reset logic when the dialog opens */
|
|
23
|
+
onReset?: (initialPath: string) => void;
|
|
24
|
+
}
|
|
25
|
+
export interface PickerTreeState {
|
|
26
|
+
selectedPath: Accessor<string>;
|
|
27
|
+
setSelectedPath: (path: string) => void;
|
|
28
|
+
expandedPaths: Accessor<Set<string>>;
|
|
29
|
+
toggleExpand: (path: string) => void;
|
|
30
|
+
pathInput: Accessor<string>;
|
|
31
|
+
setPathInput: (value: string) => void;
|
|
32
|
+
pathInputError: Accessor<string>;
|
|
33
|
+
setPathInputError: (value: string) => void;
|
|
34
|
+
folderIndex: Accessor<Map<string, FileItem>>;
|
|
35
|
+
rootFolders: Accessor<FileItem[]>;
|
|
36
|
+
isValidPath: (path: string) => boolean;
|
|
37
|
+
isSelectable: (item: FileItem) => boolean;
|
|
38
|
+
handleSelectFolder: (item: FileItem) => void;
|
|
39
|
+
handleSelectRoot: () => void;
|
|
40
|
+
handlePathInputGo: () => void;
|
|
41
|
+
handlePathInputKeyDown: (e: KeyboardEvent) => void;
|
|
42
|
+
expandToPath: (path: string) => void;
|
|
43
|
+
breadcrumbSegments: Accessor<{
|
|
44
|
+
name: string;
|
|
45
|
+
path: string;
|
|
46
|
+
}[]>;
|
|
47
|
+
handleBreadcrumbClick: (path: string) => void;
|
|
48
|
+
}
|
|
49
|
+
export declare function usePickerTree(opts: UsePickerTreeOptions): PickerTreeState;
|
|
50
|
+
export interface NewFolderSectionProps {
|
|
51
|
+
parentPath: Accessor<string>;
|
|
52
|
+
onCreateFolder: (parentPath: string, name: string) => Promise<void>;
|
|
53
|
+
}
|
|
54
|
+
export declare function NewFolderSection(props: NewFolderSectionProps): JSX.Element;
|
|
55
|
+
export interface PathInputBarProps {
|
|
56
|
+
value: Accessor<string>;
|
|
57
|
+
onInput: (value: string) => void;
|
|
58
|
+
error: Accessor<string>;
|
|
59
|
+
onGo: () => void;
|
|
60
|
+
onKeyDown: (e: KeyboardEvent) => void;
|
|
61
|
+
placeholder?: string;
|
|
62
|
+
}
|
|
63
|
+
export declare function PathInputBar(props: PathInputBarProps): JSX.Element;
|
|
64
|
+
export interface PickerBreadcrumbProps {
|
|
65
|
+
segments: Accessor<{
|
|
66
|
+
name: string;
|
|
67
|
+
path: string;
|
|
68
|
+
}[]>;
|
|
69
|
+
onClick: (path: string) => void;
|
|
70
|
+
}
|
|
71
|
+
export declare function PickerBreadcrumb(props: PickerBreadcrumbProps): JSX.Element;
|
|
72
|
+
export interface PickerFolderTreeProps {
|
|
73
|
+
rootFolders: Accessor<FileItem[]>;
|
|
74
|
+
selectedPath: Accessor<string>;
|
|
75
|
+
expandedPaths: Accessor<Set<string>>;
|
|
76
|
+
onToggle: (path: string) => void;
|
|
77
|
+
onSelect: (item: FileItem) => void;
|
|
78
|
+
onSelectRoot: () => void;
|
|
79
|
+
isSelectable: (item: FileItem) => boolean;
|
|
80
|
+
class?: string;
|
|
81
|
+
style?: JSX.CSSProperties;
|
|
82
|
+
emptyText?: string;
|
|
83
|
+
}
|
|
84
|
+
export declare function PickerFolderTree(props: PickerFolderTreeProps): JSX.Element;
|
|
85
|
+
export interface PickerTreeNodeProps {
|
|
86
|
+
item: FileItem;
|
|
87
|
+
depth: number;
|
|
88
|
+
selectedPath: Accessor<string>;
|
|
89
|
+
expandedPaths: Accessor<Set<string>>;
|
|
90
|
+
onToggle: (path: string) => void;
|
|
91
|
+
onSelect: (item: FileItem) => void;
|
|
92
|
+
isSelectable: (item: FileItem) => boolean;
|
|
93
|
+
}
|
|
94
|
+
export declare function PickerTreeNode(props: PickerTreeNodeProps): JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -4,10 +4,10 @@ import { Sidebar as n, SidebarContent as m, SidebarItem as p, SidebarItemList as
|
|
|
4
4
|
import { TopBar as x } from "./index5.js";
|
|
5
5
|
import { BottomBar as c, BottomBarItem as g, StatusIndicator as C } from "./index6.js";
|
|
6
6
|
import { MobileTabBar as S } from "./index7.js";
|
|
7
|
-
import { ResizeHandle as
|
|
8
|
-
import { Panel as
|
|
7
|
+
import { ResizeHandle as y } from "./index8.js";
|
|
8
|
+
import { Panel as v, PanelContent as I, PanelHeader as D } from "./index9.js";
|
|
9
9
|
import { KeepAliveStack as T } from "./index10.js";
|
|
10
|
-
import { DECK_GRID_CONFIG as B, DeckGrid as L, getGridConfigFromElement as
|
|
10
|
+
import { DECK_GRID_CONFIG as B, DeckGrid as L, getGridConfigFromElement as k } from "./index11.js";
|
|
11
11
|
import { DeckCell as R } from "./index12.js";
|
|
12
12
|
import { WidgetFrame as G } from "./index13.js";
|
|
13
13
|
import { WidgetResizeHandle as M } from "./index14.js";
|
|
@@ -23,66 +23,68 @@ import { FloatingWindow as oe } from "./index23.js";
|
|
|
23
23
|
import { Dropdown as ie, Select as ae } from "./index24.js";
|
|
24
24
|
import { Tooltip as me } from "./index25.js";
|
|
25
25
|
import { CommandPalette as de } from "./index26.js";
|
|
26
|
-
import { AnimatedBorderCard as le, Card as xe, CardContent as se, CardDescription as ce, CardFooter as ge, CardHeader as Ce, CardTitle as ue, Interactive3DCard as Se, MorphCard as Fe, NeonCard as
|
|
27
|
-
import { TabPanel as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
26
|
+
import { AnimatedBorderCard as le, Card as xe, CardContent as se, CardDescription as ce, CardFooter as ge, CardHeader as Ce, CardTitle as ue, Interactive3DCard as Se, MorphCard as Fe, NeonCard as ye } from "./index27.js";
|
|
27
|
+
import { TabPanel as ve, Tabs as Ie } from "./index28.js";
|
|
28
|
+
import { DirectoryPicker as Pe } from "./index29.js";
|
|
29
|
+
import { FileSavePicker as be } from "./index30.js";
|
|
30
|
+
import { SnakeLoader as Le } from "./index31.js";
|
|
31
|
+
import { LoadingOverlay as We } from "./index32.js";
|
|
32
|
+
import { Skeleton as we, SkeletonCard as Ge, SkeletonList as Ae, SkeletonText as Me } from "./index33.js";
|
|
33
|
+
import { ArrowRightLeft as ze, Bell as Ke, Check as Oe, ChevronDown as Ve, ChevronRight as Ee, Copy as He, Files as _e, GitBranch as Qe, Grid as Ue, Grid3x3 as Xe, GripVertical as Ze, LayoutDashboard as je, Loader2 as qe, Maximize as Je, Minus as Ye, Moon as $e, Pencil as er, Plus as rr, Restore as or, Search as tr, Settings as ir, Sun as ar, Terminal as nr, Trash as mr, X as pr } from "./index34.js";
|
|
34
|
+
import { Launchpad as fr } from "./index35.js";
|
|
35
|
+
import { LaunchpadItem as xr } from "./index36.js";
|
|
36
|
+
import { LaunchpadGrid as cr } from "./index37.js";
|
|
37
|
+
import { LaunchpadSearch as Cr } from "./index38.js";
|
|
38
|
+
import { LaunchpadPagination as Sr } from "./index39.js";
|
|
39
|
+
import { FileBrowser as yr } from "./index40.js";
|
|
40
|
+
import { FileBrowserProvider as vr, useFileBrowser as Ir } from "./index41.js";
|
|
41
|
+
import { DirectoryTree as Pr } from "./index42.js";
|
|
42
|
+
import { FileListView as br } from "./index43.js";
|
|
43
|
+
import { FileGridView as Lr } from "./index44.js";
|
|
44
|
+
import { FileContextMenu as Wr } from "./index45.js";
|
|
45
|
+
import { Breadcrumb as wr } from "./index46.js";
|
|
46
|
+
import { FileBrowserToolbar as Ar } from "./index47.js";
|
|
47
|
+
import { CodeFileIcon as Nr, ConfigFileIcon as zr, DocumentFileIcon as Kr, FileIcon as Or, FolderIcon as Vr, FolderOpenIcon as Er, ImageFileIcon as Hr, StyleFileIcon as _r, getFileIcon as Qr } from "./index48.js";
|
|
48
|
+
import { FloeProvider as Xr } from "./index49.js";
|
|
49
|
+
import { FloeApp as jr } from "./index50.js";
|
|
50
|
+
import { ActivityAppsMain as Jr } from "./index51.js";
|
|
51
|
+
import { createSimpleContext as $r } from "./index52.js";
|
|
52
|
+
import { DEFAULT_FLOE_CONFIG as ro, FloeConfigProvider as oo, useFloeConfig as to, useResolvedFloeConfig as io } from "./index53.js";
|
|
53
|
+
import { ThemeProvider as no, createThemeService as mo, useTheme as po } from "./index54.js";
|
|
54
|
+
import { LayoutProvider as lo, createLayoutService as xo, useLayout as so } from "./index55.js";
|
|
55
|
+
import { CommandProvider as go, createCommandService as Co, useCommand as uo } from "./index56.js";
|
|
56
|
+
import { NotificationContainer as Fo, NotificationProvider as yo, createNotificationService as ho, useNotification as vo } from "./index57.js";
|
|
57
|
+
import { ComponentRegistryProvider as Do, createComponentRegistry as Po, useComponentContextFactory as To, useComponentRegistry as bo } from "./index58.js";
|
|
58
|
+
import { WidgetRegistryProvider as Lo, createWidgetRegistry as ko, useWidgetRegistry as Wo } from "./index59.js";
|
|
59
|
+
import { DeckProvider as wo, createDeckService as Go, useDeck as Ao } from "./index60.js";
|
|
60
|
+
import { WidgetStateProvider as No, useCurrentWidgetId as zo, useWidgetState as Ko, useWidgetStateContext as Oo } from "./index61.js";
|
|
61
|
+
import { ViewActivationProvider as Eo, useViewActivation as Ho } from "./index62.js";
|
|
62
|
+
import { useMediaQuery as Qo } from "./index63.js";
|
|
63
|
+
import { useDebounce as Xo } from "./index64.js";
|
|
64
|
+
import { useResizeObserver as jo } from "./index65.js";
|
|
65
|
+
import { useKeybind as Jo } from "./index66.js";
|
|
66
|
+
import { usePersisted as $o } from "./index67.js";
|
|
67
|
+
import { useDeckDrag as rt } from "./index68.js";
|
|
68
|
+
import { cn as tt } from "./index69.js";
|
|
69
|
+
import { deferAfterPaint as at, deferNonBlocking as nt } from "./index70.js";
|
|
70
|
+
import { formatKeybind as pt, matchKeybind as dt, parseKeybind as ft } from "./index71.js";
|
|
71
|
+
import { lockBodyStyle as xt } from "./index72.js";
|
|
72
|
+
import { duration as ct, easing as gt, fadeIn as Ct, listContainer as ut, listItem as St, panelResize as Ft, popIn as yt, scaleIn as ht, sidebarVariants as vt, slideInFromBottom as It, slideInFromLeft as Dt, slideInFromRight as Pt, slideInFromTop as Tt, springConfig as bt } from "./index73.js";
|
|
73
|
+
import { checkCollision as Lt, constrainPosition as kt, findFreePosition as Wt, hasCollision as Rt } from "./index74.js";
|
|
74
|
+
import { applyDragDelta as Gt, applyResizeDelta as At, getGridCellSize as Mt, pixelDeltaToGridDelta as Nt, positionToGridArea as zt, snapToGrid as Kt } from "./index75.js";
|
|
75
|
+
import { applyTheme as Vt, builtInThemes as Et, getSystemTheme as Ht } from "./index76.js";
|
|
76
|
+
import { FilesSidebarWidget as Qt, SearchSidebarWidget as Ut, SettingsSidebarWidget as Xt, ShowcaseSidebarWidget as Zt, SidebarWidget as jt } from "./index77.js";
|
|
77
|
+
import { MetricsWidget as Jt } from "./index78.js";
|
|
78
|
+
import { TerminalWidget as $t } from "./index79.js";
|
|
77
79
|
export {
|
|
78
|
-
|
|
80
|
+
Jr as ActivityAppsMain,
|
|
79
81
|
i as ActivityBar,
|
|
80
82
|
le as AnimatedBorderCard,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
ze as ArrowRightLeft,
|
|
84
|
+
Ke as Bell,
|
|
83
85
|
c as BottomBar,
|
|
84
86
|
g as BottomBarItem,
|
|
85
|
-
|
|
87
|
+
wr as Breadcrumb,
|
|
86
88
|
Z as Button,
|
|
87
89
|
xe as Card,
|
|
88
90
|
se as CardContent,
|
|
@@ -90,177 +92,179 @@ export {
|
|
|
90
92
|
ge as CardFooter,
|
|
91
93
|
Ce as CardHeader,
|
|
92
94
|
ue as CardTitle,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
Oe as Check,
|
|
96
|
+
Ve as ChevronDown,
|
|
97
|
+
Ee as ChevronRight,
|
|
98
|
+
Nr as CodeFileIcon,
|
|
97
99
|
de as CommandPalette,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
go as CommandProvider,
|
|
101
|
+
Do as ComponentRegistryProvider,
|
|
102
|
+
zr as ConfigFileIcon,
|
|
101
103
|
$ as ConfirmDialog,
|
|
102
|
-
|
|
104
|
+
He as Copy,
|
|
103
105
|
B as DECK_GRID_CONFIG,
|
|
104
|
-
|
|
106
|
+
ro as DEFAULT_FLOE_CONFIG,
|
|
105
107
|
R as DeckCell,
|
|
106
108
|
L as DeckGrid,
|
|
107
|
-
|
|
109
|
+
wo as DeckProvider,
|
|
108
110
|
_ as DeckTopBar,
|
|
109
111
|
ee as Dialog,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
+
Pe as DirectoryPicker,
|
|
113
|
+
Pr as DirectoryTree,
|
|
114
|
+
Kr as DocumentFileIcon,
|
|
112
115
|
U as DropZonePreview,
|
|
113
116
|
ie as Dropdown,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
117
|
+
yr as FileBrowser,
|
|
118
|
+
vr as FileBrowserProvider,
|
|
119
|
+
Ar as FileBrowserToolbar,
|
|
120
|
+
Wr as FileContextMenu,
|
|
121
|
+
Lr as FileGridView,
|
|
122
|
+
Or as FileIcon,
|
|
123
|
+
br as FileListView,
|
|
124
|
+
be as FileSavePicker,
|
|
125
|
+
_e as Files,
|
|
126
|
+
Qt as FilesSidebarWidget,
|
|
123
127
|
oe as FloatingWindow,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
128
|
+
jr as FloeApp,
|
|
129
|
+
oo as FloeConfigProvider,
|
|
130
|
+
Xr as FloeProvider,
|
|
131
|
+
Vr as FolderIcon,
|
|
132
|
+
Er as FolderOpenIcon,
|
|
133
|
+
Qe as GitBranch,
|
|
134
|
+
Ue as Grid,
|
|
135
|
+
Xe as Grid3x3,
|
|
136
|
+
Ze as GripVertical,
|
|
137
|
+
Hr as ImageFileIcon,
|
|
134
138
|
q as Input,
|
|
135
139
|
Se as Interactive3DCard,
|
|
136
140
|
T as KeepAliveStack,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
fr as Launchpad,
|
|
142
|
+
cr as LaunchpadGrid,
|
|
143
|
+
xr as LaunchpadItem,
|
|
144
|
+
Sr as LaunchpadPagination,
|
|
145
|
+
Cr as LaunchpadSearch,
|
|
146
|
+
je as LayoutDashboard,
|
|
147
|
+
lo as LayoutProvider,
|
|
144
148
|
E as LayoutSelector,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
149
|
+
qe as Loader2,
|
|
150
|
+
We as LoadingOverlay,
|
|
151
|
+
Je as Maximize,
|
|
152
|
+
Jt as MetricsWidget,
|
|
153
|
+
Ye as Minus,
|
|
150
154
|
S as MobileTabBar,
|
|
151
|
-
|
|
155
|
+
$e as Moon,
|
|
152
156
|
Fe as MorphCard,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
157
|
+
ye as NeonCard,
|
|
158
|
+
Fo as NotificationContainer,
|
|
159
|
+
yo as NotificationProvider,
|
|
160
|
+
v as Panel,
|
|
161
|
+
I as PanelContent,
|
|
158
162
|
D as PanelHeader,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
er as Pencil,
|
|
164
|
+
rr as Plus,
|
|
165
|
+
y as ResizeHandle,
|
|
166
|
+
or as Restore,
|
|
167
|
+
tr as Search,
|
|
168
|
+
Ut as SearchSidebarWidget,
|
|
165
169
|
ae as Select,
|
|
166
|
-
|
|
167
|
-
|
|
170
|
+
ir as Settings,
|
|
171
|
+
Xt as SettingsSidebarWidget,
|
|
168
172
|
o as Shell,
|
|
169
|
-
|
|
173
|
+
Zt as ShowcaseSidebarWidget,
|
|
170
174
|
n as Sidebar,
|
|
171
175
|
m as SidebarContent,
|
|
172
176
|
p as SidebarItem,
|
|
173
177
|
d as SidebarItemList,
|
|
174
178
|
f as SidebarSection,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
jt as SidebarWidget,
|
|
180
|
+
we as Skeleton,
|
|
181
|
+
Ge as SkeletonCard,
|
|
182
|
+
Ae as SkeletonList,
|
|
183
|
+
Me as SkeletonText,
|
|
184
|
+
Le as SnakeLoader,
|
|
181
185
|
C as StatusIndicator,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
_r as StyleFileIcon,
|
|
187
|
+
ar as Sun,
|
|
188
|
+
ve as TabPanel,
|
|
189
|
+
Ie as Tabs,
|
|
190
|
+
nr as Terminal,
|
|
191
|
+
$t as TerminalWidget,
|
|
188
192
|
J as Textarea,
|
|
189
|
-
|
|
193
|
+
no as ThemeProvider,
|
|
190
194
|
me as Tooltip,
|
|
191
195
|
x as TopBar,
|
|
192
|
-
|
|
193
|
-
|
|
196
|
+
mr as Trash,
|
|
197
|
+
Eo as ViewActivationProvider,
|
|
194
198
|
G as WidgetFrame,
|
|
195
199
|
z as WidgetPalette,
|
|
196
|
-
|
|
200
|
+
Lo as WidgetRegistryProvider,
|
|
197
201
|
M as WidgetResizeHandle,
|
|
198
|
-
|
|
202
|
+
No as WidgetStateProvider,
|
|
199
203
|
O as WidgetTypeSwitcher,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
204
|
+
pr as X,
|
|
205
|
+
Gt as applyDragDelta,
|
|
206
|
+
At as applyResizeDelta,
|
|
207
|
+
Vt as applyTheme,
|
|
208
|
+
Et as builtInThemes,
|
|
209
|
+
Lt as checkCollision,
|
|
210
|
+
tt as cn,
|
|
211
|
+
kt as constrainPosition,
|
|
212
|
+
Co as createCommandService,
|
|
213
|
+
Po as createComponentRegistry,
|
|
214
|
+
Go as createDeckService,
|
|
215
|
+
xo as createLayoutService,
|
|
216
|
+
ho as createNotificationService,
|
|
217
|
+
$r as createSimpleContext,
|
|
218
|
+
mo as createThemeService,
|
|
219
|
+
ko as createWidgetRegistry,
|
|
220
|
+
at as deferAfterPaint,
|
|
221
|
+
nt as deferNonBlocking,
|
|
222
|
+
ct as duration,
|
|
223
|
+
gt as easing,
|
|
224
|
+
Ct as fadeIn,
|
|
225
|
+
Wt as findFreePosition,
|
|
226
|
+
pt as formatKeybind,
|
|
227
|
+
Qr as getFileIcon,
|
|
228
|
+
Mt as getGridCellSize,
|
|
229
|
+
k as getGridConfigFromElement,
|
|
230
|
+
Ht as getSystemTheme,
|
|
231
|
+
Rt as hasCollision,
|
|
232
|
+
ut as listContainer,
|
|
233
|
+
St as listItem,
|
|
234
|
+
xt as lockBodyStyle,
|
|
235
|
+
dt as matchKeybind,
|
|
236
|
+
Ft as panelResize,
|
|
237
|
+
ft as parseKeybind,
|
|
238
|
+
Nt as pixelDeltaToGridDelta,
|
|
239
|
+
yt as popIn,
|
|
240
|
+
zt as positionToGridArea,
|
|
241
|
+
ht as scaleIn,
|
|
242
|
+
vt as sidebarVariants,
|
|
243
|
+
It as slideInFromBottom,
|
|
244
|
+
Dt as slideInFromLeft,
|
|
245
|
+
Pt as slideInFromRight,
|
|
246
|
+
Tt as slideInFromTop,
|
|
247
|
+
Kt as snapToGrid,
|
|
248
|
+
bt as springConfig,
|
|
249
|
+
uo as useCommand,
|
|
250
|
+
To as useComponentContextFactory,
|
|
251
|
+
bo as useComponentRegistry,
|
|
252
|
+
zo as useCurrentWidgetId,
|
|
253
|
+
Xo as useDebounce,
|
|
254
|
+
Ao as useDeck,
|
|
255
|
+
rt as useDeckDrag,
|
|
256
|
+
Ir as useFileBrowser,
|
|
257
|
+
to as useFloeConfig,
|
|
258
|
+
Jo as useKeybind,
|
|
259
|
+
so as useLayout,
|
|
260
|
+
Qo as useMediaQuery,
|
|
261
|
+
vo as useNotification,
|
|
262
|
+
$o as usePersisted,
|
|
263
|
+
jo as useResizeObserver,
|
|
264
|
+
io as useResolvedFloeConfig,
|
|
265
|
+
po as useTheme,
|
|
266
|
+
Ho as useViewActivation,
|
|
267
|
+
Wo as useWidgetRegistry,
|
|
268
|
+
Ko as useWidgetState,
|
|
269
|
+
Oo as useWidgetStateContext
|
|
266
270
|
};
|
package/dist/index10.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { template as E, insert as x, createComponent as I, effect as z, className as V, setStyleProperty as q } from "solid-js/web";
|
|
2
2
|
import { createMemo as w, createSignal as b, untrack as B, createEffect as S, For as F } from "solid-js";
|
|
3
|
-
import { ViewActivationProvider as N } from "./
|
|
4
|
-
import { cn as A } from "./
|
|
3
|
+
import { ViewActivationProvider as N } from "./index62.js";
|
|
4
|
+
import { cn as A } from "./index69.js";
|
|
5
5
|
var C = /* @__PURE__ */ E("<div>");
|
|
6
6
|
function y(n) {
|
|
7
7
|
return String(n ?? "").trim();
|