@porsche-design-system/components-vue 3.29.0 → 3.30.0-rc.0
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 +21 -0
- package/cjs/lib/components/ButtonPureWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ButtonTileWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ButtonWrapper.vue.cjs +1 -1
- package/cjs/lib/components/CarouselWrapper.vue.cjs +1 -1
- package/cjs/lib/components/CheckboxWrapper.vue.cjs +1 -1
- package/cjs/lib/components/CheckboxWrapperWrapper.vue.cjs +1 -1
- package/cjs/lib/components/FlexWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputDateWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputEmailWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputNumberWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputPasswordWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputSearchWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputTelWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputTextWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputTimeWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputUrlWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkPureWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkSocialWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkTileWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ModalWrapper.vue.cjs +1 -1
- package/cjs/lib/components/MultiSelectWrapper.vue.cjs +1 -1
- package/cjs/lib/components/PinCodeWrapper.vue.cjs +1 -1
- package/cjs/lib/components/RadioButtonWrapperWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SelectWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SelectWrapperWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SwitchWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TextFieldWrapperWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TextareaWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TextareaWrapperWrapper.vue.cjs +1 -1
- package/esm/lib/components/ButtonPureWrapper.vue.mjs +8 -8
- package/esm/lib/components/ButtonTileWrapper.vue.mjs +4 -4
- package/esm/lib/components/ButtonWrapper.vue.mjs +12 -12
- package/esm/lib/components/CarouselWrapper.vue.mjs +11 -11
- package/esm/lib/components/CheckboxWrapper.vue.d.ts +4 -2
- package/esm/lib/components/CheckboxWrapper.vue.mjs +13 -13
- package/esm/lib/components/CheckboxWrapperWrapper.vue.mjs +7 -7
- package/esm/lib/components/FlexWrapper.vue.mjs +4 -4
- package/esm/lib/components/InputDateWrapper.vue.mjs +12 -12
- package/esm/lib/components/InputEmailWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputEmailWrapper.vue.mjs +11 -11
- package/esm/lib/components/InputNumberWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputNumberWrapper.vue.mjs +8 -8
- package/esm/lib/components/InputPasswordWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputPasswordWrapper.vue.mjs +10 -10
- package/esm/lib/components/InputSearchWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputSearchWrapper.vue.mjs +9 -9
- package/esm/lib/components/InputTelWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputTelWrapper.vue.mjs +12 -12
- package/esm/lib/components/InputTextWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputTextWrapper.vue.mjs +11 -11
- package/esm/lib/components/InputTimeWrapper.vue.mjs +11 -11
- package/esm/lib/components/InputUrlWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputUrlWrapper.vue.mjs +13 -13
- package/esm/lib/components/LinkPureWrapper.vue.mjs +9 -9
- package/esm/lib/components/LinkSocialWrapper.vue.mjs +7 -7
- package/esm/lib/components/LinkTileWrapper.vue.mjs +5 -5
- package/esm/lib/components/LinkWrapper.vue.mjs +9 -9
- package/esm/lib/components/ModalWrapper.vue.mjs +11 -11
- package/esm/lib/components/MultiSelectWrapper.vue.mjs +7 -7
- package/esm/lib/components/PinCodeWrapper.vue.d.ts +5 -0
- package/esm/lib/components/PinCodeWrapper.vue.mjs +14 -13
- package/esm/lib/components/RadioButtonWrapperWrapper.vue.mjs +8 -8
- package/esm/lib/components/SelectWrapper.vue.mjs +8 -8
- package/esm/lib/components/SelectWrapperWrapper.vue.mjs +6 -6
- package/esm/lib/components/SwitchWrapper.vue.mjs +12 -12
- package/esm/lib/components/TextFieldWrapperWrapper.vue.mjs +8 -8
- package/esm/lib/components/TextareaWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TextareaWrapper.vue.mjs +5 -5
- package/esm/lib/components/TextareaWrapperWrapper.vue.mjs +7 -7
- package/esm/lib/types.d.ts +29 -0
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as s, ref as f, inject as l, onMounted as m, onUpdated as i, watch as d, openBlock as u, createBlock as h, resolveDynamicComponent as _, unref as y, withCtx as C, renderSlot as k } from "vue";
|
|
2
|
+
import { usePrefix as B, themeInjectionKey as b, syncProperties as a } from "../../utils.mjs";
|
|
3
|
+
const P = /* @__PURE__ */ s({
|
|
4
4
|
__name: "LinkSocialWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
compact: { type: Boolean, default: !1 },
|
|
7
|
-
hideLabel: { default: !1 },
|
|
7
|
+
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
8
8
|
href: {},
|
|
9
9
|
icon: {},
|
|
10
10
|
iconSource: {},
|
|
@@ -13,10 +13,10 @@ const S = /* @__PURE__ */ p({
|
|
|
13
13
|
theme: {}
|
|
14
14
|
},
|
|
15
15
|
setup(c) {
|
|
16
|
-
const
|
|
16
|
+
const p = B("p-link-social"), e = c, t = f(), n = l(b), r = () => a(t, { ...e, theme: e.theme || n.value });
|
|
17
17
|
return m(r), i(r), d(n, (o) => {
|
|
18
18
|
a(t, { theme: e.theme || o });
|
|
19
|
-
}), (o,
|
|
19
|
+
}), (o, j) => (u(), h(_(y(p)), {
|
|
20
20
|
ref_key: "pdsComponentRef",
|
|
21
21
|
ref: t
|
|
22
22
|
}, {
|
|
@@ -28,5 +28,5 @@ const S = /* @__PURE__ */ p({
|
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
P as default
|
|
32
32
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as l, ref as
|
|
2
|
-
import { usePrefix as k, syncProperties as
|
|
1
|
+
import { defineComponent as l, ref as p, onMounted as d, onUpdated as s, openBlock as f, createBlock as i, resolveDynamicComponent as c, unref as u, withCtx as m, renderSlot as _ } from "vue";
|
|
2
|
+
import { usePrefix as k, syncProperties as b } from "../../utils.mjs";
|
|
3
3
|
const h = /* @__PURE__ */ l({
|
|
4
4
|
__name: "LinkTileWrapper",
|
|
5
5
|
props: {
|
|
@@ -7,7 +7,7 @@ const h = /* @__PURE__ */ l({
|
|
|
7
7
|
aria: {},
|
|
8
8
|
aspectRatio: { default: "4/3" },
|
|
9
9
|
background: { default: "dark" },
|
|
10
|
-
compact: { default: !1 },
|
|
10
|
+
compact: { type: [Boolean, Object], default: !1 },
|
|
11
11
|
description: {},
|
|
12
12
|
download: {},
|
|
13
13
|
gradient: { type: Boolean, default: !0 },
|
|
@@ -19,8 +19,8 @@ const h = /* @__PURE__ */ l({
|
|
|
19
19
|
weight: { default: "semi-bold" }
|
|
20
20
|
},
|
|
21
21
|
setup(o) {
|
|
22
|
-
const n = k("p-link-tile"), a = o, e =
|
|
23
|
-
return
|
|
22
|
+
const n = k("p-link-tile"), a = o, e = p(), t = () => b(e, a);
|
|
23
|
+
return d(t), s(t), (r, g) => (f(), i(c(u(n)), {
|
|
24
24
|
ref_key: "pdsComponentRef",
|
|
25
25
|
ref: e
|
|
26
26
|
}, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as f, ref as s, inject as l, onMounted as m, onUpdated as d, watch as i, openBlock as u, createBlock as h, resolveDynamicComponent as y, unref as _, withCtx as C, renderSlot as k } from "vue";
|
|
2
|
+
import { usePrefix as b, themeInjectionKey as j, syncProperties as a } from "../../utils.mjs";
|
|
3
|
+
const x = /* @__PURE__ */ f({
|
|
4
4
|
__name: "LinkWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
7
|
-
compact: { default: !1 },
|
|
7
|
+
compact: { type: [Boolean, Object], default: !1 },
|
|
8
8
|
download: {},
|
|
9
|
-
hideLabel: { default: !1 },
|
|
9
|
+
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
10
10
|
href: {},
|
|
11
11
|
icon: { default: "none" },
|
|
12
12
|
iconSource: {},
|
|
@@ -15,11 +15,11 @@ const b = /* @__PURE__ */ s({
|
|
|
15
15
|
theme: {},
|
|
16
16
|
variant: { default: "primary" }
|
|
17
17
|
},
|
|
18
|
-
setup(
|
|
19
|
-
const
|
|
18
|
+
setup(p) {
|
|
19
|
+
const c = b("p-link"), e = p, t = s(), n = l(j), r = () => a(t, { ...e, theme: e.theme || n.value });
|
|
20
20
|
return m(r), d(r), i(n, (o) => {
|
|
21
21
|
a(t, { theme: e.theme || o });
|
|
22
|
-
}), (o,
|
|
22
|
+
}), (o, w) => (u(), h(y(_(c)), {
|
|
23
23
|
ref_key: "pdsComponentRef",
|
|
24
24
|
ref: t
|
|
25
25
|
}, {
|
|
@@ -31,5 +31,5 @@ const b = /* @__PURE__ */ s({
|
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
x as default
|
|
35
35
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as p, ref as c, inject as f, onMounted as u, onUpdated as h, watch as y, openBlock as B, createBlock as
|
|
2
|
-
import { usePrefix as R, themeInjectionKey as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as c, inject as f, onMounted as u, onUpdated as h, watch as y, openBlock as B, createBlock as b, resolveDynamicComponent as C, unref as _, withCtx as k, renderSlot as E } from "vue";
|
|
2
|
+
import { usePrefix as R, themeInjectionKey as j, addEventListenerToElementRef as t, syncProperties as d } from "../../utils.mjs";
|
|
3
|
+
const P = /* @__PURE__ */ p({
|
|
4
4
|
__name: "ModalWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
@@ -8,19 +8,19 @@ const g = /* @__PURE__ */ p({
|
|
|
8
8
|
disableBackdropClick: { type: Boolean, default: !1 },
|
|
9
9
|
disableCloseButton: { type: Boolean },
|
|
10
10
|
dismissButton: { type: Boolean, default: !0 },
|
|
11
|
-
fullscreen: { default: !1 },
|
|
11
|
+
fullscreen: { type: [Boolean, Object], default: !1 },
|
|
12
12
|
heading: {},
|
|
13
13
|
open: { type: Boolean, default: !1 },
|
|
14
14
|
theme: {}
|
|
15
15
|
},
|
|
16
16
|
emits: ["close", "dismiss", "motionHiddenEnd", "motionVisibleEnd"],
|
|
17
|
-
setup(
|
|
18
|
-
const m = R("p-modal"), n =
|
|
17
|
+
setup(i, { emit: r }) {
|
|
18
|
+
const m = R("p-modal"), n = i, e = c(), o = r, a = f(j), l = () => d(e, { ...n, theme: n.theme || a.value });
|
|
19
19
|
return u(() => {
|
|
20
|
-
|
|
21
|
-
}), h(
|
|
22
|
-
|
|
23
|
-
}), (s,
|
|
20
|
+
l(), t(e, "close", o), t(e, "dismiss", o), t(e, "motionHiddenEnd", o), t(e, "motionVisibleEnd", o);
|
|
21
|
+
}), h(l), y(a, (s) => {
|
|
22
|
+
d(e, { theme: n.theme || s });
|
|
23
|
+
}), (s, v) => (B(), b(C(_(m)), {
|
|
24
24
|
ref_key: "pdsComponentRef",
|
|
25
25
|
ref: e
|
|
26
26
|
}, {
|
|
@@ -32,5 +32,5 @@ const g = /* @__PURE__ */ p({
|
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
export {
|
|
35
|
-
|
|
35
|
+
P as default
|
|
36
36
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as p, ref as m, inject as u, onMounted as c, onUpdated as i, watch as h, openBlock as y, createBlock as _, resolveDynamicComponent as
|
|
2
|
-
import { usePrefix as w, themeInjectionKey as R, addEventListenerToElementRef as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as m, inject as u, onMounted as c, onUpdated as i, watch as h, openBlock as y, createBlock as _, resolveDynamicComponent as B, unref as C, withCtx as b, renderSlot as v } from "vue";
|
|
2
|
+
import { usePrefix as w, themeInjectionKey as R, addEventListenerToElementRef as j, syncProperties as l } from "../../utils.mjs";
|
|
3
|
+
const g = /* @__PURE__ */ p({
|
|
4
4
|
__name: "MultiSelectWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
compact: { type: Boolean, default: !1 },
|
|
@@ -8,7 +8,7 @@ const j = /* @__PURE__ */ p({
|
|
|
8
8
|
disabled: { type: Boolean, default: !1 },
|
|
9
9
|
dropdownDirection: { default: "auto" },
|
|
10
10
|
form: {},
|
|
11
|
-
hideLabel: { default: !1 },
|
|
11
|
+
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
12
12
|
label: { default: "" },
|
|
13
13
|
message: { default: "" },
|
|
14
14
|
name: {},
|
|
@@ -21,10 +21,10 @@ const j = /* @__PURE__ */ p({
|
|
|
21
21
|
setup(s, { emit: r }) {
|
|
22
22
|
const d = w("p-multi-select"), t = s, e = m(), f = r, n = u(R), a = () => l(e, { ...t, theme: t.theme || n.value });
|
|
23
23
|
return c(() => {
|
|
24
|
-
a(),
|
|
24
|
+
a(), j(e, "update", f);
|
|
25
25
|
}), i(a), h(n, (o) => {
|
|
26
26
|
l(e, { theme: t.theme || o });
|
|
27
|
-
}), (o,
|
|
27
|
+
}), (o, k) => (y(), _(B(C(d)), {
|
|
28
28
|
ref_key: "pdsComponentRef",
|
|
29
29
|
ref: e
|
|
30
30
|
}, {
|
|
@@ -36,5 +36,5 @@ const j = /* @__PURE__ */ p({
|
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
export {
|
|
39
|
-
|
|
39
|
+
g as default
|
|
40
40
|
};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { BreakpointCustomizable, PinCodeLength, PinCodeState, Theme, PinCodeType } from '../types';
|
|
2
2
|
type PPinCodeProps = {
|
|
3
|
+
/**
|
|
4
|
+
* A boolean value that, if present, renders the pin-code as a compact version.
|
|
5
|
+
*/
|
|
6
|
+
compact?: boolean;
|
|
3
7
|
/**
|
|
4
8
|
* The description text.
|
|
5
9
|
*/
|
|
@@ -69,6 +73,7 @@ declare const __VLS_component: import("vue").DefineComponent<PPinCodeProps, void
|
|
|
69
73
|
label: string;
|
|
70
74
|
length: PinCodeLength;
|
|
71
75
|
type: PinCodeType;
|
|
76
|
+
compact: boolean;
|
|
72
77
|
description: string;
|
|
73
78
|
state: PinCodeState;
|
|
74
79
|
required: boolean;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as r, ref as m, inject as u, onMounted as c, onUpdated as i, watch as h, openBlock as y, createBlock as B, resolveDynamicComponent as C, unref as _, withCtx as b, renderSlot as g } from "vue";
|
|
2
2
|
import { usePrefix as v, themeInjectionKey as P, addEventListenerToElementRef as R, syncProperties as l } from "../../utils.mjs";
|
|
3
|
-
const
|
|
3
|
+
const x = /* @__PURE__ */ r({
|
|
4
4
|
__name: "PinCodeWrapper",
|
|
5
5
|
props: {
|
|
6
|
+
compact: { type: Boolean, default: !1 },
|
|
6
7
|
description: { default: "" },
|
|
7
8
|
disabled: { type: Boolean, default: !1 },
|
|
8
9
|
form: {},
|
|
9
|
-
hideLabel: { default: !1 },
|
|
10
|
+
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
10
11
|
label: { default: "" },
|
|
11
12
|
length: { default: 4 },
|
|
12
13
|
loading: { type: Boolean, default: !1 },
|
|
@@ -19,23 +20,23 @@ const j = /* @__PURE__ */ p({
|
|
|
19
20
|
value: { default: "" }
|
|
20
21
|
},
|
|
21
22
|
emits: ["update"],
|
|
22
|
-
setup(d, { emit:
|
|
23
|
-
const
|
|
24
|
-
return
|
|
25
|
-
a(), R(e, "update",
|
|
26
|
-
}),
|
|
27
|
-
l(e, { theme: t.theme ||
|
|
28
|
-
}), (
|
|
23
|
+
setup(d, { emit: f }) {
|
|
24
|
+
const s = v("p-pin-code"), t = d, e = m(), p = f, n = u(P), a = () => l(e, { ...t, theme: t.theme || n.value });
|
|
25
|
+
return c(() => {
|
|
26
|
+
a(), R(e, "update", p);
|
|
27
|
+
}), i(a), h(n, (o) => {
|
|
28
|
+
l(e, { theme: t.theme || o });
|
|
29
|
+
}), (o, j) => (y(), B(C(_(s)), {
|
|
29
30
|
ref_key: "pdsComponentRef",
|
|
30
31
|
ref: e
|
|
31
32
|
}, {
|
|
32
|
-
default:
|
|
33
|
-
g(
|
|
33
|
+
default: b(() => [
|
|
34
|
+
g(o.$slots, "default")
|
|
34
35
|
]),
|
|
35
36
|
_: 3
|
|
36
37
|
}, 512));
|
|
37
38
|
}
|
|
38
39
|
});
|
|
39
40
|
export {
|
|
40
|
-
|
|
41
|
+
x as default
|
|
41
42
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as f, ref as l, inject as m, onMounted as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as f, ref as l, inject as m, onMounted as c, onUpdated as d, watch as u, openBlock as i, createBlock as h, resolveDynamicComponent as y, unref as _, withCtx as C, renderSlot as b } from "vue";
|
|
2
|
+
import { usePrefix as B, themeInjectionKey as w, syncProperties as r } from "../../utils.mjs";
|
|
3
|
+
const k = /* @__PURE__ */ f({
|
|
4
4
|
__name: "RadioButtonWrapperWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
hideLabel: { default: !1 },
|
|
6
|
+
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
7
7
|
label: { default: "" },
|
|
8
8
|
loading: { type: Boolean, default: !1 },
|
|
9
9
|
message: { default: "" },
|
|
@@ -11,10 +11,10 @@ const x = /* @__PURE__ */ f({
|
|
|
11
11
|
theme: {}
|
|
12
12
|
},
|
|
13
13
|
setup(p) {
|
|
14
|
-
const s =
|
|
15
|
-
return
|
|
14
|
+
const s = B("p-radio-button-wrapper"), e = p, t = l(), n = m(w), a = () => r(t, { ...e, theme: e.theme || n.value });
|
|
15
|
+
return c(a), d(a), u(n, (o) => {
|
|
16
16
|
r(t, { theme: e.theme || o });
|
|
17
|
-
}), (o, R) => (i(), h(_(
|
|
17
|
+
}), (o, R) => (i(), h(y(_(s)), {
|
|
18
18
|
ref_key: "pdsComponentRef",
|
|
19
19
|
ref: t
|
|
20
20
|
}, {
|
|
@@ -26,5 +26,5 @@ const x = /* @__PURE__ */ f({
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
export {
|
|
29
|
-
|
|
29
|
+
k as default
|
|
30
30
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as w, themeInjectionKey as R, addEventListenerToElementRef as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as d, ref as m, inject as c, onMounted as u, onUpdated as i, watch as h, openBlock as y, createBlock as B, resolveDynamicComponent as _, unref as C, withCtx as b, renderSlot as v } from "vue";
|
|
2
|
+
import { usePrefix as w, themeInjectionKey as R, addEventListenerToElementRef as j, syncProperties as l } from "../../utils.mjs";
|
|
3
|
+
const g = /* @__PURE__ */ d({
|
|
4
4
|
__name: "SelectWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
compact: { type: Boolean, default: !1 },
|
|
@@ -9,7 +9,7 @@ const j = /* @__PURE__ */ p({
|
|
|
9
9
|
dropdownDirection: { default: "auto" },
|
|
10
10
|
filter: { type: Boolean, default: !1 },
|
|
11
11
|
form: {},
|
|
12
|
-
hideLabel: { default: !1 },
|
|
12
|
+
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
13
13
|
label: { default: "" },
|
|
14
14
|
message: { default: "" },
|
|
15
15
|
name: {},
|
|
@@ -20,12 +20,12 @@ const j = /* @__PURE__ */ p({
|
|
|
20
20
|
},
|
|
21
21
|
emits: ["update"],
|
|
22
22
|
setup(s, { emit: f }) {
|
|
23
|
-
const r = w("p-select"), t = s, e = m(),
|
|
23
|
+
const r = w("p-select"), t = s, e = m(), p = f, n = c(R), a = () => l(e, { ...t, theme: t.theme || n.value });
|
|
24
24
|
return u(() => {
|
|
25
|
-
a(),
|
|
25
|
+
a(), j(e, "update", p);
|
|
26
26
|
}), i(a), h(n, (o) => {
|
|
27
27
|
l(e, { theme: t.theme || o });
|
|
28
|
-
}), (o,
|
|
28
|
+
}), (o, k) => (y(), B(_(C(r)), {
|
|
29
29
|
ref_key: "pdsComponentRef",
|
|
30
30
|
ref: e
|
|
31
31
|
}, {
|
|
@@ -37,5 +37,5 @@ const j = /* @__PURE__ */ p({
|
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
39
|
export {
|
|
40
|
-
|
|
40
|
+
g as default
|
|
41
41
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as s, ref as f, inject as c, onMounted as d, onUpdated as m, watch as u, openBlock as i, createBlock as h, resolveDynamicComponent as y, unref as _, withCtx as C, renderSlot as w } from "vue";
|
|
2
2
|
import { usePrefix as B, themeInjectionKey as b, syncProperties as r } from "../../utils.mjs";
|
|
3
|
-
const
|
|
3
|
+
const x = /* @__PURE__ */ s({
|
|
4
4
|
__name: "SelectWrapperWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
description: { default: "" },
|
|
7
7
|
dropdownDirection: { default: "auto" },
|
|
8
8
|
filter: { type: Boolean, default: !1 },
|
|
9
|
-
hideLabel: { default: !1 },
|
|
9
|
+
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
10
10
|
label: { default: "" },
|
|
11
11
|
message: { default: "" },
|
|
12
12
|
native: { type: Boolean, default: !1 },
|
|
@@ -14,10 +14,10 @@ const P = /* @__PURE__ */ l({
|
|
|
14
14
|
theme: {}
|
|
15
15
|
},
|
|
16
16
|
setup(p) {
|
|
17
|
-
const
|
|
17
|
+
const l = B("p-select-wrapper"), e = p, t = f(), n = c(b), a = () => r(t, { ...e, theme: e.theme || n.value });
|
|
18
18
|
return d(a), m(a), u(n, (o) => {
|
|
19
19
|
r(t, { theme: e.theme || o });
|
|
20
|
-
}), (o,
|
|
20
|
+
}), (o, j) => (i(), h(y(_(l)), {
|
|
21
21
|
ref_key: "pdsComponentRef",
|
|
22
22
|
ref: t
|
|
23
23
|
}, {
|
|
@@ -29,5 +29,5 @@ const P = /* @__PURE__ */ l({
|
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
x as default
|
|
33
33
|
};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { defineComponent as r, ref as m, inject as i, onMounted as h, onUpdated as u, watch as y, openBlock as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as r, ref as m, inject as i, onMounted as h, onUpdated as u, watch as y, openBlock as B, createBlock as C, resolveDynamicComponent as w, unref as _, withCtx as b, renderSlot as g } from "vue";
|
|
2
|
+
import { usePrefix as j, themeInjectionKey as k, addEventListenerToElementRef as l, syncProperties as p } from "../../utils.mjs";
|
|
3
|
+
const L = /* @__PURE__ */ r({
|
|
4
4
|
__name: "SwitchWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
alignLabel: { default: "end" },
|
|
7
7
|
checked: { type: Boolean, default: !1 },
|
|
8
8
|
compact: { type: Boolean, default: !1 },
|
|
9
9
|
disabled: { type: Boolean, default: !1 },
|
|
10
|
-
hideLabel: { default: !1 },
|
|
10
|
+
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
11
11
|
loading: { type: Boolean, default: !1 },
|
|
12
|
-
stretch: { default: !1 },
|
|
12
|
+
stretch: { type: [Boolean, Object], default: !1 },
|
|
13
13
|
theme: {}
|
|
14
14
|
},
|
|
15
15
|
emits: ["switchChange", "update"],
|
|
16
|
-
setup(
|
|
17
|
-
const d =
|
|
16
|
+
setup(c, { emit: f }) {
|
|
17
|
+
const d = j("p-switch"), t = c, e = m(), n = f, a = i(k), s = () => p(e, { ...t, theme: t.theme || a.value });
|
|
18
18
|
return h(() => {
|
|
19
19
|
s(), l(e, "switchChange", n), l(e, "update", n);
|
|
20
20
|
}), u(s), y(a, (o) => {
|
|
21
|
-
|
|
22
|
-
}), (o,
|
|
21
|
+
p(e, { theme: t.theme || o });
|
|
22
|
+
}), (o, R) => (B(), C(w(_(d)), {
|
|
23
23
|
ref_key: "pdsComponentRef",
|
|
24
24
|
ref: e
|
|
25
25
|
}, {
|
|
26
|
-
default:
|
|
27
|
-
|
|
26
|
+
default: b(() => [
|
|
27
|
+
g(o.$slots, "default")
|
|
28
28
|
]),
|
|
29
29
|
_: 3
|
|
30
30
|
}, 512));
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
L as default
|
|
35
35
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as i, ref as u, inject as d, onMounted as c, onUpdated as m, watch as h, openBlock as y, createBlock as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as i, ref as u, inject as d, onMounted as c, onUpdated as m, watch as h, openBlock as y, createBlock as B, resolveDynamicComponent as C, unref as w, withCtx as _, renderSlot as x } from "vue";
|
|
2
|
+
import { usePrefix as b, themeInjectionKey as g, addEventListenerToElementRef as P, syncProperties as r } from "../../utils.mjs";
|
|
3
|
+
const k = /* @__PURE__ */ i({
|
|
4
4
|
__name: "TextFieldWrapperWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
actionIcon: {},
|
|
7
7
|
actionLoading: { type: Boolean, default: !1 },
|
|
8
8
|
description: { default: "" },
|
|
9
|
-
hideLabel: { default: !1 },
|
|
9
|
+
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
10
10
|
label: { default: "" },
|
|
11
11
|
message: { default: "" },
|
|
12
12
|
showCharacterCount: { type: Boolean },
|
|
@@ -20,12 +20,12 @@ const v = /* @__PURE__ */ i({
|
|
|
20
20
|
},
|
|
21
21
|
emits: ["action"],
|
|
22
22
|
setup(s, { emit: l }) {
|
|
23
|
-
const p =
|
|
23
|
+
const p = b("p-text-field-wrapper"), t = s, e = u(), f = l, n = d(g), a = () => r(e, { ...t, theme: t.theme || n.value });
|
|
24
24
|
return c(() => {
|
|
25
|
-
a(),
|
|
25
|
+
a(), P(e, "action", f);
|
|
26
26
|
}), m(a), h(n, (o) => {
|
|
27
27
|
r(e, { theme: t.theme || o });
|
|
28
|
-
}), (o, R) => (y(), C(w(
|
|
28
|
+
}), (o, R) => (y(), B(C(w(p)), {
|
|
29
29
|
ref_key: "pdsComponentRef",
|
|
30
30
|
ref: e
|
|
31
31
|
}, {
|
|
@@ -37,5 +37,5 @@ const v = /* @__PURE__ */ i({
|
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
39
|
export {
|
|
40
|
-
|
|
40
|
+
k as default
|
|
41
41
|
};
|
|
@@ -101,6 +101,7 @@ declare const __VLS_component: import("vue").DefineComponent<PTextareaProps, voi
|
|
|
101
101
|
wrap: TextareaWrap;
|
|
102
102
|
resize: TextareaResize;
|
|
103
103
|
label: string;
|
|
104
|
+
placeholder: string;
|
|
104
105
|
description: string;
|
|
105
106
|
state: TextareaState;
|
|
106
107
|
required: boolean;
|
|
@@ -109,7 +110,6 @@ declare const __VLS_component: import("vue").DefineComponent<PTextareaProps, voi
|
|
|
109
110
|
value: string;
|
|
110
111
|
message: string;
|
|
111
112
|
readOnly: boolean;
|
|
112
|
-
placeholder: string;
|
|
113
113
|
counter: boolean;
|
|
114
114
|
rows: number;
|
|
115
115
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as u, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, openBlock as
|
|
1
|
+
import { defineComponent as u, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, openBlock as B, createBlock as C, resolveDynamicComponent as b, unref as _, withCtx as g, renderSlot as x } from "vue";
|
|
2
2
|
import { usePrefix as v, themeInjectionKey as w, addEventListenerToElementRef as n, syncProperties as s } from "../../utils.mjs";
|
|
3
|
-
const
|
|
3
|
+
const j = /* @__PURE__ */ u({
|
|
4
4
|
__name: "TextareaWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
autoComplete: {},
|
|
@@ -8,7 +8,7 @@ const P = /* @__PURE__ */ u({
|
|
|
8
8
|
description: { default: "" },
|
|
9
9
|
disabled: { type: Boolean, default: !1 },
|
|
10
10
|
form: {},
|
|
11
|
-
hideLabel: { default: !1 },
|
|
11
|
+
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
12
12
|
label: { default: "" },
|
|
13
13
|
maxLength: {},
|
|
14
14
|
message: { default: "" },
|
|
@@ -32,7 +32,7 @@ const P = /* @__PURE__ */ u({
|
|
|
32
32
|
r(), n(e, "blur", a), n(e, "change", a), n(e, "input", a);
|
|
33
33
|
}), h(r), y(l, (o) => {
|
|
34
34
|
s(e, { theme: t.theme || o });
|
|
35
|
-
}), (o, k) => (
|
|
35
|
+
}), (o, k) => (B(), C(b(_(d)), {
|
|
36
36
|
ref_key: "pdsComponentRef",
|
|
37
37
|
ref: e
|
|
38
38
|
}, {
|
|
@@ -44,5 +44,5 @@ const P = /* @__PURE__ */ u({
|
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
46
|
export {
|
|
47
|
-
|
|
47
|
+
j as default
|
|
48
48
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as f, ref as l, inject as c, onMounted as m, onUpdated as u, watch as d, openBlock as h, createBlock as i, resolveDynamicComponent as C, unref as y, withCtx as _, renderSlot as w } from "vue";
|
|
2
|
-
import { usePrefix as x, themeInjectionKey as B, syncProperties as
|
|
3
|
-
const
|
|
2
|
+
import { usePrefix as x, themeInjectionKey as B, syncProperties as r } from "../../utils.mjs";
|
|
3
|
+
const P = /* @__PURE__ */ f({
|
|
4
4
|
__name: "TextareaWrapperWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
description: { default: "" },
|
|
7
|
-
hideLabel: { default: !1 },
|
|
7
|
+
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
8
8
|
label: { default: "" },
|
|
9
9
|
message: { default: "" },
|
|
10
10
|
showCharacterCount: { type: Boolean },
|
|
@@ -13,9 +13,9 @@ const R = /* @__PURE__ */ f({
|
|
|
13
13
|
theme: {}
|
|
14
14
|
},
|
|
15
15
|
setup(p) {
|
|
16
|
-
const s = x("p-textarea-wrapper"), e = p, t = l(), n = c(B),
|
|
17
|
-
return m(
|
|
18
|
-
|
|
16
|
+
const s = x("p-textarea-wrapper"), e = p, t = l(), n = c(B), a = () => r(t, { ...e, theme: e.theme || n.value });
|
|
17
|
+
return m(a), u(a), d(n, (o) => {
|
|
18
|
+
r(t, { theme: e.theme || o });
|
|
19
19
|
}), (o, b) => (h(), i(C(y(s)), {
|
|
20
20
|
ref_key: "pdsComponentRef",
|
|
21
21
|
ref: t
|
|
@@ -28,5 +28,5 @@ const R = /* @__PURE__ */ f({
|
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
P as default
|
|
32
32
|
};
|
package/esm/lib/types.d.ts
CHANGED
|
@@ -221,8 +221,16 @@ declare const ICON_NAMES: readonly [
|
|
|
221
221
|
"add",
|
|
222
222
|
"adjust",
|
|
223
223
|
"aggregation",
|
|
224
|
+
"ai-3d-object",
|
|
225
|
+
"ai-code",
|
|
226
|
+
"ai-edit",
|
|
227
|
+
"ai-image",
|
|
228
|
+
"ai-scale",
|
|
229
|
+
"ai-sound",
|
|
224
230
|
"ai-spark",
|
|
225
231
|
"ai-spark-filled",
|
|
232
|
+
"ai-text",
|
|
233
|
+
"ai-video",
|
|
226
234
|
"arrow-compact-down",
|
|
227
235
|
"arrow-compact-left",
|
|
228
236
|
"arrow-compact-right",
|
|
@@ -611,6 +619,7 @@ declare const FORM_STATES: readonly [
|
|
|
611
619
|
export type FormState = (typeof FORM_STATES)[number];
|
|
612
620
|
declare const BUTTON_ARIA_ATTRIBUTES: readonly [
|
|
613
621
|
"aria-label",
|
|
622
|
+
"aria-description",
|
|
614
623
|
"aria-expanded",
|
|
615
624
|
"aria-pressed",
|
|
616
625
|
"aria-haspopup"
|
|
@@ -618,6 +627,7 @@ declare const BUTTON_ARIA_ATTRIBUTES: readonly [
|
|
|
618
627
|
export type ButtonAriaAttribute = (typeof BUTTON_ARIA_ATTRIBUTES)[number];
|
|
619
628
|
declare const LINK_ARIA_ATTRIBUTES: readonly [
|
|
620
629
|
"aria-label",
|
|
630
|
+
"aria-description",
|
|
621
631
|
"aria-current",
|
|
622
632
|
"aria-haspopup"
|
|
623
633
|
];
|
|
@@ -936,6 +946,7 @@ export type CheckboxUpdateEventDetail = {
|
|
|
936
946
|
checked: boolean;
|
|
937
947
|
};
|
|
938
948
|
export type CheckboxBlurEventDetail = Event;
|
|
949
|
+
export type CheckboxChangeEventDetail = Event;
|
|
939
950
|
export type CheckboxWrapperState = FormState;
|
|
940
951
|
declare const CONTENT_WRAPPER_BACKGROUND_COLORS: readonly [
|
|
941
952
|
"transparent",
|
|
@@ -1286,6 +1297,9 @@ declare const LINK_TILE_MODEL_SIGNATURE_MODELS: readonly [
|
|
|
1286
1297
|
"boxster",
|
|
1287
1298
|
"cayenne",
|
|
1288
1299
|
"cayman",
|
|
1300
|
+
"gt3-rs",
|
|
1301
|
+
"gt3",
|
|
1302
|
+
"gts",
|
|
1289
1303
|
"macan",
|
|
1290
1304
|
"panamera",
|
|
1291
1305
|
"taycan",
|
|
@@ -1341,6 +1355,21 @@ declare const MODEL_SIGNATURES_MANIFEST: {
|
|
|
1341
1355
|
width: number;
|
|
1342
1356
|
height: number;
|
|
1343
1357
|
};
|
|
1358
|
+
"gt3-rs": {
|
|
1359
|
+
src: string;
|
|
1360
|
+
width: number;
|
|
1361
|
+
height: number;
|
|
1362
|
+
};
|
|
1363
|
+
gt3: {
|
|
1364
|
+
src: string;
|
|
1365
|
+
width: number;
|
|
1366
|
+
height: number;
|
|
1367
|
+
};
|
|
1368
|
+
gts: {
|
|
1369
|
+
src: string;
|
|
1370
|
+
width: number;
|
|
1371
|
+
height: number;
|
|
1372
|
+
};
|
|
1344
1373
|
macan: {
|
|
1345
1374
|
src: string;
|
|
1346
1375
|
width: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.30.0-rc.0",
|
|
4
4
|
"description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"porsche",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "SEE LICENSE IN LICENSE",
|
|
18
18
|
"homepage": "https://designsystem.porsche.com",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@porsche-design-system/components-js": "3.
|
|
20
|
+
"@porsche-design-system/components-js": "3.30.0-rc.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"ag-grid-enterprise": ">= 33.0.0 <35.0.0",
|