@porsche-design-system/components-vue 3.1.0-rc.0 → 3.1.0-rc.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/CHANGELOG.md +17 -1
- package/PorscheDesignSystemProvider.vue.d.ts +1 -6
- package/lib/components/AccordionWrapper.vue.d.ts +1 -6
- package/lib/components/AccordionWrapper.vue.js +8 -8
- package/lib/components/BannerWrapper.vue.d.ts +1 -6
- package/lib/components/BannerWrapper.vue.js +5 -5
- package/lib/components/ButtonGroupWrapper.vue.d.ts +1 -6
- package/lib/components/ButtonPureWrapper.vue.d.ts +1 -6
- package/lib/components/ButtonPureWrapper.vue.js +2 -2
- package/lib/components/ButtonTileWrapper.vue.d.ts +1 -6
- package/lib/components/ButtonTileWrapper.vue.js +11 -11
- package/lib/components/ButtonWrapper.vue.d.ts +1 -6
- package/lib/components/ButtonWrapper.vue.js +7 -7
- package/lib/components/CarouselWrapper.vue.d.ts +1 -6
- package/lib/components/CarouselWrapper.vue.js +13 -13
- package/lib/components/CheckboxWrapperWrapper.vue.d.ts +2 -7
- package/lib/components/ContentWrapperWrapper.vue.d.ts +1 -6
- package/lib/components/CrestWrapper.vue.d.ts +1 -2
- package/lib/components/CrestWrapper.vue.js +8 -8
- package/lib/components/DisplayWrapper.vue.d.ts +1 -6
- package/lib/components/DisplayWrapper.vue.js +7 -7
- package/lib/components/DividerWrapper.vue.d.ts +1 -2
- package/lib/components/DividerWrapper.vue.js +9 -9
- package/lib/components/FieldsetWrapper.vue.d.ts +1 -6
- package/lib/components/FieldsetWrapperWrapper.vue.d.ts +1 -6
- package/lib/components/FlexItemWrapper.vue.d.ts +1 -6
- package/lib/components/FlexWrapper.vue.d.ts +1 -6
- package/lib/components/GridItemWrapper.vue.d.ts +1 -6
- package/lib/components/GridWrapper.vue.d.ts +1 -6
- package/lib/components/HeadingWrapper.vue.d.ts +1 -6
- package/lib/components/HeadingWrapper.vue.js +3 -3
- package/lib/components/HeadlineWrapper.vue.d.ts +1 -6
- package/lib/components/HeadlineWrapper.vue.js +5 -5
- package/lib/components/IconWrapper.vue.d.ts +2 -3
- package/lib/components/IconWrapper.vue.js +2 -2
- package/lib/components/InlineNotificationWrapper.vue.d.ts +2 -7
- package/lib/components/InlineNotificationWrapper.vue.js +7 -7
- package/lib/components/LinkPureWrapper.vue.d.ts +1 -6
- package/lib/components/LinkPureWrapper.vue.js +16 -16
- package/lib/components/LinkSocialWrapper.vue.d.ts +1 -6
- package/lib/components/LinkSocialWrapper.vue.js +14 -14
- package/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +1 -6
- package/lib/components/LinkTileModelSignatureWrapper.vue.js +6 -6
- package/lib/components/LinkTileWrapper.vue.d.ts +1 -6
- package/lib/components/LinkTileWrapper.vue.js +16 -16
- package/lib/components/LinkWrapper.vue.d.ts +1 -6
- package/lib/components/LinkWrapper.vue.js +15 -15
- package/lib/components/MarqueWrapper.vue.d.ts +1 -2
- package/lib/components/MarqueWrapper.vue.js +10 -10
- package/lib/components/ModalWrapper.vue.d.ts +1 -6
- package/lib/components/ModalWrapper.vue.js +7 -7
- package/lib/components/ModelSignatureWrapper.vue.d.ts +1 -2
- package/lib/components/PaginationWrapper.vue.d.ts +1 -2
- package/lib/components/PaginationWrapper.vue.js +10 -10
- package/lib/components/PopoverWrapper.vue.d.ts +1 -6
- package/lib/components/PopoverWrapper.vue.js +7 -7
- package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +1 -6
- package/lib/components/ScrollerWrapper.vue.d.ts +1 -6
- package/lib/components/ScrollerWrapper.vue.js +11 -11
- package/lib/components/SegmentedControlItemWrapper.vue.d.ts +1 -6
- package/lib/components/SegmentedControlItemWrapper.vue.js +13 -13
- package/lib/components/SegmentedControlWrapper.vue.d.ts +1 -6
- package/lib/components/SegmentedControlWrapper.vue.js +11 -11
- package/lib/components/SelectWrapperWrapper.vue.d.ts +1 -6
- package/lib/components/SpinnerWrapper.vue.d.ts +1 -2
- package/lib/components/SpinnerWrapper.vue.js +4 -4
- package/lib/components/StepperHorizontalItemWrapper.vue.d.ts +1 -6
- package/lib/components/StepperHorizontalItemWrapper.vue.js +4 -4
- package/lib/components/StepperHorizontalWrapper.vue.d.ts +1 -6
- package/lib/components/SwitchWrapper.vue.d.ts +1 -6
- package/lib/components/TableBodyWrapper.vue.d.ts +1 -6
- package/lib/components/TableCellWrapper.vue.d.ts +1 -6
- package/lib/components/TableHeadCellWrapper.vue.d.ts +1 -6
- package/lib/components/TableHeadCellWrapper.vue.js +3 -3
- package/lib/components/TableHeadRowWrapper.vue.d.ts +1 -6
- package/lib/components/TableHeadWrapper.vue.d.ts +1 -6
- package/lib/components/TableRowWrapper.vue.d.ts +1 -6
- package/lib/components/TableWrapper.vue.d.ts +1 -6
- package/lib/components/TableWrapper.vue.js +4 -4
- package/lib/components/TabsBarWrapper.vue.d.ts +1 -6
- package/lib/components/TabsBarWrapper.vue.js +8 -8
- package/lib/components/TabsItemWrapper.vue.d.ts +1 -6
- package/lib/components/TabsItemWrapper.vue.js +3 -3
- package/lib/components/TabsWrapper.vue.d.ts +1 -6
- package/lib/components/TabsWrapper.vue.js +7 -7
- package/lib/components/TagDismissibleWrapper.vue.d.ts +1 -6
- package/lib/components/TagDismissibleWrapper.vue.js +7 -7
- package/lib/components/TagWrapper.vue.d.ts +1 -6
- package/lib/components/TagWrapper.vue.js +11 -11
- package/lib/components/TextFieldWrapperWrapper.vue.d.ts +8 -6
- package/lib/components/TextFieldWrapperWrapper.vue.js +13 -12
- package/lib/components/TextListItemWrapper.vue.d.ts +1 -6
- package/lib/components/TextListWrapper.vue.d.ts +1 -6
- package/lib/components/TextListWrapper.vue.js +8 -8
- package/lib/components/TextWrapper.vue.d.ts +1 -6
- package/lib/components/TextareaWrapperWrapper.vue.d.ts +1 -6
- package/lib/components/ToastWrapper.vue.d.ts +1 -2
- package/lib/components/WordmarkWrapper.vue.d.ts +1 -2
- package/lib/components/WordmarkWrapper.vue.js +11 -11
- package/lib/types.d.ts +8 -1
- package/package.json +2 -2
- package/utils.d.ts +1 -1
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getPrefixedTagName as g, syncProperties as
|
|
3
|
-
const h = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as l, ref as f, onMounted as p, onUpdated as d, openBlock as s, createBlock as i, resolveDynamicComponent as u, unref as c, withCtx as m, renderSlot as _ } from "vue";
|
|
2
|
+
import { getPrefixedTagName as g, syncProperties as o } from "../../utils.js";
|
|
3
|
+
const h = /* @__PURE__ */ l({
|
|
4
4
|
__name: "LinkTileWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
align: { default: "bottom" },
|
|
7
|
-
aria:
|
|
7
|
+
aria: {},
|
|
8
8
|
aspectRatio: { default: "4:3" },
|
|
9
9
|
compact: { default: !1 },
|
|
10
|
-
description:
|
|
11
|
-
download:
|
|
10
|
+
description: {},
|
|
11
|
+
download: {},
|
|
12
12
|
gradient: { type: Boolean, default: !0 },
|
|
13
|
-
href:
|
|
14
|
-
label:
|
|
15
|
-
rel:
|
|
13
|
+
href: {},
|
|
14
|
+
label: {},
|
|
15
|
+
rel: {},
|
|
16
16
|
size: { default: "default" },
|
|
17
17
|
target: { default: "_self" },
|
|
18
18
|
weight: { default: "semi-bold" }
|
|
19
19
|
},
|
|
20
|
-
setup(
|
|
21
|
-
const t =
|
|
20
|
+
setup(a) {
|
|
21
|
+
const t = a, n = g("p-link-tile"), e = f();
|
|
22
22
|
return p(() => {
|
|
23
|
-
|
|
24
|
-
}),
|
|
25
|
-
|
|
26
|
-
}), (
|
|
23
|
+
o(e.value, t);
|
|
24
|
+
}), d(() => {
|
|
25
|
+
o(e.value, t);
|
|
26
|
+
}), (r, C) => (s(), i(u(c(n)), {
|
|
27
27
|
ref_key: "pdsComponentRef",
|
|
28
28
|
ref: e
|
|
29
29
|
}, {
|
|
30
30
|
default: m(() => [
|
|
31
|
-
_(
|
|
31
|
+
_(r.$slots, "default")
|
|
32
32
|
]),
|
|
33
33
|
_: 3
|
|
34
34
|
}, 512));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { SelectedAriaAttributes, LinkAriaAttribute, BreakpointCustomizable, LinkIcon, LinkTarget, Theme, LinkVariant } from '../types';
|
|
3
2
|
type PLinkProps = {
|
|
4
3
|
/**
|
|
@@ -60,7 +59,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
60
59
|
icon: import("../types").LinkButtonIconName;
|
|
61
60
|
variant: "primary" | "secondary" | "tertiary";
|
|
62
61
|
target: string;
|
|
63
|
-
}>, {
|
|
62
|
+
}, {}>, {
|
|
64
63
|
default?(_: {}): any;
|
|
65
64
|
}>;
|
|
66
65
|
export default _default;
|
|
@@ -81,12 +80,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
81
80
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
82
81
|
new (): {
|
|
83
82
|
$slots: S;
|
|
84
|
-
$props: __VLS_PropsChildren<S>;
|
|
85
83
|
};
|
|
86
84
|
};
|
|
87
|
-
type __VLS_PropsChildren<S> = {
|
|
88
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
89
|
-
};
|
|
90
85
|
type __VLS_Prettify<T> = {
|
|
91
86
|
[K in keyof T]: T[K];
|
|
92
87
|
} & {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getPrefixedTagName as h, syncProperties as
|
|
3
|
-
const v = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as f, ref as l, onMounted as p, onUpdated as d, openBlock as s, createBlock as i, resolveDynamicComponent as u, unref as c, withCtx as m, renderSlot as _ } from "vue";
|
|
2
|
+
import { getPrefixedTagName as h, syncProperties as t } from "../../utils.js";
|
|
3
|
+
const v = /* @__PURE__ */ f({
|
|
4
4
|
__name: "LinkWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
aria:
|
|
7
|
-
download:
|
|
6
|
+
aria: {},
|
|
7
|
+
download: {},
|
|
8
8
|
hideLabel: { default: !1 },
|
|
9
|
-
href:
|
|
9
|
+
href: {},
|
|
10
10
|
icon: { default: "none" },
|
|
11
|
-
iconSource:
|
|
12
|
-
rel:
|
|
11
|
+
iconSource: {},
|
|
12
|
+
rel: {},
|
|
13
13
|
target: { default: "_self" },
|
|
14
14
|
theme: { default: "light" },
|
|
15
15
|
variant: { default: "primary" }
|
|
16
16
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
17
|
+
setup(n) {
|
|
18
|
+
const o = n, r = h("p-link"), e = l();
|
|
19
19
|
return p(() => {
|
|
20
|
-
|
|
21
|
-
}),
|
|
22
|
-
|
|
23
|
-
}), (
|
|
20
|
+
t(e.value, o);
|
|
21
|
+
}), d(() => {
|
|
22
|
+
t(e.value, o);
|
|
23
|
+
}), (a, C) => (s(), i(u(c(r)), {
|
|
24
24
|
ref_key: "pdsComponentRef",
|
|
25
25
|
ref: e
|
|
26
26
|
}, {
|
|
27
27
|
default: m(() => [
|
|
28
|
-
_(
|
|
28
|
+
_(a.$slots, "default")
|
|
29
29
|
]),
|
|
30
30
|
_: 3
|
|
31
31
|
}, 512));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { SelectedAriaAttributes, MarqueAriaAttribute, MarqueSize, MarqueTarget, MarqueVariant } from '../types';
|
|
3
2
|
type PMarqueProps = {
|
|
4
3
|
/**
|
|
@@ -42,7 +41,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
42
41
|
variant: "default" | "75-years";
|
|
43
42
|
target: string;
|
|
44
43
|
trademark: boolean;
|
|
45
|
-
}>;
|
|
44
|
+
}, {}>;
|
|
46
45
|
export default _default;
|
|
47
46
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
47
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as a, ref as p, onMounted as f, onUpdated as
|
|
2
|
-
import { getPrefixedTagName as c, syncProperties as
|
|
1
|
+
import { defineComponent as a, ref as p, onMounted as f, onUpdated as s, openBlock as u, createBlock as l, resolveDynamicComponent as m, unref as d } from "vue";
|
|
2
|
+
import { getPrefixedTagName as c, syncProperties as o } from "../../utils.js";
|
|
3
3
|
const g = /* @__PURE__ */ a({
|
|
4
4
|
__name: "MarqueWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
aria:
|
|
7
|
-
href:
|
|
6
|
+
aria: {},
|
|
7
|
+
href: {},
|
|
8
8
|
size: { default: "responsive" },
|
|
9
9
|
target: { default: "_self" },
|
|
10
10
|
trademark: { type: Boolean, default: !0 },
|
|
11
11
|
variant: { default: "default" }
|
|
12
12
|
},
|
|
13
|
-
setup(
|
|
14
|
-
const t =
|
|
13
|
+
setup(r) {
|
|
14
|
+
const t = r, n = c("p-marque"), e = p();
|
|
15
15
|
return f(() => {
|
|
16
|
-
|
|
17
|
-
}),
|
|
18
|
-
|
|
19
|
-
}), (i, _) => (u(),
|
|
16
|
+
o(e.value, t);
|
|
17
|
+
}), s(() => {
|
|
18
|
+
o(e.value, t);
|
|
19
|
+
}), (i, _) => (u(), l(m(d(n)), {
|
|
20
20
|
ref_key: "pdsComponentRef",
|
|
21
21
|
ref: e
|
|
22
22
|
}, null, 512));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { SelectedAriaAttributes, ModalAriaAttribute, BreakpointCustomizable } from '../types';
|
|
3
2
|
type PModalProps = {
|
|
4
3
|
/**
|
|
@@ -51,7 +50,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
51
50
|
dismissButton: boolean;
|
|
52
51
|
disableBackdropClick: boolean;
|
|
53
52
|
fullscreen: BreakpointCustomizable<boolean>;
|
|
54
|
-
}>, {
|
|
53
|
+
}, {}>, {
|
|
55
54
|
default?(_: {}): any;
|
|
56
55
|
}>;
|
|
57
56
|
export default _default;
|
|
@@ -72,12 +71,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
72
71
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
73
72
|
new (): {
|
|
74
73
|
$slots: S;
|
|
75
|
-
$props: __VLS_PropsChildren<S>;
|
|
76
74
|
};
|
|
77
75
|
};
|
|
78
|
-
type __VLS_PropsChildren<S> = {
|
|
79
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
80
|
-
};
|
|
81
76
|
type __VLS_Prettify<T> = {
|
|
82
77
|
[K in keyof T]: T[K];
|
|
83
78
|
} & {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineComponent as p, ref as d, onMounted as f, onUpdated as
|
|
1
|
+
import { defineComponent as p, ref as d, onMounted as f, onUpdated as i, openBlock as u, createBlock as m, resolveDynamicComponent as c, unref as B, withCtx as C, renderSlot as y } from "vue";
|
|
2
2
|
import { getPrefixedTagName as _, syncProperties as n, addEventListenerToElementRef as a } from "../../utils.js";
|
|
3
3
|
const b = /* @__PURE__ */ p({
|
|
4
4
|
__name: "ModalWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
aria:
|
|
6
|
+
aria: {},
|
|
7
7
|
disableBackdropClick: { type: Boolean, default: !1 },
|
|
8
8
|
disableCloseButton: { type: Boolean },
|
|
9
9
|
dismissButton: { type: Boolean, default: !0 },
|
|
10
10
|
fullscreen: { default: !1 },
|
|
11
|
-
heading:
|
|
11
|
+
heading: {},
|
|
12
12
|
open: { type: Boolean, default: !1 }
|
|
13
13
|
},
|
|
14
14
|
emits: ["close", "dismiss"],
|
|
15
|
-
setup(
|
|
16
|
-
const t =
|
|
15
|
+
setup(s, { emit: o }) {
|
|
16
|
+
const t = s, l = _("p-modal"), e = d();
|
|
17
17
|
return f(() => {
|
|
18
18
|
n(e.value, t), a(e.value, "close", o), a(e.value, "dismiss", o);
|
|
19
|
-
}),
|
|
19
|
+
}), i(() => {
|
|
20
20
|
n(e.value, t);
|
|
21
|
-
}), (r, v) => (
|
|
21
|
+
}), (r, v) => (u(), m(c(B(l)), {
|
|
22
22
|
ref_key: "pdsComponentRef",
|
|
23
23
|
ref: e
|
|
24
24
|
}, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { ModelSignatureColor, ModelSignatureModel, ModelSignatureSize, Theme } from '../types';
|
|
3
2
|
type PModelSignatureProps = {
|
|
4
3
|
/**
|
|
@@ -33,7 +32,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
33
32
|
theme: "light" | "dark";
|
|
34
33
|
color: "inherit" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high";
|
|
35
34
|
model: "718" | "911" | "boxster" | "cayenne" | "cayman" | "macan" | "panamera" | "taycan" | "turbo-s" | "turbo";
|
|
36
|
-
}>;
|
|
35
|
+
}, {}>;
|
|
37
36
|
export default _default;
|
|
38
37
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
38
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { PaginationInternationalization, BreakpointCustomizable, PaginationMaxNumberOfPageLinks, PaginationUpdateEvent, Theme } from '../types';
|
|
3
2
|
type PPaginationProps = {
|
|
4
3
|
/**
|
|
@@ -85,7 +84,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
85
84
|
itemsPerPage: number;
|
|
86
85
|
maxNumberOfPageLinks: BreakpointCustomizable<7 | 5>;
|
|
87
86
|
totalItemsCount: number;
|
|
88
|
-
}>;
|
|
87
|
+
}, {}>;
|
|
89
88
|
export default _default;
|
|
90
89
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
91
90
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as r, ref as
|
|
2
|
-
import { getPrefixedTagName as c, syncProperties as n, addEventListenerToElementRef as
|
|
1
|
+
import { defineComponent as r, ref as s, onMounted as u, onUpdated as f, openBlock as i, createBlock as g, resolveDynamicComponent as m, unref as d } from "vue";
|
|
2
|
+
import { getPrefixedTagName as c, syncProperties as n, addEventListenerToElementRef as o } from "../../utils.js";
|
|
3
3
|
const b = /* @__PURE__ */ r({
|
|
4
4
|
__name: "PaginationWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
activePage: { default: 1 },
|
|
7
|
-
allyLabel:
|
|
8
|
-
allyLabelNext:
|
|
9
|
-
allyLabelPage:
|
|
10
|
-
allyLabelPrev:
|
|
7
|
+
allyLabel: {},
|
|
8
|
+
allyLabelNext: {},
|
|
9
|
+
allyLabelPage: {},
|
|
10
|
+
allyLabelPrev: {},
|
|
11
11
|
intl: { default: () => ({ root: "Pagination", prev: "Previous page", next: "Next page", page: "Page" }) },
|
|
12
12
|
itemsPerPage: { default: 1 },
|
|
13
13
|
maxNumberOfPageLinks: { default: () => ({ base: 5, xs: 7 }) },
|
|
@@ -15,10 +15,10 @@ const b = /* @__PURE__ */ r({
|
|
|
15
15
|
totalItemsCount: { default: 1 }
|
|
16
16
|
},
|
|
17
17
|
emits: ["pageChange", "update"],
|
|
18
|
-
setup(
|
|
19
|
-
const t =
|
|
20
|
-
return
|
|
21
|
-
n(e.value, t),
|
|
18
|
+
setup(l, { emit: a }) {
|
|
19
|
+
const t = l, p = c("p-pagination"), e = s();
|
|
20
|
+
return u(() => {
|
|
21
|
+
n(e.value, t), o(e.value, "pageChange", a), o(e.value, "update", a);
|
|
22
22
|
}), f(() => {
|
|
23
23
|
n(e.value, t);
|
|
24
24
|
}), (P, v) => (i(), g(m(d(p)), {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { SelectedAriaAttributes, PopoverAriaAttribute, PopoverDirection, Theme } from '../types';
|
|
3
2
|
type PPopoverProps = {
|
|
4
3
|
/**
|
|
@@ -27,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
27
26
|
}>>>, {
|
|
28
27
|
theme: "light" | "dark";
|
|
29
28
|
direction: "top" | "bottom" | "left" | "right";
|
|
30
|
-
}>, {
|
|
29
|
+
}, {}>, {
|
|
31
30
|
default?(_: {}): any;
|
|
32
31
|
}>;
|
|
33
32
|
export default _default;
|
|
@@ -48,12 +47,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
48
47
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
48
|
new (): {
|
|
50
49
|
$slots: S;
|
|
51
|
-
$props: __VLS_PropsChildren<S>;
|
|
52
50
|
};
|
|
53
51
|
};
|
|
54
|
-
type __VLS_PropsChildren<S> = {
|
|
55
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
56
|
-
};
|
|
57
52
|
type __VLS_Prettify<T> = {
|
|
58
53
|
[K in keyof T]: T[K];
|
|
59
54
|
} & {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as a, ref as
|
|
1
|
+
import { defineComponent as a, ref as s, onMounted as f, onUpdated as d, openBlock as m, createBlock as c, resolveDynamicComponent as i, unref as l, withCtx as u, renderSlot as _ } from "vue";
|
|
2
2
|
import { getPrefixedTagName as C, syncProperties as t } from "../../utils.js";
|
|
3
3
|
const k = /* @__PURE__ */ a({
|
|
4
4
|
__name: "PopoverWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
aria:
|
|
7
|
-
description:
|
|
6
|
+
aria: {},
|
|
7
|
+
description: {},
|
|
8
8
|
direction: { default: "bottom" },
|
|
9
9
|
theme: { default: "light" }
|
|
10
10
|
},
|
|
11
11
|
setup(n) {
|
|
12
|
-
const o = n, r = C("p-popover"), e =
|
|
13
|
-
return
|
|
12
|
+
const o = n, r = C("p-popover"), e = s();
|
|
13
|
+
return f(() => {
|
|
14
14
|
t(e.value, o);
|
|
15
|
-
}),
|
|
15
|
+
}), d(() => {
|
|
16
16
|
t(e.value, o);
|
|
17
|
-
}), (p, v) => (
|
|
17
|
+
}), (p, v) => (m(), c(i(l(r)), {
|
|
18
18
|
ref_key: "pdsComponentRef",
|
|
19
19
|
ref: e
|
|
20
20
|
}, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { BreakpointCustomizable, RadioButtonWrapperState, Theme } from '../types';
|
|
3
2
|
type PRadioButtonWrapperProps = {
|
|
4
3
|
/**
|
|
@@ -40,7 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
39
|
state: "success" | "none" | "error";
|
|
41
40
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
42
41
|
message: string;
|
|
43
|
-
}>, {
|
|
42
|
+
}, {}>, {
|
|
44
43
|
default?(_: {}): any;
|
|
45
44
|
}>;
|
|
46
45
|
export default _default;
|
|
@@ -61,12 +60,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
61
60
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
61
|
new (): {
|
|
63
62
|
$slots: S;
|
|
64
|
-
$props: __VLS_PropsChildren<S>;
|
|
65
63
|
};
|
|
66
64
|
};
|
|
67
|
-
type __VLS_PropsChildren<S> = {
|
|
68
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
69
|
-
};
|
|
70
65
|
type __VLS_Prettify<T> = {
|
|
71
66
|
[K in keyof T]: T[K];
|
|
72
67
|
} & {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { ScrollerAlignScrollIndicator, SelectedAriaAttributes, ScrollerAriaAttribute, ScrollerGradientColor, ScrollerGradientColorScheme, ScrollerScrollIndicatorPosition, ScrollerScrollToPosition, Theme } from '../types';
|
|
3
2
|
type PScrollerProps = {
|
|
4
3
|
/**
|
|
@@ -49,7 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
49
48
|
theme: "light" | "dark";
|
|
50
49
|
alignScrollIndicator: "top" | "center";
|
|
51
50
|
gradientColor: "background-base" | "background-surface";
|
|
52
|
-
}>, {
|
|
51
|
+
}, {}>, {
|
|
53
52
|
default?(_: {}): any;
|
|
54
53
|
}>;
|
|
55
54
|
export default _default;
|
|
@@ -70,12 +69,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
70
69
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
71
70
|
new (): {
|
|
72
71
|
$slots: S;
|
|
73
|
-
$props: __VLS_PropsChildren<S>;
|
|
74
72
|
};
|
|
75
73
|
};
|
|
76
|
-
type __VLS_PropsChildren<S> = {
|
|
77
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
78
|
-
};
|
|
79
74
|
type __VLS_Prettify<T> = {
|
|
80
75
|
[K in keyof T]: T[K];
|
|
81
76
|
} & {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as l, ref as s, onMounted as c, onUpdated as p, openBlock as d, createBlock as f, resolveDynamicComponent as i, unref as m, withCtx as u, renderSlot as g } from "vue";
|
|
2
2
|
import { getPrefixedTagName as C, syncProperties as r } from "../../utils.js";
|
|
3
|
-
const k = /* @__PURE__ */
|
|
3
|
+
const k = /* @__PURE__ */ l({
|
|
4
4
|
__name: "ScrollerWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
alignScrollIndicator: { default: "center" },
|
|
7
|
-
aria:
|
|
7
|
+
aria: {},
|
|
8
8
|
gradientColor: { default: "background-base" },
|
|
9
|
-
gradientColorScheme:
|
|
10
|
-
scrollIndicatorPosition:
|
|
11
|
-
scrollToPosition:
|
|
9
|
+
gradientColorScheme: {},
|
|
10
|
+
scrollIndicatorPosition: {},
|
|
11
|
+
scrollToPosition: {},
|
|
12
12
|
scrollbar: { type: Boolean, default: !1 },
|
|
13
13
|
theme: { default: "light" }
|
|
14
14
|
},
|
|
15
|
-
setup(
|
|
16
|
-
const o =
|
|
15
|
+
setup(t) {
|
|
16
|
+
const o = t, n = C("p-scroller"), e = s();
|
|
17
17
|
return c(() => {
|
|
18
18
|
r(e.value, o);
|
|
19
19
|
}), p(() => {
|
|
20
20
|
r(e.value, o);
|
|
21
|
-
}), (
|
|
21
|
+
}), (a, _) => (d(), f(i(m(n)), {
|
|
22
22
|
ref_key: "pdsComponentRef",
|
|
23
23
|
ref: e
|
|
24
24
|
}, {
|
|
25
|
-
default:
|
|
26
|
-
g(
|
|
25
|
+
default: u(() => [
|
|
26
|
+
g(a.$slots, "default")
|
|
27
27
|
]),
|
|
28
28
|
_: 3
|
|
29
29
|
}, 512));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { SegmentedControlItemIcon } from '../types';
|
|
3
2
|
type PSegmentedControlItemProps = {
|
|
4
3
|
/**
|
|
@@ -28,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
28
27
|
disabled: boolean;
|
|
29
28
|
}>>>, {
|
|
30
29
|
disabled: boolean;
|
|
31
|
-
}>, {
|
|
30
|
+
}, {}>, {
|
|
32
31
|
default?(_: {}): any;
|
|
33
32
|
}>;
|
|
34
33
|
export default _default;
|
|
@@ -49,12 +48,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
49
48
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
50
49
|
new (): {
|
|
51
50
|
$slots: S;
|
|
52
|
-
$props: __VLS_PropsChildren<S>;
|
|
53
51
|
};
|
|
54
52
|
};
|
|
55
|
-
type __VLS_PropsChildren<S> = {
|
|
56
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
57
|
-
};
|
|
58
53
|
type __VLS_Prettify<T> = {
|
|
59
54
|
[K in keyof T]: T[K];
|
|
60
55
|
} & {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getPrefixedTagName as _, syncProperties as
|
|
3
|
-
const b = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as p, ref as l, onMounted as s, onUpdated as m, openBlock as c, createBlock as d, resolveDynamicComponent as f, unref as u, withCtx as i, renderSlot as C } from "vue";
|
|
2
|
+
import { getPrefixedTagName as _, syncProperties as t } from "../../utils.js";
|
|
3
|
+
const b = /* @__PURE__ */ p({
|
|
4
4
|
__name: "SegmentedControlItemWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
disabled: { type: Boolean, default: !1 },
|
|
7
|
-
icon:
|
|
8
|
-
iconSource:
|
|
9
|
-
label:
|
|
10
|
-
value:
|
|
7
|
+
icon: {},
|
|
8
|
+
iconSource: {},
|
|
9
|
+
label: {},
|
|
10
|
+
value: {}
|
|
11
11
|
},
|
|
12
|
-
setup(
|
|
13
|
-
const o =
|
|
12
|
+
setup(n) {
|
|
13
|
+
const o = n, r = _("p-segmented-control-item"), e = l();
|
|
14
14
|
return s(() => {
|
|
15
|
-
|
|
15
|
+
t(e.value, o);
|
|
16
16
|
}), m(() => {
|
|
17
|
-
|
|
18
|
-
}), (
|
|
17
|
+
t(e.value, o);
|
|
18
|
+
}), (a, g) => (c(), d(f(u(r)), {
|
|
19
19
|
ref_key: "pdsComponentRef",
|
|
20
20
|
ref: e
|
|
21
21
|
}, {
|
|
22
22
|
default: i(() => [
|
|
23
|
-
C(
|
|
23
|
+
C(a.$slots, "default")
|
|
24
24
|
]),
|
|
25
25
|
_: 3
|
|
26
26
|
}, 512));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { SegmentedControlBackgroundColor, SegmentedControlUpdateEvent, Theme } from '../types';
|
|
3
2
|
type PSegmentedControlProps = {
|
|
4
3
|
/**
|
|
@@ -26,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
26
25
|
onSegmentedControlChange?: ((value: SegmentedControlUpdateEvent) => any) | undefined;
|
|
27
26
|
}, {
|
|
28
27
|
theme: "light" | "dark";
|
|
29
|
-
}>, {
|
|
28
|
+
}, {}>, {
|
|
30
29
|
default?(_: {}): any;
|
|
31
30
|
}>;
|
|
32
31
|
export default _default;
|
|
@@ -47,12 +46,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
47
46
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
47
|
new (): {
|
|
49
48
|
$slots: S;
|
|
50
|
-
$props: __VLS_PropsChildren<S>;
|
|
51
49
|
};
|
|
52
50
|
};
|
|
53
|
-
type __VLS_PropsChildren<S> = {
|
|
54
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
55
|
-
};
|
|
56
51
|
type __VLS_Prettify<T> = {
|
|
57
52
|
[K in keyof T]: T[K];
|
|
58
53
|
} & {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getPrefixedTagName as _, syncProperties as
|
|
3
|
-
const y = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as l, ref as s, onMounted as m, onUpdated as u, openBlock as f, createBlock as c, resolveDynamicComponent as C, unref as g, withCtx as i, renderSlot as v } from "vue";
|
|
2
|
+
import { getPrefixedTagName as _, syncProperties as n, addEventListenerToElementRef as r } from "../../utils.js";
|
|
3
|
+
const y = /* @__PURE__ */ l({
|
|
4
4
|
__name: "SegmentedControlWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
backgroundColor:
|
|
6
|
+
backgroundColor: {},
|
|
7
7
|
theme: { default: "light" },
|
|
8
|
-
value:
|
|
8
|
+
value: {}
|
|
9
9
|
},
|
|
10
10
|
emits: ["segmentedControlChange", "update"],
|
|
11
|
-
setup(a, { emit:
|
|
12
|
-
const
|
|
11
|
+
setup(a, { emit: o }) {
|
|
12
|
+
const t = a, p = _("p-segmented-control"), e = s();
|
|
13
13
|
return m(() => {
|
|
14
|
-
|
|
14
|
+
n(e.value, t), r(e.value, "segmentedControlChange", o), r(e.value, "update", o);
|
|
15
15
|
}), u(() => {
|
|
16
|
-
|
|
17
|
-
}), (
|
|
16
|
+
n(e.value, t);
|
|
17
|
+
}), (d, h) => (f(), c(C(g(p)), {
|
|
18
18
|
ref_key: "pdsComponentRef",
|
|
19
19
|
ref: e
|
|
20
20
|
}, {
|
|
21
21
|
default: i(() => [
|
|
22
|
-
v(
|
|
22
|
+
v(d.$slots, "default")
|
|
23
23
|
]),
|
|
24
24
|
_: 3
|
|
25
25
|
}, 512));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { SelectWrapperDropdownDirection, BreakpointCustomizable, SelectWrapperState, Theme } from '../types';
|
|
3
2
|
type PSelectWrapperProps = {
|
|
4
3
|
/**
|
|
@@ -68,7 +67,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
68
67
|
message: string;
|
|
69
68
|
dropdownDirection: "auto" | "down" | "up";
|
|
70
69
|
native: boolean;
|
|
71
|
-
}>, {
|
|
70
|
+
}, {}>, {
|
|
72
71
|
default?(_: {}): any;
|
|
73
72
|
}>;
|
|
74
73
|
export default _default;
|
|
@@ -89,12 +88,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
89
88
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
90
89
|
new (): {
|
|
91
90
|
$slots: S;
|
|
92
|
-
$props: __VLS_PropsChildren<S>;
|
|
93
91
|
};
|
|
94
92
|
};
|
|
95
|
-
type __VLS_PropsChildren<S> = {
|
|
96
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
97
|
-
};
|
|
98
93
|
type __VLS_Prettify<T> = {
|
|
99
94
|
[K in keyof T]: T[K];
|
|
100
95
|
} & {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { SelectedAriaAttributes, SpinnerAriaAttribute, BreakpointCustomizable, SpinnerSize, Theme } from '../types';
|
|
3
2
|
type PSpinnerProps = {
|
|
4
3
|
/**
|
|
@@ -23,7 +22,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
23
22
|
}>>>, {
|
|
24
23
|
size: BreakpointCustomizable<"inherit" | "small" | "medium" | "large">;
|
|
25
24
|
theme: "light" | "dark";
|
|
26
|
-
}>;
|
|
25
|
+
}, {}>;
|
|
27
26
|
export default _default;
|
|
28
27
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
28
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as p, ref as a, onMounted as s, onUpdated as
|
|
1
|
+
import { defineComponent as p, ref as a, onMounted as s, onUpdated as m, openBlock as f, createBlock as c, resolveDynamicComponent as l, unref as i } from "vue";
|
|
2
2
|
import { getPrefixedTagName as u, syncProperties as o } from "../../utils.js";
|
|
3
3
|
const h = /* @__PURE__ */ p({
|
|
4
4
|
__name: "SpinnerWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
aria:
|
|
6
|
+
aria: {},
|
|
7
7
|
size: { default: "small" },
|
|
8
8
|
theme: { default: "light" }
|
|
9
9
|
},
|
|
@@ -11,9 +11,9 @@ const h = /* @__PURE__ */ p({
|
|
|
11
11
|
const n = t, r = u("p-spinner"), e = a();
|
|
12
12
|
return s(() => {
|
|
13
13
|
o(e.value, n);
|
|
14
|
-
}),
|
|
14
|
+
}), m(() => {
|
|
15
15
|
o(e.value, n);
|
|
16
|
-
}), (d, _) => (
|
|
16
|
+
}), (d, _) => (f(), c(l(i(r)), {
|
|
17
17
|
ref_key: "pdsComponentRef",
|
|
18
18
|
ref: e
|
|
19
19
|
}, null, 512));
|