@overvis/hmi-workspace-ui 0.1.0 → 0.1.1

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 (115) hide show
  1. package/dist/alarm-list-sheAq-pb.js +414 -0
  2. package/dist/alarm-rule-dialog-D_ml7V0v.js +417 -0
  3. package/dist/{alarm-rule-lists-C5v1Kf7A.js → alarm-rule-lists-DaA4soF4.js} +123 -125
  4. package/dist/{alarm-rules-page-CqFzofPd.js → alarm-rules-page-OFjOQ-dm.js} +15 -18
  5. package/dist/alert-dialog-B60PF7S9.js +891 -0
  6. package/dist/{base-revision-YCO27zR4.js → base-revision-DYCOZS0R.js} +26 -29
  7. package/dist/{breadcrumbs-0cjsV2cq.js → breadcrumbs-D2u8KZQo.js} +6 -7
  8. package/dist/{catalog-list-DjZojYLJ.js → catalog-list-LXuRix0-.js} +2 -4
  9. package/dist/{code-editor-BVimvjDV.js → code-editor-BMSyzAxu.js} +5 -6
  10. package/dist/dashboard-bindings.js +1 -2
  11. package/dist/{dashboards-page-BlrJguNz.js → dashboards-page-wnmmLpVC.js} +335 -359
  12. package/dist/{de-14WdmJxZ.js → de-hkEr2usK.js} +1 -2
  13. package/dist/diagnostic-text-CsbENUNI.js +116 -0
  14. package/dist/{dialogs-B6BRnf3Q.js → dialogs-AtIYlNSy.js} +219 -227
  15. package/dist/{dialogs-D_v1LeH4.js → dialogs-DsHbKgZD.js} +2523 -2590
  16. package/dist/{display-DmOo23mi.js → display-DSyEwQt8.js} +4 -6
  17. package/dist/{editor-language-To9MxloY.js → editor-language-CTfJBXMs.js} +3 -5
  18. package/dist/editor-page-BWbVGJvU.js +1337 -0
  19. package/dist/{en-BgercpT0.js → en-UW_k-Bd6.js} +1 -2
  20. package/dist/entity-controls-BCuRx882.js +71 -0
  21. package/dist/errors-Cawve9yD.js +25 -0
  22. package/dist/{footer-DC-Q0052.js → footer-B9XdpVzq.js} +2404 -2515
  23. package/dist/host.js +8143 -675
  24. package/dist/{i18n-BgzakKoC.js → i18n-Dt6xbSK6.js} +77 -90
  25. package/dist/i18n.js +1 -2
  26. package/dist/index.js +5149 -5345
  27. package/dist/{lat-lng-B12P7QyY.js → lat-lng-Bl77AGSO.js} +1 -2
  28. package/dist/{list-page-CvsdZb86.js → list-page-agHupfNb.js} +116 -123
  29. package/dist/{location-map-renderer-DO5yfdSU.js → location-map-renderer-kxU6cgFl.js} +6 -6
  30. package/dist/{location-picker-renderer-CjCxg6ai.js → location-picker-renderer-B1_-n8lf.js} +3 -4
  31. package/dist/{model-B8gGi4OK.js → model-tpg_xpFB.js} +1 -2
  32. package/dist/{notice-card-DyGywFsW.js → notice-card-CH28rYUt.js} +54 -58
  33. package/dist/{page-v6LCwswN.js → page-CZPHJUmz.js} +92 -100
  34. package/dist/page-DpdkOGGb.js +449 -0
  35. package/dist/page-HCGXXGjy.js +507 -0
  36. package/dist/panel-BCwBlB_h.js +949 -0
  37. package/dist/parameter-values.js +3 -16
  38. package/dist/{pl-lQ9HXV9k.js → pl-BokvsP3J.js} +1 -2
  39. package/dist/presence-code-cT6wxlTg.js +73 -0
  40. package/dist/{query-gate-DVhNIkge.js → query-gate-DqmHsZ07.js} +6 -6
  41. package/dist/{provider-DoEpKcQ-.js → quick-report-DEqqwQxR.js} +9423 -5102
  42. package/dist/{retention-BYXNpYmR.js → retention-DZ0reGGe.js} +4 -6
  43. package/dist/retention-note-nequESpo.js +40 -0
  44. package/dist/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CGnMp29N.js} +1 -2
  45. package/dist/{ru-qTKINoUj.js → ru-DZSlsRHq.js} +1 -2
  46. package/dist/run-text-DneX9rWh.js +112 -0
  47. package/dist/{search-D4rDnE9T.js → search-DP9_alSQ.js} +26 -29
  48. package/dist/{sections-kCOyc4NR.js → sections-BU7NKUOQ.js} +2 -3
  49. package/dist/{select-BKiOWdSr.js → select-Te6Qv1Zu.js} +17 -23
  50. package/dist/{spinner-C-HPNxOc.js → spinner-BRcNKwjH.js} +182 -201
  51. package/dist/src/version.d.ts +1 -1
  52. package/dist/src/workspace/local-workspace-app.d.ts +1 -1
  53. package/dist/src/workspace/routes.d.ts +1 -1
  54. package/dist/{starter-fields-BRLX0z-v.js → starter-fields-yM4B49nd.js} +154 -157
  55. package/dist/{starter-handoff-BA3ucMKL.js → starter-handoff-BaK8Ss8I.js} +1 -2
  56. package/dist/styles.css +1 -1
  57. package/dist/ui.js +334 -374
  58. package/dist/{uk-CwpJAxmx.js → uk-CjXPq9Lk.js} +1 -2
  59. package/dist/{wireguard-docs-AfU6NzTL.js → wireguard-docs-CC8XKBR7.js} +14 -17
  60. package/package.json +15 -9
  61. package/dist/alarm-list-BL3xQ5Lf.js +0 -423
  62. package/dist/alarm-rule-dialog-S1ZUg-74.js +0 -423
  63. package/dist/alert-B8MAoIO8.js +0 -45
  64. package/dist/alert-dialog-CYkuMg5D.js +0 -129
  65. package/dist/api-error-9rQmUN5L.js +0 -93
  66. package/dist/breadcrumb-DzVL1yHa.js +0 -74
  67. package/dist/button-6SxPBYMz.js +0 -44
  68. package/dist/context-u9KJQmdB.js +0 -102
  69. package/dist/copyable-id-DYGiAcnq.js +0 -40
  70. package/dist/dashboard-context-CBfG6DoT.js +0 -191
  71. package/dist/date-time-picker-C3FhMXk6.js +0 -266
  72. package/dist/diagnostic-text-BAkzW0SE.js +0 -111
  73. package/dist/diagnostic-text-DiKd2i1w.js +0 -76
  74. package/dist/dialog-BIhQXcZC.js +0 -237
  75. package/dist/dialog-BqyIxMD-.js +0 -54
  76. package/dist/dropdown-menu-DSzbBq3v.js +0 -136
  77. package/dist/editor-page-BiSZJz5b.js +0 -1353
  78. package/dist/empty-B-QJ-06w.js +0 -59
  79. package/dist/entity-controls-D1K4Ot3O.js +0 -76
  80. package/dist/errors-CcsvDHu8.js +0 -26
  81. package/dist/history-page-sAAhG54V.js +0 -1400
  82. package/dist/icon-D-pR9htW.js +0 -57
  83. package/dist/index-page-DMH82fZe.js +0 -214
  84. package/dist/item-B5SaTFQU.js +0 -120
  85. package/dist/mutation-form-validators-BNz5bsv1.js +0 -2408
  86. package/dist/mutations-THtGG6Ai.js +0 -240
  87. package/dist/page-2KPemaAj.js +0 -328
  88. package/dist/page-6rIoTg2L.js +0 -459
  89. package/dist/page-C6giEoEd.js +0 -1935
  90. package/dist/page-DCbTxKsi.js +0 -313
  91. package/dist/page-DWO427hT.js +0 -208
  92. package/dist/page-LXu_2zm3.js +0 -137
  93. package/dist/page-aaUiVOnk.js +0 -513
  94. package/dist/page-header-RB2YFWlE.js +0 -55
  95. package/dist/page-title-CdCbiLt8.js +0 -14
  96. package/dist/panel-DDy8tUNR.js +0 -338
  97. package/dist/presence-code-BfSXr50g.js +0 -83
  98. package/dist/progress-C7cxNJA1.js +0 -83
  99. package/dist/provider-BOeYHi0n.js +0 -134
  100. package/dist/quick-report-CUVJnbKP.js +0 -416
  101. package/dist/radio-group-CZGqVbkJ.js +0 -26
  102. package/dist/retention-note-CHhA6gjY.js +0 -42
  103. package/dist/run-text-DvaO8LDF.js +0 -113
  104. package/dist/select-eNgZdZ30.js +0 -521
  105. package/dist/skeleton-6yk8Tdh5.js +0 -19
  106. package/dist/slider-DorDsoF8.js +0 -37
  107. package/dist/status-page-DAHiKM9P.js +0 -3286
  108. package/dist/switch-BqD0RH_G.js +0 -18
  109. package/dist/table-Q2-voLuw.js +0 -65
  110. package/dist/tabs-CSIucYFP.js +0 -57
  111. package/dist/theme-provider-BkRohQFU.js +0 -61
  112. package/dist/toggle-group-9Bs0Mm3r.js +0 -82
  113. package/dist/trpc-CvJUuUXp.js +0 -153
  114. package/dist/utils-CX-Pz5p6.js +0 -8
  115. package/dist/writability-BuH-spxv.js +0 -57
