@boxcustodia/library 2.0.0-alpha.30 → 2.0.0-alpha.31
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/calendar/calendar.cjs.js +1 -1
- package/dist/components/calendar/calendar.es.js +33 -33
- package/dist/components/combobox/combobox.cjs.js +1 -1
- package/dist/components/combobox/combobox.es.js +302 -282
- package/dist/components/pagination/pagination.cjs.js +1 -1
- package/dist/components/pagination/pagination.es.js +70 -67
- package/dist/components/select/select.cjs.js +1 -1
- package/dist/components/select/select.es.js +168 -154
- package/dist/src/components/combobox/combobox.d.ts +31 -12
- package/dist/src/components/pagination/pagination.d.ts +6 -2
- package/dist/src/components/select/select.d.ts +38 -12
- package/package.json +1 -1
- package/src/components/calendar/calendar.tsx +3 -3
- package/src/components/combobox/combobox.stories.tsx +7 -4
- package/src/components/combobox/combobox.test.tsx +52 -15
- package/src/components/combobox/combobox.tsx +109 -23
- package/src/components/form/form.stories.tsx +3 -2
- package/src/components/pagination/pagination.test.tsx +5 -5
- package/src/components/pagination/pagination.tsx +17 -16
- package/src/components/select/select.stories.tsx +51 -13
- package/src/components/select/select.test.tsx +114 -16
- package/src/components/select/select.tsx +97 -37
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as t, jsxs as
|
|
3
|
-
import * as
|
|
4
|
-
import { Input as
|
|
5
|
-
import
|
|
6
|
-
import { useIsInsideFieldRoot as
|
|
7
|
-
import
|
|
8
|
-
import { useIsomorphicLayoutEffect as
|
|
9
|
-
import { useComboboxFilter as
|
|
10
|
-
import { ComboboxRoot as
|
|
11
|
-
import { ComboboxInput as
|
|
12
|
-
import { cn as
|
|
13
|
-
import { ComboboxInputGroup as
|
|
14
|
-
import { ComboboxTrigger as
|
|
15
|
-
import { ComboboxValue as
|
|
16
|
-
import { ComboboxPortal as
|
|
17
|
-
import { ComboboxPositioner as
|
|
18
|
-
import { ComboboxPopup as
|
|
19
|
-
import { ComboboxItem as
|
|
20
|
-
import { ComboboxItemIndicator as
|
|
21
|
-
import { Separator as
|
|
22
|
-
import { ComboboxGroup as
|
|
23
|
-
import { ComboboxGroupLabel as
|
|
24
|
-
import { ComboboxEmpty as
|
|
25
|
-
import { ComboboxRow as
|
|
26
|
-
import { ScrollArea as
|
|
27
|
-
import { ComboboxList as
|
|
28
|
-
import { ComboboxClear as
|
|
29
|
-
import { ComboboxStatus as
|
|
30
|
-
import { ComboboxCollection as
|
|
31
|
-
import { FieldValidity as
|
|
32
|
-
import { ComboboxChip as
|
|
33
|
-
import { ComboboxChipRemove as
|
|
34
|
-
import { ComboboxIcon as
|
|
35
|
-
import { ComboboxChips as
|
|
36
|
-
const
|
|
2
|
+
import { jsx as t, jsxs as p, Fragment as j } from "react/jsx-runtime";
|
|
3
|
+
import * as x from "react";
|
|
4
|
+
import { Input as A, inputBaseClasses as B } from "../input/input.es.js";
|
|
5
|
+
import P from "../../node_modules/lucide-react/dist/esm/icons/chevrons-up-down.es.js";
|
|
6
|
+
import { useIsInsideFieldRoot as O } from "../field/field.es.js";
|
|
7
|
+
import T from "../../node_modules/lucide-react/dist/esm/icons/x.es.js";
|
|
8
|
+
import { useIsomorphicLayoutEffect as H } from "../../hooks/internal/use-isomorphic-layout-effect.es.js";
|
|
9
|
+
import { useComboboxFilter as q } from "../../node_modules/@base-ui/react/combobox/root/utils/useFilter.es.js";
|
|
10
|
+
import { ComboboxRoot as K } from "../../node_modules/@base-ui/react/combobox/root/ComboboxRoot.es.js";
|
|
11
|
+
import { ComboboxInput as $ } from "../../node_modules/@base-ui/react/combobox/input/ComboboxInput.es.js";
|
|
12
|
+
import { cn as u } from "../../lib/cn.es.js";
|
|
13
|
+
import { ComboboxInputGroup as X } from "../../node_modules/@base-ui/react/combobox/input-group/ComboboxInputGroup.es.js";
|
|
14
|
+
import { ComboboxTrigger as I } from "../../node_modules/@base-ui/react/combobox/trigger/ComboboxTrigger.es.js";
|
|
15
|
+
import { ComboboxValue as R } from "../../node_modules/@base-ui/react/combobox/value/ComboboxValue.es.js";
|
|
16
|
+
import { ComboboxPortal as Q } from "../../node_modules/@base-ui/react/combobox/portal/ComboboxPortal.es.js";
|
|
17
|
+
import { ComboboxPositioner as U } from "../../node_modules/@base-ui/react/combobox/positioner/ComboboxPositioner.es.js";
|
|
18
|
+
import { ComboboxPopup as J } from "../../node_modules/@base-ui/react/combobox/popup/ComboboxPopup.es.js";
|
|
19
|
+
import { ComboboxItem as Y } from "../../node_modules/@base-ui/react/combobox/item/ComboboxItem.es.js";
|
|
20
|
+
import { ComboboxItemIndicator as Z } from "../../node_modules/@base-ui/react/combobox/item-indicator/ComboboxItemIndicator.es.js";
|
|
21
|
+
import { Separator as oo } from "../../node_modules/@base-ui/react/separator/Separator.es.js";
|
|
22
|
+
import { ComboboxGroup as eo } from "../../node_modules/@base-ui/react/combobox/group/ComboboxGroup.es.js";
|
|
23
|
+
import { ComboboxGroupLabel as to } from "../../node_modules/@base-ui/react/combobox/group-label/ComboboxGroupLabel.es.js";
|
|
24
|
+
import { ComboboxEmpty as ro } from "../../node_modules/@base-ui/react/combobox/empty/ComboboxEmpty.es.js";
|
|
25
|
+
import { ComboboxRow as no } from "../../node_modules/@base-ui/react/combobox/row/ComboboxRow.es.js";
|
|
26
|
+
import { ScrollArea as so } from "../scroll-area/scroll-area.es.js";
|
|
27
|
+
import { ComboboxList as io } from "../../node_modules/@base-ui/react/combobox/list/ComboboxList.es.js";
|
|
28
|
+
import { ComboboxClear as ao } from "../../node_modules/@base-ui/react/combobox/clear/ComboboxClear.es.js";
|
|
29
|
+
import { ComboboxStatus as lo } from "../../node_modules/@base-ui/react/combobox/status/ComboboxStatus.es.js";
|
|
30
|
+
import { ComboboxCollection as co } from "../../node_modules/@base-ui/react/combobox/collection/ComboboxCollection.es.js";
|
|
31
|
+
import { FieldValidity as mo } from "../../node_modules/@base-ui/react/field/validity/FieldValidity.es.js";
|
|
32
|
+
import { ComboboxChip as uo } from "../../node_modules/@base-ui/react/combobox/chip/ComboboxChip.es.js";
|
|
33
|
+
import { ComboboxChipRemove as bo } from "../../node_modules/@base-ui/react/combobox/chip-remove/ComboboxChipRemove.es.js";
|
|
34
|
+
import { ComboboxIcon as po } from "../../node_modules/@base-ui/react/combobox/icon/ComboboxIcon.es.js";
|
|
35
|
+
import { ComboboxChips as fo } from "../../node_modules/@base-ui/react/combobox/chips/ComboboxChips.es.js";
|
|
36
|
+
const w = x.createContext({
|
|
37
37
|
chipsRef: null,
|
|
38
38
|
multiple: !1
|
|
39
39
|
});
|
|
40
|
-
function
|
|
40
|
+
function xo({
|
|
41
41
|
...o
|
|
42
42
|
}) {
|
|
43
|
-
const e =
|
|
44
|
-
return /* @__PURE__ */ t(
|
|
43
|
+
const e = x.useRef(null);
|
|
44
|
+
return /* @__PURE__ */ t(w.Provider, { value: { chipsRef: e, multiple: !!o.multiple }, children: /* @__PURE__ */ t(K, { ...o }) });
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function ho({
|
|
47
47
|
className: o,
|
|
48
48
|
...e
|
|
49
49
|
}) {
|
|
50
50
|
return /* @__PURE__ */ t(
|
|
51
|
-
|
|
51
|
+
$,
|
|
52
52
|
{
|
|
53
|
-
className:
|
|
53
|
+
className: u(
|
|
54
54
|
"min-w-12 flex-1 text-base outline-none placeholder:text-muted-foreground sm:text-sm [[data-slot=combobox-chip]+&]:ps-0.5",
|
|
55
55
|
o
|
|
56
56
|
),
|
|
@@ -59,49 +59,49 @@ function lo({
|
|
|
59
59
|
}
|
|
60
60
|
);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function go({
|
|
63
63
|
className: o,
|
|
64
64
|
showTrigger: e = !0,
|
|
65
65
|
showClear: r = !1,
|
|
66
|
-
startAddon:
|
|
67
|
-
triggerProps:
|
|
66
|
+
startAddon: i,
|
|
67
|
+
triggerProps: a,
|
|
68
68
|
clearProps: n,
|
|
69
|
-
...
|
|
69
|
+
...l
|
|
70
70
|
}) {
|
|
71
|
-
return /* @__PURE__ */
|
|
72
|
-
|
|
71
|
+
return /* @__PURE__ */ p(
|
|
72
|
+
X,
|
|
73
73
|
{
|
|
74
74
|
className: "relative not-has-[>*.w-full]:w-fit w-full text-foreground has-disabled:opacity-64",
|
|
75
75
|
"data-slot": "combobox-input-group",
|
|
76
76
|
children: [
|
|
77
|
-
|
|
77
|
+
i && /* @__PURE__ */ t(
|
|
78
78
|
"div",
|
|
79
79
|
{
|
|
80
80
|
"aria-hidden": "true",
|
|
81
81
|
className: "pointer-events-none absolute inset-y-0 start-px z-10 flex items-center ps-[calc(--spacing(3)-1px)] opacity-80 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:-mx-0.5",
|
|
82
82
|
"data-slot": "combobox-start-addon",
|
|
83
|
-
children:
|
|
83
|
+
children: i
|
|
84
84
|
}
|
|
85
85
|
),
|
|
86
86
|
/* @__PURE__ */ t(
|
|
87
|
-
|
|
87
|
+
$,
|
|
88
88
|
{
|
|
89
|
-
className:
|
|
90
|
-
|
|
89
|
+
className: u(
|
|
90
|
+
i && "*:data-[slot=combobox-input]:ps-[calc(--spacing(8.5)-1px)] sm:*:data-[slot=combobox-input]:ps-[calc(--spacing(8)-1px)]",
|
|
91
91
|
"pr-6",
|
|
92
92
|
o
|
|
93
93
|
),
|
|
94
94
|
"data-slot": "combobox-input",
|
|
95
|
-
render: (
|
|
96
|
-
...
|
|
95
|
+
render: (s) => /* @__PURE__ */ t(A, { className: "has-disabled:opacity-100", nativeInput: !0, ...s }),
|
|
96
|
+
...l
|
|
97
97
|
}
|
|
98
98
|
),
|
|
99
99
|
/* @__PURE__ */ t(
|
|
100
|
-
|
|
100
|
+
k,
|
|
101
101
|
{
|
|
102
102
|
showTrigger: e,
|
|
103
103
|
showClear: r,
|
|
104
|
-
triggerProps:
|
|
104
|
+
triggerProps: a,
|
|
105
105
|
clearProps: n
|
|
106
106
|
}
|
|
107
107
|
)
|
|
@@ -109,13 +109,13 @@ function co({
|
|
|
109
109
|
}
|
|
110
110
|
);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function Co({
|
|
113
113
|
className: o,
|
|
114
114
|
children: e,
|
|
115
115
|
...r
|
|
116
116
|
}) {
|
|
117
117
|
return /* @__PURE__ */ t(
|
|
118
|
-
|
|
118
|
+
I,
|
|
119
119
|
{
|
|
120
120
|
className: o,
|
|
121
121
|
"data-slot": "combobox-trigger",
|
|
@@ -124,18 +124,18 @@ function mo({
|
|
|
124
124
|
}
|
|
125
125
|
);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function ge({
|
|
128
128
|
className: o,
|
|
129
129
|
placeholder: e,
|
|
130
130
|
children: r,
|
|
131
|
-
showClear:
|
|
132
|
-
clearProps:
|
|
131
|
+
showClear: i,
|
|
132
|
+
clearProps: a,
|
|
133
133
|
...n
|
|
134
134
|
}) {
|
|
135
|
-
const
|
|
136
|
-
|
|
135
|
+
const l = /* @__PURE__ */ t(
|
|
136
|
+
I,
|
|
137
137
|
{
|
|
138
|
-
className:
|
|
138
|
+
className: u(
|
|
139
139
|
"relative flex w-full items-center rounded-md border border-input bg-background px-3 py-2 pe-9 text-sm outline-none transition-shadow",
|
|
140
140
|
"focus-visible:border-ring",
|
|
141
141
|
"aria-invalid:border-error focus-visible:aria-invalid:ring-error/20",
|
|
@@ -145,23 +145,23 @@ function ce({
|
|
|
145
145
|
),
|
|
146
146
|
"data-slot": "combobox-select-trigger",
|
|
147
147
|
...n,
|
|
148
|
-
children: r ?? /* @__PURE__ */ t(
|
|
148
|
+
children: r ?? /* @__PURE__ */ t(R, { placeholder: e })
|
|
149
149
|
}
|
|
150
150
|
);
|
|
151
|
-
return
|
|
151
|
+
return i ? /* @__PURE__ */ p(
|
|
152
152
|
"div",
|
|
153
153
|
{
|
|
154
154
|
className: "relative w-full text-foreground has-disabled:opacity-64",
|
|
155
155
|
"data-slot": "combobox-select-trigger-group",
|
|
156
156
|
children: [
|
|
157
|
-
|
|
158
|
-
/* @__PURE__ */ t(
|
|
157
|
+
l,
|
|
158
|
+
/* @__PURE__ */ t(k, { showTrigger: !0, showClear: !0, clearProps: a })
|
|
159
159
|
]
|
|
160
160
|
}
|
|
161
161
|
) : /* @__PURE__ */ t(
|
|
162
|
-
|
|
162
|
+
I,
|
|
163
163
|
{
|
|
164
|
-
className:
|
|
164
|
+
className: u(
|
|
165
165
|
"relative flex w-full items-center rounded-md border border-input bg-background px-3 py-2 pe-9 text-sm outline-none transition-shadow",
|
|
166
166
|
"focus-visible:border-ring",
|
|
167
167
|
"aria-invalid:border-error focus-visible:aria-invalid:ring-error/20",
|
|
@@ -171,28 +171,28 @@ function ce({
|
|
|
171
171
|
),
|
|
172
172
|
"data-slot": "combobox-select-trigger",
|
|
173
173
|
...n,
|
|
174
|
-
children: r ?? /* @__PURE__ */
|
|
175
|
-
/* @__PURE__ */ t(
|
|
174
|
+
children: r ?? /* @__PURE__ */ p(j, { children: [
|
|
175
|
+
/* @__PURE__ */ t(R, { placeholder: e }),
|
|
176
176
|
/* @__PURE__ */ t(
|
|
177
177
|
"div",
|
|
178
178
|
{
|
|
179
179
|
"aria-hidden": "true",
|
|
180
180
|
className: "pointer-events-none absolute end-0.5 top-1/2 inline-flex size-8 -translate-y-1/2 items-center justify-center text-muted-foreground opacity-80 sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4",
|
|
181
|
-
children: /* @__PURE__ */ t(
|
|
181
|
+
children: /* @__PURE__ */ t(P, {})
|
|
182
182
|
}
|
|
183
183
|
)
|
|
184
184
|
] })
|
|
185
185
|
}
|
|
186
186
|
);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function Ce({
|
|
189
189
|
className: o,
|
|
190
190
|
...e
|
|
191
191
|
}) {
|
|
192
192
|
return /* @__PURE__ */ t("div", { className: "border-b p-2", "data-slot": "combobox-search-input-wrapper", children: /* @__PURE__ */ t(
|
|
193
|
-
|
|
193
|
+
$,
|
|
194
194
|
{
|
|
195
|
-
className:
|
|
195
|
+
className: u(
|
|
196
196
|
"flex h-9 w-full rounded-md bg-transparent text-base placeholder:text-muted-foreground outline-none disabled:cursor-not-allowed disabled:opacity-64 sm:h-8 sm:text-sm",
|
|
197
197
|
o
|
|
198
198
|
),
|
|
@@ -202,32 +202,32 @@ function me({
|
|
|
202
202
|
}
|
|
203
203
|
) });
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function vo({
|
|
206
206
|
className: o,
|
|
207
207
|
children: e,
|
|
208
208
|
side: r = "bottom",
|
|
209
|
-
sideOffset:
|
|
210
|
-
alignOffset:
|
|
209
|
+
sideOffset: i = 4,
|
|
210
|
+
alignOffset: a,
|
|
211
211
|
align: n = "start",
|
|
212
|
-
anchor:
|
|
213
|
-
portalProps:
|
|
214
|
-
...
|
|
212
|
+
anchor: l,
|
|
213
|
+
portalProps: s,
|
|
214
|
+
...m
|
|
215
215
|
}) {
|
|
216
|
-
const { chipsRef:
|
|
217
|
-
return /* @__PURE__ */ t(
|
|
218
|
-
|
|
216
|
+
const { chipsRef: d } = x.useContext(w);
|
|
217
|
+
return /* @__PURE__ */ t(Q, { ...s, children: /* @__PURE__ */ t(
|
|
218
|
+
U,
|
|
219
219
|
{
|
|
220
220
|
align: n,
|
|
221
|
-
alignOffset:
|
|
222
|
-
anchor:
|
|
221
|
+
alignOffset: a,
|
|
222
|
+
anchor: l ?? d,
|
|
223
223
|
className: "z-50 select-none",
|
|
224
224
|
"data-slot": "combobox-positioner",
|
|
225
225
|
side: r,
|
|
226
|
-
sideOffset:
|
|
226
|
+
sideOffset: i,
|
|
227
227
|
children: /* @__PURE__ */ t(
|
|
228
|
-
|
|
228
|
+
J,
|
|
229
229
|
{
|
|
230
|
-
className:
|
|
230
|
+
className: u(
|
|
231
231
|
"relative flex max-h-[min(var(--available-height),23rem)] min-w-(--anchor-width) max-w-(--available-width) origin-(--transform-origin) flex-1 flex-col rounded-lg border bg-popover not-dark:bg-clip-padding text-foreground shadow-lg/5",
|
|
232
232
|
"before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",
|
|
233
233
|
"duration-100 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
@@ -235,22 +235,22 @@ function bo({
|
|
|
235
235
|
o
|
|
236
236
|
),
|
|
237
237
|
"data-slot": "combobox-popup",
|
|
238
|
-
...
|
|
238
|
+
...m,
|
|
239
239
|
children: e
|
|
240
240
|
}
|
|
241
241
|
)
|
|
242
242
|
}
|
|
243
243
|
) });
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function yo({
|
|
246
246
|
className: o,
|
|
247
247
|
children: e,
|
|
248
248
|
...r
|
|
249
249
|
}) {
|
|
250
|
-
return /* @__PURE__ */
|
|
251
|
-
|
|
250
|
+
return /* @__PURE__ */ p(
|
|
251
|
+
Y,
|
|
252
252
|
{
|
|
253
|
-
className:
|
|
253
|
+
className: u(
|
|
254
254
|
"flex justify-between min-h-8 in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 px-2 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
255
255
|
o
|
|
256
256
|
),
|
|
@@ -258,7 +258,7 @@ function uo({
|
|
|
258
258
|
...r,
|
|
259
259
|
children: [
|
|
260
260
|
e,
|
|
261
|
-
/* @__PURE__ */ t(
|
|
261
|
+
/* @__PURE__ */ t(Z, { className: "col-end-1", children: /* @__PURE__ */ t(
|
|
262
262
|
"svg",
|
|
263
263
|
{
|
|
264
264
|
"aria-hidden": "true",
|
|
@@ -278,40 +278,40 @@ function uo({
|
|
|
278
278
|
}
|
|
279
279
|
);
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function ve({
|
|
282
282
|
className: o,
|
|
283
283
|
...e
|
|
284
284
|
}) {
|
|
285
285
|
return /* @__PURE__ */ t(
|
|
286
|
-
|
|
286
|
+
oo,
|
|
287
287
|
{
|
|
288
|
-
className:
|
|
288
|
+
className: u("mx-2 my-1 h-px bg-border last:hidden", o),
|
|
289
289
|
"data-slot": "combobox-separator",
|
|
290
290
|
...e
|
|
291
291
|
}
|
|
292
292
|
);
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function ye({
|
|
295
295
|
className: o,
|
|
296
296
|
...e
|
|
297
297
|
}) {
|
|
298
298
|
return /* @__PURE__ */ t(
|
|
299
|
-
|
|
299
|
+
eo,
|
|
300
300
|
{
|
|
301
|
-
className:
|
|
301
|
+
className: u("[[role=group]+&]:mt-1.5", o),
|
|
302
302
|
"data-slot": "combobox-group",
|
|
303
303
|
...e
|
|
304
304
|
}
|
|
305
305
|
);
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function we({
|
|
308
308
|
className: o,
|
|
309
309
|
...e
|
|
310
310
|
}) {
|
|
311
311
|
return /* @__PURE__ */ t(
|
|
312
|
-
|
|
312
|
+
to,
|
|
313
313
|
{
|
|
314
|
-
className:
|
|
314
|
+
className: u(
|
|
315
315
|
"px-2 py-1.5 font-medium text-muted-foreground text-xs",
|
|
316
316
|
o
|
|
317
317
|
),
|
|
@@ -320,14 +320,14 @@ function ue({
|
|
|
320
320
|
}
|
|
321
321
|
);
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function wo({
|
|
324
324
|
className: o,
|
|
325
325
|
...e
|
|
326
326
|
}) {
|
|
327
327
|
return /* @__PURE__ */ t(
|
|
328
|
-
|
|
328
|
+
ro,
|
|
329
329
|
{
|
|
330
|
-
className:
|
|
330
|
+
className: u(
|
|
331
331
|
"not-empty:p-2 text-center text-base text-muted-foreground sm:text-sm",
|
|
332
332
|
o
|
|
333
333
|
),
|
|
@@ -336,12 +336,12 @@ function po({
|
|
|
336
336
|
}
|
|
337
337
|
);
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function Ne({
|
|
340
340
|
className: o,
|
|
341
341
|
...e
|
|
342
342
|
}) {
|
|
343
343
|
return /* @__PURE__ */ t(
|
|
344
|
-
|
|
344
|
+
no,
|
|
345
345
|
{
|
|
346
346
|
className: o,
|
|
347
347
|
"data-slot": "combobox-row",
|
|
@@ -349,19 +349,19 @@ function pe({
|
|
|
349
349
|
}
|
|
350
350
|
);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function No({
|
|
353
353
|
...o
|
|
354
354
|
}) {
|
|
355
|
-
return /* @__PURE__ */ t(
|
|
355
|
+
return /* @__PURE__ */ t(R, { "data-slot": "combobox-value", ...o });
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function zo({
|
|
358
358
|
className: o,
|
|
359
359
|
...e
|
|
360
360
|
}) {
|
|
361
|
-
return /* @__PURE__ */ t(
|
|
362
|
-
|
|
361
|
+
return /* @__PURE__ */ t(so, { scrollbarGutter: !0, scrollFade: !0, children: /* @__PURE__ */ t(
|
|
362
|
+
io,
|
|
363
363
|
{
|
|
364
|
-
className:
|
|
364
|
+
className: u(
|
|
365
365
|
"not-empty:scroll-py-1 not-empty:px-1 not-empty:py-1 in-data-has-overflow-y:pe-3",
|
|
366
366
|
o
|
|
367
367
|
),
|
|
@@ -370,12 +370,12 @@ function xo({
|
|
|
370
370
|
}
|
|
371
371
|
) });
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function _o({
|
|
374
374
|
className: o,
|
|
375
375
|
...e
|
|
376
376
|
}) {
|
|
377
377
|
return /* @__PURE__ */ t(
|
|
378
|
-
|
|
378
|
+
ao,
|
|
379
379
|
{
|
|
380
380
|
className: o,
|
|
381
381
|
"data-slot": "combobox-clear",
|
|
@@ -383,36 +383,36 @@ function ho({
|
|
|
383
383
|
}
|
|
384
384
|
);
|
|
385
385
|
}
|
|
386
|
-
const
|
|
387
|
-
function
|
|
386
|
+
const L = "absolute end-0.5 top-1/2 inline-flex size-8 shrink-0 -translate-y-1/2 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0";
|
|
387
|
+
function k({
|
|
388
388
|
showTrigger: o = !0,
|
|
389
389
|
showClear: e = !1,
|
|
390
390
|
triggerProps: r,
|
|
391
|
-
clearProps:
|
|
391
|
+
clearProps: i
|
|
392
392
|
}) {
|
|
393
|
-
return !o && !e ? null : /* @__PURE__ */
|
|
393
|
+
return !o && !e ? null : /* @__PURE__ */ p("div", { className: "text-muted-foreground hover:text-foreground transition-colors", children: [
|
|
394
394
|
o && /* @__PURE__ */ t(
|
|
395
|
-
|
|
395
|
+
Co,
|
|
396
396
|
{
|
|
397
|
-
className:
|
|
398
|
-
|
|
397
|
+
className: u(
|
|
398
|
+
L,
|
|
399
399
|
"text-muted-foreground has-[+[data-slot=combobox-clear]]:hidden"
|
|
400
400
|
),
|
|
401
401
|
...r,
|
|
402
|
-
children: /* @__PURE__ */ t(
|
|
402
|
+
children: /* @__PURE__ */ t(po, { "data-slot": "combobox-icon", children: /* @__PURE__ */ t(P, {}) })
|
|
403
403
|
}
|
|
404
404
|
),
|
|
405
|
-
e && /* @__PURE__ */ t(
|
|
405
|
+
e && /* @__PURE__ */ t(_o, { className: L, ...i, children: /* @__PURE__ */ t(T, {}) })
|
|
406
406
|
] });
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function ze({
|
|
409
409
|
className: o,
|
|
410
410
|
...e
|
|
411
411
|
}) {
|
|
412
412
|
return /* @__PURE__ */ t(
|
|
413
|
-
|
|
413
|
+
lo,
|
|
414
414
|
{
|
|
415
|
-
className:
|
|
415
|
+
className: u(
|
|
416
416
|
"px-3 py-2 font-medium text-muted-foreground text-xs empty:m-0 empty:p-0",
|
|
417
417
|
o
|
|
418
418
|
),
|
|
@@ -421,21 +421,21 @@ function fe({
|
|
|
421
421
|
}
|
|
422
422
|
);
|
|
423
423
|
}
|
|
424
|
-
function
|
|
425
|
-
return /* @__PURE__ */ t(
|
|
424
|
+
function _e(o) {
|
|
425
|
+
return /* @__PURE__ */ t(co, { "data-slot": "combobox-collection", ...o });
|
|
426
426
|
}
|
|
427
|
-
function
|
|
427
|
+
function So({
|
|
428
428
|
className: o,
|
|
429
429
|
children: e,
|
|
430
430
|
startAddon: r,
|
|
431
|
-
...
|
|
431
|
+
...i
|
|
432
432
|
}) {
|
|
433
|
-
const { chipsRef:
|
|
434
|
-
|
|
433
|
+
const { chipsRef: a } = x.useContext(w), n = O(), l = (s) => /* @__PURE__ */ p(
|
|
434
|
+
fo,
|
|
435
435
|
{
|
|
436
|
-
"aria-invalid":
|
|
437
|
-
className:
|
|
438
|
-
|
|
436
|
+
"aria-invalid": s,
|
|
437
|
+
className: u(
|
|
438
|
+
B,
|
|
439
439
|
"relative inline-flex pr-6 w-full flex-wrap gap-1",
|
|
440
440
|
"placeholder:text-muted-foreground",
|
|
441
441
|
"focus-within:border-ring",
|
|
@@ -444,8 +444,8 @@ function go({
|
|
|
444
444
|
o
|
|
445
445
|
),
|
|
446
446
|
"data-slot": "combobox-chips",
|
|
447
|
-
ref:
|
|
448
|
-
...
|
|
447
|
+
ref: a,
|
|
448
|
+
...i,
|
|
449
449
|
children: [
|
|
450
450
|
r && /* @__PURE__ */ t(
|
|
451
451
|
"div",
|
|
@@ -460,110 +460,110 @@ function go({
|
|
|
460
460
|
]
|
|
461
461
|
}
|
|
462
462
|
);
|
|
463
|
-
return n ? /* @__PURE__ */ t(
|
|
463
|
+
return n ? /* @__PURE__ */ t(mo, { children: ({ validity: s }) => l(s.valid === !1 ? !0 : void 0) }) : l(void 0);
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function Io({
|
|
466
466
|
children: o,
|
|
467
467
|
removeProps: e,
|
|
468
468
|
...r
|
|
469
469
|
}) {
|
|
470
|
-
return /* @__PURE__ */
|
|
471
|
-
|
|
470
|
+
return /* @__PURE__ */ p(
|
|
471
|
+
uo,
|
|
472
472
|
{
|
|
473
473
|
className: "flex my-auto items-center pl-1 rounded-[calc(var(--radius-md)-1px)] bg-accent font-medium text-accent-foreground text-sm outline-none sm:text-xs/(--text-xs--line-height) [&_svg:not([class*='size-'])]:size-4 sm:[&_svg:not([class*='size-'])]:size-3.5 h-6",
|
|
474
474
|
"data-slot": "combobox-chip",
|
|
475
475
|
...r,
|
|
476
476
|
children: [
|
|
477
477
|
o,
|
|
478
|
-
/* @__PURE__ */ t(
|
|
478
|
+
/* @__PURE__ */ t(Ro, { ...e })
|
|
479
479
|
]
|
|
480
480
|
}
|
|
481
481
|
);
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function Ro(o) {
|
|
484
484
|
return /* @__PURE__ */ t(
|
|
485
|
-
|
|
485
|
+
bo,
|
|
486
486
|
{
|
|
487
487
|
"aria-label": "Quitar",
|
|
488
488
|
className: "h-full shrink-0 cursor-pointer px-1 opacity-80 hover:opacity-100 [&_svg:not([class*='size-'])]:size-4 sm:[&_svg:not([class*='size-'])]:size-3.5",
|
|
489
489
|
"data-slot": "combobox-chip-remove",
|
|
490
490
|
...o,
|
|
491
|
-
children: /* @__PURE__ */ t(
|
|
491
|
+
children: /* @__PURE__ */ t(T, {})
|
|
492
492
|
}
|
|
493
493
|
);
|
|
494
494
|
}
|
|
495
|
-
const
|
|
496
|
-
function
|
|
497
|
-
const r = o -
|
|
498
|
-
let
|
|
495
|
+
const _ = 4, $o = 24, ko = 36, Eo = 68;
|
|
496
|
+
function S(o, e) {
|
|
497
|
+
const r = o - $o - ko;
|
|
498
|
+
let i = 0, a = 0;
|
|
499
499
|
for (let n = 0; n < e.length; n++) {
|
|
500
|
-
const
|
|
501
|
-
if (
|
|
502
|
-
|
|
500
|
+
const l = e[n], s = n < e.length - 1;
|
|
501
|
+
if (i + (n > 0 ? _ : 0) + l + (s ? _ + Eo : 0) > r) break;
|
|
502
|
+
i += (n > 0 ? _ : 0) + l, a++;
|
|
503
503
|
}
|
|
504
|
-
return
|
|
504
|
+
return a;
|
|
505
505
|
}
|
|
506
|
-
function
|
|
507
|
-
const [r,
|
|
508
|
-
return
|
|
506
|
+
function Vo(o, e) {
|
|
507
|
+
const [r, i] = x.useState(null), a = x.useRef([]), n = r === null || r.items !== o;
|
|
508
|
+
return H(() => {
|
|
509
509
|
if (!n) return;
|
|
510
|
-
const a = e?.current;
|
|
511
|
-
if (!a) return;
|
|
512
|
-
const l = a.querySelectorAll('[data-slot="combobox-chip"]');
|
|
513
|
-
i.current = Array.from(l).map(
|
|
514
|
-
(b) => b.offsetWidth
|
|
515
|
-
);
|
|
516
|
-
const c = w(
|
|
517
|
-
a.clientWidth,
|
|
518
|
-
i.current
|
|
519
|
-
);
|
|
520
|
-
s({ items: o, visible: c });
|
|
521
|
-
}, [n, o, e]), p.useEffect(() => {
|
|
522
|
-
const a = i.current.length > 0 && i.current.every((u) => u === 0);
|
|
523
|
-
if (!n && !a) return;
|
|
524
510
|
const l = e?.current;
|
|
525
511
|
if (!l) return;
|
|
526
|
-
const
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
512
|
+
const s = l.querySelectorAll('[data-slot="combobox-chip"]');
|
|
513
|
+
a.current = Array.from(s).map(
|
|
514
|
+
(d) => d.offsetWidth
|
|
515
|
+
);
|
|
516
|
+
const m = S(
|
|
517
|
+
l.clientWidth,
|
|
518
|
+
a.current
|
|
519
|
+
);
|
|
520
|
+
i({ items: o, visible: m });
|
|
521
|
+
}, [n, o, e]), x.useEffect(() => {
|
|
522
|
+
const l = a.current.length > 0 && a.current.every((f) => f === 0);
|
|
523
|
+
if (!n && !l) return;
|
|
524
|
+
const s = e?.current;
|
|
525
|
+
if (!s) return;
|
|
526
|
+
const m = s.querySelectorAll('[data-slot="combobox-chip"]');
|
|
527
|
+
if (!m.length) return;
|
|
528
|
+
const d = Array.from(m).map(
|
|
529
|
+
(f) => f.offsetWidth
|
|
530
530
|
);
|
|
531
|
-
if (
|
|
532
|
-
|
|
533
|
-
const
|
|
534
|
-
|
|
535
|
-
(
|
|
531
|
+
if (d.every((f) => f === 0)) return;
|
|
532
|
+
a.current = d;
|
|
533
|
+
const h = S(s.clientWidth, d);
|
|
534
|
+
i(
|
|
535
|
+
(f) => f ? { ...f, visible: h } : { items: o, visible: h }
|
|
536
536
|
);
|
|
537
|
-
}, [n, o, e]),
|
|
538
|
-
const
|
|
539
|
-
if (!
|
|
540
|
-
const
|
|
541
|
-
if (!
|
|
542
|
-
const
|
|
543
|
-
|
|
544
|
-
|
|
537
|
+
}, [n, o, e]), x.useEffect(() => {
|
|
538
|
+
const l = e?.current;
|
|
539
|
+
if (!l) return;
|
|
540
|
+
const s = new ResizeObserver(() => {
|
|
541
|
+
if (!a.current.length) return;
|
|
542
|
+
const m = S(
|
|
543
|
+
l.clientWidth,
|
|
544
|
+
a.current
|
|
545
545
|
);
|
|
546
|
-
|
|
546
|
+
i((d) => d ? { ...d, visible: m } : null);
|
|
547
547
|
});
|
|
548
|
-
return
|
|
548
|
+
return s.observe(l), () => s.disconnect();
|
|
549
549
|
}, [e]), { visibleCount: r?.visible ?? o, isMeasuring: n };
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function Lo({
|
|
552
552
|
value: o,
|
|
553
553
|
getLabel: e,
|
|
554
554
|
getId: r
|
|
555
555
|
}) {
|
|
556
|
-
const { chipsRef:
|
|
557
|
-
return /* @__PURE__ */
|
|
558
|
-
|
|
559
|
-
|
|
556
|
+
const { chipsRef: i } = x.useContext(w), { visibleCount: a, isMeasuring: n } = Vo(o.length, i), l = n ? o : o.slice(0, a), s = n ? 0 : o.length - a;
|
|
557
|
+
return /* @__PURE__ */ p(j, { children: [
|
|
558
|
+
l.map((m) => /* @__PURE__ */ t(Io, { "aria-label": e(m), children: e(m) }, r(m))),
|
|
559
|
+
s > 0 && /* @__PURE__ */ p("span", { className: "flex items-center whitespace-nowrap px-1 text-sm text-muted-foreground", children: [
|
|
560
560
|
"+",
|
|
561
|
-
|
|
561
|
+
s,
|
|
562
562
|
" más"
|
|
563
563
|
] })
|
|
564
564
|
] });
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function jo(o) {
|
|
567
567
|
if (o == null) return "";
|
|
568
568
|
if (typeof o == "string" || typeof o == "number") return String(o);
|
|
569
569
|
if (typeof o == "object") {
|
|
@@ -574,7 +574,7 @@ function Io(o) {
|
|
|
574
574
|
}
|
|
575
575
|
return String(o);
|
|
576
576
|
}
|
|
577
|
-
function
|
|
577
|
+
function Po(o) {
|
|
578
578
|
if (o == null) return "";
|
|
579
579
|
if (typeof o == "string" || typeof o == "number") return String(o);
|
|
580
580
|
if (typeof o == "object") {
|
|
@@ -584,145 +584,165 @@ function So(o) {
|
|
|
584
584
|
}
|
|
585
585
|
return String(o);
|
|
586
586
|
}
|
|
587
|
-
function
|
|
587
|
+
function To({
|
|
588
588
|
placeholder: o,
|
|
589
589
|
showClear: e,
|
|
590
590
|
startAddon: r,
|
|
591
|
-
className:
|
|
591
|
+
className: i
|
|
592
592
|
}) {
|
|
593
593
|
return /* @__PURE__ */ t(
|
|
594
|
-
|
|
594
|
+
go,
|
|
595
595
|
{
|
|
596
|
-
className:
|
|
596
|
+
className: i,
|
|
597
597
|
placeholder: o,
|
|
598
598
|
showClear: e,
|
|
599
599
|
startAddon: r
|
|
600
600
|
}
|
|
601
601
|
);
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function Go({
|
|
604
604
|
getLabel: o,
|
|
605
605
|
getId: e,
|
|
606
606
|
showClear: r,
|
|
607
|
-
startAddon:
|
|
608
|
-
className:
|
|
607
|
+
startAddon: i,
|
|
608
|
+
className: a
|
|
609
609
|
}) {
|
|
610
|
-
return /* @__PURE__ */
|
|
611
|
-
/* @__PURE__ */ t(
|
|
612
|
-
|
|
610
|
+
return /* @__PURE__ */ p(So, { className: a, startAddon: i, children: [
|
|
611
|
+
/* @__PURE__ */ t(No, { children: (n) => /* @__PURE__ */ t(
|
|
612
|
+
Lo,
|
|
613
613
|
{
|
|
614
614
|
value: n,
|
|
615
615
|
getLabel: o,
|
|
616
616
|
getId: e
|
|
617
617
|
}
|
|
618
618
|
) }),
|
|
619
|
-
/* @__PURE__ */ t(
|
|
619
|
+
/* @__PURE__ */ t(k, { showTrigger: !r, showClear: r })
|
|
620
620
|
] });
|
|
621
621
|
}
|
|
622
|
-
function
|
|
622
|
+
function Se(o) {
|
|
623
623
|
const {
|
|
624
624
|
items: e,
|
|
625
625
|
getLabel: r,
|
|
626
|
-
getId:
|
|
627
|
-
renderItem:
|
|
626
|
+
getId: i,
|
|
627
|
+
renderItem: a,
|
|
628
628
|
placeholder: n,
|
|
629
|
-
emptyText:
|
|
630
|
-
multiple:
|
|
631
|
-
onValueChange:
|
|
632
|
-
value:
|
|
633
|
-
defaultValue:
|
|
634
|
-
startAddon:
|
|
635
|
-
classNames:
|
|
636
|
-
showClear:
|
|
637
|
-
searchable:
|
|
638
|
-
...
|
|
639
|
-
} = o,
|
|
640
|
-
|
|
641
|
-
|
|
629
|
+
emptyText: l = "Sin resultados.",
|
|
630
|
+
multiple: s,
|
|
631
|
+
onValueChange: m,
|
|
632
|
+
value: d,
|
|
633
|
+
defaultValue: h,
|
|
634
|
+
startAddon: f,
|
|
635
|
+
classNames: g,
|
|
636
|
+
showClear: E = !0,
|
|
637
|
+
searchable: G = !0,
|
|
638
|
+
...F
|
|
639
|
+
} = o, N = r ?? jo, C = i ?? Po, v = (c) => String(C(c)), y = (c) => e.find((b) => v(b) === c) ?? null, V = x.useRef(!1);
|
|
640
|
+
if (process.env.NODE_ENV !== "production" && !V.current) {
|
|
641
|
+
const c = /* @__PURE__ */ new Set(), b = /* @__PURE__ */ new Set();
|
|
642
|
+
for (const M of e) {
|
|
643
|
+
const z = v(M);
|
|
644
|
+
c.has(z) && b.add(z), c.add(z);
|
|
645
|
+
}
|
|
646
|
+
b.size > 0 && (V.current = !0, console.warn(
|
|
647
|
+
`[Combobox] Multiple items resolve to the same id (${[...b].join(", ")}). Provide a \`getId\` that returns a unique value per item.`
|
|
648
|
+
));
|
|
649
|
+
}
|
|
650
|
+
const W = s ? d?.map((c) => y(String(c))).filter(Boolean) : d == null ? d : y(String(d)), D = s ? h?.map((c) => y(String(c))).filter(Boolean) : h == null ? void 0 : y(String(h));
|
|
651
|
+
return /* @__PURE__ */ p(
|
|
652
|
+
xo,
|
|
642
653
|
{
|
|
643
654
|
items: e,
|
|
644
|
-
itemToStringLabel:
|
|
645
|
-
itemToStringValue:
|
|
646
|
-
multiple:
|
|
647
|
-
onValueChange: c
|
|
648
|
-
|
|
649
|
-
|
|
655
|
+
itemToStringLabel: N,
|
|
656
|
+
itemToStringValue: C,
|
|
657
|
+
multiple: s,
|
|
658
|
+
onValueChange: (c) => {
|
|
659
|
+
if (s) {
|
|
660
|
+
const b = c ?? [];
|
|
661
|
+
m?.(b.map(C), b);
|
|
662
|
+
} else {
|
|
663
|
+
const b = c ?? null;
|
|
664
|
+
m?.(b ? C(b) : null, b);
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
value: W,
|
|
668
|
+
defaultValue: D,
|
|
669
|
+
isItemEqualToValue: (c, b) => v(c) === v(b),
|
|
650
670
|
autoHighlight: !0,
|
|
651
671
|
loopFocus: !0,
|
|
652
|
-
...
|
|
672
|
+
...F,
|
|
653
673
|
children: [
|
|
654
|
-
|
|
655
|
-
|
|
674
|
+
s ? /* @__PURE__ */ t(
|
|
675
|
+
Go,
|
|
656
676
|
{
|
|
657
|
-
getLabel:
|
|
658
|
-
getId:
|
|
659
|
-
showClear:
|
|
660
|
-
startAddon:
|
|
661
|
-
className:
|
|
677
|
+
getLabel: N,
|
|
678
|
+
getId: C,
|
|
679
|
+
showClear: E,
|
|
680
|
+
startAddon: f,
|
|
681
|
+
className: g?.chips
|
|
662
682
|
}
|
|
663
683
|
) : /* @__PURE__ */ t(
|
|
664
|
-
|
|
684
|
+
To,
|
|
665
685
|
{
|
|
666
686
|
placeholder: n,
|
|
667
|
-
showClear:
|
|
668
|
-
startAddon:
|
|
669
|
-
className:
|
|
687
|
+
showClear: E,
|
|
688
|
+
startAddon: f,
|
|
689
|
+
className: g?.input
|
|
670
690
|
}
|
|
671
691
|
),
|
|
672
|
-
/* @__PURE__ */
|
|
673
|
-
|
|
692
|
+
/* @__PURE__ */ p(vo, { className: g?.popup, children: [
|
|
693
|
+
s && G && /* @__PURE__ */ t(
|
|
674
694
|
"div",
|
|
675
695
|
{
|
|
676
696
|
className: "border-b p-2",
|
|
677
697
|
"data-slot": "combobox-chips-input-wrapper",
|
|
678
698
|
children: /* @__PURE__ */ t(
|
|
679
|
-
|
|
699
|
+
ho,
|
|
680
700
|
{
|
|
681
|
-
className:
|
|
701
|
+
className: g?.chipsInput,
|
|
682
702
|
placeholder: n
|
|
683
703
|
}
|
|
684
704
|
)
|
|
685
705
|
}
|
|
686
706
|
),
|
|
687
|
-
/* @__PURE__ */ t(
|
|
688
|
-
/* @__PURE__ */ t(
|
|
689
|
-
|
|
707
|
+
/* @__PURE__ */ t(wo, { className: g?.empty, children: l }),
|
|
708
|
+
/* @__PURE__ */ t(zo, { className: g?.list, children: (c) => /* @__PURE__ */ t(
|
|
709
|
+
yo,
|
|
690
710
|
{
|
|
691
|
-
value:
|
|
692
|
-
className:
|
|
693
|
-
children:
|
|
711
|
+
value: c,
|
|
712
|
+
className: g?.item,
|
|
713
|
+
children: a ? a(c) : N(c)
|
|
694
714
|
},
|
|
695
|
-
|
|
715
|
+
C(c)
|
|
696
716
|
) })
|
|
697
717
|
] })
|
|
698
718
|
]
|
|
699
719
|
}
|
|
700
720
|
);
|
|
701
721
|
}
|
|
702
|
-
const
|
|
722
|
+
const Ie = q;
|
|
703
723
|
export {
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
724
|
+
Se as Combobox,
|
|
725
|
+
Io as ComboboxChip,
|
|
726
|
+
Ro as ComboboxChipRemove,
|
|
727
|
+
So as ComboboxChips,
|
|
728
|
+
ho as ComboboxChipsInput,
|
|
729
|
+
_o as ComboboxClear,
|
|
730
|
+
_e as ComboboxCollection,
|
|
731
|
+
w as ComboboxContext,
|
|
732
|
+
wo as ComboboxEmpty,
|
|
733
|
+
ye as ComboboxGroup,
|
|
734
|
+
we as ComboboxGroupLabel,
|
|
735
|
+
go as ComboboxInput,
|
|
736
|
+
yo as ComboboxItem,
|
|
737
|
+
zo as ComboboxList,
|
|
738
|
+
vo as ComboboxPopup,
|
|
739
|
+
xo as ComboboxRoot,
|
|
740
|
+
Ne as ComboboxRow,
|
|
741
|
+
Ce as ComboboxSearchInput,
|
|
742
|
+
ge as ComboboxSelectTrigger,
|
|
743
|
+
ve as ComboboxSeparator,
|
|
744
|
+
ze as ComboboxStatus,
|
|
745
|
+
Co as ComboboxTrigger,
|
|
746
|
+
No as ComboboxValue,
|
|
747
|
+
Ie as useComboboxFilter
|
|
728
748
|
};
|