@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.
Files changed (145) hide show
  1. package/dist/components/forms/field-renderer.cjs +120 -69
  2. package/dist/components/forms/field-renderer.js +120 -69
  3. package/dist/components/forms/form-designer.cjs +2352 -1488
  4. package/dist/components/forms/form-designer.js +2353 -1489
  5. package/dist/components/forms/form-examples.cjs +10 -10
  6. package/dist/components/forms/form-examples.js +10 -10
  7. package/dist/components/forms/form-state-viewer.cjs +988 -433
  8. package/dist/components/forms/form-state-viewer.js +988 -433
  9. package/dist/components/forms/metadata-form.cjs +446 -170
  10. package/dist/components/forms/metadata-form.js +446 -170
  11. package/dist/components/forms/schema-viewer.cjs +173 -80
  12. package/dist/components/forms/schema-viewer.js +173 -80
  13. package/dist/components/ui/accordion.cjs +131 -27
  14. package/dist/components/ui/accordion.js +131 -27
  15. package/dist/components/ui/alert-dialog.cjs +273 -45
  16. package/dist/components/ui/alert-dialog.js +273 -45
  17. package/dist/components/ui/alert.cjs +106 -17
  18. package/dist/components/ui/alert.js +106 -17
  19. package/dist/components/ui/avatar.cjs +100 -15
  20. package/dist/components/ui/avatar.js +100 -15
  21. package/dist/components/ui/badge.cjs +36 -6
  22. package/dist/components/ui/badge.js +36 -6
  23. package/dist/components/ui/breadcrumb.cjs +258 -52
  24. package/dist/components/ui/breadcrumb.js +258 -52
  25. package/dist/components/ui/button-group.cjs +119 -19
  26. package/dist/components/ui/button-group.js +119 -19
  27. package/dist/components/ui/button.cjs +48 -8
  28. package/dist/components/ui/button.js +48 -8
  29. package/dist/components/ui/calendar.cjs +88 -30
  30. package/dist/components/ui/calendar.js +88 -30
  31. package/dist/components/ui/card.cjs +199 -30
  32. package/dist/components/ui/card.js +199 -30
  33. package/dist/components/ui/checkbox.cjs +42 -8
  34. package/dist/components/ui/checkbox.js +42 -8
  35. package/dist/components/ui/combobox.cjs +150 -53
  36. package/dist/components/ui/combobox.js +150 -53
  37. package/dist/components/ui/command.cjs +291 -53
  38. package/dist/components/ui/command.js +291 -53
  39. package/dist/components/ui/context-menu.cjs +370 -72
  40. package/dist/components/ui/context-menu.js +370 -72
  41. package/dist/components/ui/data-table.cjs +76 -39
  42. package/dist/components/ui/data-table.js +76 -39
  43. package/dist/components/ui/date-picker.cjs +179 -68
  44. package/dist/components/ui/date-picker.js +179 -68
  45. package/dist/components/ui/datetime-picker.cjs +225 -104
  46. package/dist/components/ui/datetime-picker.js +225 -104
  47. package/dist/components/ui/dialog.cjs +290 -78
  48. package/dist/components/ui/dialog.js +290 -78
  49. package/dist/components/ui/drawer.cjs +220 -39
  50. package/dist/components/ui/drawer.js +220 -39
  51. package/dist/components/ui/dropdown-menu.cjs +376 -73
  52. package/dist/components/ui/dropdown-menu.js +376 -73
  53. package/dist/components/ui/editable-cell.cjs +106 -42
  54. package/dist/components/ui/editable-cell.js +106 -42
  55. package/dist/components/ui/empty-state.cjs +106 -33
  56. package/dist/components/ui/empty-state.js +106 -33
  57. package/dist/components/ui/file-upload.cjs +405 -187
  58. package/dist/components/ui/file-upload.d.ts +3 -1
  59. package/dist/components/ui/file-upload.js +405 -187
  60. package/dist/components/ui/hover-card.cjs +46 -7
  61. package/dist/components/ui/hover-card.js +46 -7
  62. package/dist/components/ui/index.cjs +4 -4
  63. package/dist/components/ui/input.cjs +39 -6
  64. package/dist/components/ui/input.js +39 -6
  65. package/dist/components/ui/label.cjs +34 -5
  66. package/dist/components/ui/label.js +34 -5
  67. package/dist/components/ui/layout/column.cjs +209 -41
  68. package/dist/components/ui/layout/column.js +209 -41
  69. package/dist/components/ui/layout/grid.cjs +275 -60
  70. package/dist/components/ui/layout/grid.js +275 -60
  71. package/dist/components/ui/layout/row.cjs +209 -41
  72. package/dist/components/ui/layout/row.js +209 -41
  73. package/dist/components/ui/menubar.cjs +540 -106
  74. package/dist/components/ui/menubar.js +540 -106
  75. package/dist/components/ui/multi-select.cjs +289 -135
  76. package/dist/components/ui/multi-select.js +289 -135
  77. package/dist/components/ui/navigation-menu.cjs +244 -47
  78. package/dist/components/ui/navigation-menu.js +244 -47
  79. package/dist/components/ui/pagination.cjs +301 -65
  80. package/dist/components/ui/pagination.js +301 -65
  81. package/dist/components/ui/popover.cjs +48 -9
  82. package/dist/components/ui/popover.js +48 -9
  83. package/dist/components/ui/progress.cjs +48 -8
  84. package/dist/components/ui/progress.js +48 -8
  85. package/dist/components/ui/radio-group.cjs +74 -12
  86. package/dist/components/ui/radio-group.js +74 -12
  87. package/dist/components/ui/resizable.cjs +75 -10
  88. package/dist/components/ui/resizable.js +75 -10
  89. package/dist/components/ui/scroll-area.cjs +113 -21
  90. package/dist/components/ui/scroll-area.js +113 -21
  91. package/dist/components/ui/search.cjs +280 -98
  92. package/dist/components/ui/search.js +280 -98
  93. package/dist/components/ui/select.cjs +334 -68
  94. package/dist/components/ui/select.js +334 -68
  95. package/dist/components/ui/separator.cjs +48 -7
  96. package/dist/components/ui/separator.js +48 -7
  97. package/dist/components/ui/sheet.cjs +236 -50
  98. package/dist/components/ui/sheet.js +236 -50
  99. package/dist/components/ui/skeleton.cjs +31 -5
  100. package/dist/components/ui/skeleton.js +31 -5
  101. package/dist/components/ui/slider.cjs +71 -21
  102. package/dist/components/ui/slider.js +71 -21
  103. package/dist/components/ui/sonner.cjs +43 -15
  104. package/dist/components/ui/sonner.js +43 -15
  105. package/dist/components/ui/spinner.cjs +83 -21
  106. package/dist/components/ui/spinner.js +83 -21
  107. package/dist/components/ui/stats-card.cjs +169 -60
  108. package/dist/components/ui/stats-card.js +169 -60
  109. package/dist/components/ui/stepper.cjs +126 -57
  110. package/dist/components/ui/stepper.js +126 -57
  111. package/dist/components/ui/switch.cjs +42 -8
  112. package/dist/components/ui/switch.js +42 -8
  113. package/dist/components/ui/table.cjs +267 -42
  114. package/dist/components/ui/table.js +267 -42
  115. package/dist/components/ui/tabs.cjs +100 -15
  116. package/dist/components/ui/tabs.js +100 -15
  117. package/dist/components/ui/textarea.cjs +34 -5
  118. package/dist/components/ui/textarea.js +34 -5
  119. package/dist/components/ui/toggle-group.cjs +112 -19
  120. package/dist/components/ui/toggle-group.js +112 -19
  121. package/dist/components/ui/toggle.cjs +43 -6
  122. package/dist/components/ui/toggle.js +43 -6
  123. package/dist/components/ui/tooltip.cjs +40 -6
  124. package/dist/components/ui/tooltip.js +40 -6
  125. package/dist/examples/admin-layout-example.cjs +879 -347
  126. package/dist/examples/admin-layout-example.js +879 -347
  127. package/dist/examples/app-shell-example.cjs +14 -14
  128. package/dist/examples/app-shell-example.js +14 -14
  129. package/dist/examples/dashboard-example.cjs +495 -334
  130. package/dist/examples/dashboard-example.js +495 -334
  131. package/dist/examples/data-management-example.cjs +501 -303
  132. package/dist/examples/data-management-example.js +502 -304
  133. package/dist/examples/flow-editor-layout-example.cjs +435 -231
  134. package/dist/examples/flow-editor-layout-example.js +436 -232
  135. package/dist/examples/flow-start-example.cjs +508 -251
  136. package/dist/examples/flow-start-example.js +509 -252
  137. package/dist/examples/form-builder-example.cjs +1006 -602
  138. package/dist/examples/form-builder-example.js +1007 -603
  139. package/dist/examples/new-project-example.cjs +806 -474
  140. package/dist/examples/new-project-example.js +807 -475
  141. package/dist/examples/settings-example.cjs +792 -704
  142. package/dist/examples/settings-example.js +792 -704
  143. package/dist/examples/vscode-example.cjs +731 -236
  144. package/dist/examples/vscode-example.js +731 -236
  145. package/package.json +4 -1
