@floegence/floe-webapp-core 0.1.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.
Files changed (145) hide show
  1. package/dist/app/FloeApp.d.ts +37 -0
  2. package/dist/app/FloeProvider.d.ts +17 -0
  3. package/dist/app/index.d.ts +2 -0
  4. package/dist/components/deck/DeckCell.d.ts +17 -0
  5. package/dist/components/deck/DeckGrid.d.ts +14 -0
  6. package/dist/components/deck/DeckTopBar.d.ts +9 -0
  7. package/dist/components/deck/DropZonePreview.d.ts +10 -0
  8. package/dist/components/deck/LayoutSelector.d.ts +7 -0
  9. package/dist/components/deck/WidgetFrame.d.ts +14 -0
  10. package/dist/components/deck/WidgetPalette.d.ts +7 -0
  11. package/dist/components/deck/WidgetResizeHandle.d.ts +9 -0
  12. package/dist/components/deck/WidgetTypeSwitcher.d.ts +9 -0
  13. package/dist/components/deck/index.d.ts +9 -0
  14. package/dist/components/icons/index.d.ts +29 -0
  15. package/dist/components/index.d.ts +5 -0
  16. package/dist/components/launchpad/Launchpad.d.ts +15 -0
  17. package/dist/components/launchpad/LaunchpadGrid.d.ts +8 -0
  18. package/dist/components/launchpad/LaunchpadItem.d.ts +18 -0
  19. package/dist/components/launchpad/LaunchpadPagination.d.ts +6 -0
  20. package/dist/components/launchpad/LaunchpadSearch.d.ts +6 -0
  21. package/dist/components/launchpad/index.d.ts +10 -0
  22. package/dist/components/layout/ActivityBar.d.ts +24 -0
  23. package/dist/components/layout/BottomBar.d.ts +27 -0
  24. package/dist/components/layout/MobileTabBar.d.ts +19 -0
  25. package/dist/components/layout/Panel.d.ts +27 -0
  26. package/dist/components/layout/ResizeHandle.d.ts +9 -0
  27. package/dist/components/layout/Shell.d.ts +23 -0
  28. package/dist/components/layout/Sidebar.d.ts +33 -0
  29. package/dist/components/layout/TopBar.d.ts +11 -0
  30. package/dist/components/layout/index.d.ts +9 -0
  31. package/dist/components/loading/LoadingOverlay.d.ts +10 -0
  32. package/dist/components/loading/Skeleton.d.ts +21 -0
  33. package/dist/components/loading/SnakeLoader.d.ts +9 -0
  34. package/dist/components/loading/index.d.ts +3 -0
  35. package/dist/components/ui/Button.d.ts +12 -0
  36. package/dist/components/ui/Card.d.ts +79 -0
  37. package/dist/components/ui/CommandPalette.d.ts +4 -0
  38. package/dist/components/ui/Dialog.d.ts +29 -0
  39. package/dist/components/ui/Dropdown.d.ts +35 -0
  40. package/dist/components/ui/FloatingWindow.d.ts +45 -0
  41. package/dist/components/ui/Input.d.ts +16 -0
  42. package/dist/components/ui/Tooltip.d.ts +12 -0
  43. package/dist/components/ui/index.d.ts +8 -0
  44. package/dist/context/CommandContext.d.ts +30 -0
  45. package/dist/context/ComponentRegistry.d.ts +90 -0
  46. package/dist/context/DeckContext.d.ts +88 -0
  47. package/dist/context/FloeConfigContext.d.ts +133 -0
  48. package/dist/context/LayoutContext.d.ts +20 -0
  49. package/dist/context/NotificationContext.d.ts +32 -0
  50. package/dist/context/ThemeContext.d.ts +12 -0
  51. package/dist/context/WidgetRegistry.d.ts +37 -0
  52. package/dist/context/createSimpleContext.d.ts +15 -0
  53. package/dist/context/index.d.ts +9 -0
  54. package/dist/hooks/index.d.ts +6 -0
  55. package/dist/hooks/useDebounce.d.ts +5 -0
  56. package/dist/hooks/useDeckDrag.d.ts +6 -0
  57. package/dist/hooks/useKeybind.d.ts +4 -0
  58. package/dist/hooks/useMediaQuery.d.ts +5 -0
  59. package/dist/hooks/usePersisted.d.ts +5 -0
  60. package/dist/hooks/useResizeObserver.d.ts +9 -0
  61. package/dist/index.d.ts +7 -0
  62. package/dist/index.js +226 -0
  63. package/dist/index10.js +92 -0
  64. package/dist/index11.js +101 -0
  65. package/dist/index12.js +113 -0
  66. package/dist/index13.js +82 -0
  67. package/dist/index14.js +123 -0
  68. package/dist/index15.js +106 -0
  69. package/dist/index16.js +131 -0
  70. package/dist/index17.js +152 -0
  71. package/dist/index18.js +41 -0
  72. package/dist/index19.js +61 -0
  73. package/dist/index2.js +215 -0
  74. package/dist/index20.js +79 -0
  75. package/dist/index21.js +162 -0
  76. package/dist/index22.js +293 -0
  77. package/dist/index23.js +136 -0
  78. package/dist/index24.js +45 -0
  79. package/dist/index25.js +146 -0
  80. package/dist/index26.js +258 -0
  81. package/dist/index27.js +92 -0
  82. package/dist/index28.js +42 -0
  83. package/dist/index29.js +71 -0
  84. package/dist/index3.js +94 -0
  85. package/dist/index30.js +280 -0
  86. package/dist/index31.js +154 -0
  87. package/dist/index32.js +31 -0
  88. package/dist/index33.js +50 -0
  89. package/dist/index34.js +15 -0
  90. package/dist/index35.js +32 -0
  91. package/dist/index36.js +51 -0
  92. package/dist/index37.js +41 -0
  93. package/dist/index38.js +28 -0
  94. package/dist/index39.js +176 -0
  95. package/dist/index4.js +55 -0
  96. package/dist/index40.js +43 -0
  97. package/dist/index41.js +69 -0
  98. package/dist/index42.js +99 -0
  99. package/dist/index43.js +120 -0
  100. package/dist/index44.js +141 -0
  101. package/dist/index45.js +42 -0
  102. package/dist/index46.js +386 -0
  103. package/dist/index47.js +16 -0
  104. package/dist/index48.js +13 -0
  105. package/dist/index49.js +19 -0
  106. package/dist/index5.js +48 -0
  107. package/dist/index50.js +13 -0
  108. package/dist/index51.js +11 -0
  109. package/dist/index52.js +59 -0
  110. package/dist/index53.js +8 -0
  111. package/dist/index54.js +6 -0
  112. package/dist/index55.js +48 -0
  113. package/dist/index56.js +29 -0
  114. package/dist/index57.js +35 -0
  115. package/dist/index58.js +94 -0
  116. package/dist/index59.js +25 -0
  117. package/dist/index6.js +73 -0
  118. package/dist/index60.js +49 -0
  119. package/dist/index61.js +17 -0
  120. package/dist/index62.js +38 -0
  121. package/dist/index63.js +67 -0
  122. package/dist/index64.js +87 -0
  123. package/dist/index65.js +17 -0
  124. package/dist/index66.js +2266 -0
  125. package/dist/index7.js +112 -0
  126. package/dist/index8.js +66 -0
  127. package/dist/index9.js +33 -0
  128. package/dist/styles/build.d.ts +1 -0
  129. package/dist/styles/themes/index.d.ts +9 -0
  130. package/dist/styles.css +1 -0
  131. package/dist/styles.js +1 -0
  132. package/dist/utils/animations.d.ts +222 -0
  133. package/dist/utils/bodyStyleLock.d.ts +9 -0
  134. package/dist/utils/cn.d.ts +5 -0
  135. package/dist/utils/defer.d.ts +5 -0
  136. package/dist/utils/gridCollision.d.ts +31 -0
  137. package/dist/utils/gridLayout.d.ts +38 -0
  138. package/dist/utils/index.d.ts +8 -0
  139. package/dist/utils/keybind.d.ts +22 -0
  140. package/dist/utils/persist.d.ts +17 -0
  141. package/dist/widgets/MetricsWidget.d.ts +5 -0
  142. package/dist/widgets/SidebarWidget.d.ts +11 -0
  143. package/dist/widgets/TerminalWidget.d.ts +5 -0
  144. package/dist/widgets/index.d.ts +3 -0
  145. package/package.json +40 -0
