@vuetify/nightly 3.5.9-dev.2024-03-26 → 3.5.9-dev.2024-03-29
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/CHANGELOG.md +3 -2
- package/dist/json/attributes.json +27 -7
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +108 -108
- package/dist/json/tags.json +5 -0
- package/dist/json/web-types.json +60 -13
- package/dist/vuetify-labs.css +1939 -1939
- package/dist/vuetify-labs.d.ts +70 -19
- package/dist/vuetify-labs.esm.js +100 -97
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +100 -97
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +442 -442
- package/dist/vuetify.d.ts +107 -56
- package/dist/vuetify.esm.js +100 -97
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +100 -97
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +182 -182
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VTimeline/VTimeline.mjs +12 -6
- package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
- package/lib/components/VTimeline/index.d.mts +70 -19
- package/lib/components/index.d.mts +70 -19
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +37 -37
- package/package.json +1 -1
package/dist/vuetify-labs.d.ts
CHANGED
|
@@ -63453,10 +63453,12 @@ type TimelineTruncateLine = 'start' | 'end' | 'both' | undefined;
|
|
|
63453
63453
|
declare const VTimeline: {
|
|
63454
63454
|
new (...args: any[]): vue.CreateComponentPublicInstance<{
|
|
63455
63455
|
style: vue.StyleValue;
|
|
63456
|
+
size: string | number;
|
|
63456
63457
|
tag: string;
|
|
63457
63458
|
justify: string;
|
|
63458
63459
|
density: Density;
|
|
63459
|
-
|
|
63460
|
+
fillDot: boolean;
|
|
63461
|
+
lineInset: NonNullable<string | number>;
|
|
63460
63462
|
lineThickness: string | number;
|
|
63461
63463
|
} & {
|
|
63462
63464
|
direction?: TimelineDirection | undefined;
|
|
@@ -63464,7 +63466,10 @@ declare const VTimeline: {
|
|
|
63464
63466
|
align?: TimelineAlign | undefined;
|
|
63465
63467
|
side?: TimelineSide;
|
|
63466
63468
|
theme?: string | undefined;
|
|
63469
|
+
dotColor?: string | undefined;
|
|
63470
|
+
iconColor?: string | undefined;
|
|
63467
63471
|
lineColor?: string | undefined;
|
|
63472
|
+
hideOpposite?: boolean | undefined;
|
|
63468
63473
|
truncateLine?: TimelineTruncateLine;
|
|
63469
63474
|
} & {
|
|
63470
63475
|
$children?: vue.VNodeChild | {
|
|
@@ -63477,10 +63482,12 @@ declare const VTimeline: {
|
|
|
63477
63482
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
|
63478
63483
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
|
63479
63484
|
style: vue.StyleValue;
|
|
63485
|
+
size: string | number;
|
|
63480
63486
|
tag: string;
|
|
63481
63487
|
justify: string;
|
|
63482
63488
|
density: Density;
|
|
63483
|
-
|
|
63489
|
+
fillDot: boolean;
|
|
63490
|
+
lineInset: NonNullable<string | number>;
|
|
63484
63491
|
lineThickness: string | number;
|
|
63485
63492
|
} & {
|
|
63486
63493
|
direction?: TimelineDirection | undefined;
|
|
@@ -63488,7 +63495,10 @@ declare const VTimeline: {
|
|
|
63488
63495
|
align?: TimelineAlign | undefined;
|
|
63489
63496
|
side?: TimelineSide;
|
|
63490
63497
|
theme?: string | undefined;
|
|
63498
|
+
dotColor?: string | undefined;
|
|
63499
|
+
iconColor?: string | undefined;
|
|
63491
63500
|
lineColor?: string | undefined;
|
|
63501
|
+
hideOpposite?: boolean | undefined;
|
|
63492
63502
|
truncateLine?: TimelineTruncateLine;
|
|
63493
63503
|
} & {
|
|
63494
63504
|
$children?: vue.VNodeChild | {
|
|
@@ -63501,10 +63511,13 @@ declare const VTimeline: {
|
|
|
63501
63511
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
|
63502
63512
|
}, {
|
|
63503
63513
|
style: vue.StyleValue;
|
|
63514
|
+
size: string | number;
|
|
63504
63515
|
tag: string;
|
|
63505
63516
|
justify: string;
|
|
63506
63517
|
density: Density;
|
|
63507
|
-
|
|
63518
|
+
fillDot: boolean;
|
|
63519
|
+
hideOpposite: boolean;
|
|
63520
|
+
lineInset: NonNullable<string | number>;
|
|
63508
63521
|
lineThickness: string | number;
|
|
63509
63522
|
}, true, {}, vue.SlotsType<Partial<{
|
|
63510
63523
|
default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -63519,10 +63532,12 @@ declare const VTimeline: {
|
|
|
63519
63532
|
Defaults: {};
|
|
63520
63533
|
}, {
|
|
63521
63534
|
style: vue.StyleValue;
|
|
63535
|
+
size: string | number;
|
|
63522
63536
|
tag: string;
|
|
63523
63537
|
justify: string;
|
|
63524
63538
|
density: Density;
|
|
63525
|
-
|
|
63539
|
+
fillDot: boolean;
|
|
63540
|
+
lineInset: NonNullable<string | number>;
|
|
63526
63541
|
lineThickness: string | number;
|
|
63527
63542
|
} & {
|
|
63528
63543
|
direction?: TimelineDirection | undefined;
|
|
@@ -63530,7 +63545,10 @@ declare const VTimeline: {
|
|
|
63530
63545
|
align?: TimelineAlign | undefined;
|
|
63531
63546
|
side?: TimelineSide;
|
|
63532
63547
|
theme?: string | undefined;
|
|
63548
|
+
dotColor?: string | undefined;
|
|
63549
|
+
iconColor?: string | undefined;
|
|
63533
63550
|
lineColor?: string | undefined;
|
|
63551
|
+
hideOpposite?: boolean | undefined;
|
|
63534
63552
|
truncateLine?: TimelineTruncateLine;
|
|
63535
63553
|
} & {
|
|
63536
63554
|
$children?: vue.VNodeChild | {
|
|
@@ -63543,10 +63561,13 @@ declare const VTimeline: {
|
|
|
63543
63561
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
|
63544
63562
|
}, {}, {}, {}, {}, {
|
|
63545
63563
|
style: vue.StyleValue;
|
|
63564
|
+
size: string | number;
|
|
63546
63565
|
tag: string;
|
|
63547
63566
|
justify: string;
|
|
63548
63567
|
density: Density;
|
|
63549
|
-
|
|
63568
|
+
fillDot: boolean;
|
|
63569
|
+
hideOpposite: boolean;
|
|
63570
|
+
lineInset: NonNullable<string | number>;
|
|
63550
63571
|
lineThickness: string | number;
|
|
63551
63572
|
}>;
|
|
63552
63573
|
__isFragment?: undefined;
|
|
@@ -63554,10 +63575,12 @@ declare const VTimeline: {
|
|
|
63554
63575
|
__isSuspense?: undefined;
|
|
63555
63576
|
} & vue.ComponentOptionsBase<{
|
|
63556
63577
|
style: vue.StyleValue;
|
|
63578
|
+
size: string | number;
|
|
63557
63579
|
tag: string;
|
|
63558
63580
|
justify: string;
|
|
63559
63581
|
density: Density;
|
|
63560
|
-
|
|
63582
|
+
fillDot: boolean;
|
|
63583
|
+
lineInset: NonNullable<string | number>;
|
|
63561
63584
|
lineThickness: string | number;
|
|
63562
63585
|
} & {
|
|
63563
63586
|
direction?: TimelineDirection | undefined;
|
|
@@ -63565,7 +63588,10 @@ declare const VTimeline: {
|
|
|
63565
63588
|
align?: TimelineAlign | undefined;
|
|
63566
63589
|
side?: TimelineSide;
|
|
63567
63590
|
theme?: string | undefined;
|
|
63591
|
+
dotColor?: string | undefined;
|
|
63592
|
+
iconColor?: string | undefined;
|
|
63568
63593
|
lineColor?: string | undefined;
|
|
63594
|
+
hideOpposite?: boolean | undefined;
|
|
63569
63595
|
truncateLine?: TimelineTruncateLine;
|
|
63570
63596
|
} & {
|
|
63571
63597
|
$children?: vue.VNodeChild | {
|
|
@@ -63578,10 +63604,13 @@ declare const VTimeline: {
|
|
|
63578
63604
|
"v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
|
|
63579
63605
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
|
63580
63606
|
style: vue.StyleValue;
|
|
63607
|
+
size: string | number;
|
|
63581
63608
|
tag: string;
|
|
63582
63609
|
justify: string;
|
|
63583
63610
|
density: Density;
|
|
63584
|
-
|
|
63611
|
+
fillDot: boolean;
|
|
63612
|
+
hideOpposite: boolean;
|
|
63613
|
+
lineInset: NonNullable<string | number>;
|
|
63585
63614
|
lineThickness: string | number;
|
|
63586
63615
|
}, {}, string, vue.SlotsType<Partial<{
|
|
63587
63616
|
default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -63603,6 +63632,21 @@ declare const VTimeline: {
|
|
|
63603
63632
|
type: vue.PropType<vue.StyleValue>;
|
|
63604
63633
|
default: null;
|
|
63605
63634
|
};
|
|
63635
|
+
size: {
|
|
63636
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
63637
|
+
default: string;
|
|
63638
|
+
};
|
|
63639
|
+
dotColor: StringConstructor;
|
|
63640
|
+
fillDot: BooleanConstructor;
|
|
63641
|
+
iconColor: StringConstructor;
|
|
63642
|
+
hideOpposite: {
|
|
63643
|
+
type: BooleanConstructor;
|
|
63644
|
+
default: undefined;
|
|
63645
|
+
};
|
|
63646
|
+
lineInset: {
|
|
63647
|
+
type: vue.PropType<NonNullable<string | number>>;
|
|
63648
|
+
default: NonNullable<string | number>;
|
|
63649
|
+
};
|
|
63606
63650
|
align: Prop<TimelineAlign>;
|
|
63607
63651
|
direction: Prop<TimelineDirection>;
|
|
63608
63652
|
justify: {
|
|
@@ -63611,10 +63655,6 @@ declare const VTimeline: {
|
|
|
63611
63655
|
validator: (v: any) => boolean;
|
|
63612
63656
|
};
|
|
63613
63657
|
side: Prop<TimelineSide>;
|
|
63614
|
-
lineInset: {
|
|
63615
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
63616
|
-
default: number;
|
|
63617
|
-
};
|
|
63618
63658
|
lineThickness: {
|
|
63619
63659
|
type: (StringConstructor | NumberConstructor)[];
|
|
63620
63660
|
default: number;
|
|
@@ -63637,6 +63677,21 @@ declare const VTimeline: {
|
|
|
63637
63677
|
type: vue.PropType<vue.StyleValue>;
|
|
63638
63678
|
default: null;
|
|
63639
63679
|
};
|
|
63680
|
+
size: {
|
|
63681
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
63682
|
+
default: string;
|
|
63683
|
+
};
|
|
63684
|
+
dotColor: StringConstructor;
|
|
63685
|
+
fillDot: BooleanConstructor;
|
|
63686
|
+
iconColor: StringConstructor;
|
|
63687
|
+
hideOpposite: {
|
|
63688
|
+
type: BooleanConstructor;
|
|
63689
|
+
default: undefined;
|
|
63690
|
+
};
|
|
63691
|
+
lineInset: {
|
|
63692
|
+
type: vue.PropType<NonNullable<string | number>>;
|
|
63693
|
+
default: NonNullable<string | number>;
|
|
63694
|
+
};
|
|
63640
63695
|
align: Prop<TimelineAlign>;
|
|
63641
63696
|
direction: Prop<TimelineDirection>;
|
|
63642
63697
|
justify: {
|
|
@@ -63645,10 +63700,6 @@ declare const VTimeline: {
|
|
|
63645
63700
|
validator: (v: any) => boolean;
|
|
63646
63701
|
};
|
|
63647
63702
|
side: Prop<TimelineSide>;
|
|
63648
|
-
lineInset: {
|
|
63649
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
63650
|
-
default: number;
|
|
63651
|
-
};
|
|
63652
63703
|
lineThickness: {
|
|
63653
63704
|
type: (StringConstructor | NumberConstructor)[];
|
|
63654
63705
|
default: number;
|
|
@@ -63678,10 +63729,10 @@ declare const VTimelineItem: {
|
|
|
63678
63729
|
elevation?: string | number | undefined;
|
|
63679
63730
|
rounded?: string | number | boolean | undefined;
|
|
63680
63731
|
density?: "default" | "compact" | undefined;
|
|
63681
|
-
lineInset?: string | number | undefined;
|
|
63682
63732
|
dotColor?: string | undefined;
|
|
63683
63733
|
iconColor?: string | undefined;
|
|
63684
63734
|
hideOpposite?: boolean | undefined;
|
|
63735
|
+
lineInset?: string | number | undefined;
|
|
63685
63736
|
} & {
|
|
63686
63737
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
63687
63738
|
default?: (() => vue.VNodeChild) | undefined;
|
|
@@ -63716,10 +63767,10 @@ declare const VTimelineItem: {
|
|
|
63716
63767
|
elevation?: string | number | undefined;
|
|
63717
63768
|
rounded?: string | number | boolean | undefined;
|
|
63718
63769
|
density?: "default" | "compact" | undefined;
|
|
63719
|
-
lineInset?: string | number | undefined;
|
|
63720
63770
|
dotColor?: string | undefined;
|
|
63721
63771
|
iconColor?: string | undefined;
|
|
63722
63772
|
hideOpposite?: boolean | undefined;
|
|
63773
|
+
lineInset?: string | number | undefined;
|
|
63723
63774
|
} & {
|
|
63724
63775
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
63725
63776
|
default?: (() => vue.VNodeChild) | undefined;
|
|
@@ -63780,10 +63831,10 @@ declare const VTimelineItem: {
|
|
|
63780
63831
|
elevation?: string | number | undefined;
|
|
63781
63832
|
rounded?: string | number | boolean | undefined;
|
|
63782
63833
|
density?: "default" | "compact" | undefined;
|
|
63783
|
-
lineInset?: string | number | undefined;
|
|
63784
63834
|
dotColor?: string | undefined;
|
|
63785
63835
|
iconColor?: string | undefined;
|
|
63786
63836
|
hideOpposite?: boolean | undefined;
|
|
63837
|
+
lineInset?: string | number | undefined;
|
|
63787
63838
|
} & {
|
|
63788
63839
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
63789
63840
|
default?: (() => vue.VNodeChild) | undefined;
|
|
@@ -63831,10 +63882,10 @@ declare const VTimelineItem: {
|
|
|
63831
63882
|
elevation?: string | number | undefined;
|
|
63832
63883
|
rounded?: string | number | boolean | undefined;
|
|
63833
63884
|
density?: "default" | "compact" | undefined;
|
|
63834
|
-
lineInset?: string | number | undefined;
|
|
63835
63885
|
dotColor?: string | undefined;
|
|
63836
63886
|
iconColor?: string | undefined;
|
|
63837
63887
|
hideOpposite?: boolean | undefined;
|
|
63888
|
+
lineInset?: string | number | undefined;
|
|
63838
63889
|
} & {
|
|
63839
63890
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
63840
63891
|
default?: (() => vue.VNodeChild) | undefined;
|
package/dist/vuetify-labs.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.5.9-dev.2024-03-
|
|
2
|
+
* Vuetify v3.5.9-dev.2024-03-29
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -25273,100 +25273,6 @@ const VThemeProvider = genericComponent()({
|
|
|
25273
25273
|
}
|
|
25274
25274
|
});
|
|
25275
25275
|
|
|
25276
|
-
// Types
|
|
25277
|
-
|
|
25278
|
-
const makeVTimelineProps = propsFactory({
|
|
25279
|
-
align: {
|
|
25280
|
-
type: String,
|
|
25281
|
-
default: 'center',
|
|
25282
|
-
validator: v => ['center', 'start'].includes(v)
|
|
25283
|
-
},
|
|
25284
|
-
direction: {
|
|
25285
|
-
type: String,
|
|
25286
|
-
default: 'vertical',
|
|
25287
|
-
validator: v => ['vertical', 'horizontal'].includes(v)
|
|
25288
|
-
},
|
|
25289
|
-
justify: {
|
|
25290
|
-
type: String,
|
|
25291
|
-
default: 'auto',
|
|
25292
|
-
validator: v => ['auto', 'center'].includes(v)
|
|
25293
|
-
},
|
|
25294
|
-
side: {
|
|
25295
|
-
type: String,
|
|
25296
|
-
validator: v => v == null || ['start', 'end'].includes(v)
|
|
25297
|
-
},
|
|
25298
|
-
lineInset: {
|
|
25299
|
-
type: [String, Number],
|
|
25300
|
-
default: 0
|
|
25301
|
-
},
|
|
25302
|
-
lineThickness: {
|
|
25303
|
-
type: [String, Number],
|
|
25304
|
-
default: 2
|
|
25305
|
-
},
|
|
25306
|
-
lineColor: String,
|
|
25307
|
-
truncateLine: {
|
|
25308
|
-
type: String,
|
|
25309
|
-
validator: v => ['start', 'end', 'both'].includes(v)
|
|
25310
|
-
},
|
|
25311
|
-
...makeComponentProps(),
|
|
25312
|
-
...makeDensityProps(),
|
|
25313
|
-
...makeTagProps(),
|
|
25314
|
-
...makeThemeProps()
|
|
25315
|
-
}, 'VTimeline');
|
|
25316
|
-
const VTimeline = genericComponent()({
|
|
25317
|
-
name: 'VTimeline',
|
|
25318
|
-
props: makeVTimelineProps(),
|
|
25319
|
-
setup(props, _ref) {
|
|
25320
|
-
let {
|
|
25321
|
-
slots
|
|
25322
|
-
} = _ref;
|
|
25323
|
-
const {
|
|
25324
|
-
themeClasses
|
|
25325
|
-
} = provideTheme(props);
|
|
25326
|
-
const {
|
|
25327
|
-
densityClasses
|
|
25328
|
-
} = useDensity(props);
|
|
25329
|
-
const {
|
|
25330
|
-
rtlClasses
|
|
25331
|
-
} = useRtl();
|
|
25332
|
-
provideDefaults({
|
|
25333
|
-
VTimelineDivider: {
|
|
25334
|
-
lineColor: toRef(props, 'lineColor')
|
|
25335
|
-
},
|
|
25336
|
-
VTimelineItem: {
|
|
25337
|
-
density: toRef(props, 'density'),
|
|
25338
|
-
lineInset: toRef(props, 'lineInset')
|
|
25339
|
-
}
|
|
25340
|
-
});
|
|
25341
|
-
const sideClasses = computed(() => {
|
|
25342
|
-
const side = props.side ? props.side : props.density !== 'default' ? 'end' : null;
|
|
25343
|
-
return side && `v-timeline--side-${side}`;
|
|
25344
|
-
});
|
|
25345
|
-
const truncateClasses = computed(() => {
|
|
25346
|
-
const classes = ['v-timeline--truncate-line-start', 'v-timeline--truncate-line-end'];
|
|
25347
|
-
switch (props.truncateLine) {
|
|
25348
|
-
case 'both':
|
|
25349
|
-
return classes;
|
|
25350
|
-
case 'start':
|
|
25351
|
-
return classes[0];
|
|
25352
|
-
case 'end':
|
|
25353
|
-
return classes[1];
|
|
25354
|
-
default:
|
|
25355
|
-
return null;
|
|
25356
|
-
}
|
|
25357
|
-
});
|
|
25358
|
-
useRender(() => createVNode(props.tag, {
|
|
25359
|
-
"class": ['v-timeline', `v-timeline--${props.direction}`, `v-timeline--align-${props.align}`, `v-timeline--justify-${props.justify}`, truncateClasses.value, {
|
|
25360
|
-
'v-timeline--inset-line': !!props.lineInset
|
|
25361
|
-
}, themeClasses.value, densityClasses.value, sideClasses.value, rtlClasses.value, props.class],
|
|
25362
|
-
"style": [{
|
|
25363
|
-
'--v-timeline-line-thickness': convertToUnit(props.lineThickness)
|
|
25364
|
-
}, props.style]
|
|
25365
|
-
}, slots));
|
|
25366
|
-
return {};
|
|
25367
|
-
}
|
|
25368
|
-
});
|
|
25369
|
-
|
|
25370
25276
|
const makeVTimelineDividerProps = propsFactory({
|
|
25371
25277
|
dotColor: String,
|
|
25372
25278
|
fillDot: Boolean,
|
|
@@ -25513,6 +25419,103 @@ const VTimelineItem = genericComponent()({
|
|
|
25513
25419
|
}
|
|
25514
25420
|
});
|
|
25515
25421
|
|
|
25422
|
+
const makeVTimelineProps = propsFactory({
|
|
25423
|
+
align: {
|
|
25424
|
+
type: String,
|
|
25425
|
+
default: 'center',
|
|
25426
|
+
validator: v => ['center', 'start'].includes(v)
|
|
25427
|
+
},
|
|
25428
|
+
direction: {
|
|
25429
|
+
type: String,
|
|
25430
|
+
default: 'vertical',
|
|
25431
|
+
validator: v => ['vertical', 'horizontal'].includes(v)
|
|
25432
|
+
},
|
|
25433
|
+
justify: {
|
|
25434
|
+
type: String,
|
|
25435
|
+
default: 'auto',
|
|
25436
|
+
validator: v => ['auto', 'center'].includes(v)
|
|
25437
|
+
},
|
|
25438
|
+
side: {
|
|
25439
|
+
type: String,
|
|
25440
|
+
validator: v => v == null || ['start', 'end'].includes(v)
|
|
25441
|
+
},
|
|
25442
|
+
lineThickness: {
|
|
25443
|
+
type: [String, Number],
|
|
25444
|
+
default: 2
|
|
25445
|
+
},
|
|
25446
|
+
lineColor: String,
|
|
25447
|
+
truncateLine: {
|
|
25448
|
+
type: String,
|
|
25449
|
+
validator: v => ['start', 'end', 'both'].includes(v)
|
|
25450
|
+
},
|
|
25451
|
+
...only(makeVTimelineItemProps({
|
|
25452
|
+
lineInset: 0
|
|
25453
|
+
}), ['dotColor', 'fillDot', 'hideOpposite', 'iconColor', 'lineInset', 'size']),
|
|
25454
|
+
...makeComponentProps(),
|
|
25455
|
+
...makeDensityProps(),
|
|
25456
|
+
...makeTagProps(),
|
|
25457
|
+
...makeThemeProps()
|
|
25458
|
+
}, 'VTimeline');
|
|
25459
|
+
const VTimeline = genericComponent()({
|
|
25460
|
+
name: 'VTimeline',
|
|
25461
|
+
props: makeVTimelineProps(),
|
|
25462
|
+
setup(props, _ref) {
|
|
25463
|
+
let {
|
|
25464
|
+
slots
|
|
25465
|
+
} = _ref;
|
|
25466
|
+
const {
|
|
25467
|
+
themeClasses
|
|
25468
|
+
} = provideTheme(props);
|
|
25469
|
+
const {
|
|
25470
|
+
densityClasses
|
|
25471
|
+
} = useDensity(props);
|
|
25472
|
+
const {
|
|
25473
|
+
rtlClasses
|
|
25474
|
+
} = useRtl();
|
|
25475
|
+
provideDefaults({
|
|
25476
|
+
VTimelineDivider: {
|
|
25477
|
+
lineColor: toRef(props, 'lineColor')
|
|
25478
|
+
},
|
|
25479
|
+
VTimelineItem: {
|
|
25480
|
+
density: toRef(props, 'density'),
|
|
25481
|
+
dotColor: toRef(props, 'lineColor'),
|
|
25482
|
+
fillDot: toRef(props, 'fillDot'),
|
|
25483
|
+
hideOpposite: toRef(props, 'hideOpposite'),
|
|
25484
|
+
iconColor: toRef(props, 'iconColor'),
|
|
25485
|
+
lineColor: toRef(props, 'lineColor'),
|
|
25486
|
+
lineInset: toRef(props, 'lineInset'),
|
|
25487
|
+
size: toRef(props, 'size')
|
|
25488
|
+
}
|
|
25489
|
+
});
|
|
25490
|
+
const sideClasses = computed(() => {
|
|
25491
|
+
const side = props.side ? props.side : props.density !== 'default' ? 'end' : null;
|
|
25492
|
+
return side && `v-timeline--side-${side}`;
|
|
25493
|
+
});
|
|
25494
|
+
const truncateClasses = computed(() => {
|
|
25495
|
+
const classes = ['v-timeline--truncate-line-start', 'v-timeline--truncate-line-end'];
|
|
25496
|
+
switch (props.truncateLine) {
|
|
25497
|
+
case 'both':
|
|
25498
|
+
return classes;
|
|
25499
|
+
case 'start':
|
|
25500
|
+
return classes[0];
|
|
25501
|
+
case 'end':
|
|
25502
|
+
return classes[1];
|
|
25503
|
+
default:
|
|
25504
|
+
return null;
|
|
25505
|
+
}
|
|
25506
|
+
});
|
|
25507
|
+
useRender(() => createVNode(props.tag, {
|
|
25508
|
+
"class": ['v-timeline', `v-timeline--${props.direction}`, `v-timeline--align-${props.align}`, `v-timeline--justify-${props.justify}`, truncateClasses.value, {
|
|
25509
|
+
'v-timeline--inset-line': !!props.lineInset
|
|
25510
|
+
}, themeClasses.value, densityClasses.value, sideClasses.value, rtlClasses.value, props.class],
|
|
25511
|
+
"style": [{
|
|
25512
|
+
'--v-timeline-line-thickness': convertToUnit(props.lineThickness)
|
|
25513
|
+
}, props.style]
|
|
25514
|
+
}, slots));
|
|
25515
|
+
return {};
|
|
25516
|
+
}
|
|
25517
|
+
});
|
|
25518
|
+
|
|
25516
25519
|
const makeVToolbarItemsProps = propsFactory({
|
|
25517
25520
|
...makeComponentProps(),
|
|
25518
25521
|
...makeVariantProps({
|
|
@@ -27668,7 +27671,7 @@ function createVuetify$1() {
|
|
|
27668
27671
|
goTo
|
|
27669
27672
|
};
|
|
27670
27673
|
}
|
|
27671
|
-
const version$1 = "3.5.9-dev.2024-03-
|
|
27674
|
+
const version$1 = "3.5.9-dev.2024-03-29";
|
|
27672
27675
|
createVuetify$1.version = version$1;
|
|
27673
27676
|
|
|
27674
27677
|
// Vue's inject() can only be used in setup
|
|
@@ -27921,7 +27924,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
27921
27924
|
|
|
27922
27925
|
/* eslint-disable local-rules/sort-imports */
|
|
27923
27926
|
|
|
27924
|
-
const version = "3.5.9-dev.2024-03-
|
|
27927
|
+
const version = "3.5.9-dev.2024-03-29";
|
|
27925
27928
|
|
|
27926
27929
|
/* eslint-disable local-rules/sort-imports */
|
|
27927
27930
|
|