@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.
Files changed (87) hide show
  1. package/dist/components/ui/Dialog.d.ts +3 -0
  2. package/dist/components/ui/DirectoryPicker.d.ts +31 -0
  3. package/dist/components/ui/index.d.ts +1 -0
  4. package/dist/index.js +193 -191
  5. package/dist/index10.js +2 -2
  6. package/dist/index11.js +4 -4
  7. package/dist/index12.js +5 -5
  8. package/dist/index13.js +3 -3
  9. package/dist/index14.js +4 -4
  10. package/dist/index15.js +5 -5
  11. package/dist/index16.js +5 -5
  12. package/dist/index17.js +4 -4
  13. package/dist/index18.js +6 -6
  14. package/dist/index19.js +2 -2
  15. package/dist/index2.js +6 -6
  16. package/dist/index20.js +2 -2
  17. package/dist/index21.js +1 -1
  18. package/dist/index22.js +8 -5
  19. package/dist/index23.js +3 -3
  20. package/dist/index24.js +3 -3
  21. package/dist/index25.js +1 -1
  22. package/dist/index26.js +5 -5
  23. package/dist/index27.js +1 -1
  24. package/dist/index28.js +3 -3
  25. package/dist/index29.js +362 -81
  26. package/dist/index3.js +2 -2
  27. package/dist/index30.js +87 -37
  28. package/dist/index31.js +37 -66
  29. package/dist/index32.js +69 -278
  30. package/dist/index33.js +278 -152
  31. package/dist/index34.js +147 -24
  32. package/dist/index35.js +26 -45
  33. package/dist/index36.js +45 -10
  34. package/dist/index37.js +10 -27
  35. package/dist/index38.js +27 -159
  36. package/dist/index39.js +156 -228
  37. package/dist/index4.js +1 -1
  38. package/dist/index40.js +228 -125
  39. package/dist/index41.js +110 -176
  40. package/dist/index42.js +149 -122
  41. package/dist/index43.js +161 -183
  42. package/dist/index44.js +185 -145
  43. package/dist/index45.js +143 -114
  44. package/dist/index46.js +119 -47
  45. package/dist/index47.js +50 -48
  46. package/dist/index48.js +40 -30
  47. package/dist/index49.js +33 -44
  48. package/dist/index5.js +4 -4
  49. package/dist/index50.js +49 -25
  50. package/dist/index51.js +21 -169
  51. package/dist/index52.js +169 -36
  52. package/dist/index53.js +38 -64
  53. package/dist/index54.js +63 -93
  54. package/dist/index55.js +86 -111
  55. package/dist/index56.js +114 -131
  56. package/dist/index57.js +131 -32
  57. package/dist/index58.js +29 -425
  58. package/dist/index59.js +433 -36
  59. package/dist/index6.js +2 -2
  60. package/dist/index60.js +31 -12
  61. package/dist/index61.js +19 -13
  62. package/dist/index62.js +13 -10
  63. package/dist/index63.js +10 -16
  64. package/dist/index64.js +16 -10
  65. package/dist/index65.js +10 -8
  66. package/dist/index66.js +8 -61
  67. package/dist/index67.js +61 -5
  68. package/dist/index68.js +5 -11
  69. package/dist/index69.js +10 -25
  70. package/dist/index7.js +2 -2
  71. package/dist/index70.js +24 -30
  72. package/dist/index71.js +31 -90
  73. package/dist/index72.js +90 -26
  74. package/dist/index73.js +24 -43
  75. package/dist/index74.js +45 -13
  76. package/dist/index75.js +14 -35
  77. package/dist/index76.js +33 -62
  78. package/dist/index77.js +61 -81
  79. package/dist/index78.js +84 -14
  80. package/dist/index79.js +12 -2261
  81. package/dist/index8.js +2 -2
  82. package/dist/index80.js +2262 -6
  83. package/dist/index81.js +7 -39
  84. package/dist/index82.js +42 -0
  85. package/dist/index9.js +1 -1
  86. package/dist/styles.css +1 -1
  87. package/package.json +1 -1
