@uipath/apollo-wind 0.9.0 → 0.10.0-pr257.2a4b17b
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/field-renderer.cjs +120 -69
- package/dist/components/forms/field-renderer.js +120 -69
- package/dist/components/forms/form-designer.cjs +2352 -1488
- package/dist/components/forms/form-designer.js +2353 -1489
- package/dist/components/forms/form-examples.cjs +10 -10
- package/dist/components/forms/form-examples.js +10 -10
- package/dist/components/forms/form-state-viewer.cjs +988 -433
- package/dist/components/forms/form-state-viewer.js +988 -433
- package/dist/components/forms/metadata-form.cjs +446 -170
- package/dist/components/forms/metadata-form.js +446 -170
- package/dist/components/forms/schema-viewer.cjs +173 -80
- package/dist/components/forms/schema-viewer.js +173 -80
- package/dist/components/ui/accordion.cjs +131 -27
- package/dist/components/ui/accordion.js +131 -27
- package/dist/components/ui/alert-dialog.cjs +273 -45
- package/dist/components/ui/alert-dialog.js +273 -45
- package/dist/components/ui/alert.cjs +106 -17
- package/dist/components/ui/alert.js +106 -17
- package/dist/components/ui/avatar.cjs +100 -15
- package/dist/components/ui/avatar.js +100 -15
- package/dist/components/ui/badge.cjs +36 -6
- package/dist/components/ui/badge.js +36 -6
- package/dist/components/ui/breadcrumb.cjs +258 -52
- package/dist/components/ui/breadcrumb.js +258 -52
- package/dist/components/ui/button-group.cjs +119 -19
- package/dist/components/ui/button-group.js +119 -19
- package/dist/components/ui/button.cjs +48 -8
- package/dist/components/ui/button.js +48 -8
- package/dist/components/ui/calendar.cjs +88 -30
- package/dist/components/ui/calendar.js +88 -30
- package/dist/components/ui/card.cjs +199 -30
- package/dist/components/ui/card.js +199 -30
- package/dist/components/ui/checkbox.cjs +42 -8
- package/dist/components/ui/checkbox.js +42 -8
- package/dist/components/ui/combobox.cjs +150 -53
- package/dist/components/ui/combobox.js +150 -53
- package/dist/components/ui/command.cjs +291 -53
- package/dist/components/ui/command.js +291 -53
- package/dist/components/ui/context-menu.cjs +370 -72
- package/dist/components/ui/context-menu.js +370 -72
- package/dist/components/ui/data-table.cjs +76 -39
- package/dist/components/ui/data-table.js +76 -39
- package/dist/components/ui/date-picker.cjs +179 -68
- package/dist/components/ui/date-picker.js +179 -68
- package/dist/components/ui/datetime-picker.cjs +225 -104
- package/dist/components/ui/datetime-picker.js +225 -104
- package/dist/components/ui/dialog.cjs +290 -78
- package/dist/components/ui/dialog.js +290 -78
- package/dist/components/ui/drawer.cjs +220 -39
- package/dist/components/ui/drawer.js +220 -39
- package/dist/components/ui/dropdown-menu.cjs +376 -73
- package/dist/components/ui/dropdown-menu.js +376 -73
- package/dist/components/ui/editable-cell.cjs +106 -42
- package/dist/components/ui/editable-cell.js +106 -42
- package/dist/components/ui/empty-state.cjs +106 -33
- package/dist/components/ui/empty-state.js +106 -33
- package/dist/components/ui/file-upload.cjs +405 -187
- package/dist/components/ui/file-upload.d.ts +3 -1
- package/dist/components/ui/file-upload.js +405 -187
- package/dist/components/ui/hover-card.cjs +46 -7
- package/dist/components/ui/hover-card.js +46 -7
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/input.cjs +39 -6
- package/dist/components/ui/input.js +39 -6
- package/dist/components/ui/label.cjs +34 -5
- package/dist/components/ui/label.js +34 -5
- package/dist/components/ui/layout/column.cjs +209 -41
- package/dist/components/ui/layout/column.js +209 -41
- package/dist/components/ui/layout/grid.cjs +275 -60
- package/dist/components/ui/layout/grid.js +275 -60
- package/dist/components/ui/layout/row.cjs +209 -41
- package/dist/components/ui/layout/row.js +209 -41
- package/dist/components/ui/menubar.cjs +540 -106
- package/dist/components/ui/menubar.js +540 -106
- package/dist/components/ui/multi-select.cjs +289 -135
- package/dist/components/ui/multi-select.js +289 -135
- package/dist/components/ui/navigation-menu.cjs +244 -47
- package/dist/components/ui/navigation-menu.js +244 -47
- package/dist/components/ui/pagination.cjs +301 -65
- package/dist/components/ui/pagination.js +301 -65
- package/dist/components/ui/popover.cjs +48 -9
- package/dist/components/ui/popover.js +48 -9
- package/dist/components/ui/progress.cjs +48 -8
- package/dist/components/ui/progress.js +48 -8
- package/dist/components/ui/radio-group.cjs +74 -12
- package/dist/components/ui/radio-group.js +74 -12
- package/dist/components/ui/resizable.cjs +75 -10
- package/dist/components/ui/resizable.js +75 -10
- package/dist/components/ui/scroll-area.cjs +113 -21
- package/dist/components/ui/scroll-area.js +113 -21
- package/dist/components/ui/search.cjs +280 -98
- package/dist/components/ui/search.js +280 -98
- package/dist/components/ui/select.cjs +334 -68
- package/dist/components/ui/select.js +334 -68
- package/dist/components/ui/separator.cjs +48 -7
- package/dist/components/ui/separator.js +48 -7
- package/dist/components/ui/sheet.cjs +236 -50
- package/dist/components/ui/sheet.js +236 -50
- package/dist/components/ui/skeleton.cjs +31 -5
- package/dist/components/ui/skeleton.js +31 -5
- package/dist/components/ui/slider.cjs +71 -21
- package/dist/components/ui/slider.js +71 -21
- package/dist/components/ui/sonner.cjs +43 -15
- package/dist/components/ui/sonner.js +43 -15
- package/dist/components/ui/spinner.cjs +83 -21
- package/dist/components/ui/spinner.js +83 -21
- package/dist/components/ui/stats-card.cjs +169 -60
- package/dist/components/ui/stats-card.js +169 -60
- package/dist/components/ui/stepper.cjs +126 -57
- package/dist/components/ui/stepper.js +126 -57
- package/dist/components/ui/switch.cjs +42 -8
- package/dist/components/ui/switch.js +42 -8
- package/dist/components/ui/table.cjs +267 -42
- package/dist/components/ui/table.js +267 -42
- package/dist/components/ui/tabs.cjs +100 -15
- package/dist/components/ui/tabs.js +100 -15
- package/dist/components/ui/textarea.cjs +34 -5
- package/dist/components/ui/textarea.js +34 -5
- package/dist/components/ui/toggle-group.cjs +112 -19
- package/dist/components/ui/toggle-group.js +112 -19
- package/dist/components/ui/toggle.cjs +43 -6
- package/dist/components/ui/toggle.js +43 -6
- package/dist/components/ui/tooltip.cjs +40 -6
- package/dist/components/ui/tooltip.js +40 -6
- package/dist/examples/admin-layout-example.cjs +879 -347
- package/dist/examples/admin-layout-example.js +879 -347
- package/dist/examples/app-shell-example.cjs +14 -14
- package/dist/examples/app-shell-example.js +14 -14
- package/dist/examples/dashboard-example.cjs +495 -334
- package/dist/examples/dashboard-example.js +495 -334
- package/dist/examples/data-management-example.cjs +501 -303
- package/dist/examples/data-management-example.js +502 -304
- package/dist/examples/flow-editor-layout-example.cjs +435 -231
- package/dist/examples/flow-editor-layout-example.js +436 -232
- package/dist/examples/flow-start-example.cjs +508 -251
- package/dist/examples/flow-start-example.js +509 -252
- package/dist/examples/form-builder-example.cjs +1006 -602
- package/dist/examples/form-builder-example.js +1007 -603
- package/dist/examples/new-project-example.cjs +806 -474
- package/dist/examples/new-project-example.js +807 -475
- package/dist/examples/settings-example.cjs +792 -704
- package/dist/examples/settings-example.js +792 -704
- package/dist/examples/vscode-example.cjs +731 -236
- package/dist/examples/vscode-example.js +731 -236
- package/package.json +4 -1
|
@@ -42,134 +42,568 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
42
42
|
MenubarSubTrigger: ()=>MenubarSubTrigger
|
|
43
43
|
});
|
|
44
44
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
45
|
+
const compiler_runtime_namespaceObject = require("react/compiler-runtime");
|
|
45
46
|
const react_menubar_namespaceObject = require("@radix-ui/react-menubar");
|
|
46
47
|
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
47
48
|
const external_react_namespaceObject = require("react");
|
|
48
49
|
const index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
49
|
-
function MenubarMenu(
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
function MenubarMenu(t0) {
|
|
51
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(4);
|
|
52
|
+
let props;
|
|
53
|
+
if ($[0] !== t0) {
|
|
54
|
+
({ ...props } = t0);
|
|
55
|
+
$[0] = t0;
|
|
56
|
+
$[1] = props;
|
|
57
|
+
} else props = $[1];
|
|
58
|
+
let t1;
|
|
59
|
+
if ($[2] !== props) {
|
|
60
|
+
t1 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Menu, {
|
|
61
|
+
...props
|
|
62
|
+
});
|
|
63
|
+
$[2] = props;
|
|
64
|
+
$[3] = t1;
|
|
65
|
+
} else t1 = $[3];
|
|
66
|
+
return t1;
|
|
53
67
|
}
|
|
54
|
-
function MenubarGroup(
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
68
|
+
function MenubarGroup(t0) {
|
|
69
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(4);
|
|
70
|
+
let props;
|
|
71
|
+
if ($[0] !== t0) {
|
|
72
|
+
({ ...props } = t0);
|
|
73
|
+
$[0] = t0;
|
|
74
|
+
$[1] = props;
|
|
75
|
+
} else props = $[1];
|
|
76
|
+
let t1;
|
|
77
|
+
if ($[2] !== props) {
|
|
78
|
+
t1 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Group, {
|
|
79
|
+
...props
|
|
80
|
+
});
|
|
81
|
+
$[2] = props;
|
|
82
|
+
$[3] = t1;
|
|
83
|
+
} else t1 = $[3];
|
|
84
|
+
return t1;
|
|
58
85
|
}
|
|
59
|
-
function MenubarPortal(
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
86
|
+
function MenubarPortal(t0) {
|
|
87
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(4);
|
|
88
|
+
let props;
|
|
89
|
+
if ($[0] !== t0) {
|
|
90
|
+
({ ...props } = t0);
|
|
91
|
+
$[0] = t0;
|
|
92
|
+
$[1] = props;
|
|
93
|
+
} else props = $[1];
|
|
94
|
+
let t1;
|
|
95
|
+
if ($[2] !== props) {
|
|
96
|
+
t1 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Portal, {
|
|
97
|
+
...props
|
|
98
|
+
});
|
|
99
|
+
$[2] = props;
|
|
100
|
+
$[3] = t1;
|
|
101
|
+
} else t1 = $[3];
|
|
102
|
+
return t1;
|
|
63
103
|
}
|
|
64
|
-
function MenubarRadioGroup(
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
104
|
+
function MenubarRadioGroup(t0) {
|
|
105
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(4);
|
|
106
|
+
let props;
|
|
107
|
+
if ($[0] !== t0) {
|
|
108
|
+
({ ...props } = t0);
|
|
109
|
+
$[0] = t0;
|
|
110
|
+
$[1] = props;
|
|
111
|
+
} else props = $[1];
|
|
112
|
+
let t1;
|
|
113
|
+
if ($[2] !== props) {
|
|
114
|
+
t1 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.RadioGroup, {
|
|
115
|
+
...props
|
|
116
|
+
});
|
|
117
|
+
$[2] = props;
|
|
118
|
+
$[3] = t1;
|
|
119
|
+
} else t1 = $[3];
|
|
120
|
+
return t1;
|
|
68
121
|
}
|
|
69
|
-
function MenubarSub(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
122
|
+
function MenubarSub(t0) {
|
|
123
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(4);
|
|
124
|
+
let props;
|
|
125
|
+
if ($[0] !== t0) {
|
|
126
|
+
({ ...props } = t0);
|
|
127
|
+
$[0] = t0;
|
|
128
|
+
$[1] = props;
|
|
129
|
+
} else props = $[1];
|
|
130
|
+
let t1;
|
|
131
|
+
if ($[2] !== props) {
|
|
132
|
+
t1 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Sub, {
|
|
133
|
+
"data-slot": "menubar-sub",
|
|
134
|
+
...props
|
|
135
|
+
});
|
|
136
|
+
$[2] = props;
|
|
137
|
+
$[3] = t1;
|
|
138
|
+
} else t1 = $[3];
|
|
139
|
+
return t1;
|
|
74
140
|
}
|
|
75
|
-
const Menubar = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
141
|
+
const Menubar = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
142
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(9);
|
|
143
|
+
let className;
|
|
144
|
+
let props;
|
|
145
|
+
if ($[0] !== t0) {
|
|
146
|
+
({ className, ...props } = t0);
|
|
147
|
+
$[0] = t0;
|
|
148
|
+
$[1] = className;
|
|
149
|
+
$[2] = props;
|
|
150
|
+
} else {
|
|
151
|
+
className = $[1];
|
|
152
|
+
props = $[2];
|
|
153
|
+
}
|
|
154
|
+
let t1;
|
|
155
|
+
if ($[3] !== className) {
|
|
156
|
+
t1 = (0, index_cjs_namespaceObject.cn)("flex h-10 items-center space-x-1 rounded-md border bg-background p-1", className);
|
|
157
|
+
$[3] = className;
|
|
158
|
+
$[4] = t1;
|
|
159
|
+
} else t1 = $[4];
|
|
160
|
+
let t2;
|
|
161
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
162
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Root, {
|
|
163
|
+
ref: ref,
|
|
164
|
+
className: t1,
|
|
165
|
+
...props
|
|
166
|
+
});
|
|
167
|
+
$[5] = props;
|
|
168
|
+
$[6] = ref;
|
|
169
|
+
$[7] = t1;
|
|
170
|
+
$[8] = t2;
|
|
171
|
+
} else t2 = $[8];
|
|
172
|
+
return t2;
|
|
173
|
+
});
|
|
80
174
|
Menubar.displayName = react_menubar_namespaceObject.Root.displayName;
|
|
81
|
-
const MenubarTrigger = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
175
|
+
const MenubarTrigger = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
176
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(9);
|
|
177
|
+
let className;
|
|
178
|
+
let props;
|
|
179
|
+
if ($[0] !== t0) {
|
|
180
|
+
({ className, ...props } = t0);
|
|
181
|
+
$[0] = t0;
|
|
182
|
+
$[1] = className;
|
|
183
|
+
$[2] = props;
|
|
184
|
+
} else {
|
|
185
|
+
className = $[1];
|
|
186
|
+
props = $[2];
|
|
187
|
+
}
|
|
188
|
+
let t1;
|
|
189
|
+
if ($[3] !== className) {
|
|
190
|
+
t1 = (0, index_cjs_namespaceObject.cn)("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground", className);
|
|
191
|
+
$[3] = className;
|
|
192
|
+
$[4] = t1;
|
|
193
|
+
} else t1 = $[4];
|
|
194
|
+
let t2;
|
|
195
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
196
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Trigger, {
|
|
197
|
+
ref: ref,
|
|
198
|
+
className: t1,
|
|
199
|
+
...props
|
|
200
|
+
});
|
|
201
|
+
$[5] = props;
|
|
202
|
+
$[6] = ref;
|
|
203
|
+
$[7] = t1;
|
|
204
|
+
$[8] = t2;
|
|
205
|
+
} else t2 = $[8];
|
|
206
|
+
return t2;
|
|
207
|
+
});
|
|
86
208
|
MenubarTrigger.displayName = react_menubar_namespaceObject.Trigger.displayName;
|
|
87
|
-
const MenubarSubTrigger = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
]
|
|
97
|
-
|
|
209
|
+
const MenubarSubTrigger = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
210
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(14);
|
|
211
|
+
let children;
|
|
212
|
+
let className;
|
|
213
|
+
let inset;
|
|
214
|
+
let props;
|
|
215
|
+
if ($[0] !== t0) {
|
|
216
|
+
({ className, inset, children, ...props } = t0);
|
|
217
|
+
$[0] = t0;
|
|
218
|
+
$[1] = children;
|
|
219
|
+
$[2] = className;
|
|
220
|
+
$[3] = inset;
|
|
221
|
+
$[4] = props;
|
|
222
|
+
} else {
|
|
223
|
+
children = $[1];
|
|
224
|
+
className = $[2];
|
|
225
|
+
inset = $[3];
|
|
226
|
+
props = $[4];
|
|
227
|
+
}
|
|
228
|
+
const t1 = inset && "pl-8";
|
|
229
|
+
let t2;
|
|
230
|
+
if ($[5] !== className || $[6] !== t1) {
|
|
231
|
+
t2 = (0, index_cjs_namespaceObject.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground", t1, className);
|
|
232
|
+
$[5] = className;
|
|
233
|
+
$[6] = t1;
|
|
234
|
+
$[7] = t2;
|
|
235
|
+
} else t2 = $[7];
|
|
236
|
+
let t3;
|
|
237
|
+
if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
238
|
+
t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronRight, {
|
|
239
|
+
className: "ml-auto h-4 w-4"
|
|
240
|
+
});
|
|
241
|
+
$[8] = t3;
|
|
242
|
+
} else t3 = $[8];
|
|
243
|
+
let t4;
|
|
244
|
+
if ($[9] !== children || $[10] !== props || $[11] !== ref || $[12] !== t2) {
|
|
245
|
+
t4 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_menubar_namespaceObject.SubTrigger, {
|
|
246
|
+
ref: ref,
|
|
247
|
+
className: t2,
|
|
248
|
+
...props,
|
|
249
|
+
children: [
|
|
250
|
+
children,
|
|
251
|
+
t3
|
|
252
|
+
]
|
|
253
|
+
});
|
|
254
|
+
$[9] = children;
|
|
255
|
+
$[10] = props;
|
|
256
|
+
$[11] = ref;
|
|
257
|
+
$[12] = t2;
|
|
258
|
+
$[13] = t4;
|
|
259
|
+
} else t4 = $[13];
|
|
260
|
+
return t4;
|
|
261
|
+
});
|
|
98
262
|
MenubarSubTrigger.displayName = react_menubar_namespaceObject.SubTrigger.displayName;
|
|
99
|
-
const MenubarSubContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
263
|
+
const MenubarSubContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
264
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(9);
|
|
265
|
+
let className;
|
|
266
|
+
let props;
|
|
267
|
+
if ($[0] !== t0) {
|
|
268
|
+
({ className, ...props } = t0);
|
|
269
|
+
$[0] = t0;
|
|
270
|
+
$[1] = className;
|
|
271
|
+
$[2] = props;
|
|
272
|
+
} else {
|
|
273
|
+
className = $[1];
|
|
274
|
+
props = $[2];
|
|
275
|
+
}
|
|
276
|
+
let t1;
|
|
277
|
+
if ($[3] !== className) {
|
|
278
|
+
t1 = (0, index_cjs_namespaceObject.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground 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 origin-[--radix-menubar-content-transform-origin]", className);
|
|
279
|
+
$[3] = className;
|
|
280
|
+
$[4] = t1;
|
|
281
|
+
} else t1 = $[4];
|
|
282
|
+
let t2;
|
|
283
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
284
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.SubContent, {
|
|
107
285
|
ref: ref,
|
|
108
|
-
|
|
109
|
-
alignOffset: alignOffset,
|
|
110
|
-
sideOffset: sideOffset,
|
|
111
|
-
className: (0, index_cjs_namespaceObject.cn)('z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in 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 origin-[--radix-menubar-content-transform-origin]', className),
|
|
286
|
+
className: t1,
|
|
112
287
|
...props
|
|
113
|
-
})
|
|
114
|
-
|
|
288
|
+
});
|
|
289
|
+
$[5] = props;
|
|
290
|
+
$[6] = ref;
|
|
291
|
+
$[7] = t1;
|
|
292
|
+
$[8] = t2;
|
|
293
|
+
} else t2 = $[8];
|
|
294
|
+
return t2;
|
|
295
|
+
});
|
|
296
|
+
MenubarSubContent.displayName = react_menubar_namespaceObject.SubContent.displayName;
|
|
297
|
+
const MenubarContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
298
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(15);
|
|
299
|
+
let className;
|
|
300
|
+
let props;
|
|
301
|
+
let t1;
|
|
302
|
+
let t2;
|
|
303
|
+
let t3;
|
|
304
|
+
if ($[0] !== t0) {
|
|
305
|
+
({ className, align: t1, alignOffset: t2, sideOffset: t3, ...props } = t0);
|
|
306
|
+
$[0] = t0;
|
|
307
|
+
$[1] = className;
|
|
308
|
+
$[2] = props;
|
|
309
|
+
$[3] = t1;
|
|
310
|
+
$[4] = t2;
|
|
311
|
+
$[5] = t3;
|
|
312
|
+
} else {
|
|
313
|
+
className = $[1];
|
|
314
|
+
props = $[2];
|
|
315
|
+
t1 = $[3];
|
|
316
|
+
t2 = $[4];
|
|
317
|
+
t3 = $[5];
|
|
318
|
+
}
|
|
319
|
+
const align = void 0 === t1 ? "start" : t1;
|
|
320
|
+
const alignOffset = void 0 === t2 ? -4 : t2;
|
|
321
|
+
const sideOffset = void 0 === t3 ? 8 : t3;
|
|
322
|
+
let t4;
|
|
323
|
+
if ($[6] !== className) {
|
|
324
|
+
t4 = (0, index_cjs_namespaceObject.cn)("z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in 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 origin-[--radix-menubar-content-transform-origin]", className);
|
|
325
|
+
$[6] = className;
|
|
326
|
+
$[7] = t4;
|
|
327
|
+
} else t4 = $[7];
|
|
328
|
+
let t5;
|
|
329
|
+
if ($[8] !== align || $[9] !== alignOffset || $[10] !== props || $[11] !== ref || $[12] !== sideOffset || $[13] !== t4) {
|
|
330
|
+
t5 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Portal, {
|
|
331
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Content, {
|
|
332
|
+
ref: ref,
|
|
333
|
+
align: align,
|
|
334
|
+
alignOffset: alignOffset,
|
|
335
|
+
sideOffset: sideOffset,
|
|
336
|
+
className: t4,
|
|
337
|
+
...props
|
|
338
|
+
})
|
|
339
|
+
});
|
|
340
|
+
$[8] = align;
|
|
341
|
+
$[9] = alignOffset;
|
|
342
|
+
$[10] = props;
|
|
343
|
+
$[11] = ref;
|
|
344
|
+
$[12] = sideOffset;
|
|
345
|
+
$[13] = t4;
|
|
346
|
+
$[14] = t5;
|
|
347
|
+
} else t5 = $[14];
|
|
348
|
+
return t5;
|
|
349
|
+
});
|
|
115
350
|
MenubarContent.displayName = react_menubar_namespaceObject.Content.displayName;
|
|
116
|
-
const MenubarItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
351
|
+
const MenubarItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
352
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(11);
|
|
353
|
+
let className;
|
|
354
|
+
let inset;
|
|
355
|
+
let props;
|
|
356
|
+
if ($[0] !== t0) {
|
|
357
|
+
({ className, inset, ...props } = t0);
|
|
358
|
+
$[0] = t0;
|
|
359
|
+
$[1] = className;
|
|
360
|
+
$[2] = inset;
|
|
361
|
+
$[3] = props;
|
|
362
|
+
} else {
|
|
363
|
+
className = $[1];
|
|
364
|
+
inset = $[2];
|
|
365
|
+
props = $[3];
|
|
366
|
+
}
|
|
367
|
+
const t1 = inset && "pl-8";
|
|
368
|
+
let t2;
|
|
369
|
+
if ($[4] !== className || $[5] !== t1) {
|
|
370
|
+
t2 = (0, index_cjs_namespaceObject.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t1, className);
|
|
371
|
+
$[4] = className;
|
|
372
|
+
$[5] = t1;
|
|
373
|
+
$[6] = t2;
|
|
374
|
+
} else t2 = $[6];
|
|
375
|
+
let t3;
|
|
376
|
+
if ($[7] !== props || $[8] !== ref || $[9] !== t2) {
|
|
377
|
+
t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Item, {
|
|
378
|
+
ref: ref,
|
|
379
|
+
className: t2,
|
|
380
|
+
...props
|
|
381
|
+
});
|
|
382
|
+
$[7] = props;
|
|
383
|
+
$[8] = ref;
|
|
384
|
+
$[9] = t2;
|
|
385
|
+
$[10] = t3;
|
|
386
|
+
} else t3 = $[10];
|
|
387
|
+
return t3;
|
|
388
|
+
});
|
|
121
389
|
MenubarItem.displayName = react_menubar_namespaceObject.Item.displayName;
|
|
122
|
-
const MenubarCheckboxItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
390
|
+
const MenubarCheckboxItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
391
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(14);
|
|
392
|
+
let checked;
|
|
393
|
+
let children;
|
|
394
|
+
let className;
|
|
395
|
+
let props;
|
|
396
|
+
if ($[0] !== t0) {
|
|
397
|
+
({ className, children, checked, ...props } = t0);
|
|
398
|
+
$[0] = t0;
|
|
399
|
+
$[1] = checked;
|
|
400
|
+
$[2] = children;
|
|
401
|
+
$[3] = className;
|
|
402
|
+
$[4] = props;
|
|
403
|
+
} else {
|
|
404
|
+
checked = $[1];
|
|
405
|
+
children = $[2];
|
|
406
|
+
className = $[3];
|
|
407
|
+
props = $[4];
|
|
408
|
+
}
|
|
409
|
+
let t1;
|
|
410
|
+
if ($[5] !== className) {
|
|
411
|
+
t1 = (0, index_cjs_namespaceObject.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", className);
|
|
412
|
+
$[5] = className;
|
|
413
|
+
$[6] = t1;
|
|
414
|
+
} else t1 = $[6];
|
|
415
|
+
let t2;
|
|
416
|
+
if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
|
|
417
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
418
|
+
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
419
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.ItemIndicator, {
|
|
420
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Check, {
|
|
421
|
+
className: "h-4 w-4"
|
|
134
422
|
})
|
|
135
|
-
})
|
|
136
|
-
|
|
137
|
-
]
|
|
138
|
-
}
|
|
423
|
+
})
|
|
424
|
+
});
|
|
425
|
+
$[7] = t2;
|
|
426
|
+
} else t2 = $[7];
|
|
427
|
+
let t3;
|
|
428
|
+
if ($[8] !== checked || $[9] !== children || $[10] !== props || $[11] !== ref || $[12] !== t1) {
|
|
429
|
+
t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_menubar_namespaceObject.CheckboxItem, {
|
|
430
|
+
ref: ref,
|
|
431
|
+
className: t1,
|
|
432
|
+
checked: checked,
|
|
433
|
+
...props,
|
|
434
|
+
children: [
|
|
435
|
+
t2,
|
|
436
|
+
children
|
|
437
|
+
]
|
|
438
|
+
});
|
|
439
|
+
$[8] = checked;
|
|
440
|
+
$[9] = children;
|
|
441
|
+
$[10] = props;
|
|
442
|
+
$[11] = ref;
|
|
443
|
+
$[12] = t1;
|
|
444
|
+
$[13] = t3;
|
|
445
|
+
} else t3 = $[13];
|
|
446
|
+
return t3;
|
|
447
|
+
});
|
|
139
448
|
MenubarCheckboxItem.displayName = react_menubar_namespaceObject.CheckboxItem.displayName;
|
|
140
|
-
const MenubarRadioItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
449
|
+
const MenubarRadioItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
450
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(12);
|
|
451
|
+
let children;
|
|
452
|
+
let className;
|
|
453
|
+
let props;
|
|
454
|
+
if ($[0] !== t0) {
|
|
455
|
+
({ className, children, ...props } = t0);
|
|
456
|
+
$[0] = t0;
|
|
457
|
+
$[1] = children;
|
|
458
|
+
$[2] = className;
|
|
459
|
+
$[3] = props;
|
|
460
|
+
} else {
|
|
461
|
+
children = $[1];
|
|
462
|
+
className = $[2];
|
|
463
|
+
props = $[3];
|
|
464
|
+
}
|
|
465
|
+
let t1;
|
|
466
|
+
if ($[4] !== className) {
|
|
467
|
+
t1 = (0, index_cjs_namespaceObject.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", className);
|
|
468
|
+
$[4] = className;
|
|
469
|
+
$[5] = t1;
|
|
470
|
+
} else t1 = $[5];
|
|
471
|
+
let t2;
|
|
472
|
+
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
473
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
474
|
+
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
475
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.ItemIndicator, {
|
|
476
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Circle, {
|
|
477
|
+
className: "h-2 w-2 fill-current"
|
|
151
478
|
})
|
|
152
|
-
})
|
|
153
|
-
|
|
154
|
-
]
|
|
155
|
-
}
|
|
479
|
+
})
|
|
480
|
+
});
|
|
481
|
+
$[6] = t2;
|
|
482
|
+
} else t2 = $[6];
|
|
483
|
+
let t3;
|
|
484
|
+
if ($[7] !== children || $[8] !== props || $[9] !== ref || $[10] !== t1) {
|
|
485
|
+
t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_menubar_namespaceObject.RadioItem, {
|
|
486
|
+
ref: ref,
|
|
487
|
+
className: t1,
|
|
488
|
+
...props,
|
|
489
|
+
children: [
|
|
490
|
+
t2,
|
|
491
|
+
children
|
|
492
|
+
]
|
|
493
|
+
});
|
|
494
|
+
$[7] = children;
|
|
495
|
+
$[8] = props;
|
|
496
|
+
$[9] = ref;
|
|
497
|
+
$[10] = t1;
|
|
498
|
+
$[11] = t3;
|
|
499
|
+
} else t3 = $[11];
|
|
500
|
+
return t3;
|
|
501
|
+
});
|
|
156
502
|
MenubarRadioItem.displayName = react_menubar_namespaceObject.RadioItem.displayName;
|
|
157
|
-
const MenubarLabel = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
503
|
+
const MenubarLabel = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
504
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(11);
|
|
505
|
+
let className;
|
|
506
|
+
let inset;
|
|
507
|
+
let props;
|
|
508
|
+
if ($[0] !== t0) {
|
|
509
|
+
({ className, inset, ...props } = t0);
|
|
510
|
+
$[0] = t0;
|
|
511
|
+
$[1] = className;
|
|
512
|
+
$[2] = inset;
|
|
513
|
+
$[3] = props;
|
|
514
|
+
} else {
|
|
515
|
+
className = $[1];
|
|
516
|
+
inset = $[2];
|
|
517
|
+
props = $[3];
|
|
518
|
+
}
|
|
519
|
+
const t1 = inset && "pl-8";
|
|
520
|
+
let t2;
|
|
521
|
+
if ($[4] !== className || $[5] !== t1) {
|
|
522
|
+
t2 = (0, index_cjs_namespaceObject.cn)("px-2 py-1.5 text-sm font-semibold", t1, className);
|
|
523
|
+
$[4] = className;
|
|
524
|
+
$[5] = t1;
|
|
525
|
+
$[6] = t2;
|
|
526
|
+
} else t2 = $[6];
|
|
527
|
+
let t3;
|
|
528
|
+
if ($[7] !== props || $[8] !== ref || $[9] !== t2) {
|
|
529
|
+
t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Label, {
|
|
530
|
+
ref: ref,
|
|
531
|
+
className: t2,
|
|
532
|
+
...props
|
|
533
|
+
});
|
|
534
|
+
$[7] = props;
|
|
535
|
+
$[8] = ref;
|
|
536
|
+
$[9] = t2;
|
|
537
|
+
$[10] = t3;
|
|
538
|
+
} else t3 = $[10];
|
|
539
|
+
return t3;
|
|
540
|
+
});
|
|
162
541
|
MenubarLabel.displayName = react_menubar_namespaceObject.Label.displayName;
|
|
163
|
-
const MenubarSeparator = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
542
|
+
const MenubarSeparator = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
543
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(9);
|
|
544
|
+
let className;
|
|
545
|
+
let props;
|
|
546
|
+
if ($[0] !== t0) {
|
|
547
|
+
({ className, ...props } = t0);
|
|
548
|
+
$[0] = t0;
|
|
549
|
+
$[1] = className;
|
|
550
|
+
$[2] = props;
|
|
551
|
+
} else {
|
|
552
|
+
className = $[1];
|
|
553
|
+
props = $[2];
|
|
554
|
+
}
|
|
555
|
+
let t1;
|
|
556
|
+
if ($[3] !== className) {
|
|
557
|
+
t1 = (0, index_cjs_namespaceObject.cn)("-mx-1 my-1 h-px bg-muted", className);
|
|
558
|
+
$[3] = className;
|
|
559
|
+
$[4] = t1;
|
|
560
|
+
} else t1 = $[4];
|
|
561
|
+
let t2;
|
|
562
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
563
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Separator, {
|
|
564
|
+
ref: ref,
|
|
565
|
+
className: t1,
|
|
566
|
+
...props
|
|
567
|
+
});
|
|
568
|
+
$[5] = props;
|
|
569
|
+
$[6] = ref;
|
|
570
|
+
$[7] = t1;
|
|
571
|
+
$[8] = t2;
|
|
572
|
+
} else t2 = $[8];
|
|
573
|
+
return t2;
|
|
574
|
+
});
|
|
168
575
|
MenubarSeparator.displayName = react_menubar_namespaceObject.Separator.displayName;
|
|
169
|
-
const MenubarShortcut = (
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
576
|
+
const MenubarShortcut = (t0)=>{
|
|
577
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(8);
|
|
578
|
+
let className;
|
|
579
|
+
let props;
|
|
580
|
+
if ($[0] !== t0) {
|
|
581
|
+
({ className, ...props } = t0);
|
|
582
|
+
$[0] = t0;
|
|
583
|
+
$[1] = className;
|
|
584
|
+
$[2] = props;
|
|
585
|
+
} else {
|
|
586
|
+
className = $[1];
|
|
587
|
+
props = $[2];
|
|
588
|
+
}
|
|
589
|
+
let t1;
|
|
590
|
+
if ($[3] !== className) {
|
|
591
|
+
t1 = (0, index_cjs_namespaceObject.cn)("ml-auto text-xs tracking-widest text-muted-foreground", className);
|
|
592
|
+
$[3] = className;
|
|
593
|
+
$[4] = t1;
|
|
594
|
+
} else t1 = $[4];
|
|
595
|
+
let t2;
|
|
596
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
597
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
598
|
+
className: t1,
|
|
599
|
+
...props
|
|
600
|
+
});
|
|
601
|
+
$[5] = props;
|
|
602
|
+
$[6] = t1;
|
|
603
|
+
$[7] = t2;
|
|
604
|
+
} else t2 = $[7];
|
|
605
|
+
return t2;
|
|
606
|
+
};
|
|
173
607
|
MenubarShortcut.displayname = 'MenubarShortcut';
|
|
174
608
|
exports.Menubar = __webpack_exports__.Menubar;
|
|
175
609
|
exports.MenubarCheckboxItem = __webpack_exports__.MenubarCheckboxItem;
|