@@ -39,273 +39,768 @@ __webpack_require__.d(__webpack_exports__, {
39
39
  ShellPanel: ()=>ShellPanel
40
40
  });
41
41
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
42
+ const compiler_runtime_namespaceObject = require("react/compiler-runtime");
42
43
  const external_react_namespaceObject = require("react");
43
44
  const index_cjs_namespaceObject = require("../lib/index.cjs");
44
45
  const external_lucide_react_namespaceObject = require("lucide-react");
45
46
  const button_cjs_namespaceObject = require("../components/ui/button.cjs");
46
47
  const scroll_area_cjs_namespaceObject = require("../components/ui/scroll-area.cjs");
47
48
  const layout_index_cjs_namespaceObject = require("../components/ui/layout/index.cjs");
48
- function Shell({ className, children, ...props }) {
49
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Column, {
50
- overflow: "hidden",
51
- className: (0, index_cjs_namespaceObject.cn)('h-[600px] w-full rounded-lg border bg-background', className),
52
- ...props,
53
- children: children
54
- });
49
+ function Shell(t0) {
50
+ const $ = (0, compiler_runtime_namespaceObject.c)(10);
51
+ let children;
52
+ let className;
53
+ let props;
54
+ if ($[0] !== t0) {
55
+ ({ className, children, ...props } = t0);
56
+ $[0] = t0;
57
+ $[1] = children;
58
+ $[2] = className;
59
+ $[3] = props;
60
+ } else {
61
+ children = $[1];
62
+ className = $[2];
63
+ props = $[3];
64
+ }
65
+ let t1;
66
+ if ($[4] !== className) {
67
+ t1 = (0, index_cjs_namespaceObject.cn)("h-[600px] w-full rounded-lg border bg-background", className);
68
+ $[4] = className;
69
+ $[5] = t1;
70
+ } else t1 = $[5];
71
+ let t2;
72
+ if ($[6] !== children || $[7] !== props || $[8] !== t1) {
73
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Column, {
74
+ overflow: "hidden",
75
+ className: t1,
76
+ ...props,
77
+ children: children
78
+ });
79
+ $[6] = children;
80
+ $[7] = props;
81
+ $[8] = t1;
82
+ $[9] = t2;
83
+ } else t2 = $[9];
84
+ return t2;
55
85
  }