@@ -0,0 +1,280 @@
1
+ import { template as s, effect as a, setAttribute as i } from "solid-js/web";
2
+ var v = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><circle cx=11 cy=11 r=8></circle><path d="m21 21-4.3-4.3">'), c = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M20 7h-3a2 2 0 0 1-2-2V2"></path><path d="M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z"></path><path d="M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8">'), h = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"></path><circle cx=12 cy=12 r=3>'), d = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><polyline points="4 17 10 11 4 5"></polyline><line x1=12 x2=20 y1=19 y2=19>'), w = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><circle cx=12 cy=12 r=4></circle><path d="M12 2v2"></path><path d="M12 20v2"></path><path d="m4.93 4.93 1.41 1.41"></path><path d="m17.66 17.66 1.41 1.41"></path><path d="M2 12h2"></path><path d="M20 12h2"></path><path d="m6.34 17.66-1.41 1.41"></path><path d="m19.07 4.93-1.41 1.41">'), u = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z">'), g = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M18 6 6 18"></path><path d="m6 6 12 12">'), x = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M20 6 9 17l-5-5">'), k = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="m6 9 6 6 6-6">'), m = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M21 12a9 9 0 1 1-6.219-8.56">'), z = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><line x1=6 x2=6 y1=3 y2=15></line><circle cx=18 cy=6 r=3></circle><circle cx=6 cy=18 r=3></circle><path d="M18 9a9 9 0 0 1-9 9">'), y = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9"></path><path d="M10.3 21a1.94 1.94 0 0 0 3.4 0">'), f = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><rect width=7 height=7 x=3 y=3 rx=1></rect><rect width=7 height=7 x=14 y=3 rx=1></rect><rect width=7 height=7 x=14 y=14 rx=1></rect><rect width=7 height=7 x=3 y=14 rx=1>'), C = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M5 12h14"></path><path d="M12 5v14">'), M = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M3 6h18"></path><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"></path><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2">'), B = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z"></path><path d="m15 5 4 4">'), j = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><circle cx=9 cy=12 r=1></circle><circle cx=9 cy=5 r=1></circle><circle cx=9 cy=19 r=1></circle><circle cx=15 cy=12 r=1></circle><circle cx=15 cy=5 r=1></circle><circle cx=15 cy=19 r=1>'), V = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><rect width=14 height=14 x=8 y=8 rx=2 ry=2></rect><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2">'), G = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><rect width=7 height=9 x=3 y=3 rx=1></rect><rect width=7 height=5 x=14 y=3 rx=1></rect><rect width=7 height=9 x=14 y=12 rx=1></rect><rect width=7 height=5 x=3 y=16 rx=1>'), L = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="m9 18 6-6-6-6">'), A = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="m16 3 4 4-4 4"></path><path d="M20 7H4"></path><path d="m8 21-4-4 4-4"></path><path d="M4 17h16">'), H = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=currentColor><circle cx=5 cy=5 r=2></circle><circle cx=12 cy=5 r=2></circle><circle cx=19 cy=5 r=2></circle><circle cx=5 cy=12 r=2></circle><circle cx=12 cy=12 r=2></circle><circle cx=19 cy=12 r=2></circle><circle cx=5 cy=19 r=2></circle><circle cx=12 cy=19 r=2></circle><circle cx=19 cy=19 r=2>'), R = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><rect width=14 height=14 x=5 y=5 rx=2>'), S = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><rect width=10 height=10 x=4 y=10 rx=1></rect><path d="M10 10V6a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-4">'), Z = /* @__PURE__ */ s('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M5 12h14">');
3
+ const D = (r = {}) => (() => {
4
+ var t = v();
5
+ return a((e) => {
6
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
7
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
8
+ }, {
9
+ e: void 0,
10
+ t: void 0,
11
+ a: void 0
12
+ }), t;
13
+ })(), P = (r = {}) => (() => {
14
+ var t = c();
15
+ return a((e) => {
16
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
17
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
18
+ }, {
19
+ e: void 0,
20
+ t: void 0,
21
+ a: void 0
22
+ }), t;
23
+ })(), T = (r = {}) => (() => {
24
+ var t = h();
25
+ return a((e) => {
26
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
27
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
28
+ }, {
29
+ e: void 0,
30
+ t: void 0,
31
+ a: void 0
32
+ }), t;
33
+ })(), F = (r = {}) => (() => {
34
+ var t = d();
35
+ return a((e) => {
36
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
37
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
38
+ }, {
39
+ e: void 0,
40
+ t: void 0,
41
+ a: void 0
42
+ }), t;
43
+ })(), X = (r = {}) => (() => {
44
+ var t = w();
45
+ return a((e) => {
46
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
47
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
48
+ }, {
49
+ e: void 0,
50
+ t: void 0,
51
+ a: void 0
52
+ }), t;
53
+ })(), q = (r = {}) => (() => {
54
+ var t = u();
55
+ return a((e) => {
56
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
57
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
58
+ }, {
59
+ e: void 0,
60
+ t: void 0,
61
+ a: void 0
62
+ }), t;
63
+ })(), E = (r = {}) => (() => {
64
+ var t = g();
65
+ return a((e) => {
66
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
67
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
68
+ }, {
69
+ e: void 0,
70
+ t: void 0,
71
+ a: void 0
72
+ }), t;
73
+ })(), I = (r = {}) => (() => {
74
+ var t = x();
75
+ return a((e) => {
76
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
77
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
78
+ }, {
79
+ e: void 0,
80
+ t: void 0,
81
+ a: void 0
82
+ }), t;
83
+ })(), J = (r = {}) => (() => {
84
+ var t = k();
85
+ return a((e) => {
86
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
87
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
88
+ }, {
89
+ e: void 0,
90
+ t: void 0,
91
+ a: void 0
92
+ }), t;
93
+ })(), K = (r = {}) => (() => {
94
+ var t = m();
95
+ return a((e) => {
96
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
97
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
98
+ }, {
99
+ e: void 0,
100
+ t: void 0,
101
+ a: void 0
102
+ }), t;
103
+ })(), N = (r = {}) => (() => {
104
+ var t = z();
105
+ return a((e) => {
106
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
107
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
108
+ }, {
109
+ e: void 0,
110
+ t: void 0,
111
+ a: void 0
112
+ }), t;
113
+ })(), O = (r = {}) => (() => {
114
+ var t = y();
115
+ return a((e) => {
116
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
117
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
118
+ }, {
119
+ e: void 0,
120
+ t: void 0,
121
+ a: void 0
122
+ }), t;
123
+ })(), Q = (r = {}) => (() => {
124
+ var t = f();
125
+ return a((e) => {
126
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
127
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
128
+ }, {
129
+ e: void 0,
130
+ t: void 0,
131
+ a: void 0
132
+ }), t;
133
+ })(), U = (r = {}) => (() => {
134
+ var t = C();
135
+ return a((e) => {
136
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
137
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
138
+ }, {
139
+ e: void 0,
140
+ t: void 0,
141
+ a: void 0
142
+ }), t;
143
+ })(), W = (r = {}) => (() => {
144
+ var t = M();
145
+ return a((e) => {
146
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
147
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
148
+ }, {
149
+ e: void 0,
150
+ t: void 0,
151
+ a: void 0
152
+ }), t;
153
+ })(), Y = (r = {}) => (() => {
154
+ var t = B();
155
+ return a((e) => {
156
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
157
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
158
+ }, {
159
+ e: void 0,
160
+ t: void 0,
161
+ a: void 0
162
+ }), t;
163
+ })(), _ = (r = {}) => (() => {
164
+ var t = j();
165
+ return a((e) => {
166
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
167
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
168
+ }, {
169
+ e: void 0,
170
+ t: void 0,
171
+ a: void 0
172
+ }), t;
173
+ })(), $ = (r = {}) => (() => {
174
+ var t = V();
175
+ return a((e) => {
176
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
177
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
178
+ }, {
179
+ e: void 0,
180
+ t: void 0,
181
+ a: void 0
182
+ }), t;
183
+ })(), p = (r = {}) => (() => {
184
+ var t = G();
185
+ return a((e) => {
186
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
187
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
188
+ }, {
189
+ e: void 0,
190
+ t: void 0,
191
+ a: void 0
192
+ }), t;
193
+ })(), ee = (r = {}) => (() => {
194
+ var t = L();
195
+ return a((e) => {
196
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
197
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
198
+ }, {
199
+ e: void 0,
200
+ t: void 0,
201
+ a: void 0
202
+ }), t;
203
+ })(), te = (r = {}) => (() => {
204
+ var t = A();
205
+ return a((e) => {
206
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
207
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
208
+ }, {
209
+ e: void 0,
210
+ t: void 0,
211
+ a: void 0
212
+ }), t;
213
+ })(), re = (r = {}) => (() => {
214
+ var t = H();
215
+ return a((e) => {
216
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
217
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
218
+ }, {
219
+ e: void 0,
220
+ t: void 0,
221
+ a: void 0
222
+ }), t;
223
+ })(), ie = (r = {}) => (() => {
224
+ var t = R();
225
+ return a((e) => {
226
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
227
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
228
+ }, {
229
+ e: void 0,
230
+ t: void 0,
231
+ a: void 0
232
+ }), t;
233
+ })(), oe = (r = {}) => (() => {
234
+ var t = S();
235
+ return a((e) => {
236
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
237
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
238
+ }, {
239
+ e: void 0,
240
+ t: void 0,
241
+ a: void 0
242
+ }), t;
243
+ })(), le = (r = {}) => (() => {
244
+ var t = Z();
245
+ return a((e) => {
246
+ var o = r.size ?? 24, l = r.size ?? 24, n = r.class;
247
+ return o !== e.e && i(t, "width", e.e = o), l !== e.t && i(t, "height", e.t = l), n !== e.a && i(t, "class", e.a = n), e;
248
+ }, {
249
+ e: void 0,
250
+ t: void 0,
251
+ a: void 0
252
+ }), t;
253
+ })();
254
+ export {
255
+ te as ArrowRightLeft,
256
+ O as Bell,
257
+ I as Check,
258
+ J as ChevronDown,
259
+ ee as ChevronRight,
260
+ $ as Copy,
261
+ P as Files,
262
+ N as GitBranch,
263
+ Q as Grid,
264
+ re as Grid3x3,
265
+ _ as GripVertical,
266
+ p as LayoutDashboard,
267
+ K as Loader2,
268
+ ie as Maximize,
269
+ le as Minus,
270
+ q as Moon,
271
+ Y as Pencil,
272
+ U as Plus,
273
+ oe as Restore,
274
+ D as Search,
275
+ T as Settings,
276
+ X as Sun,
277
+ F as Terminal,
278
+ W as Trash,
279
+ E as X
280
+ };
@@ -0,0 +1,154 @@
1
+ import { delegateEvents as q, template as y, insert as o, createComponent as l, memo as z, effect as B, className as D, style as G } from "solid-js/web";
2
+ import { createSignal as h, createMemo as m, onMount as K, onCleanup as R, Show as $ } from "solid-js";
3
+ import { LaunchpadGrid as W } from "./index33.js";
4
+ import { LaunchpadSearch as j } from "./index34.js";
5
+ import { LaunchpadPagination as F } from "./index35.js";
6
+ var H = /* @__PURE__ */ y('<div class="pt-8 pb-4 px-8">'), J = /* @__PURE__ */ y("<div class=pb-8>"), O = /* @__PURE__ */ y(`<div><style>
7
+ @keyframes launchpad-item-enter {
8
+ 0% {
9
+ opacity: 0;
10
+ transform: scale(0.5) translateY(20px);
11
+ }
12
+ 100% {
13
+ opacity: 1;
14
+ transform: scale(1) translateY(0);
15
+ }
16
+ }
17
+
18
+ @keyframes launchpad-fade-in {
19
+ from { opacity: 0; }
20
+ to { opacity: 1; }
21
+ }
22
+
23
+ @keyframes launchpad-search-enter {
24
+ from {
25
+ opacity: 0;
26
+ transform: translateY(-20px);
27
+ }
28
+ to {
29
+ opacity: 1;
30
+ transform: translateY(0);
31
+ }
32
+ }
33
+
34
+ .launchpad {
35
+ animation: launchpad-fade-in 0.3s ease-out;
36
+ }
37
+
38
+ .launchpad-search {
39
+ animation: launchpad-search-enter 0.4s ease-out;
40
+ }
41
+ </style><div class="flex-1 min-h-0 overflow-hidden"></div><div class="absolute bottom-4 right-4 text-white/30 text-xs hidden md:block"><kbd class="px-1.5 py-0.5 rounded bg-white/10 mr-1">ESC</kbd> to close<span class=mx-2>|</span><kbd class="px-1.5 py-0.5 rounded bg-white/10 mr-1">\\u2190</kbd><kbd class="px-1.5 py-0.5 rounded bg-white/10">→</kbd> to navigate`);
42
+ function ae(a) {
43
+ const [g, L] = h(""), [i, k] = h(0), [M, x] = h(!0), [Y, w] = h(null), f = () => a.itemsPerPage ?? 20, I = () => a.columns ?? 5, T = () => a.showSearch !== !1, C = m(() => {
44
+ const e = a.items ?? [], t = a.additionalItems ?? [];
45
+ return [...e, ...t];
46
+ }), P = m(() => {
47
+ const e = g().toLowerCase().trim();
48
+ return e ? C().filter((t) => {
49
+ var c;
50
+ return t.name.toLowerCase().includes(e) || ((c = t.description) == null ? void 0 : c.toLowerCase().includes(e));
51
+ }) : C();
52
+ }), b = m(() => Math.max(1, Math.ceil(P().length / f()))), E = m(() => {
53
+ const e = i() * f();
54
+ return P().slice(e, e + f());
55
+ }), _ = (e) => {
56
+ L(e), k(0);
57
+ }, v = (e) => {
58
+ e >= 0 && e < b() && (x(!1), k(e), setTimeout(() => x(!0), 50));
59
+ }, d = () => v(i() - 1), u = () => v(i() + 1), S = (e) => {
60
+ var t;
61
+ switch (e.key) {
62
+ case "Escape":
63
+ (t = a.onClose) == null || t.call(a);
64
+ break;
65
+ case "ArrowLeft":
66
+ d();
67
+ break;
68
+ case "ArrowRight":
69
+ u();
70
+ break;
71
+ }
72
+ }, X = (e) => {
73
+ Math.abs(e.deltaX) > Math.abs(e.deltaY) ? e.deltaX > 30 ? u() : e.deltaX < -30 && d() : e.deltaY > 50 ? u() : e.deltaY < -50 && d();
74
+ }, A = (e) => {
75
+ const t = e.touches[0];
76
+ t && w({
77
+ x: t.clientX,
78
+ y: t.clientY
79
+ });
80
+ }, N = (e) => {
81
+ var s;
82
+ const t = Y();
83
+ if (!t) return;
84
+ const c = e.changedTouches[0];
85
+ if (!c) return;
86
+ const r = c.clientX - t.x, n = c.clientY - t.y;
87
+ Math.abs(r) > Math.abs(n) && Math.abs(r) > 50 ? r > 0 ? d() : u() : Math.abs(n) > 100 && ((s = a.onClose) == null || s.call(a)), w(null);
88
+ }, Q = (e) => {
89
+ var r;
90
+ e.target.closest('button, input, a, [role="button"]') || (r = a.onClose) == null || r.call(a);
91
+ };
92
+ return K(() => {
93
+ document.addEventListener("keydown", S);
94
+ }), R(() => {
95
+ document.removeEventListener("keydown", S);
96
+ }), (() => {
97
+ var e = O(), t = e.firstChild, c = t.nextSibling, r = c.nextSibling;
98
+ return e.$$touchend = N, e.$$touchstart = A, e.addEventListener("wheel", X), e.$$click = Q, o(e, l($, {
99
+ get when() {
100
+ return T();
101
+ },
102
+ get children() {
103
+ var n = H();
104
+ return o(n, l(j, {
105
+ get value() {
106
+ return g();
107
+ },
108
+ onChange: _,
109
+ placeholder: "Search apps..."
110
+ })), n;
111
+ }
112
+ }), c), o(c, l(W, {
113
+ get items() {
114
+ return E();
115
+ },
116
+ get onItemClick() {
117
+ return a.onItemClick;
118
+ },
119
+ get columns() {
120
+ return I();
121
+ },
122
+ get animating() {
123
+ return M();
124
+ }
125
+ })), o(e, l($, {
126
+ get when() {
127
+ return z(() => b() > 1)() && !g();
128
+ },
129
+ get children() {
130
+ var n = J();
131
+ return o(n, l(F, {
132
+ get totalPages() {
133
+ return b();
134
+ },
135
+ get currentPage() {
136
+ return i();
137
+ },
138
+ onPageChange: v
139
+ })), n;
140
+ }
141
+ }), r), B((n) => {
142
+ var s = `launchpad fixed inset-0 z-50 flex flex-col select-none
143
+ bg-black/70 backdrop-blur-xl ${a.class ?? ""}`, p = a.style;
144
+ return s !== n.e && D(e, n.e = s), n.t = G(e, p, n.t), n;
145
+ }, {
146
+ e: void 0,
147
+ t: void 0
148
+ }), e;
149
+ })();
150
+ }
151
+ q(["click", "touchstart", "touchend"]);
152
+ export {
153
+ ae as Launchpad
154
+ };
@@ -0,0 +1,31 @@
1
+ import { delegateEvents as m, template as s, insert as r, createComponent as v, effect as x, style as f, setAttribute as h, setStyleProperty as g } from "solid-js/web";
2
+ var b = /* @__PURE__ */ s('<button type=button class="launchpad-item group flex flex-col items-center gap-2 p-3 rounded-xl cursor-pointer transition-all duration-200 ease-out select-none outline-none hover:bg-white/10 focus-visible:bg-white/10 focus-visible:ring-2 focus-visible:ring-white/30 active:scale-95"tabindex=0><div class="w-14 h-14 rounded-2xl flex items-center justify-center shadow-lg transition-transform duration-200 group-hover:scale-105"></div><span class="text-xs text-white/90 font-medium truncate max-w-[80px] text-center">');
3
+ function y(e) {
4
+ const l = () => {
5
+ var t, n, a;
6
+ (n = (t = e.item).onClick) == null || n.call(t), (a = e.onClick) == null || a.call(e, e.item);
7
+ }, d = (t) => {
8
+ (t.key === "Enter" || t.key === " ") && (t.preventDefault(), l());
9
+ };
10
+ return (() => {
11
+ var t = b(), n = t.firstChild, a = n.nextSibling;
12
+ return t.$$keydown = d, t.$$click = l, r(n, v(e.item.icon, {
13
+ class: "w-7 h-7 text-white"
14
+ })), r(a, () => e.item.name), x((i) => {
15
+ var u = {
16
+ "--item-index": e.index,
17
+ "animation-delay": `${e.index * 30}ms`,
18
+ ...e.style
19
+ }, c = e.item.description ?? e.item.name, o = e.item.color ?? "linear-gradient(135deg, #667eea 0%, #764ba2 100%)";
20
+ return i.e = f(t, u, i.e), c !== i.t && h(t, "title", i.t = c), o !== i.a && g(n, "background", i.a = o), i;
21
+ }, {
22
+ e: void 0,
23
+ t: void 0,
24
+ a: void 0
25
+ }), t;
26
+ })();
27
+ }
28
+ m(["click", "keydown"]);
29
+ export {
30
+ y as LaunchpadItem
31
+ };
@@ -0,0 +1,50 @@
1
+ import { template as i, insert as o, createComponent as a, effect as d, setStyleProperty as u } from "solid-js/web";
2
+ import { Show as s, For as f } from "solid-js";
3
+ import { LaunchpadItem as g } from "./index32.js";
4
+ var h = /* @__PURE__ */ i('<div class="grid gap-4 place-items-center">'), v = /* @__PURE__ */ i('<div class="launchpad-grid w-full h-full flex items-center justify-center p-8">'), p = /* @__PURE__ */ i('<div class="text-white/50 text-xs">No apps found');
5
+ function $(t) {
6
+ const l = () => t.columns ?? 5;
7
+ return (() => {
8
+ var m = v();
9
+ return o(m, a(s, {
10
+ get when() {
11
+ return t.items.length > 0;
12
+ },
13
+ get fallback() {
14
+ return p();
15
+ },
16
+ get children() {
17
+ var r = h();
18
+ return o(r, a(f, {
19
+ get each() {
20
+ return t.items;
21
+ },
22
+ children: (e, n) => a(g, {
23
+ item: e,
24
+ get index() {
25
+ return n();
26
+ },
27
+ get onClick() {
28
+ return t.onItemClick;
29
+ },
30
+ get style() {
31
+ return {
32
+ animation: t.animating !== !1 ? "launchpad-item-enter 0.4s ease-out forwards" : void 0,
33
+ opacity: t.animating !== !1 ? 0 : 1
34
+ };
35
+ }
36
+ })
37
+ })), d((e) => {
38
+ var n = `repeat(${l()}, minmax(0, 1fr))`, c = `${l() * 120}px`;
39
+ return n !== e.e && u(r, "grid-template-columns", e.e = n), c !== e.t && u(r, "max-width", e.t = c), e;
40
+ }, {
41
+ e: void 0,
42
+ t: void 0
43
+ }), r;
44
+ }
45
+ })), m;
46
+ })();
47
+ }
48
+ export {
49
+ $ as LaunchpadGrid
50
+ };
@@ -0,0 +1,15 @@
1
+ import { delegateEvents as n, template as o, insert as u, createComponent as c, effect as a, setAttribute as h } from "solid-js/web";
2
+ import { Search as s } from "./index30.js";
3
+ var d = /* @__PURE__ */ o('<div class="launchpad-search w-full max-w-md mx-auto"><div class=relative><input type=text class="w-full h-10 pl-10 pr-4 rounded-lg bg-white/10 backdrop-blur-sm border border-white/20 text-white placeholder:text-white/50 outline-none transition-all duration-200 focus:bg-white/15 focus:border-white/30 focus:ring-2 focus:ring-white/20">');
4
+ function w(t) {
5
+ return (() => {
6
+ var r = d(), l = r.firstChild, e = l.firstChild;
7
+ return u(l, c(s, {
8
+ class: "absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-white/50"
9
+ }), e), e.$$input = (i) => t.onChange(i.currentTarget.value), a(() => h(e, "placeholder", t.placeholder ?? "Search")), a(() => e.value = t.value), r;
10
+ })();
11
+ }
12
+ n(["input"]);
13
+ export {
14
+ w as LaunchpadSearch
15
+ };
@@ -0,0 +1,32 @@
1
+ import { delegateEvents as u, template as l, insert as s, createComponent as f, setAttribute as o, effect as g, classList as v } from "solid-js/web";
2
+ import { For as h } from "solid-js";
3
+ var b = /* @__PURE__ */ l('<div class="launchpad-pagination flex items-center justify-center gap-2">'), d = /* @__PURE__ */ l('<button type=button class="w-2 h-2 rounded-full cursor-pointer transition-all duration-300 outline-none focus-visible:ring-2 focus-visible:ring-white/50 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent">');
4
+ function w(r) {
5
+ return (() => {
6
+ var i = b();
7
+ return s(i, f(h, {
8
+ get each() {
9
+ return Array.from({
10
+ length: r.totalPages
11
+ }, (t, e) => e);
12
+ },
13
+ children: (t) => (() => {
14
+ var e = d();
15
+ return e.$$click = () => r.onPageChange(t), o(e, "aria-label", `Go to page ${t + 1}`), g((n) => {
16
+ var c = {
17
+ "bg-white scale-125": r.currentPage === t,
18
+ "bg-white/40 hover:bg-white/60": r.currentPage !== t
19
+ }, a = r.currentPage === t ? "page" : void 0;
20
+ return n.e = v(e, c, n.e), a !== n.t && o(e, "aria-current", n.t = a), n;
21
+ }, {
22
+ e: void 0,
23
+ t: void 0
24
+ }), e;
25
+ })()
26
+ })), i;
27
+ })();
28
+ }
29
+ u(["click"]);
30
+ export {
31
+ w as LaunchpadPagination
32
+ };
@@ -0,0 +1,51 @@
1
+ import { createComponent as r, memo as o } from "solid-js/web";
2
+ import { FloeConfigProvider as i } from "./index39.js";
3
+ import { ThemeProvider as n } from "./index40.js";
4
+ import { NotificationProvider as m } from "./index43.js";
5
+ import { ComponentRegistryProvider as d } from "./index44.js";
6
+ import { LayoutProvider as c } from "./index41.js";
7
+ import { CommandProvider as f } from "./index42.js";
8
+ import { WidgetRegistryProvider as g } from "./index45.js";
9
+ import { DeckProvider as h } from "./index46.js";
10
+ function w(e) {
11
+ const t = () => r(m, {
12
+ get children() {
13
+ return r(d, {
14
+ get children() {
15
+ return r(c, {
16
+ get children() {
17
+ return r(g, {
18
+ get children() {
19
+ return r(h, {
20
+ get children() {
21
+ return r(f, {
22
+ get children() {
23
+ return e.children;
24
+ }
25
+ });
26
+ }
27
+ });
28
+ }
29
+ });
30
+ }
31
+ });
32
+ }
33
+ });
34
+ }
35
+ });
36
+ return r(i, {
37
+ get config() {
38
+ return e.config;
39
+ },
40
+ get children() {
41
+ return r(n, {
42
+ get children() {
43
+ return o(() => !!e.wrapAfterTheme)() ? e.wrapAfterTheme(t) : t();
44
+ }
45
+ });
46
+ }
47
+ });
48
+ }
49
+ export {
50
+ w as FloeProvider
51
+ };
@@ -0,0 +1,41 @@
1
+ import { createComponent as t, memo as n, mergeProps as f } from "solid-js/web";
2
+ import { onMount as u, onCleanup as C } from "solid-js";
3
+ import { useComponentRegistry as g, useComponentContextFactory as h } from "./index44.js";
4
+ import { NotificationContainer as d } from "./index43.js";
5
+ import { Shell as A } from "./index2.js";
6
+ import { CommandPalette as x } from "./index25.js";
7
+ import { FloeProvider as P } from "./index36.js";
8
+ function F(e) {
9
+ var r, m;
10
+ const o = g(), c = h(), a = (r = e.getProtocol) == null ? void 0 : r.call(e);
11
+ return (m = e.components) != null && m.length && o.registerAll(e.components), u(() => {
12
+ o.mountAll((i) => {
13
+ const l = c(i, {
14
+ protocol: a
15
+ });
16
+ return e.createComponentContext ? e.createComponentContext(i, l) : l;
17
+ });
18
+ }), C(() => {
19
+ o.unmountAll();
20
+ }), [t(A, f(() => e.shell, {
21
+ get children() {
22
+ return e.children;
23
+ }
24
+ })), n(() => n(() => e.enableCommandPalette !== !1)() && t(x, {})), n(() => n(() => e.enableNotifications !== !1)() && t(d, {}))];
25
+ }
26
+ function I(e) {
27
+ return t(P, {
28
+ get config() {
29
+ return e.config;
30
+ },
31
+ get wrapAfterTheme() {
32
+ return e.wrapAfterTheme;
33
+ },
34
+ get children() {
35
+ return t(F, e);
36
+ }
37
+ });
38
+ }
39
+ export {
40
+ I as FloeApp
41
+ };