@floegence/floe-webapp-core 0.1.10 → 0.1.11
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/Tabs.d.ts +25 -0
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/index.js +187 -184
- package/dist/index10.js +3 -3
- package/dist/index11.js +4 -4
- package/dist/index12.js +3 -3
- package/dist/index13.js +4 -4
- package/dist/index14.js +5 -5
- package/dist/index15.js +5 -5
- package/dist/index16.js +4 -4
- package/dist/index17.js +6 -6
- package/dist/index18.js +2 -2
- package/dist/index19.js +2 -2
- package/dist/index2.js +6 -6
- package/dist/index20.js +1 -1
- package/dist/index21.js +4 -4
- package/dist/index22.js +3 -3
- package/dist/index23.js +3 -3
- package/dist/index24.js +1 -1
- package/dist/index25.js +5 -5
- package/dist/index26.js +1 -1
- package/dist/index27.js +187 -80
- package/dist/index28.js +87 -37
- package/dist/index29.js +37 -66
- package/dist/index3.js +1 -1
- package/dist/index30.js +69 -278
- package/dist/index31.js +278 -152
- package/dist/index32.js +147 -24
- package/dist/index33.js +26 -45
- package/dist/index34.js +45 -10
- package/dist/index35.js +10 -27
- package/dist/index36.js +27 -142
- package/dist/index37.js +135 -99
- package/dist/index38.js +105 -89
- package/dist/index39.js +79 -97
- package/dist/index4.js +1 -1
- package/dist/index40.js +84 -60
- package/dist/index41.js +81 -173
- package/dist/index42.js +177 -65
- package/dist/index43.js +56 -61
- package/dist/index44.js +70 -38
- package/dist/index45.js +39 -48
- package/dist/index46.js +40 -30
- package/dist/index47.js +37 -24
- package/dist/index48.js +21 -169
- package/dist/index49.js +169 -36
- package/dist/index5.js +4 -4
- package/dist/index50.js +38 -64
- package/dist/index51.js +63 -93
- package/dist/index52.js +88 -109
- package/dist/index53.js +110 -131
- package/dist/index54.js +131 -32
- package/dist/index55.js +29 -396
- package/dist/index56.js +405 -12
- package/dist/index57.js +13 -10
- package/dist/index58.js +10 -16
- package/dist/index59.js +16 -10
- package/dist/index6.js +2 -2
- package/dist/index60.js +10 -8
- package/dist/index61.js +8 -58
- package/dist/index62.js +58 -5
- package/dist/index63.js +5 -3
- package/dist/index64.js +3 -45
- package/dist/index65.js +42 -23
- package/dist/index66.js +24 -30
- package/dist/index67.js +31 -90
- package/dist/index68.js +91 -22
- package/dist/index69.js +19 -43
- package/dist/index7.js +1 -1
- package/dist/index70.js +45 -13
- package/dist/index71.js +14 -35
- package/dist/index72.js +33 -62
- package/dist/index73.js +61 -81
- package/dist/index74.js +84 -14
- package/dist/index75.js +12 -2261
- package/dist/index76.js +2262 -6
- package/dist/index77.js +10 -0
- package/dist/index8.js +2 -2
- package/dist/index9.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type JSX } from 'solid-js';
|
|
2
|
+
export interface TabItem {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
icon?: JSX.Element;
|
|
6
|
+
closable?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface TabsProps extends Omit<JSX.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onClose'> {
|
|
10
|
+
items: TabItem[];
|
|
11
|
+
activeId?: string;
|
|
12
|
+
onChange?: (id: string) => void;
|
|
13
|
+
onClose?: (id: string) => void;
|
|
14
|
+
onAdd?: () => void;
|
|
15
|
+
showAdd?: boolean;
|
|
16
|
+
closable?: boolean;
|
|
17
|
+
size?: 'sm' | 'md';
|
|
18
|
+
variant?: 'default' | 'card' | 'underline';
|
|
19
|
+
}
|
|
20
|
+
export declare function Tabs(props: TabsProps): JSX.Element;
|
|
21
|
+
export interface TabPanelProps extends JSX.HTMLAttributes<HTMLDivElement> {
|
|
22
|
+
active?: boolean;
|
|
23
|
+
keepMounted?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare function TabPanel(props: TabPanelProps): JSX.Element;
|
|
@@ -6,3 +6,4 @@ export { Dropdown, Select, type DropdownProps, type DropdownItem, type SelectPro
|
|
|
6
6
|
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
|
+
export { Tabs, TabPanel, type TabsProps, type TabPanelProps, type TabItem } from './Tabs';
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { TopBar as x } from "./index5.js";
|
|
|
5
5
|
import { BottomBar as c, BottomBarItem as C, StatusIndicator as g } from "./index6.js";
|
|
6
6
|
import { MobileTabBar as S } from "./index7.js";
|
|
7
7
|
import { ResizeHandle as h } from "./index8.js";
|
|
8
|
-
import { Panel as I, PanelContent as D, PanelHeader as
|
|
8
|
+
import { Panel as I, PanelContent as D, PanelHeader as b } from "./index9.js";
|
|
9
9
|
import { DECK_GRID_CONFIG as T, DeckGrid as P } from "./index10.js";
|
|
10
10
|
import { DeckCell as L } from "./index11.js";
|
|
11
11
|
import { WidgetFrame as k } from "./index12.js";
|
|
@@ -23,61 +23,62 @@ import { Dropdown as oe, Select as re } from "./index23.js";
|
|
|
23
23
|
import { Tooltip as ie } from "./index24.js";
|
|
24
24
|
import { CommandPalette as ne } from "./index25.js";
|
|
25
25
|
import { AnimatedBorderCard as pe, Card as de, CardContent as fe, CardDescription as le, CardFooter as xe, CardHeader as se, CardTitle as ce, Interactive3DCard as Ce, MorphCard as ge, NeonCard as ue } from "./index26.js";
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
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 {
|
|
26
|
+
import { TabPanel as Fe, Tabs as he } from "./index27.js";
|
|
27
|
+
import { SnakeLoader as Ie } from "./index28.js";
|
|
28
|
+
import { LoadingOverlay as be } from "./index29.js";
|
|
29
|
+
import { Skeleton as Te, SkeletonCard as Pe, SkeletonList as Be, SkeletonText as Le } from "./index30.js";
|
|
30
|
+
import { ArrowRightLeft as ke, Bell as We, Check as Ge, ChevronDown as we, ChevronRight as Me, Copy as Ne, Files as ze, GitBranch as Ae, Grid as Oe, Grid3x3 as Ke, GripVertical as He, LayoutDashboard as Ve, Loader2 as _e, Maximize as Ee, Minus as Qe, Moon as Ue, Pencil as Xe, Plus as Ze, Restore as je, Search as qe, Settings as Je, Sun as Ye, Terminal as $e, Trash as eo, X as oo } from "./index31.js";
|
|
31
|
+
import { Launchpad as to } from "./index32.js";
|
|
32
|
+
import { LaunchpadItem as ao } from "./index33.js";
|
|
33
|
+
import { LaunchpadGrid as mo } from "./index34.js";
|
|
34
|
+
import { LaunchpadSearch as fo } from "./index35.js";
|
|
35
|
+
import { LaunchpadPagination as xo } from "./index36.js";
|
|
36
|
+
import { FileBrowser as co } from "./index37.js";
|
|
37
|
+
import { FileBrowserProvider as go, useFileBrowser as uo } from "./index38.js";
|
|
38
|
+
import { DirectoryTree as Fo } from "./index39.js";
|
|
39
|
+
import { FileListView as yo } from "./index40.js";
|
|
40
|
+
import { FileGridView as Do } from "./index41.js";
|
|
41
|
+
import { FileContextMenu as vo } from "./index42.js";
|
|
42
|
+
import { Breadcrumb as Po } from "./index43.js";
|
|
43
|
+
import { FileBrowserToolbar as Lo } from "./index44.js";
|
|
44
|
+
import { CodeFileIcon as ko, ConfigFileIcon as Wo, DocumentFileIcon as Go, FileIcon as wo, FolderIcon as Mo, FolderOpenIcon as No, ImageFileIcon as zo, StyleFileIcon as Ao, getFileIcon as Oo } from "./index45.js";
|
|
45
|
+
import { FloeProvider as Ho } from "./index46.js";
|
|
46
|
+
import { FloeApp as _o } from "./index47.js";
|
|
47
|
+
import { createSimpleContext as Qo } from "./index48.js";
|
|
48
|
+
import { DEFAULT_FLOE_CONFIG as Xo, FloeConfigProvider as Zo, useFloeConfig as jo, useResolvedFloeConfig as qo } from "./index49.js";
|
|
49
|
+
import { ThemeProvider as Yo, createThemeService as $o, useTheme as er } from "./index50.js";
|
|
50
|
+
import { LayoutProvider as rr, createLayoutService as tr, useLayout as ir } from "./index51.js";
|
|
51
|
+
import { CommandProvider as nr, createCommandService as mr, useCommand as pr } from "./index52.js";
|
|
52
|
+
import { NotificationContainer as fr, NotificationProvider as lr, createNotificationService as xr, useNotification as sr } from "./index53.js";
|
|
53
|
+
import { ComponentRegistryProvider as Cr, createComponentRegistry as gr, useComponentContextFactory as ur, useComponentRegistry as Sr } from "./index54.js";
|
|
54
|
+
import { WidgetRegistryProvider as hr, createWidgetRegistry as yr, useWidgetRegistry as Ir } from "./index55.js";
|
|
55
|
+
import { DeckProvider as br, createDeckService as vr, useDeck as Tr } from "./index56.js";
|
|
56
|
+
import { useMediaQuery as Br } from "./index57.js";
|
|
57
|
+
import { useDebounce as Rr } from "./index58.js";
|
|
58
|
+
import { useResizeObserver as Wr } from "./index59.js";
|
|
59
|
+
import { useKeybind as wr } from "./index60.js";
|
|
60
|
+
import { usePersisted as Nr } from "./index61.js";
|
|
61
|
+
import { useDeckDrag as Ar } from "./index62.js";
|
|
62
|
+
import { cn as Kr } from "./index63.js";
|
|
63
|
+
import { deferNonBlocking as Vr } from "./index64.js";
|
|
64
|
+
import { clearAll as Er, debouncedSave as Qr, load as Ur, remove as Xr, save as Zr } from "./index65.js";
|
|
65
|
+
import { formatKeybind as qr, matchKeybind as Jr, parseKeybind as Yr } from "./index66.js";
|
|
66
|
+
import { lockBodyStyle as et } from "./index67.js";
|
|
67
|
+
import { duration as rt, easing as tt, fadeIn as it, listContainer as at, listItem as nt, panelResize as mt, popIn as pt, scaleIn as dt, sidebarVariants as ft, slideInFromBottom as lt, slideInFromLeft as xt, slideInFromRight as st, slideInFromTop as ct, springConfig as Ct } from "./index68.js";
|
|
68
|
+
import { checkCollision as ut, constrainPosition as St, findFreePosition as Ft, hasCollision as ht } from "./index69.js";
|
|
69
|
+
import { applyDragDelta as It, applyResizeDelta as Dt, getGridCellSize as bt, pixelDeltaToGridDelta as vt, positionToGridArea as Tt, snapToGrid as Pt } from "./index70.js";
|
|
70
|
+
import { applyTheme as Lt, builtInThemes as Rt, getSystemTheme as kt } from "./index71.js";
|
|
71
|
+
import { FilesSidebarWidget as Gt, SearchSidebarWidget as wt, SettingsSidebarWidget as Mt, ShowcaseSidebarWidget as Nt, SidebarWidget as zt } from "./index72.js";
|
|
72
|
+
import { MetricsWidget as Ot } from "./index73.js";
|
|
73
|
+
import { TerminalWidget as Ht } from "./index74.js";
|
|
73
74
|
export {
|
|
74
75
|
i as ActivityBar,
|
|
75
76
|
pe as AnimatedBorderCard,
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
ke as ArrowRightLeft,
|
|
78
|
+
We as Bell,
|
|
78
79
|
c as BottomBar,
|
|
79
80
|
C as BottomBarItem,
|
|
80
|
-
|
|
81
|
+
Po as Breadcrumb,
|
|
81
82
|
Q as Button,
|
|
82
83
|
de as Card,
|
|
83
84
|
fe as CardContent,
|
|
@@ -85,171 +86,173 @@ export {
|
|
|
85
86
|
xe as CardFooter,
|
|
86
87
|
se as CardHeader,
|
|
87
88
|
ce as CardTitle,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
Ge as Check,
|
|
90
|
+
we as ChevronDown,
|
|
91
|
+
Me as ChevronRight,
|
|
92
|
+
ko as CodeFileIcon,
|
|
92
93
|
ne as CommandPalette,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
nr as CommandProvider,
|
|
95
|
+
Cr as ComponentRegistryProvider,
|
|
96
|
+
Wo as ConfigFileIcon,
|
|
96
97
|
q as ConfirmDialog,
|
|
97
|
-
|
|
98
|
+
Ne as Copy,
|
|
98
99
|
T as DECK_GRID_CONFIG,
|
|
99
|
-
|
|
100
|
+
Xo as DEFAULT_FLOE_CONFIG,
|
|
100
101
|
L as DeckCell,
|
|
101
102
|
P as DeckGrid,
|
|
102
|
-
|
|
103
|
+
br as DeckProvider,
|
|
103
104
|
H as DeckTopBar,
|
|
104
105
|
J as Dialog,
|
|
105
|
-
|
|
106
|
-
|
|
106
|
+
Fo as DirectoryTree,
|
|
107
|
+
Go as DocumentFileIcon,
|
|
107
108
|
_ as DropZonePreview,
|
|
108
109
|
oe as Dropdown,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
110
|
+
co as FileBrowser,
|
|
111
|
+
go as FileBrowserProvider,
|
|
112
|
+
Lo as FileBrowserToolbar,
|
|
113
|
+
vo as FileContextMenu,
|
|
114
|
+
Do as FileGridView,
|
|
115
|
+
wo as FileIcon,
|
|
116
|
+
yo as FileListView,
|
|
117
|
+
ze as Files,
|
|
118
|
+
Gt as FilesSidebarWidget,
|
|
118
119
|
$ as FloatingWindow,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
120
|
+
_o as FloeApp,
|
|
121
|
+
Zo as FloeConfigProvider,
|
|
122
|
+
Ho as FloeProvider,
|
|
123
|
+
Mo as FolderIcon,
|
|
124
|
+
No as FolderOpenIcon,
|
|
125
|
+
Ae as GitBranch,
|
|
126
|
+
Oe as Grid,
|
|
127
|
+
Ke as Grid3x3,
|
|
128
|
+
He as GripVertical,
|
|
129
|
+
zo as ImageFileIcon,
|
|
129
130
|
X as Input,
|
|
130
131
|
Ce as Interactive3DCard,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
132
|
+
to as Launchpad,
|
|
133
|
+
mo as LaunchpadGrid,
|
|
134
|
+
ao as LaunchpadItem,
|
|
135
|
+
xo as LaunchpadPagination,
|
|
136
|
+
fo as LaunchpadSearch,
|
|
137
|
+
Ve as LayoutDashboard,
|
|
138
|
+
rr as LayoutProvider,
|
|
138
139
|
O as LayoutSelector,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
140
|
+
_e as Loader2,
|
|
141
|
+
be as LoadingOverlay,
|
|
142
|
+
Ee as Maximize,
|
|
143
|
+
Ot as MetricsWidget,
|
|
144
|
+
Qe as Minus,
|
|
144
145
|
S as MobileTabBar,
|
|
145
|
-
|
|
146
|
+
Ue as Moon,
|
|
146
147
|
ge as MorphCard,
|
|
147
148
|
ue as NeonCard,
|
|
148
|
-
|
|
149
|
-
|
|
149
|
+
fr as NotificationContainer,
|
|
150
|
+
lr as NotificationProvider,
|
|
150
151
|
I as Panel,
|
|
151
152
|
D as PanelContent,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
b as PanelHeader,
|
|
154
|
+
Xe as Pencil,
|
|
155
|
+
Ze as Plus,
|
|
155
156
|
h as ResizeHandle,
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
je as Restore,
|
|
158
|
+
qe as Search,
|
|
159
|
+
wt as SearchSidebarWidget,
|
|
159
160
|
re as Select,
|
|
160
|
-
|
|
161
|
-
|
|
161
|
+
Je as Settings,
|
|
162
|
+
Mt as SettingsSidebarWidget,
|
|
162
163
|
r as Shell,
|
|
163
|
-
|
|
164
|
+
Nt as ShowcaseSidebarWidget,
|
|
164
165
|
n as Sidebar,
|
|
165
166
|
m as SidebarContent,
|
|
166
167
|
p as SidebarItem,
|
|
167
168
|
d as SidebarItemList,
|
|
168
169
|
f as SidebarSection,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
170
|
+
zt as SidebarWidget,
|
|
171
|
+
Te as Skeleton,
|
|
172
|
+
Pe as SkeletonCard,
|
|
173
|
+
Be as SkeletonList,
|
|
174
|
+
Le as SkeletonText,
|
|
175
|
+
Ie as SnakeLoader,
|
|
175
176
|
g as StatusIndicator,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
Ao as StyleFileIcon,
|
|
178
|
+
Ye as Sun,
|
|
179
|
+
Fe as TabPanel,
|
|
180
|
+
he as Tabs,
|
|
181
|
+
$e as Terminal,
|
|
182
|
+
Ht as TerminalWidget,
|
|
180
183
|
Z as Textarea,
|
|
181
|
-
|
|
184
|
+
Yo as ThemeProvider,
|
|
182
185
|
ie as Tooltip,
|
|
183
186
|
x as TopBar,
|
|
184
|
-
|
|
187
|
+
eo as Trash,
|
|
185
188
|
k as WidgetFrame,
|
|
186
189
|
M as WidgetPalette,
|
|
187
|
-
|
|
190
|
+
hr as WidgetRegistryProvider,
|
|
188
191
|
G as WidgetResizeHandle,
|
|
189
192
|
z as WidgetTypeSwitcher,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
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
|
-
|
|
193
|
+
oo as X,
|
|
194
|
+
It as applyDragDelta,
|
|
195
|
+
Dt as applyResizeDelta,
|
|
196
|
+
Lt as applyTheme,
|
|
197
|
+
Rt as builtInThemes,
|
|
198
|
+
ut as checkCollision,
|
|
199
|
+
Er as clearAll,
|
|
200
|
+
Kr as cn,
|
|
201
|
+
St as constrainPosition,
|
|
202
|
+
mr as createCommandService,
|
|
203
|
+
gr as createComponentRegistry,
|
|
204
|
+
vr as createDeckService,
|
|
205
|
+
tr as createLayoutService,
|
|
206
|
+
xr as createNotificationService,
|
|
207
|
+
Qo as createSimpleContext,
|
|
208
|
+
$o as createThemeService,
|
|
209
|
+
yr as createWidgetRegistry,
|
|
210
|
+
Qr as debouncedSave,
|
|
211
|
+
Vr as deferNonBlocking,
|
|
212
|
+
rt as duration,
|
|
213
|
+
tt as easing,
|
|
214
|
+
it as fadeIn,
|
|
215
|
+
Ft as findFreePosition,
|
|
216
|
+
qr as formatKeybind,
|
|
217
|
+
Oo as getFileIcon,
|
|
218
|
+
bt as getGridCellSize,
|
|
219
|
+
kt as getSystemTheme,
|
|
220
|
+
ht as hasCollision,
|
|
221
|
+
at as listContainer,
|
|
222
|
+
nt as listItem,
|
|
223
|
+
Ur as load,
|
|
224
|
+
et as lockBodyStyle,
|
|
225
|
+
Jr as matchKeybind,
|
|
226
|
+
mt as panelResize,
|
|
227
|
+
Yr as parseKeybind,
|
|
228
|
+
vt as pixelDeltaToGridDelta,
|
|
229
|
+
pt as popIn,
|
|
230
|
+
Tt as positionToGridArea,
|
|
231
|
+
Xr as remove,
|
|
232
|
+
Zr as save,
|
|
233
|
+
dt as scaleIn,
|
|
234
|
+
ft as sidebarVariants,
|
|
235
|
+
lt as slideInFromBottom,
|
|
236
|
+
xt as slideInFromLeft,
|
|
237
|
+
st as slideInFromRight,
|
|
238
|
+
ct as slideInFromTop,
|
|
239
|
+
Pt as snapToGrid,
|
|
240
|
+
Ct as springConfig,
|
|
241
|
+
pr as useCommand,
|
|
242
|
+
ur as useComponentContextFactory,
|
|
243
|
+
Sr as useComponentRegistry,
|
|
244
|
+
Rr as useDebounce,
|
|
245
|
+
Tr as useDeck,
|
|
246
|
+
Ar as useDeckDrag,
|
|
247
|
+
uo as useFileBrowser,
|
|
248
|
+
jo as useFloeConfig,
|
|
249
|
+
wr as useKeybind,
|
|
250
|
+
ir as useLayout,
|
|
251
|
+
Br as useMediaQuery,
|
|
252
|
+
sr as useNotification,
|
|
253
|
+
Nr as usePersisted,
|
|
254
|
+
Wr as useResizeObserver,
|
|
255
|
+
qo as useResolvedFloeConfig,
|
|
256
|
+
er as useTheme,
|
|
257
|
+
Ir as useWidgetRegistry
|
|
255
258
|
};
|
package/dist/index10.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { template as f, insert as d, createComponent as s, effect as I, className as y, setStyleProperty as D } from "solid-js/web";
|
|
2
2
|
import { createMemo as o, Show as m, For as S } from "solid-js";
|
|
3
|
-
import { cn as O } from "./
|
|
4
|
-
import { useDeck as P } from "./
|
|
5
|
-
import { hasCollision as R } from "./
|
|
3
|
+
import { cn as O } from "./index63.js";
|
|
4
|
+
import { useDeck as P } from "./index56.js";
|
|
5
|
+
import { hasCollision as R } from "./index69.js";
|
|
6
6
|
import { DeckCell as z } from "./index11.js";
|
|
7
7
|
import { DropZonePreview as C } from "./index18.js";
|
|
8
8
|
var G = /* @__PURE__ */ f('<div class="absolute inset-0 pointer-events-none z-0 rounded"style="padding:inherit;background-origin:content-box;background-clip:content-box;background-image:linear-gradient(to right, color-mix(in srgb, var(--border) 15%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--border) 15%, transparent) 1px, transparent 1px) ;background-size:calc((100% - 92px) / 24 + 4px) 44px;background-position:0 0">'), _ = /* @__PURE__ */ f('<div data-grid-cols=24 data-row-height=40 data-gap=4 style="scrollbar-gutter:stable;grid-template-columns:repeat(24, 1fr);grid-auto-rows:40px;gap:4px">');
|
package/dist/index11.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { template as y, insert as a, createComponent as d, Dynamic as z, effect as f, className as v, style as R, setAttribute as W } from "solid-js/web";
|
|
2
2
|
import { createMemo as o, Show as k } from "solid-js";
|
|
3
|
-
import { cn as w } from "./
|
|
4
|
-
import { useDeck as C } from "./
|
|
5
|
-
import { useWidgetRegistry as $ } from "./
|
|
6
|
-
import { positionToGridArea as M } from "./
|
|
3
|
+
import { cn as w } from "./index63.js";
|
|
4
|
+
import { useDeck as C } from "./index56.js";
|
|
5
|
+
import { useWidgetRegistry as $ } from "./index55.js";
|
|
6
|
+
import { positionToGridArea as M } from "./index70.js";
|
|
7
7
|
import { WidgetFrame as A } from "./index12.js";
|
|
8
8
|
var h = /* @__PURE__ */ y("<div>"), _ = /* @__PURE__ */ y('<div class="h-full flex items-center justify-center text-muted-foreground text-xs"><span>Widget: ');
|
|
9
9
|
function N(e) {
|
package/dist/index12.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { delegateEvents as h, template as c, insert as i, createComponent as e, effect as v, className as x } from "solid-js/web";
|
|
2
2
|
import { Show as l } from "solid-js";
|
|
3
|
-
import { cn as $ } from "./
|
|
4
|
-
import { useDeck as _ } from "./
|
|
5
|
-
import { GripVertical as b, X as k } from "./
|
|
3
|
+
import { cn as $ } from "./index63.js";
|
|
4
|
+
import { useDeck as _ } from "./index56.js";
|
|
5
|
+
import { GripVertical as b, X as k } from "./index31.js";
|
|
6
6
|
import { WidgetResizeHandle as d } from "./index13.js";
|
|
7
7
|
import { WidgetTypeSwitcher as C } from "./index15.js";
|
|
8
8
|
var D = /* @__PURE__ */ c("<div class=text-muted-foreground/50>"), W = /* @__PURE__ */ c('<button class="p-0.5 rounded hover:bg-destructive/10 text-muted-foreground hover:text-destructive transition-colors cursor-pointer pointer-events-auto"title="Remove widget">'), y = /* @__PURE__ */ c('<div class="h-full flex flex-col"><div><span class="flex-1 text-xs font-medium text-foreground truncate"></span></div><div class="flex-1 min-h-0 overflow-auto">');
|
package/dist/index13.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { delegateEvents as Y, template as X, effect as L, className as M, use as q } from "solid-js/web";
|
|
2
2
|
import { createSignal as H, onCleanup as N } from "solid-js";
|
|
3
|
-
import { cn as O } from "./
|
|
4
|
-
import { useDeck as T } from "./
|
|
5
|
-
import { applyResizeDelta as U } from "./
|
|
3
|
+
import { cn as O } from "./index63.js";
|
|
4
|
+
import { useDeck as T } from "./index56.js";
|
|
5
|
+
import { applyResizeDelta as U } from "./index70.js";
|
|
6
6
|
import { DECK_GRID_CONFIG as k } from "./index10.js";
|
|
7
|
-
import { lockBodyStyle as x } from "./
|
|
7
|
+
import { lockBodyStyle as x } from "./index67.js";
|
|
8
8
|
var K = /* @__PURE__ */ X("<div style=touch-action:none>");
|
|
9
9
|
const j = {
|
|
10
10
|
n: "top-0 left-2 right-2 h-2 cursor-ns-resize",
|
package/dist/index14.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { delegateEvents as O, createComponent as e, template as l, insert as r, effect as P, className as j } from "solid-js/web";
|
|
2
2
|
import { createSignal as k, Show as n, For as y } from "solid-js";
|
|
3
|
-
import { cn as f } from "./
|
|
4
|
-
import { useDeck as D } from "./
|
|
5
|
-
import { useWidgetRegistry as F } from "./
|
|
6
|
-
import { Plus as T, X, ChevronRight as q } from "./
|
|
3
|
+
import { cn as f } from "./index63.js";
|
|
4
|
+
import { useDeck as D } from "./index56.js";
|
|
5
|
+
import { useWidgetRegistry as F } from "./index55.js";
|
|
6
|
+
import { Plus as T, X, ChevronRight as q } from "./index31.js";
|
|
7
7
|
import { Button as G } from "./index19.js";
|
|
8
|
-
import { deferNonBlocking as H } from "./
|
|
8
|
+
import { deferNonBlocking as H } from "./index64.js";
|
|
9
9
|
var J = /* @__PURE__ */ l('<div class="text-center text-muted-foreground text-sm py-8">No widgets registered'), K = /* @__PURE__ */ l('<div><div class="flex items-center justify-between p-3 border-b border-border"><h2 class="text-sm font-semibold">Add Widget</h2><button class="p-1 rounded hover:bg-muted transition-colors cursor-pointer"></button></div><div class="p-2 overflow-y-auto h-[calc(100%-48px)]">'), L = /* @__PURE__ */ l('<div class="fixed inset-0 bg-black/20 z-40">'), Q = /* @__PURE__ */ l('<div class="ml-4 mt-1 space-y-1">'), U = /* @__PURE__ */ l('<div class=mb-2><button class="w-full flex items-center gap-2 p-2 rounded hover:bg-muted transition-colors text-left cursor-pointer"><span class="text-sm font-medium"></span><span class="ml-auto text-xs text-muted-foreground">'), V = /* @__PURE__ */ l('<button class="w-full flex items-center gap-2 p-2 rounded hover:bg-muted transition-colors text-left cursor-pointer"><span class=text-sm>'), Y = /* @__PURE__ */ l('<div class="w-4 h-4">');
|
|
10
10
|
function ie(C) {
|
|
11
11
|
const p = D(), b = F(), [d, s] = k(!1), [W, z] = k(null), S = [{
|
package/dist/index15.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { delegateEvents as E, createComponent as o, template as s, insert as l, effect as v, className as x, Portal as R, setStyleProperty as w, use as T } from "solid-js/web";
|
|
2
2
|
import { createSignal as y, createEffect as W, onCleanup as I, Show as p, For as L } from "solid-js";
|
|
3
|
-
import { cn as m } from "./
|
|
4
|
-
import { useDeck as N } from "./
|
|
5
|
-
import { useWidgetRegistry as z } from "./
|
|
6
|
-
import { deferNonBlocking as A } from "./
|
|
7
|
-
import { ArrowRightLeft as B, ChevronDown as M } from "./
|
|
3
|
+
import { cn as m } from "./index63.js";
|
|
4
|
+
import { useDeck as N } from "./index56.js";
|
|
5
|
+
import { useWidgetRegistry as z } from "./index55.js";
|
|
6
|
+
import { deferNonBlocking as A } from "./index64.js";
|
|
7
|
+
import { ArrowRightLeft as B, ChevronDown as M } from "./index31.js";
|
|
8
8
|
var O = /* @__PURE__ */ s('<button title="Switch widget type">'), F = /* @__PURE__ */ s('<div class="fixed inset-0 z-[9998]">'), K = /* @__PURE__ */ s('<div class="px-2 py-3 text-xs text-muted-foreground text-center">No other widget types available'), j = /* @__PURE__ */ s('<div><div class=p-1><div class="px-2 py-1.5 text-xs text-muted-foreground font-medium">Switch to'), q = /* @__PURE__ */ s('<button class="w-full flex items-center gap-2 px-2 py-1.5 rounded hover:bg-muted transition-colors text-left cursor-pointer"><span class=text-xs>'), G = /* @__PURE__ */ s('<div class="w-4 h-4">');
|
|
9
9
|
function Z(f) {
|
|
10
10
|
const $ = N(), b = z(), [c, d] = y(!1), [g, k] = y({
|
package/dist/index16.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { delegateEvents as j, template as s, insert as o, createComponent as a, memo as q, effect as w, className as C } from "solid-js/web";
|
|
2
2
|
import { createSignal as R, Show as v, For as G } from "solid-js";
|
|
3
|
-
import { cn as b } from "./
|
|
4
|
-
import { useDeck as H } from "./
|
|
5
|
-
import { deferNonBlocking as g } from "./
|
|
6
|
-
import { ChevronDown as J, Check as K, Copy as M, Pencil as Q, Trash as U } from "./
|
|
3
|
+
import { cn as b } from "./index63.js";
|
|
4
|
+
import { useDeck as H } from "./index56.js";
|
|
5
|
+
import { deferNonBlocking as g } from "./index64.js";
|
|
6
|
+
import { ChevronDown as J, Check as K, Copy as M, Pencil as Q, Trash as U } from "./index31.js";
|
|
7
7
|
var W = /* @__PURE__ */ s('<div class="absolute top-full left-0 mt-1 w-64 bg-popover border border-border rounded-md shadow-lg z-50 overflow-hidden"><div class="max-h-64 overflow-y-auto py-1"></div><div class="border-t border-border px-2 py-1.5"><button class="w-full text-left text-xs text-primary hover:underline cursor-pointer">+ New Layout'), X = /* @__PURE__ */ s('<div class="fixed inset-0 z-40">'), Y = /* @__PURE__ */ s('<div><button><span class="truncate max-w-[120px]">'), Z = /* @__PURE__ */ s('<span class="flex-1 text-xs truncate">'), ee = /* @__PURE__ */ s('<button class="p-1 rounded hover:bg-background transition-colors cursor-pointer"title=Rename>'), te = /* @__PURE__ */ s('<button class="p-1 rounded hover:bg-destructive/10 transition-colors cursor-pointer"title=Delete>'), re = /* @__PURE__ */ s('<div class="flex items-center gap-0.5 opacity-0 group-hover:opacity-100 transition-opacity"><button class="p-1 rounded hover:bg-background transition-colors cursor-pointer"title=Duplicate>'), ne = /* @__PURE__ */ s('<div><div class="w-4 h-4 flex-shrink-0">'), oe = /* @__PURE__ */ s('<input type=text class="flex-1 text-xs bg-background border border-border rounded px-1.5 py-0.5"autofocus>'), le = /* @__PURE__ */ s('<span class="ml-1 text-[10px] text-muted-foreground">(preset)');
|
|
8
8
|
function pe(N) {
|
|
9
9
|
const u = H(), [$, d] = R(!1), [I, _] = R(null), [P, h] = R(""), L = () => u.activeLayout(), D = () => u.layouts(), T = (t) => {
|
package/dist/index17.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { delegateEvents as S, template as d, insert as i, createComponent as t, Portal as B, effect as b, className as y, setStyleProperty as k } from "solid-js/web";
|
|
2
2
|
import { createSignal as $, createEffect as L, onCleanup as R, Show as a, For as A } from "solid-js";
|
|
3
|
-
import { cn as h } from "./
|
|
4
|
-
import { useDeck as N } from "./
|
|
5
|
-
import { useLayout as T } from "./
|
|
6
|
-
import { useWidgetRegistry as F } from "./
|
|
7
|
-
import { deferNonBlocking as I } from "./
|
|
3
|
+
import { cn as h } from "./index63.js";
|
|
4
|
+
import { useDeck as N } from "./index56.js";
|
|
5
|
+
import { useLayout as T } from "./index51.js";
|
|
6
|
+
import { useWidgetRegistry as F } from "./index55.js";
|
|
7
|
+
import { deferNonBlocking as I } from "./index64.js";
|
|
8
8
|
import { LayoutSelector as K } from "./index16.js";
|
|
9
|
-
import { Plus as j, ChevronDown as q, Check as G, Pencil as H } from "./
|
|
9
|
+
import { Plus as j, ChevronDown as q, Check as G, Pencil as H } from "./index31.js";
|
|
10
10
|
import { Button as C } from "./index19.js";
|
|
11
11
|
var J = /* @__PURE__ */ d('<div class="fixed inset-0 z-[9998]">'), O = /* @__PURE__ */ d('<div class="px-3 py-4 text-xs text-muted-foreground text-center">No widgets available'), Q = /* @__PURE__ */ d("<div><div class=p-1>"), U = /* @__PURE__ */ d("<div><div class=flex-1>"), V = /* @__PURE__ */ d('<button class="w-full flex items-center gap-2 px-3 py-2 rounded hover:bg-muted transition-colors text-left cursor-pointer"><span class=text-xs>'), X = /* @__PURE__ */ d('<div class="w-4 h-4">');
|
|
12
12
|
function ae(v) {
|
package/dist/index18.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { template as v, effect as b, className as i, setStyleProperty as m } from "solid-js/web";
|
|
2
|
-
import { cn as n } from "./
|
|
3
|
-
import { positionToGridArea as f } from "./
|
|
2
|
+
import { cn as n } from "./index63.js";
|
|
3
|
+
import { positionToGridArea as f } from "./index70.js";
|
|
4
4
|
var g = /* @__PURE__ */ v("<div><div>");
|
|
5
5
|
function _(a) {
|
|
6
6
|
const s = () => f(a.position);
|
package/dist/index19.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { template as c, spread as d, mergeProps as l, insert as n, createComponent as t, memo as u, Dynamic as m } from "solid-js/web";
|
|
2
2
|
import { splitProps as g, Show as p } from "solid-js";
|
|
3
|
-
import { cn as s } from "./
|
|
4
|
-
import { Loader2 as h } from "./
|
|
3
|
+
import { cn as s } from "./index63.js";
|
|
4
|
+
import { Loader2 as h } from "./index31.js";
|
|
5
5
|
var b = /* @__PURE__ */ c("<button type=button>");
|
|
6
6
|
const f = {
|
|
7
7
|
default: "bg-primary text-primary-foreground shadow-sm hover:bg-primary/90 active:scale-[0.98]",
|