@drjoshcsimmons/scl 0.1.0 → 0.1.1
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/ui/alert/alert.d.ts +1 -1
- package/dist/components/ui/alert/alert.d.ts.map +1 -1
- package/dist/components/ui/badge/badge.d.ts +1 -1
- package/dist/components/ui/badge/badge.d.ts.map +1 -1
- package/dist/components/ui/button/button.d.ts +1 -1
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/combobox/combobox.d.ts +31 -0
- package/dist/components/ui/combobox/combobox.d.ts.map +1 -0
- package/dist/components/ui/combobox/index.d.ts +3 -0
- package/dist/components/ui/combobox/index.d.ts.map +1 -0
- package/dist/components/ui/command/command.d.ts +85 -0
- package/dist/components/ui/command/command.d.ts.map +1 -0
- package/dist/components/ui/command/index.d.ts +2 -0
- package/dist/components/ui/command/index.d.ts.map +1 -0
- package/dist/components/ui/dithered-image/dithered-image.d.ts +6 -2
- package/dist/components/ui/dithered-image/dithered-image.d.ts.map +1 -1
- package/dist/components/ui/dithered-image/index.d.ts +1 -1
- package/dist/components/ui/dithered-image/index.d.ts.map +1 -1
- package/dist/components/ui/form/form.d.ts +24 -0
- package/dist/components/ui/form/form.d.ts.map +1 -0
- package/dist/components/ui/form/index.d.ts +2 -0
- package/dist/components/ui/form/index.d.ts.map +1 -0
- package/dist/components/ui/progress/progress.d.ts +0 -6
- package/dist/components/ui/progress/progress.d.ts.map +1 -1
- package/dist/components/ui/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/components/ui/skeleton/skeleton.d.ts +4 -1
- package/dist/components/ui/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/ui/statusline/statusline.d.ts.map +1 -1
- package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts +0 -5
- package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +166 -143
- package/dist/index10.js +30 -30
- package/dist/index100.js +9 -30
- package/dist/index101.js +50 -15
- package/dist/index102.js +212 -128
- package/dist/index103.js +4 -50
- package/dist/index104.js +30 -9
- package/dist/index105.js +6 -4
- package/dist/index106.js +19 -179
- package/dist/index107.js +9 -650
- package/dist/index108.js +38 -107
- package/dist/index109.js +17 -90
- package/dist/index11.js +13 -13
- package/dist/index110.js +11 -66
- package/dist/index111.js +201 -154
- package/dist/index112.js +20 -395
- package/dist/index113.js +395 -1675
- package/dist/index114.js +2 -278
- package/dist/index115.js +49 -128
- package/dist/index116.js +65 -32
- package/dist/index117.js +2 -1611
- package/dist/index118.js +2 -298
- package/dist/index119.js +22 -632
- package/dist/index12.js +1 -1
- package/dist/index120.js +29 -144
- package/dist/index121.js +5 -21
- package/dist/index122.js +5 -9
- package/dist/index123.js +3 -38
- package/dist/index124.js +24 -18
- package/dist/index125.js +113 -6
- package/dist/index126.js +15 -11
- package/dist/index127.js +513 -194
- package/dist/index128.js +128 -22
- package/dist/index129.js +114 -380
- package/dist/index13.js +132 -93
- package/dist/index130.js +59 -1300
- package/dist/index131.js +63 -612
- package/dist/index132.js +9 -2
- package/dist/index133.js +13 -52
- package/dist/index134.js +64 -63
- package/dist/index135.js +3 -24
- package/dist/index136.js +23 -29
- package/dist/index137.js +23 -5
- package/dist/index138.js +13 -2
- package/dist/index139.js +28 -2
- package/dist/index14.js +106 -220
- package/dist/index140.js +5 -5
- package/dist/index15.js +79 -125
- package/dist/index16.js +280 -17
- package/dist/index17.js +139 -12
- package/dist/index18.js +92 -22
- package/dist/index19.js +18 -55
- package/dist/index2.js +2 -2
- package/dist/index20.js +14 -26
- package/dist/index21.js +19 -33
- package/dist/index22.js +38 -121
- package/dist/index23.js +29 -22
- package/dist/index24.js +31 -64
- package/dist/index25.js +121 -15
- package/dist/index26.js +19 -29
- package/dist/index27.js +68 -77
- package/dist/index28.js +20 -25
- package/dist/index29.js +32 -88
- package/dist/index3.js +11 -9
- package/dist/index30.js +138 -38
- package/dist/index31.js +20 -227
- package/dist/index32.js +88 -18
- package/dist/index33.js +37 -28
- package/dist/index34.js +86 -22
- package/dist/index35.js +17 -102
- package/dist/index36.js +34 -65
- package/dist/index37.js +23 -49
- package/dist/index38.js +38 -99
- package/dist/index39.js +65 -10
- package/dist/index4.js +6 -6
- package/dist/index40.js +49 -15
- package/dist/index41.js +93 -2256
- package/dist/index42.js +10 -32
- package/dist/index43.js +15 -18
- package/dist/index44.js +2251 -225
- package/dist/index45.js +33 -11
- package/dist/index46.js +116 -64
- package/dist/index47.js +207 -219
- package/dist/index48.js +5 -3
- package/dist/index49.js +54 -330
- package/dist/index5.js +23 -23
- package/dist/index50.js +244 -55
- package/dist/index51.js +9 -241
- package/dist/index52.js +60 -847
- package/dist/index53.js +236 -9
- package/dist/index54.js +11 -118
- package/dist/index55.js +300 -215
- package/dist/index56.js +4 -3
- package/dist/index57.js +225 -11
- package/dist/index58.js +11 -236
- package/dist/index59.js +27 -256
- package/dist/index6.js +12 -12
- package/dist/index60.js +260 -12
- package/dist/index61.js +12 -22
- package/dist/index62.js +94 -506
- package/dist/index63.js +12 -6155
- package/dist/index64.js +20 -2631
- package/dist/index65.js +16 -296
- package/dist/index66.js +232 -663
- package/dist/index67.js +125 -825
- package/dist/index68.js +159 -23
- package/dist/index69.js +241 -315
- package/dist/index7.js +22 -22
- package/dist/index70.js +72 -4889
- package/dist/index71.js +503 -802
- package/dist/index72.js +412 -1235
- package/dist/index73.js +323 -521
- package/dist/index74.js +839 -104
- package/dist/index75.js +9 -161
- package/dist/index76.js +67 -30
- package/dist/index77.js +22 -430
- package/dist/index78.js +6 -129
- package/dist/index79.js +48 -75
- package/dist/index8.js +17 -18
- package/dist/index80.js +42 -64
- package/dist/index81.js +50 -44
- package/dist/index82.js +32 -25
- package/dist/index83.js +10 -6
- package/dist/index84.js +7 -51
- package/dist/index85.js +5 -33
- package/dist/index86.js +24 -10
- package/dist/index87.js +68 -7
- package/dist/index88.js +55 -30
- package/dist/index89.js +10 -54
- package/dist/index9.js +23 -31
- package/dist/index90.js +4 -11
- package/dist/index91.js +30 -4
- package/dist/index92.js +1 -1
- package/dist/index93.js +180 -5
- package/dist/index94.js +14 -24
- package/dist/index95.js +643 -62
- package/dist/index96.js +5 -5
- package/dist/index97.js +128 -212
- package/dist/index98.js +2 -2
- package/dist/index99.js +13 -52
- package/dist/tokens/colors.d.ts +26 -86
- package/dist/tokens/colors.d.ts.map +1 -1
- package/dist/tokens/index.d.ts +12 -84
- package/dist/tokens/index.d.ts.map +1 -1
- package/package.json +26 -22
- package/dist/index141.js +0 -5
- package/dist/index142.js +0 -26
- package/dist/index143.js +0 -115
- package/dist/index144.js +0 -18
- package/dist/index145.js +0 -527
- package/dist/index146.js +0 -130
- package/dist/index147.js +0 -136
- package/dist/index148.js +0 -67
- package/dist/index149.js +0 -71
- package/dist/index150.js +0 -11
- package/dist/index151.js +0 -16
- package/dist/index152.js +0 -68
- package/dist/index153.js +0 -6
- package/dist/index154.js +0 -25
- package/dist/index155.js +0 -25
- package/dist/index156.js +0 -15
- package/dist/index157.js +0 -30
- package/dist/index158.js +0 -7
package/dist/index66.js
CHANGED
|
@@ -1,674 +1,243 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
formaction: null,
|
|
57
|
-
name: null,
|
|
58
|
-
value: null,
|
|
59
|
-
autofocus: ["autofocus"],
|
|
60
|
-
disabled: ["autofocus"],
|
|
61
|
-
formenctype: E,
|
|
62
|
-
formmethod: N,
|
|
63
|
-
formnovalidate: ["novalidate"],
|
|
64
|
-
formtarget: T,
|
|
65
|
-
type: ["submit", "reset", "button"]
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
canvas: { attrs: { width: null, height: null } },
|
|
69
|
-
caption: l,
|
|
70
|
-
center: l,
|
|
71
|
-
cite: l,
|
|
72
|
-
code: l,
|
|
73
|
-
col: { attrs: { span: null } },
|
|
74
|
-
colgroup: { attrs: { span: null } },
|
|
75
|
-
command: {
|
|
76
|
-
attrs: {
|
|
77
|
-
type: ["command", "checkbox", "radio"],
|
|
78
|
-
label: null,
|
|
79
|
-
icon: null,
|
|
80
|
-
radiogroup: null,
|
|
81
|
-
command: null,
|
|
82
|
-
title: null,
|
|
83
|
-
disabled: ["disabled"],
|
|
84
|
-
checked: ["checked"]
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
data: { attrs: { value: null } },
|
|
88
|
-
datagrid: { attrs: { disabled: ["disabled"], multiple: ["multiple"] } },
|
|
89
|
-
datalist: { attrs: { data: null } },
|
|
90
|
-
dd: l,
|
|
91
|
-
del: { attrs: { cite: null, datetime: null } },
|
|
92
|
-
details: { attrs: { open: ["open"] } },
|
|
93
|
-
dfn: l,
|
|
94
|
-
div: l,
|
|
95
|
-
dl: l,
|
|
96
|
-
dt: l,
|
|
97
|
-
em: l,
|
|
98
|
-
embed: { attrs: { src: null, type: null, width: null, height: null } },
|
|
99
|
-
eventsource: { attrs: { src: null } },
|
|
100
|
-
fieldset: { attrs: { disabled: ["disabled"], form: null, name: null } },
|
|
101
|
-
figcaption: l,
|
|
102
|
-
figure: l,
|
|
103
|
-
footer: l,
|
|
104
|
-
form: {
|
|
105
|
-
attrs: {
|
|
106
|
-
action: null,
|
|
107
|
-
name: null,
|
|
108
|
-
"accept-charset": S,
|
|
109
|
-
autocomplete: ["on", "off"],
|
|
110
|
-
enctype: E,
|
|
111
|
-
method: N,
|
|
112
|
-
novalidate: ["novalidate"],
|
|
113
|
-
target: T
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
h1: l,
|
|
117
|
-
h2: l,
|
|
118
|
-
h3: l,
|
|
119
|
-
h4: l,
|
|
120
|
-
h5: l,
|
|
121
|
-
h6: l,
|
|
122
|
-
head: {
|
|
123
|
-
children: ["title", "base", "link", "style", "meta", "script", "noscript", "command"]
|
|
124
|
-
},
|
|
125
|
-
header: l,
|
|
126
|
-
hgroup: l,
|
|
127
|
-
hr: l,
|
|
128
|
-
html: {
|
|
129
|
-
attrs: { manifest: null }
|
|
130
|
-
},
|
|
131
|
-
i: l,
|
|
132
|
-
iframe: {
|
|
133
|
-
attrs: {
|
|
134
|
-
src: null,
|
|
135
|
-
srcdoc: null,
|
|
136
|
-
name: null,
|
|
137
|
-
width: null,
|
|
138
|
-
height: null,
|
|
139
|
-
sandbox: ["allow-top-navigation", "allow-same-origin", "allow-forms", "allow-scripts"],
|
|
140
|
-
seamless: ["seamless"]
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
img: {
|
|
144
|
-
attrs: {
|
|
145
|
-
alt: null,
|
|
146
|
-
src: null,
|
|
147
|
-
ismap: null,
|
|
148
|
-
usemap: null,
|
|
149
|
-
width: null,
|
|
150
|
-
height: null,
|
|
151
|
-
crossorigin: ["anonymous", "use-credentials"]
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
input: {
|
|
155
|
-
attrs: {
|
|
156
|
-
alt: null,
|
|
157
|
-
dirname: null,
|
|
158
|
-
form: null,
|
|
159
|
-
formaction: null,
|
|
160
|
-
height: null,
|
|
161
|
-
list: null,
|
|
162
|
-
max: null,
|
|
163
|
-
maxlength: null,
|
|
164
|
-
min: null,
|
|
165
|
-
name: null,
|
|
166
|
-
pattern: null,
|
|
167
|
-
placeholder: null,
|
|
168
|
-
size: null,
|
|
169
|
-
src: null,
|
|
170
|
-
step: null,
|
|
171
|
-
value: null,
|
|
172
|
-
width: null,
|
|
173
|
-
accept: ["audio/*", "video/*", "image/*"],
|
|
174
|
-
autocomplete: ["on", "off"],
|
|
175
|
-
autofocus: ["autofocus"],
|
|
176
|
-
checked: ["checked"],
|
|
177
|
-
disabled: ["disabled"],
|
|
178
|
-
formenctype: E,
|
|
179
|
-
formmethod: N,
|
|
180
|
-
formnovalidate: ["novalidate"],
|
|
181
|
-
formtarget: T,
|
|
182
|
-
multiple: ["multiple"],
|
|
183
|
-
readonly: ["readonly"],
|
|
184
|
-
required: ["required"],
|
|
185
|
-
type: [
|
|
186
|
-
"hidden",
|
|
187
|
-
"text",
|
|
188
|
-
"search",
|
|
189
|
-
"tel",
|
|
190
|
-
"url",
|
|
191
|
-
"email",
|
|
192
|
-
"password",
|
|
193
|
-
"datetime",
|
|
194
|
-
"date",
|
|
195
|
-
"month",
|
|
196
|
-
"week",
|
|
197
|
-
"time",
|
|
198
|
-
"datetime-local",
|
|
199
|
-
"number",
|
|
200
|
-
"range",
|
|
201
|
-
"color",
|
|
202
|
-
"checkbox",
|
|
203
|
-
"radio",
|
|
204
|
-
"file",
|
|
205
|
-
"submit",
|
|
206
|
-
"image",
|
|
207
|
-
"reset",
|
|
208
|
-
"button"
|
|
209
|
-
]
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
ins: { attrs: { cite: null, datetime: null } },
|
|
213
|
-
kbd: l,
|
|
214
|
-
keygen: {
|
|
215
|
-
attrs: {
|
|
216
|
-
challenge: null,
|
|
217
|
-
form: null,
|
|
218
|
-
name: null,
|
|
219
|
-
autofocus: ["autofocus"],
|
|
220
|
-
disabled: ["disabled"],
|
|
221
|
-
keytype: ["RSA"]
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
label: { attrs: { for: null, form: null } },
|
|
225
|
-
legend: l,
|
|
226
|
-
li: { attrs: { value: null } },
|
|
227
|
-
link: {
|
|
228
|
-
attrs: {
|
|
229
|
-
href: null,
|
|
230
|
-
type: null,
|
|
231
|
-
hreflang: null,
|
|
232
|
-
media: null,
|
|
233
|
-
sizes: ["all", "16x16", "16x16 32x32", "16x16 32x32 64x64"]
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
map: { attrs: { name: null } },
|
|
237
|
-
mark: l,
|
|
238
|
-
menu: { attrs: { label: null, type: ["list", "context", "toolbar"] } },
|
|
239
|
-
meta: {
|
|
240
|
-
attrs: {
|
|
241
|
-
content: null,
|
|
242
|
-
charset: S,
|
|
243
|
-
name: ["viewport", "application-name", "author", "description", "generator", "keywords"],
|
|
244
|
-
"http-equiv": ["content-language", "content-type", "default-style", "refresh"]
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
meter: { attrs: { value: null, min: null, low: null, high: null, max: null, optimum: null } },
|
|
248
|
-
nav: l,
|
|
249
|
-
noscript: l,
|
|
250
|
-
object: {
|
|
251
|
-
attrs: {
|
|
252
|
-
data: null,
|
|
253
|
-
type: null,
|
|
254
|
-
name: null,
|
|
255
|
-
usemap: null,
|
|
256
|
-
form: null,
|
|
257
|
-
width: null,
|
|
258
|
-
height: null,
|
|
259
|
-
typemustmatch: ["typemustmatch"]
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
ol: {
|
|
263
|
-
attrs: { reversed: ["reversed"], start: null, type: ["1", "a", "A", "i", "I"] },
|
|
264
|
-
children: ["li", "script", "template", "ul", "ol"]
|
|
265
|
-
},
|
|
266
|
-
optgroup: { attrs: { disabled: ["disabled"], label: null } },
|
|
267
|
-
option: { attrs: { disabled: ["disabled"], label: null, selected: ["selected"], value: null } },
|
|
268
|
-
output: { attrs: { for: null, form: null, name: null } },
|
|
269
|
-
p: l,
|
|
270
|
-
param: { attrs: { name: null, value: null } },
|
|
271
|
-
pre: l,
|
|
272
|
-
progress: { attrs: { value: null, max: null } },
|
|
273
|
-
q: { attrs: { cite: null } },
|
|
274
|
-
rp: l,
|
|
275
|
-
rt: l,
|
|
276
|
-
ruby: l,
|
|
277
|
-
samp: l,
|
|
278
|
-
script: {
|
|
279
|
-
attrs: {
|
|
280
|
-
type: ["text/javascript"],
|
|
281
|
-
src: null,
|
|
282
|
-
async: ["async"],
|
|
283
|
-
defer: ["defer"],
|
|
284
|
-
charset: S
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
section: l,
|
|
288
|
-
select: {
|
|
289
|
-
attrs: {
|
|
290
|
-
form: null,
|
|
291
|
-
name: null,
|
|
292
|
-
size: null,
|
|
293
|
-
autofocus: ["autofocus"],
|
|
294
|
-
disabled: ["disabled"],
|
|
295
|
-
multiple: ["multiple"]
|
|
296
|
-
}
|
|
297
|
-
},
|
|
298
|
-
slot: { attrs: { name: null } },
|
|
299
|
-
small: l,
|
|
300
|
-
source: { attrs: { src: null, type: null, media: null } },
|
|
301
|
-
span: l,
|
|
302
|
-
strong: l,
|
|
303
|
-
style: {
|
|
304
|
-
attrs: {
|
|
305
|
-
type: ["text/css"],
|
|
306
|
-
media: null,
|
|
307
|
-
scoped: null
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
|
-
sub: l,
|
|
311
|
-
summary: l,
|
|
312
|
-
sup: l,
|
|
313
|
-
table: l,
|
|
314
|
-
tbody: l,
|
|
315
|
-
td: { attrs: { colspan: null, rowspan: null, headers: null } },
|
|
316
|
-
template: l,
|
|
317
|
-
textarea: {
|
|
318
|
-
attrs: {
|
|
319
|
-
dirname: null,
|
|
320
|
-
form: null,
|
|
321
|
-
maxlength: null,
|
|
322
|
-
name: null,
|
|
323
|
-
placeholder: null,
|
|
324
|
-
rows: null,
|
|
325
|
-
cols: null,
|
|
326
|
-
autofocus: ["autofocus"],
|
|
327
|
-
disabled: ["disabled"],
|
|
328
|
-
readonly: ["readonly"],
|
|
329
|
-
required: ["required"],
|
|
330
|
-
wrap: ["soft", "hard"]
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
tfoot: l,
|
|
334
|
-
th: { attrs: { colspan: null, rowspan: null, headers: null, scope: ["row", "col", "rowgroup", "colgroup"] } },
|
|
335
|
-
thead: l,
|
|
336
|
-
time: { attrs: { datetime: null } },
|
|
337
|
-
title: l,
|
|
338
|
-
tr: l,
|
|
339
|
-
track: {
|
|
340
|
-
attrs: {
|
|
341
|
-
src: null,
|
|
342
|
-
label: null,
|
|
343
|
-
default: null,
|
|
344
|
-
kind: ["subtitles", "captions", "descriptions", "chapters", "metadata"],
|
|
345
|
-
srclang: null
|
|
346
|
-
}
|
|
347
|
-
},
|
|
348
|
-
ul: { children: ["li", "script", "template", "ul", "ol"] },
|
|
349
|
-
var: l,
|
|
350
|
-
video: {
|
|
351
|
-
attrs: {
|
|
352
|
-
src: null,
|
|
353
|
-
poster: null,
|
|
354
|
-
width: null,
|
|
355
|
-
height: null,
|
|
356
|
-
crossorigin: ["anonymous", "use-credentials"],
|
|
357
|
-
preload: ["auto", "metadata", "none"],
|
|
358
|
-
autoplay: ["autoplay"],
|
|
359
|
-
mediagroup: ["movie"],
|
|
360
|
-
muted: ["muted"],
|
|
361
|
-
controls: ["controls"]
|
|
362
|
-
}
|
|
363
|
-
},
|
|
364
|
-
wbr: l
|
|
365
|
-
}, D = {
|
|
366
|
-
accesskey: null,
|
|
367
|
-
class: null,
|
|
368
|
-
contenteditable: c,
|
|
369
|
-
contextmenu: null,
|
|
370
|
-
dir: ["ltr", "rtl", "auto"],
|
|
371
|
-
draggable: ["true", "false", "auto"],
|
|
372
|
-
dropzone: ["copy", "move", "link", "string:", "file:"],
|
|
373
|
-
hidden: ["hidden"],
|
|
374
|
-
id: null,
|
|
375
|
-
inert: ["inert"],
|
|
376
|
-
itemid: null,
|
|
377
|
-
itemprop: null,
|
|
378
|
-
itemref: null,
|
|
379
|
-
itemscope: ["itemscope"],
|
|
380
|
-
itemtype: null,
|
|
381
|
-
lang: ["ar", "bn", "de", "en-GB", "en-US", "es", "fr", "hi", "id", "ja", "pa", "pt", "ru", "tr", "zh"],
|
|
382
|
-
spellcheck: c,
|
|
383
|
-
autocorrect: c,
|
|
384
|
-
autocapitalize: c,
|
|
385
|
-
style: null,
|
|
386
|
-
tabindex: null,
|
|
387
|
-
title: null,
|
|
388
|
-
translate: ["yes", "no"],
|
|
389
|
-
rel: ["stylesheet", "alternate", "author", "bookmark", "help", "license", "next", "nofollow", "noreferrer", "prefetch", "prev", "search", "tag"],
|
|
390
|
-
role: /* @__PURE__ */ "alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),
|
|
391
|
-
"aria-activedescendant": null,
|
|
392
|
-
"aria-atomic": c,
|
|
393
|
-
"aria-autocomplete": ["inline", "list", "both", "none"],
|
|
394
|
-
"aria-busy": c,
|
|
395
|
-
"aria-checked": ["true", "false", "mixed", "undefined"],
|
|
396
|
-
"aria-controls": null,
|
|
397
|
-
"aria-describedby": null,
|
|
398
|
-
"aria-disabled": c,
|
|
399
|
-
"aria-dropeffect": null,
|
|
400
|
-
"aria-expanded": ["true", "false", "undefined"],
|
|
401
|
-
"aria-flowto": null,
|
|
402
|
-
"aria-grabbed": ["true", "false", "undefined"],
|
|
403
|
-
"aria-haspopup": c,
|
|
404
|
-
"aria-hidden": c,
|
|
405
|
-
"aria-invalid": ["true", "false", "grammar", "spelling"],
|
|
406
|
-
"aria-label": null,
|
|
407
|
-
"aria-labelledby": null,
|
|
408
|
-
"aria-level": null,
|
|
409
|
-
"aria-live": ["off", "polite", "assertive"],
|
|
410
|
-
"aria-multiline": c,
|
|
411
|
-
"aria-multiselectable": c,
|
|
412
|
-
"aria-owns": null,
|
|
413
|
-
"aria-posinset": null,
|
|
414
|
-
"aria-pressed": ["true", "false", "mixed", "undefined"],
|
|
415
|
-
"aria-readonly": c,
|
|
416
|
-
"aria-relevant": null,
|
|
417
|
-
"aria-required": c,
|
|
418
|
-
"aria-selected": ["true", "false", "undefined"],
|
|
419
|
-
"aria-setsize": null,
|
|
420
|
-
"aria-sort": ["ascending", "descending", "none", "other"],
|
|
421
|
-
"aria-valuemax": null,
|
|
422
|
-
"aria-valuemin": null,
|
|
423
|
-
"aria-valuenow": null,
|
|
424
|
-
"aria-valuetext": null
|
|
425
|
-
}, F = /* @__PURE__ */ "beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map((e) => "on" + e);
|
|
426
|
-
for (let e of F)
|
|
427
|
-
D[e] = null;
|
|
428
|
-
class C {
|
|
429
|
-
constructor(n, r) {
|
|
430
|
-
this.tags = { ...ne, ...n }, this.globalAttrs = { ...D, ...r }, this.allTags = Object.keys(this.tags), this.globalAttrNames = Object.keys(this.globalAttrs);
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
C.default = /* @__PURE__ */ new C();
|
|
434
|
-
function y(e, n, r = e.length) {
|
|
435
|
-
if (!n)
|
|
436
|
-
return "";
|
|
437
|
-
let a = n.firstChild, t = a && a.getChild("TagName");
|
|
438
|
-
return t ? e.sliceString(t.from, Math.min(t.to, r)) : "";
|
|
439
|
-
}
|
|
440
|
-
function v(e, n = !1) {
|
|
441
|
-
for (; e; e = e.parent)
|
|
442
|
-
if (e.name == "Element")
|
|
443
|
-
if (n)
|
|
444
|
-
n = !1;
|
|
445
|
-
else
|
|
446
|
-
return e;
|
|
447
|
-
return null;
|
|
448
|
-
}
|
|
449
|
-
function P(e, n, r) {
|
|
450
|
-
let a = r.tags[y(e, v(n))];
|
|
451
|
-
return (a == null ? void 0 : a.children) || r.allTags;
|
|
452
|
-
}
|
|
453
|
-
function j(e, n) {
|
|
454
|
-
let r = [];
|
|
455
|
-
for (let a = v(n); a && !a.type.isTop; a = v(a.parent)) {
|
|
456
|
-
let t = y(e, a);
|
|
457
|
-
if (t && a.lastChild.name == "CloseTag")
|
|
458
|
-
break;
|
|
459
|
-
t && r.indexOf(t) < 0 && (n.name == "EndTag" || n.from >= a.firstChild.to) && r.push(t);
|
|
460
|
-
}
|
|
461
|
-
return r;
|
|
462
|
-
}
|
|
463
|
-
const V = /^[:\-\.\w\u00b7-\uffff]*$/;
|
|
464
|
-
function I(e, n, r, a, t) {
|
|
465
|
-
let s = /\s*>/.test(e.sliceDoc(t, t + 5)) ? "" : ">", o = v(r, r.name == "StartTag" || r.name == "TagName");
|
|
466
|
-
return {
|
|
467
|
-
from: a,
|
|
468
|
-
to: t,
|
|
469
|
-
options: P(e.doc, o, n).map((u) => ({ label: u, type: "type" })).concat(j(e.doc, r).map((u, i) => ({
|
|
470
|
-
label: "/" + u,
|
|
471
|
-
apply: "/" + u + s,
|
|
472
|
-
type: "type",
|
|
473
|
-
boost: 99 - i
|
|
474
|
-
}))),
|
|
475
|
-
validFor: /^\/?[:\-\.\w\u00b7-\uffff]*$/
|
|
476
|
-
};
|
|
477
|
-
}
|
|
478
|
-
function L(e, n, r, a) {
|
|
479
|
-
let t = /\s*>/.test(e.sliceDoc(a, a + 5)) ? "" : ">";
|
|
480
|
-
return {
|
|
481
|
-
from: r,
|
|
482
|
-
to: a,
|
|
483
|
-
options: j(e.doc, n).map((s, o) => ({ label: s, apply: s + t, type: "type", boost: 99 - o })),
|
|
484
|
-
validFor: V
|
|
485
|
-
};
|
|
486
|
-
}
|
|
487
|
-
function re(e, n, r, a) {
|
|
488
|
-
let t = [], s = 0;
|
|
489
|
-
for (let o of P(e.doc, r, n))
|
|
490
|
-
t.push({ label: "<" + o, type: "type" });
|
|
491
|
-
for (let o of j(e.doc, r))
|
|
492
|
-
t.push({ label: "</" + o + ">", type: "type", boost: 99 - s++ });
|
|
493
|
-
return { from: a, to: a, options: t, validFor: /^<\/?[:\-\.\w\u00b7-\uffff]*$/ };
|
|
494
|
-
}
|
|
495
|
-
function oe(e, n, r, a, t) {
|
|
496
|
-
let s = v(r), o = s ? n.tags[y(e.doc, s)] : null, u = o && o.attrs ? Object.keys(o.attrs) : [], i = o && o.globalAttrs === !1 ? u : u.length ? u.concat(n.globalAttrNames) : n.globalAttrNames;
|
|
497
|
-
return {
|
|
498
|
-
from: a,
|
|
499
|
-
to: t,
|
|
500
|
-
options: i.map((f) => ({ label: f, type: "property" })),
|
|
501
|
-
validFor: V
|
|
502
|
-
};
|
|
503
|
-
}
|
|
504
|
-
function se(e, n, r, a, t) {
|
|
505
|
-
var s;
|
|
506
|
-
let o = (s = r.parent) === null || s === void 0 ? void 0 : s.getChild("AttributeName"), u = [], i;
|
|
507
|
-
if (o) {
|
|
508
|
-
let f = e.sliceDoc(o.from, o.to), g = n.globalAttrs[f];
|
|
509
|
-
if (!g) {
|
|
510
|
-
let p = v(r), m = p ? n.tags[y(e.doc, p)] : null;
|
|
511
|
-
g = (m == null ? void 0 : m.attrs) && m.attrs[f];
|
|
512
|
-
}
|
|
513
|
-
if (g) {
|
|
514
|
-
let p = e.sliceDoc(a, t).toLowerCase(), m = '"', d = '"';
|
|
515
|
-
/^['"]/.test(p) ? (i = p[0] == '"' ? /^[^"]*$/ : /^[^']*$/, m = "", d = e.sliceDoc(t, t + 1) == p[0] ? "" : p[0], p = p.slice(1), a++) : i = /^[^\s<>='"]*$/;
|
|
516
|
-
for (let h of g)
|
|
517
|
-
u.push({ label: h, apply: m + h + d, type: "constant" });
|
|
518
|
-
}
|
|
1
|
+
import * as i from "react";
|
|
2
|
+
import { composeEventHandlers as P } from "./index78.js";
|
|
3
|
+
import { useComposedRefs as O } from "./index77.js";
|
|
4
|
+
import { createContextScope as G } from "./index76.js";
|
|
5
|
+
import { DismissableLayer as H } from "./index96.js";
|
|
6
|
+
import { useFocusGuards as K } from "./index99.js";
|
|
7
|
+
import { FocusScope as $ } from "./index97.js";
|
|
8
|
+
import { useId as j } from "./index83.js";
|
|
9
|
+
import { createPopperScope as _, Root as U, Anchor as x, Content as V, Arrow as W } from "./index102.js";
|
|
10
|
+
import { Portal as Z } from "./index98.js";
|
|
11
|
+
import { Presence as w } from "./index87.js";
|
|
12
|
+
import { Primitive as E } from "./index82.js";
|
|
13
|
+
import { createSlot as q } from "./index79.js";
|
|
14
|
+
import { useControllableState as z } from "./index81.js";
|
|
15
|
+
import { hideOthers as B } from "./index101.js";
|
|
16
|
+
import J from "./index100.js";
|
|
17
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
18
|
+
var C = "Popover", [b] = G(C, [
|
|
19
|
+
_
|
|
20
|
+
]), m = _(), [Q, f] = b(C), F = (o) => {
|
|
21
|
+
const {
|
|
22
|
+
__scopePopover: n,
|
|
23
|
+
children: t,
|
|
24
|
+
open: a,
|
|
25
|
+
defaultOpen: e,
|
|
26
|
+
onOpenChange: r,
|
|
27
|
+
modal: s = !1
|
|
28
|
+
} = o, c = m(n), u = i.useRef(null), [l, g] = i.useState(!1), [h, d] = z({
|
|
29
|
+
prop: a,
|
|
30
|
+
defaultProp: e ?? !1,
|
|
31
|
+
onChange: r,
|
|
32
|
+
caller: C
|
|
33
|
+
});
|
|
34
|
+
return /* @__PURE__ */ p(U, { ...c, children: /* @__PURE__ */ p(
|
|
35
|
+
Q,
|
|
36
|
+
{
|
|
37
|
+
scope: n,
|
|
38
|
+
contentId: j(),
|
|
39
|
+
triggerRef: u,
|
|
40
|
+
open: h,
|
|
41
|
+
onOpenChange: d,
|
|
42
|
+
onOpenToggle: i.useCallback(() => d((R) => !R), [d]),
|
|
43
|
+
hasCustomAnchor: l,
|
|
44
|
+
onCustomAnchorAdd: i.useCallback(() => g(!0), []),
|
|
45
|
+
onCustomAnchorRemove: i.useCallback(() => g(!1), []),
|
|
46
|
+
modal: s,
|
|
47
|
+
children: t
|
|
48
|
+
}
|
|
49
|
+
) });
|
|
50
|
+
};
|
|
51
|
+
F.displayName = C;
|
|
52
|
+
var N = "PopoverAnchor", S = i.forwardRef(
|
|
53
|
+
(o, n) => {
|
|
54
|
+
const { __scopePopover: t, ...a } = o, e = f(N, t), r = m(t), { onCustomAnchorAdd: s, onCustomAnchorRemove: c } = e;
|
|
55
|
+
return i.useEffect(() => (s(), () => c()), [s, c]), /* @__PURE__ */ p(x, { ...r, ...a, ref: n });
|
|
519
56
|
}
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
57
|
+
);
|
|
58
|
+
S.displayName = N;
|
|
59
|
+
var y = "PopoverTrigger", D = i.forwardRef(
|
|
60
|
+
(o, n) => {
|
|
61
|
+
const { __scopePopover: t, ...a } = o, e = f(y, t), r = m(t), s = O(n, e.triggerRef), c = /* @__PURE__ */ p(
|
|
62
|
+
E.button,
|
|
63
|
+
{
|
|
64
|
+
type: "button",
|
|
65
|
+
"aria-haspopup": "dialog",
|
|
66
|
+
"aria-expanded": e.open,
|
|
67
|
+
"aria-controls": e.contentId,
|
|
68
|
+
"data-state": L(e.open),
|
|
69
|
+
...a,
|
|
70
|
+
ref: s,
|
|
71
|
+
onClick: P(o.onClick, e.onOpenToggle)
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
return e.hasCustomAnchor ? c : /* @__PURE__ */ p(x, { asChild: !0, ...r, children: c });
|
|
529
75
|
}
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
{
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
parser: W.parser
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
tag: "script",
|
|
547
|
-
attrs: (e) => e.type == "text/babel" || e.type == "text/jsx",
|
|
548
|
-
parser: J.parser
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
tag: "script",
|
|
552
|
-
attrs: (e) => e.type == "text/typescript-jsx",
|
|
553
|
-
parser: K.parser
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
tag: "script",
|
|
557
|
-
attrs(e) {
|
|
558
|
-
return /^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type);
|
|
559
|
-
},
|
|
560
|
-
parser: ue
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
tag: "script",
|
|
564
|
-
attrs(e) {
|
|
565
|
-
return !e.type || /^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type);
|
|
566
|
-
},
|
|
567
|
-
parser: $.parser
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
tag: "style",
|
|
571
|
-
attrs(e) {
|
|
572
|
-
return (!e.lang || e.lang == "css") && (!e.type || /^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type));
|
|
573
|
-
},
|
|
574
|
-
parser: _.parser
|
|
76
|
+
);
|
|
77
|
+
D.displayName = y;
|
|
78
|
+
var A = "PopoverPortal", [X, Y] = b(A, {
|
|
79
|
+
forceMount: void 0
|
|
80
|
+
}), M = (o) => {
|
|
81
|
+
const { __scopePopover: n, forceMount: t, children: a, container: e } = o, r = f(A, n);
|
|
82
|
+
return /* @__PURE__ */ p(X, { scope: n, forceMount: t, children: /* @__PURE__ */ p(w, { present: t || r.open, children: /* @__PURE__ */ p(Z, { asChild: !0, container: e, children: a }) }) });
|
|
83
|
+
};
|
|
84
|
+
M.displayName = A;
|
|
85
|
+
var v = "PopoverContent", k = i.forwardRef(
|
|
86
|
+
(o, n) => {
|
|
87
|
+
const t = Y(v, o.__scopePopover), { forceMount: a = t.forceMount, ...e } = o, r = f(v, o.__scopePopover);
|
|
88
|
+
return /* @__PURE__ */ p(w, { present: a || r.open, children: r.modal ? /* @__PURE__ */ p(eo, { ...e, ref: n }) : /* @__PURE__ */ p(ro, { ...e, ref: n }) });
|
|
575
89
|
}
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
90
|
+
);
|
|
91
|
+
k.displayName = v;
|
|
92
|
+
var oo = q("PopoverContent.RemoveScroll"), eo = i.forwardRef(
|
|
93
|
+
(o, n) => {
|
|
94
|
+
const t = f(v, o.__scopePopover), a = i.useRef(null), e = O(n, a), r = i.useRef(!1);
|
|
95
|
+
return i.useEffect(() => {
|
|
96
|
+
const s = a.current;
|
|
97
|
+
if (s) return B(s);
|
|
98
|
+
}, []), /* @__PURE__ */ p(J, { as: oo, allowPinchZoom: !0, children: /* @__PURE__ */ p(
|
|
99
|
+
I,
|
|
100
|
+
{
|
|
101
|
+
...o,
|
|
102
|
+
ref: e,
|
|
103
|
+
trapFocus: t.open,
|
|
104
|
+
disableOutsidePointerEvents: !0,
|
|
105
|
+
onCloseAutoFocus: P(o.onCloseAutoFocus, (s) => {
|
|
106
|
+
var c;
|
|
107
|
+
s.preventDefault(), r.current || (c = t.triggerRef.current) == null || c.focus();
|
|
108
|
+
}),
|
|
109
|
+
onPointerDownOutside: P(
|
|
110
|
+
o.onPointerDownOutside,
|
|
111
|
+
(s) => {
|
|
112
|
+
const c = s.detail.originalEvent, u = c.button === 0 && c.ctrlKey === !0, l = c.button === 2 || u;
|
|
113
|
+
r.current = l;
|
|
114
|
+
},
|
|
115
|
+
{ checkForDefaultPrevented: !1 }
|
|
116
|
+
),
|
|
117
|
+
onFocusOutside: P(
|
|
118
|
+
o.onFocusOutside,
|
|
119
|
+
(s) => s.preventDefault(),
|
|
120
|
+
{ checkForDefaultPrevented: !1 }
|
|
121
|
+
)
|
|
122
|
+
}
|
|
123
|
+
) });
|
|
580
124
|
}
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
125
|
+
), ro = i.forwardRef(
|
|
126
|
+
(o, n) => {
|
|
127
|
+
const t = f(v, o.__scopePopover), a = i.useRef(!1), e = i.useRef(!1);
|
|
128
|
+
return /* @__PURE__ */ p(
|
|
129
|
+
I,
|
|
130
|
+
{
|
|
131
|
+
...o,
|
|
132
|
+
ref: n,
|
|
133
|
+
trapFocus: !1,
|
|
134
|
+
disableOutsidePointerEvents: !1,
|
|
135
|
+
onCloseAutoFocus: (r) => {
|
|
136
|
+
var s, c;
|
|
137
|
+
(s = o.onCloseAutoFocus) == null || s.call(o, r), r.defaultPrevented || (a.current || (c = t.triggerRef.current) == null || c.focus(), r.preventDefault()), a.current = !1, e.current = !1;
|
|
592
138
|
},
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
let t = a.lastChild;
|
|
599
|
-
if (!t || t.name != "Element" || t.to != a.to)
|
|
600
|
-
break;
|
|
601
|
-
n = a = t;
|
|
602
|
-
}
|
|
603
|
-
return n && !((r = n.lastChild) && (r.name == "CloseTag" || r.name == "SelfClosingTag")) ? e.lineIndent(n.from) + e.unit : null;
|
|
604
|
-
}
|
|
605
|
-
}),
|
|
606
|
-
/* @__PURE__ */ le.add({
|
|
607
|
-
Element(e) {
|
|
608
|
-
let n = e.firstChild, r = e.lastChild;
|
|
609
|
-
return !n || n.name != "OpenTag" ? null : { from: n.to, to: r.name == "CloseTag" ? r.from : e.to };
|
|
139
|
+
onInteractOutside: (r) => {
|
|
140
|
+
var u, l;
|
|
141
|
+
(u = o.onInteractOutside) == null || u.call(o, r), r.defaultPrevented || (a.current = !0, r.detail.originalEvent.type === "pointerdown" && (e.current = !0));
|
|
142
|
+
const s = r.target;
|
|
143
|
+
((l = t.triggerRef.current) == null ? void 0 : l.contains(s)) && r.preventDefault(), r.detail.originalEvent.type === "focusin" && e.current && r.preventDefault();
|
|
610
144
|
}
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
"OpenTag CloseTag": (e) => e.getChild("TagName")
|
|
614
|
-
})
|
|
615
|
-
]
|
|
616
|
-
}),
|
|
617
|
-
languageData: {
|
|
618
|
-
commentTokens: { block: { open: "<!--", close: "-->" } },
|
|
619
|
-
indentOnInput: /^\s*<\/\w+\W$/,
|
|
620
|
-
wordChars: "-_"
|
|
145
|
+
}
|
|
146
|
+
);
|
|
621
147
|
}
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
148
|
+
), I = i.forwardRef(
|
|
149
|
+
(o, n) => {
|
|
150
|
+
const {
|
|
151
|
+
__scopePopover: t,
|
|
152
|
+
trapFocus: a,
|
|
153
|
+
onOpenAutoFocus: e,
|
|
154
|
+
onCloseAutoFocus: r,
|
|
155
|
+
disableOutsidePointerEvents: s,
|
|
156
|
+
onEscapeKeyDown: c,
|
|
157
|
+
onPointerDownOutside: u,
|
|
158
|
+
onFocusOutside: l,
|
|
159
|
+
onInteractOutside: g,
|
|
160
|
+
...h
|
|
161
|
+
} = o, d = f(v, t), R = m(t);
|
|
162
|
+
return K(), /* @__PURE__ */ p(
|
|
163
|
+
$,
|
|
164
|
+
{
|
|
165
|
+
asChild: !0,
|
|
166
|
+
loop: !0,
|
|
167
|
+
trapped: a,
|
|
168
|
+
onMountAutoFocus: e,
|
|
169
|
+
onUnmountAutoFocus: r,
|
|
170
|
+
children: /* @__PURE__ */ p(
|
|
171
|
+
H,
|
|
172
|
+
{
|
|
173
|
+
asChild: !0,
|
|
174
|
+
disableOutsidePointerEvents: s,
|
|
175
|
+
onInteractOutside: g,
|
|
176
|
+
onEscapeKeyDown: c,
|
|
177
|
+
onPointerDownOutside: u,
|
|
178
|
+
onFocusOutside: l,
|
|
179
|
+
onDismiss: () => d.onOpenChange(!1),
|
|
180
|
+
children: /* @__PURE__ */ p(
|
|
181
|
+
V,
|
|
182
|
+
{
|
|
183
|
+
"data-state": L(d.open),
|
|
184
|
+
role: "dialog",
|
|
185
|
+
id: d.contentId,
|
|
186
|
+
...R,
|
|
187
|
+
...h,
|
|
188
|
+
ref: n,
|
|
189
|
+
style: {
|
|
190
|
+
...h.style,
|
|
191
|
+
"--radix-popover-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
192
|
+
"--radix-popover-content-available-width": "var(--radix-popper-available-width)",
|
|
193
|
+
"--radix-popover-content-available-height": "var(--radix-popper-available-height)",
|
|
194
|
+
"--radix-popover-trigger-width": "var(--radix-popper-anchor-width)",
|
|
195
|
+
"--radix-popover-trigger-height": "var(--radix-popper-anchor-height)"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
)
|
|
199
|
+
}
|
|
200
|
+
)
|
|
647
201
|
}
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
202
|
+
);
|
|
203
|
+
}
|
|
204
|
+
), T = "PopoverClose", to = i.forwardRef(
|
|
205
|
+
(o, n) => {
|
|
206
|
+
const { __scopePopover: t, ...a } = o, e = f(T, t);
|
|
207
|
+
return /* @__PURE__ */ p(
|
|
208
|
+
E.button,
|
|
209
|
+
{
|
|
210
|
+
type: "button",
|
|
211
|
+
...a,
|
|
212
|
+
ref: n,
|
|
213
|
+
onClick: P(o.onClick, () => e.onOpenChange(!1))
|
|
656
214
|
}
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
215
|
+
);
|
|
216
|
+
}
|
|
217
|
+
);
|
|
218
|
+
to.displayName = T;
|
|
219
|
+
var no = "PopoverArrow", ao = i.forwardRef(
|
|
220
|
+
(o, n) => {
|
|
221
|
+
const { __scopePopover: t, ...a } = o, e = m(t);
|
|
222
|
+
return /* @__PURE__ */ p(W, { ...e, ...a, ref: n });
|
|
223
|
+
}
|
|
224
|
+
);
|
|
225
|
+
ao.displayName = no;
|
|
226
|
+
function L(o) {
|
|
227
|
+
return o ? "open" : "closed";
|
|
228
|
+
}
|
|
229
|
+
var _o = F, xo = S, wo = D, Eo = M, bo = k;
|
|
668
230
|
export {
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
231
|
+
xo as Anchor,
|
|
232
|
+
bo as Content,
|
|
233
|
+
F as Popover,
|
|
234
|
+
S as PopoverAnchor,
|
|
235
|
+
ao as PopoverArrow,
|
|
236
|
+
to as PopoverClose,
|
|
237
|
+
k as PopoverContent,
|
|
238
|
+
M as PopoverPortal,
|
|
239
|
+
D as PopoverTrigger,
|
|
240
|
+
Eo as Portal,
|
|
241
|
+
_o as Root,
|
|
242
|
+
wo as Trigger
|
|
674
243
|
};
|