@rockshin/tao-ui 0.0.44 → 0.0.45
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/README.md +6 -0
- package/component-manifest.json +7 -2
- package/dist/components/auto-complete/auto-complete.js +12 -3
- package/dist/components/breadcrumb/breadcrumb.css +4 -0
- package/dist/components/breadcrumb/breadcrumb.js +1 -0
- package/dist/components/calendar/calendar.d.ts +1 -0
- package/dist/components/calendar/calendar.js +10 -3
- package/dist/components/card/card-tabs.js +204 -182
- package/dist/components/card/card.js +1 -1
- package/dist/components/carousel/carousel.js +11 -5
- package/dist/components/cascader/cascader.js +16 -4
- package/dist/components/collapse/collapse.css +8 -0
- package/dist/components/context-menu/context-menu.d.ts +2 -1
- package/dist/components/context-menu/context-menu.js +57 -44
- package/dist/components/date-picker/calendar/calendar-grid.js +3 -2
- package/dist/components/date-picker/date-picker.css +4 -0
- package/dist/components/date-picker/date-picker.d.ts +1 -0
- package/dist/components/date-picker/date-picker.js +13 -3
- package/dist/components/date-picker/range-picker.d.ts +1 -0
- package/dist/components/date-picker/range-picker.js +13 -3
- package/dist/components/drawer/drawer.d.ts +2 -1
- package/dist/components/drawer/drawer.js +32 -20
- package/dist/components/dropdown/dropdown.d.ts +1 -0
- package/dist/components/dropdown/dropdown.js +139 -123
- package/dist/components/mentions/mentions.js +6 -2
- package/dist/components/modal/modal.d.ts +2 -1
- package/dist/components/modal/modal.js +14 -4
- package/dist/components/pagination/pagination.css +4 -0
- package/dist/components/popover/popover.d.ts +2 -1
- package/dist/components/popover/popover.js +185 -176
- package/dist/components/rate/rate.js +114 -88
- package/dist/components/scroll-area/scroll-area.js +127 -118
- package/dist/components/segmented/segmented.js +52 -29
- package/dist/components/select/mobile-select.d.ts +2 -1
- package/dist/components/select/mobile-select.js +52 -47
- package/dist/components/select/select-types.d.ts +1 -0
- package/dist/components/select/select.js +19 -6
- package/dist/components/slider/slider.js +136 -133
- package/dist/components/splitter/splitter.css +4 -0
- package/dist/components/splitter/splitter.js +5 -3
- package/dist/components/table/table.css +29 -11
- package/dist/components/table/table.js +383 -547
- package/dist/components/tabs/tabs.js +3 -2
- package/dist/components/time-picker/time-picker.js +21 -7
- package/dist/components/tooltip/tooltip.d.ts +2 -1
- package/dist/components/tooltip/tooltip.js +82 -71
- package/dist/components/transfer/transfer-parts.js +12 -2
- package/dist/components/transfer/transfer.js +10 -4
- package/dist/components/tree/tree-keyboard.d.ts +6 -0
- package/dist/components/tree/tree-keyboard.js +27 -0
- package/dist/components/tree/tree.js +14 -3
- package/dist/components/tree-select/select-engine.d.ts +2 -1
- package/dist/components/tree-select/select-engine.js +23 -15
- package/dist/components/tree-select/tree-select.js +20 -10
- package/dist/docs/components/tao-provider.doc.js +6 -1
- package/dist/entries/provider.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/provider/tao-provider.d.ts +10 -3
- package/dist/provider/tao-provider.js +198 -88
- package/dist/utils/scroll-left.d.ts +3 -0
- package/dist/utils/scroll-left.js +7 -0
- package/llms.txt +2 -2
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { c } from "react-compiler-runtime";
|
|
3
3
|
import * as __rspack_external__radix_ui_react_popover_c8444160 from "@radix-ui/react-popover";
|
|
4
4
|
import { useEffect, useId, useRef } from "react";
|
|
5
|
-
import { TaoPortalScope } from "../../provider/tao-provider.js";
|
|
5
|
+
import { TaoPortalScope, useTaoDirection } from "../../provider/tao-provider.js";
|
|
6
6
|
import { asTriggerChild, useControlledOpen } from "../../utils/overlay.js";
|
|
7
7
|
import { cx } from "../../utils/semantic.js";
|
|
8
8
|
import "./popover.css";
|
|
@@ -63,13 +63,14 @@ function isRenderable(node) {
|
|
|
63
63
|
return null != node && false !== node && '' !== node;
|
|
64
64
|
}
|
|
65
65
|
function Popover(t0) {
|
|
66
|
-
const $ = c(
|
|
67
|
-
const { title, content, trigger: t1, placement: t2, open, defaultOpen, onOpenChange, mouseEnterDelay: t3, mouseLeaveDelay: t4, arrow: t5, destroyOnHidden, destroyTooltipOnHide, className, style, classNames, styles, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy } = t0;
|
|
66
|
+
const $ = c(95);
|
|
67
|
+
const { direction: directionProp, title, content, trigger: t1, placement: t2, open, defaultOpen, onOpenChange, mouseEnterDelay: t3, mouseLeaveDelay: t4, arrow: t5, destroyOnHidden, destroyTooltipOnHide, className, style, classNames, styles, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy } = t0;
|
|
68
68
|
const trigger = void 0 === t1 ? "hover" : t1;
|
|
69
69
|
const placement = void 0 === t2 ? "top" : t2;
|
|
70
70
|
const mouseEnterDelay = void 0 === t3 ? 0.1 : t3;
|
|
71
71
|
const mouseLeaveDelay = void 0 === t4 ? 0.1 : t4;
|
|
72
72
|
const arrow = void 0 === t5 ? true : t5;
|
|
73
|
+
const [direction, directionRef] = useTaoDirection(directionProp, "self");
|
|
73
74
|
const titleId = useId();
|
|
74
75
|
let t6;
|
|
75
76
|
if ($[0] !== trigger) {
|
|
@@ -107,56 +108,58 @@ function Popover(t0) {
|
|
|
107
108
|
const popupRef = useRef(null);
|
|
108
109
|
const triggerRef = useRef(null);
|
|
109
110
|
let t8;
|
|
110
|
-
if ($[4]
|
|
111
|
+
if ($[4] !== directionRef) {
|
|
111
112
|
t8 = (node)=>{
|
|
112
113
|
triggerRef.current = node;
|
|
114
|
+
directionRef(node);
|
|
113
115
|
};
|
|
114
|
-
$[4] =
|
|
115
|
-
|
|
116
|
+
$[4] = directionRef;
|
|
117
|
+
$[5] = t8;
|
|
118
|
+
} else t8 = $[5];
|
|
116
119
|
const setTriggerRef = t8;
|
|
117
120
|
let t9;
|
|
118
|
-
if ($[
|
|
121
|
+
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
119
122
|
t9 = (target)=>target instanceof Node && (triggerRef.current?.contains(target) || popupRef.current?.contains(target));
|
|
120
|
-
$[
|
|
121
|
-
} else t9 = $[
|
|
123
|
+
$[6] = t9;
|
|
124
|
+
} else t9 = $[6];
|
|
122
125
|
const containsFocusTarget = t9;
|
|
123
126
|
let t10;
|
|
124
|
-
if ($[
|
|
127
|
+
if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
|
|
125
128
|
t10 = ()=>{
|
|
126
129
|
clearTimeout(openTimer.current);
|
|
127
130
|
clearTimeout(closeTimer.current);
|
|
128
131
|
};
|
|
129
|
-
$[
|
|
130
|
-
} else t10 = $[
|
|
132
|
+
$[7] = t10;
|
|
133
|
+
} else t10 = $[7];
|
|
131
134
|
const cancelTimers = t10;
|
|
132
135
|
let t11;
|
|
133
136
|
let t12;
|
|
134
|
-
if ($[
|
|
137
|
+
if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
135
138
|
t11 = ()=>cancelTimers;
|
|
136
139
|
t12 = [
|
|
137
140
|
cancelTimers
|
|
138
141
|
];
|
|
139
|
-
$[
|
|
140
|
-
$[
|
|
142
|
+
$[8] = t11;
|
|
143
|
+
$[9] = t12;
|
|
141
144
|
} else {
|
|
142
|
-
t11 = $[
|
|
143
|
-
t12 = $[
|
|
145
|
+
t11 = $[8];
|
|
146
|
+
t12 = $[9];
|
|
144
147
|
}
|
|
145
148
|
useEffect(t11, t12);
|
|
146
149
|
let t13;
|
|
147
|
-
if ($[
|
|
150
|
+
if ($[10] !== mouseEnterDelay || $[11] !== setOpen) {
|
|
148
151
|
t13 = ()=>{
|
|
149
152
|
cancelTimers();
|
|
150
153
|
if (mouseEnterDelay <= 0) return void setOpen(true);
|
|
151
154
|
openTimer.current = setTimeout(()=>setOpen(true), 1000 * mouseEnterDelay);
|
|
152
155
|
};
|
|
153
|
-
$[
|
|
154
|
-
$[
|
|
155
|
-
$[
|
|
156
|
-
} else t13 = $[
|
|
156
|
+
$[10] = mouseEnterDelay;
|
|
157
|
+
$[11] = setOpen;
|
|
158
|
+
$[12] = t13;
|
|
159
|
+
} else t13 = $[12];
|
|
157
160
|
const scheduleOpen = t13;
|
|
158
161
|
let t14;
|
|
159
|
-
if ($[
|
|
162
|
+
if ($[13] !== focusMode || $[14] !== mouseLeaveDelay || $[15] !== setOpen) {
|
|
160
163
|
t14 = ()=>{
|
|
161
164
|
cancelTimers();
|
|
162
165
|
const close = ()=>{
|
|
@@ -165,103 +168,104 @@ function Popover(t0) {
|
|
|
165
168
|
if (mouseLeaveDelay <= 0) return void close();
|
|
166
169
|
closeTimer.current = setTimeout(close, 1000 * mouseLeaveDelay);
|
|
167
170
|
};
|
|
168
|
-
$[
|
|
169
|
-
$[
|
|
170
|
-
$[
|
|
171
|
-
$[
|
|
172
|
-
} else t14 = $[
|
|
171
|
+
$[13] = focusMode;
|
|
172
|
+
$[14] = mouseLeaveDelay;
|
|
173
|
+
$[15] = setOpen;
|
|
174
|
+
$[16] = t14;
|
|
175
|
+
} else t14 = $[16];
|
|
173
176
|
const scheduleClose = t14;
|
|
174
177
|
let t15;
|
|
175
|
-
if ($[
|
|
178
|
+
if ($[17] !== setOpen) {
|
|
176
179
|
t15 = (event)=>{
|
|
177
180
|
if (!containsFocusTarget(event.relatedTarget)) {
|
|
178
181
|
cancelTimers();
|
|
179
182
|
setOpen(false);
|
|
180
183
|
}
|
|
181
184
|
};
|
|
182
|
-
$[
|
|
183
|
-
$[
|
|
184
|
-
} else t15 = $[
|
|
185
|
+
$[17] = setOpen;
|
|
186
|
+
$[18] = t15;
|
|
187
|
+
} else t15 = $[18];
|
|
185
188
|
const handleBlur = t15;
|
|
186
189
|
if (!hasPopup) {
|
|
187
190
|
let t16;
|
|
188
|
-
if ($[
|
|
191
|
+
if ($[19] !== children) {
|
|
189
192
|
t16 = /*#__PURE__*/ jsx(Fragment, {
|
|
190
193
|
children: children
|
|
191
194
|
});
|
|
192
|
-
$[
|
|
193
|
-
$[
|
|
194
|
-
} else t16 = $[
|
|
195
|
+
$[19] = children;
|
|
196
|
+
$[20] = t16;
|
|
197
|
+
} else t16 = $[20];
|
|
195
198
|
return t16;
|
|
196
199
|
}
|
|
197
200
|
let t16;
|
|
198
|
-
if ($[
|
|
201
|
+
if ($[21] !== hoverMode || $[22] !== scheduleClose || $[23] !== scheduleOpen) {
|
|
199
202
|
t16 = hoverMode ? {
|
|
200
203
|
onPointerEnter: scheduleOpen,
|
|
201
204
|
onPointerLeave: scheduleClose
|
|
202
205
|
} : void 0;
|
|
203
|
-
$[
|
|
204
|
-
$[
|
|
205
|
-
$[
|
|
206
|
-
$[
|
|
207
|
-
} else t16 = $[
|
|
206
|
+
$[21] = hoverMode;
|
|
207
|
+
$[22] = scheduleClose;
|
|
208
|
+
$[23] = scheduleOpen;
|
|
209
|
+
$[24] = t16;
|
|
210
|
+
} else t16 = $[24];
|
|
208
211
|
const hoverProps = t16;
|
|
209
212
|
let t17;
|
|
210
|
-
if ($[
|
|
213
|
+
if ($[25] !== focusMode || $[26] !== setOpen) {
|
|
211
214
|
t17 = focusMode ? ()=>{
|
|
212
215
|
cancelTimers();
|
|
213
216
|
setOpen(true);
|
|
214
217
|
} : void 0;
|
|
215
|
-
$[
|
|
216
|
-
$[
|
|
217
|
-
$[
|
|
218
|
-
} else t17 = $[
|
|
218
|
+
$[25] = focusMode;
|
|
219
|
+
$[26] = setOpen;
|
|
220
|
+
$[27] = t17;
|
|
221
|
+
} else t17 = $[27];
|
|
219
222
|
const t18 = focusMode ? handleBlur : void 0;
|
|
220
223
|
let t19;
|
|
221
|
-
if ($[
|
|
224
|
+
if ($[28] !== contextMenuMode || $[29] !== setOpen) {
|
|
222
225
|
t19 = contextMenuMode ? (event_0)=>{
|
|
223
226
|
event_0.preventDefault();
|
|
224
227
|
setOpen(true);
|
|
225
228
|
} : void 0;
|
|
226
|
-
$[
|
|
227
|
-
$[
|
|
228
|
-
$[
|
|
229
|
-
} else t19 = $[
|
|
229
|
+
$[28] = contextMenuMode;
|
|
230
|
+
$[29] = setOpen;
|
|
231
|
+
$[30] = t19;
|
|
232
|
+
} else t19 = $[30];
|
|
230
233
|
let t20;
|
|
231
|
-
if ($[
|
|
234
|
+
if ($[31] !== hoverProps || $[32] !== t17 || $[33] !== t18 || $[34] !== t19) {
|
|
232
235
|
t20 = {
|
|
233
236
|
...hoverProps,
|
|
234
237
|
onFocus: t17,
|
|
235
238
|
onBlur: t18,
|
|
236
239
|
onContextMenu: t19
|
|
237
240
|
};
|
|
238
|
-
$[
|
|
239
|
-
$[
|
|
240
|
-
$[
|
|
241
|
-
$[
|
|
242
|
-
$[
|
|
243
|
-
} else t20 = $[
|
|
241
|
+
$[31] = hoverProps;
|
|
242
|
+
$[32] = t17;
|
|
243
|
+
$[33] = t18;
|
|
244
|
+
$[34] = t19;
|
|
245
|
+
$[35] = t20;
|
|
246
|
+
} else t20 = $[35];
|
|
244
247
|
const triggerProps = t20;
|
|
245
248
|
const t21 = __rspack_external__radix_ui_react_popover_c8444160;
|
|
246
249
|
let t22;
|
|
247
|
-
if ($[
|
|
250
|
+
if ($[36] !== children) {
|
|
248
251
|
t22 = asTriggerChild(children);
|
|
249
|
-
$[
|
|
250
|
-
$[
|
|
251
|
-
} else t22 = $[
|
|
252
|
+
$[36] = children;
|
|
253
|
+
$[37] = t22;
|
|
254
|
+
} else t22 = $[37];
|
|
252
255
|
let t23;
|
|
253
|
-
if ($[
|
|
256
|
+
if ($[38] !== TriggerPrimitive || $[39] !== setTriggerRef || $[40] !== t22 || $[41] !== triggerProps) {
|
|
254
257
|
t23 = /*#__PURE__*/ jsx(TriggerPrimitive, {
|
|
255
258
|
asChild: true,
|
|
256
259
|
ref: setTriggerRef,
|
|
257
260
|
...triggerProps,
|
|
258
261
|
children: t22
|
|
259
262
|
});
|
|
260
|
-
$[
|
|
261
|
-
$[
|
|
262
|
-
$[
|
|
263
|
-
$[
|
|
264
|
-
|
|
263
|
+
$[38] = TriggerPrimitive;
|
|
264
|
+
$[39] = setTriggerRef;
|
|
265
|
+
$[40] = t22;
|
|
266
|
+
$[41] = triggerProps;
|
|
267
|
+
$[42] = t23;
|
|
268
|
+
} else t23 = $[42];
|
|
265
269
|
const t24 = __rspack_external__radix_ui_react_popover_c8444160;
|
|
266
270
|
const t25 = shouldDestroy ? void 0 : true;
|
|
267
271
|
const T0 = TaoPortalScope;
|
|
@@ -272,78 +276,79 @@ function Popover(t0) {
|
|
|
272
276
|
const t30 = !shouldDestroy || void 0;
|
|
273
277
|
const t31 = classNames?.root;
|
|
274
278
|
let t32;
|
|
275
|
-
if ($[
|
|
279
|
+
if ($[43] !== className || $[44] !== t31) {
|
|
276
280
|
t32 = cx(t31, className);
|
|
277
|
-
$[
|
|
278
|
-
$[
|
|
279
|
-
$[
|
|
280
|
-
} else t32 = $[
|
|
281
|
+
$[43] = className;
|
|
282
|
+
$[44] = t31;
|
|
283
|
+
$[45] = t32;
|
|
284
|
+
} else t32 = $[45];
|
|
281
285
|
const t33 = styles?.root;
|
|
282
286
|
let t34;
|
|
283
|
-
if ($[
|
|
287
|
+
if ($[46] !== style || $[47] !== t33) {
|
|
284
288
|
t34 = {
|
|
285
289
|
...t33,
|
|
286
290
|
...style
|
|
287
291
|
};
|
|
288
|
-
$[
|
|
289
|
-
$[
|
|
290
|
-
$[
|
|
291
|
-
} else t34 = $[
|
|
292
|
-
const t35 =
|
|
293
|
-
const t36 =
|
|
294
|
-
const t37 =
|
|
295
|
-
const t38 =
|
|
296
|
-
const t39 = focusMode ?
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
292
|
+
$[46] = style;
|
|
293
|
+
$[47] = t33;
|
|
294
|
+
$[48] = t34;
|
|
295
|
+
} else t34 = $[48];
|
|
296
|
+
const t35 = "rtl" === direction && ("top" === placementProps.side || "bottom" === placementProps.side) && "center" !== placementProps.align ? "start" === placementProps.align ? "end" : "start" : placementProps.align;
|
|
297
|
+
const t36 = 4;
|
|
298
|
+
const t37 = shouldDestroy ? void 0 : true;
|
|
299
|
+
const t38 = _temp;
|
|
300
|
+
const t39 = focusMode ? cancelTimers : void 0;
|
|
301
|
+
const t40 = focusMode ? handleBlur : void 0;
|
|
302
|
+
let t41;
|
|
303
|
+
if ($[49] !== focusMode) {
|
|
304
|
+
t41 = (event_2)=>{
|
|
300
305
|
if (focusMode && containsFocusTarget(event_2.target)) event_2.preventDefault();
|
|
301
306
|
};
|
|
302
|
-
$[
|
|
303
|
-
$[
|
|
304
|
-
} else
|
|
305
|
-
const
|
|
306
|
-
const
|
|
307
|
-
let
|
|
308
|
-
if ($[
|
|
309
|
-
|
|
310
|
-
$[
|
|
311
|
-
$[
|
|
312
|
-
} else
|
|
313
|
-
const
|
|
314
|
-
const
|
|
307
|
+
$[49] = focusMode;
|
|
308
|
+
$[50] = t41;
|
|
309
|
+
} else t41 = $[50];
|
|
310
|
+
const t42 = "";
|
|
311
|
+
const t43 = classNames?.container;
|
|
312
|
+
let t44;
|
|
313
|
+
if ($[51] !== t43) {
|
|
314
|
+
t44 = cx(t43);
|
|
315
|
+
$[51] = t43;
|
|
316
|
+
$[52] = t44;
|
|
317
|
+
} else t44 = $[52];
|
|
318
|
+
const t45 = styles?.container;
|
|
319
|
+
const t46 = isRenderable(titleNode) && /*#__PURE__*/ jsx("div", {
|
|
315
320
|
"data-tao-popover-title": "",
|
|
316
321
|
id: titleId,
|
|
317
322
|
className: cx(classNames?.title),
|
|
318
323
|
style: styles?.title,
|
|
319
324
|
children: titleNode
|
|
320
325
|
});
|
|
321
|
-
const
|
|
326
|
+
const t47 = isRenderable(contentNode) && /*#__PURE__*/ jsx("div", {
|
|
322
327
|
"data-tao-popover-content": "",
|
|
323
328
|
className: cx(classNames?.content),
|
|
324
329
|
style: styles?.content,
|
|
325
330
|
children: contentNode
|
|
326
331
|
});
|
|
327
|
-
let
|
|
328
|
-
if ($[
|
|
329
|
-
|
|
330
|
-
"data-tao-popover-container":
|
|
331
|
-
className:
|
|
332
|
-
style:
|
|
332
|
+
let t48;
|
|
333
|
+
if ($[53] !== t44 || $[54] !== t45 || $[55] !== t46 || $[56] !== t47) {
|
|
334
|
+
t48 = /*#__PURE__*/ jsxs("div", {
|
|
335
|
+
"data-tao-popover-container": t42,
|
|
336
|
+
className: t44,
|
|
337
|
+
style: t45,
|
|
333
338
|
children: [
|
|
334
|
-
|
|
335
|
-
|
|
339
|
+
t46,
|
|
340
|
+
t47
|
|
336
341
|
]
|
|
337
342
|
});
|
|
338
|
-
$[
|
|
339
|
-
$[
|
|
340
|
-
$[
|
|
341
|
-
$[
|
|
342
|
-
$[
|
|
343
|
-
} else
|
|
344
|
-
let
|
|
345
|
-
if ($[
|
|
346
|
-
|
|
343
|
+
$[53] = t44;
|
|
344
|
+
$[54] = t45;
|
|
345
|
+
$[55] = t46;
|
|
346
|
+
$[56] = t47;
|
|
347
|
+
$[57] = t48;
|
|
348
|
+
} else t48 = $[57];
|
|
349
|
+
let t49;
|
|
350
|
+
if ($[58] !== arrow || $[59] !== classNames?.arrow || $[60] !== styles?.arrow) {
|
|
351
|
+
t49 = false !== arrow && /*#__PURE__*/ jsx(__rspack_external__radix_ui_react_popover_c8444160.Arrow, {
|
|
347
352
|
asChild: true,
|
|
348
353
|
children: /*#__PURE__*/ jsx("span", {
|
|
349
354
|
"data-tao-popover-arrow": "",
|
|
@@ -351,14 +356,14 @@ function Popover(t0) {
|
|
|
351
356
|
style: styles?.arrow
|
|
352
357
|
})
|
|
353
358
|
});
|
|
354
|
-
$[
|
|
355
|
-
$[
|
|
356
|
-
$[
|
|
357
|
-
$[
|
|
358
|
-
} else
|
|
359
|
-
let
|
|
360
|
-
if ($[
|
|
361
|
-
|
|
359
|
+
$[58] = arrow;
|
|
360
|
+
$[59] = classNames?.arrow;
|
|
361
|
+
$[60] = styles?.arrow;
|
|
362
|
+
$[61] = t49;
|
|
363
|
+
} else t49 = $[61];
|
|
364
|
+
let t50;
|
|
365
|
+
if ($[62] !== ariaDescribedBy || $[63] !== ariaLabel || $[64] !== hoverProps || $[65] !== placement || $[66] !== placementProps || $[67] !== t27.Content || $[68] !== t28 || $[69] !== t30 || $[70] !== t32 || $[71] !== t34 || $[72] !== t35 || $[73] !== t37 || $[74] !== t38 || $[75] !== t39 || $[76] !== t40 || $[77] !== t41 || $[78] !== t48 || $[79] !== t49) {
|
|
366
|
+
t50 = /*#__PURE__*/ jsxs(t27.Content, {
|
|
362
367
|
ref: popupRef,
|
|
363
368
|
"aria-label": ariaLabel,
|
|
364
369
|
"aria-labelledby": t28,
|
|
@@ -369,76 +374,80 @@ function Popover(t0) {
|
|
|
369
374
|
className: t32,
|
|
370
375
|
style: t34,
|
|
371
376
|
...placementProps,
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
377
|
+
align: t35,
|
|
378
|
+
sideOffset: t36,
|
|
379
|
+
forceMount: t37,
|
|
380
|
+
onOpenAutoFocus: t38,
|
|
381
|
+
onFocusCapture: t39,
|
|
382
|
+
onBlurCapture: t40,
|
|
383
|
+
onFocusOutside: t41,
|
|
378
384
|
...hoverProps,
|
|
379
385
|
children: [
|
|
380
|
-
|
|
381
|
-
|
|
386
|
+
t48,
|
|
387
|
+
t49
|
|
382
388
|
]
|
|
383
389
|
});
|
|
384
|
-
$[
|
|
385
|
-
$[
|
|
386
|
-
$[
|
|
387
|
-
$[
|
|
388
|
-
$[
|
|
389
|
-
$[
|
|
390
|
-
$[
|
|
391
|
-
$[
|
|
392
|
-
$[
|
|
393
|
-
$[
|
|
394
|
-
$[
|
|
395
|
-
$[
|
|
396
|
-
$[
|
|
397
|
-
$[
|
|
398
|
-
$[
|
|
399
|
-
$[
|
|
400
|
-
$[
|
|
401
|
-
$[77] = t49;
|
|
402
|
-
} else t49 = $[77];
|
|
403
|
-
let t50;
|
|
404
|
-
if ($[78] !== T0 || $[79] !== t49) {
|
|
405
|
-
t50 = /*#__PURE__*/ jsx(T0, {
|
|
406
|
-
asChild: t26,
|
|
407
|
-
children: t49
|
|
408
|
-
});
|
|
409
|
-
$[78] = T0;
|
|
390
|
+
$[62] = ariaDescribedBy;
|
|
391
|
+
$[63] = ariaLabel;
|
|
392
|
+
$[64] = hoverProps;
|
|
393
|
+
$[65] = placement;
|
|
394
|
+
$[66] = placementProps;
|
|
395
|
+
$[67] = t27.Content;
|
|
396
|
+
$[68] = t28;
|
|
397
|
+
$[69] = t30;
|
|
398
|
+
$[70] = t32;
|
|
399
|
+
$[71] = t34;
|
|
400
|
+
$[72] = t35;
|
|
401
|
+
$[73] = t37;
|
|
402
|
+
$[74] = t38;
|
|
403
|
+
$[75] = t39;
|
|
404
|
+
$[76] = t40;
|
|
405
|
+
$[77] = t41;
|
|
406
|
+
$[78] = t48;
|
|
410
407
|
$[79] = t49;
|
|
411
408
|
$[80] = t50;
|
|
412
409
|
} else t50 = $[80];
|
|
413
410
|
let t51;
|
|
414
|
-
if ($[81] !==
|
|
415
|
-
t51 = /*#__PURE__*/ jsx(
|
|
416
|
-
|
|
411
|
+
if ($[81] !== T0 || $[82] !== direction || $[83] !== t50) {
|
|
412
|
+
t51 = /*#__PURE__*/ jsx(T0, {
|
|
413
|
+
asChild: t26,
|
|
414
|
+
direction: direction,
|
|
417
415
|
children: t50
|
|
418
416
|
});
|
|
419
|
-
$[81] =
|
|
420
|
-
$[82] =
|
|
417
|
+
$[81] = T0;
|
|
418
|
+
$[82] = direction;
|
|
421
419
|
$[83] = t50;
|
|
422
420
|
$[84] = t51;
|
|
423
421
|
} else t51 = $[84];
|
|
424
422
|
let t52;
|
|
425
|
-
if ($[85] !==
|
|
426
|
-
t52 = /*#__PURE__*/
|
|
423
|
+
if ($[85] !== t24.Portal || $[86] !== t25 || $[87] !== t51) {
|
|
424
|
+
t52 = /*#__PURE__*/ jsx(t24.Portal, {
|
|
425
|
+
forceMount: t25,
|
|
426
|
+
children: t51
|
|
427
|
+
});
|
|
428
|
+
$[85] = t24.Portal;
|
|
429
|
+
$[86] = t25;
|
|
430
|
+
$[87] = t51;
|
|
431
|
+
$[88] = t52;
|
|
432
|
+
} else t52 = $[88];
|
|
433
|
+
let t53;
|
|
434
|
+
if ($[89] !== realOpen || $[90] !== setOpen || $[91] !== t21.Root || $[92] !== t23 || $[93] !== t52) {
|
|
435
|
+
t53 = /*#__PURE__*/ jsxs(t21.Root, {
|
|
427
436
|
open: realOpen,
|
|
428
437
|
onOpenChange: setOpen,
|
|
429
438
|
children: [
|
|
430
439
|
t23,
|
|
431
|
-
|
|
440
|
+
t52
|
|
432
441
|
]
|
|
433
442
|
});
|
|
434
|
-
$[
|
|
435
|
-
$[
|
|
436
|
-
$[
|
|
437
|
-
$[
|
|
438
|
-
$[
|
|
439
|
-
$[
|
|
440
|
-
} else
|
|
441
|
-
return
|
|
443
|
+
$[89] = realOpen;
|
|
444
|
+
$[90] = setOpen;
|
|
445
|
+
$[91] = t21.Root;
|
|
446
|
+
$[92] = t23;
|
|
447
|
+
$[93] = t52;
|
|
448
|
+
$[94] = t53;
|
|
449
|
+
} else t53 = $[94];
|
|
450
|
+
return t53;
|
|
442
451
|
}
|
|
443
452
|
function _temp(event_1) {
|
|
444
453
|
return event_1.preventDefault();
|