@porsche-design-system/components-vue 3.29.0-rc.0 → 3.29.0-rc.2

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 (96) hide show
  1. package/CHANGELOG.md +51 -3
  2. package/cjs/PorscheDesignSystemProvider.vue.cjs +1 -1
  3. package/cjs/lib/components/InputSearchWrapper.vue.cjs +1 -1
  4. package/cjs/lib/components/PopoverWrapper.vue.cjs +1 -1
  5. package/cjs/lib/components/TextareaWrapper.vue.cjs +1 -1
  6. package/esm/PorscheDesignSystemProvider.vue.d.ts +6 -6
  7. package/esm/PorscheDesignSystemProvider.vue.mjs +11 -8
  8. package/esm/lib/components/AccordionWrapper.vue.d.ts +8 -7
  9. package/esm/lib/components/BannerWrapper.vue.d.ts +13 -6
  10. package/esm/lib/components/ButtonGroupWrapper.vue.d.ts +6 -5
  11. package/esm/lib/components/ButtonPureWrapper.vue.d.ts +7 -6
  12. package/esm/lib/components/ButtonTileWrapper.vue.d.ts +7 -6
  13. package/esm/lib/components/ButtonWrapper.vue.d.ts +7 -6
  14. package/esm/lib/components/CanvasWrapper.vue.d.ts +12 -5
  15. package/esm/lib/components/CarouselWrapper.vue.d.ts +8 -7
  16. package/esm/lib/components/CheckboxWrapper.vue.d.ts +10 -9
  17. package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +6 -5
  18. package/esm/lib/components/ContentWrapperWrapper.vue.d.ts +6 -5
  19. package/esm/lib/components/CrestWrapper.vue.d.ts +1 -1
  20. package/esm/lib/components/DisplayWrapper.vue.d.ts +6 -5
  21. package/esm/lib/components/DividerWrapper.vue.d.ts +1 -1
  22. package/esm/lib/components/DrilldownItemWrapper.vue.d.ts +6 -5
  23. package/esm/lib/components/DrilldownLinkWrapper.vue.d.ts +7 -6
  24. package/esm/lib/components/DrilldownWrapper.vue.d.ts +12 -5
  25. package/esm/lib/components/FieldsetWrapper.vue.d.ts +6 -5
  26. package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +6 -5
  27. package/esm/lib/components/FlexItemWrapper.vue.d.ts +6 -5
  28. package/esm/lib/components/FlexWrapper.vue.d.ts +6 -5
  29. package/esm/lib/components/FlyoutWrapper.vue.d.ts +12 -5
  30. package/esm/lib/components/GridItemWrapper.vue.d.ts +6 -5
  31. package/esm/lib/components/GridWrapper.vue.d.ts +6 -5
  32. package/esm/lib/components/HeadingWrapper.vue.d.ts +6 -5
  33. package/esm/lib/components/HeadlineWrapper.vue.d.ts +6 -5
  34. package/esm/lib/components/IconWrapper.vue.d.ts +2 -2
  35. package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +13 -6
  36. package/esm/lib/components/InputNumberWrapper.vue.d.ts +11 -10
  37. package/esm/lib/components/InputPasswordWrapper.vue.d.ts +11 -10
  38. package/esm/lib/components/InputSearchWrapper.vue.d.ts +11 -10
  39. package/esm/lib/components/InputSearchWrapper.vue.mjs +7 -7
  40. package/esm/lib/components/InputTextWrapper.vue.d.ts +11 -10
  41. package/esm/lib/components/LinkPureWrapper.vue.d.ts +7 -6
  42. package/esm/lib/components/LinkSocialWrapper.vue.d.ts +7 -6
  43. package/esm/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +6 -5
  44. package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +8 -7
  45. package/esm/lib/components/LinkTileWrapper.vue.d.ts +7 -6
  46. package/esm/lib/components/LinkWrapper.vue.d.ts +7 -6
  47. package/esm/lib/components/MarqueWrapper.vue.d.ts +2 -2
  48. package/esm/lib/components/ModalWrapper.vue.d.ts +12 -5
  49. package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +6 -5
  50. package/esm/lib/components/MultiSelectOptionWrapper.vue.d.ts +6 -5
  51. package/esm/lib/components/MultiSelectWrapper.vue.d.ts +8 -7
  52. package/esm/lib/components/OptgroupWrapper.vue.d.ts +6 -5
  53. package/esm/lib/components/PaginationWrapper.vue.d.ts +3 -3
  54. package/esm/lib/components/PinCodeWrapper.vue.d.ts +8 -7
  55. package/esm/lib/components/PopoverWrapper.vue.d.ts +17 -5
  56. package/esm/lib/components/PopoverWrapper.vue.mjs +16 -12
  57. package/esm/lib/components/RadioButtonWrapperWrapper.vue.d.ts +6 -5
  58. package/esm/lib/components/ScrollerWrapper.vue.d.ts +6 -5
  59. package/esm/lib/components/SegmentedControlItemWrapper.vue.d.ts +6 -5
  60. package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +8 -7
  61. package/esm/lib/components/SelectOptionWrapper.vue.d.ts +6 -5
  62. package/esm/lib/components/SelectWrapper.vue.d.ts +9 -8
  63. package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +6 -5
  64. package/esm/lib/components/SheetWrapper.vue.d.ts +12 -5
  65. package/esm/lib/components/SpinnerWrapper.vue.d.ts +1 -1
  66. package/esm/lib/components/StepperHorizontalItemWrapper.vue.d.ts +6 -5
  67. package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +8 -7
  68. package/esm/lib/components/SwitchWrapper.vue.d.ts +9 -8
  69. package/esm/lib/components/TableBodyWrapper.vue.d.ts +6 -5
  70. package/esm/lib/components/TableCellWrapper.vue.d.ts +6 -5
  71. package/esm/lib/components/TableHeadCellWrapper.vue.d.ts +6 -5
  72. package/esm/lib/components/TableHeadRowWrapper.vue.d.ts +6 -5
  73. package/esm/lib/components/TableHeadWrapper.vue.d.ts +6 -5
  74. package/esm/lib/components/TableRowWrapper.vue.d.ts +6 -5
  75. package/esm/lib/components/TableWrapper.vue.d.ts +8 -7
  76. package/esm/lib/components/TabsBarWrapper.vue.d.ts +8 -7
  77. package/esm/lib/components/TabsItemWrapper.vue.d.ts +6 -5
  78. package/esm/lib/components/TabsWrapper.vue.d.ts +8 -7
  79. package/esm/lib/components/TagDismissibleWrapper.vue.d.ts +6 -5
  80. package/esm/lib/components/TagWrapper.vue.d.ts +6 -5
  81. package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +12 -5
  82. package/esm/lib/components/TextListItemWrapper.vue.d.ts +6 -5
  83. package/esm/lib/components/TextListWrapper.vue.d.ts +6 -5
  84. package/esm/lib/components/TextWrapper.vue.d.ts +7 -6
  85. package/esm/lib/components/TextareaWrapper.vue.d.ts +15 -14
  86. package/esm/lib/components/TextareaWrapper.vue.mjs +5 -5
  87. package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +6 -5
  88. package/esm/lib/components/ToastWrapper.vue.d.ts +1 -1
  89. package/esm/lib/components/WordmarkWrapper.vue.d.ts +1 -1
  90. package/esm/lib/types.d.ts +2 -0
  91. package/package.json +7 -7
  92. package/partials/esm/index.mjs +1 -0
  93. package/partials/package.json +3 -3
  94. package/partials/index.js +0 -12
  95. /package/partials/{index.cjs → cjs/index.cjs} +0 -0
  96. /package/partials/{index.d.ts → esm/index.d.ts} +0 -0
@@ -45,22 +45,23 @@ type PLinkTileProductProps = {
45
45
  */
46
46
  theme?: Theme;
47
47
  };
48
- declare function __VLS_template(): {
49
- default?(_: {}): any;
48
+ declare var __VLS_8: {};
49
+ type __VLS_Slots = {} & {
50
+ default?: (props: typeof __VLS_8) => any;
50
51
  };
51
- declare const __VLS_component: import("vue").DefineComponent<PLinkTileProductProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
52
- like: (value: import("../types").LinkTileProductLikeEvent) => void;
52
+ declare const __VLS_component: import("vue").DefineComponent<PLinkTileProductProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
53
+ like: (value: import("../types").LinkTileProductLikeEvent) => any;
53
54
  }, string, import("vue").PublicProps, Readonly<PLinkTileProductProps> & Readonly<{
54
55
  onLike?: ((value: import("../types").LinkTileProductLikeEvent) => any) | undefined;
55
56
  }>, {
56
- aspectRatio: BreakpointCustomizable<LinkTileProductAspectRatio>;
57
57
  target: LinkTileProductTarget;
58
+ aspectRatio: BreakpointCustomizable<LinkTileProductAspectRatio>;
58
59
  likeButton: boolean;
59
60
  liked: boolean;
60
61
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
61
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
62
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
62
63
  export default _default;
63
- type __VLS_WithTemplateSlots<T, S> = T & {
64
+ type __VLS_WithSlots<T, S> = T & {
64
65
  new (): {
65
66
  $slots: S;
66
67
  };
@@ -57,22 +57,23 @@ type PLinkTileProps = {
57
57
  */
58
58
  weight?: BreakpointCustomizable<LinkTileWeight>;
59
59
  };
60
- declare function __VLS_template(): {
61
- default?(_: {}): any;
60
+ declare var __VLS_8: {};
61
+ type __VLS_Slots = {} & {
62
+ default?: (props: typeof __VLS_8) => any;
62
63
  };
63
- declare const __VLS_component: import("vue").DefineComponent<PLinkTileProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PLinkTileProps> & Readonly<{}>, {
64
+ declare const __VLS_component: import("vue").DefineComponent<PLinkTileProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PLinkTileProps> & Readonly<{}>, {
64
65
  weight: BreakpointCustomizable<LinkTileWeight>;
65
66
  compact: BreakpointCustomizable<boolean>;
66
67
  size: BreakpointCustomizable<LinkTileSize>;
68
+ target: LinkTileTarget;
67
69
  align: LinkTileAlign;
68
70
  aspectRatio: BreakpointCustomizable<LinkTileAspectRatio>;
69
71
  background: LinkTileBackground;
70
72
  gradient: boolean;
71
- target: LinkTileTarget;
72
73
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
73
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
74
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
74
75
  export default _default;
75
- type __VLS_WithTemplateSlots<T, S> = T & {
76
+ type __VLS_WithSlots<T, S> = T & {
76
77
  new (): {
77
78
  $slots: S;
78
79
  };
@@ -45,19 +45,20 @@ type PLinkProps = {
45
45
  */
46
46
  variant?: LinkVariant;
47
47
  };
48
- declare function __VLS_template(): {
49
- default?(_: {}): any;
48
+ declare var __VLS_8: {};
49
+ type __VLS_Slots = {} & {
50
+ default?: (props: typeof __VLS_8) => any;
50
51
  };
51
- declare const __VLS_component: import("vue").DefineComponent<PLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PLinkProps> & Readonly<{}>, {
52
+ declare const __VLS_component: import("vue").DefineComponent<PLinkProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PLinkProps> & Readonly<{}>, {
52
53
  compact: BreakpointCustomizable<boolean>;
54
+ target: LinkTarget;
53
55
  hideLabel: BreakpointCustomizable<boolean>;
54
56
  icon: LinkIcon;
55
57
  variant: LinkVariant;
56
- target: LinkTarget;
57
58
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
58
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
59
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
59
60
  export default _default;
60
- type __VLS_WithTemplateSlots<T, S> = T & {
61
+ type __VLS_WithSlots<T, S> = T & {
61
62
  new (): {
62
63
  $slots: S;
63
64
  };
@@ -26,10 +26,10 @@ type PMarqueProps = {
26
26
  variant?: MarqueVariant;
27
27
  };
28
28
  /** @deprecated since v3.0.0, will be removed with next major release. Please use "p-wordmark" instead. */
29
- declare const _default: import("vue").DefineComponent<PMarqueProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PMarqueProps> & Readonly<{}>, {
29
+ declare const _default: import("vue").DefineComponent<PMarqueProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PMarqueProps> & Readonly<{}>, {
30
30
  size: MarqueSize;
31
- variant: MarqueVariant;
32
31
  target: MarqueTarget;
32
+ variant: MarqueVariant;
33
33
  trademark: boolean;
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
35
  export default _default;
@@ -38,19 +38,26 @@ type PModalProps = {
38
38
  */
39
39
  theme?: Theme;
40
40
  };
41
- declare function __VLS_template(): {
42
- default?(_: {}): any;
41
+ declare var __VLS_8: {};
42
+ type __VLS_Slots = {} & {
43
+ default?: (props: typeof __VLS_8) => any;
43
44
  };
44
- declare const __VLS_component: import("vue").DefineComponent<PModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
45
+ declare const __VLS_component: import("vue").DefineComponent<PModalProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
46
+ [x: string]: any;
47
+ } & {
48
+ [x: string]: any;
49
+ }, string, import("vue").PublicProps, Readonly<PModalProps> & Readonly<{
50
+ [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
51
+ }>, {
45
52
  open: boolean;
46
53
  dismissButton: boolean;
47
54
  disableBackdropClick: boolean;
48
55
  backdrop: ModalBackdrop;
49
56
  fullscreen: BreakpointCustomizable<boolean>;
50
57
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
51
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
58
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
52
59
  export default _default;
53
- type __VLS_WithTemplateSlots<T, S> = T & {
60
+ type __VLS_WithSlots<T, S> = T & {
54
61
  new (): {
55
62
  $slots: S;
56
63
  };
@@ -29,10 +29,11 @@ type PModelSignatureProps = {
29
29
  */
30
30
  theme?: Theme;
31
31
  };
32
- declare function __VLS_template(): {
33
- default?(_: {}): any;
32
+ declare var __VLS_8: {};
33
+ type __VLS_Slots = {} & {
34
+ default?: (props: typeof __VLS_8) => any;
34
35
  };
35
- declare const __VLS_component: import("vue").DefineComponent<PModelSignatureProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PModelSignatureProps> & Readonly<{}>, {
36
+ declare const __VLS_component: import("vue").DefineComponent<PModelSignatureProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PModelSignatureProps> & Readonly<{}>, {
36
37
  size: ModelSignatureSize;
37
38
  color: ModelSignatureColor;
38
39
  lazy: boolean;
@@ -40,9 +41,9 @@ declare const __VLS_component: import("vue").DefineComponent<PModelSignatureProp
40
41
  fetchPriority: ModelSignatureFetchPriority;
41
42
  safeZone: boolean;
42
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
43
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
44
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
44
45
  export default _default;
45
- type __VLS_WithTemplateSlots<T, S> = T & {
46
+ type __VLS_WithSlots<T, S> = T & {
46
47
  new (): {
47
48
  $slots: S;
48
49
  };
@@ -8,15 +8,16 @@ type PMultiSelectOptionProps = {
8
8
  */
9
9
  value: string;
10
10
  };
11
- declare function __VLS_template(): {
12
- default?(_: {}): any;
11
+ declare var __VLS_8: {};
12
+ type __VLS_Slots = {} & {
13
+ default?: (props: typeof __VLS_8) => any;
13
14
  };
14
- declare const __VLS_component: import("vue").DefineComponent<PMultiSelectOptionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PMultiSelectOptionProps> & Readonly<{}>, {
15
+ declare const __VLS_component: import("vue").DefineComponent<PMultiSelectOptionProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PMultiSelectOptionProps> & Readonly<{}>, {
15
16
  disabled: boolean;
16
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
19
  export default _default;
19
- type __VLS_WithTemplateSlots<T, S> = T & {
20
+ type __VLS_WithSlots<T, S> = T & {
20
21
  new (): {
21
22
  $slots: S;
22
23
  };
@@ -49,27 +49,28 @@ type PMultiSelectProps = {
49
49
  */
50
50
  value?: string[];
51
51
  };
52
- declare function __VLS_template(): {
53
- default?(_: {}): any;
52
+ declare var __VLS_8: {};
53
+ type __VLS_Slots = {} & {
54
+ default?: (props: typeof __VLS_8) => any;
54
55
  };
55
- declare const __VLS_component: import("vue").DefineComponent<PMultiSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
- update: (value: import("../types").MultiSelectUpdateEvent) => void;
56
+ declare const __VLS_component: import("vue").DefineComponent<PMultiSelectProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
57
+ update: (value: import("../types").MultiSelectUpdateEvent) => any;
57
58
  }, string, import("vue").PublicProps, Readonly<PMultiSelectProps> & Readonly<{
58
59
  onUpdate?: ((value: import("../types").MultiSelectUpdateEvent) => any) | undefined;
59
60
  }>, {
60
61
  label: string;
61
62
  description: string;
62
- disabled: boolean;
63
63
  state: MultiSelectState;
64
64
  required: boolean;
65
+ disabled: boolean;
65
66
  hideLabel: BreakpointCustomizable<boolean>;
66
67
  value: string[];
67
68
  message: string;
68
69
  dropdownDirection: MultiSelectDropdownDirection;
69
70
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
70
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
71
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
71
72
  export default _default;
72
- type __VLS_WithTemplateSlots<T, S> = T & {
73
+ type __VLS_WithSlots<T, S> = T & {
73
74
  new (): {
74
75
  $slots: S;
75
76
  };
@@ -8,15 +8,16 @@ type POptgroupProps = {
8
8
  */
9
9
  label?: string;
10
10
  };
11
- declare function __VLS_template(): {
12
- default?(_: {}): any;
11
+ declare var __VLS_8: {};
12
+ type __VLS_Slots = {} & {
13
+ default?: (props: typeof __VLS_8) => any;
13
14
  };
14
- declare const __VLS_component: import("vue").DefineComponent<POptgroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<POptgroupProps> & Readonly<{}>, {
15
+ declare const __VLS_component: import("vue").DefineComponent<POptgroupProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<POptgroupProps> & Readonly<{}>, {
15
16
  disabled: boolean;
16
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
19
  export default _default;
19
- type __VLS_WithTemplateSlots<T, S> = T & {
20
+ type __VLS_WithSlots<T, S> = T & {
20
21
  new (): {
21
22
  $slots: S;
22
23
  };
@@ -46,9 +46,9 @@ type PPaginationProps = {
46
46
  */
47
47
  totalItemsCount: number;
48
48
  };
49
- declare const _default: import("vue").DefineComponent<PPaginationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
50
- pageChange: (value: import("../types").PaginationUpdateEvent) => void;
51
- update: (value: import("../types").PaginationUpdateEvent) => void;
49
+ declare const _default: import("vue").DefineComponent<PPaginationProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
50
+ update: (value: import("../types").PaginationUpdateEvent) => any;
51
+ pageChange: (value: import("../types").PaginationUpdateEvent) => any;
52
52
  }, string, import("vue").PublicProps, Readonly<PPaginationProps> & Readonly<{
53
53
  onUpdate?: ((value: import("../types").PaginationUpdateEvent) => any) | undefined;
54
54
  onPageChange?: ((value: import("../types").PaginationUpdateEvent) => any) | undefined;
@@ -57,11 +57,12 @@ type PPinCodeProps = {
57
57
  */
58
58
  value?: string;
59
59
  };
60
- declare function __VLS_template(): {
61
- default?(_: {}): any;
60
+ declare var __VLS_8: {};
61
+ type __VLS_Slots = {} & {
62
+ default?: (props: typeof __VLS_8) => any;
62
63
  };
63
- declare const __VLS_component: import("vue").DefineComponent<PPinCodeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
64
- update: (value: import("../types").PinCodeUpdateEvent) => void;
64
+ declare const __VLS_component: import("vue").DefineComponent<PPinCodeProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
65
+ update: (value: import("../types").PinCodeUpdateEvent) => any;
65
66
  }, string, import("vue").PublicProps, Readonly<PPinCodeProps> & Readonly<{
66
67
  onUpdate?: ((value: import("../types").PinCodeUpdateEvent) => any) | undefined;
67
68
  }>, {
@@ -69,17 +70,17 @@ declare const __VLS_component: import("vue").DefineComponent<PPinCodeProps, {},
69
70
  length: PinCodeLength;
70
71
  type: PinCodeType;
71
72
  description: string;
72
- disabled: boolean;
73
73
  state: PinCodeState;
74
74
  required: boolean;
75
+ disabled: boolean;
75
76
  hideLabel: BreakpointCustomizable<boolean>;
76
77
  loading: boolean;
77
78
  value: string;
78
79
  message: string;
79
80
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
80
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
81
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
81
82
  export default _default;
82
- type __VLS_WithTemplateSlots<T, S> = T & {
83
+ type __VLS_WithSlots<T, S> = T & {
83
84
  new (): {
84
85
  $slots: S;
85
86
  };
@@ -12,20 +12,32 @@ type PPopoverProps = {
12
12
  * Preferred direction in which popover should open, given there is enough space in viewport. Otherwise, it will be opened in the direction with most available space.
13
13
  */
14
14
  direction?: PopoverDirection;
15
+ /**
16
+ * If true, the popover is open.
17
+ */
18
+ open?: boolean;
15
19
  /**
16
20
  * Adapts the popover color depending on the theme.
17
21
  */
18
22
  theme?: Theme;
19
23
  };
20
- declare function __VLS_template(): {
21
- default?(_: {}): any;
24
+ declare var __VLS_8: {};
25
+ type __VLS_Slots = {} & {
26
+ default?: (props: typeof __VLS_8) => any;
22
27
  };
23
- declare const __VLS_component: import("vue").DefineComponent<PPopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PPopoverProps> & Readonly<{}>, {
28
+ declare const __VLS_component: import("vue").DefineComponent<PPopoverProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ [x: string]: any;
30
+ } & {
31
+ [x: string]: any;
32
+ }, string, import("vue").PublicProps, Readonly<PPopoverProps> & Readonly<{
33
+ [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
34
+ }>, {
35
+ open: boolean;
24
36
  direction: PopoverDirection;
25
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
27
39
  export default _default;
28
- type __VLS_WithTemplateSlots<T, S> = T & {
40
+ type __VLS_WithSlots<T, S> = T & {
29
41
  new (): {
30
42
  $slots: S;
31
43
  };
@@ -1,28 +1,32 @@
1
- import { defineComponent as m, ref as a, inject as f, onMounted as i, onUpdated as d, watch as u, openBlock as h, createBlock as l, resolveDynamicComponent as _, unref as C, withCtx as y, renderSlot as v } from "vue";
2
- import { usePrefix as P, themeInjectionKey as k, syncProperties as p } from "../../utils.mjs";
3
- const b = /* @__PURE__ */ m({
1
+ import { defineComponent as c, ref as f, inject as d, onMounted as l, onUpdated as u, watch as h, openBlock as _, createBlock as y, resolveDynamicComponent as C, unref as v, withCtx as P, renderSlot as R } from "vue";
2
+ import { usePrefix as k, themeInjectionKey as w, addEventListenerToElementRef as x, syncProperties as r } from "../../utils.mjs";
3
+ const E = /* @__PURE__ */ c({
4
4
  __name: "PopoverWrapper",
5
5
  props: {
6
6
  aria: {},
7
7
  description: {},
8
8
  direction: { default: "bottom" },
9
+ open: { type: Boolean, default: !1 },
9
10
  theme: {}
10
11
  },
11
- setup(s) {
12
- const c = P("p-popover"), e = s, o = a(), n = f(k), r = () => p(o, { ...e, theme: e.theme || n.value });
13
- return i(r), d(r), u(n, (t) => {
14
- p(o, { theme: e.theme || t });
15
- }), (t, w) => (h(), l(_(C(c)), {
12
+ emits: ["dismiss"],
13
+ setup(p, { emit: m }) {
14
+ const i = k("p-popover"), t = p, e = f(), a = m, n = d(w), s = () => r(e, { ...t, theme: t.theme || n.value });
15
+ return l(() => {
16
+ s(), x(e, "dismiss", a);
17
+ }), u(s), h(n, (o) => {
18
+ r(e, { theme: t.theme || o });
19
+ }), (o, B) => (_(), y(C(v(i)), {
16
20
  ref_key: "pdsComponentRef",
17
- ref: o
21
+ ref: e
18
22
  }, {
19
- default: y(() => [
20
- v(t.$slots, "default")
23
+ default: P(() => [
24
+ R(o.$slots, "default")
21
25
  ]),
22
26
  _: 3
23
27
  }, 512));
24
28
  }
25
29
  });
26
30
  export {
27
- b as default
31
+ E as default
28
32
  };
@@ -25,19 +25,20 @@ type PRadioButtonWrapperProps = {
25
25
  */
26
26
  theme?: Theme;
27
27
  };
28
- declare function __VLS_template(): {
29
- default?(_: {}): any;
28
+ declare var __VLS_8: {};
29
+ type __VLS_Slots = {} & {
30
+ default?: (props: typeof __VLS_8) => any;
30
31
  };
31
- declare const __VLS_component: import("vue").DefineComponent<PRadioButtonWrapperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PRadioButtonWrapperProps> & Readonly<{}>, {
32
+ declare const __VLS_component: import("vue").DefineComponent<PRadioButtonWrapperProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PRadioButtonWrapperProps> & Readonly<{}>, {
32
33
  label: string;
33
34
  state: RadioButtonWrapperState;
34
35
  hideLabel: BreakpointCustomizable<boolean>;
35
36
  loading: boolean;
36
37
  message: string;
37
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
39
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
39
40
  export default _default;
40
- type __VLS_WithTemplateSlots<T, S> = T & {
41
+ type __VLS_WithSlots<T, S> = T & {
41
42
  new (): {
42
43
  $slots: S;
43
44
  };
@@ -33,17 +33,18 @@ type PScrollerProps = {
33
33
  */
34
34
  theme?: Theme;
35
35
  };
36
- declare function __VLS_template(): {
37
- default?(_: {}): any;
36
+ declare var __VLS_8: {};
37
+ type __VLS_Slots = {} & {
38
+ default?: (props: typeof __VLS_8) => any;
38
39
  };
39
- declare const __VLS_component: import("vue").DefineComponent<PScrollerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PScrollerProps> & Readonly<{}>, {
40
+ declare const __VLS_component: import("vue").DefineComponent<PScrollerProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PScrollerProps> & Readonly<{}>, {
40
41
  scrollbar: boolean;
41
42
  gradientColor: ScrollerGradientColor;
42
43
  alignScrollIndicator: ScrollerAlignScrollIndicator;
43
44
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
45
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
45
46
  export default _default;
46
- type __VLS_WithTemplateSlots<T, S> = T & {
47
+ type __VLS_WithSlots<T, S> = T & {
47
48
  new (): {
48
49
  $slots: S;
49
50
  };
@@ -25,15 +25,16 @@ type PSegmentedControlItemProps = {
25
25
  */
26
26
  value: string | number;
27
27
  };
28
- declare function __VLS_template(): {
29
- default?(_: {}): any;
28
+ declare var __VLS_8: {};
29
+ type __VLS_Slots = {} & {
30
+ default?: (props: typeof __VLS_8) => any;
30
31
  };
31
- declare const __VLS_component: import("vue").DefineComponent<PSegmentedControlItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PSegmentedControlItemProps> & Readonly<{}>, {
32
+ declare const __VLS_component: import("vue").DefineComponent<PSegmentedControlItemProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PSegmentedControlItemProps> & Readonly<{}>, {
32
33
  disabled: boolean;
33
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
35
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
35
36
  export default _default;
36
- type __VLS_WithTemplateSlots<T, S> = T & {
37
+ type __VLS_WithSlots<T, S> = T & {
37
38
  new (): {
38
39
  $slots: S;
39
40
  };
@@ -29,12 +29,13 @@ type PSegmentedControlProps = {
29
29
  */
30
30
  value?: string | number;
31
31
  };
32
- declare function __VLS_template(): {
33
- default?(_: {}): any;
32
+ declare var __VLS_8: {};
33
+ type __VLS_Slots = {} & {
34
+ default?: (props: typeof __VLS_8) => any;
34
35
  };
35
- declare const __VLS_component: import("vue").DefineComponent<PSegmentedControlProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
- segmentedControlChange: (value: import("../types").SegmentedControlUpdateEvent) => void;
37
- update: (value: import("../types").SegmentedControlUpdateEvent) => void;
36
+ declare const __VLS_component: import("vue").DefineComponent<PSegmentedControlProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
37
+ update: (value: import("../types").SegmentedControlUpdateEvent) => any;
38
+ segmentedControlChange: (value: import("../types").SegmentedControlUpdateEvent) => any;
38
39
  }, string, import("vue").PublicProps, Readonly<PSegmentedControlProps> & Readonly<{
39
40
  onUpdate?: ((value: import("../types").SegmentedControlUpdateEvent) => any) | undefined;
40
41
  onSegmentedControlChange?: ((value: import("../types").SegmentedControlUpdateEvent) => any) | undefined;
@@ -42,9 +43,9 @@ declare const __VLS_component: import("vue").DefineComponent<PSegmentedControlPr
42
43
  disabled: boolean;
43
44
  columns: BreakpointCustomizable<SegmentedControlColumns>;
44
45
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
45
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
46
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
46
47
  export default _default;
47
- type __VLS_WithTemplateSlots<T, S> = T & {
48
+ type __VLS_WithSlots<T, S> = T & {
48
49
  new (): {
49
50
  $slots: S;
50
51
  };
@@ -8,15 +8,16 @@ type PSelectOptionProps = {
8
8
  */
9
9
  value?: string;
10
10
  };
11
- declare function __VLS_template(): {
12
- default?(_: {}): any;
11
+ declare var __VLS_8: {};
12
+ type __VLS_Slots = {} & {
13
+ default?: (props: typeof __VLS_8) => any;
13
14
  };
14
- declare const __VLS_component: import("vue").DefineComponent<PSelectOptionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PSelectOptionProps> & Readonly<{}>, {
15
+ declare const __VLS_component: import("vue").DefineComponent<PSelectOptionProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PSelectOptionProps> & Readonly<{}>, {
15
16
  disabled: boolean;
16
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
19
  export default _default;
19
- type __VLS_WithTemplateSlots<T, S> = T & {
20
+ type __VLS_WithSlots<T, S> = T & {
20
21
  new (): {
21
22
  $slots: S;
22
23
  };
@@ -57,28 +57,29 @@ type PSelectProps = {
57
57
  */
58
58
  value?: string;
59
59
  };
60
- declare function __VLS_template(): {
61
- default?(_: {}): any;
60
+ declare var __VLS_8: {};
61
+ type __VLS_Slots = {} & {
62
+ default?: (props: typeof __VLS_8) => any;
62
63
  };
63
- declare const __VLS_component: import("vue").DefineComponent<PSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
64
- update: (value: SelectUpdateEventDetail) => void;
64
+ declare const __VLS_component: import("vue").DefineComponent<PSelectProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
65
+ update: (value: SelectUpdateEventDetail) => any;
65
66
  }, string, import("vue").PublicProps, Readonly<PSelectProps> & Readonly<{
66
67
  onUpdate?: ((value: SelectUpdateEventDetail) => any) | undefined;
67
68
  }>, {
68
69
  filter: boolean;
69
70
  label: string;
70
- description: string;
71
- disabled: boolean;
72
71
  compact: boolean;
72
+ description: string;
73
73
  state: SelectState;
74
74
  required: boolean;
75
+ disabled: boolean;
75
76
  hideLabel: BreakpointCustomizable<boolean>;
76
77
  message: string;
77
78
  dropdownDirection: SelectDropdownDirection;
78
79
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
79
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
80
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
80
81
  export default _default;
81
- type __VLS_WithTemplateSlots<T, S> = T & {
82
+ type __VLS_WithSlots<T, S> = T & {
82
83
  new (): {
83
84
  $slots: S;
84
85
  };
@@ -37,10 +37,11 @@ type PSelectWrapperProps = {
37
37
  */
38
38
  theme?: Theme;
39
39
  };
40
- declare function __VLS_template(): {
41
- default?(_: {}): any;
40
+ declare var __VLS_8: {};
41
+ type __VLS_Slots = {} & {
42
+ default?: (props: typeof __VLS_8) => any;
42
43
  };
43
- declare const __VLS_component: import("vue").DefineComponent<PSelectWrapperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PSelectWrapperProps> & Readonly<{}>, {
44
+ declare const __VLS_component: import("vue").DefineComponent<PSelectWrapperProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PSelectWrapperProps> & Readonly<{}>, {
44
45
  filter: boolean;
45
46
  label: string;
46
47
  description: string;
@@ -50,9 +51,9 @@ declare const __VLS_component: import("vue").DefineComponent<PSelectWrapperProps
50
51
  dropdownDirection: SelectWrapperDropdownDirection;
51
52
  native: boolean;
52
53
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
53
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
54
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
54
55
  export default _default;
55
- type __VLS_WithTemplateSlots<T, S> = T & {
56
+ type __VLS_WithSlots<T, S> = T & {
56
57
  new (): {
57
58
  $slots: S;
58
59
  };
@@ -21,17 +21,24 @@ type PSheetProps = {
21
21
  */
22
22
  theme?: Theme;
23
23
  };
24
- declare function __VLS_template(): {
25
- default?(_: {}): any;
24
+ declare var __VLS_8: {};
25
+ type __VLS_Slots = {} & {
26
+ default?: (props: typeof __VLS_8) => any;
26
27
  };
27
- declare const __VLS_component: import("vue").DefineComponent<PSheetProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
28
+ declare const __VLS_component: import("vue").DefineComponent<PSheetProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ [x: string]: any;
30
+ } & {
31
+ [x: string]: any;
32
+ }, string, import("vue").PublicProps, Readonly<PSheetProps> & Readonly<{
33
+ [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
34
+ }>, {
28
35
  open: boolean;
29
36
  dismissButton: boolean;
30
37
  disableBackdropClick: boolean;
31
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
39
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
33
40
  export default _default;
34
- type __VLS_WithTemplateSlots<T, S> = T & {
41
+ type __VLS_WithSlots<T, S> = T & {
35
42
  new (): {
36
43
  $slots: S;
37
44
  };
@@ -13,7 +13,7 @@ type PSpinnerProps = {
13
13
  */
14
14
  theme?: Theme;
15
15
  };
16
- declare const _default: import("vue").DefineComponent<PSpinnerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PSpinnerProps> & Readonly<{}>, {
16
+ declare const _default: import("vue").DefineComponent<PSpinnerProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PSpinnerProps> & Readonly<{}>, {
17
17
  size: BreakpointCustomizable<SpinnerSize>;
18
18
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
19
  export default _default;