haze-ui 1.5.6 → 1.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.
- package/dist/components/Affix/Affix.js +22 -0
- package/dist/components/Alert/Alert.js +14 -10
- package/dist/components/ApprovalCard/ApprovalCard.js +42 -0
- package/dist/components/AspectRatio/AspectRatio.js +17 -0
- package/dist/components/BackToTop/BackToTop.js +28 -0
- package/dist/components/Banner/Banner.js +36 -0
- package/dist/components/BottomSheet/BottomSheet.js +22 -0
- package/dist/components/ChatContainer/ChatContainer.js +25 -0
- package/dist/components/ChatInput/ChatInput.js +45 -0
- package/dist/components/ChatMessage/ChatMessage.js +45 -0
- package/dist/components/Chip/Chip.js +42 -0
- package/dist/components/CodeBlock/CodeBlock.js +19 -0
- package/dist/components/Collapsible/Collapsible.js +46 -0
- package/dist/components/ColorPicker/ColorPicker.js +45 -0
- package/dist/components/Combobox/Combobox.js +23 -23
- package/dist/components/Command/Command.js +58 -0
- package/dist/components/ConfirmDialog/ConfirmDialog.js +51 -0
- package/dist/components/Container/Container.js +23 -0
- package/dist/components/ContextMenu/ContextMenu.js +42 -0
- package/dist/components/ContextMenu/ContextMenuContent.js +19 -0
- package/dist/components/ContextMenu/ContextMenuContext.js +10 -0
- package/dist/components/ContextMenu/ContextMenuItem.js +20 -0
- package/dist/components/ContextMenu/ContextMenuSeparator.js +13 -0
- package/dist/components/ContextMenu/ContextMenuTrigger.js +18 -0
- package/dist/components/ConversationList/ConversationItem.js +32 -0
- package/dist/components/ConversationList/ConversationList.js +13 -0
- package/dist/components/DateRangePicker/DateRangePicker.js +38 -0
- package/dist/components/Datepicker/Datepicker.js +9 -9
- package/dist/components/DiffViewer/DiffViewer.js +81 -0
- package/dist/components/Divider/Divider.js +25 -0
- package/dist/components/Drawer/Drawer.js +35 -0
- package/dist/components/DropdownMenu/DropdownMenu.js +37 -0
- package/dist/components/DropdownMenu/DropdownMenuContent.js +23 -0
- package/dist/components/DropdownMenu/DropdownMenuContext.js +10 -0
- package/dist/components/DropdownMenu/DropdownMenuItem.js +20 -0
- package/dist/components/DropdownMenu/DropdownMenuSeparator.js +13 -0
- package/dist/components/DropdownMenu/DropdownMenuTrigger.js +17 -0
- package/dist/components/Empty/Empty.js +67 -0
- package/dist/components/Grid/Grid.js +17 -0
- package/dist/components/Grid/GridItem.js +11 -0
- package/dist/components/InlineEdit/InlineEdit.js +45 -0
- package/dist/components/LogViewer/LogViewer.js +65 -0
- package/dist/components/MarkdownRenderer/MarkdownRenderer.js +24 -0
- package/dist/components/ModelPicker/ModelPicker.js +26 -0
- package/dist/components/NavigationBar/NavLink.js +22 -0
- package/dist/components/NavigationBar/NavigationBar.js +26 -0
- package/dist/components/OTPInput/OTPInput.js +50 -0
- package/dist/components/Pagination/Pagination.js +58 -0
- package/dist/components/PasswordInput/PasswordInput.js +32 -0
- package/dist/components/Progress/Progress.js +83 -0
- package/dist/components/Rating/Rating.js +49 -0
- package/dist/components/Resizable/Resizable.js +56 -0
- package/dist/components/ScrollArea/ScrollArea.js +14 -0
- package/dist/components/Segmented/Segmented.js +42 -0
- package/dist/components/Spinner/Spinner.js +39 -0
- package/dist/components/Stat/Stat.js +52 -0
- package/dist/components/StepTimeline/StepTimeline.js +36 -0
- package/dist/components/Stepper/Step.js +38 -0
- package/dist/components/Stepper/Stepper.js +25 -0
- package/dist/components/Stepper/StepperContext.js +10 -0
- package/dist/components/StreamingText/StreamingText.js +34 -0
- package/dist/components/SwipeAction/SwipeAction.js +45 -0
- package/dist/components/Table/Table.js +14 -11
- package/dist/components/TagGroup/TagGroup.js +14 -0
- package/dist/components/TagGroup/TagGroupItem.js +19 -0
- package/dist/components/TagInput/TagInput.js +51 -0
- package/dist/components/ThinkingIndicator/ThinkingIndicator.js +20 -0
- package/dist/components/TimePicker/TimePicker.js +22 -0
- package/dist/components/Timeline/Timeline.js +47 -0
- package/dist/components/TokenCounter/TokenCounter.js +30 -0
- package/dist/components/ToolCallCard/ToolCallCard.js +57 -0
- package/dist/components/Transfer/Transfer.js +93 -0
- package/dist/components/Typography/Typography.js +49 -0
- package/dist/components/Upload/Upload.js +58 -0
- package/dist/components/VirtualList/VirtualList.js +36 -0
- package/dist/haze-ui.css +1 -1
- package/dist/index.js +70 -2
- package/dist/types/components/Affix/Affix.d.ts +10 -0
- package/dist/types/components/Affix/index.d.ts +2 -0
- package/dist/types/components/Alert/Alert.d.ts +4 -1
- package/dist/types/components/ApprovalCard/ApprovalCard.d.ts +13 -0
- package/dist/types/components/ApprovalCard/index.d.ts +2 -0
- package/dist/types/components/AspectRatio/AspectRatio.d.ts +8 -0
- package/dist/types/components/AspectRatio/index.d.ts +2 -0
- package/dist/types/components/BackToTop/BackToTop.d.ts +7 -0
- package/dist/types/components/BackToTop/index.d.ts +2 -0
- package/dist/types/components/Banner/Banner.d.ts +11 -0
- package/dist/types/components/Banner/index.d.ts +2 -0
- package/dist/types/components/BottomSheet/BottomSheet.d.ts +10 -0
- package/dist/types/components/BottomSheet/index.d.ts +2 -0
- package/dist/types/components/ChatContainer/ChatContainer.d.ts +8 -0
- package/dist/types/components/ChatContainer/index.d.ts +2 -0
- package/dist/types/components/ChatInput/ChatInput.d.ts +11 -0
- package/dist/types/components/ChatInput/index.d.ts +2 -0
- package/dist/types/components/ChatMessage/ChatMessage.d.ts +13 -0
- package/dist/types/components/ChatMessage/index.d.ts +2 -0
- package/dist/types/components/Chip/Chip.d.ts +11 -0
- package/dist/types/components/Chip/index.d.ts +2 -0
- package/dist/types/components/CodeBlock/CodeBlock.d.ts +8 -0
- package/dist/types/components/CodeBlock/index.d.ts +2 -0
- package/dist/types/components/Collapsible/Collapsible.d.ts +20 -0
- package/dist/types/components/Collapsible/index.d.ts +2 -0
- package/dist/types/components/ColorPicker/ColorPicker.d.ts +9 -0
- package/dist/types/components/ColorPicker/index.d.ts +2 -0
- package/dist/types/components/Combobox/Combobox.d.ts +2 -1
- package/dist/types/components/Command/Command.d.ts +25 -0
- package/dist/types/components/Command/index.d.ts +2 -0
- package/dist/types/components/ConfirmDialog/ConfirmDialog.d.ts +16 -0
- package/dist/types/components/ConfirmDialog/index.d.ts +2 -0
- package/dist/types/components/Container/Container.d.ts +8 -0
- package/dist/types/components/Container/index.d.ts +2 -0
- package/dist/types/components/ContextMenu/ContextMenu.d.ts +10 -0
- package/dist/types/components/ContextMenu/ContextMenuContent.d.ts +7 -0
- package/dist/types/components/ContextMenu/ContextMenuContext.d.ts +11 -0
- package/dist/types/components/ContextMenu/ContextMenuItem.d.ts +9 -0
- package/dist/types/components/ContextMenu/ContextMenuSeparator.d.ts +5 -0
- package/dist/types/components/ContextMenu/ContextMenuTrigger.d.ts +7 -0
- package/dist/types/components/ContextMenu/index.d.ts +10 -0
- package/dist/types/components/ConversationList/ConversationItem.d.ts +11 -0
- package/dist/types/components/ConversationList/ConversationList.d.ts +7 -0
- package/dist/types/components/ConversationList/index.d.ts +4 -0
- package/dist/types/components/DateRangePicker/DateRangePicker.d.ts +12 -0
- package/dist/types/components/DateRangePicker/index.d.ts +2 -0
- package/dist/types/components/Datepicker/Datepicker.d.ts +2 -1
- package/dist/types/components/DiffViewer/DiffViewer.d.ts +13 -0
- package/dist/types/components/DiffViewer/index.d.ts +2 -0
- package/dist/types/components/Divider/Divider.d.ts +6 -0
- package/dist/types/components/Divider/index.d.ts +2 -0
- package/dist/types/components/Drawer/Drawer.d.ts +11 -0
- package/dist/types/components/Drawer/index.d.ts +2 -0
- package/dist/types/components/DropdownMenu/DropdownMenu.d.ts +10 -0
- package/dist/types/components/DropdownMenu/DropdownMenuContent.d.ts +8 -0
- package/dist/types/components/DropdownMenu/DropdownMenuContext.d.ts +8 -0
- package/dist/types/components/DropdownMenu/DropdownMenuItem.d.ts +9 -0
- package/dist/types/components/DropdownMenu/DropdownMenuSeparator.d.ts +5 -0
- package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts +7 -0
- package/dist/types/components/DropdownMenu/index.d.ts +10 -0
- package/dist/types/components/Empty/Empty.d.ts +9 -0
- package/dist/types/components/Empty/index.d.ts +2 -0
- package/dist/types/components/Grid/Grid.d.ts +9 -0
- package/dist/types/components/Grid/GridItem.d.ts +9 -0
- package/dist/types/components/Grid/index.d.ts +4 -0
- package/dist/types/components/InlineEdit/InlineEdit.d.ts +10 -0
- package/dist/types/components/InlineEdit/index.d.ts +2 -0
- package/dist/types/components/LogViewer/LogViewer.d.ts +14 -0
- package/dist/types/components/LogViewer/index.d.ts +2 -0
- package/dist/types/components/MarkdownRenderer/MarkdownRenderer.d.ts +6 -0
- package/dist/types/components/MarkdownRenderer/index.d.ts +2 -0
- package/dist/types/components/ModelPicker/ModelPicker.d.ts +16 -0
- package/dist/types/components/ModelPicker/index.d.ts +2 -0
- package/dist/types/components/NavigationBar/NavLink.d.ts +10 -0
- package/dist/types/components/NavigationBar/NavigationBar.d.ts +9 -0
- package/dist/types/components/NavigationBar/index.d.ts +4 -0
- package/dist/types/components/OTPInput/OTPInput.d.ts +9 -0
- package/dist/types/components/OTPInput/index.d.ts +2 -0
- package/dist/types/components/Pagination/Pagination.d.ts +11 -0
- package/dist/types/components/Pagination/index.d.ts +2 -0
- package/dist/types/components/PasswordInput/PasswordInput.d.ts +10 -0
- package/dist/types/components/PasswordInput/index.d.ts +2 -0
- package/dist/types/components/Progress/Progress.d.ts +9 -0
- package/dist/types/components/Progress/index.d.ts +2 -0
- package/dist/types/components/Rating/Rating.d.ts +10 -0
- package/dist/types/components/Rating/index.d.ts +2 -0
- package/dist/types/components/Resizable/Resizable.d.ts +18 -0
- package/dist/types/components/Resizable/index.d.ts +2 -0
- package/dist/types/components/ScrollArea/ScrollArea.d.ts +8 -0
- package/dist/types/components/ScrollArea/index.d.ts +2 -0
- package/dist/types/components/Segmented/Segmented.d.ts +16 -0
- package/dist/types/components/Segmented/index.d.ts +2 -0
- package/dist/types/components/Spinner/Spinner.d.ts +6 -0
- package/dist/types/components/Spinner/index.d.ts +2 -0
- package/dist/types/components/Stat/Stat.d.ts +18 -0
- package/dist/types/components/Stat/index.d.ts +2 -0
- package/dist/types/components/StepTimeline/StepTimeline.d.ts +17 -0
- package/dist/types/components/StepTimeline/index.d.ts +2 -0
- package/dist/types/components/Stepper/Step.d.ts +8 -0
- package/dist/types/components/Stepper/Stepper.d.ts +9 -0
- package/dist/types/components/Stepper/StepperContext.d.ts +9 -0
- package/dist/types/components/Stepper/index.d.ts +4 -0
- package/dist/types/components/StreamingText/StreamingText.d.ts +9 -0
- package/dist/types/components/StreamingText/index.d.ts +2 -0
- package/dist/types/components/SwipeAction/SwipeAction.d.ts +12 -0
- package/dist/types/components/SwipeAction/index.d.ts +2 -0
- package/dist/types/components/TagGroup/TagGroup.d.ts +7 -0
- package/dist/types/components/TagGroup/TagGroupItem.d.ts +8 -0
- package/dist/types/components/TagGroup/index.d.ts +4 -0
- package/dist/types/components/TagInput/TagInput.d.ts +11 -0
- package/dist/types/components/TagInput/index.d.ts +2 -0
- package/dist/types/components/ThinkingIndicator/ThinkingIndicator.d.ts +6 -0
- package/dist/types/components/ThinkingIndicator/index.d.ts +2 -0
- package/dist/types/components/TimePicker/TimePicker.d.ts +10 -0
- package/dist/types/components/TimePicker/index.d.ts +2 -0
- package/dist/types/components/Timeline/Timeline.d.ts +15 -0
- package/dist/types/components/Timeline/index.d.ts +2 -0
- package/dist/types/components/TokenCounter/TokenCounter.d.ts +8 -0
- package/dist/types/components/TokenCounter/index.d.ts +2 -0
- package/dist/types/components/ToolCallCard/ToolCallCard.d.ts +11 -0
- package/dist/types/components/ToolCallCard/index.d.ts +2 -0
- package/dist/types/components/Transfer/Transfer.d.ts +14 -0
- package/dist/types/components/Transfer/index.d.ts +2 -0
- package/dist/types/components/Typography/Typography.d.ts +22 -0
- package/dist/types/components/Typography/index.d.ts +2 -0
- package/dist/types/components/Upload/Upload.d.ts +10 -0
- package/dist/types/components/Upload/index.d.ts +2 -0
- package/dist/types/components/VirtualList/VirtualList.d.ts +10 -0
- package/dist/types/components/VirtualList/index.d.ts +2 -0
- package/dist/types/index.d.ts +110 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { classnames as e } from "babel-runtime-jsx-plus";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
import { useControl as n } from "react-use-control";
|
|
5
|
+
//#region src/lib/components/Segmented/Segmented.tsx
|
|
6
|
+
var r = "haze-Segmented__container", i = {
|
|
7
|
+
sm: "haze-Segmented__sm",
|
|
8
|
+
md: "haze-Segmented__md",
|
|
9
|
+
lg: "haze-Segmented__lg"
|
|
10
|
+
}, a = "haze-Segmented__btn", o = "haze-Segmented__activeBtn";
|
|
11
|
+
function s(e) {
|
|
12
|
+
return typeof e == "string" ? {
|
|
13
|
+
value: e,
|
|
14
|
+
label: e,
|
|
15
|
+
disabled: !1
|
|
16
|
+
} : e;
|
|
17
|
+
}
|
|
18
|
+
function c({ options: c, value: l, onChange: u, size: d = "md", className: f }) {
|
|
19
|
+
let [p, m] = n(l, ""), h = (e) => {
|
|
20
|
+
m(e), u?.(e);
|
|
21
|
+
};
|
|
22
|
+
return /* @__PURE__ */ t("div", {
|
|
23
|
+
role: "group",
|
|
24
|
+
className: e([
|
|
25
|
+
r,
|
|
26
|
+
i[d],
|
|
27
|
+
f
|
|
28
|
+
]),
|
|
29
|
+
children: c.map((n) => {
|
|
30
|
+
let { value: r, label: i, disabled: c } = s(n);
|
|
31
|
+
return /* @__PURE__ */ t("button", {
|
|
32
|
+
type: "button",
|
|
33
|
+
disabled: c,
|
|
34
|
+
onClick: () => h(r),
|
|
35
|
+
className: e([a, p === r && o]),
|
|
36
|
+
children: i
|
|
37
|
+
}, r);
|
|
38
|
+
})
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
export { c as default };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { classnames as e } from "babel-runtime-jsx-plus";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
//#region src/lib/components/Spinner/Spinner.tsx
|
|
5
|
+
var r = "haze-Spinner__base", i = {
|
|
6
|
+
sm: "haze-Spinner__sm",
|
|
7
|
+
md: "haze-Spinner__md",
|
|
8
|
+
lg: "haze-Spinner__lg"
|
|
9
|
+
};
|
|
10
|
+
function a({ size: a = "md", className: o }) {
|
|
11
|
+
return /* @__PURE__ */ t("span", {
|
|
12
|
+
role: "status",
|
|
13
|
+
"aria-label": "Loading",
|
|
14
|
+
className: e([
|
|
15
|
+
r,
|
|
16
|
+
i[a],
|
|
17
|
+
o
|
|
18
|
+
]),
|
|
19
|
+
children: /* @__PURE__ */ n("svg", {
|
|
20
|
+
viewBox: "0 0 24 24",
|
|
21
|
+
fill: "none",
|
|
22
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23
|
+
children: [/* @__PURE__ */ t("circle", {
|
|
24
|
+
cx: "12",
|
|
25
|
+
cy: "12",
|
|
26
|
+
r: "10",
|
|
27
|
+
stroke: "var(--haze-color-border)",
|
|
28
|
+
strokeWidth: "3"
|
|
29
|
+
}), /* @__PURE__ */ t("path", {
|
|
30
|
+
d: "M12 2a10 10 0 0 1 10 10",
|
|
31
|
+
stroke: "var(--haze-color-primary)",
|
|
32
|
+
strokeWidth: "3",
|
|
33
|
+
strokeLinecap: "round"
|
|
34
|
+
})]
|
|
35
|
+
})
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
export { a as default };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { classnames as e } from "babel-runtime-jsx-plus";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
//#region src/lib/components/Stat/Stat.tsx
|
|
5
|
+
var r = "haze-Stat__base", i = "haze-Stat__titleStyle", a = "haze-Stat__valueRow", o = "haze-Stat__valueStyle", s = {
|
|
6
|
+
up: "haze-Stat__up",
|
|
7
|
+
down: "haze-Stat__down",
|
|
8
|
+
neutral: "haze-Stat__neutral"
|
|
9
|
+
}, c = "haze-Stat__trendStyle", l = "haze-Stat__descStyle";
|
|
10
|
+
function u({ title: u, value: d, description: f, trend: p, trendValue: m, prefix: h, suffix: g, className: _ }) {
|
|
11
|
+
return /* @__PURE__ */ n("div", {
|
|
12
|
+
className: e([r, _]),
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ t("div", {
|
|
15
|
+
className: e([i]),
|
|
16
|
+
children: u
|
|
17
|
+
}),
|
|
18
|
+
/* @__PURE__ */ n("div", {
|
|
19
|
+
className: e([a]),
|
|
20
|
+
children: [
|
|
21
|
+
h,
|
|
22
|
+
/* @__PURE__ */ t("div", {
|
|
23
|
+
className: e([o]),
|
|
24
|
+
children: d
|
|
25
|
+
}),
|
|
26
|
+
g,
|
|
27
|
+
p && m && /* @__PURE__ */ n("div", {
|
|
28
|
+
className: e([c, s[p]]),
|
|
29
|
+
children: [
|
|
30
|
+
p === "up" ? "↑" : p === "down" ? "↓" : "→",
|
|
31
|
+
" ",
|
|
32
|
+
m
|
|
33
|
+
]
|
|
34
|
+
})
|
|
35
|
+
]
|
|
36
|
+
}),
|
|
37
|
+
f && /* @__PURE__ */ t("div", {
|
|
38
|
+
className: e([l]),
|
|
39
|
+
children: f
|
|
40
|
+
})
|
|
41
|
+
]
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
var d = "haze-Stat__groupStyle";
|
|
45
|
+
function f({ children: n, className: r }) {
|
|
46
|
+
return /* @__PURE__ */ t("div", {
|
|
47
|
+
className: e([d, r]),
|
|
48
|
+
children: n
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
export { u as Stat, f as StatGroup };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { classnames as e } from "babel-runtime-jsx-plus";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
//#region src/lib/components/StepTimeline/StepTimeline.tsx
|
|
5
|
+
var r = "haze-StepTimeline__list", i = "haze-StepTimeline__item", a = "haze-StepTimeline__marker", o = "haze-StepTimeline__markerPending", s = "haze-StepTimeline__markerActive", c = "haze-StepTimeline__markerDone", l = "haze-StepTimeline__markerError", u = "haze-StepTimeline__body", d = "haze-StepTimeline__labelStyle", f = "haze-StepTimeline__descriptionStyle", p = {
|
|
6
|
+
pending: o,
|
|
7
|
+
active: s,
|
|
8
|
+
done: c,
|
|
9
|
+
error: l
|
|
10
|
+
};
|
|
11
|
+
function m({ label: r, description: o, status: s = "pending", className: c }) {
|
|
12
|
+
return /* @__PURE__ */ n("div", {
|
|
13
|
+
className: e([i, c]),
|
|
14
|
+
children: [/* @__PURE__ */ n("div", {
|
|
15
|
+
className: e([a, p[s]]),
|
|
16
|
+
children: [s === "done" && "✓", s === "error" && "!"]
|
|
17
|
+
}), /* @__PURE__ */ n("div", {
|
|
18
|
+
className: e([u]),
|
|
19
|
+
children: [/* @__PURE__ */ t("div", {
|
|
20
|
+
className: e([d]),
|
|
21
|
+
children: r
|
|
22
|
+
}), o && /* @__PURE__ */ t("div", {
|
|
23
|
+
className: e([f]),
|
|
24
|
+
children: o
|
|
25
|
+
})]
|
|
26
|
+
})]
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function h({ children: n, className: i }) {
|
|
30
|
+
return /* @__PURE__ */ t("div", {
|
|
31
|
+
className: e([r, i]),
|
|
32
|
+
children: n
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { m as StepTimelineItem, h as default };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { useStepperContext as e } from "./StepperContext.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { classnames as t } from "babel-runtime-jsx-plus";
|
|
4
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
|
+
//#region src/lib/components/Stepper/Step.tsx
|
|
6
|
+
var i = "haze-Step__step", a = "haze-Step__stepConnector", o = "haze-Step__stepActiveConnector", s = "haze-Step__circle", c = "haze-Step__activeCircle", l = "haze-Step__completedCircle", u = "haze-Step__titleStyle", d = "haze-Step__activeTitle", f = "haze-Step__completedTitle", p = "haze-Step__descStyle";
|
|
7
|
+
function m({ title: m, description: h, className: g, index: _ = 0 }) {
|
|
8
|
+
let { activeStep: v, totalSteps: y } = e(), b = _ === v, x = _ < v;
|
|
9
|
+
return /* @__PURE__ */ r("div", {
|
|
10
|
+
role: "listitem",
|
|
11
|
+
className: t([i, g]),
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ n("div", {
|
|
14
|
+
className: t([
|
|
15
|
+
s,
|
|
16
|
+
b && c,
|
|
17
|
+
x && l
|
|
18
|
+
]),
|
|
19
|
+
children: x ? "✓" : _ + 1
|
|
20
|
+
}),
|
|
21
|
+
/* @__PURE__ */ n("div", {
|
|
22
|
+
className: t([
|
|
23
|
+
u,
|
|
24
|
+
b && d,
|
|
25
|
+
x && f
|
|
26
|
+
]),
|
|
27
|
+
children: m
|
|
28
|
+
}),
|
|
29
|
+
h && /* @__PURE__ */ n("div", {
|
|
30
|
+
className: t([p]),
|
|
31
|
+
children: h
|
|
32
|
+
}),
|
|
33
|
+
_ < y - 1 && /* @__PURE__ */ n("div", { className: t([a, x && o]) })
|
|
34
|
+
]
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
38
|
+
export { m as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { StepperProvider as e } from "./StepperContext.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { classnames as t } from "babel-runtime-jsx-plus";
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
+
import { useControl as r } from "react-use-control";
|
|
6
|
+
import { Children as i, cloneElement as a, isValidElement as o } from "react";
|
|
7
|
+
//#region src/lib/components/Stepper/Stepper.tsx
|
|
8
|
+
var s = "haze-Stepper__stepper";
|
|
9
|
+
function c({ activeStep: c, children: l, className: u }) {
|
|
10
|
+
let [d, f] = r(c, 0);
|
|
11
|
+
return /* @__PURE__ */ n(e, {
|
|
12
|
+
value: {
|
|
13
|
+
activeStep: d,
|
|
14
|
+
setActiveStep: f,
|
|
15
|
+
totalSteps: i.count(l)
|
|
16
|
+
},
|
|
17
|
+
children: /* @__PURE__ */ n("div", {
|
|
18
|
+
role: "list",
|
|
19
|
+
className: t([s, u]),
|
|
20
|
+
children: i.map(l, (e, t) => o(e) ? a(e, { index: t }) : e)
|
|
21
|
+
})
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { c as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createContext as e, useContext as t } from "react";
|
|
2
|
+
//#region src/lib/components/Stepper/StepperContext.ts
|
|
3
|
+
var n = e(void 0), r = n.Provider;
|
|
4
|
+
function i() {
|
|
5
|
+
let e = t(n);
|
|
6
|
+
if (!e) throw Error("Step must be used within <Stepper>");
|
|
7
|
+
return e;
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { r as StepperProvider, i as useStepperContext };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { classnames as e } from "babel-runtime-jsx-plus";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
import { useEffect as r, useRef as i, useState as a } from "react";
|
|
5
|
+
//#region src/lib/components/StreamingText/StreamingText.tsx
|
|
6
|
+
var o = "haze-StreamingText__wrapper", s = "haze-StreamingText__cursor";
|
|
7
|
+
function c({ text: c, speed: l = 20, onComplete: u, showCursor: d = !0, className: f }) {
|
|
8
|
+
let [p, m] = a(""), h = i(0), g = i(!1);
|
|
9
|
+
r(() => {
|
|
10
|
+
h.current = 0, m(""), g.current = !1;
|
|
11
|
+
}, [c]), r(() => {
|
|
12
|
+
if (g.current) return;
|
|
13
|
+
if (h.current >= c.length) {
|
|
14
|
+
g.current = !0, u?.();
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
let e = setTimeout(() => {
|
|
18
|
+
h.current += 1, m(c.slice(0, h.current));
|
|
19
|
+
}, l);
|
|
20
|
+
return () => clearTimeout(e);
|
|
21
|
+
}, [
|
|
22
|
+
p,
|
|
23
|
+
c,
|
|
24
|
+
l,
|
|
25
|
+
u
|
|
26
|
+
]);
|
|
27
|
+
let _ = h.current >= c.length;
|
|
28
|
+
return /* @__PURE__ */ n("span", {
|
|
29
|
+
className: e([o, f]),
|
|
30
|
+
children: [p, d && !_ && /* @__PURE__ */ t("span", { className: e([s]) })]
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
export { c as default };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { classnames as e } from "babel-runtime-jsx-plus";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
import { useCallback as r, useRef as i, useState as a } from "react";
|
|
5
|
+
//#region src/lib/components/SwipeAction/SwipeAction.tsx
|
|
6
|
+
var o = "haze-SwipeAction__wrapper", s = "haze-SwipeAction__actionsLeft", c = "haze-SwipeAction__actionsRight", l = "haze-SwipeAction__content";
|
|
7
|
+
function u({ left: u, right: d, children: f, onSwipeLeft: p, onSwipeRight: m, threshold: h = 80, className: g }) {
|
|
8
|
+
let [_, v] = a(0), y = i(0), b = i(0), x = i(!1), S = r((e) => {
|
|
9
|
+
y.current = e, x.current = !0;
|
|
10
|
+
}, []), C = r((e) => {
|
|
11
|
+
if (!x.current) return;
|
|
12
|
+
let t = e - y.current, n = Math.max(-120, Math.min(120, t));
|
|
13
|
+
v(n), b.current = n;
|
|
14
|
+
}, []), w = r(() => {
|
|
15
|
+
x.current = !1, b.current > h ? m?.() : b.current < -h && p?.(), v(0), b.current = 0;
|
|
16
|
+
}, [
|
|
17
|
+
h,
|
|
18
|
+
p,
|
|
19
|
+
m
|
|
20
|
+
]);
|
|
21
|
+
return /* @__PURE__ */ n("div", {
|
|
22
|
+
className: e([o, g]),
|
|
23
|
+
children: [
|
|
24
|
+
u && /* @__PURE__ */ t("div", {
|
|
25
|
+
className: e([s]),
|
|
26
|
+
children: u
|
|
27
|
+
}),
|
|
28
|
+
d && /* @__PURE__ */ t("div", {
|
|
29
|
+
className: e([c]),
|
|
30
|
+
children: d
|
|
31
|
+
}),
|
|
32
|
+
/* @__PURE__ */ t("div", {
|
|
33
|
+
style: { transform: `translateX(${_}px)` },
|
|
34
|
+
onPointerDown: (e) => S(e.clientX),
|
|
35
|
+
onPointerMove: (e) => C(e.clientX),
|
|
36
|
+
onPointerUp: w,
|
|
37
|
+
onPointerLeave: w,
|
|
38
|
+
className: e([l]),
|
|
39
|
+
children: f
|
|
40
|
+
})
|
|
41
|
+
]
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
export { u as default };
|
|
@@ -2,17 +2,20 @@
|
|
|
2
2
|
import { classnames as e } from "babel-runtime-jsx-plus";
|
|
3
3
|
import { jsx as t } from "react/jsx-runtime";
|
|
4
4
|
//#region src/lib/components/Table/Table.tsx
|
|
5
|
-
var n = "haze-
|
|
6
|
-
function
|
|
7
|
-
return /* @__PURE__ */ t("
|
|
8
|
-
className: e([
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
var n = "haze-Table__wrapper", r = "haze-Table__base", i = "haze-Table__stripedStyle", a = "haze-Table__borderedStyle";
|
|
6
|
+
function o({ striped: o = !1, bordered: s = !1, className: c, children: l }) {
|
|
7
|
+
return /* @__PURE__ */ t("div", {
|
|
8
|
+
className: e([n]),
|
|
9
|
+
children: /* @__PURE__ */ t("table", {
|
|
10
|
+
className: e([
|
|
11
|
+
r,
|
|
12
|
+
o && i,
|
|
13
|
+
s && a,
|
|
14
|
+
c
|
|
15
|
+
]),
|
|
16
|
+
children: l
|
|
17
|
+
})
|
|
15
18
|
});
|
|
16
19
|
}
|
|
17
20
|
//#endregion
|
|
18
|
-
export {
|
|
21
|
+
export { o as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { classnames as e } from "babel-runtime-jsx-plus";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
//#region src/lib/components/TagGroup/TagGroup.tsx
|
|
5
|
+
var n = "haze-TagGroup__group";
|
|
6
|
+
function r({ children: r, className: i }) {
|
|
7
|
+
return /* @__PURE__ */ t("div", {
|
|
8
|
+
role: "group",
|
|
9
|
+
className: e([n, i]),
|
|
10
|
+
children: r
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { r as default };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { classnames as e } from "babel-runtime-jsx-plus";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
//#region src/lib/components/TagGroup/TagGroupItem.tsx
|
|
5
|
+
var r = "haze-TagGroupItem__tag", i = "haze-TagGroupItem__closeBtn";
|
|
6
|
+
function a({ children: a, onClose: o, className: s }) {
|
|
7
|
+
return /* @__PURE__ */ n("span", {
|
|
8
|
+
className: e([r, s]),
|
|
9
|
+
children: [a, o && /* @__PURE__ */ t("button", {
|
|
10
|
+
type: "button",
|
|
11
|
+
onClick: o,
|
|
12
|
+
"aria-label": "Remove",
|
|
13
|
+
className: e([i]),
|
|
14
|
+
children: "x"
|
|
15
|
+
})]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { a as default };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { classnames as e } from "babel-runtime-jsx-plus";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
import { useControl as r } from "react-use-control";
|
|
5
|
+
import { useCallback as i, useState as a } from "react";
|
|
6
|
+
//#region src/lib/components/TagInput/TagInput.tsx
|
|
7
|
+
var o = "haze-TagInput__container", s = "haze-TagInput__tag", c = "haze-TagInput__removeBtn", l = "haze-TagInput__inputEl";
|
|
8
|
+
function u({ value: u, onChange: d, placeholder: f, maxTags: p, disabled: m, className: h }) {
|
|
9
|
+
let [g, _] = r(u, []), [v, y] = a(""), b = i((e) => {
|
|
10
|
+
let t = e.trim();
|
|
11
|
+
if (!t || g.includes(t) || p && g.length >= p) return;
|
|
12
|
+
let n = [...g, t];
|
|
13
|
+
_(n), d?.(n), y("");
|
|
14
|
+
}, [
|
|
15
|
+
g,
|
|
16
|
+
p,
|
|
17
|
+
_,
|
|
18
|
+
d
|
|
19
|
+
]), x = i((e) => {
|
|
20
|
+
let t = g.filter((t, n) => n !== e);
|
|
21
|
+
_(t), d?.(t);
|
|
22
|
+
}, [
|
|
23
|
+
g,
|
|
24
|
+
_,
|
|
25
|
+
d
|
|
26
|
+
]);
|
|
27
|
+
return /* @__PURE__ */ n("div", {
|
|
28
|
+
className: e([o, h]),
|
|
29
|
+
children: [g.map((r, i) => /* @__PURE__ */ n("span", {
|
|
30
|
+
className: e([s]),
|
|
31
|
+
children: [r, /* @__PURE__ */ t("button", {
|
|
32
|
+
type: "button",
|
|
33
|
+
onClick: () => x(i),
|
|
34
|
+
disabled: m,
|
|
35
|
+
className: e([c]),
|
|
36
|
+
children: "x"
|
|
37
|
+
})]
|
|
38
|
+
}, i)), /* @__PURE__ */ t("input", {
|
|
39
|
+
value: v,
|
|
40
|
+
onChange: (e) => y(e.target.value),
|
|
41
|
+
onKeyDown: (e) => {
|
|
42
|
+
e.key === "Enter" || e.key === "," ? (e.preventDefault(), b(v)) : e.key === "Backspace" && !v && g.length > 0 && x(g.length - 1);
|
|
43
|
+
},
|
|
44
|
+
placeholder: g.length === 0 ? f : void 0,
|
|
45
|
+
disabled: m,
|
|
46
|
+
className: e([l])
|
|
47
|
+
})]
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
export { u as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { classnames as e } from "babel-runtime-jsx-plus";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
//#region src/lib/components/ThinkingIndicator/ThinkingIndicator.tsx
|
|
5
|
+
var r = "haze-ThinkingIndicator__wrapper", i = "haze-ThinkingIndicator__dots", a = "haze-ThinkingIndicator__dot", o = "haze-ThinkingIndicator__dot2", s = "haze-ThinkingIndicator__dot3";
|
|
6
|
+
function c({ text: c = "Thinking", className: l }) {
|
|
7
|
+
return /* @__PURE__ */ n("div", {
|
|
8
|
+
className: e([r, l]),
|
|
9
|
+
children: [/* @__PURE__ */ t("span", { children: c }), /* @__PURE__ */ n("span", {
|
|
10
|
+
className: e([i]),
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ t("span", { className: e([a]) }),
|
|
13
|
+
/* @__PURE__ */ t("span", { className: e([a, o]) }),
|
|
14
|
+
/* @__PURE__ */ t("span", { className: e([a, s]) })
|
|
15
|
+
]
|
|
16
|
+
})]
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { c as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { classnames as e } from "babel-runtime-jsx-plus";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
import { useControl as n } from "react-use-control";
|
|
5
|
+
//#region src/lib/components/TimePicker/TimePicker.tsx
|
|
6
|
+
var r = "haze-TimePicker__input";
|
|
7
|
+
function i({ value: i, onChange: a, placeholder: o, className: s, ...c }) {
|
|
8
|
+
let [l, u] = n(i, "");
|
|
9
|
+
return /* @__PURE__ */ t("input", {
|
|
10
|
+
type: "time",
|
|
11
|
+
value: l,
|
|
12
|
+
placeholder: o,
|
|
13
|
+
onChange: (e) => {
|
|
14
|
+
let t = e.target.value;
|
|
15
|
+
u(t), a?.(t);
|
|
16
|
+
},
|
|
17
|
+
...c,
|
|
18
|
+
className: e([r, s])
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { i as default };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { classnames as e } from "babel-runtime-jsx-plus";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
//#region src/lib/components/Timeline/Timeline.tsx
|
|
5
|
+
var r = "haze-Timeline__base";
|
|
6
|
+
function i({ children: n, className: i }) {
|
|
7
|
+
return /* @__PURE__ */ t("div", {
|
|
8
|
+
role: "list",
|
|
9
|
+
className: e([r, i]),
|
|
10
|
+
children: n
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
var a = "haze-Timeline__item", o = "haze-Timeline__dotWrapper", s = "haze-Timeline__dot", c = {
|
|
14
|
+
primary: "haze-Timeline__primary",
|
|
15
|
+
success: "haze-Timeline__success",
|
|
16
|
+
warning: "haze-Timeline__warning",
|
|
17
|
+
danger: "haze-Timeline__danger",
|
|
18
|
+
default: "haze-Timeline__default"
|
|
19
|
+
}, l = "haze-Timeline__line", u = "haze-Timeline__content", d = "haze-Timeline__titleStyle", f = "haze-Timeline__descStyle", p = "haze-Timeline__timeStyle";
|
|
20
|
+
function m({ title: r, description: i, time: m, color: h = "default", className: g }) {
|
|
21
|
+
return /* @__PURE__ */ n("div", {
|
|
22
|
+
role: "listitem",
|
|
23
|
+
className: e([a, g]),
|
|
24
|
+
children: [/* @__PURE__ */ n("div", {
|
|
25
|
+
className: e([o]),
|
|
26
|
+
children: [/* @__PURE__ */ t("div", { className: e([s, c[h]]) }), /* @__PURE__ */ t("div", { className: e([l]) })]
|
|
27
|
+
}), /* @__PURE__ */ n("div", {
|
|
28
|
+
className: e([u]),
|
|
29
|
+
children: [
|
|
30
|
+
/* @__PURE__ */ t("div", {
|
|
31
|
+
className: e([d]),
|
|
32
|
+
children: r
|
|
33
|
+
}),
|
|
34
|
+
i && /* @__PURE__ */ t("div", {
|
|
35
|
+
className: e([f]),
|
|
36
|
+
children: i
|
|
37
|
+
}),
|
|
38
|
+
m && /* @__PURE__ */ t("div", {
|
|
39
|
+
className: e([p]),
|
|
40
|
+
children: m
|
|
41
|
+
})
|
|
42
|
+
]
|
|
43
|
+
})]
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
export { i as Timeline, m as TimelineItem };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { classnames as e } from "babel-runtime-jsx-plus";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
//#region src/lib/components/TokenCounter/TokenCounter.tsx
|
|
5
|
+
var r = "haze-TokenCounter__wrapper", i = "haze-TokenCounter__bar", a = "haze-TokenCounter__fill", o = "haze-TokenCounter__fillNormal", s = "haze-TokenCounter__fillWarning", c = "haze-TokenCounter__fillDanger", l = "haze-TokenCounter__info", u = "haze-TokenCounter__count";
|
|
6
|
+
function d({ used: d, max: f, label: p, className: m }) {
|
|
7
|
+
let h = f > 0 ? Math.min(100, d / f * 100) : 0, g = h > 90 ? c : h > 70 ? s : o;
|
|
8
|
+
return /* @__PURE__ */ n("div", {
|
|
9
|
+
className: e([r, m]),
|
|
10
|
+
children: [/* @__PURE__ */ n("div", {
|
|
11
|
+
className: e([l]),
|
|
12
|
+
children: [/* @__PURE__ */ t("span", { children: p || "Tokens" }), /* @__PURE__ */ n("span", {
|
|
13
|
+
className: e([u]),
|
|
14
|
+
children: [
|
|
15
|
+
d.toLocaleString(),
|
|
16
|
+
" / ",
|
|
17
|
+
f.toLocaleString()
|
|
18
|
+
]
|
|
19
|
+
})]
|
|
20
|
+
}), /* @__PURE__ */ t("div", {
|
|
21
|
+
className: e([i]),
|
|
22
|
+
children: /* @__PURE__ */ t("div", {
|
|
23
|
+
style: { width: `${h}%` },
|
|
24
|
+
className: e([a, g])
|
|
25
|
+
})
|
|
26
|
+
})]
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { d as default };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { classnames as e } from "babel-runtime-jsx-plus";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
//#region src/lib/components/ToolCallCard/ToolCallCard.tsx
|
|
5
|
+
var r = "haze-ToolCallCard__card", i = "haze-ToolCallCard__header", a = "haze-ToolCallCard__statusIcon", o = "haze-ToolCallCard__statusPending", s = "haze-ToolCallCard__statusRunning", c = "haze-ToolCallCard__statusDone", l = "haze-ToolCallCard__statusError", u = "haze-ToolCallCard__body", d = "haze-ToolCallCard__section", f = "haze-ToolCallCard__sectionLabel", p = "haze-ToolCallCard__content", m = {
|
|
6
|
+
pending: o,
|
|
7
|
+
running: s,
|
|
8
|
+
done: c,
|
|
9
|
+
error: l
|
|
10
|
+
}, h = {
|
|
11
|
+
pending: "Pending",
|
|
12
|
+
running: "Running...",
|
|
13
|
+
done: "Done",
|
|
14
|
+
error: "Error"
|
|
15
|
+
};
|
|
16
|
+
function g({ name: o, input: s, output: c, status: l = "pending", className: g }) {
|
|
17
|
+
return /* @__PURE__ */ n("div", {
|
|
18
|
+
className: e([r, g]),
|
|
19
|
+
children: [/* @__PURE__ */ n("div", {
|
|
20
|
+
className: e([i]),
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ t("span", { className: e([a, m[l]]) }),
|
|
23
|
+
/* @__PURE__ */ t("span", { children: o }),
|
|
24
|
+
/* @__PURE__ */ t("span", {
|
|
25
|
+
style: {
|
|
26
|
+
marginLeft: "auto",
|
|
27
|
+
color: "var(--haze-color-text-muted)"
|
|
28
|
+
},
|
|
29
|
+
children: h[l]
|
|
30
|
+
})
|
|
31
|
+
]
|
|
32
|
+
}), (s || c) && /* @__PURE__ */ n("div", {
|
|
33
|
+
className: e([u]),
|
|
34
|
+
children: [s && /* @__PURE__ */ n("div", {
|
|
35
|
+
className: e([d]),
|
|
36
|
+
children: [/* @__PURE__ */ t("div", {
|
|
37
|
+
className: e([f]),
|
|
38
|
+
children: "Input"
|
|
39
|
+
}), /* @__PURE__ */ t("div", {
|
|
40
|
+
className: e([p]),
|
|
41
|
+
children: s
|
|
42
|
+
})]
|
|
43
|
+
}), c && /* @__PURE__ */ n("div", {
|
|
44
|
+
className: e([d]),
|
|
45
|
+
children: [/* @__PURE__ */ t("div", {
|
|
46
|
+
className: e([f]),
|
|
47
|
+
children: "Output"
|
|
48
|
+
}), /* @__PURE__ */ t("div", {
|
|
49
|
+
className: e([p]),
|
|
50
|
+
children: c
|
|
51
|
+
})]
|
|
52
|
+
})]
|
|
53
|
+
})]
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
57
|
+
export { g as default };
|