@uipath/apollo-wind 2.79.0 → 2.79.2
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/forms/metadata-form.cjs +3 -2
- package/dist/components/forms/metadata-form.js +3 -2
- package/dist/components/ui/field-actions/ai-assist-action.cjs +7 -5
- package/dist/components/ui/field-actions/ai-assist-action.js +7 -5
- package/dist/components/ui/field-actions/collapse.cjs +7 -7
- package/dist/components/ui/field-actions/collapse.d.ts +6 -3
- package/dist/components/ui/field-actions/collapse.js +3 -3
- package/dist/components/ui/field-actions/insert-variable-action.cjs +7 -7
- package/dist/components/ui/field-actions/insert-variable-action.js +8 -8
- package/dist/components/ui/index.cjs +34 -34
- package/dist/components/ui/json-tree-view/EditorChrome.cjs +5 -2
- package/dist/components/ui/json-tree-view/EditorChrome.js +5 -2
- package/dist/components/ui/json-tree-view/JsonLeafValueEditor.cjs +6 -3
- package/dist/components/ui/json-tree-view/JsonLeafValueEditor.js +6 -3
- package/dist/components/ui/json-tree-view/JsonTree.cjs +66 -38
- package/dist/components/ui/json-tree-view/JsonTree.d.ts +6 -1
- package/dist/components/ui/json-tree-view/JsonTree.js +66 -38
- package/dist/components/ui/json-tree-view/JsonTree.types.d.ts +6 -1
- package/dist/components/ui/json-tree-view/JsonTreeRow.cjs +116 -81
- package/dist/components/ui/json-tree-view/JsonTreeRow.d.ts +16 -8
- package/dist/components/ui/json-tree-view/JsonTreeRow.js +116 -81
- package/dist/components/ui/json-tree-view/NodeKey.cjs +2 -2
- package/dist/components/ui/json-tree-view/NodeKey.js +2 -2
- package/dist/components/ui/json-tree-view/RowActions.cjs +6 -6
- package/dist/components/ui/json-tree-view/RowActions.js +6 -6
- package/dist/components/ui/json-tree-view/buildJsonTree.cjs +20 -1
- package/dist/components/ui/json-tree-view/buildJsonTree.d.ts +4 -0
- package/dist/components/ui/json-tree-view/buildJsonTree.js +20 -1
- package/dist/components/ui/json-tree-view/strings.cjs +2 -0
- package/dist/components/ui/json-tree-view/strings.d.ts +12 -0
- package/dist/components/ui/json-tree-view/strings.js +2 -0
- package/dist/components/ui/json-tree-view/treeGrid.cjs +306 -0
- package/dist/components/ui/json-tree-view/treeGrid.d.ts +36 -0
- package/dist/components/ui/json-tree-view/treeGrid.js +269 -0
- package/dist/components/ui/quick-form-field/components/field-header.cjs +14 -14
- package/dist/components/ui/quick-form-field/components/field-header.js +15 -15
- package/dist/components/ui/tool-call.cjs +2 -2
- package/dist/components/ui/tool-call.js +2 -2
- package/dist/lib/clipboard.cjs +4 -0
- package/dist/lib/clipboard.js +4 -0
- package/dist/lib/use-ancestor-density.cjs +2 -2
- package/dist/lib/use-ancestor-density.js +2 -2
- package/dist/lib/use-isomorphic-layout-effect.cjs +37 -0
- package/dist/lib/use-isomorphic-layout-effect.d.ts +3 -0
- package/dist/lib/use-isomorphic-layout-effect.js +3 -0
- package/dist/styles.css +18 -26
- package/dist/tailwind.css +2 -1
- package/package.json +1 -1
|
@@ -587,9 +587,10 @@ const metadata_form_FormSection = /*#__PURE__*/ external_react_default().memo(fu
|
|
|
587
587
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
588
588
|
className: isPlain ? dividerClassName : wrapperClassName,
|
|
589
589
|
children: [
|
|
590
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("
|
|
590
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("h3", {
|
|
591
|
+
"data-slot": "form-section-header",
|
|
591
592
|
className: "flex",
|
|
592
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("
|
|
593
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
593
594
|
className: isPlain ? `flex flex-1 items-center justify-start gap-2 pb-4 text-sm font-semibold ${plainTopClassName}` : 'flex flex-1 items-center justify-between py-4 text-sm font-medium',
|
|
594
595
|
children: section.title
|
|
595
596
|
})
|
|
@@ -548,9 +548,10 @@ const metadata_form_FormSection = /*#__PURE__*/ react.memo(function({ section, c
|
|
|
548
548
|
return /*#__PURE__*/ jsxs("div", {
|
|
549
549
|
className: isPlain ? dividerClassName : wrapperClassName,
|
|
550
550
|
children: [
|
|
551
|
-
/*#__PURE__*/ jsx("
|
|
551
|
+
/*#__PURE__*/ jsx("h3", {
|
|
552
|
+
"data-slot": "form-section-header",
|
|
552
553
|
className: "flex",
|
|
553
|
-
children: /*#__PURE__*/ jsx("
|
|
554
|
+
children: /*#__PURE__*/ jsx("span", {
|
|
554
555
|
className: isPlain ? `flex flex-1 items-center justify-start gap-2 pb-4 text-sm font-semibold ${plainTopClassName}` : 'flex flex-1 items-center justify-between py-4 text-sm font-medium',
|
|
555
556
|
children: section.title
|
|
556
557
|
})
|
|
@@ -35,6 +35,7 @@ const external_label_cjs_namespaceObject = require("../label.cjs");
|
|
|
35
35
|
const external_popover_cjs_namespaceObject = require("../popover.cjs");
|
|
36
36
|
const external_textarea_cjs_namespaceObject = require("../textarea.cjs");
|
|
37
37
|
const external_tooltip_cjs_namespaceObject = require("../tooltip.cjs");
|
|
38
|
+
const external_collapse_cjs_namespaceObject = require("./collapse.cjs");
|
|
38
39
|
const DEFAULT_AI_ASSIST_ACTION_STRINGS = {
|
|
39
40
|
trigger: 'AI assist',
|
|
40
41
|
tooltip: 'Generate with AI',
|
|
@@ -84,14 +85,15 @@ function AiAssistAction({ onGenerate, hint, renderContent, disabled, strings })
|
|
|
84
85
|
asChild: true,
|
|
85
86
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_popover_cjs_namespaceObject.PopoverTrigger, {
|
|
86
87
|
asChild: true,
|
|
87
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
88
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_button_cjs_namespaceObject.Button, {
|
|
88
89
|
type: "button",
|
|
90
|
+
variant: "ghost",
|
|
91
|
+
size: "3xs",
|
|
92
|
+
icon: true,
|
|
89
93
|
"aria-label": text.trigger,
|
|
90
94
|
disabled: disabled,
|
|
91
|
-
className:
|
|
92
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Sparkles, {
|
|
93
|
-
size: 12
|
|
94
|
-
})
|
|
95
|
+
className: external_collapse_cjs_namespaceObject.FIELD_ACTION_CLASS,
|
|
96
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Sparkles, {})
|
|
95
97
|
})
|
|
96
98
|
})
|
|
97
99
|
}),
|
|
@@ -6,6 +6,7 @@ import { Label } from "../label.js";
|
|
|
6
6
|
import { Popover, PopoverContent, PopoverTrigger } from "../popover.js";
|
|
7
7
|
import { Textarea } from "../textarea.js";
|
|
8
8
|
import { Tooltip, TooltipContent, TooltipTrigger } from "../tooltip.js";
|
|
9
|
+
import { FIELD_ACTION_CLASS } from "./collapse.js";
|
|
9
10
|
const DEFAULT_AI_ASSIST_ACTION_STRINGS = {
|
|
10
11
|
trigger: 'AI assist',
|
|
11
12
|
tooltip: 'Generate with AI',
|
|
@@ -55,14 +56,15 @@ function AiAssistAction({ onGenerate, hint, renderContent, disabled, strings })
|
|
|
55
56
|
asChild: true,
|
|
56
57
|
children: /*#__PURE__*/ jsx(PopoverTrigger, {
|
|
57
58
|
asChild: true,
|
|
58
|
-
children: /*#__PURE__*/ jsx(
|
|
59
|
+
children: /*#__PURE__*/ jsx(Button, {
|
|
59
60
|
type: "button",
|
|
61
|
+
variant: "ghost",
|
|
62
|
+
size: "3xs",
|
|
63
|
+
icon: true,
|
|
60
64
|
"aria-label": text.trigger,
|
|
61
65
|
disabled: disabled,
|
|
62
|
-
className:
|
|
63
|
-
children: /*#__PURE__*/ jsx(Sparkles, {
|
|
64
|
-
size: 12
|
|
65
|
-
})
|
|
66
|
+
className: FIELD_ACTION_CLASS,
|
|
67
|
+
children: /*#__PURE__*/ jsx(Sparkles, {})
|
|
66
68
|
})
|
|
67
69
|
})
|
|
68
70
|
}),
|
|
@@ -25,19 +25,19 @@ var __webpack_exports__ = {};
|
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
COLLAPSED_HIDDEN: ()=>COLLAPSED_HIDDEN,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
COLLAPSED_ONLY: ()=>COLLAPSED_ONLY,
|
|
29
|
+
FIELD_ACTION_CLASS: ()=>FIELD_ACTION_CLASS
|
|
30
30
|
});
|
|
31
31
|
const COLLAPSED_HIDDEN = '@max-[259px]:hidden';
|
|
32
|
-
const
|
|
33
|
-
const
|
|
32
|
+
const COLLAPSED_ONLY = 'hidden @max-[259px]:flex';
|
|
33
|
+
const FIELD_ACTION_CLASS = 'text-muted-foreground hover:bg-accent hover:text-foreground [&_svg]:size-3';
|
|
34
34
|
exports.COLLAPSED_HIDDEN = __webpack_exports__.COLLAPSED_HIDDEN;
|
|
35
|
-
exports.COLLAPSED_ICON_PADDING = __webpack_exports__.COLLAPSED_ICON_PADDING;
|
|
36
35
|
exports.COLLAPSED_ONLY = __webpack_exports__.COLLAPSED_ONLY;
|
|
36
|
+
exports.FIELD_ACTION_CLASS = __webpack_exports__.FIELD_ACTION_CLASS;
|
|
37
37
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
38
38
|
"COLLAPSED_HIDDEN",
|
|
39
|
-
"
|
|
40
|
-
"
|
|
39
|
+
"COLLAPSED_ONLY",
|
|
40
|
+
"FIELD_ACTION_CLASS"
|
|
41
41
|
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
42
42
|
Object.defineProperty(exports, '__esModule', {
|
|
43
43
|
value: true
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/** Hidden once collapsed, such as an action's text. */
|
|
2
2
|
export declare const COLLAPSED_HIDDEN = "@max-[259px]:hidden";
|
|
3
|
-
/** The tighter padding of an action collapsed to its icon. */
|
|
4
|
-
export declare const COLLAPSED_ICON_PADDING = "@max-[259px]:px-1.5";
|
|
5
3
|
/** Shown only once collapsed. */
|
|
6
|
-
export declare const COLLAPSED_ONLY = "hidden @max-[259px]:
|
|
4
|
+
export declare const COLLAPSED_ONLY = "hidden @max-[259px]:flex";
|
|
5
|
+
/**
|
|
6
|
+
* A header action is a ghost `3xs` Button, the height FormFieldHeader's `min-h-6` row expects, in
|
|
7
|
+
* the muted tone of the field's other icon buttons. Its icons are 12px.
|
|
8
|
+
*/
|
|
9
|
+
export declare const FIELD_ACTION_CLASS = "text-muted-foreground hover:bg-accent hover:text-foreground [&_svg]:size-3";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const COLLAPSED_HIDDEN = '@max-[259px]:hidden';
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
export { COLLAPSED_HIDDEN,
|
|
2
|
+
const COLLAPSED_ONLY = 'hidden @max-[259px]:flex';
|
|
3
|
+
const FIELD_ACTION_CLASS = 'text-muted-foreground hover:bg-accent hover:text-foreground [&_svg]:size-3';
|
|
4
|
+
export { COLLAPSED_HIDDEN, COLLAPSED_ONLY, FIELD_ACTION_CLASS };
|
|
@@ -30,6 +30,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
30
30
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
31
31
|
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
32
32
|
const external_react_namespaceObject = require("react");
|
|
33
|
+
const external_button_cjs_namespaceObject = require("../button.cjs");
|
|
33
34
|
const index_cjs_namespaceObject = require("../variable-picker/index.cjs");
|
|
34
35
|
const external_lib_index_cjs_namespaceObject = require("../../../lib/index.cjs");
|
|
35
36
|
const external_collapse_cjs_namespaceObject = require("./collapse.cjs");
|
|
@@ -64,23 +65,22 @@ function InsertVariableAction({ variables = NO_VARIABLES, renderPicker, onInsert
|
|
|
64
65
|
onSelect: (variable)=>{
|
|
65
66
|
if (variable.value) onInsert?.(variable.value, variable);
|
|
66
67
|
},
|
|
67
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(
|
|
68
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(external_button_cjs_namespaceObject.Button, {
|
|
68
69
|
type: "button",
|
|
70
|
+
variant: "ghost",
|
|
71
|
+
size: "3xs",
|
|
69
72
|
"aria-label": text.ariaLabel,
|
|
70
73
|
title: text.ariaLabel,
|
|
71
74
|
disabled: inert,
|
|
72
|
-
className: (0, external_lib_index_cjs_namespaceObject.cn)('
|
|
75
|
+
className: (0, external_lib_index_cjs_namespaceObject.cn)('gap-1', external_collapse_cjs_namespaceObject.FIELD_ACTION_CLASS),
|
|
73
76
|
children: [
|
|
74
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Braces, {
|
|
75
|
-
size: 12
|
|
76
|
-
}),
|
|
77
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Braces, {}),
|
|
77
78
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
78
79
|
className: collapsedTextClass,
|
|
79
80
|
children: text.label
|
|
80
81
|
}),
|
|
81
82
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown, {
|
|
82
|
-
|
|
83
|
-
className: collapsedTextClass
|
|
83
|
+
className: (0, external_lib_index_cjs_namespaceObject.cn)('!size-2.5', collapsedTextClass)
|
|
84
84
|
})
|
|
85
85
|
]
|
|
86
86
|
})
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Braces, ChevronDown } from "lucide-react";
|
|
3
3
|
import { useState } from "react";
|
|
4
|
+
import { Button } from "../button.js";
|
|
4
5
|
import { VariablePicker } from "../variable-picker/index.js";
|
|
5
6
|
import { cn } from "../../../lib/index.js";
|
|
6
|
-
import { COLLAPSED_HIDDEN,
|
|
7
|
+
import { COLLAPSED_HIDDEN, FIELD_ACTION_CLASS } from "./collapse.js";
|
|
7
8
|
const NO_VARIABLES = [];
|
|
8
9
|
const DEFAULT_INSERT_VARIABLE_ACTION_STRINGS = {
|
|
9
10
|
label: 'Insert',
|
|
@@ -35,23 +36,22 @@ function InsertVariableAction({ variables = NO_VARIABLES, renderPicker, onInsert
|
|
|
35
36
|
onSelect: (variable)=>{
|
|
36
37
|
if (variable.value) onInsert?.(variable.value, variable);
|
|
37
38
|
},
|
|
38
|
-
children: /*#__PURE__*/ jsxs(
|
|
39
|
+
children: /*#__PURE__*/ jsxs(Button, {
|
|
39
40
|
type: "button",
|
|
41
|
+
variant: "ghost",
|
|
42
|
+
size: "3xs",
|
|
40
43
|
"aria-label": text.ariaLabel,
|
|
41
44
|
title: text.ariaLabel,
|
|
42
45
|
disabled: inert,
|
|
43
|
-
className: cn('
|
|
46
|
+
className: cn('gap-1', FIELD_ACTION_CLASS),
|
|
44
47
|
children: [
|
|
45
|
-
/*#__PURE__*/ jsx(Braces, {
|
|
46
|
-
size: 12
|
|
47
|
-
}),
|
|
48
|
+
/*#__PURE__*/ jsx(Braces, {}),
|
|
48
49
|
/*#__PURE__*/ jsx("span", {
|
|
49
50
|
className: collapsedTextClass,
|
|
50
51
|
children: text.label
|
|
51
52
|
}),
|
|
52
53
|
/*#__PURE__*/ jsx(ChevronDown, {
|
|
53
|
-
|
|
54
|
-
className: collapsedTextClass
|
|
54
|
+
className: cn('!size-2.5', collapsedTextClass)
|
|
55
55
|
})
|
|
56
56
|
]
|
|
57
57
|
})
|
|
@@ -18,7 +18,7 @@ var __webpack_modules__ = {
|
|
|
18
18
|
"./avatar" (module) {
|
|
19
19
|
module.exports = require("./avatar.cjs");
|
|
20
20
|
},
|
|
21
|
-
"
|
|
21
|
+
"./badge" (module) {
|
|
22
22
|
module.exports = require("./badge.cjs");
|
|
23
23
|
},
|
|
24
24
|
"./boolean-radio-group" (module) {
|
|
@@ -33,13 +33,13 @@ var __webpack_modules__ = {
|
|
|
33
33
|
"./button-group" (module) {
|
|
34
34
|
module.exports = require("./button-group.cjs");
|
|
35
35
|
},
|
|
36
|
-
"
|
|
36
|
+
"@/components/ui/button" (module) {
|
|
37
37
|
module.exports = require("./button.cjs");
|
|
38
38
|
},
|
|
39
|
-
"
|
|
39
|
+
"./calendar" (module) {
|
|
40
40
|
module.exports = require("./calendar.cjs");
|
|
41
41
|
},
|
|
42
|
-
"
|
|
42
|
+
"./card" (module) {
|
|
43
43
|
module.exports = require("./card.cjs");
|
|
44
44
|
},
|
|
45
45
|
"./chart" (module) {
|
|
@@ -51,13 +51,13 @@ var __webpack_modules__ = {
|
|
|
51
51
|
"./chat-hero" (module) {
|
|
52
52
|
module.exports = require("./chat-hero.cjs");
|
|
53
53
|
},
|
|
54
|
-
"
|
|
54
|
+
"./checkbox" (module) {
|
|
55
55
|
module.exports = require("./checkbox.cjs");
|
|
56
56
|
},
|
|
57
57
|
"./citation" (module) {
|
|
58
58
|
module.exports = require("./citation.cjs");
|
|
59
59
|
},
|
|
60
|
-
"
|
|
60
|
+
"./code-block" (module) {
|
|
61
61
|
module.exports = require("./code-block.cjs");
|
|
62
62
|
},
|
|
63
63
|
"./collapsible" (module) {
|
|
@@ -66,10 +66,10 @@ var __webpack_modules__ = {
|
|
|
66
66
|
"./combobox" (module) {
|
|
67
67
|
module.exports = require("./combobox.cjs");
|
|
68
68
|
},
|
|
69
|
-
"
|
|
69
|
+
"./command" (module) {
|
|
70
70
|
module.exports = require("./command.cjs");
|
|
71
71
|
},
|
|
72
|
-
"
|
|
72
|
+
"./context-menu" (module) {
|
|
73
73
|
module.exports = require("./context-menu.cjs");
|
|
74
74
|
},
|
|
75
75
|
"./data-table" (module) {
|
|
@@ -81,7 +81,7 @@ var __webpack_modules__ = {
|
|
|
81
81
|
"./datetime-picker" (module) {
|
|
82
82
|
module.exports = require("./datetime-picker.cjs");
|
|
83
83
|
},
|
|
84
|
-
"
|
|
84
|
+
"./dialog" (module) {
|
|
85
85
|
module.exports = require("./dialog.cjs");
|
|
86
86
|
},
|
|
87
87
|
"./disclosure-tree" (module) {
|
|
@@ -96,7 +96,7 @@ var __webpack_modules__ = {
|
|
|
96
96
|
"./dropzone-overlay" (module) {
|
|
97
97
|
module.exports = require("./dropzone-overlay.cjs");
|
|
98
98
|
},
|
|
99
|
-
"
|
|
99
|
+
"./editable-cell" (module) {
|
|
100
100
|
module.exports = require("./editable-cell.cjs");
|
|
101
101
|
},
|
|
102
102
|
"./empty-state" (module) {
|
|
@@ -123,7 +123,7 @@ var __webpack_modules__ = {
|
|
|
123
123
|
"./info-tooltip" (module) {
|
|
124
124
|
module.exports = require("./info-tooltip.cjs");
|
|
125
125
|
},
|
|
126
|
-
"
|
|
126
|
+
"./input-group" (module) {
|
|
127
127
|
module.exports = require("./input-group.cjs");
|
|
128
128
|
},
|
|
129
129
|
"@/components/ui/input" (module) {
|
|
@@ -201,7 +201,7 @@ var __webpack_modules__ = {
|
|
|
201
201
|
"./reference-chip-colors" (module) {
|
|
202
202
|
module.exports = require("./reference-chip-colors.cjs");
|
|
203
203
|
},
|
|
204
|
-
"
|
|
204
|
+
"./reference-chip" (module) {
|
|
205
205
|
module.exports = require("./reference-chip.cjs");
|
|
206
206
|
},
|
|
207
207
|
"./resizable" (module) {
|
|
@@ -249,13 +249,13 @@ var __webpack_modules__ = {
|
|
|
249
249
|
"./switch" (module) {
|
|
250
250
|
module.exports = require("./switch.cjs");
|
|
251
251
|
},
|
|
252
|
-
"
|
|
252
|
+
"./table" (module) {
|
|
253
253
|
module.exports = require("./table.cjs");
|
|
254
254
|
},
|
|
255
255
|
"./tabs" (module) {
|
|
256
256
|
module.exports = require("./tabs.cjs");
|
|
257
257
|
},
|
|
258
|
-
"
|
|
258
|
+
"./textarea" (module) {
|
|
259
259
|
module.exports = require("./textarea.cjs");
|
|
260
260
|
},
|
|
261
261
|
"./thinking-indicator" (module) {
|
|
@@ -264,19 +264,19 @@ var __webpack_modules__ = {
|
|
|
264
264
|
"./toggle-group" (module) {
|
|
265
265
|
module.exports = require("./toggle-group.cjs");
|
|
266
266
|
},
|
|
267
|
-
"
|
|
267
|
+
"@/components/ui/toggle" (module) {
|
|
268
268
|
module.exports = require("./toggle.cjs");
|
|
269
269
|
},
|
|
270
270
|
"./tool-call" (module) {
|
|
271
271
|
module.exports = require("./tool-call.cjs");
|
|
272
272
|
},
|
|
273
|
-
"
|
|
273
|
+
"@/components/ui/tooltip" (module) {
|
|
274
274
|
module.exports = require("./tooltip.cjs");
|
|
275
275
|
},
|
|
276
276
|
"./tree-view" (module) {
|
|
277
277
|
module.exports = require("./tree-view.cjs");
|
|
278
278
|
},
|
|
279
|
-
"
|
|
279
|
+
"./variable-picker" (module) {
|
|
280
280
|
module.exports = require("./variable-picker/index.cjs");
|
|
281
281
|
},
|
|
282
282
|
"./variable-value-control" (module) {
|
|
@@ -392,7 +392,7 @@ var __webpack_exports__ = {};
|
|
|
392
392
|
"ReferenceChip"
|
|
393
393
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_avatar__rspack_import_5[__rspack_import_key];
|
|
394
394
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
395
|
-
var _badge__rspack_import_6 = __webpack_require__("
|
|
395
|
+
var _badge__rspack_import_6 = __webpack_require__("./badge");
|
|
396
396
|
var __rspack_reexport = {};
|
|
397
397
|
for(const __rspack_import_key in _badge__rspack_import_6)if ([
|
|
398
398
|
"getReferenceChipColors",
|
|
@@ -432,7 +432,7 @@ var __webpack_exports__ = {};
|
|
|
432
432
|
"ReferenceChip"
|
|
433
433
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_bubble__rspack_import_9[__rspack_import_key];
|
|
434
434
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
435
|
-
var _button__rspack_import_10 = __webpack_require__("
|
|
435
|
+
var _button__rspack_import_10 = __webpack_require__("@/components/ui/button");
|
|
436
436
|
var __rspack_reexport = {};
|
|
437
437
|
for(const __rspack_import_key in _button__rspack_import_10)if ([
|
|
438
438
|
"getReferenceChipColors",
|
|
@@ -452,7 +452,7 @@ var __webpack_exports__ = {};
|
|
|
452
452
|
"ReferenceChip"
|
|
453
453
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_button_group__rspack_import_11[__rspack_import_key];
|
|
454
454
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
455
|
-
var _calendar__rspack_import_12 = __webpack_require__("
|
|
455
|
+
var _calendar__rspack_import_12 = __webpack_require__("./calendar");
|
|
456
456
|
var __rspack_reexport = {};
|
|
457
457
|
for(const __rspack_import_key in _calendar__rspack_import_12)if ([
|
|
458
458
|
"getReferenceChipColors",
|
|
@@ -462,7 +462,7 @@ var __webpack_exports__ = {};
|
|
|
462
462
|
"ReferenceChip"
|
|
463
463
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_calendar__rspack_import_12[__rspack_import_key];
|
|
464
464
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
465
|
-
var _card__rspack_import_13 = __webpack_require__("
|
|
465
|
+
var _card__rspack_import_13 = __webpack_require__("./card");
|
|
466
466
|
var __rspack_reexport = {};
|
|
467
467
|
for(const __rspack_import_key in _card__rspack_import_13)if ([
|
|
468
468
|
"getReferenceChipColors",
|
|
@@ -502,7 +502,7 @@ var __webpack_exports__ = {};
|
|
|
502
502
|
"ReferenceChip"
|
|
503
503
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_chat_hero__rspack_import_16[__rspack_import_key];
|
|
504
504
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
505
|
-
var _checkbox__rspack_import_17 = __webpack_require__("
|
|
505
|
+
var _checkbox__rspack_import_17 = __webpack_require__("./checkbox");
|
|
506
506
|
var __rspack_reexport = {};
|
|
507
507
|
for(const __rspack_import_key in _checkbox__rspack_import_17)if ([
|
|
508
508
|
"getReferenceChipColors",
|
|
@@ -522,7 +522,7 @@ var __webpack_exports__ = {};
|
|
|
522
522
|
"ReferenceChip"
|
|
523
523
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_citation__rspack_import_18[__rspack_import_key];
|
|
524
524
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
525
|
-
var _code_block__rspack_import_19 = __webpack_require__("
|
|
525
|
+
var _code_block__rspack_import_19 = __webpack_require__("./code-block");
|
|
526
526
|
var __rspack_reexport = {};
|
|
527
527
|
for(const __rspack_import_key in _code_block__rspack_import_19)if ([
|
|
528
528
|
"getReferenceChipColors",
|
|
@@ -552,7 +552,7 @@ var __webpack_exports__ = {};
|
|
|
552
552
|
"ReferenceChip"
|
|
553
553
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_combobox__rspack_import_21[__rspack_import_key];
|
|
554
554
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
555
|
-
var _command__rspack_import_22 = __webpack_require__("
|
|
555
|
+
var _command__rspack_import_22 = __webpack_require__("./command");
|
|
556
556
|
var __rspack_reexport = {};
|
|
557
557
|
for(const __rspack_import_key in _command__rspack_import_22)if ([
|
|
558
558
|
"getReferenceChipColors",
|
|
@@ -562,7 +562,7 @@ var __webpack_exports__ = {};
|
|
|
562
562
|
"ReferenceChip"
|
|
563
563
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_command__rspack_import_22[__rspack_import_key];
|
|
564
564
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
565
|
-
var _context_menu__rspack_import_23 = __webpack_require__("
|
|
565
|
+
var _context_menu__rspack_import_23 = __webpack_require__("./context-menu");
|
|
566
566
|
var __rspack_reexport = {};
|
|
567
567
|
for(const __rspack_import_key in _context_menu__rspack_import_23)if ([
|
|
568
568
|
"getReferenceChipColors",
|
|
@@ -602,7 +602,7 @@ var __webpack_exports__ = {};
|
|
|
602
602
|
"ReferenceChip"
|
|
603
603
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_datetime_picker__rspack_import_26[__rspack_import_key];
|
|
604
604
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
605
|
-
var _dialog__rspack_import_27 = __webpack_require__("
|
|
605
|
+
var _dialog__rspack_import_27 = __webpack_require__("./dialog");
|
|
606
606
|
var __rspack_reexport = {};
|
|
607
607
|
for(const __rspack_import_key in _dialog__rspack_import_27)if ([
|
|
608
608
|
"getReferenceChipColors",
|
|
@@ -652,7 +652,7 @@ var __webpack_exports__ = {};
|
|
|
652
652
|
"ReferenceChip"
|
|
653
653
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dropzone_overlay__rspack_import_31[__rspack_import_key];
|
|
654
654
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
655
|
-
var _editable_cell__rspack_import_32 = __webpack_require__("
|
|
655
|
+
var _editable_cell__rspack_import_32 = __webpack_require__("./editable-cell");
|
|
656
656
|
var __rspack_reexport = {};
|
|
657
657
|
for(const __rspack_import_key in _editable_cell__rspack_import_32)if ([
|
|
658
658
|
"getReferenceChipColors",
|
|
@@ -752,7 +752,7 @@ var __webpack_exports__ = {};
|
|
|
752
752
|
"ReferenceChip"
|
|
753
753
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_input__rspack_import_41[__rspack_import_key];
|
|
754
754
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
755
|
-
var _input_group__rspack_import_42 = __webpack_require__("
|
|
755
|
+
var _input_group__rspack_import_42 = __webpack_require__("./input-group");
|
|
756
756
|
var __rspack_reexport = {};
|
|
757
757
|
for(const __rspack_import_key in _input_group__rspack_import_42)if ([
|
|
758
758
|
"getReferenceChipColors",
|
|
@@ -992,7 +992,7 @@ var __webpack_exports__ = {};
|
|
|
992
992
|
"ReferenceChip"
|
|
993
993
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_radio_group__rspack_import_65[__rspack_import_key];
|
|
994
994
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
995
|
-
var _reference_chip__rspack_import_66 = __webpack_require__("
|
|
995
|
+
var _reference_chip__rspack_import_66 = __webpack_require__("./reference-chip");
|
|
996
996
|
var _reference_chip_colors__rspack_import_67 = __webpack_require__("./reference-chip-colors");
|
|
997
997
|
var _resizable__rspack_import_68 = __webpack_require__("./resizable");
|
|
998
998
|
var __rspack_reexport = {};
|
|
@@ -1144,7 +1144,7 @@ var __webpack_exports__ = {};
|
|
|
1144
1144
|
"ReferenceChip"
|
|
1145
1145
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_switch__rspack_import_82[__rspack_import_key];
|
|
1146
1146
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
1147
|
-
var _table__rspack_import_83 = __webpack_require__("
|
|
1147
|
+
var _table__rspack_import_83 = __webpack_require__("./table");
|
|
1148
1148
|
var __rspack_reexport = {};
|
|
1149
1149
|
for(const __rspack_import_key in _table__rspack_import_83)if ([
|
|
1150
1150
|
"getReferenceChipColors",
|
|
@@ -1164,7 +1164,7 @@ var __webpack_exports__ = {};
|
|
|
1164
1164
|
"ReferenceChip"
|
|
1165
1165
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_tabs__rspack_import_84[__rspack_import_key];
|
|
1166
1166
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
1167
|
-
var _textarea__rspack_import_85 = __webpack_require__("
|
|
1167
|
+
var _textarea__rspack_import_85 = __webpack_require__("./textarea");
|
|
1168
1168
|
var __rspack_reexport = {};
|
|
1169
1169
|
for(const __rspack_import_key in _textarea__rspack_import_85)if ([
|
|
1170
1170
|
"getReferenceChipColors",
|
|
@@ -1184,7 +1184,7 @@ var __webpack_exports__ = {};
|
|
|
1184
1184
|
"ReferenceChip"
|
|
1185
1185
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_thinking_indicator__rspack_import_86[__rspack_import_key];
|
|
1186
1186
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
1187
|
-
var _toggle__rspack_import_87 = __webpack_require__("
|
|
1187
|
+
var _toggle__rspack_import_87 = __webpack_require__("@/components/ui/toggle");
|
|
1188
1188
|
var __rspack_reexport = {};
|
|
1189
1189
|
for(const __rspack_import_key in _toggle__rspack_import_87)if ([
|
|
1190
1190
|
"getReferenceChipColors",
|
|
@@ -1214,7 +1214,7 @@ var __webpack_exports__ = {};
|
|
|
1214
1214
|
"ReferenceChip"
|
|
1215
1215
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_tool_call__rspack_import_89[__rspack_import_key];
|
|
1216
1216
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
1217
|
-
var _tooltip__rspack_import_90 = __webpack_require__("
|
|
1217
|
+
var _tooltip__rspack_import_90 = __webpack_require__("@/components/ui/tooltip");
|
|
1218
1218
|
var __rspack_reexport = {};
|
|
1219
1219
|
for(const __rspack_import_key in _tooltip__rspack_import_90)if ([
|
|
1220
1220
|
"getReferenceChipColors",
|
|
@@ -1226,7 +1226,7 @@ var __webpack_exports__ = {};
|
|
|
1226
1226
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
1227
1227
|
var _tree_view__rspack_import_91 = __webpack_require__("./tree-view");
|
|
1228
1228
|
var _tree_view__rspack_import_91_default = /*#__PURE__*/ __webpack_require__.n(_tree_view__rspack_import_91);
|
|
1229
|
-
var _variable_picker__rspack_import_92 = __webpack_require__("
|
|
1229
|
+
var _variable_picker__rspack_import_92 = __webpack_require__("./variable-picker");
|
|
1230
1230
|
var __rspack_reexport = {};
|
|
1231
1231
|
for(const __rspack_import_key in _variable_picker__rspack_import_92)if ([
|
|
1232
1232
|
"getReferenceChipColors",
|
|
@@ -28,9 +28,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
28
28
|
EditorTextarea: ()=>EditorTextarea
|
|
29
29
|
});
|
|
30
30
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
31
|
+
const external_react_namespaceObject = require("react");
|
|
31
32
|
const external_button_cjs_namespaceObject = require("../button.cjs");
|
|
32
33
|
const index_cjs_namespaceObject = require("../../../lib/index.cjs");
|
|
33
|
-
const external_react_namespaceObject = require("react");
|
|
34
34
|
const external_strings_cjs_namespaceObject = require("./strings.cjs");
|
|
35
35
|
function EditorActions({ onApply, onCancel, applyDisabled = false }) {
|
|
36
36
|
const strings = (0, external_strings_cjs_namespaceObject.useJsonTreeViewStrings)();
|
|
@@ -67,7 +67,10 @@ function EditorTextarea({ value, onChange, onApply, onCancel, invalid, rows, ari
|
|
|
67
67
|
e.stopPropagation();
|
|
68
68
|
onCancel();
|
|
69
69
|
}
|
|
70
|
-
if ('Enter' === e.key && (e.metaKey || e.ctrlKey))
|
|
70
|
+
if ('Enter' === e.key && (e.metaKey || e.ctrlKey)) {
|
|
71
|
+
e.preventDefault();
|
|
72
|
+
onApply();
|
|
73
|
+
}
|
|
71
74
|
},
|
|
72
75
|
rows: rows,
|
|
73
76
|
spellCheck: false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useRef } from "react";
|
|
2
3
|
import { Button } from "../button.js";
|
|
3
4
|
import { cn } from "../../../lib/index.js";
|
|
4
|
-
import { useEffect, useRef } from "react";
|
|
5
5
|
import { useJsonTreeViewStrings } from "./strings.js";
|
|
6
6
|
function EditorActions({ onApply, onCancel, applyDisabled = false }) {
|
|
7
7
|
const strings = useJsonTreeViewStrings();
|
|
@@ -38,7 +38,10 @@ function EditorTextarea({ value, onChange, onApply, onCancel, invalid, rows, ari
|
|
|
38
38
|
e.stopPropagation();
|
|
39
39
|
onCancel();
|
|
40
40
|
}
|
|
41
|
-
if ('Enter' === e.key && (e.metaKey || e.ctrlKey))
|
|
41
|
+
if ('Enter' === e.key && (e.metaKey || e.ctrlKey)) {
|
|
42
|
+
e.preventDefault();
|
|
43
|
+
onApply();
|
|
44
|
+
}
|
|
42
45
|
},
|
|
43
46
|
rows: rows,
|
|
44
47
|
spellCheck: false,
|
|
@@ -27,10 +27,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
JsonLeafValueEditor: ()=>JsonLeafValueEditor
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
-
const index_cjs_namespaceObject = require("../../../lib/index.cjs");
|
|
31
30
|
const external_react_namespaceObject = require("react");
|
|
32
|
-
const
|
|
31
|
+
const index_cjs_namespaceObject = require("../../../lib/index.cjs");
|
|
33
32
|
const external_leafEditTypes_cjs_namespaceObject = require("./leafEditTypes.cjs");
|
|
33
|
+
const external_strings_cjs_namespaceObject = require("./strings.cjs");
|
|
34
34
|
function JsonLeafValueEditor({ node, onCommit, onCancel, className }) {
|
|
35
35
|
const strings = (0, external_strings_cjs_namespaceObject.useJsonTreeViewStrings)();
|
|
36
36
|
const editType = (0, external_leafEditTypes_cjs_namespaceObject.resolveLeafEditType)(node.type, node.schema);
|
|
@@ -63,7 +63,10 @@ function JsonLeafValueEditor({ node, onCommit, onCancel, className }) {
|
|
|
63
63
|
else commit();
|
|
64
64
|
},
|
|
65
65
|
onKeyDown: (e)=>{
|
|
66
|
-
if ('Enter' === e.key)
|
|
66
|
+
if ('Enter' === e.key) {
|
|
67
|
+
e.preventDefault();
|
|
68
|
+
commit();
|
|
69
|
+
}
|
|
67
70
|
if ('Escape' === e.key) {
|
|
68
71
|
e.preventDefault();
|
|
69
72
|
e.stopPropagation();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "../../../lib/index.js";
|
|
3
2
|
import { useEffect, useRef, useState } from "react";
|
|
4
|
-
import {
|
|
3
|
+
import { cn } from "../../../lib/index.js";
|
|
5
4
|
import { isNumericEdit, parseLeafValue, resolveLeafEditType } from "./leafEditTypes.js";
|
|
5
|
+
import { useJsonTreeViewStrings } from "./strings.js";
|
|
6
6
|
function JsonLeafValueEditor({ node, onCommit, onCancel, className }) {
|
|
7
7
|
const strings = useJsonTreeViewStrings();
|
|
8
8
|
const editType = resolveLeafEditType(node.type, node.schema);
|
|
@@ -35,7 +35,10 @@ function JsonLeafValueEditor({ node, onCommit, onCancel, className }) {
|
|
|
35
35
|
else commit();
|
|
36
36
|
},
|
|
37
37
|
onKeyDown: (e)=>{
|
|
38
|
-
if ('Enter' === e.key)
|
|
38
|
+
if ('Enter' === e.key) {
|
|
39
|
+
e.preventDefault();
|
|
40
|
+
commit();
|
|
41
|
+
}
|
|
39
42
|
if ('Escape' === e.key) {
|
|
40
43
|
e.preventDefault();
|
|
41
44
|
e.stopPropagation();
|