@porsche-design-system/components-vue 3.16.0 → 3.17.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.
Files changed (101) hide show
  1. package/CHANGELOG.md +84 -1
  2. package/cjs/lib/components/ButtonTileWrapper.vue.cjs +1 -1
  3. package/cjs/lib/components/ButtonWrapper.vue.cjs +1 -1
  4. package/cjs/lib/components/FlyoutWrapper.vue.cjs +1 -1
  5. package/cjs/lib/components/LinkSocialWrapper.vue.cjs +1 -1
  6. package/cjs/lib/components/LinkTileModelSignatureWrapper.vue.cjs +1 -1
  7. package/cjs/lib/components/LinkTileWrapper.vue.cjs +1 -1
  8. package/cjs/lib/components/LinkWrapper.vue.cjs +1 -1
  9. package/cjs/lib/components/ModalWrapper.vue.cjs +1 -1
  10. package/cjs/lib/components/OptgroupWrapper.vue.cjs +1 -0
  11. package/cjs/lib/components/OptgroupWrapper.vue2.cjs +1 -0
  12. package/cjs/lib/components/TagWrapper.vue.cjs +1 -1
  13. package/cjs/public-api.cjs +1 -1
  14. package/esm/PorscheDesignSystemProvider.vue.d.ts +7 -5
  15. package/esm/lib/components/AccordionWrapper.vue.d.ts +8 -6
  16. package/esm/lib/components/BannerWrapper.vue.d.ts +9 -16
  17. package/esm/lib/components/ButtonGroupWrapper.vue.d.ts +7 -5
  18. package/esm/lib/components/ButtonPureWrapper.vue.d.ts +11 -9
  19. package/esm/lib/components/ButtonTileWrapper.vue.d.ts +13 -11
  20. package/esm/lib/components/ButtonTileWrapper.vue.mjs +4 -4
  21. package/esm/lib/components/ButtonWrapper.vue.d.ts +16 -7
  22. package/esm/lib/components/ButtonWrapper.vue.mjs +9 -8
  23. package/esm/lib/components/CanvasWrapper.vue.d.ts +9 -14
  24. package/esm/lib/components/CarouselWrapper.vue.d.ts +9 -7
  25. package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +7 -5
  26. package/esm/lib/components/ContentWrapperWrapper.vue.d.ts +9 -7
  27. package/esm/lib/components/CrestWrapper.vue.d.ts +1 -1
  28. package/esm/lib/components/DisplayWrapper.vue.d.ts +9 -7
  29. package/esm/lib/components/DividerWrapper.vue.d.ts +2 -2
  30. package/esm/lib/components/FieldsetWrapper.vue.d.ts +8 -6
  31. package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +9 -7
  32. package/esm/lib/components/FlexItemWrapper.vue.d.ts +13 -11
  33. package/esm/lib/components/FlexWrapper.vue.d.ts +13 -11
  34. package/esm/lib/components/FlyoutMultilevelItemWrapper.vue.d.ts +4 -2
  35. package/esm/lib/components/FlyoutMultilevelWrapper.vue.d.ts +7 -9
  36. package/esm/lib/components/FlyoutWrapper.vue.d.ts +8 -12
  37. package/esm/lib/components/FlyoutWrapper.vue.mjs +13 -13
  38. package/esm/lib/components/GridItemWrapper.vue.d.ts +9 -7
  39. package/esm/lib/components/GridWrapper.vue.d.ts +10 -8
  40. package/esm/lib/components/HeadingWrapper.vue.d.ts +9 -7
  41. package/esm/lib/components/HeadlineWrapper.vue.d.ts +9 -7
  42. package/esm/lib/components/IconWrapper.vue.d.ts +3 -3
  43. package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +10 -18
  44. package/esm/lib/components/LinkPureWrapper.vue.d.ts +11 -9
  45. package/esm/lib/components/LinkSocialWrapper.vue.d.ts +15 -6
  46. package/esm/lib/components/LinkSocialWrapper.vue.mjs +11 -10
  47. package/esm/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +11 -9
  48. package/esm/lib/components/LinkTileModelSignatureWrapper.vue.mjs +1 -1
  49. package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +7 -5
  50. package/esm/lib/components/LinkTileWrapper.vue.d.ts +12 -10
  51. package/esm/lib/components/LinkTileWrapper.vue.mjs +4 -4
  52. package/esm/lib/components/LinkWrapper.vue.d.ts +16 -7
  53. package/esm/lib/components/LinkWrapper.vue.mjs +9 -8
  54. package/esm/lib/components/MarqueWrapper.vue.d.ts +3 -3
  55. package/esm/lib/components/ModalWrapper.vue.d.ts +8 -14
  56. package/esm/lib/components/ModalWrapper.vue.mjs +13 -13
  57. package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +10 -8
  58. package/esm/lib/components/MultiSelectOptionWrapper.vue.d.ts +6 -4
  59. package/esm/lib/components/MultiSelectWrapper.vue.d.ts +8 -6
  60. package/esm/lib/components/OptgroupWrapper.vue.d.ts +44 -0
  61. package/esm/lib/components/OptgroupWrapper.vue.mjs +24 -0
  62. package/esm/lib/components/OptgroupWrapper.vue2.mjs +4 -0
  63. package/esm/lib/components/PaginationWrapper.vue.d.ts +1 -1
  64. package/esm/lib/components/PinCodeWrapper.vue.d.ts +9 -7
  65. package/esm/lib/components/PopoverWrapper.vue.d.ts +7 -5
  66. package/esm/lib/components/RadioButtonWrapperWrapper.vue.d.ts +7 -5
  67. package/esm/lib/components/ScrollerWrapper.vue.d.ts +8 -6
  68. package/esm/lib/components/SegmentedControlItemWrapper.vue.d.ts +6 -4
  69. package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +7 -5
  70. package/esm/lib/components/SelectOptionWrapper.vue.d.ts +6 -4
  71. package/esm/lib/components/SelectWrapper.vue.d.ts +8 -6
  72. package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +8 -6
  73. package/esm/lib/components/SpinnerWrapper.vue.d.ts +1 -1
  74. package/esm/lib/components/StepperHorizontalItemWrapper.vue.d.ts +6 -4
  75. package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +7 -5
  76. package/esm/lib/components/SwitchWrapper.vue.d.ts +7 -5
  77. package/esm/lib/components/TableBodyWrapper.vue.d.ts +4 -2
  78. package/esm/lib/components/TableCellWrapper.vue.d.ts +6 -4
  79. package/esm/lib/components/TableHeadCellWrapper.vue.d.ts +6 -4
  80. package/esm/lib/components/TableHeadRowWrapper.vue.d.ts +4 -2
  81. package/esm/lib/components/TableHeadWrapper.vue.d.ts +4 -2
  82. package/esm/lib/components/TableRowWrapper.vue.d.ts +4 -2
  83. package/esm/lib/components/TableWrapper.vue.d.ts +6 -4
  84. package/esm/lib/components/TabsBarWrapper.vue.d.ts +9 -7
  85. package/esm/lib/components/TabsItemWrapper.vue.d.ts +4 -2
  86. package/esm/lib/components/TabsWrapper.vue.d.ts +9 -7
  87. package/esm/lib/components/TagDismissibleWrapper.vue.d.ts +7 -5
  88. package/esm/lib/components/TagWrapper.vue.d.ts +14 -5
  89. package/esm/lib/components/TagWrapper.vue.mjs +8 -7
  90. package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +9 -21
  91. package/esm/lib/components/TextListItemWrapper.vue.d.ts +4 -2
  92. package/esm/lib/components/TextListWrapper.vue.d.ts +7 -5
  93. package/esm/lib/components/TextWrapper.vue.d.ts +11 -9
  94. package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +7 -5
  95. package/esm/lib/components/WordmarkWrapper.vue.d.ts +2 -2
  96. package/esm/lib/components/index.d.ts +1 -0
  97. package/esm/lib/types.d.ts +16 -3
  98. package/esm/public-api.mjs +77 -75
  99. package/esm/utils.d.ts +2 -2
  100. package/jsdom-polyfill/index.d.ts +0 -1
  101. package/package.json +2 -2