package/dist/index31.js CHANGED
@@ -1,71 +1,42 @@
1
- import { template as f, effect as o, className as u, insert as s, createComponent as r } from "solid-js/web";
2
- import { For as h } from "solid-js";
3
- import { cn as i } from "./index67.js";
4
- var m = /* @__PURE__ */ f("<div>"), p = /* @__PURE__ */ f('<div><div class="flex items-center gap-3"><div class="space-y-2 flex-1">'), _ = /* @__PURE__ */ f('<div class="flex items-center gap-3"><div class="flex-1 space-y-1">');
5
- function c(n) {
6
- return (() => {
7
- var l = m();
8
- return o(() => u(l, i("animate-pulse rounded-md bg-muted", n.class))), l;
9
- })();
10
- }
11
- function v(n) {
12
- const l = () => n.lines ?? 3, a = () => Array.from({
13
- length: l()
14
- }, (e, t) => t);
15
- return (() => {
16
- var e = m();
17
- return s(e, r(h, {
18
- get each() {
19
- return a();
1
+ import { template as c, insert as n, createComponent as t, effect as m, className as o, Portal as u } from "solid-js/web";
2
+ import { Show as l } from "solid-js";
3
+ import { cn as s } from "./index68.js";
4
+ import { SnakeLoader as f } from "./index30.js";
5
+ var g = /* @__PURE__ */ c('<p class="text-sm text-muted-foreground">'), d = /* @__PURE__ */ c("<div>");
6
+ function k(e) {
7
+ const a = (() => {
8
+ var r = d();
9
+ return n(r, t(f, {
10
+ size: "lg"
11
+ }), null), n(r, t(l, {
12
+ get when() {
13
+ return e.message;
20
14
  },
21
- children: (t) => r(c, {
22
- get class() {
23
- return i("h-4", t === l() - 1 ? "w-3/4" : "w-full");
24
- }
25
- })
26
- })), o(() => u(e, i("space-y-2", n.class))), e;
27
- })();
28
- }
29
- function y(n) {
30
- return (() => {
31
- var l = p(), a = l.firstChild, e = a.firstChild;
32
- return s(a, r(c, {
33
- class: "h-10 w-10 rounded-full"
34
- }), e), s(e, r(c, {
35
- class: "h-4 w-1/3"
36
- }), null), s(e, r(c, {
37
- class: "h-3 w-1/4"
38
- }), null), s(l, r(v, {
39
- lines: 2
40
- }), null), o(() => u(l, i("rounded-lg border border-border p-4 space-y-4", n.class))), l;
41
- })();
42
- }
43
- function x(n) {
44
- const l = () => n.count ?? 5, a = () => Array.from({
45
- length: l()
46
- }, (e, t) => t);
47
- return (() => {
48
- var e = m();
49
- return s(e, r(h, {
50
- get each() {
51
- return a();
52
- },
53
- children: () => (() => {
54
- var t = _(), d = t.firstChild;
55
- return s(t, r(c, {
56
- class: "h-8 w-8 rounded"
57
- }), d), s(d, r(c, {
58
- class: "h-4 w-2/3"
59
- }), null), s(d, r(c, {
60
- class: "h-3 w-1/3"
61
- }), null), t;
62
- })()
63
- })), o(() => u(e, i("space-y-3", n.class))), e;
15
+ get children() {
16
+ var i = g();
17
+ return n(i, () => e.message), i;
18
+ }
19
+ }), null), m(() => o(r, s("flex flex-col items-center justify-center gap-4", "bg-background/80 backdrop-blur-sm", e.fullscreen ? "fixed inset-0 z-50" : "absolute inset-0", "animate-in fade-in", e.class))), r;
64
20
  })();
21
+ return t(l, {
22
+ get when() {
23
+ return e.visible;
24
+ },
25
+ get children() {
26
+ return t(l, {
27
+ get when() {
28
+ return e.fullscreen;
29
+ },
30
+ fallback: a,
31
+ get children() {
32
+ return t(u, {
33
+ children: a
34
+ });
35
+ }
36
+ });
37
+ }
38
+ });
65
39
  }
66
40
  export {
67
- c as Skeleton,
68
- y as SkeletonCard,
69
- x as SkeletonList,
70
- v as SkeletonText
41
+ k as LoadingOverlay
71
42
  };
package/dist/index32.js CHANGED
@@ -1,280 +1,71 @@
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
- })();
1
+ import { template as f, effect as o, className as u, insert as s, createComponent as r } from "solid-js/web";
2
+ import { For as h } from "solid-js";
3
+ import { cn as i } from "./index68.js";
4
+ var m = /* @__PURE__ */ f("<div>"), p = /* @__PURE__ */ f('<div><div class="flex items-center gap-3"><div class="space-y-2 flex-1">'), _ = /* @__PURE__ */ f('<div class="flex items-center gap-3"><div class="flex-1 space-y-1">');
5
+ function c(n) {
6
+ return (() => {
7
+ var l = m();
8
+ return o(() => u(l, i("animate-pulse rounded-md bg-muted", n.class))), l;
9
+ })();
10
+ }
11
+ function v(n) {
12
+ const l = () => n.lines ?? 3, a = () => Array.from({
13
+ length: l()
14
+ }, (e, t) => t);
15
+ return (() => {
16
+ var e = m();
17
+ return s(e, r(h, {
18
+ get each() {
19
+ return a();
20
+ },
21
+ children: (t) => r(c, {
22
+ get class() {
23
+ return i("h-4", t === l() - 1 ? "w-3/4" : "w-full");
24
+ }
25
+ })
26
+ })), o(() => u(e, i("space-y-2", n.class))), e;
27
+ })();
28
+ }
29
+ function y(n) {
30
+ return (() => {
31
+ var l = p(), a = l.firstChild, e = a.firstChild;
32
+ return s(a, r(c, {
33
+ class: "h-10 w-10 rounded-full"
34
+ }), e), s(e, r(c, {
35
+ class: "h-4 w-1/3"
36
+ }), null), s(e, r(c, {
37
+ class: "h-3 w-1/4"
38
+ }), null), s(l, r(v, {
39
+ lines: 2
40
+ }), null), o(() => u(l, i("rounded-lg border border-border p-4 space-y-4", n.class))), l;
41
+ })();
42
+ }
43
+ function x(n) {
44
+ const l = () => n.count ?? 5, a = () => Array.from({
45
+ length: l()
46
+ }, (e, t) => t);
47
+ return (() => {
48
+ var e = m();
49
+ return s(e, r(h, {
50
+ get each() {
51
+ return a();
52
+ },
53
+ children: () => (() => {
54
+ var t = _(), d = t.firstChild;
55
+ return s(t, r(c, {
56
+ class: "h-8 w-8 rounded"
57
+ }), d), s(d, r(c, {
58
+ class: "h-4 w-2/3"
59
+ }), null), s(d, r(c, {
60
+ class: "h-3 w-1/3"
61
+ }), null), t;
62
+ })()
63
+ })), o(() => u(e, i("space-y-3", n.class))), e;
64
+ })();
65
+ }
254
66
  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
67
+ c as Skeleton,
68
+ y as SkeletonCard,
69
+ x as SkeletonList,
70
+ v as SkeletonText
280
71
  };