@porsche-design-system/components-vue 3.30.0-rc.0 → 3.30.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 (210) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/OSS_NOTICE +1635 -2257
  3. package/cjs/lib/components/CheckboxWrapper.vue.cjs +1 -1
  4. package/cjs/lib/components/FlyoutWrapper.vue.cjs +1 -1
  5. package/cjs/lib/components/InputDateWrapper.vue.cjs +1 -1
  6. package/cjs/lib/components/InputEmailWrapper.vue.cjs +1 -1
  7. package/cjs/lib/components/InputNumberWrapper.vue.cjs +1 -1
  8. package/cjs/lib/components/InputPasswordWrapper.vue.cjs +1 -1
  9. package/cjs/lib/components/InputSearchWrapper.vue.cjs +1 -1
  10. package/cjs/lib/components/InputTelWrapper.vue.cjs +1 -1
  11. package/cjs/lib/components/InputTextWrapper.vue.cjs +1 -1
  12. package/cjs/lib/components/InputTimeWrapper.vue.cjs +1 -1
  13. package/cjs/lib/components/InputUrlWrapper.vue.cjs +1 -1
  14. package/cjs/lib/components/MultiSelectWrapper.vue.cjs +1 -1
  15. package/cjs/lib/components/PinCodeWrapper.vue.cjs +1 -1
  16. package/cjs/lib/components/RadioGroupOptionWrapper.vue.cjs +1 -0
  17. package/cjs/lib/components/RadioGroupOptionWrapper.vue2.cjs +1 -0
  18. package/cjs/lib/components/RadioGroupWrapper.vue.cjs +1 -0
  19. package/cjs/lib/components/RadioGroupWrapper.vue2.cjs +1 -0
  20. package/cjs/lib/components/SegmentedControlWrapper.vue.cjs +1 -1
  21. package/cjs/lib/components/SelectWrapper.vue.cjs +1 -1
  22. package/cjs/lib/components/TextareaWrapper.vue.cjs +1 -1
  23. package/cjs/public-api.cjs +1 -1
  24. package/cjs/utils.cjs +1 -1
  25. package/esm/PorscheDesignSystemProvider.vue.d.ts +3 -2
  26. package/esm/lib/components/AccordionWrapper.vue.d.ts +3 -2
  27. package/esm/lib/components/AccordionWrapper.vue.mjs +6 -6
  28. package/esm/lib/components/BannerWrapper.vue.d.ts +3 -4
  29. package/esm/lib/components/BannerWrapper.vue.mjs +3 -3
  30. package/esm/lib/components/ButtonGroupWrapper.vue.d.ts +3 -2
  31. package/esm/lib/components/ButtonGroupWrapper.vue.mjs +2 -2
  32. package/esm/lib/components/ButtonPureWrapper.vue.d.ts +3 -2
  33. package/esm/lib/components/ButtonPureWrapper.vue.mjs +2 -2
  34. package/esm/lib/components/ButtonTileWrapper.vue.d.ts +3 -2
  35. package/esm/lib/components/ButtonTileWrapper.vue.mjs +2 -2
  36. package/esm/lib/components/ButtonWrapper.vue.d.ts +3 -2
  37. package/esm/lib/components/ButtonWrapper.vue.mjs +2 -2
  38. package/esm/lib/components/CanvasWrapper.vue.d.ts +3 -4
  39. package/esm/lib/components/CanvasWrapper.vue.mjs +6 -6
  40. package/esm/lib/components/CarouselWrapper.vue.d.ts +3 -2
  41. package/esm/lib/components/CarouselWrapper.vue.mjs +6 -6
  42. package/esm/lib/components/CheckboxWrapper.vue.d.ts +5 -2
  43. package/esm/lib/components/CheckboxWrapper.vue.mjs +14 -12
  44. package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +3 -2
  45. package/esm/lib/components/CheckboxWrapperWrapper.vue.mjs +2 -2
  46. package/esm/lib/components/ContentWrapperWrapper.vue.d.ts +3 -2
  47. package/esm/lib/components/ContentWrapperWrapper.vue.mjs +2 -2
  48. package/esm/lib/components/CrestWrapper.vue.d.ts +2 -1
  49. package/esm/lib/components/CrestWrapper.vue.mjs +2 -2
  50. package/esm/lib/components/DisplayWrapper.vue.d.ts +3 -2
  51. package/esm/lib/components/DisplayWrapper.vue.mjs +2 -2
  52. package/esm/lib/components/DividerWrapper.vue.d.ts +2 -1
  53. package/esm/lib/components/DividerWrapper.vue.mjs +2 -2
  54. package/esm/lib/components/DrilldownItemWrapper.vue.d.ts +3 -2
  55. package/esm/lib/components/DrilldownItemWrapper.vue.mjs +2 -2
  56. package/esm/lib/components/DrilldownLinkWrapper.vue.d.ts +3 -2
  57. package/esm/lib/components/DrilldownLinkWrapper.vue.mjs +2 -2
  58. package/esm/lib/components/DrilldownWrapper.vue.d.ts +3 -4
  59. package/esm/lib/components/DrilldownWrapper.vue.mjs +6 -6
  60. package/esm/lib/components/FieldsetWrapper.vue.d.ts +3 -2
  61. package/esm/lib/components/FieldsetWrapper.vue.mjs +2 -2
  62. package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +3 -2
  63. package/esm/lib/components/FieldsetWrapperWrapper.vue.mjs +2 -2
  64. package/esm/lib/components/FlagWrapper.vue.d.ts +2 -1
  65. package/esm/lib/components/FlagWrapper.vue.mjs +2 -2
  66. package/esm/lib/components/FlexItemWrapper.vue.d.ts +3 -2
  67. package/esm/lib/components/FlexItemWrapper.vue.mjs +2 -2
  68. package/esm/lib/components/FlexWrapper.vue.d.ts +3 -2
  69. package/esm/lib/components/FlexWrapper.vue.mjs +2 -2
  70. package/esm/lib/components/FlyoutWrapper.vue.d.ts +9 -5
  71. package/esm/lib/components/FlyoutWrapper.vue.mjs +9 -8
  72. package/esm/lib/components/GridItemWrapper.vue.d.ts +3 -2
  73. package/esm/lib/components/GridItemWrapper.vue.mjs +2 -2
  74. package/esm/lib/components/GridWrapper.vue.d.ts +3 -2
  75. package/esm/lib/components/GridWrapper.vue.mjs +2 -2
  76. package/esm/lib/components/HeadingWrapper.vue.d.ts +3 -2
  77. package/esm/lib/components/HeadingWrapper.vue.mjs +2 -2
  78. package/esm/lib/components/HeadlineWrapper.vue.d.ts +3 -2
  79. package/esm/lib/components/HeadlineWrapper.vue.mjs +2 -2
  80. package/esm/lib/components/IconWrapper.vue.d.ts +2 -1
  81. package/esm/lib/components/IconWrapper.vue.mjs +2 -2
  82. package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +3 -4
  83. package/esm/lib/components/InlineNotificationWrapper.vue.mjs +6 -6
  84. package/esm/lib/components/InputDateWrapper.vue.d.ts +5 -2
  85. package/esm/lib/components/InputDateWrapper.vue.mjs +14 -12
  86. package/esm/lib/components/InputEmailWrapper.vue.d.ts +5 -2
  87. package/esm/lib/components/InputEmailWrapper.vue.mjs +14 -12
  88. package/esm/lib/components/InputNumberWrapper.vue.d.ts +5 -2
  89. package/esm/lib/components/InputNumberWrapper.vue.mjs +13 -11
  90. package/esm/lib/components/InputPasswordWrapper.vue.d.ts +5 -2
  91. package/esm/lib/components/InputPasswordWrapper.vue.mjs +13 -11
  92. package/esm/lib/components/InputSearchWrapper.vue.d.ts +5 -2
  93. package/esm/lib/components/InputSearchWrapper.vue.mjs +13 -11
  94. package/esm/lib/components/InputTelWrapper.vue.d.ts +5 -2
  95. package/esm/lib/components/InputTelWrapper.vue.mjs +14 -12
  96. package/esm/lib/components/InputTextWrapper.vue.d.ts +5 -2
  97. package/esm/lib/components/InputTextWrapper.vue.mjs +14 -12
  98. package/esm/lib/components/InputTimeWrapper.vue.d.ts +5 -2
  99. package/esm/lib/components/InputTimeWrapper.vue.mjs +13 -11
  100. package/esm/lib/components/InputUrlWrapper.vue.d.ts +5 -2
  101. package/esm/lib/components/InputUrlWrapper.vue.mjs +14 -12
  102. package/esm/lib/components/LinkPureWrapper.vue.d.ts +3 -2
  103. package/esm/lib/components/LinkPureWrapper.vue.mjs +2 -2
  104. package/esm/lib/components/LinkSocialWrapper.vue.d.ts +3 -2
  105. package/esm/lib/components/LinkSocialWrapper.vue.mjs +2 -2
  106. package/esm/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +3 -2
  107. package/esm/lib/components/LinkTileModelSignatureWrapper.vue.mjs +2 -2
  108. package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +3 -2
  109. package/esm/lib/components/LinkTileProductWrapper.vue.mjs +3 -3
  110. package/esm/lib/components/LinkTileWrapper.vue.d.ts +3 -2
  111. package/esm/lib/components/LinkTileWrapper.vue.mjs +2 -2
  112. package/esm/lib/components/LinkWrapper.vue.d.ts +3 -2
  113. package/esm/lib/components/LinkWrapper.vue.mjs +2 -2
  114. package/esm/lib/components/MarqueWrapper.vue.d.ts +3 -2
  115. package/esm/lib/components/MarqueWrapper.vue.mjs +2 -2
  116. package/esm/lib/components/ModalWrapper.vue.d.ts +4 -5
  117. package/esm/lib/components/ModalWrapper.vue.mjs +3 -3
  118. package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +3 -2
  119. package/esm/lib/components/ModelSignatureWrapper.vue.mjs +2 -2
  120. package/esm/lib/components/MultiSelectOptionWrapper.vue.d.ts +3 -2
  121. package/esm/lib/components/MultiSelectOptionWrapper.vue.mjs +2 -2
  122. package/esm/lib/components/MultiSelectWrapper.vue.d.ts +5 -4
  123. package/esm/lib/components/MultiSelectWrapper.vue.mjs +16 -14
  124. package/esm/lib/components/OptgroupWrapper.vue.d.ts +3 -2
  125. package/esm/lib/components/OptgroupWrapper.vue.mjs +2 -2
  126. package/esm/lib/components/PaginationWrapper.vue.d.ts +2 -1
  127. package/esm/lib/components/PaginationWrapper.vue.mjs +6 -6
  128. package/esm/lib/components/PinCodeWrapper.vue.d.ts +5 -4
  129. package/esm/lib/components/PinCodeWrapper.vue.mjs +15 -13
  130. package/esm/lib/components/PopoverWrapper.vue.d.ts +3 -2
  131. package/esm/lib/components/PopoverWrapper.vue.mjs +2 -2
  132. package/esm/lib/components/RadioButtonWrapperWrapper.vue.d.ts +4 -2
  133. package/esm/lib/components/RadioButtonWrapperWrapper.vue.mjs +2 -2
  134. package/esm/lib/components/RadioGroupOptionWrapper.vue.d.ts +24 -0
  135. package/esm/lib/components/RadioGroupOptionWrapper.vue.mjs +21 -0
  136. package/esm/lib/components/RadioGroupOptionWrapper.vue2.mjs +4 -0
  137. package/esm/lib/components/RadioGroupWrapper.vue.d.ts +88 -0
  138. package/esm/lib/components/RadioGroupWrapper.vue.mjs +43 -0
  139. package/esm/lib/components/RadioGroupWrapper.vue2.mjs +4 -0
  140. package/esm/lib/components/ScrollerWrapper.vue.d.ts +3 -2
  141. package/esm/lib/components/ScrollerWrapper.vue.mjs +2 -2
  142. package/esm/lib/components/SegmentedControlItemWrapper.vue.d.ts +3 -2
  143. package/esm/lib/components/SegmentedControlItemWrapper.vue.mjs +2 -2
  144. package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +10 -6
  145. package/esm/lib/components/SegmentedControlWrapper.vue.mjs +14 -11
  146. package/esm/lib/components/SelectOptionWrapper.vue.d.ts +3 -2
  147. package/esm/lib/components/SelectOptionWrapper.vue.mjs +2 -2
  148. package/esm/lib/components/SelectWrapper.vue.d.ts +6 -5
  149. package/esm/lib/components/SelectWrapper.vue.mjs +16 -14
  150. package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +3 -2
  151. package/esm/lib/components/SelectWrapperWrapper.vue.mjs +2 -2
  152. package/esm/lib/components/SheetWrapper.vue.d.ts +3 -4
  153. package/esm/lib/components/SheetWrapper.vue.mjs +3 -3
  154. package/esm/lib/components/SpinnerWrapper.vue.d.ts +2 -1
  155. package/esm/lib/components/SpinnerWrapper.vue.mjs +2 -2
  156. package/esm/lib/components/StepperHorizontalItemWrapper.vue.d.ts +3 -2
  157. package/esm/lib/components/StepperHorizontalItemWrapper.vue.mjs +2 -2
  158. package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +3 -2
  159. package/esm/lib/components/StepperHorizontalWrapper.vue.mjs +6 -6
  160. package/esm/lib/components/SwitchWrapper.vue.d.ts +3 -2
  161. package/esm/lib/components/SwitchWrapper.vue.mjs +6 -6
  162. package/esm/lib/components/TableBodyWrapper.vue.d.ts +3 -2
  163. package/esm/lib/components/TableBodyWrapper.vue.mjs +2 -2
  164. package/esm/lib/components/TableCellWrapper.vue.d.ts +3 -2
  165. package/esm/lib/components/TableCellWrapper.vue.mjs +2 -2
  166. package/esm/lib/components/TableHeadCellWrapper.vue.d.ts +3 -2
  167. package/esm/lib/components/TableHeadCellWrapper.vue.mjs +2 -2
  168. package/esm/lib/components/TableHeadRowWrapper.vue.d.ts +3 -2
  169. package/esm/lib/components/TableHeadRowWrapper.vue.mjs +2 -2
  170. package/esm/lib/components/TableHeadWrapper.vue.d.ts +3 -2
  171. package/esm/lib/components/TableHeadWrapper.vue.mjs +2 -2
  172. package/esm/lib/components/TableRowWrapper.vue.d.ts +3 -2
  173. package/esm/lib/components/TableRowWrapper.vue.mjs +2 -2
  174. package/esm/lib/components/TableWrapper.vue.d.ts +3 -2
  175. package/esm/lib/components/TableWrapper.vue.mjs +6 -6
  176. package/esm/lib/components/TabsBarWrapper.vue.d.ts +3 -2
  177. package/esm/lib/components/TabsBarWrapper.vue.mjs +6 -6
  178. package/esm/lib/components/TabsItemWrapper.vue.d.ts +3 -2
  179. package/esm/lib/components/TabsItemWrapper.vue.mjs +2 -2
  180. package/esm/lib/components/TabsWrapper.vue.d.ts +3 -2
  181. package/esm/lib/components/TabsWrapper.vue.mjs +6 -6
  182. package/esm/lib/components/TagDismissibleWrapper.vue.d.ts +3 -2
  183. package/esm/lib/components/TagDismissibleWrapper.vue.mjs +2 -2
  184. package/esm/lib/components/TagWrapper.vue.d.ts +3 -2
  185. package/esm/lib/components/TagWrapper.vue.mjs +2 -2
  186. package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +3 -4
  187. package/esm/lib/components/TextFieldWrapperWrapper.vue.mjs +3 -3
  188. package/esm/lib/components/TextListItemWrapper.vue.d.ts +3 -2
  189. package/esm/lib/components/TextListItemWrapper.vue.mjs +2 -2
  190. package/esm/lib/components/TextListWrapper.vue.d.ts +3 -2
  191. package/esm/lib/components/TextListWrapper.vue.mjs +2 -2
  192. package/esm/lib/components/TextWrapper.vue.d.ts +3 -2
  193. package/esm/lib/components/TextWrapper.vue.mjs +2 -2
  194. package/esm/lib/components/TextareaWrapper.vue.d.ts +5 -2
  195. package/esm/lib/components/TextareaWrapper.vue.mjs +12 -10
  196. package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +3 -2
  197. package/esm/lib/components/TextareaWrapperWrapper.vue.mjs +2 -2
  198. package/esm/lib/components/ToastWrapper.vue.d.ts +2 -1
  199. package/esm/lib/components/ToastWrapper.vue.mjs +2 -2
  200. package/esm/lib/components/WordmarkWrapper.vue.d.ts +2 -1
  201. package/esm/lib/components/WordmarkWrapper.vue.mjs +2 -2
  202. package/esm/lib/components/index.d.ts +2 -0
  203. package/esm/lib/types.d.ts +24 -5
  204. package/esm/plugin.mjs +3 -3
  205. package/esm/public-api.d.ts +1 -1
  206. package/esm/public-api.mjs +121 -116
  207. package/esm/utils.d.ts +1 -1
  208. package/esm/utils.mjs +15 -15
  209. package/package.json +2 -2
  210. package/tailwindcss/index.css +6 -6
@@ -1,6 +1,6 @@
1
- import { defineComponent as p, ref as m, inject as u, onMounted as c, onUpdated as i, watch as h, openBlock as y, createBlock as _, resolveDynamicComponent as B, unref as C, withCtx as b, renderSlot as v } from "vue";
2
- import { usePrefix as w, themeInjectionKey as R, addEventListenerToElementRef as j, syncProperties as l } from "../../utils.mjs";
3
- const g = /* @__PURE__ */ p({
1
+ import { defineComponent as f, ref as c, inject as m, onMounted as i, onUpdated as h, watch as y, createBlock as b, openBlock as v, resolveDynamicComponent as _, unref as B, withCtx as C, renderSlot as g } from "vue";
2
+ import { usePrefix as w, themeInjectionKey as R, syncProperties as s, addEventListenerToElementRef as n } from "../../utils.mjs";
3
+ const P = /* @__PURE__ */ f({
4
4
  __name: "MultiSelectWrapper",
5
5
  props: {
6
6
  compact: { type: Boolean, default: !1 },
@@ -17,24 +17,26 @@ const g = /* @__PURE__ */ p({
17
17
  theme: {},
18
18
  value: { default: () => [] }
19
19
  },
20
- emits: ["update"],
21
- setup(s, { emit: r }) {
22
- const d = w("p-multi-select"), t = s, e = m(), f = r, n = u(R), a = () => l(e, { ...t, theme: t.theme || n.value });
23
- return c(() => {
24
- a(), j(e, "update", f);
25
- }), i(a), h(n, (o) => {
26
- l(e, { theme: t.theme || o });
27
- }), (o, k) => (y(), _(B(C(d)), {
20
+ emits: ["update:value", "blur", "change", "update"],
21
+ setup(u, { emit: d }) {
22
+ const p = w("p-multi-select"), a = u, e = c(), o = d, l = m(R), r = () => s(e, { ...a, theme: a.theme || l.value });
23
+ return i(() => {
24
+ r(), n(e, "blur", o), n(e, "change", o, (t) => {
25
+ o("update:value", t.target.value);
26
+ }), n(e, "update", o);
27
+ }), h(r), y(l, (t) => {
28
+ s(e, { theme: a.theme || t });
29
+ }), (t, j) => (v(), b(_(B(p)), {
28
30
  ref_key: "pdsComponentRef",
29
31
  ref: e
30
32
  }, {
31
- default: b(() => [
32
- v(o.$slots, "default")
33
+ default: C(() => [
34
+ g(t.$slots, "default")
33
35
  ]),
34
36
  _: 3
35
37
  }, 512));
36
38
  }
37
39
  });
38
40
  export {
39
- g as default
41
+ P as default
40
42
  };
@@ -12,10 +12,11 @@ declare var __VLS_8: {};
12
12
  type __VLS_Slots = {} & {
13
13
  default?: (props: typeof __VLS_8) => any;
14
14
  };
15
- declare const __VLS_component: import("vue").DefineComponent<POptgroupProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<POptgroupProps> & Readonly<{}>, {
15
+ declare const __VLS_base: import("vue").DefineComponent<POptgroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<POptgroupProps> & Readonly<{}>, {
16
16
  disabled: boolean;
17
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
19
20
  export default _default;
20
21
  type __VLS_WithSlots<T, S> = T & {
21
22
  new (): {
@@ -1,4 +1,4 @@
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";
1
+ import { defineComponent as s, ref as a, onMounted as f, onUpdated as c, createBlock as l, openBlock as d, resolveDynamicComponent as m, unref as u, withCtx as i, renderSlot as _ } from "vue";
2
2
  import { usePrefix as C, syncProperties as y } from "../../utils.mjs";
3
3
  const x = /* @__PURE__ */ s({
4
4
  __name: "OptgroupWrapper",
@@ -8,7 +8,7 @@ const x = /* @__PURE__ */ s({
8
8
  },
9
9
  setup(t) {
10
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)), {
11
+ return f(o), c(o), (r, b) => (d(), l(m(u(n)), {
12
12
  ref_key: "pdsComponentRef",
13
13
  ref: e
14
14
  }, {
@@ -46,7 +46,7 @@ type PPaginationProps = {
46
46
  */
47
47
  totalItemsCount: number;
48
48
  };
49
- declare const _default: import("vue").DefineComponent<PPaginationProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
49
+ declare const __VLS_export: import("vue").DefineComponent<PPaginationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
50
50
  update: (value: import("../types").PaginationUpdateEvent) => any;
51
51
  pageChange: (value: import("../types").PaginationUpdateEvent) => any;
52
52
  }, string, import("vue").PublicProps, Readonly<PPaginationProps> & Readonly<{
@@ -59,4 +59,5 @@ declare const _default: import("vue").DefineComponent<PPaginationProps, void, {}
59
59
  showLastPage: boolean;
60
60
  totalItemsCount: number;
61
61
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
62
+ declare const _default: typeof __VLS_export;
62
63
  export default _default;
@@ -1,5 +1,5 @@
1
- import { defineComponent as c, ref as f, inject as u, onMounted as g, onUpdated as d, watch as P, openBlock as h, createBlock as y, resolveDynamicComponent as C, unref as v } from "vue";
2
- import { usePrefix as x, themeInjectionKey as L, addEventListenerToElementRef as r, syncProperties as l } from "../../utils.mjs";
1
+ import { defineComponent as c, ref as f, inject as u, onMounted as g, onUpdated as d, watch as P, createBlock as h, openBlock as y, resolveDynamicComponent as C, unref as v } from "vue";
2
+ import { usePrefix as x, themeInjectionKey as L, syncProperties as r, addEventListenerToElementRef as l } from "../../utils.mjs";
3
3
  const R = /* @__PURE__ */ c({
4
4
  __name: "PaginationWrapper",
5
5
  props: {
@@ -17,12 +17,12 @@ const R = /* @__PURE__ */ c({
17
17
  },
18
18
  emits: ["pageChange", "update"],
19
19
  setup(s, { emit: m }) {
20
- const i = x("p-pagination"), t = s, e = f(), a = m, n = u(L), o = () => l(e, { ...t, theme: t.theme || n.value });
20
+ const i = x("p-pagination"), t = s, e = f(), a = m, n = u(L), o = () => r(e, { ...t, theme: t.theme || n.value });
21
21
  return g(() => {
22
- o(), r(e, "pageChange", a), r(e, "update", a);
22
+ o(), l(e, "pageChange", a), l(e, "update", a);
23
23
  }), d(o), P(n, (p) => {
24
- l(e, { theme: t.theme || p });
25
- }), (p, _) => (h(), y(C(v(i)), {
24
+ r(e, { theme: t.theme || p });
25
+ }), (p, _) => (y(), h(C(v(i)), {
26
26
  ref_key: "pdsComponentRef",
27
27
  ref: e
28
28
  }, null, 512));
@@ -65,10 +65,10 @@ declare var __VLS_8: {};
65
65
  type __VLS_Slots = {} & {
66
66
  default?: (props: typeof __VLS_8) => any;
67
67
  };
68
- declare const __VLS_component: import("vue").DefineComponent<PPinCodeProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
69
- update: (value: import("../types").PinCodeUpdateEvent) => any;
68
+ declare const __VLS_base: import("vue").DefineComponent<PPinCodeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
69
+ [x: string]: any;
70
70
  }, string, import("vue").PublicProps, Readonly<PPinCodeProps> & Readonly<{
71
- onUpdate?: ((value: import("../types").PinCodeUpdateEvent) => any) | undefined;
71
+ [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
72
72
  }>, {
73
73
  label: string;
74
74
  length: PinCodeLength;
@@ -83,7 +83,8 @@ declare const __VLS_component: import("vue").DefineComponent<PPinCodeProps, void
83
83
  value: string;
84
84
  message: string;
85
85
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
86
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
86
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
87
+ declare const _default: typeof __VLS_export;
87
88
  export default _default;
88
89
  type __VLS_WithSlots<T, S> = T & {
89
90
  new (): {
@@ -1,6 +1,6 @@
1
- import { defineComponent as r, ref as m, inject as u, onMounted as c, onUpdated as i, watch as h, openBlock as y, createBlock as B, resolveDynamicComponent as C, unref as _, withCtx as b, renderSlot as g } from "vue";
2
- import { usePrefix as v, themeInjectionKey as P, addEventListenerToElementRef as R, syncProperties as l } from "../../utils.mjs";
3
- const x = /* @__PURE__ */ r({
1
+ import { defineComponent as u, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, createBlock as b, openBlock as g, resolveDynamicComponent as v, unref as B, withCtx as C, renderSlot as _ } from "vue";
2
+ import { usePrefix as P, themeInjectionKey as R, syncProperties as p, addEventListenerToElementRef as n } from "../../utils.mjs";
3
+ const x = /* @__PURE__ */ u({
4
4
  __name: "PinCodeWrapper",
5
5
  props: {
6
6
  compact: { type: Boolean, default: !1 },
@@ -19,19 +19,21 @@ const x = /* @__PURE__ */ r({
19
19
  type: { default: "number" },
20
20
  value: { default: "" }
21
21
  },
22
- emits: ["update"],
23
- setup(d, { emit: f }) {
24
- const s = v("p-pin-code"), t = d, e = m(), p = f, n = u(P), a = () => l(e, { ...t, theme: t.theme || n.value });
25
- return c(() => {
26
- a(), R(e, "update", p);
27
- }), i(a), h(n, (o) => {
28
- l(e, { theme: t.theme || o });
29
- }), (o, j) => (y(), B(C(_(s)), {
22
+ emits: ["update:value", "blur", "change", "update"],
23
+ setup(f, { emit: r }) {
24
+ const s = P("p-pin-code"), o = f, e = m(), a = r, l = c(R), d = () => p(e, { ...o, theme: o.theme || l.value });
25
+ return i(() => {
26
+ d(), n(e, "blur", a), n(e, "change", a, (t) => {
27
+ a("update:value", t.target.value);
28
+ }), n(e, "update", a);
29
+ }), h(d), y(l, (t) => {
30
+ p(e, { theme: o.theme || t });
31
+ }), (t, j) => (g(), b(v(B(s)), {
30
32
  ref_key: "pdsComponentRef",
31
33
  ref: e
32
34
  }, {
33
- default: b(() => [
34
- g(o.$slots, "default")
35
+ default: C(() => [
36
+ _(t.$slots, "default")
35
37
  ]),
36
38
  _: 3
37
39
  }, 512));
@@ -21,10 +21,11 @@ declare var __VLS_8: {};
21
21
  type __VLS_Slots = {} & {
22
22
  default?: (props: typeof __VLS_8) => any;
23
23
  };
24
- declare const __VLS_component: import("vue").DefineComponent<PPopoverProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PPopoverProps> & Readonly<{}>, {
24
+ declare const __VLS_base: import("vue").DefineComponent<PPopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PPopoverProps> & Readonly<{}>, {
25
25
  direction: PopoverDirection;
26
26
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
27
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
+ declare const _default: typeof __VLS_export;
28
29
  export default _default;
29
30
  type __VLS_WithSlots<T, S> = T & {
30
31
  new (): {
@@ -1,4 +1,4 @@
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";
1
+ import { defineComponent as m, ref as a, inject as f, onMounted as i, onUpdated as d, watch as u, createBlock as h, openBlock as l, resolveDynamicComponent as _, unref as C, withCtx as y, renderSlot as v } from "vue";
2
2
  import { usePrefix as P, themeInjectionKey as k, syncProperties as p } from "../../utils.mjs";
3
3
  const b = /* @__PURE__ */ m({
4
4
  __name: "PopoverWrapper",
@@ -12,7 +12,7 @@ const b = /* @__PURE__ */ m({
12
12
  const c = P("p-popover"), e = s, o = a(), n = f(k), r = () => p(o, { ...e, theme: e.theme || n.value });
13
13
  return i(r), d(r), u(n, (t) => {
14
14
  p(o, { theme: e.theme || t });
15
- }), (t, w) => (h(), l(_(C(c)), {
15
+ }), (t, w) => (l(), h(_(C(c)), {
16
16
  ref_key: "pdsComponentRef",
17
17
  ref: o
18
18
  }, {
@@ -29,14 +29,16 @@ declare var __VLS_8: {};
29
29
  type __VLS_Slots = {} & {
30
30
  default?: (props: typeof __VLS_8) => any;
31
31
  };
32
- declare const __VLS_component: import("vue").DefineComponent<PRadioButtonWrapperProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PRadioButtonWrapperProps> & Readonly<{}>, {
32
+ declare const __VLS_base: import("vue").DefineComponent<PRadioButtonWrapperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PRadioButtonWrapperProps> & Readonly<{}>, {
33
33
  label: string;
34
34
  state: RadioButtonWrapperState;
35
35
  hideLabel: BreakpointCustomizable<boolean>;
36
36
  loading: boolean;
37
37
  message: string;
38
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
39
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
40
+ /** @deprecated since v3.30.0, will be removed with next major release. Please use `p-radio-group` instead. */
41
+ declare const _default: typeof __VLS_export;
40
42
  export default _default;
41
43
  type __VLS_WithSlots<T, S> = T & {
42
44
  new (): {
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, ref as l, inject as m, onMounted as c, onUpdated as d, watch as u, openBlock as i, createBlock as h, resolveDynamicComponent as y, unref as _, withCtx as C, renderSlot as b } from "vue";
1
+ import { defineComponent as f, ref as l, inject as m, onMounted as c, onUpdated as d, watch as u, createBlock as i, openBlock as h, resolveDynamicComponent as y, unref as _, withCtx as C, renderSlot as b } from "vue";
2
2
  import { usePrefix as B, themeInjectionKey as w, syncProperties as r } from "../../utils.mjs";
3
3
  const k = /* @__PURE__ */ f({
4
4
  __name: "RadioButtonWrapperWrapper",
@@ -14,7 +14,7 @@ const k = /* @__PURE__ */ f({
14
14
  const s = B("p-radio-button-wrapper"), e = p, t = l(), n = m(w), a = () => r(t, { ...e, theme: e.theme || n.value });
15
15
  return c(a), d(a), u(n, (o) => {
16
16
  r(t, { theme: e.theme || o });
17
- }), (o, R) => (i(), h(y(_(s)), {
17
+ }), (o, R) => (h(), i(y(_(s)), {
18
18
  ref_key: "pdsComponentRef",
19
19
  ref: t
20
20
  }, {
@@ -0,0 +1,24 @@
1
+ type PRadioGroupOptionProps = {
2
+ /**
3
+ * A boolean value that, if present, makes the radio group option unusable and unclickable.
4
+ */
5
+ disabled?: boolean;
6
+ /**
7
+ * Text content for a user-facing label.
8
+ */
9
+ label?: string;
10
+ /**
11
+ * @experimental Shows a loading indicator.
12
+ */
13
+ loading?: boolean;
14
+ /**
15
+ * The value for the input.
16
+ */
17
+ value?: string;
18
+ };
19
+ declare const __VLS_export: import("vue").DefineComponent<PRadioGroupOptionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PRadioGroupOptionProps> & Readonly<{}>, {
20
+ disabled: boolean;
21
+ loading: boolean;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import { defineComponent as r, ref as a, onMounted as s, onUpdated as l, createBlock as f, openBlock as c, resolveDynamicComponent as d, unref as i } from "vue";
2
+ import { usePrefix as u, syncProperties as m } from "../../utils.mjs";
3
+ const b = /* @__PURE__ */ r({
4
+ __name: "RadioGroupOptionWrapper",
5
+ props: {
6
+ disabled: { type: Boolean, default: !1 },
7
+ label: {},
8
+ loading: { type: Boolean, default: !1 },
9
+ value: {}
10
+ },
11
+ setup(n) {
12
+ const p = u("p-radio-group-option"), t = n, e = a(), o = () => m(e, t);
13
+ return s(o), l(o), (_, y) => (c(), f(d(i(p)), {
14
+ ref_key: "pdsComponentRef",
15
+ ref: e
16
+ }, null, 512));
17
+ }
18
+ });
19
+ export {
20
+ b as default
21
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./RadioGroupOptionWrapper.vue.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,88 @@
1
+ import type { BreakpointCustomizable, RadioGroupDirection, RadioGroupState, Theme } from '../types';
2
+ type PRadioGroupProps = {
3
+ /**
4
+ * A boolean value that, if present, renders the radio group as a compact version.
5
+ */
6
+ compact?: boolean;
7
+ /**
8
+ * Supplementary text providing more context or explanation for the radio group.
9
+ */
10
+ description?: string;
11
+ /**
12
+ * Defines the direction of the main and cross axis. The default is 'column' showing options vertically stacked. You always need to provide a base value when using breakpoints.
13
+ */
14
+ direction?: BreakpointCustomizable<RadioGroupDirection>;
15
+ /**
16
+ * A boolean value that, if present, makes the radio group unusable and unclickable. The value will not be submitted with the form.
17
+ */
18
+ disabled?: boolean;
19
+ /**
20
+ * Specifies the id of the <form> element that the radio group belongs to (useful if the radio group is not a direct descendant of the form).
21
+ */
22
+ form?: string;
23
+ /**
24
+ * Controls the visibility of the label.
25
+ */
26
+ hideLabel?: BreakpointCustomizable<boolean>;
27
+ /**
28
+ * Text content for a user-facing label.
29
+ */
30
+ label?: string;
31
+ /**
32
+ * @experimental Shows a loading indicator.
33
+ */
34
+ loading?: boolean;
35
+ /**
36
+ * Dynamic feedback text for validation or status.
37
+ */
38
+ message?: string;
39
+ /**
40
+ * The name of the group of radio buttons, used when submitting the form data.
41
+ */
42
+ name: string;
43
+ /**
44
+ * A boolean value that specifies a selection must be made from the group before the form can be submitted.
45
+ */
46
+ required?: boolean;
47
+ /**
48
+ * Indicates the validation or overall status of the radio group component.
49
+ */
50
+ state?: RadioGroupState;
51
+ /**
52
+ * Controls the visual appearance of the component.
53
+ */
54
+ theme?: Theme;
55
+ /**
56
+ * The default value for the radio-group.
57
+ */
58
+ value?: string;
59
+ };
60
+ declare var __VLS_8: {};
61
+ type __VLS_Slots = {} & {
62
+ default?: (props: typeof __VLS_8) => any;
63
+ };
64
+ declare const __VLS_base: import("vue").DefineComponent<PRadioGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
65
+ [x: string]: any;
66
+ }, string, import("vue").PublicProps, Readonly<PRadioGroupProps> & Readonly<{
67
+ [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
68
+ }>, {
69
+ label: string;
70
+ compact: boolean;
71
+ description: string;
72
+ state: RadioGroupState;
73
+ required: boolean;
74
+ disabled: boolean;
75
+ hideLabel: BreakpointCustomizable<boolean>;
76
+ loading: boolean;
77
+ value: string;
78
+ direction: BreakpointCustomizable<RadioGroupDirection>;
79
+ message: string;
80
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
81
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
82
+ declare const _default: typeof __VLS_export;
83
+ export default _default;
84
+ type __VLS_WithSlots<T, S> = T & {
85
+ new (): {
86
+ $slots: S;
87
+ };
88
+ };
@@ -0,0 +1,43 @@
1
+ import { defineComponent as u, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, createBlock as b, openBlock as g, resolveDynamicComponent as v, unref as B, withCtx as _, renderSlot as C } from "vue";
2
+ import { usePrefix as R, themeInjectionKey as j, syncProperties as r, addEventListenerToElementRef as d } from "../../utils.mjs";
3
+ const P = /* @__PURE__ */ u({
4
+ __name: "RadioGroupWrapper",
5
+ props: {
6
+ compact: { type: Boolean, default: !1 },
7
+ description: { default: "" },
8
+ direction: { default: "column" },
9
+ disabled: { type: Boolean, default: !1 },
10
+ form: {},
11
+ hideLabel: { type: [Boolean, Object], default: !1 },
12
+ label: { default: "" },
13
+ loading: { type: Boolean, default: !1 },
14
+ message: { default: "" },
15
+ name: {},
16
+ required: { type: Boolean, default: !1 },
17
+ state: { default: "none" },
18
+ theme: {},
19
+ value: { default: "" }
20
+ },
21
+ emits: ["update:value", "blur", "change"],
22
+ setup(s, { emit: f }) {
23
+ const p = R("p-radio-group"), o = s, e = m(), a = f, n = c(j), l = () => r(e, { ...o, theme: o.theme || n.value });
24
+ return i(() => {
25
+ l(), d(e, "blur", a), d(e, "change", a, (t) => {
26
+ a("update:value", t.target.value);
27
+ });
28
+ }), h(l), y(n, (t) => {
29
+ r(e, { theme: o.theme || t });
30
+ }), (t, k) => (g(), b(v(B(p)), {
31
+ ref_key: "pdsComponentRef",
32
+ ref: e
33
+ }, {
34
+ default: _(() => [
35
+ C(t.$slots, "default")
36
+ ]),
37
+ _: 3
38
+ }, 512));
39
+ }
40
+ });
41
+ export {
42
+ P as default
43
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./RadioGroupWrapper.vue.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -37,11 +37,12 @@ declare var __VLS_8: {};
37
37
  type __VLS_Slots = {} & {
38
38
  default?: (props: typeof __VLS_8) => any;
39
39
  };
40
- declare const __VLS_component: import("vue").DefineComponent<PScrollerProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PScrollerProps> & Readonly<{}>, {
40
+ declare const __VLS_base: import("vue").DefineComponent<PScrollerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PScrollerProps> & Readonly<{}>, {
41
41
  scrollbar: boolean;
42
42
  alignScrollIndicator: ScrollerAlignScrollIndicator;
43
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
44
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
45
+ declare const _default: typeof __VLS_export;
45
46
  export default _default;
46
47
  type __VLS_WithSlots<T, S> = T & {
47
48
  new (): {
@@ -1,4 +1,4 @@
1
- import { defineComponent as a, ref as p, inject as i, onMounted as m, onUpdated as f, watch as d, openBlock as u, createBlock as h, resolveDynamicComponent as C, unref as _, withCtx as y, renderSlot as P } from "vue";
1
+ import { defineComponent as a, ref as p, inject as i, onMounted as m, onUpdated as f, watch as d, createBlock as u, openBlock as h, resolveDynamicComponent as C, unref as _, withCtx as y, renderSlot as P } from "vue";
2
2
  import { usePrefix as g, themeInjectionKey as S, syncProperties as c } from "../../utils.mjs";
3
3
  const B = /* @__PURE__ */ a({
4
4
  __name: "ScrollerWrapper",
@@ -16,7 +16,7 @@ const B = /* @__PURE__ */ a({
16
16
  const s = g("p-scroller"), e = l, o = p(), n = i(S), r = () => c(o, { ...e, theme: e.theme || n.value });
17
17
  return m(r), f(r), d(n, (t) => {
18
18
  c(o, { theme: e.theme || t });
19
- }), (t, k) => (u(), h(C(_(s)), {
19
+ }), (t, k) => (h(), u(C(_(s)), {
20
20
  ref_key: "pdsComponentRef",
21
21
  ref: o
22
22
  }, {
@@ -29,10 +29,11 @@ declare var __VLS_8: {};
29
29
  type __VLS_Slots = {} & {
30
30
  default?: (props: typeof __VLS_8) => any;
31
31
  };
32
- declare const __VLS_component: import("vue").DefineComponent<PSegmentedControlItemProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PSegmentedControlItemProps> & Readonly<{}>, {
32
+ declare const __VLS_base: import("vue").DefineComponent<PSegmentedControlItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PSegmentedControlItemProps> & Readonly<{}>, {
33
33
  disabled: boolean;
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
35
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
36
+ declare const _default: typeof __VLS_export;
36
37
  export default _default;
37
38
  type __VLS_WithSlots<T, S> = T & {
38
39
  new (): {
@@ -1,4 +1,4 @@
1
- import { defineComponent as s, ref as a, onMounted as c, onUpdated as l, openBlock as f, createBlock as m, resolveDynamicComponent as d, unref as i, withCtx as u, renderSlot as C } from "vue";
1
+ import { defineComponent as s, ref as a, onMounted as c, onUpdated as l, createBlock as f, openBlock as m, resolveDynamicComponent as d, unref as i, withCtx as u, renderSlot as C } from "vue";
2
2
  import { usePrefix as _, syncProperties as y } from "../../utils.mjs";
3
3
  const x = /* @__PURE__ */ s({
4
4
  __name: "SegmentedControlItemWrapper",
@@ -12,7 +12,7 @@ const x = /* @__PURE__ */ s({
12
12
  },
13
13
  setup(n) {
14
14
  const t = _("p-segmented-control-item"), r = n, e = a(), o = () => y(e, r);
15
- return c(o), l(o), (p, b) => (f(), m(d(i(t)), {
15
+ return c(o), l(o), (p, b) => (m(), f(d(i(t)), {
16
16
  ref_key: "pdsComponentRef",
17
17
  ref: e
18
18
  }, {
@@ -8,6 +8,10 @@ type PSegmentedControlProps = {
8
8
  * Sets the amount of columns.
9
9
  */
10
10
  columns?: BreakpointCustomizable<SegmentedControlColumns>;
11
+ /**
12
+ * A boolean value that, if present, renders the segmented-control as a compact version.
13
+ */
14
+ compact?: boolean;
11
15
  /**
12
16
  * Disables the segmented-control.
13
17
  */
@@ -33,17 +37,17 @@ declare var __VLS_8: {};
33
37
  type __VLS_Slots = {} & {
34
38
  default?: (props: typeof __VLS_8) => any;
35
39
  };
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;
40
+ declare const __VLS_base: import("vue").DefineComponent<PSegmentedControlProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
41
+ [x: string]: any;
39
42
  }, string, import("vue").PublicProps, Readonly<PSegmentedControlProps> & Readonly<{
40
- onUpdate?: ((value: import("../types").SegmentedControlUpdateEvent) => any) | undefined;
41
- onSegmentedControlChange?: ((value: import("../types").SegmentedControlUpdateEvent) => any) | undefined;
43
+ [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
42
44
  }>, {
45
+ compact: boolean;
43
46
  disabled: boolean;
44
47
  columns: BreakpointCustomizable<SegmentedControlColumns>;
45
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
46
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
49
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
50
+ declare const _default: typeof __VLS_export;
47
51
  export default _default;
48
52
  type __VLS_WithSlots<T, S> = T & {
49
53
  new (): {
@@ -1,29 +1,32 @@
1
- import { defineComponent as l, ref as f, inject as u, onMounted as i, onUpdated as h, watch as C, openBlock as g, createBlock as _, resolveDynamicComponent as y, unref as k, withCtx as v, renderSlot as R } from "vue";
2
- import { usePrefix as b, themeInjectionKey as w, addEventListenerToElementRef as s, syncProperties as a } from "../../utils.mjs";
3
- const j = /* @__PURE__ */ l({
1
+ import { defineComponent as d, ref as u, inject as f, onMounted as i, onUpdated as h, watch as C, createBlock as g, openBlock as v, resolveDynamicComponent as y, unref as _, withCtx as b, renderSlot as k } from "vue";
2
+ import { usePrefix as B, themeInjectionKey as R, syncProperties as s, addEventListenerToElementRef as n } from "../../utils.mjs";
3
+ const j = /* @__PURE__ */ d({
4
4
  __name: "SegmentedControlWrapper",
5
5
  props: {
6
6
  backgroundColor: {},
7
7
  columns: { default: "auto" },
8
+ compact: { type: Boolean, default: !1 },
8
9
  disabled: { type: Boolean, default: !1 },
9
10
  form: {},
10
11
  name: {},
11
12
  theme: {},
12
13
  value: {}
13
14
  },
14
- emits: ["segmentedControlChange", "update"],
15
- setup(p, { emit: d }) {
16
- const c = b("p-segmented-control"), t = p, e = f(), n = d, r = u(w), m = () => a(e, { ...t, theme: t.theme || r.value });
15
+ emits: ["update:value", "blur", "change", "segmentedControlChange", "update"],
16
+ setup(l, { emit: p }) {
17
+ const c = B("p-segmented-control"), a = l, e = u(), t = p, r = f(R), m = () => s(e, { ...a, theme: a.theme || r.value });
17
18
  return i(() => {
18
- m(), s(e, "segmentedControlChange", n), s(e, "update", n);
19
+ m(), n(e, "blur", t), n(e, "change", t, (o) => {
20
+ t("update:value", o.target.value);
21
+ }), n(e, "segmentedControlChange", t), n(e, "update", t);
19
22
  }), h(m), C(r, (o) => {
20
- a(e, { theme: t.theme || o });
21
- }), (o, x) => (g(), _(y(k(c)), {
23
+ s(e, { theme: a.theme || o });
24
+ }), (o, w) => (v(), g(y(_(c)), {
22
25
  ref_key: "pdsComponentRef",
23
26
  ref: e
24
27
  }, {
25
- default: v(() => [
26
- R(o.$slots, "default")
28
+ default: b(() => [
29
+ k(o.$slots, "default")
27
30
  ]),
28
31
  _: 3
29
32
  }, 512));
@@ -12,10 +12,11 @@ declare var __VLS_8: {};
12
12
  type __VLS_Slots = {} & {
13
13
  default?: (props: typeof __VLS_8) => any;
14
14
  };
15
- declare const __VLS_component: import("vue").DefineComponent<PSelectOptionProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PSelectOptionProps> & Readonly<{}>, {
15
+ declare const __VLS_base: import("vue").DefineComponent<PSelectOptionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PSelectOptionProps> & Readonly<{}>, {
16
16
  disabled: boolean;
17
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
19
20
  export default _default;
20
21
  type __VLS_WithSlots<T, S> = T & {
21
22
  new (): {
@@ -1,4 +1,4 @@
1
- import { defineComponent as s, ref as a, onMounted as c, onUpdated as f, openBlock as l, createBlock as d, resolveDynamicComponent as m, unref as i, withCtx as u, renderSlot as _ } from "vue";
1
+ import { defineComponent as s, ref as a, onMounted as c, onUpdated as f, createBlock as l, openBlock as d, resolveDynamicComponent as m, unref as i, withCtx as u, renderSlot as _ } from "vue";
2
2
  import { usePrefix as C, syncProperties as y } from "../../utils.mjs";
3
3
  const P = /* @__PURE__ */ s({
4
4
  __name: "SelectOptionWrapper",
@@ -8,7 +8,7 @@ const P = /* @__PURE__ */ s({
8
8
  },
9
9
  setup(t) {
10
10
  const n = C("p-select-option"), p = t, e = a(), o = () => y(e, p);
11
- return c(o), f(o), (r, k) => (l(), d(m(i(n)), {
11
+ return c(o), f(o), (r, k) => (d(), l(m(i(n)), {
12
12
  ref_key: "pdsComponentRef",
13
13
  ref: e
14
14
  }, {