@porsche-design-system/components-vue 3.30.0-rc.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 +39 -0
- package/OSS_NOTICE +1635 -2257
- package/cjs/lib/components/CheckboxWrapper.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/MultiSelectWrapper.vue.cjs +1 -1
- package/cjs/lib/components/PinCodeWrapper.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/TextareaWrapper.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 +2 -2
- package/esm/lib/components/ButtonTileWrapper.vue.d.ts +3 -2
- package/esm/lib/components/ButtonTileWrapper.vue.mjs +2 -2
- package/esm/lib/components/ButtonWrapper.vue.d.ts +3 -2
- package/esm/lib/components/ButtonWrapper.vue.mjs +2 -2
- 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 +6 -6
- package/esm/lib/components/CheckboxWrapper.vue.d.ts +5 -2
- package/esm/lib/components/CheckboxWrapper.vue.mjs +14 -12
- package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +3 -2
- package/esm/lib/components/CheckboxWrapperWrapper.vue.mjs +2 -2
- 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 +2 -2
- 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 +14 -12
- package/esm/lib/components/InputEmailWrapper.vue.d.ts +5 -2
- package/esm/lib/components/InputEmailWrapper.vue.mjs +14 -12
- package/esm/lib/components/InputNumberWrapper.vue.d.ts +5 -2
- package/esm/lib/components/InputNumberWrapper.vue.mjs +13 -11
- package/esm/lib/components/InputPasswordWrapper.vue.d.ts +5 -2
- package/esm/lib/components/InputPasswordWrapper.vue.mjs +13 -11
- package/esm/lib/components/InputSearchWrapper.vue.d.ts +5 -2
- package/esm/lib/components/InputSearchWrapper.vue.mjs +13 -11
- package/esm/lib/components/InputTelWrapper.vue.d.ts +5 -2
- package/esm/lib/components/InputTelWrapper.vue.mjs +14 -12
- package/esm/lib/components/InputTextWrapper.vue.d.ts +5 -2
- package/esm/lib/components/InputTextWrapper.vue.mjs +14 -12
- package/esm/lib/components/InputTimeWrapper.vue.d.ts +5 -2
- package/esm/lib/components/InputTimeWrapper.vue.mjs +13 -11
- package/esm/lib/components/InputUrlWrapper.vue.d.ts +5 -2
- package/esm/lib/components/InputUrlWrapper.vue.mjs +14 -12
- package/esm/lib/components/LinkPureWrapper.vue.d.ts +3 -2
- package/esm/lib/components/LinkPureWrapper.vue.mjs +2 -2
- package/esm/lib/components/LinkSocialWrapper.vue.d.ts +3 -2
- package/esm/lib/components/LinkSocialWrapper.vue.mjs +2 -2
- 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 +2 -2
- package/esm/lib/components/LinkWrapper.vue.d.ts +3 -2
- package/esm/lib/components/LinkWrapper.vue.mjs +2 -2
- 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 +3 -3
- 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 +16 -14
- 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 +5 -4
- package/esm/lib/components/PinCodeWrapper.vue.mjs +15 -13
- 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 +2 -2
- 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 +16 -14
- package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +3 -2
- package/esm/lib/components/SelectWrapperWrapper.vue.mjs +2 -2
- 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 +6 -6
- 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 +3 -3
- 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 +5 -2
- package/esm/lib/components/TextareaWrapper.vue.mjs +12 -10
- package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +3 -2
- package/esm/lib/components/TextareaWrapperWrapper.vue.mjs +2 -2
- 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 +17 -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
|
@@ -29,7 +29,7 @@ declare var __VLS_8: {};
|
|
|
29
29
|
type __VLS_Slots = {} & {
|
|
30
30
|
default?: (props: typeof __VLS_8) => any;
|
|
31
31
|
};
|
|
32
|
-
declare const
|
|
32
|
+
declare const __VLS_base: import("vue").DefineComponent<PTabsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
33
33
|
update: (value: import("../types").TabsBarUpdateEvent) => any;
|
|
34
34
|
tabChange: (value: import("../types").TabsBarUpdateEvent) => any;
|
|
35
35
|
}, string, import("vue").PublicProps, Readonly<PTabsProps> & Readonly<{
|
|
@@ -40,7 +40,8 @@ declare const __VLS_component: import("vue").DefineComponent<PTabsProps, void, {
|
|
|
40
40
|
size: BreakpointCustomizable<TabsSize>;
|
|
41
41
|
activeTabIndex: number;
|
|
42
42
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
|
-
declare const
|
|
43
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
44
|
+
declare const _default: typeof __VLS_export;
|
|
44
45
|
export default _default;
|
|
45
46
|
type __VLS_WithSlots<T, S> = T & {
|
|
46
47
|
new (): {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as f, ref as i, inject as l, onMounted as u, onUpdated as h, watch as C,
|
|
2
|
-
import { usePrefix as x, themeInjectionKey as R,
|
|
1
|
+
import { defineComponent as f, ref as i, inject as l, onMounted as u, onUpdated as h, watch as C, createBlock as g, openBlock as _, resolveDynamicComponent as b, unref as y, withCtx as v, renderSlot as w } from "vue";
|
|
2
|
+
import { usePrefix as x, themeInjectionKey as R, syncProperties as s, addEventListenerToElementRef as m } from "../../utils.mjs";
|
|
3
3
|
const j = /* @__PURE__ */ f({
|
|
4
4
|
__name: "TabsWrapper",
|
|
5
5
|
props: {
|
|
@@ -12,12 +12,12 @@ const j = /* @__PURE__ */ f({
|
|
|
12
12
|
},
|
|
13
13
|
emits: ["tabChange", "update"],
|
|
14
14
|
setup(p, { emit: c }) {
|
|
15
|
-
const d = x("p-tabs"), t = p, e = i(), o = c, a = l(R), r = () =>
|
|
15
|
+
const d = x("p-tabs"), t = p, e = i(), o = c, a = l(R), r = () => s(e, { ...t, theme: t.theme || a.value });
|
|
16
16
|
return u(() => {
|
|
17
|
-
r(),
|
|
17
|
+
r(), m(e, "tabChange", o), m(e, "update", o);
|
|
18
18
|
}), h(r), C(a, (n) => {
|
|
19
|
-
|
|
20
|
-
}), (n, T) => (
|
|
19
|
+
s(e, { theme: t.theme || n });
|
|
20
|
+
}), (n, T) => (_(), g(b(y(d)), {
|
|
21
21
|
ref_key: "pdsComponentRef",
|
|
22
22
|
ref: e
|
|
23
23
|
}, {
|
|
@@ -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
|
|
24
|
+
declare const __VLS_base: import("vue").DefineComponent<PTagDismissibleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PTagDismissibleProps> & Readonly<{}>, {
|
|
25
25
|
color: TagDismissibleColor;
|
|
26
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
-
declare const
|
|
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 c, ref as m, inject as f, onMounted as i, onUpdated as l, watch as d,
|
|
1
|
+
import { defineComponent as c, ref as m, inject as f, onMounted as i, onUpdated as l, watch as d, createBlock as u, openBlock as h, resolveDynamicComponent as _, unref as C, withCtx as b, renderSlot as y } from "vue";
|
|
2
2
|
import { usePrefix as g, themeInjectionKey as k, syncProperties as s } from "../../utils.mjs";
|
|
3
3
|
const R = /* @__PURE__ */ c({
|
|
4
4
|
__name: "TagDismissibleWrapper",
|
|
@@ -12,7 +12,7 @@ const R = /* @__PURE__ */ c({
|
|
|
12
12
|
const p = g("p-tag-dismissible"), e = a, t = m(), n = f(k), r = () => s(t, { ...e, theme: e.theme || n.value });
|
|
13
13
|
return i(r), l(r), d(n, (o) => {
|
|
14
14
|
s(t, { theme: e.theme || o });
|
|
15
|
-
}), (o, w) => (
|
|
15
|
+
}), (o, w) => (h(), u(_(C(p)), {
|
|
16
16
|
ref_key: "pdsComponentRef",
|
|
17
17
|
ref: t
|
|
18
18
|
}, {
|
|
@@ -25,11 +25,12 @@ declare var __VLS_8: {};
|
|
|
25
25
|
type __VLS_Slots = {} & {
|
|
26
26
|
default?: (props: typeof __VLS_8) => any;
|
|
27
27
|
};
|
|
28
|
-
declare const
|
|
28
|
+
declare const __VLS_base: import("vue").DefineComponent<PTagProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PTagProps> & Readonly<{}>, {
|
|
29
29
|
compact: boolean;
|
|
30
30
|
color: TagColor;
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
-
declare const
|
|
32
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
33
34
|
export default _default;
|
|
34
35
|
type __VLS_WithSlots<T, S> = T & {
|
|
35
36
|
new (): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as s, ref as m, inject as f, onMounted as u, onUpdated as l, watch as d,
|
|
1
|
+
import { defineComponent as s, ref as m, inject as f, onMounted as u, onUpdated as l, watch as d, createBlock as i, openBlock as h, resolveDynamicComponent as _, unref as y, withCtx as C, renderSlot as g } from "vue";
|
|
2
2
|
import { usePrefix as k, themeInjectionKey as w, syncProperties as c } from "../../utils.mjs";
|
|
3
3
|
const R = /* @__PURE__ */ s({
|
|
4
4
|
__name: "TagWrapper",
|
|
@@ -13,7 +13,7 @@ const R = /* @__PURE__ */ s({
|
|
|
13
13
|
const a = k("p-tag"), e = p, o = m(), n = f(w), r = () => c(o, { ...e, theme: e.theme || n.value });
|
|
14
14
|
return u(r), l(r), d(n, (t) => {
|
|
15
15
|
c(o, { theme: e.theme || t });
|
|
16
|
-
}), (t, x) => (
|
|
16
|
+
}), (t, x) => (h(), i(_(y(a)), {
|
|
17
17
|
ref_key: "pdsComponentRef",
|
|
18
18
|
ref: o
|
|
19
19
|
}, {
|
|
@@ -61,9 +61,7 @@ declare var __VLS_8: {};
|
|
|
61
61
|
type __VLS_Slots = {} & {
|
|
62
62
|
default?: (props: typeof __VLS_8) => any;
|
|
63
63
|
};
|
|
64
|
-
declare const
|
|
65
|
-
[x: string]: any;
|
|
66
|
-
} & {
|
|
64
|
+
declare const __VLS_base: import("vue").DefineComponent<PTextFieldWrapperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
67
65
|
[x: string]: any;
|
|
68
66
|
}, string, import("vue").PublicProps, Readonly<PTextFieldWrapperProps> & Readonly<{
|
|
69
67
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
@@ -80,8 +78,9 @@ declare const __VLS_component: import("vue").DefineComponent<PTextFieldWrapperPr
|
|
|
80
78
|
unit: string;
|
|
81
79
|
unitPosition: TextFieldWrapperUnitPosition;
|
|
82
80
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
81
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
83
82
|
/** @deprecated since v3.29.0, will be removed with next major release. Please use one of the specific input components instead: `p-input-date`, `p-input-email`, `p-input-number`, `p-input-password`, `p-input-search`, `p-input-tel`, `p-input-text`, `p-input-time` or `p-input-url`. */
|
|
84
|
-
declare const _default:
|
|
83
|
+
declare const _default: typeof __VLS_export;
|
|
85
84
|
export default _default;
|
|
86
85
|
type __VLS_WithSlots<T, S> = T & {
|
|
87
86
|
new (): {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as i, ref as u, inject as d, onMounted as c, onUpdated as m, watch as h,
|
|
2
|
-
import { usePrefix as b, themeInjectionKey as g,
|
|
1
|
+
import { defineComponent as i, ref as u, inject as d, onMounted as c, onUpdated as m, watch as h, createBlock as y, openBlock as B, resolveDynamicComponent as C, unref as w, withCtx as _, renderSlot as x } from "vue";
|
|
2
|
+
import { usePrefix as b, themeInjectionKey as g, syncProperties as r, addEventListenerToElementRef as P } from "../../utils.mjs";
|
|
3
3
|
const k = /* @__PURE__ */ i({
|
|
4
4
|
__name: "TextFieldWrapperWrapper",
|
|
5
5
|
props: {
|
|
@@ -25,7 +25,7 @@ const k = /* @__PURE__ */ i({
|
|
|
25
25
|
a(), P(e, "action", f);
|
|
26
26
|
}), m(a), h(n, (o) => {
|
|
27
27
|
r(e, { theme: t.theme || o });
|
|
28
|
-
}), (o, R) => (
|
|
28
|
+
}), (o, R) => (B(), y(C(w(p)), {
|
|
29
29
|
ref_key: "pdsComponentRef",
|
|
30
30
|
ref: e
|
|
31
31
|
}, {
|
|
@@ -2,8 +2,9 @@ declare var __VLS_7: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_7) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as o,
|
|
1
|
+
import { defineComponent as o, createBlock as n, openBlock as r, resolveDynamicComponent as p, unref as m, withCtx as s, renderSlot as a } from "vue";
|
|
2
2
|
import { usePrefix as l } from "../../utils.mjs";
|
|
3
3
|
const _ = /* @__PURE__ */ o({
|
|
4
4
|
__name: "TextListItemWrapper",
|
|
5
5
|
setup(i) {
|
|
6
6
|
const e = l("p-text-list-item");
|
|
7
|
-
return (t, c) => (
|
|
7
|
+
return (t, c) => (r(), n(p(m(e)), null, {
|
|
8
8
|
default: s(() => [
|
|
9
9
|
a(t.$slots, "default")
|
|
10
10
|
]),
|
|
@@ -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
|
|
24
|
+
declare const __VLS_base: import("vue").DefineComponent<PTextListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PTextListProps> & Readonly<{}>, {
|
|
25
25
|
type: TextListType;
|
|
26
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
-
declare const
|
|
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 c, ref as f, inject as a, onMounted as d, onUpdated as i, watch as l,
|
|
1
|
+
import { defineComponent as c, ref as f, inject as a, onMounted as d, onUpdated as i, watch as l, createBlock as u, openBlock as h, resolveDynamicComponent as y, unref as _, withCtx as C, renderSlot as x } from "vue";
|
|
2
2
|
import { usePrefix as T, themeInjectionKey as k, syncProperties as p } from "../../utils.mjs";
|
|
3
3
|
const j = /* @__PURE__ */ c({
|
|
4
4
|
__name: "TextListWrapper",
|
|
@@ -12,7 +12,7 @@ const j = /* @__PURE__ */ c({
|
|
|
12
12
|
const m = T("p-text-list"), e = s, t = f(), n = a(k), r = () => p(t, { ...e, theme: e.theme || n.value });
|
|
13
13
|
return d(r), i(r), l(n, (o) => {
|
|
14
14
|
p(t, { theme: e.theme || o });
|
|
15
|
-
}), (o, w) => (
|
|
15
|
+
}), (o, w) => (h(), u(y(_(m)), {
|
|
16
16
|
ref_key: "pdsComponentRef",
|
|
17
17
|
ref: t
|
|
18
18
|
}, {
|
|
@@ -33,7 +33,7 @@ declare var __VLS_8: {};
|
|
|
33
33
|
type __VLS_Slots = {} & {
|
|
34
34
|
default?: (props: typeof __VLS_8) => any;
|
|
35
35
|
};
|
|
36
|
-
declare const
|
|
36
|
+
declare const __VLS_base: import("vue").DefineComponent<PTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PTextProps> & Readonly<{}>, {
|
|
37
37
|
weight: TextWeight;
|
|
38
38
|
size: BreakpointCustomizable<TextSize>;
|
|
39
39
|
tag: TextTag;
|
|
@@ -41,7 +41,8 @@ declare const __VLS_component: import("vue").DefineComponent<PTextProps, void, {
|
|
|
41
41
|
color: TextColor;
|
|
42
42
|
ellipsis: boolean;
|
|
43
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
44
|
-
declare const
|
|
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 l, ref as f, inject as m, onMounted as c, onUpdated as u, watch as d,
|
|
1
|
+
import { defineComponent as l, ref as f, inject as m, onMounted as c, onUpdated as u, watch as d, createBlock as i, openBlock as h, resolveDynamicComponent as y, unref as _, withCtx as C, renderSlot as g } from "vue";
|
|
2
2
|
import { usePrefix as x, themeInjectionKey as w, syncProperties as a } from "../../utils.mjs";
|
|
3
3
|
const R = /* @__PURE__ */ l({
|
|
4
4
|
__name: "TextWrapper",
|
|
@@ -15,7 +15,7 @@ const R = /* @__PURE__ */ l({
|
|
|
15
15
|
const p = x("p-text"), e = s, t = f(), n = m(w), r = () => a(t, { ...e, theme: e.theme || n.value });
|
|
16
16
|
return c(r), u(r), d(n, (o) => {
|
|
17
17
|
a(t, { theme: e.theme || o });
|
|
18
|
-
}), (o, k) => (
|
|
18
|
+
}), (o, k) => (h(), i(y(_(p)), {
|
|
19
19
|
ref_key: "pdsComponentRef",
|
|
20
20
|
ref: t
|
|
21
21
|
}, {
|
|
@@ -89,14 +89,16 @@ 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<PTextareaProps, {}, {}, {}, {}, 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<PTextareaProps> & 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
|
wrap: TextareaWrap;
|
|
102
104
|
resize: TextareaResize;
|
|
@@ -113,7 +115,8 @@ declare const __VLS_component: import("vue").DefineComponent<PTextareaProps, voi
|
|
|
113
115
|
counter: boolean;
|
|
114
116
|
rows: number;
|
|
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
|
|
3
|
-
const j = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as d, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, createBlock as v, openBlock as B, resolveDynamicComponent as C, unref as b, withCtx as g, renderSlot as _ } from "vue";
|
|
2
|
+
import { usePrefix as x, themeInjectionKey as w, syncProperties as s, addEventListenerToElementRef as n } from "../../utils.mjs";
|
|
3
|
+
const j = /* @__PURE__ */ d({
|
|
4
4
|
__name: "TextareaWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
autoComplete: {},
|
|
@@ -25,19 +25,21 @@ const j = /* @__PURE__ */ u({
|
|
|
25
25
|
value: { default: "" },
|
|
26
26
|
wrap: { default: "soft" }
|
|
27
27
|
},
|
|
28
|
-
emits: ["blur", "change", "input"],
|
|
28
|
+
emits: ["update:value", "blur", "change", "input"],
|
|
29
29
|
setup(f, { emit: p }) {
|
|
30
|
-
const
|
|
30
|
+
const u = x("p-textarea"), o = f, e = m(), a = p, l = c(w), r = () => s(e, { ...o, theme: o.theme || l.value });
|
|
31
31
|
return i(() => {
|
|
32
|
-
r(), n(e, "blur", a), n(e, "change", a), n(e, "input", a)
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}), (
|
|
32
|
+
r(), n(e, "blur", a), n(e, "change", a), n(e, "input", a, (t) => {
|
|
33
|
+
a("update:value", t.target.value);
|
|
34
|
+
});
|
|
35
|
+
}), h(r), y(l, (t) => {
|
|
36
|
+
s(e, { theme: o.theme || t });
|
|
37
|
+
}), (t, k) => (B(), v(C(b(u)), {
|
|
36
38
|
ref_key: "pdsComponentRef",
|
|
37
39
|
ref: e
|
|
38
40
|
}, {
|
|
39
41
|
default: g(() => [
|
|
40
|
-
|
|
42
|
+
_(t.$slots, "default")
|
|
41
43
|
]),
|
|
42
44
|
_: 3
|
|
43
45
|
}, 512));
|
|
@@ -37,7 +37,7 @@ declare var __VLS_8: {};
|
|
|
37
37
|
type __VLS_Slots = {} & {
|
|
38
38
|
default?: (props: typeof __VLS_8) => any;
|
|
39
39
|
};
|
|
40
|
-
declare const
|
|
40
|
+
declare const __VLS_base: import("vue").DefineComponent<PTextareaWrapperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PTextareaWrapperProps> & Readonly<{}>, {
|
|
41
41
|
label: string;
|
|
42
42
|
description: string;
|
|
43
43
|
state: TextareaWrapperState;
|
|
@@ -45,8 +45,9 @@ declare const __VLS_component: import("vue").DefineComponent<PTextareaWrapperPro
|
|
|
45
45
|
message: string;
|
|
46
46
|
showCounter: boolean;
|
|
47
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
48
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
48
49
|
/** @deprecated since v3.29.0, will be removed with next major release. Please use `p-textarea` instead. */
|
|
49
|
-
declare const _default:
|
|
50
|
+
declare const _default: typeof __VLS_export;
|
|
50
51
|
export default _default;
|
|
51
52
|
type __VLS_WithSlots<T, S> = T & {
|
|
52
53
|
new (): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, ref as l, inject as c, onMounted as m, onUpdated as u, watch as d,
|
|
1
|
+
import { defineComponent as f, ref as l, inject as c, onMounted as m, onUpdated as u, watch as d, createBlock as h, openBlock as i, resolveDynamicComponent as C, unref as y, withCtx as _, renderSlot as w } from "vue";
|
|
2
2
|
import { usePrefix as x, themeInjectionKey as B, syncProperties as r } from "../../utils.mjs";
|
|
3
3
|
const P = /* @__PURE__ */ f({
|
|
4
4
|
__name: "TextareaWrapperWrapper",
|
|
@@ -16,7 +16,7 @@ const P = /* @__PURE__ */ f({
|
|
|
16
16
|
const s = x("p-textarea-wrapper"), e = p, t = l(), n = c(B), a = () => r(t, { ...e, theme: e.theme || n.value });
|
|
17
17
|
return m(a), u(a), d(n, (o) => {
|
|
18
18
|
r(t, { theme: e.theme || o });
|
|
19
|
-
}), (o, b) => (
|
|
19
|
+
}), (o, b) => (i(), h(C(y(s)), {
|
|
20
20
|
ref_key: "pdsComponentRef",
|
|
21
21
|
ref: t
|
|
22
22
|
}, {
|
|
@@ -5,5 +5,6 @@ type PToastProps = {
|
|
|
5
5
|
*/
|
|
6
6
|
theme?: Theme;
|
|
7
7
|
};
|
|
8
|
-
declare const
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<PToastProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PToastProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
9
10
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, ref as a, inject as f, onMounted as h, onUpdated as i, watch as u,
|
|
1
|
+
import { defineComponent as m, ref as a, inject as f, onMounted as h, onUpdated as i, watch as u, createBlock as d, openBlock as l, resolveDynamicComponent as _, unref as y } from "vue";
|
|
2
2
|
import { usePrefix as C, themeInjectionKey as k, syncProperties as p } from "../../utils.mjs";
|
|
3
3
|
const j = /* @__PURE__ */ m({
|
|
4
4
|
__name: "ToastWrapper",
|
|
@@ -9,7 +9,7 @@ const j = /* @__PURE__ */ m({
|
|
|
9
9
|
const c = C("p-toast"), e = s, t = a(), o = f(k), n = () => p(t, { ...e, theme: e.theme || o.value });
|
|
10
10
|
return h(n), i(n), u(o, (r) => {
|
|
11
11
|
p(t, { theme: e.theme || r });
|
|
12
|
-
}), (r, x) => (
|
|
12
|
+
}), (r, x) => (l(), d(_(y(c)), {
|
|
13
13
|
ref_key: "pdsComponentRef",
|
|
14
14
|
ref: t
|
|
15
15
|
}, null, 512));
|
|
@@ -21,8 +21,9 @@ type PWordmarkProps = {
|
|
|
21
21
|
*/
|
|
22
22
|
theme?: Theme;
|
|
23
23
|
};
|
|
24
|
-
declare const
|
|
24
|
+
declare const __VLS_export: import("vue").DefineComponent<PWordmarkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PWordmarkProps> & Readonly<{}>, {
|
|
25
25
|
size: WordmarkSize;
|
|
26
26
|
target: WordmarkTarget;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
28
29
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as a, ref as c, inject as f, onMounted as l, onUpdated as d, watch as i,
|
|
1
|
+
import { defineComponent as a, ref as c, inject as f, onMounted as l, onUpdated as d, watch as i, createBlock as u, openBlock as h, resolveDynamicComponent as _, unref as k } from "vue";
|
|
2
2
|
import { usePrefix as y, themeInjectionKey as C, syncProperties as m } from "../../utils.mjs";
|
|
3
3
|
const R = /* @__PURE__ */ a({
|
|
4
4
|
__name: "WordmarkWrapper",
|
|
@@ -13,7 +13,7 @@ const R = /* @__PURE__ */ a({
|
|
|
13
13
|
const s = y("p-wordmark"), e = p, t = c(), o = f(C), n = () => m(t, { ...e, theme: e.theme || o.value });
|
|
14
14
|
return l(n), d(n), i(o, (r) => {
|
|
15
15
|
m(t, { theme: e.theme || r });
|
|
16
|
-
}), (r, w) => (
|
|
16
|
+
}), (r, w) => (h(), u(_(k(s)), {
|
|
17
17
|
ref_key: "pdsComponentRef",
|
|
18
18
|
ref: t
|
|
19
19
|
}, null, 512));
|
|
@@ -52,6 +52,8 @@ export { default as PPagination } from './PaginationWrapper.vue';
|
|
|
52
52
|
export { default as PPinCode } from './PinCodeWrapper.vue';
|
|
53
53
|
export { default as PPopover } from './PopoverWrapper.vue';
|
|
54
54
|
export { default as PRadioButtonWrapper } from './RadioButtonWrapperWrapper.vue';
|
|
55
|
+
export { default as PRadioGroup } from './RadioGroupWrapper.vue';
|
|
56
|
+
export { default as PRadioGroupOption } from './RadioGroupOptionWrapper.vue';
|
|
55
57
|
export { default as PScroller } from './ScrollerWrapper.vue';
|
|
56
58
|
export { default as PSegmentedControl } from './SegmentedControlWrapper.vue';
|
|
57
59
|
export { default as PSegmentedControlItem } from './SegmentedControlItemWrapper.vue';
|
package/esm/lib/types.d.ts
CHANGED
|
@@ -726,13 +726,17 @@ export type MultiSelectUpdateEvent = {
|
|
|
726
726
|
name: string;
|
|
727
727
|
value: string[];
|
|
728
728
|
};
|
|
729
|
+
/** @deprecated */
|
|
729
730
|
export type MultiSelectUpdateEventDetail = MultiSelectUpdateEvent;
|
|
731
|
+
export type MultiSelectChangeEventDetail = MultiSelectUpdateEventDetail;
|
|
730
732
|
export type SelectState = FormState;
|
|
731
733
|
export type SelectDropdownDirection = SelectComponentsDropdownDirection;
|
|
734
|
+
/** @deprecated */
|
|
732
735
|
export type SelectUpdateEventDetail = {
|
|
733
736
|
name: string;
|
|
734
737
|
value: string;
|
|
735
738
|
};
|
|
739
|
+
export type SelectChangeEventDetail = SelectUpdateEventDetail;
|
|
736
740
|
declare const SELECT_DROPDOWN_DIRECTIONS: readonly [
|
|
737
741
|
"down",
|
|
738
742
|
"up",
|
|
@@ -1111,6 +1115,11 @@ declare const FLEX_ITEM_FLEXS: readonly [
|
|
|
1111
1115
|
"equal"
|
|
1112
1116
|
];
|
|
1113
1117
|
export type FlexItemFlex = (typeof FLEX_ITEM_FLEXS)[number];
|
|
1118
|
+
declare const BACKDROPS: readonly [
|
|
1119
|
+
"blur",
|
|
1120
|
+
"shading"
|
|
1121
|
+
];
|
|
1122
|
+
export type Backdrop = (typeof BACKDROPS)[number];
|
|
1114
1123
|
declare const FLYOUT_POSITIONS: readonly [
|
|
1115
1124
|
"start",
|
|
1116
1125
|
"end",
|
|
@@ -1129,6 +1138,7 @@ declare const FLYOUT_ARIA_ATTRIBUTES: readonly [
|
|
|
1129
1138
|
export type FlyoutAriaAttribute = (typeof FLYOUT_ARIA_ATTRIBUTES)[number];
|
|
1130
1139
|
export type FlyoutMotionVisibleEndEventDetail = TransitionEvent;
|
|
1131
1140
|
export type FlyoutMotionHiddenEndEventDetail = TransitionEvent;
|
|
1141
|
+
export type FlyoutBackdrop = Backdrop;
|
|
1132
1142
|
declare const GRID_DIRECTIONS: readonly [
|
|
1133
1143
|
"row",
|
|
1134
1144
|
"row-reverse",
|
|
@@ -1409,11 +1419,6 @@ declare const MARQUE_SIZES: readonly [
|
|
|
1409
1419
|
"medium"
|
|
1410
1420
|
];
|
|
1411
1421
|
export type MarqueSize = (typeof MARQUE_SIZES)[number];
|
|
1412
|
-
declare const BACKDROPS: readonly [
|
|
1413
|
-
"blur",
|
|
1414
|
-
"shading"
|
|
1415
|
-
];
|
|
1416
|
-
export type Backdrop = (typeof BACKDROPS)[number];
|
|
1417
1422
|
declare const MODAL_ARIA_ATTRIBUTES: readonly [
|
|
1418
1423
|
"aria-label",
|
|
1419
1424
|
"role"
|
|
@@ -1474,7 +1479,9 @@ export type PinCodeUpdateEvent = {
|
|
|
1474
1479
|
value: string;
|
|
1475
1480
|
isComplete: boolean;
|
|
1476
1481
|
};
|
|
1482
|
+
/** @deprecated */
|
|
1477
1483
|
export type PinCodeUpdateEventDetail = PinCodeUpdateEvent;
|
|
1484
|
+
export type PinCodeChangeEventDetail = PinCodeUpdateEventDetail;
|
|
1478
1485
|
export type PinCodeState = FormState;
|
|
1479
1486
|
declare const POPOVER_DIRECTIONS: readonly [
|
|
1480
1487
|
"top",
|
|
@@ -1488,6 +1495,9 @@ declare const POPOVER_ARIA_ATTRIBUTES: readonly [
|
|
|
1488
1495
|
];
|
|
1489
1496
|
export type PopoverAriaAttribute = (typeof POPOVER_ARIA_ATTRIBUTES)[number];
|
|
1490
1497
|
export type RadioButtonWrapperState = FormState;
|
|
1498
|
+
export type RadioGroupState = FormState;
|
|
1499
|
+
export type RadioGroupDirection = GroupDirection;
|
|
1500
|
+
export type RadioGroupChangeEventDetail = Event;
|
|
1491
1501
|
declare const SEGMENTED_CONTROL_BACKGROUND_COLORS: readonly [
|
|
1492
1502
|
"background-surface",
|
|
1493
1503
|
"background-default"
|
|
@@ -1497,7 +1507,9 @@ export type SegmentedControlBackgroundColor = (typeof SEGMENTED_CONTROL_BACKGROU
|
|
|
1497
1507
|
export type SegmentedControlUpdateEvent = {
|
|
1498
1508
|
value: string | number;
|
|
1499
1509
|
};
|
|
1510
|
+
/** @deprecated */
|
|
1500
1511
|
export type SegmentedControlUpdateEventDetail = SegmentedControlUpdateEvent;
|
|
1512
|
+
export type SegmentedControlChangeEventDetail = SegmentedControlUpdateEventDetail;
|
|
1501
1513
|
declare const SEGMENTED_CONTROL_COLUMNS: (string | number)[];
|
|
1502
1514
|
export type SegmentedControlColumns = (typeof SEGMENTED_CONTROL_COLUMNS)[number];
|
|
1503
1515
|
export type SegmentedControlItemIcon = LinkButtonIconName;
|
package/esm/plugin.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ref as n, inject as c } from "vue";
|
|
2
2
|
import { componentsReady as i, load as m } from "@porsche-design-system/components-js";
|
|
3
3
|
import { prefixInjectionKey as a } from "./utils.mjs";
|
|
4
4
|
const t = Symbol();
|
|
5
5
|
function u() {
|
|
6
|
-
const e =
|
|
6
|
+
const e = c(t);
|
|
7
7
|
if (!e)
|
|
8
8
|
throw new Error(
|
|
9
9
|
"[Porsche Design System Vue] No plugin was provided. Make sure to create one via `createPorscheDesignSystem()`."
|
|
@@ -11,7 +11,7 @@ function u() {
|
|
|
11
11
|
return e;
|
|
12
12
|
}
|
|
13
13
|
function g(e = { prefix: "" }) {
|
|
14
|
-
const r =
|
|
14
|
+
const r = n(!1), s = {
|
|
15
15
|
options: e,
|
|
16
16
|
isPorscheDesignSystemLoaded: r,
|
|
17
17
|
componentsReady: i,
|