56
- function ShellTitleBar({ className, title, children, ...props }) {
57
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
58
- h: 9,
59
- justify: "between",
60
- align: "center",
61
- className: (0, index_cjs_namespaceObject.cn)('border-b bg-muted/50 px-3', className),
62
- ...props,
63
- children: [
64
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
65
- gap: 2,
66
- align: "center",
67
- children: [
68
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
69
- gap: 1.5,
70
- children: [
71
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
72
- className: "h-3 w-3 rounded-full bg-red-500"
73
- }),
74
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
75
- className: "h-3 w-3 rounded-full bg-yellow-500"
76
- }),
77
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
78
- className: "h-3 w-3 rounded-full bg-green-500"
79
- })
80
- ]
81
- }),
82
- title && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
83
- className: "ml-3 text-xs text-muted-foreground",
84
- children: title
85
- })
86
- ]
87
- }),
88
- children
89
- ]
90
- });
86
+ function ShellTitleBar(t0) {
87
+ const $ = (0, compiler_runtime_namespaceObject.c)(17);
88
+ let children;
89
+ let className;
90
+ let props;
91
+ let title;
92
+ if ($[0] !== t0) {
93
+ ({ className, title, children, ...props } = t0);
94
+ $[0] = t0;
95
+ $[1] = children;
96
+ $[2] = className;
97
+ $[3] = props;
98
+ $[4] = title;
99
+ } else {
100
+ children = $[1];
101
+ className = $[2];
102
+ props = $[3];
103
+ title = $[4];
104
+ }
105
+ let t1;
106
+ if ($[5] !== className) {
107
+ t1 = (0, index_cjs_namespaceObject.cn)("border-b bg-muted/50 px-3", className);
108
+ $[5] = className;
109
+ $[6] = t1;
110
+ } else t1 = $[6];
111
+ let t2;
112
+ if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
113
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
114
+ gap: 1.5,
115
+ children: [
116
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
117
+ className: "h-3 w-3 rounded-full bg-red-500"
118
+ }),
119
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
120
+ className: "h-3 w-3 rounded-full bg-yellow-500"
121
+ }),
122
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
123
+ className: "h-3 w-3 rounded-full bg-green-500"
124
+ })
125
+ ]
126
+ });
127
+ $[7] = t2;
128
+ } else t2 = $[7];
129
+ let t3;
130
+ if ($[8] !== title) {
131
+ t3 = title && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
132
+ className: "ml-3 text-xs text-muted-foreground",
133
+ children: title
134
+ });
135
+ $[8] = title;
136
+ $[9] = t3;
137
+ } else t3 = $[9];
138
+ let t4;
139
+ if ($[10] !== t3) {
140
+ t4 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
141
+ gap: 2,
142
+ align: "center",
143
+ children: [
144
+ t2,
145
+ t3
146
+ ]
147
+ });
148
+ $[10] = t3;
149
+ $[11] = t4;
150
+ } else t4 = $[11];
151
+ let t5;
152
+ if ($[12] !== children || $[13] !== props || $[14] !== t1 || $[15] !== t4) {
153
+ t5 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
154
+ h: 9,
155
+ justify: "between",
156
+ align: "center",
157
+ className: t1,
158
+ ...props,
159
+ children: [
160
+ t4,
161
+ children
162
+ ]
163
+ });
164
+ $[12] = children;
165
+ $[13] = props;
166
+ $[14] = t1;
167
+ $[15] = t4;
168
+ $[16] = t5;
169
+ } else t5 = $[16];
170
+ return t5;
91
171
  }
92
- function ShellContent({ className, children, ...props }) {
93
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Row, {
94
- flex: 1,
95
- overflow: "hidden",
96
- className: className,
97
- ...props,
98
- children: children
99
- });
172
+ function ShellContent(t0) {
173
+ const $ = (0, compiler_runtime_namespaceObject.c)(8);
174
+ let children;
175
+ let className;
176
+ let props;
177
+ if ($[0] !== t0) {
178
+ ({ className, children, ...props } = t0);
179
+ $[0] = t0;
180
+ $[1] = children;
181
+ $[2] = className;
182
+ $[3] = props;
183
+ } else {
184
+ children = $[1];
185
+ className = $[2];
186
+ props = $[3];
187
+ }
188
+ let t1;
189
+ if ($[4] !== children || $[5] !== className || $[6] !== props) {
190
+ t1 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Row, {
191
+ flex: 1,
192
+ overflow: "hidden",
193
+ className: className,
194
+ ...props,
195
+ children: children
196
+ });
197
+ $[4] = children;
198
+ $[5] = className;
199
+ $[6] = props;
200
+ $[7] = t1;
201
+ } else t1 = $[7];
202
+ return t1;
100
203
  }