@@ -1,5 +1,9 @@
1
1
  import type { BreakpointCustomizable, LinkSocialIcon, LinkSocialTarget, Theme } from '../types';
2
2
  type PLinkSocialProps = {
3
+ /**
4
+ * Displays as compact version.
5
+ */
6
+ compact?: boolean;
3
7
  /**
4
8
  * Show or hide label.
5
9
  */
@@ -29,19 +33,24 @@ type PLinkSocialProps = {
29
33
  */
30
34
  theme?: Theme;
31
35
  };
32
- /** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social icon instead. */
33
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkSocialProps>, {
36
+ declare function __VLS_template(): {
37
+ default?(_: {}): any;
38
+ };
39
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkSocialProps>, {
40
+ compact: boolean;
34
41
  hideLabel: boolean;
35
42
  target: string;
36
43
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkSocialProps>, {
44
+ compact: boolean;
37
45
  hideLabel: boolean;
38
46
  target: string;
39
47
  }>>>, {
48
+ compact: boolean;
40
49
  hideLabel: BreakpointCustomizable<boolean>;
41
- target: string;
42
- }, {}>, {
43
- default?(_: {}): any;
44
- }>;
50
+ target: LinkSocialTarget;
51
+ }, {}>;
52
+ /** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social icon instead. */
53
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
45
54
  export default _default;
46
55
  type __VLS_WithDefaults<P, D> = {
47
56
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -1,8 +1,9 @@
1
- import { defineComponent as a, ref as f, inject as m, onMounted as l, onUpdated as i, watch as d, openBlock as u, createBlock as h, resolveDynamicComponent as _, unref as C, withCtx as k, renderSlot as y } from "vue";
2
- import { usePrefix as w, themeInjectionKey as x, syncProperties as s } from "../../utils.mjs";
3
- const b = /* @__PURE__ */ a({
1
+ import { defineComponent as p, 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 w, themeInjectionKey as x, syncProperties as a } from "../../utils.mjs";
3
+ const S = /* @__PURE__ */ p({
4
4
  __name: "LinkSocialWrapper",
5
5
  props: {
6
+ compact: { type: Boolean, default: !1 },
6
7
  hideLabel: { default: !1 },
7
8
  href: {},
8
9
  icon: {},
@@ -12,20 +13,20 @@ const b = /* @__PURE__ */ a({
12
13
  theme: {}
13
14
  },
14
15
  setup(c) {
15
- const p = w("p-link-social"), e = c, t = f(), n = m(x), r = () => s(t, { ...e, theme: e.theme || n.value });
16
- return l(r), i(r), d(n, (o) => {
17
- s(t, { theme: e.theme || o });
18
- }), (o, P) => (u(), h(_(C(p)), {
16
+ const s = w("p-link-social"), e = c, t = f(), n = l(x), r = () => a(t, { ...e, theme: e.theme || n.value });
17
+ return m(r), i(r), d(n, (o) => {
18
+ a(t, { theme: e.theme || o });
19
+ }), (o, B) => (u(), h(_(y(s)), {
19
20
  ref_key: "pdsComponentRef",
20
21
  ref: t
21
22
  }, {
22
- default: k(() => [
23
- y(o.$slots, "default")
23
+ default: C(() => [
24
+ k(o.$slots, "default")
24
25
  ]),
25
26
  _: 3
26
27
  }, 512));
27
28
  }
28
29
  });
29
30
  export {
30
- b as default
31
+ S as default
31
32
  };
@@ -29,7 +29,10 @@ type PLinkTileModelSignatureProps = {
29
29
  */
30
30
  weight?: BreakpointCustomizable<LinkTileModelSignatureWeight>;
31
31
  };
32
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileModelSignatureProps>, {
32
+ declare function __VLS_template(): {
33
+ default?(_: {}): any;
34
+ };
35
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileModelSignatureProps>, {
33
36
  aspectRatio: string;
34
37
  headingTag: string;
35
38
  linkDirection: () => {
@@ -48,14 +51,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
48
51
  model: string;
49
52
  weight: string;
50
53
  }>>>, {
51
- weight: BreakpointCustomizable<"regular" | "semi-bold">;
52
- headingTag: "h2" | "h3" | "h4" | "h5" | "h6";
53
- aspectRatio: BreakpointCustomizable<"1:1" | "4:3" | "3:4" | "16:9" | "9:16">;
54
- linkDirection: BreakpointCustomizable<"row" | "column">;
55
- model: "718" | "911" | "boxster" | "cayenne" | "cayman" | "macan" | "panamera" | "taycan" | "turbo-s" | "turbo";
56
- }, {}>, {
57
- default?(_: {}): any;
58
- }>;
54
+ weight: BreakpointCustomizable<LinkTileModelSignatureWeight>;
55
+ headingTag: LinkTileModelSignatureHeadingTag;
56
+ aspectRatio: BreakpointCustomizable<LinkTileModelSignatureAspectRatio>;
57
+ linkDirection: BreakpointCustomizable<LinkTileModelSignatureLinkDirection>;
58
+ model: LinkTileModelSignatureModel;
59
+ }, {}>;
60
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
59
61
  export default _default;
60
62
  type __VLS_WithDefaults<P, D> = {
61
63
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -3,7 +3,7 @@ import { usePrefix as _, syncProperties as h } from "../../utils.mjs";
3
3
  const x = /* @__PURE__ */ a({
4
4
  __name: "LinkTileModelSignatureWrapper",
5
5
  props: {
6
- aspectRatio: { default: "3:4" },
6
+ aspectRatio: { default: "3/4" },
7
7
  description: {},
8
8
  heading: {},
9
9
  headingTag: { default: "h2" },
@@ -45,7 +45,10 @@ type PLinkTileProductProps = {
45
45
  */
46
46
  theme?: Theme;
47
47
  };
48
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileProductProps>, {
48
+ declare function __VLS_template(): {
49
+ default?(_: {}): any;
50
+ };
51
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileProductProps>, {
49
52
  aspectRatio: string;
50
53
  likeButton: boolean;
51
54
  liked: boolean;
@@ -61,12 +64,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
61
64
  onLike?: ((value: import("../types").LinkTileProductLikeEvent) => any) | undefined;
62
65
  }, {
63
66
  aspectRatio: BreakpointCustomizable<LinkTileProductAspectRatio>;
64
- target: string;
67
+ target: LinkTileProductTarget;
65
68
  likeButton: boolean;
66
69
  liked: boolean;
67
- }, {}>, {
68
- default?(_: {}): any;
69
- }>;
70
+ }, {}>;
71
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
70
72
  export default _default;
71
73
  type __VLS_WithDefaults<P, D> = {
72
74
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -57,7 +57,10 @@ type PLinkTileProps = {
57
57
  */
58
58
  weight?: BreakpointCustomizable<LinkTileWeight>;
59
59
  };
60
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileProps>, {
60
+ declare function __VLS_template(): {
61
+ default?(_: {}): any;
62
+ };
63
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileProps>, {
61
64
  align: string;
62
65
  aspectRatio: string;
63
66
  background: string;
@@ -76,17 +79,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
76
79
  target: string;
77
80
  weight: string;
78
81
  }>>>, {
79
- weight: BreakpointCustomizable<"regular" | "semi-bold" | "semibold">;
82
+ weight: BreakpointCustomizable<LinkTileWeight>;
80
83
  compact: BreakpointCustomizable<boolean>;
81
- size: BreakpointCustomizable<"default" | "inherit">;
82
- align: "top" | "bottom";
83
- aspectRatio: BreakpointCustomizable<"1:1" | "4:3" | "3:4" | "16:9" | "9:16">;
84
- background: "light" | "dark" | "auto";
84
+ size: BreakpointCustomizable<LinkTileSize>;
85
+ align: LinkTileAlign;
86
+ aspectRatio: BreakpointCustomizable<LinkTileAspectRatio>;
87
+ background: LinkTileBackground;
85
88
  gradient: boolean;
86
- target: string;
87
- }, {}>, {
88
- default?(_: {}): any;
89
- }>;
89
+ target: LinkTileTarget;
90
+ }, {}>;
91
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
90
92
  export default _default;
91
93
  type __VLS_WithDefaults<P, D> = {
92
94
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -1,11 +1,11 @@
1
- import { defineComponent as l, ref as d, onMounted as f, onUpdated as p, openBlock as s, createBlock as i, resolveDynamicComponent as u, unref as c, withCtx as m, renderSlot as _ } from "vue";
1
+ import { defineComponent as l, ref as d, onMounted as p, onUpdated as s, openBlock as f, createBlock as i, resolveDynamicComponent as u, unref as c, withCtx as m, renderSlot as _ } from "vue";
2
2
  import { usePrefix as k, syncProperties as g } from "../../utils.mjs";
3
3
  const h = /* @__PURE__ */ l({
4
4
  __name: "LinkTileWrapper",
5
5
  props: {
6
6
  align: { default: "bottom" },
7
7
  aria: {},
8
- aspectRatio: { default: "4:3" },
8
+ aspectRatio: { default: "4/3" },
9
9
  background: { default: "dark" },
10
10
  compact: { default: !1 },
11
11
  description: {},
@@ -14,13 +14,13 @@ const h = /* @__PURE__ */ l({
14
14
  href: {},
15
15
  label: {},
16
16
  rel: {},
17
- size: { default: "default" },
17
+ size: { default: "medium" },
18
18
  target: { default: "_self" },
19
19
  weight: { default: "semi-bold" }
20
20
  },
21
21
  setup(o) {
22
22
  const n = k("p-link-tile"), a = o, e = d(), t = () => g(e, a);
23
- return f(t), p(t), (r, C) => (s(), i(u(c(n)), {
23
+ return p(t), s(t), (r, C) => (f(), i(u(c(n)), {
24
24
  ref_key: "pdsComponentRef",
25
25
  ref: e
26
26
  }, {
@@ -4,6 +4,10 @@ type PLinkProps = {
4
4
  * Add ARIA attributes.
5
5
  */
6
6
  aria?: SelectedAriaAttributes<LinkAriaAttribute>;
7
+ /**
8
+ * Displays as compact version.
9
+ */
10
+ compact?: boolean;
7
11
  /**
8
12
  * Special download attribute to open native browser download dialog if target url points to a downloadable file.
9
13
  */
@@ -41,24 +45,29 @@ type PLinkProps = {
41
45
  */
42
46
  variant?: LinkVariant;
43
47
  };
44
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkProps>, {
48
+ declare function __VLS_template(): {
49
+ default?(_: {}): any;
50
+ };
51
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkProps>, {
52
+ compact: boolean;
45
53
  hideLabel: boolean;
46
54
  icon: string;
47
55
  target: string;
48
56
  variant: string;
49
57
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkProps>, {
58
+ compact: boolean;
50
59
  hideLabel: boolean;
51
60
  icon: string;
52
61
  target: string;
53
62
  variant: string;
54
63
  }>>>, {
64
+ compact: boolean;
55
65
  hideLabel: BreakpointCustomizable<boolean>;
56
- icon: import("../types").LinkButtonIconName;
57
- variant: "primary" | "secondary" | "tertiary";
58
- target: string;
59
- }, {}>, {
60
- default?(_: {}): any;
61
- }>;
66
+ icon: LinkIcon;
67
+ variant: LinkVariant;
68
+ target: LinkTarget;
69
+ }, {}>;
70
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
62
71
  export default _default;
63
72
  type __VLS_WithDefaults<P, D> = {
64
73
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -1,9 +1,10 @@
1
- import { defineComponent as f, ref as c, inject as m, onMounted as l, 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";
1
+ import { defineComponent as s, ref as c, inject as l, onMounted as m, onUpdated as d, watch as i, openBlock as u, createBlock as h, resolveDynamicComponent as _, unref as y, withCtx as C, renderSlot as k } from "vue";
2
2
  import { usePrefix as w, themeInjectionKey as v, syncProperties as a } from "../../utils.mjs";
3
- const b = /* @__PURE__ */ f({
3
+ const R = /* @__PURE__ */ s({
4
4
  __name: "LinkWrapper",
5
5
  props: {
6
6
  aria: {},
7
+ compact: { type: Boolean, default: !1 },
7
8
  download: {},
8
9
  hideLabel: { default: !1 },
9
10
  href: {},
@@ -15,20 +16,20 @@ const b = /* @__PURE__ */ f({
15
16
  variant: { default: "primary" }
16
17
  },
17
18
  setup(p) {
18
- const s = w("p-link"), e = p, t = c(), o = m(v), r = () => a(t, { ...e, theme: e.theme || o.value });
19
- return l(r), i(r), d(o, (n) => {
20
- a(t, { theme: e.theme || n });
21
- }), (n, x) => (u(), h(_(y(s)), {
19
+ const f = w("p-link"), e = p, t = c(), n = l(v), r = () => a(t, { ...e, theme: e.theme || n.value });
20
+ return m(r), d(r), i(n, (o) => {
21
+ a(t, { theme: e.theme || o });
22
+ }), (o, x) => (u(), h(_(y(f)), {
22
23
  ref_key: "pdsComponentRef",
23
24
  ref: t
24
25
  }, {
25
26
  default: C(() => [
26
- k(n.$slots, "default")
27
+ k(o.$slots, "default")
27
28
  ]),
28
29
  _: 3
29
30
  }, 512));
30
31
  }
31
32
  });
32
33
  export {
33
- b as default
34
+ R as default
34
35
  };
@@ -37,9 +37,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
37
37
  trademark: boolean;
38
38
  variant: string;
39
39
  }>>>, {
40
- size: "small" | "medium" | "responsive";
41
- variant: "default" | "75-years";
42
- target: string;
40
+ size: MarqueSize;
41
+ variant: MarqueVariant;
42
+ target: MarqueTarget;
43
43
  trademark: boolean;
44
44
  }, {}>;
45
45
  export default _default;
@@ -38,29 +38,23 @@ type PModalProps = {
38
38
  */
39
39
  theme?: Theme;
40
40
  };
41
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PModalProps>, {
42
- backdrop: string;
43
- disableBackdropClick: boolean;
44
- dismissButton: boolean;
45
- fullscreen: boolean;
46
- open: boolean;
47
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
- [x: string]: (...args: unknown[]) => void;
49
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PModalProps>, {
41
+ declare function __VLS_template(): {
42
+ default?(_: {}): any;
43
+ };
44
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PModalProps>, {
50
45
  backdrop: string;
51
46
  disableBackdropClick: boolean;
52
47
  dismissButton: boolean;
53
48
  fullscreen: boolean;
54
49
  open: boolean;
55
- }>>>, {
50
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
56
51
  open: boolean;
57
52
  dismissButton: boolean;
58
53
  disableBackdropClick: boolean;
59
- backdrop: "blur" | "shading";
54
+ backdrop: ModalBackdrop;
60
55
  fullscreen: BreakpointCustomizable<boolean>;
61
- }, {}>, {
62
- default?(_: {}): any;
63
- }>;
56
+ }, {}>;
57
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
64
58
  export default _default;
65
59
  type __VLS_WithDefaults<P, D> = {
66
60
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -1,6 +1,6 @@
1
- import { defineComponent as c, ref as f, inject as i, onMounted as u, onUpdated as h, watch as y, openBlock as B, createBlock as C, resolveDynamicComponent as _, unref as k, withCtx as b, renderSlot as R } from "vue";
2
- import { usePrefix as v, themeInjectionKey as w, addEventListenerToElementRef as l, syncProperties as r } from "../../utils.mjs";
3
- const j = /* @__PURE__ */ c({
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 C, resolveDynamicComponent as b, unref as _, withCtx as k, renderSlot as E } from "vue";
2
+ import { usePrefix as R, themeInjectionKey as v, addEventListenerToElementRef as t, syncProperties as i } from "../../utils.mjs";
3
+ const g = /* @__PURE__ */ p({
4
4
  __name: "ModalWrapper",
5
5
  props: {
6
6
  aria: {},
@@ -13,24 +13,24 @@ const j = /* @__PURE__ */ c({
13
13
  open: { type: Boolean, default: !1 },
14
14
  theme: {}
15
15
  },
16
- emits: ["close", "dismiss"],
17
- setup(p, { emit: d }) {
18
- const m = v("p-modal"), t = p, e = f(), n = d, s = i(w), a = () => r(e, { ...t, theme: t.theme || s.value });
16
+ emits: ["close", "dismiss", "motionHiddenEnd", "motionVisibleEnd"],
17
+ setup(l, { emit: r }) {
18
+ const m = R("p-modal"), n = l, e = c(), o = r, a = f(v), d = () => i(e, { ...n, theme: n.theme || a.value });
19
19
  return u(() => {
20
- a(), l(e, "close", n), l(e, "dismiss", n);
21
- }), h(a), y(s, (o) => {
22
- r(e, { theme: t.theme || o });
23
- }), (o, x) => (B(), C(_(k(m)), {
20
+ d(), t(e, "close", o), t(e, "dismiss", o), t(e, "motionHiddenEnd", o), t(e, "motionVisibleEnd", o);
21
+ }), h(d), y(a, (s) => {
22
+ i(e, { theme: n.theme || s });
23
+ }), (s, w) => (B(), C(b(_(m)), {
24
24
  ref_key: "pdsComponentRef",
25
25
  ref: e
26
26
  }, {
27
- default: b(() => [
28
- R(o.$slots, "default")
27
+ default: k(() => [
28
+ E(s.$slots, "default")
29
29
  ]),
30
30
  _: 3
31
31
  }, 512));
32
32
  }
33
33
  });
34
34
  export {
35
- j as default
35
+ g as default
36
36
  };
@@ -29,7 +29,10 @@ type PModelSignatureProps = {
29
29
  */
30
30
  theme?: Theme;
31
31
  };
32
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PModelSignatureProps>, {
32
+ declare function __VLS_template(): {
33
+ default?(_: {}): any;
34
+ };
35
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PModelSignatureProps>, {
33
36
  color: string;
34
37
  fetchPriority: string;
35
38
  lazy: boolean;
@@ -44,15 +47,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
44
47
  safeZone: boolean;
45
48
  size: string;
46
49
  }>>>, {
47
- size: "inherit" | "small";
48
- color: "inherit" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high";
50
+ size: ModelSignatureSize;
51
+ color: ModelSignatureColor;
49
52
  lazy: boolean;
50
- model: "718" | "911" | "boxster" | "cayenne" | "cayman" | "macan" | "panamera" | "taycan" | "turbo-s" | "turbo";
51
- fetchPriority: "auto" | "low" | "high";
53
+ model: ModelSignatureModel;
54
+ fetchPriority: ModelSignatureFetchPriority;
52
55
  safeZone: boolean;
53
- }, {}>, {
54
- default?(_: {}): any;
55
- }>;
56
+ }, {}>;
57
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
56
58
  export default _default;
57
59
  type __VLS_WithDefaults<P, D> = {
58
60
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -8,15 +8,17 @@ type PMultiSelectOptionProps = {
8
8
  */
9
9
  value: string;
10
10
  };
11
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PMultiSelectOptionProps>, {
11
+ declare function __VLS_template(): {
12
+ default?(_: {}): any;
13
+ };
14
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PMultiSelectOptionProps>, {
12
15
  disabled: boolean;
13
16
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PMultiSelectOptionProps>, {
14
17
  disabled: boolean;
15
18
  }>>>, {
16
19
  disabled: boolean;
17
- }, {}>, {
18
- default?(_: {}): any;
19
- }>;
20
+ }, {}>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
20
22
  export default _default;
21
23
  type __VLS_WithDefaults<P, D> = {
22
24
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -45,7 +45,10 @@ type PMultiSelectProps = {
45
45
  */
46
46
  value?: string[];
47
47
  };
48
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PMultiSelectProps>, {
48
+ declare function __VLS_template(): {
49
+ default?(_: {}): any;
50
+ };
51
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PMultiSelectProps>, {
49
52
  description: string;
50
53
  disabled: boolean;
51
54
  dropdownDirection: string;
@@ -72,16 +75,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
72
75
  }, {
73
76
  label: string;
74
77
  description: string;
75
- state: "none" | "success" | "error";
78
+ state: MultiSelectState;
76
79
  required: boolean;
77
80
  disabled: boolean;
78
81
  hideLabel: BreakpointCustomizable<boolean>;
79
82
  value: string[];
80
83
  message: string;
81
- dropdownDirection: "auto" | "down" | "up";
82
- }, {}>, {
83
- default?(_: {}): any;
84
- }>;
84
+ dropdownDirection: MultiSelectDropdownDirection;
85
+ }, {}>;
86
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
85
87
  export default _default;
86
88
  type __VLS_WithDefaults<P, D> = {
87
89
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -0,0 +1,44 @@
1
+ type POptgroupProps = {
2
+ /**
3
+ * Disables the optgroup.
4
+ */
5
+ disabled?: boolean;
6
+ /**
7
+ * The optgroup label.
8
+ */
9
+ label?: string;
10
+ };
11
+ declare function __VLS_template(): {
12
+ default?(_: {}): any;
13
+ };
14
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<POptgroupProps>, {
15
+ disabled: boolean;
16
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<POptgroupProps>, {
17
+ disabled: boolean;
18
+ }>>>, {
19
+ disabled: boolean;
20
+ }, {}>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
22
+ export default _default;
23
+ type __VLS_WithDefaults<P, D> = {
24
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
25
+ default: D[K];
26
+ }> : P[K];
27
+ };
28
+ type __VLS_Prettify<T> = {
29
+ [K in keyof T]: T[K];
30
+ } & {};
31
+ type __VLS_WithTemplateSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
36
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
+ type __VLS_TypePropsToOption<T> = {
38
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
39
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
40
+ } : {
41
+ type: import('vue').PropType<T[K]>;
42
+ required: true;
43
+ };
44
+ };
@@ -0,0 +1,24 @@
1
+ import { defineComponent as s, ref as a, onMounted as f, onUpdated as c, openBlock as l, createBlock as d, resolveDynamicComponent as m, unref as u, withCtx as i, renderSlot as _ } from "vue";
2
+ import { usePrefix as C, syncProperties as y } from "../../utils.mjs";
3
+ const x = /* @__PURE__ */ s({
4
+ __name: "OptgroupWrapper",
5
+ props: {
6
+ disabled: { type: Boolean, default: !1 },
7
+ label: {}
8
+ },
9
+ setup(t) {
10
+ const n = C("p-optgroup"), p = t, e = a(), o = () => y(e, p);
11
+ return f(o), c(o), (r, b) => (l(), d(m(u(n)), {
12
+ ref_key: "pdsComponentRef",
13
+ ref: e
14
+ }, {
15
+ default: i(() => [
16
+ _(r.$slots, "default")
17
+ ]),
18
+ _: 3
19
+ }, 512));
20
+ }
21
+ });
22
+ export {
23
+ x as default
24
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./OptgroupWrapper.vue.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
75
75
  onUpdate?: ((value: import("../types").PaginationUpdateEvent) => any) | undefined;
76
76
  onPageChange?: ((value: import("../types").PaginationUpdateEvent) => any) | undefined;
77
77
  }, {
78
- intl: Partial<Record<"page" | "prev" | "next" | "root", string>>;
78
+ intl: PaginationInternationalization;
79
79
  activePage: number;
80
80
  itemsPerPage: number;
81
81
  showLastPage: boolean;
@@ -53,7 +53,10 @@ type PPinCodeProps = {
53
53
  */
54
54
  value?: string;
55
55
  };
56
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PPinCodeProps>, {
56
+ declare function __VLS_template(): {
57
+ default?(_: {}): any;
58
+ };
59
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PPinCodeProps>, {
57
60
  description: string;
58
61
  disabled: boolean;
59
62
  hideLabel: boolean;
@@ -83,19 +86,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
83
86
  onUpdate?: ((value: import("../types").PinCodeUpdateEvent) => any) | undefined;
84
87
  }, {
85
88
  label: string;
86
- length: 3 | 4 | 2 | 5 | 1 | 6;
87
- type: "number" | "password";
89
+ length: PinCodeLength;
90
+ type: PinCodeType;
88
91
  description: string;
89
- state: "none" | "success" | "error";
92
+ state: PinCodeState;
90
93
  required: boolean;
91
94
  disabled: boolean;
92
95
  hideLabel: BreakpointCustomizable<boolean>;
93
96
  loading: boolean;
94
97
  value: string;
95
98
  message: string;
96
- }, {}>, {
97
- default?(_: {}): any;
98
- }>;
99
+ }, {}>;
100
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
99
101
  export default _default;
100
102
  type __VLS_WithDefaults<P, D> = {
101
103
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {