@ngrok/mantle 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +70 -36
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +227 -137
- package/dist/index.js.map +1 -1
- package/dist/mantle.css +490 -96
- package/package.json +54 -56
package/dist/index.js
CHANGED
|
@@ -8,13 +8,18 @@ import $hLlzK$prismjs from "prismjs";
|
|
|
8
8
|
import "prismjs/components/prism-bash.js";
|
|
9
9
|
import "prismjs/components/prism-jsx.js";
|
|
10
10
|
import "prismjs/components/prism-tsx.js";
|
|
11
|
+
import {CaretDown as $hLlzK$CaretDown} from "@phosphor-icons/react/CaretDown";
|
|
12
|
+
import {Check as $hLlzK$Check} from "@phosphor-icons/react/Check";
|
|
13
|
+
import {Copy as $hLlzK$Copy} from "@phosphor-icons/react/Copy";
|
|
11
14
|
import {useCopyToClipboard as $hLlzK$useCopyToClipboard} from "@uidotdev/usehooks";
|
|
12
15
|
import $hLlzK$tinyinvariant from "tiny-invariant";
|
|
16
|
+
import {X as $hLlzK$X} from "@phosphor-icons/react/X";
|
|
13
17
|
import {Root as $hLlzK$Root, Trigger as $hLlzK$Trigger, Close as $hLlzK$Close, Portal as $hLlzK$Portal, Overlay as $hLlzK$Overlay, Content as $hLlzK$Content, Title as $hLlzK$Title, Description as $hLlzK$Description} from "@radix-ui/react-dialog";
|
|
14
|
-
import {Cross2Icon as $hLlzK$Cross2Icon, CaretSortIcon as $hLlzK$CaretSortIcon, CheckIcon as $hLlzK$CheckIcon} from "@radix-ui/react-icons";
|
|
15
18
|
import {Root as $hLlzK$Root1, Trigger as $hLlzK$Trigger1, Portal as $hLlzK$Portal1, Content as $hLlzK$Content1} from "@radix-ui/react-popover";
|
|
16
|
-
import {
|
|
19
|
+
import {CaretUp as $hLlzK$CaretUp} from "@phosphor-icons/react/CaretUp";
|
|
20
|
+
import {Root as $hLlzK$Root2, Group as $hLlzK$Group, Value as $hLlzK$Value, Trigger as $hLlzK$Trigger2, Icon as $hLlzK$Icon, ScrollUpButton as $hLlzK$ScrollUpButton, ScrollDownButton as $hLlzK$ScrollDownButton, Portal as $hLlzK$Portal2, Content as $hLlzK$Content2, Viewport as $hLlzK$Viewport, Label as $hLlzK$Label, Item as $hLlzK$Item, ItemIndicator as $hLlzK$ItemIndicator, ItemText as $hLlzK$ItemText, Separator as $hLlzK$Separator} from "@radix-ui/react-select";
|
|
17
21
|
import {Provider as $hLlzK$Provider, Root as $hLlzK$Root3, Trigger as $hLlzK$Trigger3, Content as $hLlzK$Content3} from "@radix-ui/react-tooltip";
|
|
22
|
+
import {z as $hLlzK$z} from "zod";
|
|
18
23
|
|
|
19
24
|
// component exports
|
|
20
25
|
|
|
@@ -27,7 +32,7 @@ function $aeb027d07c362ab5$export$a274e22fb40f762e(...inputs) {
|
|
|
27
32
|
}
|
|
28
33
|
|
|
29
34
|
|
|
30
|
-
const $814757e656175971$export$86577199b2baf6c3 = (className)=>(0, $aeb027d07c362ab5$export$a274e22fb40f762e)("text-blue-600 focus-visible:ring-blue-
|
|
35
|
+
const $814757e656175971$export$86577199b2baf6c3 = (className)=>(0, $aeb027d07c362ab5$export$a274e22fb40f762e)("text-blue-600 focus-visible:ring-blue-600/25 cursor-pointer rounded bg-transparent focus:outline-none focus-visible:ring hover:underline", className);
|
|
31
36
|
/**
|
|
32
37
|
* Fundamental component for rendering links to external addresses.
|
|
33
38
|
*
|
|
@@ -52,42 +57,52 @@ $814757e656175971$export$b688253958b8dfe7.displayName = "Anchor";
|
|
|
52
57
|
|
|
53
58
|
|
|
54
59
|
|
|
55
|
-
const $e4a151af04a6a62e$export$dca1ee5a936bb312 = (0, $hLlzK$cva)("inline-flex items-center justify-center rounded-md font-medium
|
|
60
|
+
const $e4a151af04a6a62e$export$dca1ee5a936bb312 = (0, $hLlzK$cva)("inline-flex items-center justify-center rounded-md font-medium focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 h-11 sm:h-9 px-3 border whitespace-nowrap sm:text-sm", {
|
|
56
61
|
variants: {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
62
|
+
appearance: {
|
|
63
|
+
outline: "bg-white dark:bg-gray-50 border-blue-600 text-blue-600 hover:bg-blue-500/5 dark:hover:bg-blue-500/5 active:bg-blue-500/10 focus-visible:ring-blue-500/25",
|
|
64
|
+
solid: "border-transparent bg-blue-500 text-button hover:bg-blue-600 dark:hover:bg-blue-400 active:bg-blue-700 dark:active:bg-blue-300 focus-visible:border-blue-600 focus-visible:ring-blue-500/25",
|
|
65
|
+
ghost: "border-transparent text-blue-600 hover:bg-blue-500/5 active:bg-blue-500/10 focus-visible:ring-blue-500/25"
|
|
61
66
|
},
|
|
62
|
-
|
|
67
|
+
priority: {
|
|
63
68
|
default: "",
|
|
64
|
-
danger: ""
|
|
65
|
-
|
|
66
|
-
size: {
|
|
67
|
-
default: "h-10 px-4 py-2",
|
|
68
|
-
sm: "h-9 rounded-md px-3 text-sm",
|
|
69
|
-
lg: "h-12 rounded-md px-6 text-lg"
|
|
69
|
+
danger: "",
|
|
70
|
+
muted: ""
|
|
70
71
|
}
|
|
71
72
|
},
|
|
72
73
|
defaultVariants: {
|
|
73
|
-
|
|
74
|
-
size: "default"
|
|
74
|
+
appearance: "ghost"
|
|
75
75
|
},
|
|
76
76
|
compoundVariants: [
|
|
77
77
|
{
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
class: "border-
|
|
78
|
+
appearance: "ghost",
|
|
79
|
+
priority: "danger",
|
|
80
|
+
class: "border-transparent text-red-600 hover:bg-red-500/5 active:bg-red-500/10 focus-visible:ring-red-500/25"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
appearance: "outline",
|
|
84
|
+
priority: "danger",
|
|
85
|
+
class: "bg-white dark:bg-gray-50 border-red-600 text-red-600 dark:hover:bg-red-500/5 hover:bg-red-500/5 active:bg-red-500/10 focus-visible:ring-red-500/25"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
appearance: "solid",
|
|
89
|
+
priority: "danger",
|
|
90
|
+
class: "border-transparent bg-red-500 hover:bg-red-600 active:bg-red-700 focus-visible:ring-red-500/25 focus-visible:border-red-600 dark:hover:bg-red-400 dark:active:bg-red-300"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
appearance: "ghost",
|
|
94
|
+
priority: "muted",
|
|
95
|
+
class: "border-transparent text-gray-900 hover:bg-gray-500/5 active:bg-gray-500/10 focus-visible:ring-blue-500/25"
|
|
81
96
|
},
|
|
82
97
|
{
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
class: "bg-
|
|
98
|
+
appearance: "outline",
|
|
99
|
+
priority: "muted",
|
|
100
|
+
class: "bg-white dark:bg-gray-50 border-gray-300 text-gray-900 hover:bg-gray-500/5 dark:hover:bg-gray-500/5 active:bg-gray-500/10 focus-visible:ring-blue-500/25 focus-visible:border-blue-600"
|
|
86
101
|
},
|
|
87
102
|
{
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
class: "
|
|
103
|
+
appearance: "solid",
|
|
104
|
+
priority: "muted",
|
|
105
|
+
class: "border-transparent bg-gray-500 hover:bg-gray-600 active:bg-gray-700 focus-visible:ring-gray-500/25 focus-visible:border-gray-600 dark:hover:bg-gray-400 dark:active:bg-gray-300"
|
|
91
106
|
}
|
|
92
107
|
]
|
|
93
108
|
});
|
|
@@ -98,13 +113,12 @@ const $e4a151af04a6a62e$export$dca1ee5a936bb312 = (0, $hLlzK$cva)("inline-flex i
|
|
|
98
113
|
* as submitting a form or opening a dialog.
|
|
99
114
|
*
|
|
100
115
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
|
|
101
|
-
*/ const $e4a151af04a6a62e$export$353f5b6fc5456de1 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className,
|
|
116
|
+
*/ const $e4a151af04a6a62e$export$353f5b6fc5456de1 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, appearance: appearance = "ghost", priority: priority = "default", asChild: asChild = false, ...props }, ref)=>{
|
|
102
117
|
const Comp = asChild ? (0, $hLlzK$Slot) : "button";
|
|
103
118
|
return /*#__PURE__*/ (0, $hLlzK$jsx)(Comp, {
|
|
104
119
|
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)($e4a151af04a6a62e$export$dca1ee5a936bb312({
|
|
120
|
+
appearance: appearance,
|
|
105
121
|
priority: priority,
|
|
106
|
-
size: size,
|
|
107
|
-
state: state,
|
|
108
122
|
className: className
|
|
109
123
|
})),
|
|
110
124
|
ref: ref,
|
|
@@ -120,7 +134,7 @@ $e4a151af04a6a62e$export$353f5b6fc5456de1.displayName = "Button";
|
|
|
120
134
|
|
|
121
135
|
const $b9d5893769d495bc$export$60332b2344f7fe41 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, children: children, ...rest }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)("div", {
|
|
122
136
|
ref: ref,
|
|
123
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("relative rounded border bg-
|
|
137
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("relative rounded-md border border-gray-300 bg-white dark:bg-gray-50", className),
|
|
124
138
|
...rest,
|
|
125
139
|
children: children
|
|
126
140
|
}));
|
|
@@ -134,14 +148,14 @@ const $b9d5893769d495bc$export$851de33184ecdac4 = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
134
148
|
$b9d5893769d495bc$export$851de33184ecdac4.displayName = "CardBody";
|
|
135
149
|
const $b9d5893769d495bc$export$e9897d434e0741ee = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, children: children, ...rest }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)("div", {
|
|
136
150
|
ref: ref,
|
|
137
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("border-t px-6 py-3", className),
|
|
151
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("border-t border-gray-300 px-6 py-3", className),
|
|
138
152
|
...rest,
|
|
139
153
|
children: children
|
|
140
154
|
}));
|
|
141
155
|
$b9d5893769d495bc$export$e9897d434e0741ee.displayName = "CardFooter";
|
|
142
156
|
const $b9d5893769d495bc$export$5665775b26e26c5d = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, children: children, ...rest }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)("div", {
|
|
143
157
|
ref: ref,
|
|
144
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("border-b px-6 py-3", className),
|
|
158
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("border-b border-gray-300 px-6 py-3", className),
|
|
145
159
|
...rest,
|
|
146
160
|
children: children
|
|
147
161
|
}));
|
|
@@ -167,9 +181,13 @@ $b9d5893769d495bc$export$474db65c3c394e1c.displayName = "CardTitle";
|
|
|
167
181
|
|
|
168
182
|
|
|
169
183
|
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
170
187
|
/**
|
|
171
188
|
* List of supported languages for syntax highlighting.
|
|
172
|
-
|
|
189
|
+
* @private
|
|
190
|
+
*/ const $d7a3c3bf16d2f4b8$export$1c2c8674a5fbafd = [
|
|
173
191
|
"bash",
|
|
174
192
|
"cs",
|
|
175
193
|
"csharp",
|
|
@@ -195,8 +213,15 @@ $b9d5893769d495bc$export$474db65c3c394e1c.displayName = "CardTitle";
|
|
|
195
213
|
"yaml",
|
|
196
214
|
"yml"
|
|
197
215
|
];
|
|
216
|
+
function $d7a3c3bf16d2f4b8$export$dbb82c29aa7faca4(value) {
|
|
217
|
+
if (!value) return "sh";
|
|
218
|
+
// remove leading "language-" and "lang-" prefixes
|
|
219
|
+
// find first '-' and slice from there
|
|
220
|
+
const maybeLanguage = value.trim().slice(value.indexOf("-") + 1);
|
|
221
|
+
return $d7a3c3bf16d2f4b8$export$47c66070d6d6cd6d(maybeLanguage) ? maybeLanguage : "sh";
|
|
222
|
+
}
|
|
198
223
|
const $d7a3c3bf16d2f4b8$export$47c66070d6d6cd6d = (value)=>{
|
|
199
|
-
return typeof value === "string" && $d7a3c3bf16d2f4b8$
|
|
224
|
+
return typeof value === "string" && $d7a3c3bf16d2f4b8$export$1c2c8674a5fbafd.includes(value);
|
|
200
225
|
};
|
|
201
226
|
function $d7a3c3bf16d2f4b8$export$fa66e0e5413be530(language = "sh") {
|
|
202
227
|
const lang = language !== null && language !== void 0 ? language : "sh";
|
|
@@ -348,7 +373,7 @@ const $467de5d6131f2179$export$2e9b808b8155db21 = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
348
373
|
]);
|
|
349
374
|
return /*#__PURE__*/ (0, $hLlzK$jsxs)("button", {
|
|
350
375
|
type: "button",
|
|
351
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("absolute right-3 top-3 z-10 flex h-7 w-7 items-center justify-center rounded-sm border border-gray-300 bg-gray-50 shadow-[-1rem_0_0.75rem_-0.375rem_hsl(var(--gray-050)),1rem_0_0_-0.25rem_hsl(var(--gray-050))] hover:border-gray-400 hover:bg-gray-200", copied && "gap-1
|
|
376
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("absolute right-3 top-3 z-10 flex h-7 w-7 items-center justify-center rounded-sm border border-gray-300 bg-gray-50 shadow-[-1rem_0_0.75rem_-0.375rem_hsl(var(--gray-050)),1rem_0_0_-0.25rem_hsl(var(--gray-050))] hover:border-gray-400 hover:bg-gray-200 focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-blue-600/25", copied && "w-auto gap-1 border-transparent bg-green-500 pl-2 pr-1.5 text-white hover:border-transparent hover:bg-green-500 focus:bg-green-500 focus-visible:border-green-600 focus-visible:ring-green-600/25", className),
|
|
352
377
|
ref: ref,
|
|
353
378
|
style: style,
|
|
354
379
|
onClick: async ()=>{
|
|
@@ -368,9 +393,14 @@ const $467de5d6131f2179$export$2e9b808b8155db21 = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
368
393
|
copied ? /*#__PURE__*/ (0, $hLlzK$jsxs)((0, $hLlzK$Fragment), {
|
|
369
394
|
children: [
|
|
370
395
|
"Copied",
|
|
371
|
-
/*#__PURE__*/ (0, $hLlzK$jsx)($
|
|
396
|
+
/*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$Check), {
|
|
397
|
+
className: "h-4 w-4",
|
|
398
|
+
weight: "bold"
|
|
399
|
+
})
|
|
372
400
|
]
|
|
373
|
-
}) : /*#__PURE__*/ (0, $hLlzK$jsx)($
|
|
401
|
+
}) : /*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$Copy), {
|
|
402
|
+
className: "-ml-px h-5 w-5"
|
|
403
|
+
})
|
|
374
404
|
]
|
|
375
405
|
});
|
|
376
406
|
});
|
|
@@ -389,7 +419,7 @@ const $467de5d6131f2179$export$2e996d1cfaa94c3d = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
389
419
|
...props,
|
|
390
420
|
"aria-controls": codeId,
|
|
391
421
|
"aria-expanded": isCodeExpanded,
|
|
392
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("bg-gray-050 flex w-full items-center justify-center border-t border-gray-300 px-4 py-2 font-sans text-gray-700 hover:bg-gray-100", className),
|
|
422
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("bg-gray-050 flex w-full items-center justify-center gap-0.5 border-t border-gray-300 px-4 py-2 font-sans text-gray-700 hover:bg-gray-100", className),
|
|
393
423
|
ref: ref,
|
|
394
424
|
type: "button",
|
|
395
425
|
onClick: (event)=>{
|
|
@@ -399,47 +429,14 @@ const $467de5d6131f2179$export$2e996d1cfaa94c3d = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
399
429
|
children: [
|
|
400
430
|
isCodeExpanded ? "Show less" : "Show more",
|
|
401
431
|
" ",
|
|
402
|
-
/*#__PURE__*/ (0, $hLlzK$jsx)($
|
|
403
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)(isCodeExpanded && "rotate-180", "transition-all duration-150")
|
|
432
|
+
/*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$CaretDown), {
|
|
433
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("h-4 w-4", isCodeExpanded && "rotate-180", "transition-all duration-150"),
|
|
434
|
+
weight: "bold"
|
|
404
435
|
})
|
|
405
436
|
]
|
|
406
437
|
});
|
|
407
438
|
});
|
|
408
439
|
$467de5d6131f2179$export$2e996d1cfaa94c3d.displayName = "CodeBlockExpanderButton";
|
|
409
|
-
const $467de5d6131f2179$var$ExpandIcon = ({ className: className, style: style })=>/*#__PURE__*/ (0, $hLlzK$jsx)("svg", {
|
|
410
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
411
|
-
viewBox: "0 0 20 20",
|
|
412
|
-
fill: "currentColor",
|
|
413
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("relative top-px h-5 w-5 transition-transform", className),
|
|
414
|
-
style: style,
|
|
415
|
-
children: /*#__PURE__*/ (0, $hLlzK$jsx)("path", {
|
|
416
|
-
d: "M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z"
|
|
417
|
-
})
|
|
418
|
-
});
|
|
419
|
-
const $467de5d6131f2179$var$CopyIcon = ({ className: className, style: style })=>/*#__PURE__*/ (0, $hLlzK$jsx)("svg", {
|
|
420
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
421
|
-
fill: "none",
|
|
422
|
-
viewBox: "0 0 20 20",
|
|
423
|
-
strokeWidth: "{1.5}",
|
|
424
|
-
stroke: "currentColor",
|
|
425
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("h-5 w-5", className),
|
|
426
|
-
style: style,
|
|
427
|
-
children: /*#__PURE__*/ (0, $hLlzK$jsx)("path", {
|
|
428
|
-
strokeLinecap: "round",
|
|
429
|
-
strokeLinejoin: "round",
|
|
430
|
-
d: "M7.719 7.719v-3.5a1.5 1.5 0 0 1 1.5-1.5h5.562a1.5 1.5 0 0 1 1.5 1.5V12a1.5 1.5 0 0 1-1.5 1.5H11.5m-7.281 4.781H10a1.5 1.5 0 0 0 1.5-1.5V9.22a1.5 1.5 0 0 0-1.5-1.5H4.219a1.5 1.5 0 0 0-1.5 1.5v7.562a1.5 1.5 0 0 0 1.5 1.5Z"
|
|
431
|
-
})
|
|
432
|
-
});
|
|
433
|
-
const $467de5d6131f2179$var$CheckIcon = ({ className: className, style: style })=>/*#__PURE__*/ (0, $hLlzK$jsx)("svg", {
|
|
434
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
435
|
-
viewBox: "0 0 20 20",
|
|
436
|
-
fill: "currentColor",
|
|
437
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("h-5 w-5", className),
|
|
438
|
-
style: style,
|
|
439
|
-
children: /*#__PURE__*/ (0, $hLlzK$jsx)("path", {
|
|
440
|
-
d: "M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z"
|
|
441
|
-
})
|
|
442
|
-
});
|
|
443
440
|
|
|
444
441
|
|
|
445
442
|
|
|
@@ -448,17 +445,17 @@ const $467de5d6131f2179$var$CheckIcon = ({ className: className, style: style })
|
|
|
448
445
|
|
|
449
446
|
|
|
450
447
|
|
|
451
|
-
const $
|
|
452
|
-
const $
|
|
453
|
-
const $
|
|
454
|
-
const $
|
|
455
|
-
const $
|
|
456
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("fixed inset-0 z-50 bg-background/80
|
|
448
|
+
const $96ca09627b32042e$export$a9bf29f8d87ebbee = $hLlzK$Root;
|
|
449
|
+
const $96ca09627b32042e$export$de69b9b0343a1903 = $hLlzK$Trigger;
|
|
450
|
+
const $96ca09627b32042e$export$99d85c8298ee6511 = $hLlzK$Close;
|
|
451
|
+
const $96ca09627b32042e$export$721c917f47f6cb = $hLlzK$Portal;
|
|
452
|
+
const $96ca09627b32042e$export$48dbb295cbd054d8 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$Overlay, {
|
|
453
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("fixed inset-0 z-50 bg-background/80 blur data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className),
|
|
457
454
|
...props,
|
|
458
455
|
ref: ref
|
|
459
456
|
}));
|
|
460
|
-
$
|
|
461
|
-
const $
|
|
457
|
+
$96ca09627b32042e$export$48dbb295cbd054d8.displayName = $hLlzK$Overlay.displayName;
|
|
458
|
+
const $96ca09627b32042e$var$SheetVariants = (0, $hLlzK$cva)("fixed z-50 flex flex-col bg-background shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500", {
|
|
462
459
|
variants: {
|
|
463
460
|
side: {
|
|
464
461
|
top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
|
|
@@ -471,12 +468,12 @@ const $cb110289be1d8272$var$drawerVariants = (0, $hLlzK$cva)("fixed z-50 gap-4 b
|
|
|
471
468
|
side: "right"
|
|
472
469
|
}
|
|
473
470
|
});
|
|
474
|
-
const $
|
|
471
|
+
const $96ca09627b32042e$export$fe5ec5b76996e2d3 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ side: side = "right", className: className, children: children, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsxs)($96ca09627b32042e$export$721c917f47f6cb, {
|
|
475
472
|
children: [
|
|
476
|
-
/*#__PURE__*/ (0, $hLlzK$jsx)($
|
|
473
|
+
/*#__PURE__*/ (0, $hLlzK$jsx)($96ca09627b32042e$export$48dbb295cbd054d8, {}),
|
|
477
474
|
/*#__PURE__*/ (0, $hLlzK$jsxs)($hLlzK$Content, {
|
|
478
475
|
ref: ref,
|
|
479
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)($
|
|
476
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)($96ca09627b32042e$var$SheetVariants({
|
|
480
477
|
side: side
|
|
481
478
|
}), className),
|
|
482
479
|
...props,
|
|
@@ -485,8 +482,8 @@ const $cb110289be1d8272$export$57ca055474bc0056 = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
485
482
|
/*#__PURE__*/ (0, $hLlzK$jsxs)($hLlzK$Close, {
|
|
486
483
|
className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",
|
|
487
484
|
children: [
|
|
488
|
-
/*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$
|
|
489
|
-
className: "h-
|
|
485
|
+
/*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$X), {
|
|
486
|
+
className: "h-6 w-6"
|
|
490
487
|
}),
|
|
491
488
|
/*#__PURE__*/ (0, $hLlzK$jsx)("span", {
|
|
492
489
|
className: "sr-only",
|
|
@@ -498,29 +495,31 @@ const $cb110289be1d8272$export$57ca055474bc0056 = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
498
495
|
})
|
|
499
496
|
]
|
|
500
497
|
}));
|
|
501
|
-
$
|
|
502
|
-
const $
|
|
503
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("flex
|
|
498
|
+
$96ca09627b32042e$export$fe5ec5b76996e2d3.displayName = $hLlzK$Content.displayName;
|
|
499
|
+
const $96ca09627b32042e$export$8e574df6e3b8d781 = ({ className: className, ...props })=>/*#__PURE__*/ (0, $hLlzK$jsx)("div", {
|
|
500
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("flex-1 overflow-y-auto p-6", className),
|
|
501
|
+
...props
|
|
502
|
+
});
|
|
503
|
+
const $96ca09627b32042e$export$de7da2aaa45f2eb5 = ({ className: className, ...props })=>/*#__PURE__*/ (0, $hLlzK$jsx)("div", {
|
|
504
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("shrink-0 border-b border-gray-300 px-6 py-4", className),
|
|
504
505
|
...props
|
|
505
506
|
});
|
|
506
|
-
$
|
|
507
|
-
|
|
508
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className),
|
|
507
|
+
const $96ca09627b32042e$export$1adeb0155503ee5a = ({ className: className, ...props })=>/*#__PURE__*/ (0, $hLlzK$jsx)("div", {
|
|
508
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("shrink-0 border-t border-gray-300 px-6 py-2.5", className),
|
|
509
509
|
...props
|
|
510
510
|
});
|
|
511
|
-
$
|
|
512
|
-
const $cb110289be1d8272$export$ef709dfaef303e38 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$Title, {
|
|
511
|
+
const $96ca09627b32042e$export$4bb009ae36731de9 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$Title, {
|
|
513
512
|
ref: ref,
|
|
514
513
|
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("text-lg font-semibold text-gray-900", className),
|
|
515
514
|
...props
|
|
516
515
|
}));
|
|
517
|
-
$
|
|
518
|
-
const $
|
|
516
|
+
$96ca09627b32042e$export$4bb009ae36731de9.displayName = $hLlzK$Title.displayName;
|
|
517
|
+
const $96ca09627b32042e$export$2ee64bd945b80e4a = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$Description, {
|
|
519
518
|
ref: ref,
|
|
520
519
|
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("text-sm text-gray-600", className),
|
|
521
520
|
...props
|
|
522
521
|
}));
|
|
523
|
-
$
|
|
522
|
+
$96ca09627b32042e$export$2ee64bd945b80e4a.displayName = $hLlzK$Description.displayName;
|
|
524
523
|
|
|
525
524
|
|
|
526
525
|
|
|
@@ -530,7 +529,7 @@ $cb110289be1d8272$export$5ac91ab14e563b4.displayName = $hLlzK$Description.displa
|
|
|
530
529
|
* A component to render inline code.
|
|
531
530
|
*/ const $49d620f73f88e7de$export$7f1bf47c7f50a6aa = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)("code", {
|
|
532
531
|
ref: ref,
|
|
533
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("
|
|
532
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("rounded-md border border-gray-300 bg-gray-100 px-1 py-0.5 font-mono text-[0.8em] dark:border-gray-500 dark:bg-gray-200", className),
|
|
534
533
|
...props
|
|
535
534
|
}));
|
|
536
535
|
$49d620f73f88e7de$export$7f1bf47c7f50a6aa.displayName = "InlineCode";
|
|
@@ -540,12 +539,11 @@ $49d620f73f88e7de$export$7f1bf47c7f50a6aa.displayName = "InlineCode";
|
|
|
540
539
|
|
|
541
540
|
|
|
542
541
|
|
|
543
|
-
const $fd39f83d90873c05$var$inputVariants = (0, $hLlzK$cva)("flex h-
|
|
542
|
+
const $fd39f83d90873c05$var$inputVariants = (0, $hLlzK$cva)("flex h-11 sm:h-9 w-full rounded-md border bg-white dark:bg-gray-50 px-3 py-2 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 sm:text-sm", {
|
|
544
543
|
variants: {
|
|
545
544
|
state: {
|
|
546
|
-
default: "text-gray-900 border-gray-300 placeholder:text-gray-400 focus:border-blue-
|
|
547
|
-
danger: "
|
|
548
|
-
success: "text-green-900 border-green-500 placeholder:text-green-400 focus:border-green-500 focus-visible:ring-green-600/25"
|
|
545
|
+
default: "text-gray-900 border-gray-300 placeholder:text-gray-400 focus:border-blue-600 focus:ring-blue-500/25",
|
|
546
|
+
danger: "border-red-600 focus:border-red-600 focus:ring-red-500/25"
|
|
549
547
|
}
|
|
550
548
|
},
|
|
551
549
|
defaultVariants: {
|
|
@@ -631,69 +629,96 @@ $c20827da6ac8f3e9$export$d7e1f420b25549ff.displayName = $hLlzK$Content1.displayN
|
|
|
631
629
|
|
|
632
630
|
|
|
633
631
|
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
const $08d8b7c38a500c5a$export$
|
|
637
|
-
const $08d8b7c38a500c5a$export$
|
|
638
|
-
const $08d8b7c38a500c5a$export$
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
const $08d8b7c38a500c5a$export$ef9b1a59e592288f = $hLlzK$Root2;
|
|
635
|
+
const $08d8b7c38a500c5a$export$ee25a334c55de1f4 = $hLlzK$Group;
|
|
636
|
+
const $08d8b7c38a500c5a$export$e288731fd71264f0 = $hLlzK$Value;
|
|
637
|
+
const $08d8b7c38a500c5a$export$3ac1e88a1c0b9f1 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, children: children, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsxs)($hLlzK$Trigger2, {
|
|
639
638
|
ref: ref,
|
|
640
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("flex h-
|
|
639
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("flex h-11 w-full items-center justify-between rounded-md border border-gray-300 bg-white px-3 py-2 placeholder:text-gray-300 hover:bg-gray-500/5 focus:border-blue-600 focus:outline-none focus:ring-4 focus:ring-blue-500/25 disabled:pointer-events-none disabled:opacity-50 dark:bg-gray-50 dark:hover:bg-gray-500/5 sm:h-9 sm:text-sm [&>span]:line-clamp-1 [&>span]:text-left", className),
|
|
641
640
|
...props,
|
|
642
641
|
children: [
|
|
643
642
|
children,
|
|
644
|
-
|
|
643
|
+
/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$Icon, {
|
|
645
644
|
asChild: true,
|
|
646
|
-
children: /*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$
|
|
647
|
-
className: "h-4 w-4
|
|
645
|
+
children: /*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$CaretDown), {
|
|
646
|
+
className: "h-4 w-4 shrink-0",
|
|
647
|
+
weight: "bold"
|
|
648
648
|
})
|
|
649
649
|
})
|
|
650
650
|
]
|
|
651
651
|
}));
|
|
652
|
-
$08d8b7c38a500c5a$export$3ac1e88a1c0b9f1.displayName =
|
|
653
|
-
const $08d8b7c38a500c5a$export$
|
|
654
|
-
|
|
652
|
+
$08d8b7c38a500c5a$export$3ac1e88a1c0b9f1.displayName = $hLlzK$Trigger2.displayName;
|
|
653
|
+
const $08d8b7c38a500c5a$export$d8117927658af6d7 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$ScrollUpButton, {
|
|
654
|
+
ref: ref,
|
|
655
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("flex cursor-default items-center justify-center py-1", className),
|
|
656
|
+
...props,
|
|
657
|
+
children: /*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$CaretUp), {
|
|
658
|
+
className: "h-4 w-4",
|
|
659
|
+
weight: "bold"
|
|
660
|
+
})
|
|
661
|
+
}));
|
|
662
|
+
$08d8b7c38a500c5a$export$d8117927658af6d7.displayName = $hLlzK$ScrollUpButton.displayName;
|
|
663
|
+
const $08d8b7c38a500c5a$export$ff951e476c12189 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$ScrollDownButton, {
|
|
664
|
+
ref: ref,
|
|
665
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("flex cursor-default items-center justify-center py-1", className),
|
|
666
|
+
...props,
|
|
667
|
+
children: /*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$CaretDown), {
|
|
668
|
+
className: "h-4 w-4",
|
|
669
|
+
weight: "bold"
|
|
670
|
+
})
|
|
671
|
+
}));
|
|
672
|
+
$08d8b7c38a500c5a$export$ff951e476c12189.displayName = $hLlzK$ScrollDownButton.displayName;
|
|
673
|
+
const $08d8b7c38a500c5a$export$c973a4b3cb86a03d = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, children: children, position: position = "popper", ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$Portal2, {
|
|
674
|
+
children: /*#__PURE__*/ (0, $hLlzK$jsxs)($hLlzK$Content2, {
|
|
655
675
|
ref: ref,
|
|
656
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-
|
|
676
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-card text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
|
|
657
677
|
position: position,
|
|
658
678
|
...props,
|
|
659
|
-
children:
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
679
|
+
children: [
|
|
680
|
+
/*#__PURE__*/ (0, $hLlzK$jsx)($08d8b7c38a500c5a$export$d8117927658af6d7, {}),
|
|
681
|
+
/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$Viewport, {
|
|
682
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("p-1", position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
|
|
683
|
+
children: children
|
|
684
|
+
}),
|
|
685
|
+
/*#__PURE__*/ (0, $hLlzK$jsx)($08d8b7c38a500c5a$export$ff951e476c12189, {})
|
|
686
|
+
]
|
|
663
687
|
})
|
|
664
688
|
}));
|
|
665
|
-
$08d8b7c38a500c5a$export$c973a4b3cb86a03d.displayName =
|
|
666
|
-
const $08d8b7c38a500c5a$export$f67338d29bd972f8 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)(
|
|
689
|
+
$08d8b7c38a500c5a$export$c973a4b3cb86a03d.displayName = $hLlzK$Content2.displayName;
|
|
690
|
+
const $08d8b7c38a500c5a$export$f67338d29bd972f8 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$Label, {
|
|
667
691
|
ref: ref,
|
|
668
692
|
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("px-2 py-1.5 text-sm font-semibold", className),
|
|
669
693
|
...props
|
|
670
694
|
}));
|
|
671
|
-
$08d8b7c38a500c5a$export$f67338d29bd972f8.displayName =
|
|
672
|
-
const $08d8b7c38a500c5a$export$
|
|
695
|
+
$08d8b7c38a500c5a$export$f67338d29bd972f8.displayName = $hLlzK$Label.displayName;
|
|
696
|
+
const $08d8b7c38a500c5a$export$13ef48a934230896 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, children: children, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsxs)($hLlzK$Item, {
|
|
673
697
|
ref: ref,
|
|
674
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("relative flex w-full cursor-pointer items-center rounded-sm py-1.5 pl-2 pr-
|
|
698
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("relative flex w-full cursor-pointer select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-blue-600 focus:text-white data-[disabled]:pointer-events-none data-[disabled]:opacity-50", className),
|
|
675
699
|
...props,
|
|
676
700
|
children: [
|
|
677
701
|
/*#__PURE__*/ (0, $hLlzK$jsx)("span", {
|
|
678
702
|
className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
679
|
-
children: /*#__PURE__*/ (0, $hLlzK$jsx)(
|
|
680
|
-
children: /*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$
|
|
681
|
-
className: "h-4 w-4"
|
|
703
|
+
children: /*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$ItemIndicator, {
|
|
704
|
+
children: /*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$Check), {
|
|
705
|
+
className: "h-4 w-4",
|
|
706
|
+
weight: "bold"
|
|
682
707
|
})
|
|
683
708
|
})
|
|
684
709
|
}),
|
|
685
|
-
/*#__PURE__*/ (0, $hLlzK$jsx)(
|
|
710
|
+
/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$ItemText, {
|
|
686
711
|
children: children
|
|
687
712
|
})
|
|
688
713
|
]
|
|
689
714
|
}));
|
|
690
|
-
$08d8b7c38a500c5a$export$
|
|
691
|
-
const $08d8b7c38a500c5a$export$eba4b1df07cb1d3 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)(
|
|
715
|
+
$08d8b7c38a500c5a$export$13ef48a934230896.displayName = $hLlzK$Item.displayName;
|
|
716
|
+
const $08d8b7c38a500c5a$export$eba4b1df07cb1d3 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$Separator, {
|
|
692
717
|
ref: ref,
|
|
693
718
|
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("-mx-1 my-1 h-px bg-muted", className),
|
|
694
719
|
...props
|
|
695
720
|
}));
|
|
696
|
-
$08d8b7c38a500c5a$export$eba4b1df07cb1d3.displayName =
|
|
721
|
+
$08d8b7c38a500c5a$export$eba4b1df07cb1d3.displayName = $hLlzK$Separator.displayName;
|
|
697
722
|
|
|
698
723
|
|
|
699
724
|
|
|
@@ -720,7 +745,7 @@ const $8a0ec98a1adff889$export$54ec01a60f47d33d = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
720
745
|
$8a0ec98a1adff889$export$54ec01a60f47d33d.displayName = "Table";
|
|
721
746
|
const $8a0ec98a1adff889$export$f850895b287ef28e = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)("thead", {
|
|
722
747
|
ref: ref,
|
|
723
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("[&_tr]:border-b
|
|
748
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("bg-background [&_tr]:border-b", className),
|
|
724
749
|
...props
|
|
725
750
|
}));
|
|
726
751
|
$8a0ec98a1adff889$export$f850895b287ef28e.displayName = "TableHeader";
|
|
@@ -732,13 +757,13 @@ const $8a0ec98a1adff889$export$76ccd210b9029917 = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
732
757
|
$8a0ec98a1adff889$export$76ccd210b9029917.displayName = "TableBody";
|
|
733
758
|
const $8a0ec98a1adff889$export$1f116082bba1f9a8 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)("tfoot", {
|
|
734
759
|
ref: ref,
|
|
735
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("border-t bg-
|
|
760
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("border-t border-gray-300 bg-gray-50/50 font-medium [&>tr]:last:border-b-0", className),
|
|
736
761
|
...props
|
|
737
762
|
}));
|
|
738
763
|
$8a0ec98a1adff889$export$1f116082bba1f9a8.displayName = "TableFooter";
|
|
739
764
|
const $8a0ec98a1adff889$export$b05581f4e764e162 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)("tr", {
|
|
740
765
|
ref: ref,
|
|
741
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("border-b hover:bg-muted/50 data-[state=selected]:bg-muted", className),
|
|
766
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("border-b border-gray-300 hover:bg-muted/50 data-[state=selected]:bg-muted", className),
|
|
742
767
|
...props
|
|
743
768
|
}));
|
|
744
769
|
$8a0ec98a1adff889$export$b05581f4e764e162.displayName = "TableRow";
|
|
@@ -756,7 +781,7 @@ const $8a0ec98a1adff889$export$1e4baea7053fc0e3 = /*#__PURE__*/ (0, $hLlzK$forwa
|
|
|
756
781
|
$8a0ec98a1adff889$export$1e4baea7053fc0e3.displayName = "TableCell";
|
|
757
782
|
const $8a0ec98a1adff889$export$35468a455d619eb3 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)("caption", {
|
|
758
783
|
ref: ref,
|
|
759
|
-
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("
|
|
784
|
+
className: (0, $aeb027d07c362ab5$export$a274e22fb40f762e)("border-t border-gray-300 py-4 text-sm text-gray-500", className),
|
|
760
785
|
...props
|
|
761
786
|
}));
|
|
762
787
|
$8a0ec98a1adff889$export$35468a455d619eb3.displayName = "TableCaption";
|
|
@@ -979,7 +1004,72 @@ function $fcf2a9f2608e06c6$export$6565f9f03506010b(strings, ...values) {
|
|
|
979
1004
|
|
|
980
1005
|
|
|
981
1006
|
|
|
1007
|
+
const $3a9419b35016ff92$var$modes = [
|
|
1008
|
+
"file",
|
|
1009
|
+
"cli"
|
|
1010
|
+
];
|
|
1011
|
+
const $3a9419b35016ff92$var$metaSchema = (0, $hLlzK$z).object({
|
|
1012
|
+
collapsible: (0, $hLlzK$z).boolean().default(false),
|
|
1013
|
+
disableCopy: (0, $hLlzK$z).boolean().default(false),
|
|
1014
|
+
mode: (0, $hLlzK$z).enum($3a9419b35016ff92$var$modes).optional(),
|
|
1015
|
+
title: (0, $hLlzK$z).string().trim().optional()
|
|
1016
|
+
});
|
|
1017
|
+
const $3a9419b35016ff92$export$63f5d3298ab11b24 = {
|
|
1018
|
+
collapsible: false,
|
|
1019
|
+
disableCopy: false,
|
|
1020
|
+
mode: undefined,
|
|
1021
|
+
title: undefined
|
|
1022
|
+
};
|
|
1023
|
+
function $3a9419b35016ff92$export$2b83d7916142717(value) {
|
|
1024
|
+
var _value_trim;
|
|
1025
|
+
const metastring = (_value_trim = value === null || value === void 0 ? void 0 : value.trim()) !== null && _value_trim !== void 0 ? _value_trim : "";
|
|
1026
|
+
if (!metastring) return $3a9419b35016ff92$export$63f5d3298ab11b24;
|
|
1027
|
+
const metaJson = $3a9419b35016ff92$export$3b54394b2741a26c(metastring).reduce((acc, token)=>{
|
|
1028
|
+
const [key, _value] = token.split("=");
|
|
1029
|
+
if (!key) return acc;
|
|
1030
|
+
const value = $3a9419b35016ff92$export$3626aedd0f1137ab(_value);
|
|
1031
|
+
acc[key] = value !== null && value !== void 0 ? value : true;
|
|
1032
|
+
return acc;
|
|
1033
|
+
}, {});
|
|
1034
|
+
try {
|
|
1035
|
+
const parsed = $3a9419b35016ff92$var$metaSchema.parse(metaJson);
|
|
1036
|
+
// return the parsed meta object, with default values filled in
|
|
1037
|
+
return {
|
|
1038
|
+
...$3a9419b35016ff92$export$63f5d3298ab11b24,
|
|
1039
|
+
...parsed
|
|
1040
|
+
};
|
|
1041
|
+
} catch (_) {
|
|
1042
|
+
return $3a9419b35016ff92$export$63f5d3298ab11b24;
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
function $3a9419b35016ff92$export$3626aedd0f1137ab(value) {
|
|
1046
|
+
return value === null || value === void 0 ? void 0 : value.trim().replace(/^"(.*)"$/, "$1");
|
|
1047
|
+
}
|
|
1048
|
+
function $3a9419b35016ff92$export$3b54394b2741a26c(value) {
|
|
1049
|
+
var _value_trim;
|
|
1050
|
+
const input = (_value_trim = value === null || value === void 0 ? void 0 : value.trim()) !== null && _value_trim !== void 0 ? _value_trim : "";
|
|
1051
|
+
const result = [];
|
|
1052
|
+
let currentString = "";
|
|
1053
|
+
let inQuotes = false;
|
|
1054
|
+
for (const char of input){
|
|
1055
|
+
if (char === " " && !inQuotes) {
|
|
1056
|
+
if (currentString) {
|
|
1057
|
+
result.push(currentString);
|
|
1058
|
+
currentString = "";
|
|
1059
|
+
}
|
|
1060
|
+
} else if (char === '"') {
|
|
1061
|
+
inQuotes = !inQuotes;
|
|
1062
|
+
currentString += char;
|
|
1063
|
+
} else currentString += char;
|
|
1064
|
+
}
|
|
1065
|
+
if (currentString) result.push(currentString);
|
|
1066
|
+
return result;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
|
|
982
1072
|
|
|
983
1073
|
|
|
984
|
-
export {$814757e656175971$export$b688253958b8dfe7 as Anchor, $814757e656175971$export$86577199b2baf6c3 as anchorClassNames, $e4a151af04a6a62e$export$353f5b6fc5456de1 as Button, $b9d5893769d495bc$export$60332b2344f7fe41 as Card, $b9d5893769d495bc$export$851de33184ecdac4 as CardBody, $b9d5893769d495bc$export$e9897d434e0741ee as CardFooter, $b9d5893769d495bc$export$5665775b26e26c5d as CardHeader, $b9d5893769d495bc$export$474db65c3c394e1c as CardTitle, $467de5d6131f2179$export$6c415d1fdae3dfdb as CodeBlock, $467de5d6131f2179$export$7e83364d3e7fd36a as CodeBlockBody, $467de5d6131f2179$export$1c41328978c69a88 as CodeBlockCode, $467de5d6131f2179$export$2e9b808b8155db21 as CodeBlockCopyButton, $467de5d6131f2179$export$2e996d1cfaa94c3d as CodeBlockExpanderButton, $467de5d6131f2179$export$b351deb59183780 as CodeBlockHeader, $467de5d6131f2179$export$b5654939a1e891d as CodeBlockTitle, $
|
|
1074
|
+
export {$814757e656175971$export$b688253958b8dfe7 as Anchor, $814757e656175971$export$86577199b2baf6c3 as anchorClassNames, $e4a151af04a6a62e$export$353f5b6fc5456de1 as Button, $b9d5893769d495bc$export$60332b2344f7fe41 as Card, $b9d5893769d495bc$export$851de33184ecdac4 as CardBody, $b9d5893769d495bc$export$e9897d434e0741ee as CardFooter, $b9d5893769d495bc$export$5665775b26e26c5d as CardHeader, $b9d5893769d495bc$export$474db65c3c394e1c as CardTitle, $467de5d6131f2179$export$6c415d1fdae3dfdb as CodeBlock, $467de5d6131f2179$export$7e83364d3e7fd36a as CodeBlockBody, $467de5d6131f2179$export$1c41328978c69a88 as CodeBlockCode, $467de5d6131f2179$export$2e9b808b8155db21 as CodeBlockCopyButton, $467de5d6131f2179$export$2e996d1cfaa94c3d as CodeBlockExpanderButton, $467de5d6131f2179$export$b351deb59183780 as CodeBlockHeader, $467de5d6131f2179$export$b5654939a1e891d as CodeBlockTitle, $96ca09627b32042e$export$a9bf29f8d87ebbee as Sheet, $96ca09627b32042e$export$8e574df6e3b8d781 as SheetBody, $96ca09627b32042e$export$99d85c8298ee6511 as SheetClose, $96ca09627b32042e$export$fe5ec5b76996e2d3 as SheetContent, $96ca09627b32042e$export$2ee64bd945b80e4a as SheetDescription, $96ca09627b32042e$export$1adeb0155503ee5a as SheetFooter, $96ca09627b32042e$export$de7da2aaa45f2eb5 as SheetHeader, $96ca09627b32042e$export$48dbb295cbd054d8 as SheetOverlay, $96ca09627b32042e$export$721c917f47f6cb as SheetPortal, $96ca09627b32042e$export$4bb009ae36731de9 as SheetTitle, $96ca09627b32042e$export$de69b9b0343a1903 as SheetTrigger, $49d620f73f88e7de$export$7f1bf47c7f50a6aa as InlineCode, $fd39f83d90873c05$export$f5b8910cec6cf069 as Input, $ae2faa0cd0fa65f5$export$c5be64db09f93414 as MediaObject, $ae2faa0cd0fa65f5$export$a850f92726a1f836 as MediaObjectMedia, $ae2faa0cd0fa65f5$export$8d93ffc9d5ebcf0c as MediaObjectContent, $c20827da6ac8f3e9$export$5b6b19405a83ff9d as Popover, $c20827da6ac8f3e9$export$7dacb05d26466c3 as PopoverTrigger, $c20827da6ac8f3e9$export$d7e1f420b25549ff as PopoverContent, $08d8b7c38a500c5a$export$ef9b1a59e592288f as Select, $08d8b7c38a500c5a$export$c973a4b3cb86a03d as SelectContent, $08d8b7c38a500c5a$export$ee25a334c55de1f4 as SelectGroup, $08d8b7c38a500c5a$export$f67338d29bd972f8 as SelectLabel, $08d8b7c38a500c5a$export$13ef48a934230896 as SelectItem, $08d8b7c38a500c5a$export$eba4b1df07cb1d3 as SelectSeparator, $08d8b7c38a500c5a$export$3ac1e88a1c0b9f1 as SelectTrigger, $08d8b7c38a500c5a$export$e288731fd71264f0 as SelectValue, $e4ab606c19eb58c8$export$8f31e4c4a37b8e9c as Skeleton, $8a0ec98a1adff889$export$54ec01a60f47d33d as Table, $8a0ec98a1adff889$export$f850895b287ef28e as TableHeader, $8a0ec98a1adff889$export$76ccd210b9029917 as TableBody, $8a0ec98a1adff889$export$1f116082bba1f9a8 as TableFooter, $8a0ec98a1adff889$export$2f4a7be4f0dcc2 as TableHead, $8a0ec98a1adff889$export$b05581f4e764e162 as TableRow, $8a0ec98a1adff889$export$1e4baea7053fc0e3 as TableCell, $8a0ec98a1adff889$export$35468a455d619eb3 as TableCaption, $1139165ac42b5b24$export$2d1315cd4e7dcc1 as PreventWrongThemeFlash, $1139165ac42b5b24$export$d8964aec282183a3 as ThemeProvider, $d2d52c6753841931$export$28c660c63b792dea as Tooltip, $d2d52c6753841931$export$8c610744efcf8a1d as TooltipTrigger, $d2d52c6753841931$export$e9003e2be37ec060 as TooltipContent, $d2d52c6753841931$export$f78649fb9ca566b8 as TooltipProvider, $fcf2a9f2608e06c6$export$6565f9f03506010b as code, $3a9419b35016ff92$export$2b83d7916142717 as parseMetastring, $d7a3c3bf16d2f4b8$export$47c66070d6d6cd6d as isSupportedLanguage, $d7a3c3bf16d2f4b8$export$dbb82c29aa7faca4 as parseLanguage, $aeb027d07c362ab5$export$a274e22fb40f762e as cx, $1139165ac42b5b24$export$6b08dcdbd4008308 as isTheme, $1139165ac42b5b24$export$bca14c5b3b88a9c9 as theme, $1139165ac42b5b24$export$93d4e7f90805808f as useTheme};
|
|
985
1075
|
//# sourceMappingURL=index.js.map
|