101
- function ShellSidebar({ className, children, collapsed = false, onCollapsedChange, width = 240, ...props }) {
102
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Column, {
103
- className: (0, index_cjs_namespaceObject.cn)('border-r bg-muted/30 transition-all duration-200', collapsed ? 'w-0 overflow-hidden' : '', className),
104
- style: {
105
- width: collapsed ? 0 : width
106
- },
107
- ...props,
108
- children: children
109
- });
204
+ function ShellSidebar(t0) {
205
+ const $ = (0, compiler_runtime_namespaceObject.c)(16);
206
+ let children;
207
+ let className;
208
+ let props;
209
+ let t1;
210
+ let t2;
211
+ if ($[0] !== t0) {
212
+ const { className: t3, children: t4, collapsed: t5, onCollapsedChange, width: t6, ...t7 } = t0;
213
+ className = t3;
214
+ children = t4;
215
+ t1 = t5;
216
+ t2 = t6;
217
+ props = t7;
218
+ $[0] = t0;
219
+ $[1] = children;
220
+ $[2] = className;
221
+ $[3] = props;
222
+ $[4] = t1;
223
+ $[5] = t2;
224
+ } else {
225
+ children = $[1];
226
+ className = $[2];
227
+ props = $[3];
228
+ t1 = $[4];
229
+ t2 = $[5];
230
+ }
231
+ const collapsed = void 0 === t1 ? false : t1;
232
+ const width = void 0 === t2 ? 240 : t2;
233
+ const t3 = collapsed ? "w-0 overflow-hidden" : "";
234
+ let t4;
235
+ if ($[6] !== className || $[7] !== t3) {
236
+ t4 = (0, index_cjs_namespaceObject.cn)("border-r bg-muted/30 transition-all duration-200", t3, className);
237
+ $[6] = className;
238
+ $[7] = t3;
239
+ $[8] = t4;
240
+ } else t4 = $[8];
241
+ const t5 = collapsed ? 0 : width;
242
+ let t6;
243
+ if ($[9] !== t5) {
244
+ t6 = {
245
+ width: t5
246
+ };
247
+ $[9] = t5;
248
+ $[10] = t6;
249
+ } else t6 = $[10];
250
+ let t7;
251
+ if ($[11] !== children || $[12] !== props || $[13] !== t4 || $[14] !== t6) {
252
+ t7 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Column, {
253
+ className: t4,
254
+ style: t6,
255
+ ...props,
256
+ children: children
257
+ });
258
+ $[11] = children;
259
+ $[12] = props;
260
+ $[13] = t4;
261
+ $[14] = t6;
262
+ $[15] = t7;
263
+ } else t7 = $[15];
264
+ return t7;
110
265
  }
111
- function ShellSidebarHeader({ className, title, collapsed, onCollapsedChange, ...props }) {
112
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
113
- h: 8,
114
- justify: "between",
115
- align: "center",
116
- className: (0, index_cjs_namespaceObject.cn)('px-3 text-xs font-medium uppercase text-muted-foreground', className),
117
- ...props,
118
- children: [
119
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
120
- children: title
121
- }),
122
- onCollapsedChange && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
123
- variant: "ghost",
124
- size: "icon",
125
- className: "h-5 w-5",
126
- onClick: ()=>onCollapsedChange(!collapsed),
127
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.PanelLeftClose, {
128
- className: "h-3.5 w-3.5"
129
- })
266
+ function ShellSidebarHeader(t0) {
267
+ const $ = (0, compiler_runtime_namespaceObject.c)(18);
268
+ let className;
269
+ let collapsed;
270
+ let onCollapsedChange;
271
+ let props;
272
+ let title;
273
+ if ($[0] !== t0) {
274
+ ({ className, title, collapsed, onCollapsedChange, ...props } = t0);
275
+ $[0] = t0;
276
+ $[1] = className;
277
+ $[2] = collapsed;
278
+ $[3] = onCollapsedChange;
279
+ $[4] = props;
280
+ $[5] = title;
281
+ } else {
282
+ className = $[1];
283
+ collapsed = $[2];
284
+ onCollapsedChange = $[3];
285
+ props = $[4];
286
+ title = $[5];
287
+ }
288
+ let t1;
289
+ if ($[6] !== className) {
290
+ t1 = (0, index_cjs_namespaceObject.cn)("px-3 text-xs font-medium uppercase text-muted-foreground", className);
291
+ $[6] = className;
292
+ $[7] = t1;
293
+ } else t1 = $[7];
294
+ let t2;
295
+ if ($[8] !== title) {
296
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
297
+ children: title
298
+ });
299
+ $[8] = title;
300
+ $[9] = t2;
301
+ } else t2 = $[9];
302
+ let t3;
303
+ if ($[10] !== collapsed || $[11] !== onCollapsedChange) {
304
+ t3 = onCollapsedChange && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
305
+ variant: "ghost",
306
+ size: "icon",
307
+ className: "h-5 w-5",
308
+ onClick: ()=>onCollapsedChange(!collapsed),
309
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.PanelLeftClose, {
310
+ className: "h-3.5 w-3.5"
130
311
  })
131
- ]
132
- });
312
+ });
313
+ $[10] = collapsed;
314
+ $[11] = onCollapsedChange;
315
+ $[12] = t3;
316
+ } else t3 = $[12];
317
+ let t4;
318
+ if ($[13] !== props || $[14] !== t1 || $[15] !== t2 || $[16] !== t3) {
319
+ t4 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
320
+ h: 8,
321
+ justify: "between",
322
+ align: "center",
323
+ className: t1,
324
+ ...props,
325
+ children: [
326
+ t2,
327
+ t3
328
+ ]
329
+ });
330
+ $[13] = props;
331
+ $[14] = t1;
332
+ $[15] = t2;
333
+ $[16] = t3;
334
+ $[17] = t4;
335
+ } else t4 = $[17];
336
+ return t4;
133
337
  }