@@ -1,57 +0,0 @@
1
- import { createElement as e } from "react";
2
- import { jsx as t } from "react/jsx-runtime";
3
- import { ActivityIcon as n, ArrowUpDownIcon as r, BellIcon as i, BinaryIcon as a, DropletsIcon as o, FanIcon as s, FlameIcon as c, GaugeIcon as l, PercentIcon as u, PowerIcon as d, RotateCwIcon as f, ThermometerIcon as p, TimerIcon as m, WindIcon as h, ZapIcon as g } from "lucide-react";
4
- //#region src/workspace/parameters/icon.tsx
5
- var _ = [
6
- "gauge",
7
- "thermometer",
8
- "droplets",
9
- "wind",
10
- "flame",
11
- "zap",
12
- "fan",
13
- "binary",
14
- "activity",
15
- "arrow-up-down",
16
- "rotate-cw",
17
- "percent",
18
- "timer",
19
- "bell",
20
- "power"
21
- ], v = {
22
- gauge: l,
23
- thermometer: p,
24
- droplets: o,
25
- wind: h,
26
- flame: c,
27
- zap: g,
28
- fan: s,
29
- binary: a,
30
- activity: n,
31
- "arrow-up-down": r,
32
- "rotate-cw": f,
33
- percent: u,
34
- timer: m,
35
- bell: i,
36
- power: d
37
- };
38
- function y(e) {
39
- for (let t of _) if (t === e) return v[t];
40
- }
41
- function b({ icon: n, className: r, strokeWidth: i }) {
42
- if (n == null || n.trim().length === 0) return /* @__PURE__ */ t("span", {
43
- className: r,
44
- "aria-hidden": !0
45
- });
46
- let a = y(n.trim());
47
- return a ? e(a, {
48
- className: r,
49
- strokeWidth: i,
50
- "aria-hidden": !0
51
- }) : /* @__PURE__ */ t("span", {
52
- className: r,
53
- "aria-hidden": !0
54
- });
55
- }
56
- //#endregion
57
- export { b as n, _ as t };
@@ -1,214 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { r as t } from "./trpc-CvJUuUXp.js";
3
- import { m as n, n as r } from "./i18n-BgzakKoC.js";
4
- import { t as i } from "./utils-CX-Pz5p6.js";
5
- import { t as a } from "./button-6SxPBYMz.js";
6
- import { n as o } from "./skeleton-6yk8Tdh5.js";
7
- import { o as s } from "./context-u9KJQmdB.js";
8
- import { t as c } from "./page-title-CdCbiLt8.js";
9
- import { a as l, h as u, r as d, t as f } from "./dropdown-menu-DSzbBq3v.js";
10
- import { i as p, r as m, t as h } from "./tabs-CSIucYFP.js";
11
- import { r as g } from "./sections-kCOyc4NR.js";
12
- import { useEffect as _, useState as v } from "react";
13
- import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
14
- import { CheckIcon as S, ChevronDownIcon as C, CopyIcon as w, Settings2Icon as T, SparklesIcon as E } from "lucide-react";
15
- import { canWriteSetup as D } from "@overvis/hmi-shared/workspace";
16
- import { useNavigate as O } from "@tanstack/react-router";
17
- //#region src/workspace/setup/menu.tsx
18
- function k({ workspaceId: e, collapsed: t = !1, variant: r = "outline", size: o = "sm", className: s, label: c, onNavigate: p }) {
19
- let m = n(), h = O(), _ = c ?? m("setup_action");
20
- function v(t) {
21
- p?.(), h({
22
- to: t,
23
- params: { workspaceId: e }
24
- });
25
- }
26
- return /* @__PURE__ */ x(f, { children: [/* @__PURE__ */ b(u, {
27
- render: t ? /* @__PURE__ */ b(a, {
28
- type: "button",
29
- variant: r,
30
- size: "icon-sm",
31
- className: s,
32
- "aria-label": _,
33
- title: _
34
- }) : /* @__PURE__ */ b(a, {
35
- type: "button",
36
- variant: r,
37
- size: o,
38
- className: i("w-full justify-between gap-2", s)
39
- }),
40
- children: t ? /* @__PURE__ */ b(T, {}) : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x("span", {
41
- className: "inline-flex min-w-0 items-center gap-1.5",
42
- children: [/* @__PURE__ */ b(T, { className: "size-3.5 shrink-0" }), /* @__PURE__ */ b("span", {
43
- className: "truncate",
44
- children: _
45
- })]
46
- }), /* @__PURE__ */ b(C, { className: "size-3.5 shrink-0 opacity-60" })] })
47
- }), /* @__PURE__ */ b(d, {
48
- align: "start",
49
- className: "min-w-48",
50
- children: g.map((e) => /* @__PURE__ */ b(l, {
51
- onClick: () => {
52
- v(e.to);
53
- },
54
- children: e.label()
55
- }, e.id))
56
- })] });
57
- }
58
- //#endregion
59
- //#region src/workspace/pull-instructions.tsx
60
- var A = [
61
- "pnpm",
62
- "npm",
63
- "yarn"
64
- ], j = "overvis-hmi-pull-pm";
65
- function M(e) {
66
- for (let t of A) if (t === e) return !0;
67
- return !1;
68
- }
69
- function N() {
70
- try {
71
- let e = localStorage.getItem(j);
72
- if (e != null && M(e)) return e;
73
- } catch {}
74
- return "pnpm";
75
- }
76
- function P(e, t) {
77
- switch (e) {
78
- case "pnpm": return `pnpm dlx overvis-hmi pull ${t}`;
79
- case "npm": return `npx overvis-hmi pull ${t}`;
80
- case "yarn": return `yarn dlx overvis-hmi pull ${t}`;
81
- }
82
- }
83
- function F({ workspaceId: e, showHeading: i = !0 }) {
84
- let s = n(), c = r(), l = t.workspace.mintPullToken.useMutation(), [u, d] = v(!1), [f, g] = v(N);
85
- _(() => {
86
- l.mutate({ workspaceId: e });
87
- }, [e]);
88
- let y = l.data?.token, C = y == null ? void 0 : P(f, y);
89
- function T(e) {
90
- if (M(e)) {
91
- g(e);
92
- try {
93
- localStorage.setItem(j, e);
94
- } catch {}
95
- }
96
- }
97
- async function E() {
98
- if (C) try {
99
- await navigator.clipboard.writeText(C), d(!0), c.success(s("pull_command_copied")), window.setTimeout(() => {
100
- d(!1);
101
- }, 2e3);
102
- } catch {
103
- c.error(s("pull_command_copy_failed"));
104
- }
105
- }
106
- return /* @__PURE__ */ x("div", {
107
- className: "flex w-full max-w-lg flex-col gap-3 text-left",
108
- children: [i ? /* @__PURE__ */ x("div", {
109
- className: "space-y-1",
110
- children: [/* @__PURE__ */ b("h2", {
111
- className: "font-heading text-lg font-medium tracking-tight",
112
- children: s("pull_title")
113
- }), /* @__PURE__ */ b("p", {
114
- className: "text-sm text-muted-foreground",
115
- children: s("pull_description")
116
- })]
117
- }) : null, l.isPending && !y ? /* @__PURE__ */ b(o, { className: "h-20 w-full" }) : l.isError ? /* @__PURE__ */ b("p", {
118
- className: "text-sm text-destructive",
119
- children: s("pull_mint_failed")
120
- }) : C ? /* @__PURE__ */ x("div", {
121
- className: "flex flex-col gap-2",
122
- children: [
123
- /* @__PURE__ */ b(h, {
124
- value: f,
125
- onValueChange: T,
126
- children: /* @__PURE__ */ b(m, {
127
- size: "sm",
128
- children: A.map((e) => /* @__PURE__ */ b(p, {
129
- value: e,
130
- children: e
131
- }, e))
132
- })
133
- }),
134
- /* @__PURE__ */ b("pre", {
135
- className: "\n overflow-x-auto rounded-md border bg-muted/40 p-3 font-mono text-xs break-all\n whitespace-pre-wrap\n ",
136
- children: C
137
- }),
138
- /* @__PURE__ */ b("p", {
139
- className: "text-xs text-muted-foreground",
140
- children: s("pull_token_ttl_hint")
141
- }),
142
- /* @__PURE__ */ x(a, {
143
- type: "button",
144
- variant: "outline",
145
- size: "sm",
146
- className: "self-start",
147
- onClick: () => void E(),
148
- children: [b(u ? S : w, { "data-icon": "inline-start" }), s(u ? "pull_command_copied_action" : "pull_command_copy")]
149
- })
150
- ]
151
- }) : null]
152
- });
153
- }
154
- //#endregion
155
- //#region src/workspace/index-page.tsx
156
- var I = /* @__PURE__ */ e({ WorkspaceIndexPage: () => R }), L = "\n h-10 w-full gap-2 border-transparent bg-yellow-400 px-4 font-semibold text-yellow-950\n hover:bg-yellow-300\n focus-visible:border-yellow-600 focus-visible:ring-yellow-600/40\n";
157
- function R({ workspaceId: e }) {
158
- let r = n(), i = O(), { mode: l, openAssistant: u } = s(), d = t.workspace.get.useQuery({ id: e }), f = t.dashboard.list.useQuery({ workspaceId: e }), p = d.data?.access, m = p != null && D(p), h = l === "cloud" && m, g = m && u != null, v = f.data?.dashboards.find((e) => e.disabledSince == null);
159
- return _(() => {
160
- v && i({
161
- to: "/workspace/$workspaceId/d/$dashboardId",
162
- params: {
163
- workspaceId: e,
164
- dashboardId: v.id
165
- },
166
- replace: !0
167
- });
168
- }, [
169
- v,
170
- i,
171
- e
172
- ]), f.isLoading || v != null ? /* @__PURE__ */ b("div", {
173
- className: "flex flex-1 items-center justify-center p-8",
174
- children: /* @__PURE__ */ b(o, { className: "h-8 w-48" })
175
- }) : /* @__PURE__ */ b("div", {
176
- className: "flex flex-1 flex-col items-center justify-center p-8",
177
- children: /* @__PURE__ */ x("div", {
178
- className: "flex w-full max-w-md flex-col items-stretch gap-6 text-center",
179
- children: [
180
- /* @__PURE__ */ x("div", {
181
- className: "space-y-2",
182
- children: [/* @__PURE__ */ b(c, { children: r("dashboard_empty_title") }), /* @__PURE__ */ b("p", {
183
- className: "text-sm text-muted-foreground",
184
- children: r("dashboard_empty_description")
185
- })]
186
- }),
187
- /* @__PURE__ */ x("div", {
188
- className: "flex flex-col gap-2.5",
189
- children: [g ? /* @__PURE__ */ x(a, {
190
- type: "button",
191
- size: "lg",
192
- onClick: () => {
193
- u();
194
- },
195
- className: L,
196
- children: [/* @__PURE__ */ b(E, { className: "size-4" }), r("dashboard_empty_ai_setup")]
197
- }) : null, m ? /* @__PURE__ */ b(k, {
198
- workspaceId: e,
199
- variant: g ? "outline" : "default",
200
- size: "default",
201
- className: "w-full justify-between",
202
- label: r("dashboard_empty_manual_setup")
203
- }) : null]
204
- }),
205
- h ? /* @__PURE__ */ b("div", {
206
- className: "border-t pt-6 text-left",
207
- children: /* @__PURE__ */ b(F, { workspaceId: e })
208
- }) : null
209
- ]
210
- })
211
- });
212
- }
213
- //#endregion
214
- export { k as i, I as n, F as r, R as t };
@@ -1,120 +0,0 @@
1
- import { t as e } from "./utils-CX-Pz5p6.js";
2
- import { q as t } from "./spinner-C-HPNxOc.js";
3
- import "react";
4
- import { jsx as n } from "react/jsx-runtime";
5
- import { cva as r } from "class-variance-authority";
6
- import { mergeProps as i } from "@base-ui/react/merge-props";
7
- import { useRender as a } from "@base-ui/react/use-render";
8
- //#region src/ui/item.tsx
9
- function o({ className: t, ...r }) {
10
- return /* @__PURE__ */ n("div", {
11
- "data-slot": "item-group",
12
- className: e("\n group/item-group flex w-full flex-col gap-4\n has-data-[size=sm]:gap-2.5\n has-data-[size=xs]:gap-2\n ", t),
13
- ...r
14
- });
15
- }
16
- function s({ className: r, ...i }) {
17
- return /* @__PURE__ */ n(t, {
18
- "data-slot": "item-separator",
19
- orientation: "horizontal",
20
- className: e("my-2", r),
21
- ...i
22
- });
23
- }
24
- var c = r("\n group/item flex w-full flex-wrap items-center rounded-lg border text-sm transition-colors\n duration-100 outline-none\n focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50\n [a]:transition-colors\n [a]:hover:bg-muted\n ", {
25
- variants: {
26
- variant: {
27
- default: "border-transparent",
28
- outline: "border-border",
29
- muted: "border-transparent bg-muted/50"
30
- },
31
- size: {
32
- default: "gap-2.5 px-3 py-2.5",
33
- sm: "gap-2.5 px-3 py-2.5",
34
- xs: "\n gap-2 px-2.5 py-2\n in-data-[slot=dropdown-menu-content]:p-0\n "
35
- }
36
- },
37
- defaultVariants: {
38
- variant: "default",
39
- size: "default"
40
- }
41
- });
42
- function l({ className: t, variant: n = "default", size: r = "default", render: o, ...s }) {
43
- return a({
44
- defaultTagName: "div",
45
- props: i({ className: e(c({
46
- variant: n,
47
- size: r,
48
- className: t
49
- })) }, s),
50
- render: o,
51
- state: {
52
- slot: "item",
53
- variant: n,
54
- size: r
55
- }
56
- });
57
- }
58
- var u = r("\n flex shrink-0 items-center justify-center gap-2\n group-has-data-[slot=item-description]/item:translate-y-0.5\n group-has-data-[slot=item-description]/item:self-start\n [&_svg]:pointer-events-none\n ", {
59
- variants: { variant: {
60
- default: "bg-transparent",
61
- icon: "[&_svg:not([class*='size-'])]:size-4",
62
- image: "\n size-10 overflow-hidden rounded-sm\n group-data-[size=sm]/item:size-8\n group-data-[size=xs]/item:size-6\n [&_img]:size-full [&_img]:object-cover\n "
63
- } },
64
- defaultVariants: { variant: "default" }
65
- });
66
- function d({ className: t, variant: r = "default", ...i }) {
67
- return /* @__PURE__ */ n("div", {
68
- "data-slot": "item-media",
69
- "data-variant": r,
70
- className: e(u({
71
- variant: r,
72
- className: t
73
- })),
74
- ...i
75
- });
76
- }
77
- function f({ className: t, ...r }) {
78
- return /* @__PURE__ */ n("div", {
79
- "data-slot": "item-content",
80
- className: e("\n flex flex-1 flex-col gap-1\n group-data-[size=xs]/item:gap-0\n [&+[data-slot=item-content]]:flex-none\n ", t),
81
- ...r
82
- });
83
- }
84
- function p({ className: t, ...r }) {
85
- return /* @__PURE__ */ n("div", {
86
- "data-slot": "item-title",
87
- className: e("line-clamp-1 flex w-fit items-center gap-2 text-sm/snug font-medium underline-offset-4", t),
88
- ...r
89
- });
90
- }
91
- function m({ className: t, ...r }) {
92
- return /* @__PURE__ */ n("p", {
93
- "data-slot": "item-description",
94
- className: e("\n line-clamp-2 text-left text-sm/normal font-normal text-muted-foreground\n group-data-[size=xs]/item:text-xs\n [&>a]:underline [&>a]:underline-offset-4\n [&>a:hover]:text-primary\n ", t),
95
- ...r
96
- });
97
- }
98
- function h({ className: t, ...r }) {
99
- return /* @__PURE__ */ n("div", {
100
- "data-slot": "item-actions",
101
- className: e("flex items-center gap-2", t),
102
- ...r
103
- });
104
- }
105
- function g({ className: t, ...r }) {
106
- return /* @__PURE__ */ n("div", {
107
- "data-slot": "item-header",
108
- className: e("flex basis-full items-center justify-between gap-2", t),
109
- ...r
110
- });
111
- }
112
- function _({ className: t, ...r }) {
113
- return /* @__PURE__ */ n("div", {
114
- "data-slot": "item-footer",
115
- className: e("flex basis-full items-center justify-between gap-2", t),
116
- ...r
117
- });
118
- }
119
- //#endregion
120
- export { _ as a, d as c, m as i, s as l, h as n, o, f as r, g as s, l as t, p as u };