@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
|
@@ -36,6 +36,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
36
36
|
SelectValue: ()=>SelectValue
|
|
37
37
|
});
|
|
38
38
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
39
|
+
const compiler_runtime_namespaceObject = require("react/compiler-runtime");
|
|
39
40
|
const react_select_namespaceObject = require("@radix-ui/react-select");
|
|
40
41
|
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
41
42
|
const external_react_namespaceObject = require("react");
|
|
@@ -43,86 +44,351 @@ const index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
|
43
44
|
const Select = react_select_namespaceObject.Root;
|
|
44
45
|
const SelectGroup = react_select_namespaceObject.Group;
|
|
45
46
|
const SelectValue = react_select_namespaceObject.Value;
|
|
46
|
-
const SelectTrigger = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
47
|
+
const SelectTrigger = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
48
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(12);
|
|
49
|
+
let children;
|
|
50
|
+
let className;
|
|
51
|
+
let props;
|
|
52
|
+
if ($[0] !== t0) {
|
|
53
|
+
({ className, children, ...props } = t0);
|
|
54
|
+
$[0] = t0;
|
|
55
|
+
$[1] = children;
|
|
56
|
+
$[2] = className;
|
|
57
|
+
$[3] = props;
|
|
58
|
+
} else {
|
|
59
|
+
children = $[1];
|
|
60
|
+
className = $[2];
|
|
61
|
+
props = $[3];
|
|
62
|
+
}
|
|
63
|
+
let t1;
|
|
64
|
+
if ($[4] !== className) {
|
|
65
|
+
t1 = (0, index_cjs_namespaceObject.cn)("flex h-9 w-full cursor-pointer items-center justify-between rounded-md border border-input bg-transparent px-3 py-1 text-base transition-colors data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm [&>span]:line-clamp-1", className);
|
|
66
|
+
$[4] = className;
|
|
67
|
+
$[5] = t1;
|
|
68
|
+
} else t1 = $[5];
|
|
69
|
+
let t2;
|
|
70
|
+
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
71
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.Icon, {
|
|
72
|
+
asChild: true,
|
|
73
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown, {
|
|
74
|
+
className: "h-4 w-4 opacity-50"
|
|
57
75
|
})
|
|
58
|
-
|
|
59
|
-
|
|
76
|
+
});
|
|
77
|
+
$[6] = t2;
|
|
78
|
+
} else t2 = $[6];
|
|
79
|
+
let t3;
|
|
80
|
+
if ($[7] !== children || $[8] !== props || $[9] !== ref || $[10] !== t1) {
|
|
81
|
+
t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_select_namespaceObject.Trigger, {
|
|
82
|
+
ref: ref,
|
|
83
|
+
className: t1,
|
|
84
|
+
...props,
|
|
85
|
+
children: [
|
|
86
|
+
children,
|
|
87
|
+
t2
|
|
88
|
+
]
|
|
89
|
+
});
|
|
90
|
+
$[7] = children;
|
|
91
|
+
$[8] = props;
|
|
92
|
+
$[9] = ref;
|
|
93
|
+
$[10] = t1;
|
|
94
|
+
$[11] = t3;
|
|
95
|
+
} else t3 = $[11];
|
|
96
|
+
return t3;
|
|
97
|
+
});
|
|
60
98
|
SelectTrigger.displayName = react_select_namespaceObject.Trigger.displayName;
|
|
61
|
-
const SelectScrollUpButton = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
99
|
+
const SelectScrollUpButton = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
100
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(10);
|
|
101
|
+
let className;
|
|
102
|
+
let props;
|
|
103
|
+
if ($[0] !== t0) {
|
|
104
|
+
({ className, ...props } = t0);
|
|
105
|
+
$[0] = t0;
|
|
106
|
+
$[1] = className;
|
|
107
|
+
$[2] = props;
|
|
108
|
+
} else {
|
|
109
|
+
className = $[1];
|
|
110
|
+
props = $[2];
|
|
111
|
+
}
|
|
112
|
+
let t1;
|
|
113
|
+
if ($[3] !== className) {
|
|
114
|
+
t1 = (0, index_cjs_namespaceObject.cn)("flex cursor-default items-center justify-center py-1", className);
|
|
115
|
+
$[3] = className;
|
|
116
|
+
$[4] = t1;
|
|
117
|
+
} else t1 = $[4];
|
|
118
|
+
let t2;
|
|
119
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
120
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronUp, {
|
|
66
121
|
className: "h-4 w-4"
|
|
67
|
-
})
|
|
68
|
-
|
|
122
|
+
});
|
|
123
|
+
$[5] = t2;
|
|
124
|
+
} else t2 = $[5];
|
|
125
|
+
let t3;
|
|
126
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
127
|
+
t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.ScrollUpButton, {
|
|
128
|
+
ref: ref,
|
|
129
|
+
className: t1,
|
|
130
|
+
...props,
|
|
131
|
+
children: t2
|
|
132
|
+
});
|
|
133
|
+
$[6] = props;
|
|
134
|
+
$[7] = ref;
|
|
135
|
+
$[8] = t1;
|
|
136
|
+
$[9] = t3;
|
|
137
|
+
} else t3 = $[9];
|
|
138
|
+
return t3;
|
|
139
|
+
});
|
|
69
140
|
SelectScrollUpButton.displayName = react_select_namespaceObject.ScrollUpButton.displayName;
|
|
70
|
-
const SelectScrollDownButton = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
141
|
+
const SelectScrollDownButton = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
142
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(10);
|
|
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 cursor-default items-center justify-center py-1", className);
|
|
157
|
+
$[3] = className;
|
|
158
|
+
$[4] = t1;
|
|
159
|
+
} else t1 = $[4];
|
|
160
|
+
let t2;
|
|
161
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
162
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown, {
|
|
75
163
|
className: "h-4 w-4"
|
|
76
|
-
})
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
164
|
+
});
|
|
165
|
+
$[5] = t2;
|
|
166
|
+
} else t2 = $[5];
|
|
167
|
+
let t3;
|
|
168
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
169
|
+
t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.ScrollDownButton, {
|
|
81
170
|
ref: ref,
|
|
82
|
-
className:
|
|
83
|
-
position: position,
|
|
171
|
+
className: t1,
|
|
84
172
|
...props,
|
|
85
|
-
children:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
173
|
+
children: t2
|
|
174
|
+
});
|
|
175
|
+
$[6] = props;
|
|
176
|
+
$[7] = ref;
|
|
177
|
+
$[8] = t1;
|
|
178
|
+
$[9] = t3;
|
|
179
|
+
} else t3 = $[9];
|
|
180
|
+
return t3;
|
|
181
|
+
});
|
|
182
|
+
SelectScrollDownButton.displayName = react_select_namespaceObject.ScrollDownButton.displayName;
|
|
183
|
+
const SelectContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
184
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(21);
|
|
185
|
+
let children;
|
|
186
|
+
let className;
|
|
187
|
+
let props;
|
|
188
|
+
let t1;
|
|
189
|
+
if ($[0] !== t0) {
|
|
190
|
+
({ className, children, position: t1, ...props } = t0);
|
|
191
|
+
$[0] = t0;
|
|
192
|
+
$[1] = children;
|
|
193
|
+
$[2] = className;
|
|
194
|
+
$[3] = props;
|
|
195
|
+
$[4] = t1;
|
|
196
|
+
} else {
|
|
197
|
+
children = $[1];
|
|
198
|
+
className = $[2];
|
|
199
|
+
props = $[3];
|
|
200
|
+
t1 = $[4];
|
|
201
|
+
}
|
|
202
|
+
const position = void 0 === t1 ? "popper" : t1;
|
|
203
|
+
const t2 = "popper" === position && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1";
|
|
204
|
+
let t3;
|
|
205
|
+
if ($[5] !== className || $[6] !== t2) {
|
|
206
|
+
t3 = (0, index_cjs_namespaceObject.cn)("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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-select-content-transform-origin]", t2, className);
|
|
207
|
+
$[5] = className;
|
|
208
|
+
$[6] = t2;
|
|
209
|
+
$[7] = t3;
|
|
210
|
+
} else t3 = $[7];
|
|
211
|
+
let t4;
|
|
212
|
+
if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
213
|
+
t4 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SelectScrollUpButton, {});
|
|
214
|
+
$[8] = t4;
|
|
215
|
+
} else t4 = $[8];
|
|
216
|
+
const t5 = "popper" === position && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]";
|
|
217
|
+
let t6;
|
|
218
|
+
if ($[9] !== t5) {
|
|
219
|
+
t6 = (0, index_cjs_namespaceObject.cn)("p-1", t5);
|
|
220
|
+
$[9] = t5;
|
|
221
|
+
$[10] = t6;
|
|
222
|
+
} else t6 = $[10];
|
|
223
|
+
let t7;
|
|
224
|
+
if ($[11] !== children || $[12] !== t6) {
|
|
225
|
+
t7 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.Viewport, {
|
|
226
|
+
className: t6,
|
|
227
|
+
children: children
|
|
228
|
+
});
|
|
229
|
+
$[11] = children;
|
|
230
|
+
$[12] = t6;
|
|
231
|
+
$[13] = t7;
|
|
232
|
+
} else t7 = $[13];
|
|
233
|
+
let t8;
|
|
234
|
+
if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
|
|
235
|
+
t8 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SelectScrollDownButton, {});
|
|
236
|
+
$[14] = t8;
|
|
237
|
+
} else t8 = $[14];
|
|
238
|
+
let t9;
|
|
239
|
+
if ($[15] !== position || $[16] !== props || $[17] !== ref || $[18] !== t3 || $[19] !== t7) {
|
|
240
|
+
t9 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.Portal, {
|
|
241
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_select_namespaceObject.Content, {
|
|
242
|
+
ref: ref,
|
|
243
|
+
className: t3,
|
|
244
|
+
position: position,
|
|
245
|
+
...props,
|
|
246
|
+
children: [
|
|
247
|
+
t4,
|
|
248
|
+
t7,
|
|
249
|
+
t8
|
|
250
|
+
]
|
|
251
|
+
})
|
|
252
|
+
});
|
|
253
|
+
$[15] = position;
|
|
254
|
+
$[16] = props;
|
|
255
|
+
$[17] = ref;
|
|
256
|
+
$[18] = t3;
|
|
257
|
+
$[19] = t7;
|
|
258
|
+
$[20] = t9;
|
|
259
|
+
} else t9 = $[20];
|
|
260
|
+
return t9;
|
|
261
|
+
});
|
|
95
262
|
SelectContent.displayName = react_select_namespaceObject.Content.displayName;
|
|
96
|
-
const SelectLabel = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
263
|
+
const SelectLabel = /*#__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)("py-1.5 pl-8 pr-2 text-sm font-semibold", 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_select_namespaceObject.Label, {
|
|
285
|
+
ref: ref,
|
|
286
|
+
className: t1,
|
|
287
|
+
...props
|
|
288
|
+
});
|
|
289
|
+
$[5] = props;
|
|
290
|
+
$[6] = ref;
|
|
291
|
+
$[7] = t1;
|
|
292
|
+
$[8] = t2;
|
|
293
|
+
} else t2 = $[8];
|
|
294
|
+
return t2;
|
|
295
|
+
});
|
|
101
296
|
SelectLabel.displayName = react_select_namespaceObject.Label.displayName;
|
|
102
|
-
const SelectItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
297
|
+
const SelectItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
298
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(14);
|
|
299
|
+
let children;
|
|
300
|
+
let className;
|
|
301
|
+
let props;
|
|
302
|
+
if ($[0] !== t0) {
|
|
303
|
+
({ className, children, ...props } = t0);
|
|
304
|
+
$[0] = t0;
|
|
305
|
+
$[1] = children;
|
|
306
|
+
$[2] = className;
|
|
307
|
+
$[3] = props;
|
|
308
|
+
} else {
|
|
309
|
+
children = $[1];
|
|
310
|
+
className = $[2];
|
|
311
|
+
props = $[3];
|
|
312
|
+
}
|
|
313
|
+
let t1;
|
|
314
|
+
if ($[4] !== className) {
|
|
315
|
+
t1 = (0, index_cjs_namespaceObject.cn)("relative flex w-full 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);
|
|
316
|
+
$[4] = className;
|
|
317
|
+
$[5] = t1;
|
|
318
|
+
} else t1 = $[5];
|
|
319
|
+
let t2;
|
|
320
|
+
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
321
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
322
|
+
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
323
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.ItemIndicator, {
|
|
324
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Check, {
|
|
325
|
+
className: "h-4 w-4"
|
|
113
326
|
})
|
|
114
|
-
}),
|
|
115
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.ItemText, {
|
|
116
|
-
children: children
|
|
117
327
|
})
|
|
118
|
-
|
|
119
|
-
|
|
328
|
+
});
|
|
329
|
+
$[6] = t2;
|
|
330
|
+
} else t2 = $[6];
|
|
331
|
+
let t3;
|
|
332
|
+
if ($[7] !== children) {
|
|
333
|
+
t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.ItemText, {
|
|
334
|
+
children: children
|
|
335
|
+
});
|
|
336
|
+
$[7] = children;
|
|
337
|
+
$[8] = t3;
|
|
338
|
+
} else t3 = $[8];
|
|
339
|
+
let t4;
|
|
340
|
+
if ($[9] !== props || $[10] !== ref || $[11] !== t1 || $[12] !== t3) {
|
|
341
|
+
t4 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_select_namespaceObject.Item, {
|
|
342
|
+
ref: ref,
|
|
343
|
+
className: t1,
|
|
344
|
+
...props,
|
|
345
|
+
children: [
|
|
346
|
+
t2,
|
|
347
|
+
t3
|
|
348
|
+
]
|
|
349
|
+
});
|
|
350
|
+
$[9] = props;
|
|
351
|
+
$[10] = ref;
|
|
352
|
+
$[11] = t1;
|
|
353
|
+
$[12] = t3;
|
|
354
|
+
$[13] = t4;
|
|
355
|
+
} else t4 = $[13];
|
|
356
|
+
return t4;
|
|
357
|
+
});
|
|
120
358
|
SelectItem.displayName = react_select_namespaceObject.Item.displayName;
|
|
121
|
-
const SelectSeparator = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
359
|
+
const SelectSeparator = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
360
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(9);
|
|
361
|
+
let className;
|
|
362
|
+
let props;
|
|
363
|
+
if ($[0] !== t0) {
|
|
364
|
+
({ className, ...props } = t0);
|
|
365
|
+
$[0] = t0;
|
|
366
|
+
$[1] = className;
|
|
367
|
+
$[2] = props;
|
|
368
|
+
} else {
|
|
369
|
+
className = $[1];
|
|
370
|
+
props = $[2];
|
|
371
|
+
}
|
|
372
|
+
let t1;
|
|
373
|
+
if ($[3] !== className) {
|
|
374
|
+
t1 = (0, index_cjs_namespaceObject.cn)("-mx-1 my-1 h-px bg-muted", className);
|
|
375
|
+
$[3] = className;
|
|
376
|
+
$[4] = t1;
|
|
377
|
+
} else t1 = $[4];
|
|
378
|
+
let t2;
|
|
379
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
380
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.Separator, {
|
|
381
|
+
ref: ref,
|
|
382
|
+
className: t1,
|
|
383
|
+
...props
|
|
384
|
+
});
|
|
385
|
+
$[5] = props;
|
|
386
|
+
$[6] = ref;
|
|
387
|
+
$[7] = t1;
|
|
388
|
+
$[8] = t2;
|
|
389
|
+
} else t2 = $[8];
|
|
390
|
+
return t2;
|
|
391
|
+
});
|
|
126
392
|
SelectSeparator.displayName = react_select_namespaceObject.Separator.displayName;
|
|
127
393
|
exports.Select = __webpack_exports__.Select;
|
|
128
394
|
exports.SelectContent = __webpack_exports__.SelectContent;
|