134
- function ShellFileTree({ items, selectedFile, onSelectFile }) {
135
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(scroll_area_cjs_namespaceObject.ScrollArea, {
136
- className: "flex-1",
137
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
138
- className: "p-2",
139
- children: items.map((item)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(FileTreeNode, {
338
+ function ShellFileTree(t0) {
339
+ const $ = (0, compiler_runtime_namespaceObject.c)(9);
340
+ const { items, selectedFile, onSelectFile } = t0;
341
+ let t1;
342
+ if ($[0] !== items || $[1] !== onSelectFile || $[2] !== selectedFile) {
343
+ let t2;
344
+ if ($[4] !== onSelectFile || $[5] !== selectedFile) {
345
+ t2 = (item)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(FileTreeNode, {
140
346
  item: item,
141
347
  depth: 0,
142
348
  selectedFile: selectedFile,
143
349
  onSelectFile: onSelectFile
144
- }, item.name))
145
- })
146
- });
350
+ }, item.name);
351
+ $[4] = onSelectFile;
352
+ $[5] = selectedFile;
353
+ $[6] = t2;
354
+ } else t2 = $[6];
355
+ t1 = items.map(t2);
356
+ $[0] = items;
357
+ $[1] = onSelectFile;
358
+ $[2] = selectedFile;
359
+ $[3] = t1;
360
+ } else t1 = $[3];
361
+ let t2;
362
+ if ($[7] !== t1) {
363
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(scroll_area_cjs_namespaceObject.ScrollArea, {
364
+ className: "flex-1",
365
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
366
+ className: "p-2",
367
+ children: t1
368
+ })
369
+ });
370
+ $[7] = t1;
371
+ $[8] = t2;
372
+ } else t2 = $[8];
373
+ return t2;
147
374
  }
148
- function FileTreeNode({ item, depth, selectedFile, onSelectFile }) {
375
+ function FileTreeNode(t0) {
376
+ const $ = (0, compiler_runtime_namespaceObject.c)(31);
377
+ const { item, depth, selectedFile, onSelectFile } = t0;
149
378
  const [expanded, setExpanded] = external_react_namespaceObject.useState(true);
150
- const isFolder = 'folder' === item.type;
379
+ const isFolder = "folder" === item.type;
151
380
  const isSelected = selectedFile === item.name;
152
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
153
- children: [
154
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
155
- gap: 1,
156
- align: "center",
157
- className: (0, index_cjs_namespaceObject.cn)('cursor-pointer rounded px-2 py-0.5 text-sm hover:bg-muted', isSelected && 'bg-primary/10 text-primary'),
158
- style: {
159
- paddingLeft: 12 * depth + 8
160
- },
161
- onClick: ()=>{
162
- if (isFolder) setExpanded(!expanded);
163
- else onSelectFile?.(item.name);
164
- },
165
- children: [
166
- isFolder ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
167
- children: [
168
- expanded ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown, {
169
- className: "h-3.5 w-3.5 shrink-0 text-muted-foreground"
170
- }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronRight, {
171
- className: "h-3.5 w-3.5 shrink-0 text-muted-foreground"
172
- }),
173
- expanded ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.FolderOpen, {
174
- className: "h-4 w-4 shrink-0 text-yellow-600"
175
- }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Folder, {
176
- className: "h-4 w-4 shrink-0 text-yellow-600"
177
- })
178
- ]
179
- }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
180
- children: [
181
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
182
- className: "w-3.5"
183
- }),
184
- item.icon || /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.File, {
185
- className: "h-4 w-4 shrink-0 text-muted-foreground"
186
- })
187
- ]
188
- }),
189
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
190
- className: "truncate",
191
- children: item.name
192
- })
193
- ]
194
- }),
195
- isFolder && expanded && item.children && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
196
- children: item.children.map((child)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(FileTreeNode, {
197
- item: child,
198
- depth: depth + 1,
199
- selectedFile: selectedFile,
200
- onSelectFile: onSelectFile
201
- }, child.name))
202
- })
203
- ]
204
- });
381
+ const t1 = isSelected && "bg-primary/10 text-primary";
382
+ let t2;
383
+ if ($[0] !== t1) {
384
+ t2 = (0, index_cjs_namespaceObject.cn)("cursor-pointer rounded px-2 py-0.5 text-sm hover:bg-muted", t1);
385
+ $[0] = t1;
386
+ $[1] = t2;
387
+ } else t2 = $[1];
388
+ const t3 = 12 * depth + 8;
389
+ let t4;
390
+ if ($[2] !== t3) {
391
+ t4 = {
392
+ paddingLeft: t3
393
+ };
394
+ $[2] = t3;
395
+ $[3] = t4;
396
+ } else t4 = $[3];
397
+ let t5;
398
+ if ($[4] !== expanded || $[5] !== isFolder || $[6] !== item.name || $[7] !== onSelectFile) {
399
+ t5 = ()=>{
400
+ if (isFolder) setExpanded(!expanded);
401
+ else onSelectFile?.(item.name);
402
+ };
403
+ $[4] = expanded;
404
+ $[5] = isFolder;
405
+ $[6] = item.name;
406
+ $[7] = onSelectFile;
407
+ $[8] = t5;
408
+ } else t5 = $[8];
409
+ let t6;
410
+ if ($[9] !== expanded || $[10] !== isFolder || $[11] !== item.icon) {
411
+ t6 = isFolder ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
412
+ children: [
413
+ expanded ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown, {
414
+ className: "h-3.5 w-3.5 shrink-0 text-muted-foreground"
415
+ }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronRight, {
416
+ className: "h-3.5 w-3.5 shrink-0 text-muted-foreground"
417
+ }),
418
+ expanded ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.FolderOpen, {
419
+ className: "h-4 w-4 shrink-0 text-yellow-600"
420
+ }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Folder, {
421
+ className: "h-4 w-4 shrink-0 text-yellow-600"
422
+ })
423
+ ]
424
+ }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
425
+ children: [
426
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
427
+ className: "w-3.5"
428
+ }),
429
+ item.icon || /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.File, {
430
+ className: "h-4 w-4 shrink-0 text-muted-foreground"
431
+ })
432
+ ]
433
+ });
434
+ $[9] = expanded;
435
+ $[10] = isFolder;
436
+ $[11] = item.icon;
437
+ $[12] = t6;
438
+ } else t6 = $[12];
439
+ let t7;
440
+ if ($[13] !== item.name) {
441
+ t7 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
442
+ className: "truncate",
443
+ children: item.name
444
+ });
445
+ $[13] = item.name;
446
+ $[14] = t7;
447
+ } else t7 = $[14];
448
+ let t8;
449
+ if ($[15] !== t2 || $[16] !== t4 || $[17] !== t5 || $[18] !== t6 || $[19] !== t7) {
450
+ t8 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
451
+ gap: 1,
452
+ align: "center",
453
+ className: t2,
454
+ style: t4,
455
+ onClick: t5,
456
+ children: [
457
+ t6,
458
+ t7
459
+ ]
460
+ });
461
+ $[15] = t2;
462
+ $[16] = t4;
463
+ $[17] = t5;
464
+ $[18] = t6;
465
+ $[19] = t7;
466
+ $[20] = t8;
467
+ } else t8 = $[20];
468
+ let t9;
469
+ if ($[21] !== depth || $[22] !== expanded || $[23] !== isFolder || $[24] !== item.children || $[25] !== onSelectFile || $[26] !== selectedFile) {
470
+ t9 = isFolder && expanded && item.children && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
471
+ children: item.children.map((child)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(FileTreeNode, {
472
+ item: child,
473
+ depth: depth + 1,
474
+ selectedFile: selectedFile,
475
+ onSelectFile: onSelectFile
476
+ }, child.name))
477
+ });
478
+ $[21] = depth;
479
+ $[22] = expanded;
480
+ $[23] = isFolder;
481
+ $[24] = item.children;
482
+ $[25] = onSelectFile;
483
+ $[26] = selectedFile;
484
+ $[27] = t9;
485
+ } else t9 = $[27];
486
+ let t10;
487
+ if ($[28] !== t8 || $[29] !== t9) {
488
+ t10 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
489
+ children: [
490
+ t8,
491
+ t9
492
+ ]
493
+ });
494
+ $[28] = t8;
495
+ $[29] = t9;
496
+ $[30] = t10;
497
+ } else t10 = $[30];
498
+ return t10;
205
499
  }
206
- function ShellMain({ className, children, ...props }) {
207
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Column, {
208
- flex: 1,
209
- overflow: "hidden",
210
- className: className,
211
- ...props,
212
- children: children
213
- });
500
+ function ShellMain(t0) {
501
+ const $ = (0, compiler_runtime_namespaceObject.c)(8);
502
+ let children;
503
+ let className;
504
+ let props;
505
+ if ($[0] !== t0) {
506
+ ({ className, children, ...props } = t0);
507
+ $[0] = t0;
508
+ $[1] = children;
509
+ $[2] = className;
510
+ $[3] = props;
511
+ } else {
512
+ children = $[1];
513
+ className = $[2];
514
+ props = $[3];
515
+ }
516
+ let t1;
517
+ if ($[4] !== children || $[5] !== className || $[6] !== props) {
518
+ t1 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Column, {
519
+ flex: 1,
520
+ overflow: "hidden",
521
+ className: className,
522
+ ...props,
523
+ children: children
524
+ });
525
+ $[4] = children;
526
+ $[5] = className;
527
+ $[6] = props;
528
+ $[7] = t1;
529
+ } else t1 = $[7];
530
+ return t1;
214
531
  }
215
- function ShellTabBar({ tabs, activeTab, onTabChange, onTabClose }) {
216
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Row, {
217
- h: 9,
218
- align: "center",
219
- className: "border-b bg-muted/30",
220
- children: tabs.map((tab)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
221
- gap: 2,
222
- align: "center",
223
- className: (0, index_cjs_namespaceObject.cn)('group h-full cursor-pointer border-r px-3 text-sm', activeTab === tab.id ? 'bg-background text-foreground' : 'text-muted-foreground hover:bg-muted/50'),
224
- onClick: ()=>onTabChange?.(tab.id),
225
- children: [
226
- tab.icon,
227
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
228
- className: "max-w-[120px] truncate",
229
- children: tab.title
230
- }),
231
- onTabClose && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
232
- variant: "ghost",
233
- size: "icon",
234
- className: "h-4 w-4 opacity-0 group-hover:opacity-100",
235
- onClick: (e)=>{
236
- e.stopPropagation();
237
- onTabClose(tab.id);
238
- },
239
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X, {
240
- className: "h-3 w-3"
532
+ function ShellTabBar(t0) {
533
+ const $ = (0, compiler_runtime_namespaceObject.c)(11);
534
+ const { tabs, activeTab, onTabChange, onTabClose } = t0;
535
+ let t1;
536
+ if ($[0] !== activeTab || $[1] !== onTabChange || $[2] !== onTabClose || $[3] !== tabs) {
537
+ let t2;
538
+ if ($[5] !== activeTab || $[6] !== onTabChange || $[7] !== onTabClose) {
539
+ t2 = (tab)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(layout_index_cjs_namespaceObject.Row, {
540
+ gap: 2,
541
+ align: "center",
542
+ className: (0, index_cjs_namespaceObject.cn)("group h-full cursor-pointer border-r px-3 text-sm", activeTab === tab.id ? "bg-background text-foreground" : "text-muted-foreground hover:bg-muted/50"),
543
+ onClick: ()=>onTabChange?.(tab.id),
544
+ children: [
545
+ tab.icon,
546
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
547
+ className: "max-w-[120px] truncate",
548
+ children: tab.title
549
+ }),
550
+ onTabClose && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
551
+ variant: "ghost",
552
+ size: "icon",
553
+ className: "h-4 w-4 opacity-0 group-hover:opacity-100",
554
+ onClick: (e)=>{
555
+ e.stopPropagation();
556
+ onTabClose(tab.id);
557
+ },
558
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X, {
559
+ className: "h-3 w-3"
560
+ })
241
561
  })
242
- })
243
- ]
244
- }, tab.id))
245
- });
562
+ ]
563
+ }, tab.id);
564
+ $[5] = activeTab;
565
+ $[6] = onTabChange;
566
+ $[7] = onTabClose;
567
+ $[8] = t2;
568
+ } else t2 = $[8];
569
+ t1 = tabs.map(t2);
570
+ $[0] = activeTab;
571
+ $[1] = onTabChange;
572
+ $[2] = onTabClose;
573
+ $[3] = tabs;
574
+ $[4] = t1;
575
+ } else t1 = $[4];
576
+ let t2;
577
+ if ($[9] !== t1) {
578
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Row, {
579
+ h: 9,
580
+ align: "center",
581
+ className: "border-b bg-muted/30",
582
+ children: t1
583
+ });
584
+ $[9] = t1;
585
+ $[10] = t2;
586
+ } else t2 = $[10];
587
+ return t2;
246
588
  }
247
- function ShellPane({ className, children }) {
248
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(scroll_area_cjs_namespaceObject.ScrollArea, {
249
- className: (0, index_cjs_namespaceObject.cn)('flex-1', className),
250
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
589
+ function ShellPane(t0) {
590
+ const $ = (0, compiler_runtime_namespaceObject.c)(7);
591
+ const { className, children } = t0;
592
+ let t1;
593
+ if ($[0] !== className) {
594
+ t1 = (0, index_cjs_namespaceObject.cn)("flex-1", className);
595
+ $[0] = className;
596
+ $[1] = t1;
597
+ } else t1 = $[1];
598
+ let t2;
599
+ if ($[2] !== children) {
600
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
251
601
  className: "p-4",
252
602
  children: children
253
- })
254
- });
603
+ });
604
+ $[2] = children;
605
+ $[3] = t2;
606
+ } else t2 = $[3];
607
+ let t3;
608
+ if ($[4] !== t1 || $[5] !== t2) {
609
+ t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(scroll_area_cjs_namespaceObject.ScrollArea, {
610
+ className: t1,
611
+ children: t2
612
+ });
613
+ $[4] = t1;
614
+ $[5] = t2;
615
+ $[6] = t3;
616
+ } else t3 = $[6];
617
+ return t3;
255
618
  }
256
- function ShellStatusBar({ className, children, ...props }) {
257
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Row, {
258
- h: 6,
259
- justify: "between",
260
- align: "center",
261
- className: (0, index_cjs_namespaceObject.cn)('border-t bg-primary px-2 text-xs text-primary-foreground', className),
262
- ...props,
263
- children: children
264
- });
619
+ function ShellStatusBar(t0) {
620
+ const $ = (0, compiler_runtime_namespaceObject.c)(10);
621
+ let children;
622
+ let className;
623
+ let props;
624
+ if ($[0] !== t0) {
625
+ ({ className, children, ...props } = t0);
626
+ $[0] = t0;
627
+ $[1] = children;
628
+ $[2] = className;
629
+ $[3] = props;
630
+ } else {
631
+ children = $[1];
632
+ className = $[2];
633
+ props = $[3];
634
+ }
635
+ let t1;
636
+ if ($[4] !== className) {
637
+ t1 = (0, index_cjs_namespaceObject.cn)("border-t bg-primary px-2 text-xs text-primary-foreground", className);
638
+ $[4] = className;
639
+ $[5] = t1;
640
+ } else t1 = $[5];
641
+ let t2;
642
+ if ($[6] !== children || $[7] !== props || $[8] !== t1) {
643
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Row, {
644
+ h: 6,
645
+ justify: "between",
646
+ align: "center",
647
+ className: t1,
648
+ ...props,
649
+ children: children
650
+ });
651
+ $[6] = children;
652
+ $[7] = props;
653
+ $[8] = t1;
654
+ $[9] = t2;
655
+ } else t2 = $[9];
656
+ return t2;
265
657
  }
266
- function ShellActivityBar({ className, children, ...props }) {
267
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Column, {
268
- w: 12,
269
- gap: 2,
270
- align: "center",
271
- className: (0, index_cjs_namespaceObject.cn)('border-r bg-muted/50 py-2', className),
272
- ...props,
273
- children: children
274
- });
658
+ function ShellActivityBar(t0) {
659
+ const $ = (0, compiler_runtime_namespaceObject.c)(10);
660
+ let children;
661
+ let className;
662
+ let props;
663
+ if ($[0] !== t0) {
664
+ ({ className, children, ...props } = t0);
665
+ $[0] = t0;
666
+ $[1] = children;
667
+ $[2] = className;
668
+ $[3] = props;
669
+ } else {
670
+ children = $[1];
671
+ className = $[2];
672
+ props = $[3];
673
+ }
674
+ let t1;
675
+ if ($[4] !== className) {
676
+ t1 = (0, index_cjs_namespaceObject.cn)("border-r bg-muted/50 py-2", className);
677
+ $[4] = className;
678
+ $[5] = t1;
679
+ } else t1 = $[5];
680
+ let t2;
681
+ if ($[6] !== children || $[7] !== props || $[8] !== t1) {
682
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Column, {
683
+ w: 12,
684
+ gap: 2,
685
+ align: "center",
686
+ className: t1,
687
+ ...props,
688
+ children: children
689
+ });
690
+ $[6] = children;
691
+ $[7] = props;
692
+ $[8] = t1;
693
+ $[9] = t2;
694
+ } else t2 = $[9];
695
+ return t2;
275
696
  }
