@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.
- package/CHANGELOG.md +60 -0
- package/OSS_NOTICE +1635 -2257
- package/cjs/lib/components/ButtonPureWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ButtonTileWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ButtonWrapper.vue.cjs +1 -1
- package/cjs/lib/components/CarouselWrapper.vue.cjs +1 -1
- package/cjs/lib/components/CheckboxWrapper.vue.cjs +1 -1
- package/cjs/lib/components/CheckboxWrapperWrapper.vue.cjs +1 -1
- package/cjs/lib/components/FlexWrapper.vue.cjs +1 -1
- package/cjs/lib/components/FlyoutWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputDateWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputEmailWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputNumberWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputPasswordWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputSearchWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputTelWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputTextWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputTimeWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputUrlWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkPureWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkSocialWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkTileWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ModalWrapper.vue.cjs +1 -1
- package/cjs/lib/components/MultiSelectWrapper.vue.cjs +1 -1
- package/cjs/lib/components/PinCodeWrapper.vue.cjs +1 -1
- package/cjs/lib/components/RadioButtonWrapperWrapper.vue.cjs +1 -1
- package/cjs/lib/components/RadioGroupOptionWrapper.vue.cjs +1 -0
- package/cjs/lib/components/RadioGroupOptionWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/RadioGroupWrapper.vue.cjs +1 -0
- package/cjs/lib/components/RadioGroupWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/SegmentedControlWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SelectWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SelectWrapperWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SwitchWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TextFieldWrapperWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TextareaWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TextareaWrapperWrapper.vue.cjs +1 -1
- package/cjs/public-api.cjs +1 -1
- package/cjs/utils.cjs +1 -1
- package/esm/PorscheDesignSystemProvider.vue.d.ts +3 -2
- package/esm/lib/components/AccordionWrapper.vue.d.ts +3 -2
- package/esm/lib/components/AccordionWrapper.vue.mjs +6 -6
- package/esm/lib/components/BannerWrapper.vue.d.ts +3 -4
- package/esm/lib/components/BannerWrapper.vue.mjs +3 -3
- package/esm/lib/components/ButtonGroupWrapper.vue.d.ts +3 -2
- package/esm/lib/components/ButtonGroupWrapper.vue.mjs +2 -2
- package/esm/lib/components/ButtonPureWrapper.vue.d.ts +3 -2
- package/esm/lib/components/ButtonPureWrapper.vue.mjs +9 -9
- package/esm/lib/components/ButtonTileWrapper.vue.d.ts +3 -2
- package/esm/lib/components/ButtonTileWrapper.vue.mjs +5 -5
- package/esm/lib/components/ButtonWrapper.vue.d.ts +3 -2
- package/esm/lib/components/ButtonWrapper.vue.mjs +12 -12
- package/esm/lib/components/CanvasWrapper.vue.d.ts +3 -4
- package/esm/lib/components/CanvasWrapper.vue.mjs +6 -6
- package/esm/lib/components/CarouselWrapper.vue.d.ts +3 -2
- package/esm/lib/components/CarouselWrapper.vue.mjs +12 -12
- package/esm/lib/components/CheckboxWrapper.vue.d.ts +9 -4
- package/esm/lib/components/CheckboxWrapper.vue.mjs +16 -14
- package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +3 -2
- package/esm/lib/components/CheckboxWrapperWrapper.vue.mjs +7 -7
- package/esm/lib/components/ContentWrapperWrapper.vue.d.ts +3 -2
- package/esm/lib/components/ContentWrapperWrapper.vue.mjs +2 -2
- package/esm/lib/components/CrestWrapper.vue.d.ts +2 -1
- package/esm/lib/components/CrestWrapper.vue.mjs +2 -2
- package/esm/lib/components/DisplayWrapper.vue.d.ts +3 -2
- package/esm/lib/components/DisplayWrapper.vue.mjs +2 -2
- package/esm/lib/components/DividerWrapper.vue.d.ts +2 -1
- package/esm/lib/components/DividerWrapper.vue.mjs +2 -2
- package/esm/lib/components/DrilldownItemWrapper.vue.d.ts +3 -2
- package/esm/lib/components/DrilldownItemWrapper.vue.mjs +2 -2
- package/esm/lib/components/DrilldownLinkWrapper.vue.d.ts +3 -2
- package/esm/lib/components/DrilldownLinkWrapper.vue.mjs +2 -2
- package/esm/lib/components/DrilldownWrapper.vue.d.ts +3 -4
- package/esm/lib/components/DrilldownWrapper.vue.mjs +6 -6
- package/esm/lib/components/FieldsetWrapper.vue.d.ts +3 -2
- package/esm/lib/components/FieldsetWrapper.vue.mjs +2 -2
- package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +3 -2
- package/esm/lib/components/FieldsetWrapperWrapper.vue.mjs +2 -2
- package/esm/lib/components/FlagWrapper.vue.d.ts +2 -1
- package/esm/lib/components/FlagWrapper.vue.mjs +2 -2
- package/esm/lib/components/FlexItemWrapper.vue.d.ts +3 -2
- package/esm/lib/components/FlexItemWrapper.vue.mjs +2 -2
- package/esm/lib/components/FlexWrapper.vue.d.ts +3 -2
- package/esm/lib/components/FlexWrapper.vue.mjs +4 -4
- package/esm/lib/components/FlyoutWrapper.vue.d.ts +9 -5
- package/esm/lib/components/FlyoutWrapper.vue.mjs +9 -8
- package/esm/lib/components/GridItemWrapper.vue.d.ts +3 -2
- package/esm/lib/components/GridItemWrapper.vue.mjs +2 -2
- package/esm/lib/components/GridWrapper.vue.d.ts +3 -2
- package/esm/lib/components/GridWrapper.vue.mjs +2 -2
- package/esm/lib/components/HeadingWrapper.vue.d.ts +3 -2
- package/esm/lib/components/HeadingWrapper.vue.mjs +2 -2
- package/esm/lib/components/HeadlineWrapper.vue.d.ts +3 -2
- package/esm/lib/components/HeadlineWrapper.vue.mjs +2 -2
- package/esm/lib/components/IconWrapper.vue.d.ts +2 -1
- package/esm/lib/components/IconWrapper.vue.mjs +2 -2
- package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +3 -4
- package/esm/lib/components/InlineNotificationWrapper.vue.mjs +6 -6
- package/esm/lib/components/InputDateWrapper.vue.d.ts +5 -2
- package/esm/lib/components/InputDateWrapper.vue.mjs +16 -14
- package/esm/lib/components/InputEmailWrapper.vue.d.ts +6 -3
- package/esm/lib/components/InputEmailWrapper.vue.mjs +16 -14
- package/esm/lib/components/InputNumberWrapper.vue.d.ts +6 -3
- package/esm/lib/components/InputNumberWrapper.vue.mjs +16 -14
- package/esm/lib/components/InputPasswordWrapper.vue.d.ts +6 -3
- package/esm/lib/components/InputPasswordWrapper.vue.mjs +16 -14
- package/esm/lib/components/InputSearchWrapper.vue.d.ts +6 -3
- package/esm/lib/components/InputSearchWrapper.vue.mjs +16 -14
- package/esm/lib/components/InputTelWrapper.vue.d.ts +6 -3
- package/esm/lib/components/InputTelWrapper.vue.mjs +16 -14
- package/esm/lib/components/InputTextWrapper.vue.d.ts +6 -3
- package/esm/lib/components/InputTextWrapper.vue.mjs +16 -14
- package/esm/lib/components/InputTimeWrapper.vue.d.ts +5 -2
- package/esm/lib/components/InputTimeWrapper.vue.mjs +16 -14
- package/esm/lib/components/InputUrlWrapper.vue.d.ts +6 -3
- package/esm/lib/components/InputUrlWrapper.vue.mjs +16 -14
- package/esm/lib/components/LinkPureWrapper.vue.d.ts +3 -2
- package/esm/lib/components/LinkPureWrapper.vue.mjs +9 -9
- package/esm/lib/components/LinkSocialWrapper.vue.d.ts +3 -2
- package/esm/lib/components/LinkSocialWrapper.vue.mjs +7 -7
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +3 -2
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue.mjs +2 -2
- package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +3 -2
- package/esm/lib/components/LinkTileProductWrapper.vue.mjs +3 -3
- package/esm/lib/components/LinkTileWrapper.vue.d.ts +3 -2
- package/esm/lib/components/LinkTileWrapper.vue.mjs +5 -5
- package/esm/lib/components/LinkWrapper.vue.d.ts +3 -2
- package/esm/lib/components/LinkWrapper.vue.mjs +9 -9
- package/esm/lib/components/MarqueWrapper.vue.d.ts +3 -2
- package/esm/lib/components/MarqueWrapper.vue.mjs +2 -2
- package/esm/lib/components/ModalWrapper.vue.d.ts +4 -5
- package/esm/lib/components/ModalWrapper.vue.mjs +11 -11
- package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +3 -2
- package/esm/lib/components/ModelSignatureWrapper.vue.mjs +2 -2
- package/esm/lib/components/MultiSelectOptionWrapper.vue.d.ts +3 -2
- package/esm/lib/components/MultiSelectOptionWrapper.vue.mjs +2 -2
- package/esm/lib/components/MultiSelectWrapper.vue.d.ts +5 -4
- package/esm/lib/components/MultiSelectWrapper.vue.mjs +17 -15
- package/esm/lib/components/OptgroupWrapper.vue.d.ts +3 -2
- package/esm/lib/components/OptgroupWrapper.vue.mjs +2 -2
- package/esm/lib/components/PaginationWrapper.vue.d.ts +2 -1
- package/esm/lib/components/PaginationWrapper.vue.mjs +6 -6
- package/esm/lib/components/PinCodeWrapper.vue.d.ts +10 -4
- package/esm/lib/components/PinCodeWrapper.vue.mjs +17 -14
- package/esm/lib/components/PopoverWrapper.vue.d.ts +3 -2
- package/esm/lib/components/PopoverWrapper.vue.mjs +2 -2
- package/esm/lib/components/RadioButtonWrapperWrapper.vue.d.ts +4 -2
- package/esm/lib/components/RadioButtonWrapperWrapper.vue.mjs +8 -8
- package/esm/lib/components/RadioGroupOptionWrapper.vue.d.ts +24 -0
- package/esm/lib/components/RadioGroupOptionWrapper.vue.mjs +21 -0
- package/esm/lib/components/RadioGroupOptionWrapper.vue2.mjs +4 -0
- package/esm/lib/components/RadioGroupWrapper.vue.d.ts +88 -0
- package/esm/lib/components/RadioGroupWrapper.vue.mjs +43 -0
- package/esm/lib/components/RadioGroupWrapper.vue2.mjs +4 -0
- package/esm/lib/components/ScrollerWrapper.vue.d.ts +3 -2
- package/esm/lib/components/ScrollerWrapper.vue.mjs +2 -2
- package/esm/lib/components/SegmentedControlItemWrapper.vue.d.ts +3 -2
- package/esm/lib/components/SegmentedControlItemWrapper.vue.mjs +2 -2
- package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +5 -6
- package/esm/lib/components/SegmentedControlWrapper.vue.mjs +14 -12
- package/esm/lib/components/SelectOptionWrapper.vue.d.ts +3 -2
- package/esm/lib/components/SelectOptionWrapper.vue.mjs +2 -2
- package/esm/lib/components/SelectWrapper.vue.d.ts +6 -5
- package/esm/lib/components/SelectWrapper.vue.mjs +17 -15
- package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +3 -2
- package/esm/lib/components/SelectWrapperWrapper.vue.mjs +6 -6
- package/esm/lib/components/SheetWrapper.vue.d.ts +3 -4
- package/esm/lib/components/SheetWrapper.vue.mjs +3 -3
- package/esm/lib/components/SpinnerWrapper.vue.d.ts +2 -1
- package/esm/lib/components/SpinnerWrapper.vue.mjs +2 -2
- package/esm/lib/components/StepperHorizontalItemWrapper.vue.d.ts +3 -2
- package/esm/lib/components/StepperHorizontalItemWrapper.vue.mjs +2 -2
- package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +3 -2
- package/esm/lib/components/StepperHorizontalWrapper.vue.mjs +6 -6
- package/esm/lib/components/SwitchWrapper.vue.d.ts +3 -2
- package/esm/lib/components/SwitchWrapper.vue.mjs +13 -13
- package/esm/lib/components/TableBodyWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TableBodyWrapper.vue.mjs +2 -2
- package/esm/lib/components/TableCellWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TableCellWrapper.vue.mjs +2 -2
- package/esm/lib/components/TableHeadCellWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TableHeadCellWrapper.vue.mjs +2 -2
- package/esm/lib/components/TableHeadRowWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TableHeadRowWrapper.vue.mjs +2 -2
- package/esm/lib/components/TableHeadWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TableHeadWrapper.vue.mjs +2 -2
- package/esm/lib/components/TableRowWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TableRowWrapper.vue.mjs +2 -2
- package/esm/lib/components/TableWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TableWrapper.vue.mjs +6 -6
- package/esm/lib/components/TabsBarWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TabsBarWrapper.vue.mjs +6 -6
- package/esm/lib/components/TabsItemWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TabsItemWrapper.vue.mjs +2 -2
- package/esm/lib/components/TabsWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TabsWrapper.vue.mjs +6 -6
- package/esm/lib/components/TagDismissibleWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TagDismissibleWrapper.vue.mjs +2 -2
- package/esm/lib/components/TagWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TagWrapper.vue.mjs +2 -2
- package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +3 -4
- package/esm/lib/components/TextFieldWrapperWrapper.vue.mjs +8 -8
- package/esm/lib/components/TextListItemWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TextListItemWrapper.vue.mjs +2 -2
- package/esm/lib/components/TextListWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TextListWrapper.vue.mjs +2 -2
- package/esm/lib/components/TextWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TextWrapper.vue.mjs +2 -2
- package/esm/lib/components/TextareaWrapper.vue.d.ts +6 -3
- package/esm/lib/components/TextareaWrapper.vue.mjs +14 -12
- package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TextareaWrapperWrapper.vue.mjs +9 -9
- package/esm/lib/components/ToastWrapper.vue.d.ts +2 -1
- package/esm/lib/components/ToastWrapper.vue.mjs +2 -2
- package/esm/lib/components/WordmarkWrapper.vue.d.ts +2 -1
- package/esm/lib/components/WordmarkWrapper.vue.mjs +2 -2
- package/esm/lib/components/index.d.ts +2 -0
- package/esm/lib/types.d.ts +46 -5
- package/esm/plugin.mjs +3 -3
- package/esm/public-api.mjs +96 -92
- package/esm/utils.d.ts +1 -1
- package/esm/utils.mjs +15 -15
- package/package.json +2 -2
- package/tailwindcss/index.css +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as x, themeInjectionKey as R,
|
|
3
|
-
const
|
|
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(
|
|
27
|
-
const d = x("p-input-date"),
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}), (
|
|
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:
|
|
37
|
-
|
|
38
|
+
default: _(() => [
|
|
39
|
+
g(t.$slots, "default")
|
|
38
40
|
]),
|
|
39
41
|
_: 3
|
|
40
42
|
}, 512));
|
|
41
43
|
}
|
|
42
44
|
});
|
|
43
45
|
export {
|
|
44
|
-
|
|
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
|
|
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
|
|
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
|
|
2
|
-
import { usePrefix as x, themeInjectionKey as L,
|
|
3
|
-
const
|
|
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(
|
|
30
|
-
const
|
|
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
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}), (
|
|
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:
|
|
40
|
-
|
|
41
|
+
default: C(() => [
|
|
42
|
+
_(t.$slots, "default")
|
|
41
43
|
]),
|
|
42
44
|
_: 3
|
|
43
45
|
}, 512));
|
|
44
46
|
}
|
|
45
47
|
});
|
|
46
48
|
export {
|
|
47
|
-
|
|
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
|
|
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
|
|
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,
|
|
2
|
-
import { usePrefix as x, themeInjectionKey as R,
|
|
3
|
-
const
|
|
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(
|
|
29
|
-
const
|
|
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
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}), (
|
|
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:
|
|
39
|
-
|
|
40
|
+
default: _(() => [
|
|
41
|
+
g(t.$slots, "default")
|
|
40
42
|
]),
|
|
41
43
|
_: 3
|
|
42
44
|
}, 512));
|
|
43
45
|
}
|
|
44
46
|
});
|
|
45
47
|
export {
|
|
46
|
-
|
|
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
|
|
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
|
|
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,
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
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(
|
|
28
|
-
const
|
|
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
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}), (
|
|
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:
|
|
38
|
-
|
|
39
|
+
default: C(() => [
|
|
40
|
+
_(t.$slots, "default")
|
|
39
41
|
]),
|
|
40
42
|
_: 3
|
|
41
43
|
}, 512));
|
|
42
44
|
}
|
|
43
45
|
});
|
|
44
46
|
export {
|
|
45
|
-
|
|
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
|
|
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
|
|
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
|
|
2
|
-
import { usePrefix as R, themeInjectionKey as
|
|
3
|
-
const
|
|
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(
|
|
27
|
-
const
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}), (
|
|
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:
|
|
37
|
-
|
|
38
|
+
default: _(() => [
|
|
39
|
+
g(t.$slots, "default")
|
|
38
40
|
]),
|
|
39
41
|
_: 3
|
|
40
42
|
}, 512));
|
|
41
43
|
}
|
|
42
44
|
});
|
|
43
45
|
export {
|
|
44
|
-
|
|
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
|
|
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
|
|
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
|
|
2
|
-
import { usePrefix as x, themeInjectionKey as L,
|
|
3
|
-
const
|
|
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:
|
|
29
|
-
const d = x("p-input-tel"),
|
|
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
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}), (
|
|
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:
|
|
39
|
-
|
|
40
|
+
default: C(() => [
|
|
41
|
+
_(t.$slots, "default")
|
|
40
42
|
]),
|
|
41
43
|
_: 3
|
|
42
44
|
}, 512));
|
|
43
45
|
}
|
|
44
46
|
});
|
|
45
47
|
export {
|
|
46
|
-
|
|
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
|
|
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
|
|
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
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
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(
|
|
29
|
-
const
|
|
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(),
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}), (
|
|
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:
|
|
39
|
-
|
|
40
|
+
default: v(() => [
|
|
41
|
+
_(t.$slots, "default")
|
|
40
42
|
]),
|
|
41
43
|
_: 3
|
|
42
44
|
}, 512));
|
|
43
45
|
}
|
|
44
46
|
});
|
|
45
47
|
export {
|
|
46
|
-
|
|
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
|
|
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
|
|
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 (): {
|