@tradalab/lyra 3.15.0 → 3.17.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/README.md +2 -2
- package/dist/blocks/index.d.ts +121 -5
- package/dist/blocks/index.js +494 -169
- package/dist/blocks/index.js.map +1 -1
- package/dist/chunk-5XFDQRXV.js +9 -0
- package/dist/chunk-5XFDQRXV.js.map +1 -0
- package/dist/chunk-A3T2BEQH.js +45 -0
- package/dist/chunk-A3T2BEQH.js.map +1 -0
- package/dist/{chunk-4ILJ3M7K.js → chunk-ASSRDIKG.js} +138 -5
- package/dist/chunk-ASSRDIKG.js.map +1 -0
- package/dist/{chunk-U4HIZXI6.js → chunk-KSF233MC.js} +3 -3
- package/dist/chunk-KSF233MC.js.map +1 -0
- package/dist/{chunk-VEWKPOMS.js → chunk-OH3OMK7A.js} +13 -3
- package/dist/{chunk-VEWKPOMS.js.map → chunk-OH3OMK7A.js.map} +1 -1
- package/dist/chunk-UAZAKUTL.js +65 -0
- package/dist/chunk-UAZAKUTL.js.map +1 -0
- package/dist/{chunk-SQELPQZU.js → chunk-UNRT3B6P.js} +6 -16
- package/dist/chunk-UNRT3B6P.js.map +1 -0
- package/dist/connection-color-DxEs04ll.d.ts +54 -0
- package/dist/data-table/index.d.ts +182 -5
- package/dist/data-table/index.js +657 -78
- package/dist/data-table/index.js.map +1 -1
- package/dist/people/index.js +26 -10
- package/dist/people/index.js.map +1 -1
- package/dist/{plate-picker-CXxUGyNz.d.ts → plate-picker-dhKLjz_6.d.ts} +1 -1
- package/dist/shell/index.d.ts +4 -2
- package/dist/shell/index.js +11 -5
- package/dist/shell/index.js.map +1 -1
- package/dist/ui/index.d.ts +18 -2
- package/dist/ui/index.js +4 -4
- package/dist/utils/index.d.ts +27 -1
- package/dist/utils/index.js +3 -1
- package/package.json +3 -1
- package/dist/chunk-4ILJ3M7K.js.map +0 -1
- package/dist/chunk-PL37KFRJ.js +0 -3
- package/dist/chunk-PL37KFRJ.js.map +0 -1
- package/dist/chunk-SQELPQZU.js.map +0 -1
- package/dist/chunk-U4HIZXI6.js.map +0 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// src/utils/fold.ts
|
|
2
|
+
var ASCII = /^[ -~]*$/;
|
|
3
|
+
function foldText(s) {
|
|
4
|
+
return ASCII.test(s) ? s.toLowerCase() : s.normalize("NFD").replace(/\p{M}/gu, "").toLowerCase().replace(/đ/g, "d");
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export { foldText };
|
|
8
|
+
//# sourceMappingURL=chunk-5XFDQRXV.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-5XFDQRXV.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/utils/fold.ts"],"names":[],"mappings":";AAAA,IAAM,KAAA,GAAQ,UAAA;AAGP,SAAS,SAAS,CAAA,EAAmB;AAC1C,EAAA,OAAO,MAAM,IAAA,CAAK,CAAC,IAAI,CAAA,CAAE,WAAA,KAAgB,CAAA,CAAE,SAAA,CAAU,KAAK,CAAA,CAAE,OAAA,CAAQ,WAAW,EAAE,CAAA,CAAE,aAAY,CAAE,OAAA,CAAQ,MAAM,GAAG,CAAA;AACpH","file":"chunk-5XFDQRXV.js","sourcesContent":["const ASCII = /^[ -~]*$/\n\n/** Lower case with accents dropped and the d with stroke read as `d`, so an unaccented query matches. */\nexport function foldText(s: string): string {\n return ASCII.test(s) ? s.toLowerCase() : s.normalize(\"NFD\").replace(/\\p{M}/gu, \"\").toLowerCase().replace(/đ/g, \"d\")\n}\n"]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { foldText } from './chunk-5XFDQRXV.js';
|
|
2
|
+
|
|
3
|
+
// src/utils/connection-color.ts
|
|
4
|
+
var CONNECTION_COLORS = {
|
|
5
|
+
red: { swatch: "bg-red-500", tint: "text-red-600 dark:text-red-400" },
|
|
6
|
+
orange: { swatch: "bg-orange-500", tint: "text-orange-600 dark:text-orange-400" },
|
|
7
|
+
amber: { swatch: "bg-amber-400", tint: "text-amber-600 dark:text-amber-400" },
|
|
8
|
+
green: { swatch: "bg-green-500", tint: "text-green-600 dark:text-green-400" },
|
|
9
|
+
teal: { swatch: "bg-teal-500", tint: "text-teal-600 dark:text-teal-400" },
|
|
10
|
+
blue: { swatch: "bg-blue-500", tint: "text-blue-600 dark:text-blue-400" },
|
|
11
|
+
violet: { swatch: "bg-violet-500", tint: "text-violet-600 dark:text-violet-400" },
|
|
12
|
+
pink: { swatch: "bg-pink-500", tint: "text-pink-600 dark:text-pink-400" }
|
|
13
|
+
};
|
|
14
|
+
var CONNECTION_COLOR_NAMES = Object.keys(CONNECTION_COLORS);
|
|
15
|
+
var ENV_FRAME = {
|
|
16
|
+
prod: "ring-2 ring-inset ring-red-500",
|
|
17
|
+
staging: "ring-2 ring-inset ring-amber-400"
|
|
18
|
+
};
|
|
19
|
+
function isConnectionColor(value) {
|
|
20
|
+
return typeof value === "string" && Object.prototype.hasOwnProperty.call(CONNECTION_COLORS, value);
|
|
21
|
+
}
|
|
22
|
+
function resolveColor(item, groups) {
|
|
23
|
+
if (!item) return void 0;
|
|
24
|
+
if (item.env === "prod") return "red";
|
|
25
|
+
if (isConnectionColor(item.color)) return item.color;
|
|
26
|
+
if (!item.group_id) return void 0;
|
|
27
|
+
const groupColor = groups.find((g) => g.id === item.group_id)?.color;
|
|
28
|
+
return isConnectionColor(groupColor) ? groupColor : void 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// src/utils/match.ts
|
|
32
|
+
function addTag(tags, tag) {
|
|
33
|
+
const t = tag.trim();
|
|
34
|
+
if (!t || tags.some((x) => x.toLowerCase() === t.toLowerCase())) return tags;
|
|
35
|
+
return [...tags, t];
|
|
36
|
+
}
|
|
37
|
+
function matchesKeyword(fields, keyword) {
|
|
38
|
+
const k = foldText(keyword.trim());
|
|
39
|
+
if (!k) return true;
|
|
40
|
+
return fields.some((f) => !!f && foldText(f).includes(k));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { CONNECTION_COLORS, CONNECTION_COLOR_NAMES, ENV_FRAME, addTag, isConnectionColor, matchesKeyword, resolveColor };
|
|
44
|
+
//# sourceMappingURL=chunk-A3T2BEQH.js.map
|
|
45
|
+
//# sourceMappingURL=chunk-A3T2BEQH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/utils/connection-color.ts","../src/utils/match.ts"],"names":[],"mappings":";;;AACO,IAAM,iBAAA,GAAoB;AAAA,EAC/B,GAAA,EAAK,EAAE,MAAA,EAAQ,YAAA,EAAc,MAAM,gCAAA,EAAiC;AAAA,EACpE,MAAA,EAAQ,EAAE,MAAA,EAAQ,eAAA,EAAiB,MAAM,sCAAA,EAAuC;AAAA,EAChF,KAAA,EAAO,EAAE,MAAA,EAAQ,cAAA,EAAgB,MAAM,oCAAA,EAAqC;AAAA,EAC5E,KAAA,EAAO,EAAE,MAAA,EAAQ,cAAA,EAAgB,MAAM,oCAAA,EAAqC;AAAA,EAC5E,IAAA,EAAM,EAAE,MAAA,EAAQ,aAAA,EAAe,MAAM,kCAAA,EAAmC;AAAA,EACxE,IAAA,EAAM,EAAE,MAAA,EAAQ,aAAA,EAAe,MAAM,kCAAA,EAAmC;AAAA,EACxE,MAAA,EAAQ,EAAE,MAAA,EAAQ,eAAA,EAAiB,MAAM,sCAAA,EAAuC;AAAA,EAChF,IAAA,EAAM,EAAE,MAAA,EAAQ,aAAA,EAAe,MAAM,kCAAA;AACvC;AAKO,IAAM,sBAAA,GAAyB,MAAA,CAAO,IAAA,CAAK,iBAAiB;AAG5D,IAAM,SAAA,GAA8C;AAAA,EACzD,IAAA,EAAM,gCAAA;AAAA,EACN,OAAA,EAAS;AACX;AAEO,SAAS,kBAAkB,KAAA,EAA0C;AAC1E,EAAA,OAAO,OAAO,UAAU,QAAA,IAAY,MAAA,CAAO,UAAU,cAAA,CAAe,IAAA,CAAK,mBAAmB,KAAK,CAAA;AACnG;AAcO,SAAS,YAAA,CAAa,MAA+B,MAAA,EAA4D;AACtH,EAAA,IAAI,CAAC,MAAM,OAAO,MAAA;AAClB,EAAA,IAAI,IAAA,CAAK,GAAA,KAAQ,MAAA,EAAQ,OAAO,KAAA;AAChC,EAAA,IAAI,iBAAA,CAAkB,IAAA,CAAK,KAAK,CAAA,SAAU,IAAA,CAAK,KAAA;AAC/C,EAAA,IAAI,CAAC,IAAA,CAAK,QAAA,EAAU,OAAO,MAAA;AAC3B,EAAA,MAAM,UAAA,GAAa,OAAO,IAAA,CAAK,CAAA,CAAA,KAAK,EAAE,EAAA,KAAO,IAAA,CAAK,QAAQ,CAAA,EAAG,KAAA;AAC7D,EAAA,OAAO,iBAAA,CAAkB,UAAU,CAAA,GAAI,UAAA,GAAa,MAAA;AACtD;;;AC3CO,SAAS,MAAA,CAAO,MAAyB,GAAA,EAAgC;AAC9E,EAAA,MAAM,CAAA,GAAI,IAAI,IAAA,EAAK;AACnB,EAAA,IAAI,CAAC,CAAA,IAAK,IAAA,CAAK,IAAA,CAAK,CAAA,CAAA,KAAK,CAAA,CAAE,WAAA,EAAY,KAAM,CAAA,CAAE,WAAA,EAAa,CAAA,EAAG,OAAO,IAAA;AACtE,EAAA,OAAO,CAAC,GAAG,IAAA,EAAM,CAAC,CAAA;AACpB;AAGO,SAAS,cAAA,CAAe,QAAgD,OAAA,EAA0B;AACvG,EAAA,MAAM,CAAA,GAAI,QAAA,CAAS,OAAA,CAAQ,IAAA,EAAM,CAAA;AACjC,EAAA,IAAI,CAAC,GAAG,OAAO,IAAA;AACf,EAAA,OAAO,MAAA,CAAO,IAAA,CAAK,CAAA,CAAA,KAAK,CAAC,CAAC,CAAA,IAAK,QAAA,CAAS,CAAC,CAAA,CAAE,QAAA,CAAS,CAAC,CAAC,CAAA;AACxD","file":"chunk-A3T2BEQH.js","sourcesContent":["/** The eight colours a saved connection or its group can carry: a dot class for pickers and a text class for icons. */\nexport const CONNECTION_COLORS = {\n red: { swatch: \"bg-red-500\", tint: \"text-red-600 dark:text-red-400\" },\n orange: { swatch: \"bg-orange-500\", tint: \"text-orange-600 dark:text-orange-400\" },\n amber: { swatch: \"bg-amber-400\", tint: \"text-amber-600 dark:text-amber-400\" },\n green: { swatch: \"bg-green-500\", tint: \"text-green-600 dark:text-green-400\" },\n teal: { swatch: \"bg-teal-500\", tint: \"text-teal-600 dark:text-teal-400\" },\n blue: { swatch: \"bg-blue-500\", tint: \"text-blue-600 dark:text-blue-400\" },\n violet: { swatch: \"bg-violet-500\", tint: \"text-violet-600 dark:text-violet-400\" },\n pink: { swatch: \"bg-pink-500\", tint: \"text-pink-600 dark:text-pink-400\" },\n} as const\n\nexport type ConnectionColor = keyof typeof CONNECTION_COLORS\n\n/** Colour names in picker order. */\nexport const CONNECTION_COLOR_NAMES = Object.keys(CONNECTION_COLORS) as ConnectionColor[]\n\n/** Ring around the work area for a connection whose `env` is listed, so the environment shows outside the sidebar too. */\nexport const ENV_FRAME: Readonly<Record<string, string>> = {\n prod: \"ring-2 ring-inset ring-red-500\",\n staging: \"ring-2 ring-inset ring-amber-400\",\n}\n\nexport function isConnectionColor(value: unknown): value is ConnectionColor {\n return typeof value === \"string\" && Object.prototype.hasOwnProperty.call(CONNECTION_COLORS, value)\n}\n\nexport interface ColorSource {\n color?: string\n group_id?: string\n env?: string\n}\n\nexport interface ColorGroup {\n id: string\n color?: string\n}\n\n/** `env: \"prod\"` is always red; otherwise the item's own colour, then its group's, else none. Unknown names count as none. */\nexport function resolveColor(item: ColorSource | undefined, groups: readonly ColorGroup[]): ConnectionColor | undefined {\n if (!item) return undefined\n if (item.env === \"prod\") return \"red\"\n if (isConnectionColor(item.color)) return item.color\n if (!item.group_id) return undefined\n const groupColor = groups.find(g => g.id === item.group_id)?.color\n return isConnectionColor(groupColor) ? groupColor : undefined\n}\n","import { foldText } from \"./fold.js\"\n\n/** Appends `tag` trimmed, unless it is empty or already there ignoring case; returns `tags` itself when nothing changes. */\nexport function addTag(tags: readonly string[], tag: string): readonly string[] {\n const t = tag.trim()\n if (!t || tags.some(x => x.toLowerCase() === t.toLowerCase())) return tags\n return [...tags, t]\n}\n\n/** True when any field contains `keyword`, ignoring case and Vietnamese marks. A blank keyword matches everything. */\nexport function matchesKeyword(fields: readonly (string | null | undefined)[], keyword: string): boolean {\n const k = foldText(keyword.trim())\n if (!k) return true\n return fields.some(f => !!f && foldText(f).includes(k))\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Separator } from './chunk-
|
|
1
|
+
import { Separator } from './chunk-UNRT3B6P.js';
|
|
2
2
|
import { PLATE_KEY, COMPACT_KEY } from './chunk-D7DMRCDY.js';
|
|
3
3
|
import { InputGroup, InputGroupInput, InputGroupAddon, InputGroupButton } from './chunk-VXW3K5O5.js';
|
|
4
4
|
import { Button, buttonVariants } from './chunk-VGOGWZCF.js';
|
|
@@ -1907,7 +1907,7 @@ function FieldLabel({
|
|
|
1907
1907
|
{
|
|
1908
1908
|
"data-slot": "field-label",
|
|
1909
1909
|
className: cn(
|
|
1910
|
-
"group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-none has-[>[data-slot=field]]:border *:data-[slot=field]:p-2 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10",
|
|
1910
|
+
"group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-none has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-1 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10",
|
|
1911
1911
|
"has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",
|
|
1912
1912
|
className
|
|
1913
1913
|
),
|
|
@@ -3909,6 +3909,139 @@ function ToggleGroupItem({
|
|
|
3909
3909
|
}
|
|
3910
3910
|
);
|
|
3911
3911
|
}
|
|
3912
|
+
function Trace({ className, ...props }) {
|
|
3913
|
+
return /* @__PURE__ */ jsx(
|
|
3914
|
+
"div",
|
|
3915
|
+
{
|
|
3916
|
+
"data-slot": "trace",
|
|
3917
|
+
className: cn(
|
|
3918
|
+
"flex w-full min-w-0 flex-col gap-2 *:has-[>[data-slot=trace-line]]:flex *:has-[>[data-slot=trace-line]]:w-fit *:has-[>[data-slot=trace-line]]:max-w-full *:has-[>[data-slot=trace-line]]:min-w-0 *:has-[>[data-slot=trace-line]]:rounded-none *:has-[>[data-slot=trace-line]]:text-left *:has-[>[data-slot=trace-line]]:outline-none *:has-[>[data-slot=trace-line]]:focus-visible:ring-1 *:has-[>[data-slot=trace-line]]:focus-visible:ring-ring/50",
|
|
3919
|
+
className
|
|
3920
|
+
),
|
|
3921
|
+
...props
|
|
3922
|
+
}
|
|
3923
|
+
);
|
|
3924
|
+
}
|
|
3925
|
+
function TraceLine({
|
|
3926
|
+
className,
|
|
3927
|
+
status,
|
|
3928
|
+
...props
|
|
3929
|
+
}) {
|
|
3930
|
+
return /* @__PURE__ */ jsx(
|
|
3931
|
+
"span",
|
|
3932
|
+
{
|
|
3933
|
+
"data-slot": "trace-line",
|
|
3934
|
+
"data-status": status,
|
|
3935
|
+
className: cn(
|
|
3936
|
+
"flex w-fit max-w-full min-w-0 items-center gap-2 text-xs text-muted-foreground transition-colors in-[a,button]:cursor-pointer in-[a:hover,button:hover]:text-foreground data-[status=error]:text-destructive data-[status=error]:in-[a:hover,button:hover]:text-destructive data-[status=pending]:opacity-60 data-[status=running]:*:data-[slot=trace-title]:shimmer",
|
|
3937
|
+
className
|
|
3938
|
+
),
|
|
3939
|
+
...props
|
|
3940
|
+
}
|
|
3941
|
+
);
|
|
3942
|
+
}
|
|
3943
|
+
function TraceIcon({ className, ...props }) {
|
|
3944
|
+
return /* @__PURE__ */ jsx(
|
|
3945
|
+
"span",
|
|
3946
|
+
{
|
|
3947
|
+
"data-slot": "trace-icon",
|
|
3948
|
+
"aria-hidden": "true",
|
|
3949
|
+
className: cn(
|
|
3950
|
+
"flex size-3.5 shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-3.5 [[data-slot=trace-title]~&]:-ml-1",
|
|
3951
|
+
className
|
|
3952
|
+
),
|
|
3953
|
+
...props
|
|
3954
|
+
}
|
|
3955
|
+
);
|
|
3956
|
+
}
|
|
3957
|
+
function TraceTitle({ className, ...props }) {
|
|
3958
|
+
return /* @__PURE__ */ jsx(
|
|
3959
|
+
"span",
|
|
3960
|
+
{
|
|
3961
|
+
"data-slot": "trace-title",
|
|
3962
|
+
className: cn("min-w-0 truncate motion-reduce:shimmer-none", className),
|
|
3963
|
+
...props
|
|
3964
|
+
}
|
|
3965
|
+
);
|
|
3966
|
+
}
|
|
3967
|
+
function TraceDescription({
|
|
3968
|
+
className,
|
|
3969
|
+
...props
|
|
3970
|
+
}) {
|
|
3971
|
+
return /* @__PURE__ */ jsx(
|
|
3972
|
+
"span",
|
|
3973
|
+
{
|
|
3974
|
+
"data-slot": "trace-description",
|
|
3975
|
+
className: cn(
|
|
3976
|
+
"shrink-0 text-muted-foreground/70 tabular-nums",
|
|
3977
|
+
className
|
|
3978
|
+
),
|
|
3979
|
+
...props
|
|
3980
|
+
}
|
|
3981
|
+
);
|
|
3982
|
+
}
|
|
3983
|
+
function TraceCollapsible({
|
|
3984
|
+
className,
|
|
3985
|
+
...props
|
|
3986
|
+
}) {
|
|
3987
|
+
return /* @__PURE__ */ jsx(
|
|
3988
|
+
Collapsible,
|
|
3989
|
+
{
|
|
3990
|
+
"data-slot": "trace-collapsible",
|
|
3991
|
+
className: cn("flex w-full min-w-0 flex-col", className),
|
|
3992
|
+
...props
|
|
3993
|
+
}
|
|
3994
|
+
);
|
|
3995
|
+
}
|
|
3996
|
+
function TraceCollapsibleTrigger({
|
|
3997
|
+
className,
|
|
3998
|
+
children,
|
|
3999
|
+
...props
|
|
4000
|
+
}) {
|
|
4001
|
+
return /* @__PURE__ */ jsxs(
|
|
4002
|
+
CollapsibleTrigger,
|
|
4003
|
+
{
|
|
4004
|
+
"data-slot": "trace-collapsible-trigger",
|
|
4005
|
+
className: cn(
|
|
4006
|
+
"group/trace-collapsible-trigger flex w-fit max-w-full min-w-0 cursor-pointer items-center gap-1 rounded-none text-left text-muted-foreground transition-colors outline-none hover:text-foreground focus-visible:ring-1 focus-visible:ring-ring/50 has-[[data-status=error]]:text-destructive",
|
|
4007
|
+
className
|
|
4008
|
+
),
|
|
4009
|
+
...props,
|
|
4010
|
+
children: [
|
|
4011
|
+
children,
|
|
4012
|
+
/* @__PURE__ */ jsx(TraceIcon, { className: "transition-transform group-aria-expanded/trace-collapsible-trigger:rotate-90", children: /* @__PURE__ */ jsx(
|
|
4013
|
+
ChevronRightIcon,
|
|
4014
|
+
{}
|
|
4015
|
+
) })
|
|
4016
|
+
]
|
|
4017
|
+
}
|
|
4018
|
+
);
|
|
4019
|
+
}
|
|
4020
|
+
function TraceCollapsibleContent({
|
|
4021
|
+
className,
|
|
4022
|
+
children,
|
|
4023
|
+
...props
|
|
4024
|
+
}) {
|
|
4025
|
+
return /* @__PURE__ */ jsx(
|
|
4026
|
+
CollapsibleContent,
|
|
4027
|
+
{
|
|
4028
|
+
"data-slot": "trace-collapsible-content",
|
|
4029
|
+
className: "min-w-0 overflow-hidden duration-200 [--radix-accordion-content-height:var(--radix-collapsible-content-height)] data-open:animate-accordion-down data-closed:animate-accordion-up",
|
|
4030
|
+
...props,
|
|
4031
|
+
children: /* @__PURE__ */ jsx(
|
|
4032
|
+
"div",
|
|
4033
|
+
{
|
|
4034
|
+
"data-slot": "trace-collapsible-content-inner",
|
|
4035
|
+
className: cn(
|
|
4036
|
+
"mt-2 mb-1 ml-[calc(--spacing(1.75)-1px)] min-w-0 border-l pr-1 pl-3.75 leading-relaxed wrap-break-word text-muted-foreground",
|
|
4037
|
+
className
|
|
4038
|
+
),
|
|
4039
|
+
children
|
|
4040
|
+
}
|
|
4041
|
+
)
|
|
4042
|
+
}
|
|
4043
|
+
);
|
|
4044
|
+
}
|
|
3912
4045
|
function ActionButton({ pending = false, icon, disabled, children, ...props }) {
|
|
3913
4046
|
return /* @__PURE__ */ jsxs(
|
|
3914
4047
|
Button,
|
|
@@ -3977,6 +4110,6 @@ function PreferenceScript() {
|
|
|
3977
4110
|
return /* @__PURE__ */ jsx("script", { dangerouslySetInnerHTML: { __html: SCRIPT } });
|
|
3978
4111
|
}
|
|
3979
4112
|
|
|
3980
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, Badge, Bubble, BubbleContent, BubbleGroup, BubbleReactions, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Container, DirectionProvider, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, HoverCard, HoverCardContent, HoverCardTrigger, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Marker, MarkerContent, MarkerIcon, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PreferenceScript, Progress, Questionnaire, QuestionnaireActions, QuestionnaireChoice, QuestionnaireChoiceDescription, QuestionnaireChoices, QuestionnaireDescription, QuestionnaireError, QuestionnaireInput, QuestionnaireItem, QuestionnaireNext, QuestionnairePrevious, QuestionnaireProgress, QuestionnaireSkip, QuestionnaireSubmit, QuestionnaireTitle, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Slider, Spinner, StatusBadge, Toast, ToastAction, ToastClose, ToastContent, ToastDescription, ToastPortal, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, badgeVariants, buttonGroupVariants, createToastManager, markerVariants, navigationMenuTriggerStyle, toast, toggleVariants, useCarousel, useComboboxAnchor, useDirection, useToastManager };
|
|
3981
|
-
//# sourceMappingURL=chunk-
|
|
3982
|
-
//# sourceMappingURL=chunk-
|
|
4113
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, Badge, Bubble, BubbleContent, BubbleGroup, BubbleReactions, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Container, DirectionProvider, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, HoverCard, HoverCardContent, HoverCardTrigger, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Marker, MarkerContent, MarkerIcon, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PreferenceScript, Progress, Questionnaire, QuestionnaireActions, QuestionnaireChoice, QuestionnaireChoiceDescription, QuestionnaireChoices, QuestionnaireDescription, QuestionnaireError, QuestionnaireInput, QuestionnaireItem, QuestionnaireNext, QuestionnairePrevious, QuestionnaireProgress, QuestionnaireSkip, QuestionnaireSubmit, QuestionnaireTitle, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Slider, Spinner, StatusBadge, Toast, ToastAction, ToastClose, ToastContent, ToastDescription, ToastPortal, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, TraceIcon, TraceLine, TraceTitle, badgeVariants, buttonGroupVariants, createToastManager, markerVariants, navigationMenuTriggerStyle, toast, toggleVariants, useCarousel, useComboboxAnchor, useDirection, useToastManager };
|
|
4114
|
+
//# sourceMappingURL=chunk-ASSRDIKG.js.map
|
|
4115
|
+
//# sourceMappingURL=chunk-ASSRDIKG.js.map
|