@typlog/ui 0.11.4 → 0.11.6
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.css +1 -1
- package/dist/components.d.ts +16 -14
- package/dist/components.js +274 -243
- package/package.json +1 -1
package/dist/components.css
CHANGED
package/dist/components.d.ts
CHANGED
|
@@ -428,7 +428,7 @@ indicator: "plus-minus" | "chevron";
|
|
|
428
428
|
export declare interface AccordionTriggerProps extends PrimitiveProps {
|
|
429
429
|
/**
|
|
430
430
|
* The indicator icon for the accordion trigger.
|
|
431
|
-
* @
|
|
431
|
+
* @default "chevron"
|
|
432
432
|
*/
|
|
433
433
|
indicator?: 'plus-minus' | 'chevron';
|
|
434
434
|
}
|
|
@@ -492,17 +492,17 @@ export declare interface AvatarProps {
|
|
|
492
492
|
fallback?: string;
|
|
493
493
|
/**
|
|
494
494
|
* Overrides the radius inherited from the theme.
|
|
495
|
-
* @
|
|
495
|
+
* @default "small"
|
|
496
496
|
*/
|
|
497
497
|
radius?: RadiusType;
|
|
498
498
|
/**
|
|
499
499
|
* The visual variant to apply.
|
|
500
|
-
* @
|
|
500
|
+
* @default "solid"
|
|
501
501
|
*/
|
|
502
502
|
variant?: 'solid' | 'soft' | 'ring';
|
|
503
503
|
/**
|
|
504
504
|
* Control the size of the avatar.
|
|
505
|
-
* @
|
|
505
|
+
* @default "2"
|
|
506
506
|
*/
|
|
507
507
|
size?: '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
|
|
508
508
|
/** Overrides the accent color inherited from the Theme. */
|
|
@@ -522,26 +522,26 @@ highContrast: boolean;
|
|
|
522
522
|
export declare interface BadgeProps {
|
|
523
523
|
/**
|
|
524
524
|
* The visual variant to apply.
|
|
525
|
-
* @
|
|
525
|
+
* @default "solid"
|
|
526
526
|
*/
|
|
527
527
|
variant?: 'solid' | 'soft' | 'surface' | 'outline';
|
|
528
528
|
/** Overrides the accent color inherited from the theme. */
|
|
529
529
|
color?: ColorType;
|
|
530
530
|
/**
|
|
531
531
|
* Overrides the radius inherited from the theme.
|
|
532
|
-
* @
|
|
532
|
+
* @default "small"
|
|
533
533
|
*/
|
|
534
534
|
radius?: RadiusType;
|
|
535
535
|
/**
|
|
536
536
|
* Control the size of the badge.
|
|
537
|
-
* @
|
|
537
|
+
* @default "1"
|
|
538
538
|
*/
|
|
539
539
|
size?: '1' | '2' | '3';
|
|
540
540
|
/** Uses a higher contrast color for the component. */
|
|
541
541
|
highContrast?: boolean;
|
|
542
542
|
/**
|
|
543
543
|
* The element or component this component should render as.
|
|
544
|
-
* @
|
|
544
|
+
* @default "span"
|
|
545
545
|
*/
|
|
546
546
|
as?: AsTag;
|
|
547
547
|
asChild?: boolean;
|
|
@@ -561,7 +561,7 @@ highContrast: boolean;
|
|
|
561
561
|
declare interface ButtonProps {
|
|
562
562
|
/**
|
|
563
563
|
* The visual variant to apply.
|
|
564
|
-
* @
|
|
564
|
+
* @default "solid"
|
|
565
565
|
*/
|
|
566
566
|
variant?: 'classic' | 'solid' | 'soft' | 'surface' | 'outline' | 'ghost';
|
|
567
567
|
/** Overrides the accent color inherited from the Theme. */
|
|
@@ -570,7 +570,7 @@ declare interface ButtonProps {
|
|
|
570
570
|
radius?: RadiusType;
|
|
571
571
|
/**
|
|
572
572
|
* Control the size of the button.
|
|
573
|
-
* @
|
|
573
|
+
* @default "2"
|
|
574
574
|
*/
|
|
575
575
|
size?: '1' | '2' | '3' | '4';
|
|
576
576
|
/** Uses a higher contrast color for the component. */
|
|
@@ -579,7 +579,7 @@ declare interface ButtonProps {
|
|
|
579
579
|
disabled?: boolean;
|
|
580
580
|
/**
|
|
581
581
|
* The element or component this component should render as.
|
|
582
|
-
* @
|
|
582
|
+
* @default "button"
|
|
583
583
|
*/
|
|
584
584
|
as?: AsTag | Component;
|
|
585
585
|
asChild?: boolean;
|
|
@@ -882,14 +882,14 @@ size: "1" | "2" | "3";
|
|
|
882
882
|
export declare interface EditableProps extends EditableRootProps {
|
|
883
883
|
/**
|
|
884
884
|
* Overrides the radius inherited from the theme.
|
|
885
|
-
* @
|
|
885
|
+
* @default "small"
|
|
886
886
|
*/
|
|
887
887
|
radius?: RadiusType;
|
|
888
888
|
/** Overrides the accent color inherited from the theme. */
|
|
889
889
|
color?: ColorType;
|
|
890
890
|
/**
|
|
891
891
|
* Control the size of the padding and radius.
|
|
892
|
-
* @
|
|
892
|
+
* @default "1"
|
|
893
893
|
*/
|
|
894
894
|
size?: '1' | '2' | '3';
|
|
895
895
|
}
|
|
@@ -1186,7 +1186,7 @@ export declare interface SocialButtonProps extends PrimitiveProps {
|
|
|
1186
1186
|
radius?: RadiusType;
|
|
1187
1187
|
/**
|
|
1188
1188
|
* Control the size of the social button.
|
|
1189
|
-
* @
|
|
1189
|
+
* @default "2"
|
|
1190
1190
|
*/
|
|
1191
1191
|
size?: '1' | '2' | '3' | '4';
|
|
1192
1192
|
disabled?: boolean;
|
|
@@ -1308,6 +1308,7 @@ accentColor: ColorType;
|
|
|
1308
1308
|
radius: RadiusType;
|
|
1309
1309
|
grayColor: GrayColorType;
|
|
1310
1310
|
scaling: ScalingType;
|
|
1311
|
+
hasBackground: boolean;
|
|
1311
1312
|
as: AsTag | Component;
|
|
1312
1313
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1313
1314
|
default?(_: {}): any;
|
|
@@ -1318,6 +1319,7 @@ export declare interface ThemeProviderProps extends PrimitiveProps {
|
|
|
1318
1319
|
radius?: RadiusType;
|
|
1319
1320
|
grayColor?: GrayColorType;
|
|
1320
1321
|
scaling?: ScalingType;
|
|
1322
|
+
hasBackground?: boolean;
|
|
1321
1323
|
}
|
|
1322
1324
|
|
|
1323
1325
|
export declare const Toggle: __VLS_WithTemplateSlots_16<DefineComponent<ToggleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
package/dist/components.js
CHANGED
|
@@ -4,35 +4,37 @@ import { AlertDialogAction, AlertDialogCancel, AlertDialogDescription, AlertDial
|
|
|
4
4
|
import { Icon } from "@iconify/vue";
|
|
5
5
|
import { Icon as Icon2 } from "@iconify/vue";
|
|
6
6
|
const [injectThemeContext, provideThemeContext] = createContext("ThemeProvider");
|
|
7
|
-
const _sfc_main$
|
|
7
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "ThemeProvider",
|
|
9
9
|
props: {
|
|
10
10
|
accentColor: { default: "indigo" },
|
|
11
11
|
radius: { default: "medium" },
|
|
12
12
|
grayColor: { default: "auto" },
|
|
13
13
|
scaling: { default: "100%" },
|
|
14
|
+
hasBackground: { type: Boolean, default: true },
|
|
14
15
|
asChild: { type: Boolean },
|
|
15
16
|
as: { default: "div" }
|
|
16
17
|
},
|
|
17
18
|
setup(__props) {
|
|
18
19
|
const props = __props;
|
|
19
|
-
const { accentColor, radius, grayColor, scaling } = toRefs(props);
|
|
20
|
+
const { accentColor, radius, grayColor, scaling, hasBackground } = toRefs(props);
|
|
20
21
|
provideThemeContext({
|
|
21
22
|
accentColor,
|
|
22
23
|
radius,
|
|
23
24
|
grayColor,
|
|
24
|
-
scaling
|
|
25
|
+
scaling,
|
|
26
|
+
hasBackground
|
|
25
27
|
});
|
|
26
28
|
return (_ctx, _cache) => {
|
|
27
29
|
return openBlock(), createBlock(unref(TooltipProvider), null, {
|
|
28
30
|
default: withCtx(() => [
|
|
29
31
|
createVNode(unref(Primitive), {
|
|
30
32
|
class: "ui-root",
|
|
31
|
-
"data-
|
|
32
|
-
"data-
|
|
33
|
-
"data-
|
|
34
|
-
"data-
|
|
35
|
-
"data-
|
|
33
|
+
"data-accent-color": unref(accentColor),
|
|
34
|
+
"data-gray-color": unref(grayColor),
|
|
35
|
+
"data-radius": unref(radius),
|
|
36
|
+
"data-scaling": unref(scaling),
|
|
37
|
+
"data-has-background": unref(hasBackground),
|
|
36
38
|
as: props.as,
|
|
37
39
|
"as-child": props.asChild
|
|
38
40
|
}, {
|
|
@@ -40,7 +42,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
40
42
|
renderSlot(_ctx.$slots, "default")
|
|
41
43
|
]),
|
|
42
44
|
_: 3
|
|
43
|
-
}, 8, ["data-accent-color", "data-gray-color", "data-radius", "data-scaling", "as", "as-child"])
|
|
45
|
+
}, 8, ["data-accent-color", "data-gray-color", "data-radius", "data-scaling", "data-has-background", "as", "as-child"])
|
|
44
46
|
]),
|
|
45
47
|
_: 3
|
|
46
48
|
});
|
|
@@ -104,7 +106,7 @@ function kebabize(str) {
|
|
|
104
106
|
function _kebabReplace(str, ofs) {
|
|
105
107
|
return (ofs ? "-" : "") + str.toLowerCase();
|
|
106
108
|
}
|
|
107
|
-
const _sfc_main$
|
|
109
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
108
110
|
__name: "Avatar",
|
|
109
111
|
props: {
|
|
110
112
|
alt: {},
|
|
@@ -156,7 +158,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
156
158
|
};
|
|
157
159
|
}
|
|
158
160
|
});
|
|
159
|
-
const _sfc_main$
|
|
161
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
160
162
|
__name: "Badge",
|
|
161
163
|
props: {
|
|
162
164
|
variant: { default: "soft" },
|
|
@@ -188,7 +190,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
188
190
|
};
|
|
189
191
|
}
|
|
190
192
|
});
|
|
191
|
-
const _sfc_main$
|
|
193
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
192
194
|
__name: "Inset",
|
|
193
195
|
props: {
|
|
194
196
|
side: { default: "all" },
|
|
@@ -212,7 +214,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
212
214
|
};
|
|
213
215
|
}
|
|
214
216
|
});
|
|
215
|
-
const _sfc_main$
|
|
217
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
216
218
|
__name: "Card",
|
|
217
219
|
props: {
|
|
218
220
|
variant: { default: "surface" },
|
|
@@ -241,7 +243,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
241
243
|
};
|
|
242
244
|
}
|
|
243
245
|
});
|
|
244
|
-
const _sfc_main$
|
|
246
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
245
247
|
__name: "CardHead",
|
|
246
248
|
props: {
|
|
247
249
|
color: {},
|
|
@@ -264,7 +266,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
264
266
|
};
|
|
265
267
|
}
|
|
266
268
|
});
|
|
267
|
-
const _sfc_main$
|
|
269
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
268
270
|
__name: "Button",
|
|
269
271
|
props: {
|
|
270
272
|
variant: { default: "solid" },
|
|
@@ -288,17 +290,18 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
288
290
|
as: props.as,
|
|
289
291
|
"data-accent-color": props.color,
|
|
290
292
|
"data-radius": props.radius,
|
|
291
|
-
"data-disabled": props.disabled ? true : void 0
|
|
293
|
+
"data-disabled": props.disabled ? true : void 0,
|
|
294
|
+
disabled: props.disabled && props.as === "button" ? true : void 0
|
|
292
295
|
}, {
|
|
293
296
|
default: withCtx(() => [
|
|
294
297
|
renderSlot(_ctx.$slots, "default")
|
|
295
298
|
]),
|
|
296
299
|
_: 3
|
|
297
|
-
}, 8, ["class", "as-child", "as", "data-accent-color", "data-radius", "data-disabled"]);
|
|
300
|
+
}, 8, ["class", "as-child", "as", "data-accent-color", "data-radius", "data-disabled", "disabled"]);
|
|
298
301
|
};
|
|
299
302
|
}
|
|
300
303
|
});
|
|
301
|
-
const _sfc_main$
|
|
304
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
302
305
|
__name: "IconButton",
|
|
303
306
|
props: {
|
|
304
307
|
variant: {},
|
|
@@ -314,7 +317,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
314
317
|
const props = __props;
|
|
315
318
|
const forwarded = useForwardProps(props);
|
|
316
319
|
return (_ctx, _cache) => {
|
|
317
|
-
return openBlock(), createBlock(_sfc_main$
|
|
320
|
+
return openBlock(), createBlock(_sfc_main$S, mergeProps({ class: "ui-IconButton" }, unref(forwarded)), {
|
|
318
321
|
default: withCtx(() => [
|
|
319
322
|
renderSlot(_ctx.$slots, "default")
|
|
320
323
|
]),
|
|
@@ -332,7 +335,7 @@ const BRAND_ICONS = {
|
|
|
332
335
|
slack: "logos:slack-icon",
|
|
333
336
|
figma: "logos:figma"
|
|
334
337
|
};
|
|
335
|
-
const _sfc_main$
|
|
338
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
336
339
|
__name: "SocialButton",
|
|
337
340
|
props: {
|
|
338
341
|
brand: {},
|
|
@@ -370,7 +373,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
370
373
|
};
|
|
371
374
|
}
|
|
372
375
|
});
|
|
373
|
-
const _sfc_main$
|
|
376
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
374
377
|
__name: "ScrollArea",
|
|
375
378
|
props: {
|
|
376
379
|
size: { default: "1" },
|
|
@@ -434,6 +437,32 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
434
437
|
};
|
|
435
438
|
}
|
|
436
439
|
});
|
|
440
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
441
|
+
__name: "ThemeWrapper",
|
|
442
|
+
props: {
|
|
443
|
+
accentColor: {},
|
|
444
|
+
radius: {}
|
|
445
|
+
},
|
|
446
|
+
setup(__props) {
|
|
447
|
+
const props = __props;
|
|
448
|
+
const theme = injectThemeContext();
|
|
449
|
+
return (_ctx, _cache) => {
|
|
450
|
+
return openBlock(), createBlock(unref(Primitive), {
|
|
451
|
+
class: "ui-root",
|
|
452
|
+
"data-accent-color": props.accentColor || unref(theme).accentColor.value,
|
|
453
|
+
"data-gray-color": unref(theme).grayColor.value,
|
|
454
|
+
"data-radius": props.radius || unref(theme).radius.value,
|
|
455
|
+
"data-scaling": unref(theme).scaling.value,
|
|
456
|
+
"as-child": ""
|
|
457
|
+
}, {
|
|
458
|
+
default: withCtx(() => [
|
|
459
|
+
renderSlot(_ctx.$slots, "default")
|
|
460
|
+
]),
|
|
461
|
+
_: 3
|
|
462
|
+
}, 8, ["data-accent-color", "data-gray-color", "data-radius", "data-scaling"]);
|
|
463
|
+
};
|
|
464
|
+
}
|
|
465
|
+
});
|
|
437
466
|
const _hoisted_1$j = { class: "ui-DialogWrapper" };
|
|
438
467
|
const _hoisted_2$7 = { class: "ui-DialogContainer" };
|
|
439
468
|
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
@@ -457,7 +486,6 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
457
486
|
},
|
|
458
487
|
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
459
488
|
setup(__props, { emit: __emit }) {
|
|
460
|
-
const theme = injectThemeContext();
|
|
461
489
|
const props = __props;
|
|
462
490
|
const emits = __emit;
|
|
463
491
|
const forwarded = useForwardPropsEmits(props, emits, [
|
|
@@ -477,41 +505,40 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
477
505
|
to: props.to
|
|
478
506
|
}, {
|
|
479
507
|
default: withCtx(() => [
|
|
480
|
-
createVNode(
|
|
481
|
-
class: "ui-root ui-DialogOverlay",
|
|
482
|
-
"data-accent-color": unref(theme).accentColor.value,
|
|
483
|
-
"data-gray-color": unref(theme).grayColor.value,
|
|
484
|
-
"data-radius": unref(theme).radius.value,
|
|
485
|
-
"data-scaling": unref(theme).scaling.value
|
|
486
|
-
}, {
|
|
508
|
+
createVNode(_sfc_main$O, null, {
|
|
487
509
|
default: withCtx(() => [
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
510
|
+
createVNode(unref(AlertDialogOverlay), { class: "ui-DialogOverlay" }, {
|
|
511
|
+
default: withCtx(() => [
|
|
512
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
513
|
+
createElementVNode("div", _hoisted_2$7, [
|
|
514
|
+
createVNode(unref(AlertDialogContent), mergeProps({
|
|
515
|
+
class: ["ui-DialogContent", `r-size-${props.size}`]
|
|
516
|
+
}, {
|
|
517
|
+
..._ctx.$attrs,
|
|
518
|
+
...unref(forwarded)
|
|
519
|
+
}, {
|
|
520
|
+
style: {
|
|
521
|
+
width: props.width,
|
|
522
|
+
height: props.height,
|
|
523
|
+
minWidth: props.minWidth,
|
|
524
|
+
maxWidth: props.maxWidth,
|
|
525
|
+
minHeight: props.minHeight,
|
|
526
|
+
maxHeight: props.maxHeight
|
|
527
|
+
}
|
|
528
|
+
}), {
|
|
529
|
+
default: withCtx(() => [
|
|
530
|
+
renderSlot(_ctx.$slots, "default")
|
|
531
|
+
]),
|
|
532
|
+
_: 3
|
|
533
|
+
}, 16, ["class", "style"])
|
|
534
|
+
])
|
|
535
|
+
])
|
|
536
|
+
]),
|
|
537
|
+
_: 3
|
|
538
|
+
})
|
|
512
539
|
]),
|
|
513
540
|
_: 3
|
|
514
|
-
}
|
|
541
|
+
})
|
|
515
542
|
]),
|
|
516
543
|
_: 3
|
|
517
544
|
}, 8, ["to"]);
|
|
@@ -543,7 +570,6 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
543
570
|
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
544
571
|
setup(__props, { emit: __emit }) {
|
|
545
572
|
const props = __props;
|
|
546
|
-
const theme = injectThemeContext();
|
|
547
573
|
const emits = __emit;
|
|
548
574
|
const forwarded = useForwardPropsEmits(props, emits, [
|
|
549
575
|
"to",
|
|
@@ -563,55 +589,54 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
563
589
|
to: props.to
|
|
564
590
|
}, {
|
|
565
591
|
default: withCtx(() => [
|
|
566
|
-
createVNode(
|
|
567
|
-
class: "ui-root ui-DialogOverlay",
|
|
568
|
-
"data-accent-color": unref(theme).accentColor.value,
|
|
569
|
-
"data-gray-color": unref(theme).grayColor.value,
|
|
570
|
-
"data-radius": unref(theme).radius.value,
|
|
571
|
-
"data-scaling": unref(theme).scaling.value
|
|
572
|
-
}, {
|
|
592
|
+
createVNode(_sfc_main$O, null, {
|
|
573
593
|
default: withCtx(() => [
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
...unref(forwarded)
|
|
581
|
-
}, {
|
|
582
|
-
style: {
|
|
583
|
-
width: props.width,
|
|
584
|
-
height: props.height,
|
|
585
|
-
minWidth: props.minWidth,
|
|
586
|
-
maxWidth: props.maxWidth,
|
|
587
|
-
minHeight: props.minHeight,
|
|
588
|
-
maxHeight: props.maxHeight
|
|
589
|
-
}
|
|
590
|
-
}), {
|
|
591
|
-
default: withCtx(() => [
|
|
592
|
-
props.closeIcon ? (openBlock(), createBlock(_sfc_main$Q, {
|
|
593
|
-
key: 0,
|
|
594
|
-
class: "ui-DialogContentClose",
|
|
595
|
-
as: unref(DialogClose),
|
|
596
|
-
type: "button",
|
|
597
|
-
variant: "ghost",
|
|
598
|
-
color: "gray",
|
|
599
|
-
"aria-label": "Close"
|
|
594
|
+
createVNode(unref(DialogOverlay), { class: "ui-DialogOverlay" }, {
|
|
595
|
+
default: withCtx(() => [
|
|
596
|
+
createElementVNode("div", _hoisted_1$i, [
|
|
597
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
598
|
+
createVNode(unref(DialogContent), mergeProps({
|
|
599
|
+
class: ["ui-DialogContent", `r-size-${props.size}`]
|
|
600
600
|
}, {
|
|
601
|
+
..._ctx.$attrs,
|
|
602
|
+
...unref(forwarded)
|
|
603
|
+
}, {
|
|
604
|
+
style: {
|
|
605
|
+
width: props.width,
|
|
606
|
+
height: props.height,
|
|
607
|
+
minWidth: props.minWidth,
|
|
608
|
+
maxWidth: props.maxWidth,
|
|
609
|
+
minHeight: props.minHeight,
|
|
610
|
+
maxHeight: props.maxHeight
|
|
611
|
+
}
|
|
612
|
+
}), {
|
|
601
613
|
default: withCtx(() => [
|
|
602
|
-
|
|
614
|
+
props.closeIcon ? (openBlock(), createBlock(_sfc_main$R, {
|
|
615
|
+
key: 0,
|
|
616
|
+
class: "ui-DialogContentClose",
|
|
617
|
+
as: unref(DialogClose),
|
|
618
|
+
type: "button",
|
|
619
|
+
variant: "ghost",
|
|
620
|
+
color: "gray",
|
|
621
|
+
"aria-label": "Close"
|
|
622
|
+
}, {
|
|
623
|
+
default: withCtx(() => [
|
|
624
|
+
createVNode(unref(Icon), { icon: "lucide:x" })
|
|
625
|
+
]),
|
|
626
|
+
_: 1
|
|
627
|
+
}, 8, ["as"])) : createCommentVNode("", true),
|
|
628
|
+
renderSlot(_ctx.$slots, "default")
|
|
603
629
|
]),
|
|
604
|
-
_:
|
|
605
|
-
},
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
])
|
|
630
|
+
_: 3
|
|
631
|
+
}, 16, ["class", "style"])
|
|
632
|
+
])
|
|
633
|
+
])
|
|
634
|
+
]),
|
|
635
|
+
_: 3
|
|
636
|
+
})
|
|
612
637
|
]),
|
|
613
638
|
_: 3
|
|
614
|
-
}
|
|
639
|
+
})
|
|
615
640
|
]),
|
|
616
641
|
_: 3
|
|
617
642
|
}, 8, ["to"]);
|
|
@@ -653,7 +678,6 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
653
678
|
},
|
|
654
679
|
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
655
680
|
setup(__props, { emit: __emit }) {
|
|
656
|
-
const theme = injectThemeContext();
|
|
657
681
|
const props = __props;
|
|
658
682
|
const emits = __emit;
|
|
659
683
|
const forwarded = useForwardPropsEmits(props, emits, [
|
|
@@ -671,29 +695,32 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
671
695
|
to: props.to
|
|
672
696
|
}, {
|
|
673
697
|
default: withCtx(() => [
|
|
674
|
-
createVNode(
|
|
675
|
-
|
|
676
|
-
...unref(forwarded)
|
|
698
|
+
createVNode(_sfc_main$O, {
|
|
699
|
+
"accent-color": props.color
|
|
677
700
|
}, {
|
|
678
|
-
ref: unref(forwardRef),
|
|
679
|
-
class: ["ui-root ui-PopperContent ui-MenuContent", `r-size-${props.size}`],
|
|
680
|
-
"data-accent-color": props.color || unref(theme).accentColor.value,
|
|
681
|
-
"data-gray-color": unref(theme).grayColor.value,
|
|
682
|
-
"data-radius": unref(theme).radius.value,
|
|
683
|
-
"data-scaling": unref(theme).scaling.value
|
|
684
|
-
}), {
|
|
685
701
|
default: withCtx(() => [
|
|
686
|
-
createVNode(
|
|
702
|
+
createVNode(unref(DropdownMenuContent), mergeProps({
|
|
703
|
+
..._ctx.$attrs,
|
|
704
|
+
...unref(forwarded)
|
|
705
|
+
}, {
|
|
706
|
+
ref: unref(forwardRef),
|
|
707
|
+
class: ["ui-PopperContent ui-MenuContent", `r-size-${props.size}`]
|
|
708
|
+
}), {
|
|
687
709
|
default: withCtx(() => [
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
710
|
+
createVNode(_sfc_main$P, { type: "auto" }, {
|
|
711
|
+
default: withCtx(() => [
|
|
712
|
+
createElementVNode("div", _hoisted_1$h, [
|
|
713
|
+
renderSlot(_ctx.$slots, "default")
|
|
714
|
+
])
|
|
715
|
+
]),
|
|
716
|
+
_: 3
|
|
717
|
+
})
|
|
691
718
|
]),
|
|
692
719
|
_: 3
|
|
693
|
-
})
|
|
720
|
+
}, 16, ["class"])
|
|
694
721
|
]),
|
|
695
722
|
_: 3
|
|
696
|
-
},
|
|
723
|
+
}, 8, ["accent-color"])
|
|
697
724
|
]),
|
|
698
725
|
_: 3
|
|
699
726
|
}, 8, ["to"]);
|
|
@@ -769,7 +796,6 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
769
796
|
},
|
|
770
797
|
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
771
798
|
setup(__props, { emit: __emit }) {
|
|
772
|
-
const theme = injectThemeContext();
|
|
773
799
|
const props = __props;
|
|
774
800
|
const emits = __emit;
|
|
775
801
|
const forwarded = useForwardPropsEmits(props, emits, ["to", "size"]);
|
|
@@ -778,18 +804,19 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
778
804
|
to: props.to
|
|
779
805
|
}, {
|
|
780
806
|
default: withCtx(() => [
|
|
781
|
-
createVNode(
|
|
782
|
-
class: ["ui-root ui-PopoverContent", `r-size-${props.size}`],
|
|
783
|
-
"data-accent-color": unref(theme).accentColor.value,
|
|
784
|
-
"data-gray-color": unref(theme).grayColor.value,
|
|
785
|
-
"data-radius": unref(theme).radius.value,
|
|
786
|
-
"data-scaling": unref(theme).scaling.value
|
|
787
|
-
}), {
|
|
807
|
+
createVNode(_sfc_main$O, null, {
|
|
788
808
|
default: withCtx(() => [
|
|
789
|
-
|
|
809
|
+
createVNode(unref(PopoverContent), mergeProps({ ..._ctx.$attrs, ...unref(forwarded) }, {
|
|
810
|
+
class: ["ui-PopoverContent", `r-size-${props.size}`]
|
|
811
|
+
}), {
|
|
812
|
+
default: withCtx(() => [
|
|
813
|
+
renderSlot(_ctx.$slots, "default")
|
|
814
|
+
]),
|
|
815
|
+
_: 3
|
|
816
|
+
}, 16, ["class"])
|
|
790
817
|
]),
|
|
791
818
|
_: 3
|
|
792
|
-
}
|
|
819
|
+
})
|
|
793
820
|
]),
|
|
794
821
|
_: 3
|
|
795
822
|
}, 8, ["to"]);
|
|
@@ -1445,7 +1472,6 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
1445
1472
|
as: {}
|
|
1446
1473
|
},
|
|
1447
1474
|
setup(__props) {
|
|
1448
|
-
const theme = injectThemeContext();
|
|
1449
1475
|
const props = __props;
|
|
1450
1476
|
const forwarded = useForwardProps(props);
|
|
1451
1477
|
const { forwardRef } = useForwardExpose();
|
|
@@ -1465,56 +1491,59 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
1465
1491
|
to: props.to
|
|
1466
1492
|
}, {
|
|
1467
1493
|
default: withCtx(() => [
|
|
1468
|
-
createVNode(
|
|
1469
|
-
|
|
1470
|
-
...unref(forwarded),
|
|
1471
|
-
to: void 0,
|
|
1472
|
-
variant: void 0
|
|
1494
|
+
createVNode(_sfc_main$O, {
|
|
1495
|
+
"accent-color": unref(context).color.value
|
|
1473
1496
|
}, {
|
|
1474
|
-
class: ["ui-root ui-SelectContent", contentClass.value],
|
|
1475
|
-
"data-accent-color": unref(context).color.value || unref(theme).accentColor.value,
|
|
1476
|
-
"data-gray-color": unref(theme).grayColor.value,
|
|
1477
|
-
"data-radius": unref(theme).radius.value,
|
|
1478
|
-
"data-scaling": unref(theme).scaling.value
|
|
1479
|
-
}), {
|
|
1480
1497
|
default: withCtx(() => [
|
|
1481
|
-
createVNode(unref(
|
|
1482
|
-
|
|
1483
|
-
|
|
1498
|
+
createVNode(unref(SelectContent), mergeProps({ ref: unref(forwardRef) }, {
|
|
1499
|
+
..._ctx.$attrs,
|
|
1500
|
+
...unref(forwarded),
|
|
1501
|
+
to: void 0,
|
|
1502
|
+
variant: void 0
|
|
1484
1503
|
}, {
|
|
1504
|
+
class: ["ui-SelectContent", contentClass.value]
|
|
1505
|
+
}), {
|
|
1485
1506
|
default: withCtx(() => [
|
|
1486
|
-
createVNode(unref(
|
|
1487
|
-
|
|
1488
|
-
|
|
1507
|
+
createVNode(unref(ScrollAreaRoot), {
|
|
1508
|
+
type: "auto",
|
|
1509
|
+
class: "ui-ScrollArea"
|
|
1489
1510
|
}, {
|
|
1490
1511
|
default: withCtx(() => [
|
|
1491
|
-
createVNode(unref(
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
]),
|
|
1495
|
-
_: 3
|
|
1496
|
-
}),
|
|
1497
|
-
_cache[0] || (_cache[0] = createElementVNode("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
|
|
1498
|
-
createVNode(unref(ScrollAreaScrollbar), {
|
|
1499
|
-
class: "ui-ScrollAreaScrollbar",
|
|
1500
|
-
"data-size": 1,
|
|
1501
|
-
orientation: "vertical"
|
|
1512
|
+
createVNode(unref(SelectViewport), {
|
|
1513
|
+
class: "ui-SelectViewport",
|
|
1514
|
+
"as-child": ""
|
|
1502
1515
|
}, {
|
|
1503
1516
|
default: withCtx(() => [
|
|
1504
|
-
createVNode(unref(
|
|
1517
|
+
createVNode(unref(ScrollAreaViewport), { class: "ui-ScrollAreaViewport" }, {
|
|
1518
|
+
default: withCtx(() => [
|
|
1519
|
+
renderSlot(_ctx.$slots, "default")
|
|
1520
|
+
]),
|
|
1521
|
+
_: 3
|
|
1522
|
+
}),
|
|
1523
|
+
_cache[0] || (_cache[0] = createElementVNode("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
|
|
1524
|
+
createVNode(unref(ScrollAreaScrollbar), {
|
|
1525
|
+
class: "ui-ScrollAreaScrollbar",
|
|
1526
|
+
"data-size": 1,
|
|
1527
|
+
orientation: "vertical"
|
|
1528
|
+
}, {
|
|
1529
|
+
default: withCtx(() => [
|
|
1530
|
+
createVNode(unref(ScrollAreaThumb), { class: "ui-ScrollAreaThumb" })
|
|
1531
|
+
]),
|
|
1532
|
+
_: 1
|
|
1533
|
+
})
|
|
1505
1534
|
]),
|
|
1506
|
-
_:
|
|
1535
|
+
_: 3,
|
|
1536
|
+
__: [0]
|
|
1507
1537
|
})
|
|
1508
1538
|
]),
|
|
1509
|
-
_: 3
|
|
1510
|
-
__: [0]
|
|
1539
|
+
_: 3
|
|
1511
1540
|
})
|
|
1512
1541
|
]),
|
|
1513
1542
|
_: 3
|
|
1514
|
-
})
|
|
1543
|
+
}, 16, ["class"])
|
|
1515
1544
|
]),
|
|
1516
1545
|
_: 3
|
|
1517
|
-
},
|
|
1546
|
+
}, 8, ["accent-color"])
|
|
1518
1547
|
]),
|
|
1519
1548
|
_: 3
|
|
1520
1549
|
}, 8, ["to"]);
|
|
@@ -1849,7 +1878,6 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
1849
1878
|
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside"],
|
|
1850
1879
|
setup(__props, { emit: __emit }) {
|
|
1851
1880
|
const { forwardRef } = useForwardExpose();
|
|
1852
|
-
const theme = injectThemeContext();
|
|
1853
1881
|
const props = __props;
|
|
1854
1882
|
const emits = __emit;
|
|
1855
1883
|
const forwarded = useForwardPropsEmits$1(props, emits);
|
|
@@ -1866,57 +1894,60 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
1866
1894
|
to: props.to
|
|
1867
1895
|
}, {
|
|
1868
1896
|
default: withCtx(() => [
|
|
1869
|
-
createVNode(
|
|
1870
|
-
|
|
1871
|
-
...unref(forwarded),
|
|
1872
|
-
position: "popper",
|
|
1873
|
-
to: void 0,
|
|
1874
|
-
variant: void 0
|
|
1897
|
+
createVNode(_sfc_main$O, {
|
|
1898
|
+
"accent-color": unref(context).color.value
|
|
1875
1899
|
}, {
|
|
1876
|
-
class: ["ui-root ui-ComboboxContent", contentClass.value],
|
|
1877
|
-
"data-accent-color": unref(context).color.value || unref(theme).accentColor.value,
|
|
1878
|
-
"data-gray-color": unref(theme).grayColor.value,
|
|
1879
|
-
"data-radius": unref(theme).radius.value,
|
|
1880
|
-
"data-scaling": unref(theme).scaling.value
|
|
1881
|
-
}), {
|
|
1882
1900
|
default: withCtx(() => [
|
|
1883
|
-
createVNode(unref(
|
|
1884
|
-
|
|
1885
|
-
|
|
1901
|
+
createVNode(unref(ComboboxContent), mergeProps({ ref: unref(forwardRef) }, {
|
|
1902
|
+
..._ctx.$attrs,
|
|
1903
|
+
...unref(forwarded),
|
|
1904
|
+
position: "popper",
|
|
1905
|
+
to: void 0,
|
|
1906
|
+
variant: void 0
|
|
1886
1907
|
}, {
|
|
1908
|
+
class: ["ui-ComboboxContent", contentClass.value]
|
|
1909
|
+
}), {
|
|
1887
1910
|
default: withCtx(() => [
|
|
1888
|
-
createVNode(unref(
|
|
1889
|
-
|
|
1890
|
-
|
|
1911
|
+
createVNode(unref(ScrollAreaRoot), {
|
|
1912
|
+
type: "auto",
|
|
1913
|
+
class: "ui-ScrollArea"
|
|
1891
1914
|
}, {
|
|
1892
1915
|
default: withCtx(() => [
|
|
1893
|
-
createVNode(unref(
|
|
1916
|
+
createVNode(unref(ComboboxViewport), {
|
|
1917
|
+
class: "ui-ComboboxViewport",
|
|
1918
|
+
"as-child": ""
|
|
1919
|
+
}, {
|
|
1894
1920
|
default: withCtx(() => [
|
|
1895
|
-
|
|
1921
|
+
createVNode(unref(ScrollAreaViewport), { class: "ui-ScrollAreaViewport" }, {
|
|
1922
|
+
default: withCtx(() => [
|
|
1923
|
+
renderSlot(_ctx.$slots, "default")
|
|
1924
|
+
]),
|
|
1925
|
+
_: 3
|
|
1926
|
+
})
|
|
1896
1927
|
]),
|
|
1897
1928
|
_: 3
|
|
1929
|
+
}),
|
|
1930
|
+
_cache[0] || (_cache[0] = createElementVNode("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
|
|
1931
|
+
createVNode(unref(ScrollAreaScrollbar), {
|
|
1932
|
+
class: "ui-ScrollAreaScrollbar",
|
|
1933
|
+
"data-size": 1,
|
|
1934
|
+
orientation: "vertical"
|
|
1935
|
+
}, {
|
|
1936
|
+
default: withCtx(() => [
|
|
1937
|
+
createVNode(unref(ScrollAreaThumb), { class: "ui-ScrollAreaThumb" })
|
|
1938
|
+
]),
|
|
1939
|
+
_: 1
|
|
1898
1940
|
})
|
|
1899
1941
|
]),
|
|
1900
|
-
_: 3
|
|
1901
|
-
|
|
1902
|
-
_cache[0] || (_cache[0] = createElementVNode("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
|
|
1903
|
-
createVNode(unref(ScrollAreaScrollbar), {
|
|
1904
|
-
class: "ui-ScrollAreaScrollbar",
|
|
1905
|
-
"data-size": 1,
|
|
1906
|
-
orientation: "vertical"
|
|
1907
|
-
}, {
|
|
1908
|
-
default: withCtx(() => [
|
|
1909
|
-
createVNode(unref(ScrollAreaThumb), { class: "ui-ScrollAreaThumb" })
|
|
1910
|
-
]),
|
|
1911
|
-
_: 1
|
|
1942
|
+
_: 3,
|
|
1943
|
+
__: [0]
|
|
1912
1944
|
})
|
|
1913
1945
|
]),
|
|
1914
|
-
_: 3
|
|
1915
|
-
|
|
1916
|
-
})
|
|
1946
|
+
_: 3
|
|
1947
|
+
}, 16, ["class"])
|
|
1917
1948
|
]),
|
|
1918
1949
|
_: 3
|
|
1919
|
-
},
|
|
1950
|
+
}, 8, ["accent-color"])
|
|
1920
1951
|
]),
|
|
1921
1952
|
_: 3
|
|
1922
1953
|
}, 8, ["to"]);
|
|
@@ -2113,7 +2144,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2113
2144
|
"data-high-contrast": unref(rootContext).highContrast?.value
|
|
2114
2145
|
}, { ...unref(forwarded), asChild: false }), {
|
|
2115
2146
|
default: withCtx(() => [
|
|
2116
|
-
createVNode(_sfc_main$
|
|
2147
|
+
createVNode(_sfc_main$U, {
|
|
2117
2148
|
"as-child": unref(forwarded).asChild
|
|
2118
2149
|
}, {
|
|
2119
2150
|
default: withCtx(() => [
|
|
@@ -2512,7 +2543,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2512
2543
|
return openBlock(), createElementBlock("div", {
|
|
2513
2544
|
class: normalizeClass(["ui-Pagination", resetClass.value])
|
|
2514
2545
|
}, [
|
|
2515
|
-
pagination.value.prev ? (openBlock(), createBlock(_sfc_main$
|
|
2546
|
+
pagination.value.prev ? (openBlock(), createBlock(_sfc_main$R, mergeProps({ key: 0 }, buttonProps.value, {
|
|
2516
2547
|
"aria-label": "Previous",
|
|
2517
2548
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => selectPage(pagination.value.prev), ["prevent"]))
|
|
2518
2549
|
}), {
|
|
@@ -2525,7 +2556,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2525
2556
|
]),
|
|
2526
2557
|
_: 3
|
|
2527
2558
|
}, 16)) : createCommentVNode("", true),
|
|
2528
|
-
createVNode(_sfc_main$
|
|
2559
|
+
createVNode(_sfc_main$S, mergeProps(buttonProps.value, {
|
|
2529
2560
|
disabled: page.value === 1,
|
|
2530
2561
|
"aria-current": "page",
|
|
2531
2562
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => selectPage(1), ["prevent"]))
|
|
@@ -2537,7 +2568,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2537
2568
|
]),
|
|
2538
2569
|
_: 3
|
|
2539
2570
|
}, 16, ["disabled"]),
|
|
2540
|
-
pagination.value.hasLeftEdge ? (openBlock(), createBlock(_sfc_main$
|
|
2571
|
+
pagination.value.hasLeftEdge ? (openBlock(), createBlock(_sfc_main$R, mergeProps({ key: 1 }, buttonProps.value, {
|
|
2541
2572
|
onClick: withModifiers(selectLeft, ["prevent"])
|
|
2542
2573
|
}), {
|
|
2543
2574
|
default: withCtx(() => [
|
|
@@ -2550,7 +2581,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2550
2581
|
_: 3
|
|
2551
2582
|
}, 16)) : createCommentVNode("", true),
|
|
2552
2583
|
(openBlock(true), createElementBlock(Fragment, null, renderList(pagination.value.pageList, (p) => {
|
|
2553
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2584
|
+
return openBlock(), createBlock(_sfc_main$S, mergeProps({ key: p }, { ref_for: true }, buttonProps.value, {
|
|
2554
2585
|
disabled: p === page.value,
|
|
2555
2586
|
"aria-current": "page",
|
|
2556
2587
|
onClick: withModifiers(($event) => selectPage(p), ["prevent"])
|
|
@@ -2563,7 +2594,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2563
2594
|
_: 2
|
|
2564
2595
|
}, 1040, ["disabled", "onClick"]);
|
|
2565
2596
|
}), 128)),
|
|
2566
|
-
pagination.value.hasRightEdge ? (openBlock(), createBlock(_sfc_main$
|
|
2597
|
+
pagination.value.hasRightEdge ? (openBlock(), createBlock(_sfc_main$R, mergeProps({ key: 2 }, buttonProps.value, {
|
|
2567
2598
|
onClick: withModifiers(selectRight, ["prevent"])
|
|
2568
2599
|
}), {
|
|
2569
2600
|
default: withCtx(() => [
|
|
@@ -2575,7 +2606,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2575
2606
|
]),
|
|
2576
2607
|
_: 3
|
|
2577
2608
|
}, 16)) : createCommentVNode("", true),
|
|
2578
|
-
pagination.value.totalPages > 1 ? (openBlock(), createBlock(_sfc_main$
|
|
2609
|
+
pagination.value.totalPages > 1 ? (openBlock(), createBlock(_sfc_main$S, mergeProps({ key: 3 }, buttonProps.value, {
|
|
2579
2610
|
disabled: pagination.value.totalPages === page.value,
|
|
2580
2611
|
"aria-current": "page",
|
|
2581
2612
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => selectPage(pagination.value.totalPages), ["prevent"]))
|
|
@@ -2589,7 +2620,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2589
2620
|
]),
|
|
2590
2621
|
_: 3
|
|
2591
2622
|
}, 16, ["disabled"])) : createCommentVNode("", true),
|
|
2592
|
-
pagination.value.next ? (openBlock(), createBlock(_sfc_main$
|
|
2623
|
+
pagination.value.next ? (openBlock(), createBlock(_sfc_main$R, mergeProps({ key: 4 }, buttonProps.value, {
|
|
2593
2624
|
"aria-label": "Next",
|
|
2594
2625
|
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => selectPage(pagination.value.next), ["prevent"]))
|
|
2595
2626
|
}), {
|
|
@@ -2623,7 +2654,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
2623
2654
|
"data-size": props.size,
|
|
2624
2655
|
"data-variant": props.variant
|
|
2625
2656
|
}, [
|
|
2626
|
-
createVNode(_sfc_main$
|
|
2657
|
+
createVNode(_sfc_main$P, null, {
|
|
2627
2658
|
default: withCtx(() => [
|
|
2628
2659
|
createElementVNode("table", {
|
|
2629
2660
|
class: "ui-TableContent",
|
|
@@ -2687,7 +2718,6 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
2687
2718
|
},
|
|
2688
2719
|
setup(__props) {
|
|
2689
2720
|
const props = __props;
|
|
2690
|
-
const theme = injectThemeContext();
|
|
2691
2721
|
return (_ctx, _cache) => {
|
|
2692
2722
|
return openBlock(), createBlock(unref(TooltipRoot), null, {
|
|
2693
2723
|
default: withCtx(() => [
|
|
@@ -2704,35 +2734,36 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
2704
2734
|
to: props.to
|
|
2705
2735
|
}, {
|
|
2706
2736
|
default: withCtx(() => [
|
|
2707
|
-
createVNode(
|
|
2708
|
-
class: "ui-root ui-Tooltip",
|
|
2709
|
-
"data-accent-color": unref(theme).accentColor.value,
|
|
2710
|
-
"data-gray-color": unref(theme).grayColor.value,
|
|
2711
|
-
"data-radius": unref(theme).radius.value,
|
|
2712
|
-
"data-scaling": unref(theme).scaling.value,
|
|
2713
|
-
align: props.align,
|
|
2714
|
-
"align-offset": props.alignOffset,
|
|
2715
|
-
"aria-label": props.ariaLabel,
|
|
2716
|
-
"arrow-padding": props.arrowPadding,
|
|
2717
|
-
"avoid-collisions": props.avoidCollisions,
|
|
2718
|
-
"collision-boundary": props.collisionBoundary,
|
|
2719
|
-
"collision-padding": props.collisionPadding,
|
|
2720
|
-
"hide-when-detached": props.hideWhenDetached,
|
|
2721
|
-
side: props.side,
|
|
2722
|
-
"side-offset": props.sideOffset,
|
|
2723
|
-
sticky: props.sticky
|
|
2724
|
-
}, {
|
|
2737
|
+
createVNode(_sfc_main$O, null, {
|
|
2725
2738
|
default: withCtx(() => [
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2739
|
+
createVNode(unref(TooltipContent), {
|
|
2740
|
+
class: "ui-Tooltip",
|
|
2741
|
+
align: props.align,
|
|
2742
|
+
"align-offset": props.alignOffset,
|
|
2743
|
+
"aria-label": props.ariaLabel,
|
|
2744
|
+
"arrow-padding": props.arrowPadding,
|
|
2745
|
+
"avoid-collisions": props.avoidCollisions,
|
|
2746
|
+
"collision-boundary": props.collisionBoundary,
|
|
2747
|
+
"collision-padding": props.collisionPadding,
|
|
2748
|
+
"hide-when-detached": props.hideWhenDetached,
|
|
2749
|
+
side: props.side,
|
|
2750
|
+
"side-offset": props.sideOffset,
|
|
2751
|
+
sticky: props.sticky
|
|
2752
|
+
}, {
|
|
2753
|
+
default: withCtx(() => [
|
|
2754
|
+
renderSlot(_ctx.$slots, "content", {}, () => [
|
|
2755
|
+
createElementVNode("p", {
|
|
2756
|
+
class: "ui-TooltipText",
|
|
2757
|
+
textContent: toDisplayString(props.content)
|
|
2758
|
+
}, null, 8, _hoisted_1$2)
|
|
2759
|
+
]),
|
|
2760
|
+
createVNode(unref(TooltipArrow), { class: "ui-TooltipArrow" })
|
|
2761
|
+
]),
|
|
2762
|
+
_: 3
|
|
2763
|
+
}, 8, ["align", "align-offset", "aria-label", "arrow-padding", "avoid-collisions", "collision-boundary", "collision-padding", "hide-when-detached", "side", "side-offset", "sticky"])
|
|
2733
2764
|
]),
|
|
2734
2765
|
_: 3
|
|
2735
|
-
}
|
|
2766
|
+
})
|
|
2736
2767
|
]),
|
|
2737
2768
|
_: 3
|
|
2738
2769
|
}, 8, ["to"])
|
|
@@ -2873,11 +2904,11 @@ export {
|
|
|
2873
2904
|
AlertDialogRoot,
|
|
2874
2905
|
AlertDialogTitle,
|
|
2875
2906
|
AlertDialogTrigger,
|
|
2876
|
-
_sfc_main$
|
|
2877
|
-
_sfc_main$
|
|
2878
|
-
_sfc_main$
|
|
2879
|
-
_sfc_main$
|
|
2880
|
-
_sfc_main$
|
|
2907
|
+
_sfc_main$X as Avatar,
|
|
2908
|
+
_sfc_main$W as Badge,
|
|
2909
|
+
_sfc_main$S as Button,
|
|
2910
|
+
_sfc_main$U as Card,
|
|
2911
|
+
_sfc_main$T as CardHead,
|
|
2881
2912
|
_sfc_main$H as Checkbox,
|
|
2882
2913
|
_sfc_main$E as CheckboxGroupControl,
|
|
2883
2914
|
_sfc_main$F as CheckboxGroupItem,
|
|
@@ -2906,9 +2937,9 @@ export {
|
|
|
2906
2937
|
DropdownMenuTrigger,
|
|
2907
2938
|
_sfc_main$f as Editable,
|
|
2908
2939
|
Icon2 as Icon,
|
|
2909
|
-
_sfc_main$
|
|
2940
|
+
_sfc_main$R as IconButton,
|
|
2910
2941
|
_sfc_main as IconCircle,
|
|
2911
|
-
_sfc_main$
|
|
2942
|
+
_sfc_main$V as Inset,
|
|
2912
2943
|
_sfc_main$7 as Pagination,
|
|
2913
2944
|
_sfc_main$b as PlusMinusIcon,
|
|
2914
2945
|
PopoverClose,
|
|
@@ -2924,7 +2955,7 @@ export {
|
|
|
2924
2955
|
RadioGroupItem2 as RadioTabsItem,
|
|
2925
2956
|
_sfc_main$i as RadioTabsList,
|
|
2926
2957
|
_sfc_main$1 as SavingIndicator,
|
|
2927
|
-
_sfc_main$
|
|
2958
|
+
_sfc_main$P as ScrollArea,
|
|
2928
2959
|
_sfc_main$w as SelectContent,
|
|
2929
2960
|
SelectGroup,
|
|
2930
2961
|
_sfc_main$u as SelectItem,
|
|
@@ -2933,7 +2964,7 @@ export {
|
|
|
2933
2964
|
SelectSeparator,
|
|
2934
2965
|
_sfc_main$v as SelectTrigger,
|
|
2935
2966
|
_sfc_main$5 as Separator,
|
|
2936
|
-
_sfc_main$
|
|
2967
|
+
_sfc_main$Q as SocialButton,
|
|
2937
2968
|
_sfc_main$2 as Spinner,
|
|
2938
2969
|
_sfc_main$I as Switch,
|
|
2939
2970
|
_sfc_main$6 as Table,
|
|
@@ -2943,7 +2974,7 @@ export {
|
|
|
2943
2974
|
_sfc_main$g as TabsTrigger,
|
|
2944
2975
|
_sfc_main$z as TextArea,
|
|
2945
2976
|
_sfc_main$A as TextField,
|
|
2946
|
-
_sfc_main$
|
|
2977
|
+
_sfc_main$Y as ThemeProvider,
|
|
2947
2978
|
_sfc_main$D as Toggle,
|
|
2948
2979
|
_sfc_main$B as ToggleGroupItem,
|
|
2949
2980
|
_sfc_main$C as ToggleGroupRoot,
|