@porsche-design-system/components-vue 3.29.0 → 3.30.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 (225) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/OSS_NOTICE +1635 -2257
  3. package/cjs/lib/components/ButtonPureWrapper.vue.cjs +1 -1
  4. package/cjs/lib/components/ButtonTileWrapper.vue.cjs +1 -1
  5. package/cjs/lib/components/ButtonWrapper.vue.cjs +1 -1
  6. package/cjs/lib/components/CarouselWrapper.vue.cjs +1 -1
  7. package/cjs/lib/components/CheckboxWrapper.vue.cjs +1 -1
  8. package/cjs/lib/components/CheckboxWrapperWrapper.vue.cjs +1 -1
  9. package/cjs/lib/components/FlexWrapper.vue.cjs +1 -1
  10. package/cjs/lib/components/FlyoutWrapper.vue.cjs +1 -1
  11. package/cjs/lib/components/InputDateWrapper.vue.cjs +1 -1
  12. package/cjs/lib/components/InputEmailWrapper.vue.cjs +1 -1
  13. package/cjs/lib/components/InputNumberWrapper.vue.cjs +1 -1
  14. package/cjs/lib/components/InputPasswordWrapper.vue.cjs +1 -1
  15. package/cjs/lib/components/InputSearchWrapper.vue.cjs +1 -1
  16. package/cjs/lib/components/InputTelWrapper.vue.cjs +1 -1
  17. package/cjs/lib/components/InputTextWrapper.vue.cjs +1 -1
  18. package/cjs/lib/components/InputTimeWrapper.vue.cjs +1 -1
  19. package/cjs/lib/components/InputUrlWrapper.vue.cjs +1 -1
  20. package/cjs/lib/components/LinkPureWrapper.vue.cjs +1 -1
  21. package/cjs/lib/components/LinkSocialWrapper.vue.cjs +1 -1
  22. package/cjs/lib/components/LinkTileWrapper.vue.cjs +1 -1
  23. package/cjs/lib/components/LinkWrapper.vue.cjs +1 -1
  24. package/cjs/lib/components/ModalWrapper.vue.cjs +1 -1
  25. package/cjs/lib/components/MultiSelectWrapper.vue.cjs +1 -1
  26. package/cjs/lib/components/PinCodeWrapper.vue.cjs +1 -1
  27. package/cjs/lib/components/RadioButtonWrapperWrapper.vue.cjs +1 -1
  28. package/cjs/lib/components/RadioGroupOptionWrapper.vue.cjs +1 -0
  29. package/cjs/lib/components/RadioGroupOptionWrapper.vue2.cjs +1 -0
  30. package/cjs/lib/components/RadioGroupWrapper.vue.cjs +1 -0
  31. package/cjs/lib/components/RadioGroupWrapper.vue2.cjs +1 -0
  32. package/cjs/lib/components/SegmentedControlWrapper.vue.cjs +1 -1
  33. package/cjs/lib/components/SelectWrapper.vue.cjs +1 -1
  34. package/cjs/lib/components/SelectWrapperWrapper.vue.cjs +1 -1
  35. package/cjs/lib/components/SwitchWrapper.vue.cjs +1 -1
  36. package/cjs/lib/components/TextFieldWrapperWrapper.vue.cjs +1 -1
  37. package/cjs/lib/components/TextareaWrapper.vue.cjs +1 -1
  38. package/cjs/lib/components/TextareaWrapperWrapper.vue.cjs +1 -1
  39. package/cjs/public-api.cjs +1 -1
  40. package/cjs/utils.cjs +1 -1
  41. package/esm/PorscheDesignSystemProvider.vue.d.ts +3 -2
  42. package/esm/lib/components/AccordionWrapper.vue.d.ts +3 -2
  43. package/esm/lib/components/AccordionWrapper.vue.mjs +6 -6
  44. package/esm/lib/components/BannerWrapper.vue.d.ts +3 -4
  45. package/esm/lib/components/BannerWrapper.vue.mjs +3 -3
  46. package/esm/lib/components/ButtonGroupWrapper.vue.d.ts +3 -2
  47. package/esm/lib/components/ButtonGroupWrapper.vue.mjs +2 -2
  48. package/esm/lib/components/ButtonPureWrapper.vue.d.ts +3 -2
  49. package/esm/lib/components/ButtonPureWrapper.vue.mjs +9 -9
  50. package/esm/lib/components/ButtonTileWrapper.vue.d.ts +3 -2
  51. package/esm/lib/components/ButtonTileWrapper.vue.mjs +5 -5
  52. package/esm/lib/components/ButtonWrapper.vue.d.ts +3 -2
  53. package/esm/lib/components/ButtonWrapper.vue.mjs +12 -12
  54. package/esm/lib/components/CanvasWrapper.vue.d.ts +3 -4
  55. package/esm/lib/components/CanvasWrapper.vue.mjs +6 -6
  56. package/esm/lib/components/CarouselWrapper.vue.d.ts +3 -2
  57. package/esm/lib/components/CarouselWrapper.vue.mjs +12 -12
  58. package/esm/lib/components/CheckboxWrapper.vue.d.ts +9 -4
  59. package/esm/lib/components/CheckboxWrapper.vue.mjs +16 -14
  60. package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +3 -2
  61. package/esm/lib/components/CheckboxWrapperWrapper.vue.mjs +7 -7
  62. package/esm/lib/components/ContentWrapperWrapper.vue.d.ts +3 -2
  63. package/esm/lib/components/ContentWrapperWrapper.vue.mjs +2 -2
  64. package/esm/lib/components/CrestWrapper.vue.d.ts +2 -1
  65. package/esm/lib/components/CrestWrapper.vue.mjs +2 -2
  66. package/esm/lib/components/DisplayWrapper.vue.d.ts +3 -2
  67. package/esm/lib/components/DisplayWrapper.vue.mjs +2 -2
  68. package/esm/lib/components/DividerWrapper.vue.d.ts +2 -1
  69. package/esm/lib/components/DividerWrapper.vue.mjs +2 -2
  70. package/esm/lib/components/DrilldownItemWrapper.vue.d.ts +3 -2
  71. package/esm/lib/components/DrilldownItemWrapper.vue.mjs +2 -2
  72. package/esm/lib/components/DrilldownLinkWrapper.vue.d.ts +3 -2
  73. package/esm/lib/components/DrilldownLinkWrapper.vue.mjs +2 -2
  74. package/esm/lib/components/DrilldownWrapper.vue.d.ts +3 -4
  75. package/esm/lib/components/DrilldownWrapper.vue.mjs +6 -6
  76. package/esm/lib/components/FieldsetWrapper.vue.d.ts +3 -2
  77. package/esm/lib/components/FieldsetWrapper.vue.mjs +2 -2
  78. package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +3 -2
  79. package/esm/lib/components/FieldsetWrapperWrapper.vue.mjs +2 -2
  80. package/esm/lib/components/FlagWrapper.vue.d.ts +2 -1
  81. package/esm/lib/components/FlagWrapper.vue.mjs +2 -2
  82. package/esm/lib/components/FlexItemWrapper.vue.d.ts +3 -2
  83. package/esm/lib/components/FlexItemWrapper.vue.mjs +2 -2
  84. package/esm/lib/components/FlexWrapper.vue.d.ts +3 -2
  85. package/esm/lib/components/FlexWrapper.vue.mjs +4 -4
  86. package/esm/lib/components/FlyoutWrapper.vue.d.ts +9 -5
  87. package/esm/lib/components/FlyoutWrapper.vue.mjs +9 -8
  88. package/esm/lib/components/GridItemWrapper.vue.d.ts +3 -2
  89. package/esm/lib/components/GridItemWrapper.vue.mjs +2 -2
  90. package/esm/lib/components/GridWrapper.vue.d.ts +3 -2
  91. package/esm/lib/components/GridWrapper.vue.mjs +2 -2
  92. package/esm/lib/components/HeadingWrapper.vue.d.ts +3 -2
  93. package/esm/lib/components/HeadingWrapper.vue.mjs +2 -2
  94. package/esm/lib/components/HeadlineWrapper.vue.d.ts +3 -2
  95. package/esm/lib/components/HeadlineWrapper.vue.mjs +2 -2
  96. package/esm/lib/components/IconWrapper.vue.d.ts +2 -1
  97. package/esm/lib/components/IconWrapper.vue.mjs +2 -2
  98. package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +3 -4
  99. package/esm/lib/components/InlineNotificationWrapper.vue.mjs +6 -6
  100. package/esm/lib/components/InputDateWrapper.vue.d.ts +5 -2
  101. package/esm/lib/components/InputDateWrapper.vue.mjs +16 -14
  102. package/esm/lib/components/InputEmailWrapper.vue.d.ts +6 -3
  103. package/esm/lib/components/InputEmailWrapper.vue.mjs +16 -14
  104. package/esm/lib/components/InputNumberWrapper.vue.d.ts +6 -3
  105. package/esm/lib/components/InputNumberWrapper.vue.mjs +16 -14
  106. package/esm/lib/components/InputPasswordWrapper.vue.d.ts +6 -3
  107. package/esm/lib/components/InputPasswordWrapper.vue.mjs +16 -14
  108. package/esm/lib/components/InputSearchWrapper.vue.d.ts +6 -3
  109. package/esm/lib/components/InputSearchWrapper.vue.mjs +16 -14
  110. package/esm/lib/components/InputTelWrapper.vue.d.ts +6 -3
  111. package/esm/lib/components/InputTelWrapper.vue.mjs +16 -14
  112. package/esm/lib/components/InputTextWrapper.vue.d.ts +6 -3
  113. package/esm/lib/components/InputTextWrapper.vue.mjs +16 -14
  114. package/esm/lib/components/InputTimeWrapper.vue.d.ts +5 -2
  115. package/esm/lib/components/InputTimeWrapper.vue.mjs +16 -14
  116. package/esm/lib/components/InputUrlWrapper.vue.d.ts +6 -3
  117. package/esm/lib/components/InputUrlWrapper.vue.mjs +16 -14
  118. package/esm/lib/components/LinkPureWrapper.vue.d.ts +3 -2
  119. package/esm/lib/components/LinkPureWrapper.vue.mjs +9 -9
  120. package/esm/lib/components/LinkSocialWrapper.vue.d.ts +3 -2
  121. package/esm/lib/components/LinkSocialWrapper.vue.mjs +7 -7
  122. package/esm/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +3 -2
  123. package/esm/lib/components/LinkTileModelSignatureWrapper.vue.mjs +2 -2
  124. package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +3 -2
  125. package/esm/lib/components/LinkTileProductWrapper.vue.mjs +3 -3
  126. package/esm/lib/components/LinkTileWrapper.vue.d.ts +3 -2
  127. package/esm/lib/components/LinkTileWrapper.vue.mjs +5 -5
  128. package/esm/lib/components/LinkWrapper.vue.d.ts +3 -2
  129. package/esm/lib/components/LinkWrapper.vue.mjs +9 -9
  130. package/esm/lib/components/MarqueWrapper.vue.d.ts +3 -2
  131. package/esm/lib/components/MarqueWrapper.vue.mjs +2 -2
  132. package/esm/lib/components/ModalWrapper.vue.d.ts +4 -5
  133. package/esm/lib/components/ModalWrapper.vue.mjs +11 -11
  134. package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +3 -2
  135. package/esm/lib/components/ModelSignatureWrapper.vue.mjs +2 -2
  136. package/esm/lib/components/MultiSelectOptionWrapper.vue.d.ts +3 -2
  137. package/esm/lib/components/MultiSelectOptionWrapper.vue.mjs +2 -2
  138. package/esm/lib/components/MultiSelectWrapper.vue.d.ts +5 -4
  139. package/esm/lib/components/MultiSelectWrapper.vue.mjs +17 -15
  140. package/esm/lib/components/OptgroupWrapper.vue.d.ts +3 -2
  141. package/esm/lib/components/OptgroupWrapper.vue.mjs +2 -2
  142. package/esm/lib/components/PaginationWrapper.vue.d.ts +2 -1
  143. package/esm/lib/components/PaginationWrapper.vue.mjs +6 -6
  144. package/esm/lib/components/PinCodeWrapper.vue.d.ts +10 -4
  145. package/esm/lib/components/PinCodeWrapper.vue.mjs +17 -14
  146. package/esm/lib/components/PopoverWrapper.vue.d.ts +3 -2
  147. package/esm/lib/components/PopoverWrapper.vue.mjs +2 -2
  148. package/esm/lib/components/RadioButtonWrapperWrapper.vue.d.ts +4 -2
  149. package/esm/lib/components/RadioButtonWrapperWrapper.vue.mjs +8 -8
  150. package/esm/lib/components/RadioGroupOptionWrapper.vue.d.ts +24 -0
  151. package/esm/lib/components/RadioGroupOptionWrapper.vue.mjs +21 -0
  152. package/esm/lib/components/RadioGroupOptionWrapper.vue2.mjs +4 -0
  153. package/esm/lib/components/RadioGroupWrapper.vue.d.ts +88 -0
  154. package/esm/lib/components/RadioGroupWrapper.vue.mjs +43 -0
  155. package/esm/lib/components/RadioGroupWrapper.vue2.mjs +4 -0
  156. package/esm/lib/components/ScrollerWrapper.vue.d.ts +3 -2
  157. package/esm/lib/components/ScrollerWrapper.vue.mjs +2 -2
  158. package/esm/lib/components/SegmentedControlItemWrapper.vue.d.ts +3 -2
  159. package/esm/lib/components/SegmentedControlItemWrapper.vue.mjs +2 -2
  160. package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +5 -6
  161. package/esm/lib/components/SegmentedControlWrapper.vue.mjs +14 -12
  162. package/esm/lib/components/SelectOptionWrapper.vue.d.ts +3 -2
  163. package/esm/lib/components/SelectOptionWrapper.vue.mjs +2 -2
  164. package/esm/lib/components/SelectWrapper.vue.d.ts +6 -5
  165. package/esm/lib/components/SelectWrapper.vue.mjs +17 -15
  166. package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +3 -2
  167. package/esm/lib/components/SelectWrapperWrapper.vue.mjs +6 -6
  168. package/esm/lib/components/SheetWrapper.vue.d.ts +3 -4
  169. package/esm/lib/components/SheetWrapper.vue.mjs +3 -3
  170. package/esm/lib/components/SpinnerWrapper.vue.d.ts +2 -1
  171. package/esm/lib/components/SpinnerWrapper.vue.mjs +2 -2
  172. package/esm/lib/components/StepperHorizontalItemWrapper.vue.d.ts +3 -2
  173. package/esm/lib/components/StepperHorizontalItemWrapper.vue.mjs +2 -2
  174. package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +3 -2
  175. package/esm/lib/components/StepperHorizontalWrapper.vue.mjs +6 -6
  176. package/esm/lib/components/SwitchWrapper.vue.d.ts +3 -2
  177. package/esm/lib/components/SwitchWrapper.vue.mjs +13 -13
  178. package/esm/lib/components/TableBodyWrapper.vue.d.ts +3 -2
  179. package/esm/lib/components/TableBodyWrapper.vue.mjs +2 -2
  180. package/esm/lib/components/TableCellWrapper.vue.d.ts +3 -2
  181. package/esm/lib/components/TableCellWrapper.vue.mjs +2 -2
  182. package/esm/lib/components/TableHeadCellWrapper.vue.d.ts +3 -2
  183. package/esm/lib/components/TableHeadCellWrapper.vue.mjs +2 -2
  184. package/esm/lib/components/TableHeadRowWrapper.vue.d.ts +3 -2
  185. package/esm/lib/components/TableHeadRowWrapper.vue.mjs +2 -2
  186. package/esm/lib/components/TableHeadWrapper.vue.d.ts +3 -2
  187. package/esm/lib/components/TableHeadWrapper.vue.mjs +2 -2
  188. package/esm/lib/components/TableRowWrapper.vue.d.ts +3 -2
  189. package/esm/lib/components/TableRowWrapper.vue.mjs +2 -2
  190. package/esm/lib/components/TableWrapper.vue.d.ts +3 -2
  191. package/esm/lib/components/TableWrapper.vue.mjs +6 -6
  192. package/esm/lib/components/TabsBarWrapper.vue.d.ts +3 -2
  193. package/esm/lib/components/TabsBarWrapper.vue.mjs +6 -6
  194. package/esm/lib/components/TabsItemWrapper.vue.d.ts +3 -2
  195. package/esm/lib/components/TabsItemWrapper.vue.mjs +2 -2
  196. package/esm/lib/components/TabsWrapper.vue.d.ts +3 -2
  197. package/esm/lib/components/TabsWrapper.vue.mjs +6 -6
  198. package/esm/lib/components/TagDismissibleWrapper.vue.d.ts +3 -2
  199. package/esm/lib/components/TagDismissibleWrapper.vue.mjs +2 -2
  200. package/esm/lib/components/TagWrapper.vue.d.ts +3 -2
  201. package/esm/lib/components/TagWrapper.vue.mjs +2 -2
  202. package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +3 -4
  203. package/esm/lib/components/TextFieldWrapperWrapper.vue.mjs +8 -8
  204. package/esm/lib/components/TextListItemWrapper.vue.d.ts +3 -2
  205. package/esm/lib/components/TextListItemWrapper.vue.mjs +2 -2
  206. package/esm/lib/components/TextListWrapper.vue.d.ts +3 -2
  207. package/esm/lib/components/TextListWrapper.vue.mjs +2 -2
  208. package/esm/lib/components/TextWrapper.vue.d.ts +3 -2
  209. package/esm/lib/components/TextWrapper.vue.mjs +2 -2
  210. package/esm/lib/components/TextareaWrapper.vue.d.ts +6 -3
  211. package/esm/lib/components/TextareaWrapper.vue.mjs +14 -12
  212. package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +3 -2
  213. package/esm/lib/components/TextareaWrapperWrapper.vue.mjs +9 -9
  214. package/esm/lib/components/ToastWrapper.vue.d.ts +2 -1
  215. package/esm/lib/components/ToastWrapper.vue.mjs +2 -2
  216. package/esm/lib/components/WordmarkWrapper.vue.d.ts +2 -1
  217. package/esm/lib/components/WordmarkWrapper.vue.mjs +2 -2
  218. package/esm/lib/components/index.d.ts +2 -0
  219. package/esm/lib/types.d.ts +46 -5
  220. package/esm/plugin.mjs +3 -3
  221. package/esm/public-api.mjs +96 -92
  222. package/esm/utils.d.ts +1 -1
  223. package/esm/utils.mjs +15 -15
  224. package/package.json +2 -2
  225. package/tailwindcss/index.css +6 -6
@@ -1,6 +1,6 @@
1
- import { defineComponent as u, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, openBlock as B, createBlock as C, resolveDynamicComponent as _, unref as b, withCtx as g, renderSlot as v } from "vue";
2
- import { usePrefix as x, themeInjectionKey as R, addEventListenerToElementRef as o, syncProperties as f } from "../../utils.mjs";
3
- const j = /* @__PURE__ */ u({
1
+ import { defineComponent as r, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, createBlock as B, openBlock as b, resolveDynamicComponent as v, unref as C, withCtx as _, renderSlot as g } from "vue";
2
+ import { usePrefix as x, themeInjectionKey as R, syncProperties as s, addEventListenerToElementRef as o } from "../../utils.mjs";
3
+ const P = /* @__PURE__ */ r({
4
4
  __name: "InputDateWrapper",
5
5
  props: {
6
6
  autoComplete: {},
@@ -8,7 +8,7 @@ const j = /* @__PURE__ */ u({
8
8
  description: { default: "" },
9
9
  disabled: { type: Boolean, default: !1 },
10
10
  form: {},
11
- hideLabel: { default: !1 },
11
+ hideLabel: { type: [Boolean, Object], default: !1 },
12
12
  label: { default: "" },
13
13
  loading: { type: Boolean, default: !1 },
14
14
  max: {},
@@ -22,24 +22,26 @@ const j = /* @__PURE__ */ u({
22
22
  theme: {},
23
23
  value: { default: "" }
24
24
  },
25
- emits: ["blur", "change", "input"],
26
- setup(p, { emit: r }) {
27
- const d = x("p-input-date"), t = p, e = m(), n = r, l = c(R), s = () => f(e, { ...t, theme: t.theme || l.value });
25
+ emits: ["update:value", "blur", "change", "input"],
26
+ setup(u, { emit: f }) {
27
+ const d = x("p-input-date"), n = u, e = m(), a = f, l = c(R), p = () => s(e, { ...n, theme: n.theme || l.value });
28
28
  return i(() => {
29
- s(), o(e, "blur", n), o(e, "change", n), o(e, "input", n);
30
- }), h(s), y(l, (a) => {
31
- f(e, { theme: t.theme || a });
32
- }), (a, k) => (B(), C(_(b(d)), {
29
+ p(), o(e, "blur", a), o(e, "change", a), o(e, "input", a, (t) => {
30
+ a("update:value", t.target.value);
31
+ });
32
+ }), h(p), y(l, (t) => {
33
+ s(e, { theme: n.theme || t });
34
+ }), (t, j) => (b(), B(v(C(d)), {
33
35
  ref_key: "pdsComponentRef",
34
36
  ref: e
35
37
  }, {
36
- default: g(() => [
37
- v(a.$slots, "default")
38
+ default: _(() => [
39
+ g(t.$slots, "default")
38
40
  ]),
39
41
  _: 3
40
42
  }, 512));
41
43
  }
42
44
  });
43
45
  export {
44
- j as default
46
+ P as default
45
47
  };
@@ -89,17 +89,20 @@ declare var __VLS_8: {};
89
89
  type __VLS_Slots = {} & {
90
90
  default?: (props: typeof __VLS_8) => any;
91
91
  };
92
- declare const __VLS_component: import("vue").DefineComponent<PInputEmailProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
92
+ declare const __VLS_base: import("vue").DefineComponent<PInputEmailProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
93
93
  blur: (value: Event) => any;
94
94
  change: (value: Event) => any;
95
95
  input: (value: InputEvent) => any;
96
+ "update:value": (value: string) => any;
96
97
  }, string, import("vue").PublicProps, Readonly<PInputEmailProps> & Readonly<{
97
98
  onBlur?: ((value: Event) => any) | undefined;
98
99
  onChange?: ((value: Event) => any) | undefined;
99
100
  onInput?: ((value: InputEvent) => any) | undefined;
101
+ "onUpdate:value"?: ((value: string) => any) | undefined;
100
102
  }>, {
101
103
  label: string;
102
104
  compact: boolean;
105
+ placeholder: string;
103
106
  description: string;
104
107
  state: InputEmailState;
105
108
  required: boolean;
@@ -111,9 +114,9 @@ declare const __VLS_component: import("vue").DefineComponent<PInputEmailProps, v
111
114
  readOnly: boolean;
112
115
  indicator: boolean;
113
116
  multiple: boolean;
114
- placeholder: string;
115
117
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
118
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
119
+ declare const _default: typeof __VLS_export;
117
120
  export default _default;
118
121
  type __VLS_WithSlots<T, S> = T & {
119
122
  new (): {
@@ -1,6 +1,6 @@
1
- import { defineComponent as u, ref as m, inject as i, onMounted as c, onUpdated as h, watch as y, openBlock as B, createBlock as g, resolveDynamicComponent as C, unref as _, withCtx as b, renderSlot as v } from "vue";
2
- import { usePrefix as x, themeInjectionKey as L, addEventListenerToElementRef as o, syncProperties as p } from "../../utils.mjs";
3
- const E = /* @__PURE__ */ u({
1
+ import { defineComponent as s, ref as m, inject as i, onMounted as c, onUpdated as h, watch as y, createBlock as B, openBlock as g, resolveDynamicComponent as b, unref as v, withCtx as C, renderSlot as _ } from "vue";
2
+ import { usePrefix as x, themeInjectionKey as L, syncProperties as f, addEventListenerToElementRef as o } from "../../utils.mjs";
3
+ const w = /* @__PURE__ */ s({
4
4
  __name: "InputEmailWrapper",
5
5
  props: {
6
6
  autoComplete: {},
@@ -8,7 +8,7 @@ const E = /* @__PURE__ */ u({
8
8
  description: { default: "" },
9
9
  disabled: { type: Boolean, default: !1 },
10
10
  form: {},
11
- hideLabel: { default: !1 },
11
+ hideLabel: { type: [Boolean, Object], default: !1 },
12
12
  indicator: { type: Boolean, default: !1 },
13
13
  label: { default: "" },
14
14
  loading: { type: Boolean, default: !1 },
@@ -25,24 +25,26 @@ const E = /* @__PURE__ */ u({
25
25
  theme: {},
26
26
  value: { default: "" }
27
27
  },
28
- emits: ["blur", "change", "input"],
29
- setup(s, { emit: r }) {
30
- const d = x("p-input-email"), t = s, e = m(), a = r, l = i(L), f = () => p(e, { ...t, theme: t.theme || l.value });
28
+ emits: ["update:value", "blur", "change", "input"],
29
+ setup(u, { emit: d }) {
30
+ const r = x("p-input-email"), n = u, e = m(), a = d, l = i(L), p = () => f(e, { ...n, theme: n.theme || l.value });
31
31
  return c(() => {
32
- f(), o(e, "blur", a), o(e, "change", a), o(e, "input", a);
33
- }), h(f), y(l, (n) => {
34
- p(e, { theme: t.theme || n });
35
- }), (n, R) => (B(), g(C(_(d)), {
32
+ p(), o(e, "blur", a), o(e, "change", a), o(e, "input", a, (t) => {
33
+ a("update:value", t.target.value);
34
+ });
35
+ }), h(p), y(l, (t) => {
36
+ f(e, { theme: n.theme || t });
37
+ }), (t, R) => (g(), B(b(v(r)), {
36
38
  ref_key: "pdsComponentRef",
37
39
  ref: e
38
40
  }, {
39
- default: b(() => [
40
- v(n.$slots, "default")
41
+ default: C(() => [
42
+ _(t.$slots, "default")
41
43
  ]),
42
44
  _: 3
43
45
  }, 512));
44
46
  }
45
47
  });
46
48
  export {
47
- E as default
49
+ w as default
48
50
  };
@@ -85,18 +85,21 @@ declare var __VLS_8: {};
85
85
  type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_8) => any;
87
87
  };
88
- declare const __VLS_component: import("vue").DefineComponent<PInputNumberProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
88
+ declare const __VLS_base: import("vue").DefineComponent<PInputNumberProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
89
89
  blur: (value: Event) => any;
90
90
  change: (value: Event) => any;
91
91
  input: (value: InputEvent) => any;
92
+ "update:value": (value: string) => any;
92
93
  }, string, import("vue").PublicProps, Readonly<PInputNumberProps> & Readonly<{
93
94
  onBlur?: ((value: Event) => any) | undefined;
94
95
  onChange?: ((value: Event) => any) | undefined;
95
96
  onInput?: ((value: InputEvent) => any) | undefined;
97
+ "onUpdate:value"?: ((value: string) => any) | undefined;
96
98
  }>, {
97
99
  step: number;
98
100
  label: string;
99
101
  compact: boolean;
102
+ placeholder: string;
100
103
  description: string;
101
104
  state: InputNumberState;
102
105
  required: boolean;
@@ -106,10 +109,10 @@ declare const __VLS_component: import("vue").DefineComponent<PInputNumberProps,
106
109
  value: string;
107
110
  message: string;
108
111
  readOnly: boolean;
109
- placeholder: string;
110
112
  controls: boolean;
111
113
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
112
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
114
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
115
+ declare const _default: typeof __VLS_export;
113
116
  export default _default;
114
117
  type __VLS_WithSlots<T, S> = T & {
115
118
  new (): {
@@ -1,6 +1,6 @@
1
- import { defineComponent as d, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, openBlock as b, createBlock as B, resolveDynamicComponent as C, unref as _, withCtx as g, renderSlot as v } from "vue";
2
- import { usePrefix as x, themeInjectionKey as R, addEventListenerToElementRef as a, syncProperties as s } from "../../utils.mjs";
3
- const j = /* @__PURE__ */ d({
1
+ import { defineComponent as d, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, createBlock as b, openBlock as B, resolveDynamicComponent as v, unref as C, withCtx as _, renderSlot as g } from "vue";
2
+ import { usePrefix as x, themeInjectionKey as R, syncProperties as u, addEventListenerToElementRef as n } from "../../utils.mjs";
3
+ const P = /* @__PURE__ */ d({
4
4
  __name: "InputNumberWrapper",
5
5
  props: {
6
6
  autoComplete: {},
@@ -9,7 +9,7 @@ const j = /* @__PURE__ */ d({
9
9
  description: { default: "" },
10
10
  disabled: { type: Boolean, default: !1 },
11
11
  form: {},
12
- hideLabel: { default: !1 },
12
+ hideLabel: { type: [Boolean, Object], default: !1 },
13
13
  label: { default: "" },
14
14
  loading: { type: Boolean, default: !1 },
15
15
  max: {},
@@ -24,24 +24,26 @@ const j = /* @__PURE__ */ d({
24
24
  theme: {},
25
25
  value: { default: "" }
26
26
  },
27
- emits: ["blur", "change", "input"],
28
- setup(p, { emit: r }) {
29
- const u = x("p-input-number"), t = p, e = m(), o = r, l = c(R), f = () => s(e, { ...t, theme: t.theme || l.value });
27
+ emits: ["update:value", "blur", "change", "input"],
28
+ setup(f, { emit: r }) {
29
+ const s = x("p-input-number"), o = f, e = m(), a = r, l = c(R), p = () => u(e, { ...o, theme: o.theme || l.value });
30
30
  return i(() => {
31
- f(), a(e, "blur", o), a(e, "change", o), a(e, "input", o);
32
- }), h(f), y(l, (n) => {
33
- s(e, { theme: t.theme || n });
34
- }), (n, k) => (b(), B(C(_(u)), {
31
+ p(), n(e, "blur", a), n(e, "change", a), n(e, "input", a, (t) => {
32
+ a("update:value", t.target.value);
33
+ });
34
+ }), h(p), y(l, (t) => {
35
+ u(e, { theme: o.theme || t });
36
+ }), (t, j) => (B(), b(v(C(s)), {
35
37
  ref_key: "pdsComponentRef",
36
38
  ref: e
37
39
  }, {
38
- default: g(() => [
39
- v(n.$slots, "default")
40
+ default: _(() => [
41
+ g(t.$slots, "default")
40
42
  ]),
41
43
  _: 3
42
44
  }, 512));
43
45
  }
44
46
  });
45
47
  export {
46
- j as default
48
+ P as default
47
49
  };
@@ -81,18 +81,21 @@ declare var __VLS_8: {};
81
81
  type __VLS_Slots = {} & {
82
82
  default?: (props: typeof __VLS_8) => any;
83
83
  };
84
- declare const __VLS_component: import("vue").DefineComponent<PInputPasswordProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
84
+ declare const __VLS_base: import("vue").DefineComponent<PInputPasswordProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
85
85
  blur: (value: Event) => any;
86
86
  change: (value: Event) => any;
87
87
  input: (value: InputEvent) => any;
88
+ "update:value": (value: string) => any;
88
89
  }, string, import("vue").PublicProps, Readonly<PInputPasswordProps> & Readonly<{
89
90
  onBlur?: ((value: Event) => any) | undefined;
90
91
  onChange?: ((value: Event) => any) | undefined;
91
92
  onInput?: ((value: InputEvent) => any) | undefined;
93
+ "onUpdate:value"?: ((value: string) => any) | undefined;
92
94
  }>, {
93
95
  toggle: boolean;
94
96
  label: string;
95
97
  compact: boolean;
98
+ placeholder: string;
96
99
  description: string;
97
100
  state: InputPasswordState;
98
101
  required: boolean;
@@ -102,9 +105,9 @@ declare const __VLS_component: import("vue").DefineComponent<PInputPasswordProps
102
105
  value: string;
103
106
  message: string;
104
107
  readOnly: boolean;
105
- placeholder: string;
106
108
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
107
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
109
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
110
+ declare const _default: typeof __VLS_export;
108
111
  export default _default;
109
112
  type __VLS_WithSlots<T, S> = T & {
110
113
  new (): {
@@ -1,6 +1,6 @@
1
- import { defineComponent as u, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, openBlock as g, createBlock as B, resolveDynamicComponent as C, unref as _, withCtx as b, renderSlot as w } from "vue";
2
- import { usePrefix as v, themeInjectionKey as x, addEventListenerToElementRef as n, syncProperties as f } from "../../utils.mjs";
3
- const k = /* @__PURE__ */ u({
1
+ import { defineComponent as u, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, createBlock as g, openBlock as B, resolveDynamicComponent as b, unref as v, withCtx as C, renderSlot as _ } from "vue";
2
+ import { usePrefix as w, themeInjectionKey as x, syncProperties as s, addEventListenerToElementRef as n } from "../../utils.mjs";
3
+ const j = /* @__PURE__ */ u({
4
4
  __name: "InputPasswordWrapper",
5
5
  props: {
6
6
  autoComplete: {},
@@ -8,7 +8,7 @@ const k = /* @__PURE__ */ u({
8
8
  description: { default: "" },
9
9
  disabled: { type: Boolean, default: !1 },
10
10
  form: {},
11
- hideLabel: { default: !1 },
11
+ hideLabel: { type: [Boolean, Object], default: !1 },
12
12
  label: { default: "" },
13
13
  loading: { type: Boolean, default: !1 },
14
14
  maxLength: {},
@@ -23,24 +23,26 @@ const k = /* @__PURE__ */ u({
23
23
  toggle: { type: Boolean, default: !1 },
24
24
  value: { default: "" }
25
25
  },
26
- emits: ["blur", "change", "input"],
27
- setup(p, { emit: r }) {
28
- const d = v("p-input-password"), t = p, e = m(), o = r, l = c(x), s = () => f(e, { ...t, theme: t.theme || l.value });
26
+ emits: ["update:value", "blur", "change", "input"],
27
+ setup(d, { emit: f }) {
28
+ const r = w("p-input-password"), o = d, e = m(), a = f, l = c(x), p = () => s(e, { ...o, theme: o.theme || l.value });
29
29
  return i(() => {
30
- s(), n(e, "blur", o), n(e, "change", o), n(e, "input", o);
31
- }), h(s), y(l, (a) => {
32
- f(e, { theme: t.theme || a });
33
- }), (a, L) => (g(), B(C(_(d)), {
30
+ p(), n(e, "blur", a), n(e, "change", a), n(e, "input", a, (t) => {
31
+ a("update:value", t.target.value);
32
+ });
33
+ }), h(p), y(l, (t) => {
34
+ s(e, { theme: o.theme || t });
35
+ }), (t, L) => (B(), g(b(v(r)), {
34
36
  ref_key: "pdsComponentRef",
35
37
  ref: e
36
38
  }, {
37
- default: b(() => [
38
- w(a.$slots, "default")
39
+ default: C(() => [
40
+ _(t.$slots, "default")
39
41
  ]),
40
42
  _: 3
41
43
  }, 512));
42
44
  }
43
45
  });
44
46
  export {
45
- k as default
47
+ j as default
46
48
  };
@@ -77,17 +77,20 @@ declare var __VLS_8: {};
77
77
  type __VLS_Slots = {} & {
78
78
  default?: (props: typeof __VLS_8) => any;
79
79
  };
80
- declare const __VLS_component: import("vue").DefineComponent<PInputSearchProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
80
+ declare const __VLS_base: import("vue").DefineComponent<PInputSearchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
81
81
  blur: (value: Event) => any;
82
82
  change: (value: Event) => any;
83
83
  input: (value: InputEvent) => any;
84
+ "update:value": (value: string) => any;
84
85
  }, string, import("vue").PublicProps, Readonly<PInputSearchProps> & Readonly<{
85
86
  onBlur?: ((value: Event) => any) | undefined;
86
87
  onChange?: ((value: Event) => any) | undefined;
87
88
  onInput?: ((value: InputEvent) => any) | undefined;
89
+ "onUpdate:value"?: ((value: string) => any) | undefined;
88
90
  }>, {
89
91
  label: string;
90
92
  compact: boolean;
93
+ placeholder: string;
91
94
  description: string;
92
95
  state: InputSearchState;
93
96
  required: boolean;
@@ -98,10 +101,10 @@ declare const __VLS_component: import("vue").DefineComponent<PInputSearchProps,
98
101
  message: string;
99
102
  readOnly: boolean;
100
103
  indicator: boolean;
101
- placeholder: string;
102
104
  clear: boolean;
103
105
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
104
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
106
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
107
+ declare const _default: typeof __VLS_export;
105
108
  export default _default;
106
109
  type __VLS_WithSlots<T, S> = T & {
107
110
  new (): {
@@ -1,6 +1,6 @@
1
- import { defineComponent as u, ref as c, inject as m, onMounted as i, onUpdated as h, watch as y, openBlock as B, createBlock as C, resolveDynamicComponent as _, unref as b, withCtx as g, renderSlot as v } from "vue";
2
- import { usePrefix as R, themeInjectionKey as k, addEventListenerToElementRef as n, syncProperties as r } from "../../utils.mjs";
3
- const j = /* @__PURE__ */ u({
1
+ import { defineComponent as d, ref as c, inject as m, onMounted as i, onUpdated as h, watch as y, createBlock as B, openBlock as b, resolveDynamicComponent as v, unref as C, withCtx as _, renderSlot as g } from "vue";
2
+ import { usePrefix as R, themeInjectionKey as j, syncProperties as f, addEventListenerToElementRef as n } from "../../utils.mjs";
3
+ const P = /* @__PURE__ */ d({
4
4
  __name: "InputSearchWrapper",
5
5
  props: {
6
6
  autoComplete: {},
@@ -9,7 +9,7 @@ const j = /* @__PURE__ */ u({
9
9
  description: { default: "" },
10
10
  disabled: { type: Boolean, default: !1 },
11
11
  form: {},
12
- hideLabel: { default: !1 },
12
+ hideLabel: { type: [Boolean, Object], default: !1 },
13
13
  indicator: { type: Boolean, default: !1 },
14
14
  label: { default: "" },
15
15
  loading: { type: Boolean, default: !1 },
@@ -22,24 +22,26 @@ const j = /* @__PURE__ */ u({
22
22
  theme: {},
23
23
  value: { default: "" }
24
24
  },
25
- emits: ["blur", "change", "input"],
26
- setup(s, { emit: p }) {
27
- const d = R("p-input-search"), t = s, e = c(), a = p, l = m(k), f = () => r(e, { ...t, theme: t.theme || l.value });
25
+ emits: ["update:value", "blur", "change", "input"],
26
+ setup(r, { emit: s }) {
27
+ const u = R("p-input-search"), o = r, e = c(), a = s, l = m(j), p = () => f(e, { ...o, theme: o.theme || l.value });
28
28
  return i(() => {
29
- f(), n(e, "blur", a), n(e, "change", a), n(e, "input", a);
30
- }), h(f), y(l, (o) => {
31
- r(e, { theme: t.theme || o });
32
- }), (o, w) => (B(), C(_(b(d)), {
29
+ p(), n(e, "blur", a), n(e, "change", a), n(e, "input", a, (t) => {
30
+ a("update:value", t.target.value);
31
+ });
32
+ }), h(p), y(l, (t) => {
33
+ f(e, { theme: o.theme || t });
34
+ }), (t, k) => (b(), B(v(C(u)), {
33
35
  ref_key: "pdsComponentRef",
34
36
  ref: e
35
37
  }, {
36
- default: g(() => [
37
- v(o.$slots, "default")
38
+ default: _(() => [
39
+ g(t.$slots, "default")
38
40
  ]),
39
41
  _: 3
40
42
  }, 512));
41
43
  }
42
44
  });
43
45
  export {
44
- j as default
46
+ P as default
45
47
  };
@@ -85,17 +85,20 @@ declare var __VLS_8: {};
85
85
  type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_8) => any;
87
87
  };
88
- declare const __VLS_component: import("vue").DefineComponent<PInputTelProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
88
+ declare const __VLS_base: import("vue").DefineComponent<PInputTelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
89
89
  blur: (value: Event) => any;
90
90
  change: (value: Event) => any;
91
91
  input: (value: InputEvent) => any;
92
+ "update:value": (value: string) => any;
92
93
  }, string, import("vue").PublicProps, Readonly<PInputTelProps> & Readonly<{
93
94
  onBlur?: ((value: Event) => any) | undefined;
94
95
  onChange?: ((value: Event) => any) | undefined;
95
96
  onInput?: ((value: InputEvent) => any) | undefined;
97
+ "onUpdate:value"?: ((value: string) => any) | undefined;
96
98
  }>, {
97
99
  label: string;
98
100
  compact: boolean;
101
+ placeholder: string;
99
102
  description: string;
100
103
  state: InputTelState;
101
104
  required: boolean;
@@ -106,9 +109,9 @@ declare const __VLS_component: import("vue").DefineComponent<PInputTelProps, voi
106
109
  message: string;
107
110
  readOnly: boolean;
108
111
  indicator: boolean;
109
- placeholder: string;
110
112
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
111
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
113
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
114
+ declare const _default: typeof __VLS_export;
112
115
  export default _default;
113
116
  type __VLS_WithSlots<T, S> = T & {
114
117
  new (): {
@@ -1,6 +1,6 @@
1
- import { defineComponent as u, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, openBlock as B, createBlock as g, resolveDynamicComponent as C, unref as _, withCtx as b, renderSlot as v } from "vue";
2
- import { usePrefix as x, themeInjectionKey as L, addEventListenerToElementRef as o, syncProperties as p } from "../../utils.mjs";
3
- const P = /* @__PURE__ */ u({
1
+ import { defineComponent as s, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, createBlock as B, openBlock as g, resolveDynamicComponent as b, unref as v, withCtx as C, renderSlot as _ } from "vue";
2
+ import { usePrefix as x, themeInjectionKey as L, syncProperties as f, addEventListenerToElementRef as o } from "../../utils.mjs";
3
+ const w = /* @__PURE__ */ s({
4
4
  __name: "InputTelWrapper",
5
5
  props: {
6
6
  autoComplete: {},
@@ -8,7 +8,7 @@ const P = /* @__PURE__ */ u({
8
8
  description: { default: "" },
9
9
  disabled: { type: Boolean, default: !1 },
10
10
  form: {},
11
- hideLabel: { default: !1 },
11
+ hideLabel: { type: [Boolean, Object], default: !1 },
12
12
  indicator: { type: Boolean, default: !1 },
13
13
  label: { default: "" },
14
14
  loading: { type: Boolean, default: !1 },
@@ -24,24 +24,26 @@ const P = /* @__PURE__ */ u({
24
24
  theme: {},
25
25
  value: { default: "" }
26
26
  },
27
- emits: ["blur", "change", "input"],
28
- setup(r, { emit: s }) {
29
- const d = x("p-input-tel"), t = r, e = m(), n = s, l = c(L), f = () => p(e, { ...t, theme: t.theme || l.value });
27
+ emits: ["update:value", "blur", "change", "input"],
28
+ setup(r, { emit: u }) {
29
+ const d = x("p-input-tel"), n = r, e = m(), a = u, l = c(L), p = () => f(e, { ...n, theme: n.theme || l.value });
30
30
  return i(() => {
31
- f(), o(e, "blur", n), o(e, "change", n), o(e, "input", n);
32
- }), h(f), y(l, (a) => {
33
- p(e, { theme: t.theme || a });
34
- }), (a, R) => (B(), g(C(_(d)), {
31
+ p(), o(e, "blur", a), o(e, "change", a), o(e, "input", a, (t) => {
32
+ a("update:value", t.target.value);
33
+ });
34
+ }), h(p), y(l, (t) => {
35
+ f(e, { theme: n.theme || t });
36
+ }), (t, R) => (g(), B(b(v(d)), {
35
37
  ref_key: "pdsComponentRef",
36
38
  ref: e
37
39
  }, {
38
- default: b(() => [
39
- v(a.$slots, "default")
40
+ default: C(() => [
41
+ _(t.$slots, "default")
40
42
  ]),
41
43
  _: 3
42
44
  }, 512));
43
45
  }
44
46
  });
45
47
  export {
46
- P as default
48
+ w as default
47
49
  };
@@ -85,17 +85,20 @@ declare var __VLS_8: {};
85
85
  type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_8) => any;
87
87
  };
88
- declare const __VLS_component: import("vue").DefineComponent<PInputTextProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
88
+ declare const __VLS_base: import("vue").DefineComponent<PInputTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
89
89
  blur: (value: Event) => any;
90
90
  change: (value: Event) => any;
91
91
  input: (value: InputEvent) => any;
92
+ "update:value": (value: string) => any;
92
93
  }, string, import("vue").PublicProps, Readonly<PInputTextProps> & Readonly<{
93
94
  onBlur?: ((value: Event) => any) | undefined;
94
95
  onChange?: ((value: Event) => any) | undefined;
95
96
  onInput?: ((value: InputEvent) => any) | undefined;
97
+ "onUpdate:value"?: ((value: string) => any) | undefined;
96
98
  }>, {
97
99
  label: string;
98
100
  compact: boolean;
101
+ placeholder: string;
99
102
  description: string;
100
103
  state: InputTextState;
101
104
  required: boolean;
@@ -105,10 +108,10 @@ declare const __VLS_component: import("vue").DefineComponent<PInputTextProps, vo
105
108
  value: string;
106
109
  message: string;
107
110
  readOnly: boolean;
108
- placeholder: string;
109
111
  counter: boolean;
110
112
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
111
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
113
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
114
+ declare const _default: typeof __VLS_export;
112
115
  export default _default;
113
116
  type __VLS_WithSlots<T, S> = T & {
114
117
  new (): {
@@ -1,6 +1,6 @@
1
- import { defineComponent as u, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, openBlock as B, createBlock as C, resolveDynamicComponent as g, unref as _, withCtx as b, renderSlot as x } from "vue";
2
- import { usePrefix as k, themeInjectionKey as v, addEventListenerToElementRef as a, syncProperties as f } from "../../utils.mjs";
3
- const P = /* @__PURE__ */ u({
1
+ import { defineComponent as d, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, createBlock as B, openBlock as g, resolveDynamicComponent as C, unref as b, withCtx as v, renderSlot as _ } from "vue";
2
+ import { usePrefix as x, themeInjectionKey as k, syncProperties as u, addEventListenerToElementRef as n } from "../../utils.mjs";
3
+ const w = /* @__PURE__ */ d({
4
4
  __name: "InputTextWrapper",
5
5
  props: {
6
6
  autoComplete: {},
@@ -9,7 +9,7 @@ const P = /* @__PURE__ */ u({
9
9
  description: { default: "" },
10
10
  disabled: { type: Boolean, default: !1 },
11
11
  form: {},
12
- hideLabel: { default: !1 },
12
+ hideLabel: { type: [Boolean, Object], default: !1 },
13
13
  label: { default: "" },
14
14
  loading: { type: Boolean, default: !1 },
15
15
  maxLength: {},
@@ -24,24 +24,26 @@ const P = /* @__PURE__ */ u({
24
24
  theme: {},
25
25
  value: { default: "" }
26
26
  },
27
- emits: ["blur", "change", "input"],
28
- setup(s, { emit: r }) {
29
- const d = k("p-input-text"), t = s, e = m(), n = r, l = c(v), p = () => f(e, { ...t, theme: t.theme || l.value });
27
+ emits: ["update:value", "blur", "change", "input"],
28
+ setup(f, { emit: s }) {
29
+ const r = x("p-input-text"), o = f, e = m(), a = s, l = c(k), p = () => u(e, { ...o, theme: o.theme || l.value });
30
30
  return i(() => {
31
- p(), a(e, "blur", n), a(e, "change", n), a(e, "input", n);
32
- }), h(p), y(l, (o) => {
33
- f(e, { theme: t.theme || o });
34
- }), (o, L) => (B(), C(g(_(d)), {
31
+ p(), n(e, "blur", a), n(e, "change", a), n(e, "input", a, (t) => {
32
+ a("update:value", t.target.value);
33
+ });
34
+ }), h(p), y(l, (t) => {
35
+ u(e, { theme: o.theme || t });
36
+ }), (t, L) => (g(), B(C(b(r)), {
35
37
  ref_key: "pdsComponentRef",
36
38
  ref: e
37
39
  }, {
38
- default: b(() => [
39
- x(o.$slots, "default")
40
+ default: v(() => [
41
+ _(t.$slots, "default")
40
42
  ]),
41
43
  _: 3
42
44
  }, 512));
43
45
  }
44
46
  });
45
47
  export {
46
- P as default
48
+ w as default
47
49
  };
@@ -77,14 +77,16 @@ declare var __VLS_8: {};
77
77
  type __VLS_Slots = {} & {
78
78
  default?: (props: typeof __VLS_8) => any;
79
79
  };
80
- declare const __VLS_component: import("vue").DefineComponent<PInputTimeProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
80
+ declare const __VLS_base: import("vue").DefineComponent<PInputTimeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
81
81
  blur: (value: Event) => any;
82
82
  change: (value: Event) => any;
83
83
  input: (value: InputEvent) => any;
84
+ "update:value": (value: string) => any;
84
85
  }, string, import("vue").PublicProps, Readonly<PInputTimeProps> & Readonly<{
85
86
  onBlur?: ((value: Event) => any) | undefined;
86
87
  onChange?: ((value: Event) => any) | undefined;
87
88
  onInput?: ((value: InputEvent) => any) | undefined;
89
+ "onUpdate:value"?: ((value: string) => any) | undefined;
88
90
  }>, {
89
91
  step: number;
90
92
  label: string;
@@ -99,7 +101,8 @@ declare const __VLS_component: import("vue").DefineComponent<PInputTimeProps, vo
99
101
  message: string;
100
102
  readOnly: boolean;
101
103
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
102
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
104
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
105
+ declare const _default: typeof __VLS_export;
103
106
  export default _default;
104
107
  type __VLS_WithSlots<T, S> = T & {
105
108
  new (): {