@porsche-design-system/components-vue 3.16.0 → 3.17.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.
Files changed (95) hide show
  1. package/CHANGELOG.md +70 -1
  2. package/cjs/lib/components/ButtonTileWrapper.vue.cjs +1 -1
  3. package/cjs/lib/components/FlyoutWrapper.vue.cjs +1 -1
  4. package/cjs/lib/components/LinkTileModelSignatureWrapper.vue.cjs +1 -1
  5. package/cjs/lib/components/LinkTileWrapper.vue.cjs +1 -1
  6. package/cjs/lib/components/ModalWrapper.vue.cjs +1 -1
  7. package/cjs/lib/components/OptgroupWrapper.vue.cjs +1 -0
  8. package/cjs/lib/components/OptgroupWrapper.vue2.cjs +1 -0
  9. package/cjs/lib/components/TagWrapper.vue.cjs +1 -1
  10. package/cjs/public-api.cjs +1 -1
  11. package/esm/PorscheDesignSystemProvider.vue.d.ts +7 -5
  12. package/esm/lib/components/AccordionWrapper.vue.d.ts +8 -6
  13. package/esm/lib/components/BannerWrapper.vue.d.ts +9 -16
  14. package/esm/lib/components/ButtonGroupWrapper.vue.d.ts +7 -5
  15. package/esm/lib/components/ButtonPureWrapper.vue.d.ts +11 -9
  16. package/esm/lib/components/ButtonTileWrapper.vue.d.ts +13 -11
  17. package/esm/lib/components/ButtonTileWrapper.vue.mjs +4 -4
  18. package/esm/lib/components/ButtonWrapper.vue.d.ts +9 -7
  19. package/esm/lib/components/CanvasWrapper.vue.d.ts +9 -14
  20. package/esm/lib/components/CarouselWrapper.vue.d.ts +9 -7
  21. package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +7 -5
  22. package/esm/lib/components/ContentWrapperWrapper.vue.d.ts +9 -7
  23. package/esm/lib/components/CrestWrapper.vue.d.ts +1 -1
  24. package/esm/lib/components/DisplayWrapper.vue.d.ts +9 -7
  25. package/esm/lib/components/DividerWrapper.vue.d.ts +2 -2
  26. package/esm/lib/components/FieldsetWrapper.vue.d.ts +8 -6
  27. package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +9 -7
  28. package/esm/lib/components/FlexItemWrapper.vue.d.ts +13 -11
  29. package/esm/lib/components/FlexWrapper.vue.d.ts +13 -11
  30. package/esm/lib/components/FlyoutMultilevelItemWrapper.vue.d.ts +4 -2
  31. package/esm/lib/components/FlyoutMultilevelWrapper.vue.d.ts +7 -9
  32. package/esm/lib/components/FlyoutWrapper.vue.d.ts +8 -12
  33. package/esm/lib/components/FlyoutWrapper.vue.mjs +13 -13
  34. package/esm/lib/components/GridItemWrapper.vue.d.ts +9 -7
  35. package/esm/lib/components/GridWrapper.vue.d.ts +10 -8
  36. package/esm/lib/components/HeadingWrapper.vue.d.ts +9 -7
  37. package/esm/lib/components/HeadlineWrapper.vue.d.ts +9 -7
  38. package/esm/lib/components/IconWrapper.vue.d.ts +3 -3
  39. package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +10 -18
  40. package/esm/lib/components/LinkPureWrapper.vue.d.ts +11 -9
  41. package/esm/lib/components/LinkSocialWrapper.vue.d.ts +8 -6
  42. package/esm/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +11 -9
  43. package/esm/lib/components/LinkTileModelSignatureWrapper.vue.mjs +1 -1
  44. package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +7 -5
  45. package/esm/lib/components/LinkTileWrapper.vue.d.ts +12 -10
  46. package/esm/lib/components/LinkTileWrapper.vue.mjs +4 -4
  47. package/esm/lib/components/LinkWrapper.vue.d.ts +9 -7
  48. package/esm/lib/components/MarqueWrapper.vue.d.ts +3 -3
  49. package/esm/lib/components/ModalWrapper.vue.d.ts +8 -14
  50. package/esm/lib/components/ModalWrapper.vue.mjs +13 -13
  51. package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +10 -8
  52. package/esm/lib/components/MultiSelectOptionWrapper.vue.d.ts +6 -4
  53. package/esm/lib/components/MultiSelectWrapper.vue.d.ts +8 -6
  54. package/esm/lib/components/OptgroupWrapper.vue.d.ts +44 -0
  55. package/esm/lib/components/OptgroupWrapper.vue.mjs +24 -0
  56. package/esm/lib/components/OptgroupWrapper.vue2.mjs +4 -0
  57. package/esm/lib/components/PaginationWrapper.vue.d.ts +1 -1
  58. package/esm/lib/components/PinCodeWrapper.vue.d.ts +9 -7
  59. package/esm/lib/components/PopoverWrapper.vue.d.ts +7 -5
  60. package/esm/lib/components/RadioButtonWrapperWrapper.vue.d.ts +7 -5
  61. package/esm/lib/components/ScrollerWrapper.vue.d.ts +8 -6
  62. package/esm/lib/components/SegmentedControlItemWrapper.vue.d.ts +6 -4
  63. package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +7 -5
  64. package/esm/lib/components/SelectOptionWrapper.vue.d.ts +6 -4
  65. package/esm/lib/components/SelectWrapper.vue.d.ts +8 -6
  66. package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +8 -6
  67. package/esm/lib/components/SpinnerWrapper.vue.d.ts +1 -1
  68. package/esm/lib/components/StepperHorizontalItemWrapper.vue.d.ts +6 -4
  69. package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +7 -5
  70. package/esm/lib/components/SwitchWrapper.vue.d.ts +7 -5
  71. package/esm/lib/components/TableBodyWrapper.vue.d.ts +4 -2
  72. package/esm/lib/components/TableCellWrapper.vue.d.ts +6 -4
  73. package/esm/lib/components/TableHeadCellWrapper.vue.d.ts +6 -4
  74. package/esm/lib/components/TableHeadRowWrapper.vue.d.ts +4 -2
  75. package/esm/lib/components/TableHeadWrapper.vue.d.ts +4 -2
  76. package/esm/lib/components/TableRowWrapper.vue.d.ts +4 -2
  77. package/esm/lib/components/TableWrapper.vue.d.ts +6 -4
  78. package/esm/lib/components/TabsBarWrapper.vue.d.ts +9 -7
  79. package/esm/lib/components/TabsItemWrapper.vue.d.ts +4 -2
  80. package/esm/lib/components/TabsWrapper.vue.d.ts +9 -7
  81. package/esm/lib/components/TagDismissibleWrapper.vue.d.ts +7 -5
  82. package/esm/lib/components/TagWrapper.vue.d.ts +14 -5
  83. package/esm/lib/components/TagWrapper.vue.mjs +8 -7
  84. package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +9 -21
  85. package/esm/lib/components/TextListItemWrapper.vue.d.ts +4 -2
  86. package/esm/lib/components/TextListWrapper.vue.d.ts +7 -5
  87. package/esm/lib/components/TextWrapper.vue.d.ts +11 -9
  88. package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +7 -5
  89. package/esm/lib/components/WordmarkWrapper.vue.d.ts +2 -2
  90. package/esm/lib/components/index.d.ts +1 -0
  91. package/esm/lib/types.d.ts +14 -2
  92. package/esm/public-api.mjs +77 -75
  93. package/esm/utils.d.ts +2 -2
  94. package/jsdom-polyfill/index.d.ts +0 -1
  95. package/package.json +2 -2
@@ -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
  }, {
@@ -41,7 +41,10 @@ type PLinkProps = {
41
41
  */
42
42
  variant?: LinkVariant;
43
43
  };
44
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkProps>, {
44
+ declare function __VLS_template(): {
45
+ default?(_: {}): any;
46
+ };
47
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkProps>, {
45
48
  hideLabel: boolean;
46
49
  icon: string;
47
50
  target: string;
@@ -53,12 +56,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
53
56
  variant: string;
54
57
  }>>>, {
55
58
  hideLabel: BreakpointCustomizable<boolean>;
56
- icon: import("../types").LinkButtonIconName;
57
- variant: "primary" | "secondary" | "tertiary";
58
- target: string;
59
- }, {}>, {
60
- default?(_: {}): any;
61
- }>;
59
+ icon: LinkIcon;
60
+ variant: LinkVariant;
61
+ target: LinkTarget;
62
+ }, {}>;
63
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
62
64
  export default _default;
63
65
  type __VLS_WithDefaults<P, D> = {
64
66
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -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] & {
@@ -17,15 +17,17 @@ type PPopoverProps = {
17
17
  */
18
18
  theme?: Theme;
19
19
  };
20
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PPopoverProps>, {
20
+ declare function __VLS_template(): {
21
+ default?(_: {}): any;
22
+ };
23
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PPopoverProps>, {
21
24
  direction: string;
22
25
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PPopoverProps>, {
23
26
  direction: string;
24
27
  }>>>, {
25
- direction: "top" | "bottom" | "left" | "right";
26
- }, {}>, {
27
- default?(_: {}): any;
28
- }>;
28
+ direction: PopoverDirection;
29
+ }, {}>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
29
31
  export default _default;
30
32
  type __VLS_WithDefaults<P, D> = {
31
33
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -25,7 +25,10 @@ type PRadioButtonWrapperProps = {
25
25
  */
26
26
  theme?: Theme;
27
27
  };
28
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PRadioButtonWrapperProps>, {
28
+ declare function __VLS_template(): {
29
+ default?(_: {}): any;
30
+ };
31
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PRadioButtonWrapperProps>, {
29
32
  hideLabel: boolean;
30
33
  label: string;
31
34
  loading: boolean;
@@ -39,13 +42,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
39
42
  state: string;
40
43
  }>>>, {
41
44
  label: string;
42
- state: "none" | "success" | "error";
45
+ state: RadioButtonWrapperState;
43
46
  hideLabel: BreakpointCustomizable<boolean>;
44
47
  loading: boolean;
45
48
  message: string;
46
- }, {}>, {
47
- default?(_: {}): any;
48
- }>;
49
+ }, {}>;
50
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
49
51
  export default _default;
50
52
  type __VLS_WithDefaults<P, D> = {
51
53
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -33,7 +33,10 @@ type PScrollerProps = {
33
33
  */
34
34
  theme?: Theme;
35
35
  };
36
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PScrollerProps>, {
36
+ declare function __VLS_template(): {
37
+ default?(_: {}): any;
38
+ };
39
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PScrollerProps>, {
37
40
  alignScrollIndicator: string;
38
41
  gradientColor: string;
39
42
  scrollbar: boolean;
@@ -43,11 +46,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
43
46
  scrollbar: boolean;
44
47
  }>>>, {
45
48
  scrollbar: boolean;
46
- alignScrollIndicator: "top" | "center";
47
- gradientColor: "background-base" | "background-surface";
48
- }, {}>, {
49
- default?(_: {}): any;
50
- }>;
49
+ alignScrollIndicator: ScrollerAlignScrollIndicator;
50
+ gradientColor: ScrollerGradientColor;
51
+ }, {}>;
52
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
51
53
  export default _default;
52
54
  type __VLS_WithDefaults<P, D> = {
53
55
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -25,15 +25,17 @@ type PSegmentedControlItemProps = {
25
25
  */
26
26
  value: string | number;
27
27
  };
28
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PSegmentedControlItemProps>, {
28
+ declare function __VLS_template(): {
29
+ default?(_: {}): any;
30
+ };
31
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PSegmentedControlItemProps>, {
29
32
  disabled: boolean;
30
33
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PSegmentedControlItemProps>, {
31
34
  disabled: boolean;
32
35
  }>>>, {
33
36
  disabled: boolean;
34
- }, {}>, {
35
- default?(_: {}): any;
36
- }>;
37
+ }, {}>;
38
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
39
  export default _default;
38
40
  type __VLS_WithDefaults<P, D> = {
39
41
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -17,7 +17,10 @@ type PSegmentedControlProps = {
17
17
  */
18
18
  value?: string | number;
19
19
  };
20
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PSegmentedControlProps>, {
20
+ declare function __VLS_template(): {
21
+ default?(_: {}): any;
22
+ };
23
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PSegmentedControlProps>, {
21
24
  columns: string;
22
25
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
26
  segmentedControlChange: (value: import("../types").SegmentedControlUpdateEvent) => void;
@@ -28,10 +31,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
28
31
  onUpdate?: ((value: import("../types").SegmentedControlUpdateEvent) => any) | undefined;
29
32
  onSegmentedControlChange?: ((value: import("../types").SegmentedControlUpdateEvent) => any) | undefined;
30
33
  }, {
31
- columns: BreakpointCustomizable<string | number>;
32
- }, {}>, {
33
- default?(_: {}): any;
34
- }>;
34
+ columns: BreakpointCustomizable<SegmentedControlColumns>;
35
+ }, {}>;
36
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
35
37
  export default _default;
36
38
  type __VLS_WithDefaults<P, D> = {
37
39
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -8,15 +8,17 @@ type PSelectOptionProps = {
8
8
  */
9
9
  value?: string;
10
10
  };
11
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PSelectOptionProps>, {
11
+ declare function __VLS_template(): {
12
+ default?(_: {}): any;
13
+ };
14
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PSelectOptionProps>, {
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<PSelectOptionProps>, {
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 PSelectProps = {
45
45
  */
46
46
  value?: string;
47
47
  };
48
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PSelectProps>, {
48
+ declare function __VLS_template(): {
49
+ default?(_: {}): any;
50
+ };
51
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PSelectProps>, {
49
52
  description: string;
50
53
  disabled: boolean;
51
54
  dropdownDirection: string;
@@ -70,15 +73,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
70
73
  }, {
71
74
  label: string;
72
75
  description: string;
73
- state: "none" | "success" | "error";
76
+ state: SelectState;
74
77
  required: boolean;
75
78
  disabled: boolean;
76
79
  hideLabel: BreakpointCustomizable<boolean>;
77
80
  message: string;
78
- dropdownDirection: "auto" | "down" | "up";
79
- }, {}>, {
80
- default?(_: {}): any;
81
- }>;
81
+ dropdownDirection: SelectDropdownDirection;
82
+ }, {}>;
83
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
82
84
  export default _default;
83
85
  type __VLS_WithDefaults<P, D> = {
84
86
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {