@porsche-design-system/components-vue 3.6.1 → 3.7.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 (66) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/cjs/lib/components/MultiSelectOptionWrapper.vue.cjs +1 -0
  3. package/cjs/lib/components/MultiSelectOptionWrapper.vue2.cjs +1 -0
  4. package/cjs/lib/components/MultiSelectWrapper.vue.cjs +1 -0
  5. package/cjs/lib/components/MultiSelectWrapper.vue2.cjs +1 -0
  6. package/cjs/lib/components/PinCodeWrapper.vue.cjs +1 -0
  7. package/cjs/lib/components/PinCodeWrapper.vue2.cjs +1 -0
  8. package/cjs/lib/components/RadioButtonWrapperWrapper.vue.cjs +1 -1
  9. package/cjs/public-api.cjs +1 -1
  10. package/esm/lib/components/AccordionWrapper.vue.d.ts +3 -3
  11. package/esm/lib/components/BannerWrapper.vue.d.ts +3 -3
  12. package/esm/lib/components/ButtonPureWrapper.vue.d.ts +3 -3
  13. package/esm/lib/components/ButtonTileWrapper.vue.d.ts +3 -3
  14. package/esm/lib/components/ButtonWrapper.vue.d.ts +3 -3
  15. package/esm/lib/components/CarouselWrapper.vue.d.ts +3 -3
  16. package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +3 -3
  17. package/esm/lib/components/ContentWrapperWrapper.vue.d.ts +3 -3
  18. package/esm/lib/components/DisplayWrapper.vue.d.ts +3 -3
  19. package/esm/lib/components/DividerWrapper.vue.d.ts +3 -3
  20. package/esm/lib/components/FieldsetWrapper.vue.d.ts +3 -3
  21. package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +3 -3
  22. package/esm/lib/components/FlexItemWrapper.vue.d.ts +6 -6
  23. package/esm/lib/components/FlyoutWrapper.vue.d.ts +3 -3
  24. package/esm/lib/components/HeadingWrapper.vue.d.ts +3 -3
  25. package/esm/lib/components/HeadlineWrapper.vue.d.ts +3 -3
  26. package/esm/lib/components/IconWrapper.vue.d.ts +3 -3
  27. package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +3 -3
  28. package/esm/lib/components/LinkPureWrapper.vue.d.ts +3 -3
  29. package/esm/lib/components/LinkSocialWrapper.vue.d.ts +3 -3
  30. package/esm/lib/components/LinkTileWrapper.vue.d.ts +3 -3
  31. package/esm/lib/components/LinkWrapper.vue.d.ts +3 -3
  32. package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +3 -3
  33. package/esm/lib/components/MultiSelectOptionWrapper.vue.d.ts +29 -0
  34. package/esm/lib/components/MultiSelectOptionWrapper.vue.mjs +28 -0
  35. package/esm/lib/components/MultiSelectOptionWrapper.vue2.mjs +4 -0
  36. package/esm/lib/components/MultiSelectWrapper.vue.d.ts +115 -0
  37. package/esm/lib/components/MultiSelectWrapper.vue.mjs +38 -0
  38. package/esm/lib/components/MultiSelectWrapper.vue2.mjs +4 -0
  39. package/esm/lib/components/PaginationWrapper.vue.d.ts +3 -3
  40. package/esm/lib/components/PinCodeWrapper.vue.d.ts +131 -0
  41. package/esm/lib/components/PinCodeWrapper.vue.mjs +40 -0
  42. package/esm/lib/components/PinCodeWrapper.vue2.mjs +4 -0
  43. package/esm/lib/components/PopoverWrapper.vue.d.ts +3 -3
  44. package/esm/lib/components/RadioButtonWrapperWrapper.vue.d.ts +12 -3
  45. package/esm/lib/components/RadioButtonWrapperWrapper.vue.mjs +11 -10
  46. package/esm/lib/components/ScrollerWrapper.vue.d.ts +3 -3
  47. package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +3 -3
  48. package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +3 -3
  49. package/esm/lib/components/SpinnerWrapper.vue.d.ts +3 -3
  50. package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +3 -3
  51. package/esm/lib/components/SwitchWrapper.vue.d.ts +3 -3
  52. package/esm/lib/components/TableWrapper.vue.d.ts +3 -3
  53. package/esm/lib/components/TabsBarWrapper.vue.d.ts +3 -3
  54. package/esm/lib/components/TabsWrapper.vue.d.ts +3 -3
  55. package/esm/lib/components/TagDismissibleWrapper.vue.d.ts +3 -3
  56. package/esm/lib/components/TagWrapper.vue.d.ts +3 -3
  57. package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +3 -3
  58. package/esm/lib/components/TextListWrapper.vue.d.ts +3 -3
  59. package/esm/lib/components/TextWrapper.vue.d.ts +3 -3
  60. package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +3 -3
  61. package/esm/lib/components/ToastWrapper.vue.d.ts +3 -3
  62. package/esm/lib/components/WordmarkWrapper.vue.d.ts +3 -3
  63. package/esm/lib/components/index.d.ts +3 -0
  64. package/esm/lib/types.d.ts +30 -2
  65. package/esm/public-api.mjs +95 -89
  66. package/package.json +2 -2
@@ -16,7 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
16
16
  default: string;
17
17
  };
18
18
  theme: {
19
- type: import("vue").PropType<"light" | "dark">;
19
+ type: import("vue").PropType<"light" | "dark" | "auto">;
20
20
  default: string;
21
21
  };
22
22
  active: {
@@ -72,7 +72,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
72
72
  default: string;
73
73
  };
74
74
  theme: {
75
- type: import("vue").PropType<"light" | "dark">;
75
+ type: import("vue").PropType<"light" | "dark" | "auto">;
76
76
  default: string;
77
77
  };
78
78
  active: {
@@ -115,7 +115,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
115
115
  weight: "regular" | "semi-bold" | "bold" | "thin" | "semibold";
116
116
  stretch: BreakpointCustomizable<boolean>;
117
117
  size: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large">;
118
- theme: "light" | "dark";
118
+ theme: "light" | "dark" | "auto";
119
119
  active: boolean;
120
120
  alignLabel: BreakpointCustomizable<"left" | "right">;
121
121
  hideLabel: BreakpointCustomizable<boolean>;
@@ -2,7 +2,7 @@ import type { BreakpointCustomizable, LinkSocialIcon } from '../types';
2
2
  /** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social icon instead. */
3
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
4
  theme: {
5
- type: import("vue").PropType<"light" | "dark">;
5
+ type: import("vue").PropType<"light" | "dark" | "auto">;
6
6
  default: string;
7
7
  };
8
8
  hideLabel: {
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
27
27
  };
28
28
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
29
  theme: {
30
- type: import("vue").PropType<"light" | "dark">;
30
+ type: import("vue").PropType<"light" | "dark" | "auto">;
31
31
  default: string;
32
32
  };
33
33
  hideLabel: {
@@ -51,7 +51,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
51
51
  type: import("vue").PropType<string>;
52
52
  };
53
53
  }>>, {
54
- theme: "light" | "dark";
54
+ theme: "light" | "dark" | "auto";
55
55
  hideLabel: BreakpointCustomizable<boolean>;
56
56
  target: string;
57
57
  }, {}>, {
@@ -35,7 +35,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
35
35
  default: string;
36
36
  };
37
37
  background: {
38
- type: import("vue").PropType<"light" | "dark">;
38
+ type: import("vue").PropType<"light" | "dark" | "auto">;
39
39
  default: string;
40
40
  };
41
41
  gradient: {
@@ -89,7 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
89
89
  default: string;
90
90
  };
91
91
  background: {
92
- type: import("vue").PropType<"light" | "dark">;
92
+ type: import("vue").PropType<"light" | "dark" | "auto">;
93
93
  default: string;
94
94
  };
95
95
  gradient: {
@@ -113,7 +113,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
113
113
  size: BreakpointCustomizable<"default" | "inherit">;
114
114
  align: "top" | "bottom";
115
115
  aspectRatio: BreakpointCustomizable<"1:1" | "4:3" | "3:4" | "16:9" | "9:16">;
116
- background: "light" | "dark";
116
+ background: "light" | "dark" | "auto";
117
117
  gradient: boolean;
118
118
  target: string;
119
119
  }, {}>, {
@@ -4,7 +4,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
4
  type: import("vue").PropType<string>;
5
5
  };
6
6
  theme: {
7
- type: import("vue").PropType<"light" | "dark">;
7
+ type: import("vue").PropType<"light" | "dark" | "auto">;
8
8
  default: string;
9
9
  };
10
10
  aria: {
@@ -40,7 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
40
40
  type: import("vue").PropType<string>;
41
41
  };
42
42
  theme: {
43
- type: import("vue").PropType<"light" | "dark">;
43
+ type: import("vue").PropType<"light" | "dark" | "auto">;
44
44
  default: string;
45
45
  };
46
46
  aria: {
@@ -72,7 +72,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
72
72
  type: import("vue").PropType<string>;
73
73
  };
74
74
  }>>, {
75
- theme: "light" | "dark";
75
+ theme: "light" | "dark" | "auto";
76
76
  hideLabel: BreakpointCustomizable<boolean>;
77
77
  icon: import("../types").LinkButtonIconName;
78
78
  variant: "primary" | "secondary" | "tertiary";
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<{
4
4
  default: string;
5
5
  };
6
6
  theme: {
7
- type: import("vue").PropType<"light" | "dark">;
7
+ type: import("vue").PropType<"light" | "dark" | "auto">;
8
8
  default: string;
9
9
  };
10
10
  color: {
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
21
21
  default: string;
22
22
  };
23
23
  theme: {
24
- type: import("vue").PropType<"light" | "dark">;
24
+ type: import("vue").PropType<"light" | "dark" | "auto">;
25
25
  default: string;
26
26
  };
27
27
  color: {
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
34
34
  };
35
35
  }>>, {
36
36
  size: "inherit" | "small";
37
- theme: "light" | "dark";
37
+ theme: "light" | "dark" | "auto";
38
38
  color: "inherit" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high";
39
39
  model: "718" | "911" | "boxster" | "cayenne" | "cayman" | "macan" | "panamera" | "taycan" | "turbo-s" | "turbo";
40
40
  }, {}>;
@@ -0,0 +1,29 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ disabled: {
3
+ type: import("vue").PropType<boolean>;
4
+ default: boolean;
5
+ };
6
+ value: {
7
+ type: import("vue").PropType<string>;
8
+ required: true;
9
+ };
10
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ disabled: {
12
+ type: import("vue").PropType<boolean>;
13
+ default: boolean;
14
+ };
15
+ value: {
16
+ type: import("vue").PropType<string>;
17
+ required: true;
18
+ };
19
+ }>>, {
20
+ disabled: boolean;
21
+ }, {}>, {
22
+ default?(_: {}): any;
23
+ }>;
24
+ export default _default;
25
+ type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as a, ref as l, onMounted as s, onUpdated as f, openBlock as c, createBlock as d, resolveDynamicComponent as m, unref as u, withCtx as i, renderSlot as _ } from "vue";
2
+ import { getPrefixedTagName as C, syncProperties as t } from "../../utils.mjs";
3
+ const k = /* @__PURE__ */ a({
4
+ __name: "MultiSelectOptionWrapper",
5
+ props: {
6
+ disabled: { type: Boolean, default: !1 },
7
+ value: {}
8
+ },
9
+ setup(n) {
10
+ const o = n, p = C("p-multi-select-option"), e = l();
11
+ return s(() => {
12
+ t(e.value, o);
13
+ }), f(() => {
14
+ t(e.value, o);
15
+ }), (r, v) => (c(), d(m(u(p)), {
16
+ ref_key: "pdsComponentRef",
17
+ ref: e
18
+ }, {
19
+ default: i(() => [
20
+ _(r.$slots, "default")
21
+ ]),
22
+ _: 3
23
+ }, 512));
24
+ }
25
+ });
26
+ export {
27
+ k as default
28
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./MultiSelectOptionWrapper.vue.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,115 @@
1
+ import type { BreakpointCustomizable, MultiSelectUpdateEvent } from '../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ label: {
4
+ type: import("vue").PropType<string>;
5
+ default: string;
6
+ };
7
+ theme: {
8
+ type: import("vue").PropType<"light" | "dark" | "auto">;
9
+ default: string;
10
+ };
11
+ description: {
12
+ type: import("vue").PropType<string>;
13
+ default: string;
14
+ };
15
+ state: {
16
+ type: import("vue").PropType<"none" | "success" | "error">;
17
+ default: string;
18
+ };
19
+ required: {
20
+ type: import("vue").PropType<boolean>;
21
+ default: boolean;
22
+ };
23
+ disabled: {
24
+ type: import("vue").PropType<boolean>;
25
+ default: boolean;
26
+ };
27
+ hideLabel: {
28
+ type: import("vue").PropType<BreakpointCustomizable<boolean>>;
29
+ default: boolean;
30
+ };
31
+ message: {
32
+ type: import("vue").PropType<string>;
33
+ default: string;
34
+ };
35
+ name: {
36
+ type: import("vue").PropType<string>;
37
+ required: true;
38
+ };
39
+ value: {
40
+ type: import("vue").PropType<string[]>;
41
+ default: () => never[];
42
+ };
43
+ dropdownDirection: {
44
+ type: import("vue").PropType<"auto" | "down" | "up">;
45
+ default: string;
46
+ };
47
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
+ update: (value: MultiSelectUpdateEvent) => void;
49
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
50
+ label: {
51
+ type: import("vue").PropType<string>;
52
+ default: string;
53
+ };
54
+ theme: {
55
+ type: import("vue").PropType<"light" | "dark" | "auto">;
56
+ default: string;
57
+ };
58
+ description: {
59
+ type: import("vue").PropType<string>;
60
+ default: string;
61
+ };
62
+ state: {
63
+ type: import("vue").PropType<"none" | "success" | "error">;
64
+ default: string;
65
+ };
66
+ required: {
67
+ type: import("vue").PropType<boolean>;
68
+ default: boolean;
69
+ };
70
+ disabled: {
71
+ type: import("vue").PropType<boolean>;
72
+ default: boolean;
73
+ };
74
+ hideLabel: {
75
+ type: import("vue").PropType<BreakpointCustomizable<boolean>>;
76
+ default: boolean;
77
+ };
78
+ message: {
79
+ type: import("vue").PropType<string>;
80
+ default: string;
81
+ };
82
+ name: {
83
+ type: import("vue").PropType<string>;
84
+ required: true;
85
+ };
86
+ value: {
87
+ type: import("vue").PropType<string[]>;
88
+ default: () => never[];
89
+ };
90
+ dropdownDirection: {
91
+ type: import("vue").PropType<"auto" | "down" | "up">;
92
+ default: string;
93
+ };
94
+ }>> & {
95
+ onUpdate?: ((value: MultiSelectUpdateEvent) => any) | undefined;
96
+ }, {
97
+ label: string;
98
+ theme: "light" | "dark" | "auto";
99
+ description: string;
100
+ state: "none" | "success" | "error";
101
+ required: boolean;
102
+ disabled: boolean;
103
+ hideLabel: BreakpointCustomizable<boolean>;
104
+ message: string;
105
+ value: string[];
106
+ dropdownDirection: "auto" | "down" | "up";
107
+ }, {}>, {
108
+ default?(_: {}): any;
109
+ }>;
110
+ export default _default;
111
+ type __VLS_WithTemplateSlots<T, S> = T & {
112
+ new (): {
113
+ $slots: S;
114
+ };
115
+ };
@@ -0,0 +1,38 @@
1
+ import { defineComponent as r, ref as f, onMounted as u, onUpdated as p, openBlock as s, createBlock as i, resolveDynamicComponent as m, unref as c, withCtx as _, renderSlot as v } from "vue";
2
+ import { getPrefixedTagName as C, syncProperties as a, addEventListenerToElementRef as g } from "../../utils.mjs";
3
+ const B = /* @__PURE__ */ r({
4
+ __name: "MultiSelectWrapper",
5
+ props: {
6
+ description: { default: "" },
7
+ disabled: { type: Boolean, default: !1 },
8
+ dropdownDirection: { default: "auto" },
9
+ hideLabel: { default: !1 },
10
+ label: { default: "" },
11
+ message: { default: "" },
12
+ name: {},
13
+ required: { type: Boolean, default: !1 },
14
+ state: { default: "none" },
15
+ theme: { default: "light" },
16
+ value: { default: () => [] }
17
+ },
18
+ emits: ["update"],
19
+ setup(o, { emit: n }) {
20
+ const t = o, l = C("p-multi-select"), e = f();
21
+ return u(() => {
22
+ a(e.value, t), g(e.value, "update", n);
23
+ }), p(() => {
24
+ a(e.value, t);
25
+ }), (d, h) => (s(), i(m(c(l)), {
26
+ ref_key: "pdsComponentRef",
27
+ ref: e
28
+ }, {
29
+ default: _(() => [
30
+ v(d.$slots, "default")
31
+ ]),
32
+ _: 3
33
+ }, 512));
34
+ }
35
+ });
36
+ export {
37
+ B as default
38
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./MultiSelectWrapper.vue.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -1,7 +1,7 @@
1
1
  import type { PaginationInternationalization, BreakpointCustomizable, PaginationUpdateEvent } from '../types';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  theme: {
4
- type: import("vue").PropType<"light" | "dark">;
4
+ type: import("vue").PropType<"light" | "dark" | "auto">;
5
5
  default: string;
6
6
  };
7
7
  intl: {
@@ -55,7 +55,7 @@ declare const _default: import("vue").DefineComponent<{
55
55
  update: (value: PaginationUpdateEvent) => void;
56
56
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
57
57
  theme: {
58
- type: import("vue").PropType<"light" | "dark">;
58
+ type: import("vue").PropType<"light" | "dark" | "auto">;
59
59
  default: string;
60
60
  };
61
61
  intl: {
@@ -108,7 +108,7 @@ declare const _default: import("vue").DefineComponent<{
108
108
  onUpdate?: ((value: PaginationUpdateEvent) => any) | undefined;
109
109
  onPageChange?: ((value: PaginationUpdateEvent) => any) | undefined;
110
110
  }, {
111
- theme: "light" | "dark";
111
+ theme: "light" | "dark" | "auto";
112
112
  intl: PaginationInternationalization;
113
113
  activePage: number;
114
114
  itemsPerPage: number;
@@ -0,0 +1,131 @@
1
+ import type { BreakpointCustomizable, PinCodeUpdateEvent } from '../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ label: {
4
+ type: import("vue").PropType<string>;
5
+ default: string;
6
+ };
7
+ length: {
8
+ type: import("vue").PropType<4 | 6>;
9
+ default: number;
10
+ };
11
+ type: {
12
+ type: import("vue").PropType<"number" | "password">;
13
+ default: string;
14
+ };
15
+ theme: {
16
+ type: import("vue").PropType<"light" | "dark" | "auto">;
17
+ default: string;
18
+ };
19
+ description: {
20
+ type: import("vue").PropType<string>;
21
+ default: string;
22
+ };
23
+ state: {
24
+ type: import("vue").PropType<"none" | "success" | "error">;
25
+ default: string;
26
+ };
27
+ required: {
28
+ type: import("vue").PropType<boolean>;
29
+ default: boolean;
30
+ };
31
+ disabled: {
32
+ type: import("vue").PropType<boolean>;
33
+ default: boolean;
34
+ };
35
+ hideLabel: {
36
+ type: import("vue").PropType<BreakpointCustomizable<boolean>>;
37
+ default: boolean;
38
+ };
39
+ loading: {
40
+ type: import("vue").PropType<boolean>;
41
+ default: boolean;
42
+ };
43
+ message: {
44
+ type: import("vue").PropType<string>;
45
+ default: string;
46
+ };
47
+ name: {
48
+ type: import("vue").PropType<string>;
49
+ };
50
+ value: {
51
+ type: import("vue").PropType<string>;
52
+ default: string;
53
+ };
54
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
55
+ update: (value: PinCodeUpdateEvent) => void;
56
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
57
+ label: {
58
+ type: import("vue").PropType<string>;
59
+ default: string;
60
+ };
61
+ length: {
62
+ type: import("vue").PropType<4 | 6>;
63
+ default: number;
64
+ };
65
+ type: {
66
+ type: import("vue").PropType<"number" | "password">;
67
+ default: string;
68
+ };
69
+ theme: {
70
+ type: import("vue").PropType<"light" | "dark" | "auto">;
71
+ default: string;
72
+ };
73
+ description: {
74
+ type: import("vue").PropType<string>;
75
+ default: string;
76
+ };
77
+ state: {
78
+ type: import("vue").PropType<"none" | "success" | "error">;
79
+ default: string;
80
+ };
81
+ required: {
82
+ type: import("vue").PropType<boolean>;
83
+ default: boolean;
84
+ };
85
+ disabled: {
86
+ type: import("vue").PropType<boolean>;
87
+ default: boolean;
88
+ };
89
+ hideLabel: {
90
+ type: import("vue").PropType<BreakpointCustomizable<boolean>>;
91
+ default: boolean;
92
+ };
93
+ loading: {
94
+ type: import("vue").PropType<boolean>;
95
+ default: boolean;
96
+ };
97
+ message: {
98
+ type: import("vue").PropType<string>;
99
+ default: string;
100
+ };
101
+ name: {
102
+ type: import("vue").PropType<string>;
103
+ };
104
+ value: {
105
+ type: import("vue").PropType<string>;
106
+ default: string;
107
+ };
108
+ }>> & {
109
+ onUpdate?: ((value: PinCodeUpdateEvent) => any) | undefined;
110
+ }, {
111
+ label: string;
112
+ length: 4 | 6;
113
+ type: "number" | "password";
114
+ theme: "light" | "dark" | "auto";
115
+ description: string;
116
+ state: "none" | "success" | "error";
117
+ required: boolean;
118
+ disabled: boolean;
119
+ hideLabel: BreakpointCustomizable<boolean>;
120
+ loading: boolean;
121
+ message: string;
122
+ value: string;
123
+ }, {}>, {
124
+ default?(_: {}): any;
125
+ }>;
126
+ export default _default;
127
+ type __VLS_WithTemplateSlots<T, S> = T & {
128
+ new (): {
129
+ $slots: S;
130
+ };
131
+ };
@@ -0,0 +1,40 @@
1
+ import { defineComponent as f, ref as p, onMounted as r, onUpdated as u, openBlock as s, createBlock as i, resolveDynamicComponent as m, unref as c, withCtx as g, renderSlot as y } from "vue";
2
+ import { getPrefixedTagName as C, syncProperties as a, addEventListenerToElementRef as _ } from "../../utils.mjs";
3
+ const B = /* @__PURE__ */ f({
4
+ __name: "PinCodeWrapper",
5
+ props: {
6
+ description: { default: "" },
7
+ disabled: { type: Boolean, default: !1 },
8
+ hideLabel: { default: !1 },
9
+ label: { default: "" },
10
+ length: { default: 4 },
11
+ loading: { type: Boolean, default: !1 },
12
+ message: { default: "" },
13
+ name: {},
14
+ required: { type: Boolean, default: !1 },
15
+ state: { default: "none" },
16
+ theme: { default: "light" },
17
+ type: { default: "number" },
18
+ value: { default: "" }
19
+ },
20
+ emits: ["update"],
21
+ setup(o, { emit: n }) {
22
+ const t = o, l = C("p-pin-code"), e = p();
23
+ return r(() => {
24
+ a(e.value, t), _(e.value, "update", n);
25
+ }), u(() => {
26
+ a(e.value, t);
27
+ }), (d, h) => (s(), i(m(c(l)), {
28
+ ref_key: "pdsComponentRef",
29
+ ref: e
30
+ }, {
31
+ default: g(() => [
32
+ y(d.$slots, "default")
33
+ ]),
34
+ _: 3
35
+ }, 512));
36
+ }
37
+ });
38
+ export {
39
+ B as default
40
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./PinCodeWrapper.vue.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -1,7 +1,7 @@
1
1
  import type { SelectedAriaAttributes } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  theme: {
4
- type: import("vue").PropType<"light" | "dark">;
4
+ type: import("vue").PropType<"light" | "dark" | "auto">;
5
5
  default: string;
6
6
  };
7
7
  description: {
@@ -16,7 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
16
16
  };
17
17
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
18
  theme: {
19
- type: import("vue").PropType<"light" | "dark">;
19
+ type: import("vue").PropType<"light" | "dark" | "auto">;
20
20
  default: string;
21
21
  };
22
22
  description: {
@@ -30,7 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
30
30
  type: import("vue").PropType<SelectedAriaAttributes<"aria-label">>;
31
31
  };
32
32
  }>>, {
33
- theme: "light" | "dark";
33
+ theme: "light" | "dark" | "auto";
34
34
  direction: "top" | "bottom" | "left" | "right";
35
35
  }, {}>, {
36
36
  default?(_: {}): any;
@@ -5,7 +5,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
5
  default: string;
6
6
  };
7
7
  theme: {
8
- type: import("vue").PropType<"light" | "dark">;
8
+ type: import("vue").PropType<"light" | "dark" | "auto">;
9
9
  default: string;
10
10
  };
11
11
  state: {
@@ -16,6 +16,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
16
16
  type: import("vue").PropType<BreakpointCustomizable<boolean>>;
17
17
  default: boolean;
18
18
  };
19
+ loading: {
20
+ type: import("vue").PropType<boolean>;
21
+ default: boolean;
22
+ };
19
23
  message: {
20
24
  type: import("vue").PropType<string>;
21
25
  default: string;
@@ -26,7 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
26
30
  default: string;
27
31
  };
28
32
  theme: {
29
- type: import("vue").PropType<"light" | "dark">;
33
+ type: import("vue").PropType<"light" | "dark" | "auto">;
30
34
  default: string;
31
35
  };
32
36
  state: {
@@ -37,15 +41,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
37
41
  type: import("vue").PropType<BreakpointCustomizable<boolean>>;
38
42
  default: boolean;
39
43
  };
44
+ loading: {
45
+ type: import("vue").PropType<boolean>;
46
+ default: boolean;
47
+ };
40
48
  message: {
41
49
  type: import("vue").PropType<string>;
42
50
  default: string;
43
51
  };
44
52
  }>>, {
45
53
  label: string;
46
- theme: "light" | "dark";
54
+ theme: "light" | "dark" | "auto";
47
55
  state: "none" | "success" | "error";
48
56
  hideLabel: BreakpointCustomizable<boolean>;
57
+ loading: boolean;
49
58
  message: string;
50
59
  }, {}>, {
51
60
  default?(_: {}): any;