@floegence/floe-webapp-core 0.4.0 → 0.6.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/Dialog.d.ts +3 -0
- package/dist/components/ui/DirectoryPicker.d.ts +31 -0
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/index.js +193 -191
- 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 +8 -5
- 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 +362 -81
- package/dist/index3.js +2 -2
- package/dist/index30.js +87 -37
- package/dist/index31.js +37 -66
- package/dist/index32.js +69 -278
- package/dist/index33.js +278 -152
- package/dist/index34.js +147 -24
- package/dist/index35.js +26 -45
- package/dist/index36.js +45 -10
- package/dist/index37.js +10 -27
- package/dist/index38.js +27 -159
- package/dist/index39.js +156 -228
- package/dist/index4.js +1 -1
- package/dist/index40.js +228 -125
- package/dist/index41.js +110 -176
- package/dist/index42.js +149 -122
- package/dist/index43.js +161 -183
- package/dist/index44.js +185 -145
- package/dist/index45.js +143 -114
- package/dist/index46.js +119 -47
- package/dist/index47.js +50 -48
- package/dist/index48.js +40 -30
- package/dist/index49.js +33 -44
- package/dist/index5.js +4 -4
- package/dist/index50.js +49 -25
- package/dist/index51.js +21 -169
- package/dist/index52.js +169 -36
- package/dist/index53.js +38 -64
- package/dist/index54.js +63 -93
- package/dist/index55.js +86 -111
- package/dist/index56.js +114 -131
- package/dist/index57.js +131 -32
- package/dist/index58.js +29 -425
- package/dist/index59.js +433 -36
- package/dist/index6.js +2 -2
- package/dist/index60.js +31 -12
- package/dist/index61.js +19 -13
- package/dist/index62.js +13 -10
- package/dist/index63.js +10 -16
- package/dist/index64.js +16 -10
- package/dist/index65.js +10 -8
- package/dist/index66.js +8 -61
- package/dist/index67.js +61 -5
- package/dist/index68.js +5 -11
- package/dist/index69.js +10 -25
- package/dist/index7.js +2 -2
- package/dist/index70.js +24 -30
- package/dist/index71.js +31 -90
- package/dist/index72.js +90 -26
- package/dist/index73.js +24 -43
- package/dist/index74.js +45 -13
- package/dist/index75.js +14 -35
- package/dist/index76.js +33 -62
- package/dist/index77.js +61 -81
- package/dist/index78.js +84 -14
- package/dist/index79.js +12 -2261
- package/dist/index8.js +2 -2
- package/dist/index80.js +2262 -6
- package/dist/index81.js +7 -39
- package/dist/index82.js +42 -0
- package/dist/index9.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index18.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 "./index68.js";
|
|
4
|
+
import { useDeck as N } from "./index59.js";
|
|
5
|
+
import { useLayout as T } from "./index54.js";
|
|
6
|
+
import { useWidgetRegistry as F } from "./index58.js";
|
|
7
|
+
import { deferNonBlocking as I } from "./index69.js";
|
|
8
8
|
import { LayoutSelector as K } from "./index17.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 "./index33.js";
|
|
10
10
|
import { Button as C } from "./index20.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/index19.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 "./index68.js";
|
|
3
|
+
import { positionToGridArea as f } from "./index74.js";
|
|
4
4
|
var g = /* @__PURE__ */ v("<div><div>");
|
|
5
5
|
function _(a) {
|
|
6
6
|
const s = () => f(a.position);
|
package/dist/index2.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { delegateEvents as z, template as f, insert as a, createComponent as n, Dynamic as w, memo as v, effect as C, className as T, setStyleProperty as O } from "solid-js/web";
|
|
2
2
|
import { createSignal as F, createEffect as h, createMemo as $, For as x, Show as b } from "solid-js";
|
|
3
|
-
import { useLayout as R } from "./
|
|
4
|
-
import { useResolvedFloeConfig as H } from "./
|
|
5
|
-
import { useMediaQuery as P } from "./
|
|
6
|
-
import { cn as A } from "./
|
|
7
|
-
import { useComponentRegistry as W } from "./
|
|
3
|
+
import { useLayout as R } from "./index54.js";
|
|
4
|
+
import { useResolvedFloeConfig as H } from "./index52.js";
|
|
5
|
+
import { useMediaQuery as P } from "./index62.js";
|
|
6
|
+
import { cn as A } from "./index68.js";
|
|
7
|
+
import { useComponentRegistry as W } from "./index57.js";
|
|
8
8
|
import { Sidebar as E } from "./index4.js";
|
|
9
9
|
import { TopBar as Q } from "./index5.js";
|
|
10
10
|
import { BottomBar as D } from "./index6.js";
|
|
11
11
|
import { MobileTabBar as L } from "./index7.js";
|
|
12
12
|
import { ActivityBar as N } from "./index3.js";
|
|
13
13
|
import { ResizeHandle as _ } from "./index8.js";
|
|
14
|
-
import { resolveMobileTabActiveId as j, resolveMobileTabSelect as q } from "./
|
|
14
|
+
import { resolveMobileTabActiveId as j, resolveMobileTabSelect as q } from "./index81.js";
|
|
15
15
|
var y = /* @__PURE__ */ f('<div class="flex items-center gap-2">'), G = /* @__PURE__ */ f('<div class="absolute inset-0 z-40 bg-black/30 cursor-pointer">'), J = /* @__PURE__ */ f('<div><div class="h-full overflow-auto overscroll-contain">'), K = /* @__PURE__ */ f('<div class="relative shrink-0 border-t border-border bg-terminal-background overflow-hidden">'), U = /* @__PURE__ */ f('<div><div class="flex-1 min-h-0 flex overflow-hidden relative"><div class="flex-1 min-w-0 flex flex-col overflow-hidden"><main class="flex-1 min-h-0 overflow-auto overscroll-contain">');
|
|
16
16
|
function de(l) {
|
|
17
17
|
const r = R(), M = H(), d = P(M.config.layout.mobileQuery), [p, g] = F(!1), s = (() => {
|
package/dist/index20.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 "./index68.js";
|
|
4
|
+
import { Loader2 as h } from "./index33.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]",
|
package/dist/index21.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { template as n, insert as o, createComponent as s, spread as c, mergeProps as d } from "solid-js/web";
|
|
2
2
|
import { splitProps as g, Show as i } from "solid-js";
|
|
3
|
-
import { cn as p } from "./
|
|
3
|
+
import { cn as p } from "./index68.js";
|
|
4
4
|
var m = /* @__PURE__ */ n('<div class="absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none">'), h = /* @__PURE__ */ n('<div class="absolute right-2.5 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none">'), f = /* @__PURE__ */ n('<p class="mt-1 text-[11px] text-error">'), x = /* @__PURE__ */ n("<div class=relative><input>"), b = /* @__PURE__ */ n("<div><textarea>");
|
|
5
5
|
const v = {
|
|
6
6
|
sm: "h-7 text-xs px-2",
|
package/dist/index22.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { delegateEvents as E, createComponent as o, Portal as _, template as c, insert as l, effect as b, setAttribute as v, className as D, use as T } from "solid-js/web";
|
|
2
2
|
import { createUniqueId as O, createEffect as $, onCleanup as x, Show as s } from "solid-js";
|
|
3
|
-
import { cn as L } from "./
|
|
3
|
+
import { cn as L } from "./index68.js";
|
|
4
4
|
import { Button as y } from "./index20.js";
|
|
5
|
-
import { X as z } from "./
|
|
6
|
-
import { lockBodyStyle as F } from "./
|
|
7
|
-
import { useResolvedFloeConfig as I } from "./
|
|
5
|
+
import { X as z } from "./index33.js";
|
|
6
|
+
import { lockBodyStyle as F } from "./index71.js";
|
|
7
|
+
import { useResolvedFloeConfig as I } from "./index52.js";
|
|
8
8
|
var j = /* @__PURE__ */ c('<div class="fixed inset-0 z-50 bg-background/80 backdrop-blur-sm animate-in fade-in cursor-pointer">'), H = /* @__PURE__ */ c('<h2 class="text-sm font-semibold">'), M = /* @__PURE__ */ c('<p class="mt-0.5 text-xs text-muted-foreground">'), S = /* @__PURE__ */ c('<div class="flex items-start justify-between p-3 border-b border-border"><div>'), q = /* @__PURE__ */ c('<div class="flex items-center justify-end gap-2 p-3 border-t border-border">'), A = /* @__PURE__ */ c('<div role=dialog aria-modal=true tabindex=-1><div class="flex-1 overflow-auto p-3">'), B = /* @__PURE__ */ c("<div>");
|
|
9
9
|
function k(e) {
|
|
10
10
|
const a = ["a[href]", "button:not([disabled])", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])", '[tabindex]:not([tabindex="-1"])', '[contenteditable="true"]'].join(",");
|
|
@@ -132,6 +132,9 @@ function Q(e) {
|
|
|
132
132
|
return [o(y, {
|
|
133
133
|
variant: "ghost",
|
|
134
134
|
onClick: () => e.onOpenChange(!1),
|
|
135
|
+
get disabled() {
|
|
136
|
+
return e.loading;
|
|
137
|
+
},
|
|
135
138
|
get children() {
|
|
136
139
|
return e.cancelText ?? a.config.strings.confirmDialog.cancel;
|
|
137
140
|
}
|
|
@@ -151,7 +154,7 @@ function Q(e) {
|
|
|
151
154
|
})];
|
|
152
155
|
},
|
|
153
156
|
get children() {
|
|
154
|
-
return B();
|
|
157
|
+
return e.children ?? B();
|
|
155
158
|
}
|
|
156
159
|
});
|
|
157
160
|
}
|
package/dist/index23.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { delegateEvents as Me, createComponent as l, Portal as Se, template as O, insert as b, effect as u, setAttribute as ae, addEventListener as z, className as w, memo as Ie, setStyleProperty as D, use as $e } from "solid-js/web";
|
|
2
2
|
import { createUniqueId as Pe, createSignal as I, onMount as Ce, onCleanup as de, createEffect as he, Show as P } from "solid-js";
|
|
3
|
-
import { cn as j } from "./
|
|
3
|
+
import { cn as j } from "./index68.js";
|
|
4
4
|
import { Button as ce } from "./index20.js";
|
|
5
|
-
import { Restore as Ee, Maximize as We, X as _e } from "./
|
|
6
|
-
import { lockBodyStyle as He } from "./
|
|
5
|
+
import { Restore as Ee, Maximize as We, X as _e } from "./index33.js";
|
|
6
|
+
import { lockBodyStyle as He } from "./index71.js";
|
|
7
7
|
var Xe = /* @__PURE__ */ O('<h2 class="text-sm font-medium truncate select-none">'), De = /* @__PURE__ */ O('<div class="flex items-center justify-end gap-2 p-3 border-t border-border">'), y = /* @__PURE__ */ O("<div style=touch-action:none>"), Le = /* @__PURE__ */ O('<div role=dialog aria-modal=true><div style=touch-action:none><div class="flex-1 min-w-0"></div><div class="flex items-center gap-0.5 -mr-1"></div></div><div class="flex-1 overflow-auto p-3">');
|
|
8
8
|
function Te(i) {
|
|
9
9
|
const G = () => i.resizable ?? !0, K = () => i.draggable ?? !0, L = () => i.minSize ?? {
|
package/dist/index24.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { delegateEvents as k, template as f, insert as s, createComponent as d, effect as b, className as g, use as x } from "solid-js/web";
|
|
2
2
|
import { createSignal as _, createEffect as p, onCleanup as C, Show as h, For as S } from "solid-js";
|
|
3
|
-
import { cn as v } from "./
|
|
4
|
-
import { deferNonBlocking as E } from "./
|
|
5
|
-
import { ChevronDown as L, Check as j } from "./
|
|
3
|
+
import { cn as v } from "./index68.js";
|
|
4
|
+
import { deferNonBlocking as E } from "./index69.js";
|
|
5
|
+
import { ChevronDown as L, Check as j } from "./index33.js";
|
|
6
6
|
var D = /* @__PURE__ */ f("<div role=menu>"), O = /* @__PURE__ */ f("<div><div class=cursor-pointer>"), N = /* @__PURE__ */ f('<div class="my-1 h-px bg-border"role=separator>'), R = /* @__PURE__ */ f('<button type=button role=menuitem><span class="w-3.5 h-3.5 flex items-center justify-center"></span><span class="flex-1 text-left">'), z = /* @__PURE__ */ f('<span class="w-3.5 h-3.5 flex items-center justify-center">'), B = /* @__PURE__ */ f("<button type=button><span>");
|
|
7
7
|
function F(e) {
|
|
8
8
|
const [o, c] = _(!1);
|
package/dist/index25.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { delegateEvents as x, template as c, insert as a, createComponent as y, effect as g, className as p } from "solid-js/web";
|
|
2
2
|
import { createSignal as w, onCleanup as $, Show as T } from "solid-js";
|
|
3
|
-
import { cn as m } from "./
|
|
3
|
+
import { cn as m } from "./index68.js";
|
|
4
4
|
var S = /* @__PURE__ */ c("<div role=tooltip><div>"), C = /* @__PURE__ */ c('<div class="relative inline-block">');
|
|
5
5
|
function L(r) {
|
|
6
6
|
const [b, n] = w(!1);
|
package/dist/index26.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { delegateEvents as M, createComponent as i, Portal as O, template as c, insert as l, use as L, Dynamic as z, effect as y, className as C, setAttribute as F } from "solid-js/web";
|
|
2
2
|
import { createSignal as I, createEffect as w, onCleanup as S, createMemo as K, Show as g, For as D } from "solid-js";
|
|
3
|
-
import { cn as E } from "./
|
|
4
|
-
import { useCommand as R } from "./
|
|
5
|
-
import { Search as j } from "./
|
|
6
|
-
import { lockBodyStyle as B } from "./
|
|
7
|
-
import { useResolvedFloeConfig as N } from "./
|
|
3
|
+
import { cn as E } from "./index68.js";
|
|
4
|
+
import { useCommand as R } from "./index55.js";
|
|
5
|
+
import { Search as j } from "./index33.js";
|
|
6
|
+
import { lockBodyStyle as B } from "./index71.js";
|
|
7
|
+
import { useResolvedFloeConfig as N } from "./index52.js";
|
|
8
8
|
var T = /* @__PURE__ */ c('<div class="fixed inset-0 z-50 bg-background/60 backdrop-blur-sm animate-in fade-in">'), U = /* @__PURE__ */ c('<div><div class="flex items-center gap-3 px-4 pt-1 border-b border-border"><input type=text><kbd class="text-xs text-muted-foreground px-1.5 py-0.5 rounded bg-muted font-mono"></kbd></div><div class="max-h-80 overflow-y-auto py-2">'), q = /* @__PURE__ */ c('<div class="px-4 py-8 text-center text-sm text-muted-foreground">'), G = /* @__PURE__ */ c('<div><div class="px-4 py-1 text-xs font-semibold text-muted-foreground uppercase tracking-wider">'), H = /* @__PURE__ */ c('<span class="w-5 h-5 flex items-center justify-center text-muted-foreground">'), J = /* @__PURE__ */ c('<span class="ml-2 text-muted-foreground text-xs">'), Q = /* @__PURE__ */ c('<kbd class="text-xs text-muted-foreground px-1.5 py-0.5 rounded bg-muted font-mono">'), V = /* @__PURE__ */ c('<button type=button><div class="flex-1 text-left"><span>');
|
|
9
9
|
function ne() {
|
|
10
10
|
const t = R(), $ = N();
|
package/dist/index27.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { delegateEvents as R, template as v, spread as m, mergeProps as h, insert as i, effect as A, className as E, memo as H, setStyleProperty as L, use as j } from "solid-js/web";
|
|
2
2
|
import { splitProps as b, createSignal as F, onCleanup as q } from "solid-js";
|
|
3
|
-
import { cn as p } from "./
|
|
3
|
+
import { cn as p } from "./index68.js";
|
|
4
4
|
var W = /* @__PURE__ */ v('<div style="background-size:200% 200%;animation:gradient-shift 3s ease infinite">'), D = /* @__PURE__ */ v('<div class="absolute inset-[1px] rounded-[7px] bg-card">'), G = /* @__PURE__ */ v('<div class="pointer-events-none absolute inset-0 opacity-0 transition-opacity duration-300 group-hover:opacity-100">'), N = /* @__PURE__ */ v('<div class="absolute inset-0 -translate-x-full animate-[shimmer_2s_infinite] bg-gradient-to-r from-transparent via-white/10 to-transparent">'), Z = /* @__PURE__ */ v("<div><div>"), T = /* @__PURE__ */ v("<div>"), J = /* @__PURE__ */ v("<h3>"), K = /* @__PURE__ */ v("<p>"), O = /* @__PURE__ */ v('<div><div class="relative z-10"style=transform:translateZ(20px)>'), Q = /* @__PURE__ */ v('<div class="pointer-events-none absolute inset-0 z-20 opacity-0 transition-opacity duration-300">'), U = /* @__PURE__ */ v('<div><div class="absolute inset-0"style="background:conic-gradient(from 0deg, var(--primary), var(--accent), var(--secondary), var(--primary))"></div><div class="relative rounded-[10px] bg-card h-full">'), V = /* @__PURE__ */ v('<div><div class="absolute inset-0 -z-10 overflow-hidden"><div class="absolute -top-1/2 -left-1/2 w-full h-full rounded-full bg-primary/20"style="animation:morph 8s ease-in-out infinite;filter:blur(40px)"></div><div class="absolute -bottom-1/2 -right-1/2 w-full h-full rounded-full bg-accent/20"style="animation:morph 8s ease-in-out infinite reverse;filter:blur(40px)"></div></div><div class="relative z-10">');
|
|
5
5
|
function ne(l) {
|
|
6
6
|
const [e, o] = b(l, ["variant", "enableTilt", "gradientColors", "glowColor", "class", "children", "style"]), t = () => e.variant ?? "default", [d, g] = F({});
|
package/dist/index28.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { delegateEvents as J, template as v, spread as T, mergeProps as O, insert as a, createComponent as c, effect as b, className as g, setAttribute as y, memo as K, use as Q } from "solid-js/web";
|
|
2
2
|
import { splitProps as B, createSignal as $, createEffect as z, Show as m, For as U, onCleanup as V } from "solid-js";
|
|
3
|
-
import { cn as f } from "./
|
|
4
|
-
import { deferAfterPaint as _ } from "./
|
|
5
|
-
import { X as Y, Plus as Z, ChevronRight as ee } from "./
|
|
3
|
+
import { cn as f } from "./index68.js";
|
|
4
|
+
import { deferAfterPaint as _ } from "./index69.js";
|
|
5
|
+
import { X as Y, Plus as Z, ChevronRight as ee } from "./index33.js";
|
|
6
6
|
var re = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg width=24 height=24 viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="m15 18-6-6 6-6">'), te = /* @__PURE__ */ v('<button type=button aria-label="Scroll left">'), oe = /* @__PURE__ */ v('<button type=button aria-label="Add new tab">'), ne = /* @__PURE__ */ v('<button type=button aria-label="Scroll right">'), le = /* @__PURE__ */ v("<div><div>"), se = /* @__PURE__ */ v("<span class=flex-shrink-0>"), de = /* @__PURE__ */ v("<button type=button>"), ie = /* @__PURE__ */ v('<div role=tab><span class="truncate max-w-32">'), ae = /* @__PURE__ */ v("<div role=tabpanel>");
|
|
7
7
|
const ce = (p) => (() => {
|
|
8
8
|
var r = re();
|