276
- function ShellActivityBarItem({ icon, active, onClick, tooltip }) {
277
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
278
- variant: "ghost",
279
- size: "icon",
280
- className: (0, index_cjs_namespaceObject.cn)('h-10 w-10 rounded-none border-l-2 border-transparent', active && 'border-primary bg-muted'),
281
- onClick: onClick,
282
- title: tooltip,
283
- children: icon
284
- });
697
+ function ShellActivityBarItem(t0) {
698
+ const $ = (0, compiler_runtime_namespaceObject.c)(7);
699
+ const { icon, active, onClick, tooltip } = t0;
700
+ const t1 = active && "border-primary bg-muted";
701
+ let t2;
702
+ if ($[0] !== t1) {
703
+ t2 = (0, index_cjs_namespaceObject.cn)("h-10 w-10 rounded-none border-l-2 border-transparent", t1);
704
+ $[0] = t1;
705
+ $[1] = t2;
706
+ } else t2 = $[1];
707
+ let t3;
708
+ if ($[2] !== icon || $[3] !== onClick || $[4] !== t2 || $[5] !== tooltip) {
709
+ t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
710
+ variant: "ghost",
711
+ size: "icon",
712
+ className: t2,
713
+ onClick: onClick,
714
+ title: tooltip,
715
+ children: icon
716
+ });
717
+ $[2] = icon;
718
+ $[3] = onClick;
719
+ $[4] = t2;
720
+ $[5] = tooltip;
721
+ $[6] = t3;
722
+ } else t3 = $[6];
723
+ return t3;
285
724
  }
286
- function ShellPanel({ className, title, height = 200, children, ...props }) {
287
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
288
- className: (0, index_cjs_namespaceObject.cn)('border-t', className),
289
- style: {
725
+ function ShellPanel(t0) {
726
+ const $ = (0, compiler_runtime_namespaceObject.c)(20);
727
+ let children;
728
+ let className;
729
+ let props;
730
+ let t1;
731
+ let title;
732
+ if ($[0] !== t0) {
733
+ ({ className, title, height: t1, children, ...props } = t0);
734
+ $[0] = t0;
735
+ $[1] = children;
736
+ $[2] = className;
737
+ $[3] = props;
738
+ $[4] = t1;
739
+ $[5] = title;
740
+ } else {
741
+ children = $[1];
742
+ className = $[2];
743
+ props = $[3];
744
+ t1 = $[4];
745
+ title = $[5];
746
+ }
747
+ const height = void 0 === t1 ? 200 : t1;
748
+ let t2;
749
+ if ($[6] !== className) {
750
+ t2 = (0, index_cjs_namespaceObject.cn)("border-t", className);
751
+ $[6] = className;
752
+ $[7] = t2;
753
+ } else t2 = $[7];
754
+ let t3;
755
+ if ($[8] !== height) {
756
+ t3 = {
290
757
  height
291
- },
292
- ...props,
293
- children: [
294
- title && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Row, {
295
- h: 8,
296
- align: "center",
297
- className: "border-b bg-muted/30 px-3 text-xs font-medium uppercase text-muted-foreground",
298
- children: title
299
- }),
300
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(scroll_area_cjs_namespaceObject.ScrollArea, {
301
- className: "h-full",
302
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
303
- className: "p-2 font-mono text-sm",
304
- children: children
305
- })
758
+ };
759
+ $[8] = height;
760
+ $[9] = t3;
761
+ } else t3 = $[9];
762
+ let t4;
763
+ if ($[10] !== title) {
764
+ t4 = title && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(layout_index_cjs_namespaceObject.Row, {
765
+ h: 8,
766
+ align: "center",
767
+ className: "border-b bg-muted/30 px-3 text-xs font-medium uppercase text-muted-foreground",
768
+ children: title
769
+ });
770
+ $[10] = title;
771
+ $[11] = t4;
772
+ } else t4 = $[11];
773
+ let t5;
774
+ if ($[12] !== children) {
775
+ t5 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(scroll_area_cjs_namespaceObject.ScrollArea, {
776
+ className: "h-full",
777
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
778
+ className: "p-2 font-mono text-sm",
779
+ children: children
306
780
  })
307
- ]
308
- });
781
+ });
782
+ $[12] = children;
783
+ $[13] = t5;
784
+ } else t5 = $[13];
785
+ let t6;
786
+ if ($[14] !== props || $[15] !== t2 || $[16] !== t3 || $[17] !== t4 || $[18] !== t5) {
787
+ t6 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
788
+ className: t2,
789
+ style: t3,
790
+ ...props,
791
+ children: [
792
+ t4,
793
+ t5
794
+ ]
795
+ });
796
+ $[14] = props;
797
+ $[15] = t2;
798
+ $[16] = t3;
799
+ $[17] = t4;
800
+ $[18] = t5;
801
+ $[19] = t6;
802
+ } else t6 = $[19];
803
+ return t6;
309
804
  }
310
805
  exports.Shell = __webpack_exports__.Shell;
311
806
  exports.ShellActivityBar = __webpack_exports__.ShellActivityBar;