@porsche-design-system/components-vue 3.16.0 → 3.17.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 +84 -1
- package/cjs/lib/components/ButtonTileWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ButtonWrapper.vue.cjs +1 -1
- package/cjs/lib/components/FlyoutWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkSocialWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkTileModelSignatureWrapper.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/OptgroupWrapper.vue.cjs +1 -0
- package/cjs/lib/components/OptgroupWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/TagWrapper.vue.cjs +1 -1
- package/cjs/public-api.cjs +1 -1
- package/esm/PorscheDesignSystemProvider.vue.d.ts +7 -5
- package/esm/lib/components/AccordionWrapper.vue.d.ts +8 -6
- package/esm/lib/components/BannerWrapper.vue.d.ts +9 -16
- package/esm/lib/components/ButtonGroupWrapper.vue.d.ts +7 -5
- package/esm/lib/components/ButtonPureWrapper.vue.d.ts +11 -9
- package/esm/lib/components/ButtonTileWrapper.vue.d.ts +13 -11
- package/esm/lib/components/ButtonTileWrapper.vue.mjs +4 -4
- package/esm/lib/components/ButtonWrapper.vue.d.ts +16 -7
- package/esm/lib/components/ButtonWrapper.vue.mjs +9 -8
- package/esm/lib/components/CanvasWrapper.vue.d.ts +9 -14
- package/esm/lib/components/CarouselWrapper.vue.d.ts +9 -7
- package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +7 -5
- package/esm/lib/components/ContentWrapperWrapper.vue.d.ts +9 -7
- package/esm/lib/components/CrestWrapper.vue.d.ts +1 -1
- package/esm/lib/components/DisplayWrapper.vue.d.ts +9 -7
- package/esm/lib/components/DividerWrapper.vue.d.ts +2 -2
- package/esm/lib/components/FieldsetWrapper.vue.d.ts +8 -6
- package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +9 -7
- package/esm/lib/components/FlexItemWrapper.vue.d.ts +13 -11
- package/esm/lib/components/FlexWrapper.vue.d.ts +13 -11
- package/esm/lib/components/FlyoutMultilevelItemWrapper.vue.d.ts +4 -2
- package/esm/lib/components/FlyoutMultilevelWrapper.vue.d.ts +7 -9
- package/esm/lib/components/FlyoutWrapper.vue.d.ts +8 -12
- package/esm/lib/components/FlyoutWrapper.vue.mjs +13 -13
- package/esm/lib/components/GridItemWrapper.vue.d.ts +9 -7
- package/esm/lib/components/GridWrapper.vue.d.ts +10 -8
- package/esm/lib/components/HeadingWrapper.vue.d.ts +9 -7
- package/esm/lib/components/HeadlineWrapper.vue.d.ts +9 -7
- package/esm/lib/components/IconWrapper.vue.d.ts +3 -3
- package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +10 -18
- package/esm/lib/components/LinkPureWrapper.vue.d.ts +11 -9
- package/esm/lib/components/LinkSocialWrapper.vue.d.ts +15 -6
- package/esm/lib/components/LinkSocialWrapper.vue.mjs +11 -10
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +11 -9
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue.mjs +1 -1
- package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +7 -5
- package/esm/lib/components/LinkTileWrapper.vue.d.ts +12 -10
- package/esm/lib/components/LinkTileWrapper.vue.mjs +4 -4
- package/esm/lib/components/LinkWrapper.vue.d.ts +16 -7
- package/esm/lib/components/LinkWrapper.vue.mjs +9 -8
- package/esm/lib/components/MarqueWrapper.vue.d.ts +3 -3
- package/esm/lib/components/ModalWrapper.vue.d.ts +8 -14
- package/esm/lib/components/ModalWrapper.vue.mjs +13 -13
- package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +10 -8
- package/esm/lib/components/MultiSelectOptionWrapper.vue.d.ts +6 -4
- package/esm/lib/components/MultiSelectWrapper.vue.d.ts +8 -6
- package/esm/lib/components/OptgroupWrapper.vue.d.ts +44 -0
- package/esm/lib/components/OptgroupWrapper.vue.mjs +24 -0
- package/esm/lib/components/OptgroupWrapper.vue2.mjs +4 -0
- package/esm/lib/components/PaginationWrapper.vue.d.ts +1 -1
- package/esm/lib/components/PinCodeWrapper.vue.d.ts +9 -7
- package/esm/lib/components/PopoverWrapper.vue.d.ts +7 -5
- package/esm/lib/components/RadioButtonWrapperWrapper.vue.d.ts +7 -5
- package/esm/lib/components/ScrollerWrapper.vue.d.ts +8 -6
- package/esm/lib/components/SegmentedControlItemWrapper.vue.d.ts +6 -4
- package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +7 -5
- package/esm/lib/components/SelectOptionWrapper.vue.d.ts +6 -4
- package/esm/lib/components/SelectWrapper.vue.d.ts +8 -6
- package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +8 -6
- package/esm/lib/components/SpinnerWrapper.vue.d.ts +1 -1
- package/esm/lib/components/StepperHorizontalItemWrapper.vue.d.ts +6 -4
- package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +7 -5
- package/esm/lib/components/SwitchWrapper.vue.d.ts +7 -5
- package/esm/lib/components/TableBodyWrapper.vue.d.ts +4 -2
- package/esm/lib/components/TableCellWrapper.vue.d.ts +6 -4
- package/esm/lib/components/TableHeadCellWrapper.vue.d.ts +6 -4
- package/esm/lib/components/TableHeadRowWrapper.vue.d.ts +4 -2
- package/esm/lib/components/TableHeadWrapper.vue.d.ts +4 -2
- package/esm/lib/components/TableRowWrapper.vue.d.ts +4 -2
- package/esm/lib/components/TableWrapper.vue.d.ts +6 -4
- package/esm/lib/components/TabsBarWrapper.vue.d.ts +9 -7
- package/esm/lib/components/TabsItemWrapper.vue.d.ts +4 -2
- package/esm/lib/components/TabsWrapper.vue.d.ts +9 -7
- package/esm/lib/components/TagDismissibleWrapper.vue.d.ts +7 -5
- package/esm/lib/components/TagWrapper.vue.d.ts +14 -5
- package/esm/lib/components/TagWrapper.vue.mjs +8 -7
- package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +9 -21
- package/esm/lib/components/TextListItemWrapper.vue.d.ts +4 -2
- package/esm/lib/components/TextListWrapper.vue.d.ts +7 -5
- package/esm/lib/components/TextWrapper.vue.d.ts +11 -9
- package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +7 -5
- package/esm/lib/components/WordmarkWrapper.vue.d.ts +2 -2
- package/esm/lib/components/index.d.ts +1 -0
- package/esm/lib/types.d.ts +16 -3
- package/esm/public-api.mjs +77 -75
- package/esm/utils.d.ts +2 -2
- package/jsdom-polyfill/index.d.ts +0 -1
- package/package.json +2 -2
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { BreakpointCustomizable, LinkSocialIcon, LinkSocialTarget, Theme } from '../types';
|
|
2
2
|
type PLinkSocialProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Displays as compact version.
|
|
5
|
+
*/
|
|
6
|
+
compact?: boolean;
|
|
3
7
|
/**
|
|
4
8
|
* Show or hide label.
|
|
5
9
|
*/
|
|
@@ -29,19 +33,24 @@ type PLinkSocialProps = {
|
|
|
29
33
|
*/
|
|
30
34
|
theme?: Theme;
|
|
31
35
|
};
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
declare function __VLS_template(): {
|
|
37
|
+
default?(_: {}): any;
|
|
38
|
+
};
|
|
39
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkSocialProps>, {
|
|
40
|
+
compact: boolean;
|
|
34
41
|
hideLabel: boolean;
|
|
35
42
|
target: string;
|
|
36
43
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkSocialProps>, {
|
|
44
|
+
compact: boolean;
|
|
37
45
|
hideLabel: boolean;
|
|
38
46
|
target: string;
|
|
39
47
|
}>>>, {
|
|
48
|
+
compact: boolean;
|
|
40
49
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
41
|
-
target:
|
|
42
|
-
}, {}
|
|
43
|
-
|
|
44
|
-
|
|
50
|
+
target: LinkSocialTarget;
|
|
51
|
+
}, {}>;
|
|
52
|
+
/** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social icon instead. */
|
|
53
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
45
54
|
export default _default;
|
|
46
55
|
type __VLS_WithDefaults<P, D> = {
|
|
47
56
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as w, themeInjectionKey as x, syncProperties as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as f, inject as l, onMounted as m, onUpdated as i, watch as d, openBlock as u, createBlock as h, resolveDynamicComponent as _, unref as y, withCtx as C, renderSlot as k } from "vue";
|
|
2
|
+
import { usePrefix as w, themeInjectionKey as x, syncProperties as a } from "../../utils.mjs";
|
|
3
|
+
const S = /* @__PURE__ */ p({
|
|
4
4
|
__name: "LinkSocialWrapper",
|
|
5
5
|
props: {
|
|
6
|
+
compact: { type: Boolean, default: !1 },
|
|
6
7
|
hideLabel: { default: !1 },
|
|
7
8
|
href: {},
|
|
8
9
|
icon: {},
|
|
@@ -12,20 +13,20 @@ const b = /* @__PURE__ */ a({
|
|
|
12
13
|
theme: {}
|
|
13
14
|
},
|
|
14
15
|
setup(c) {
|
|
15
|
-
const
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
}), (o,
|
|
16
|
+
const s = w("p-link-social"), e = c, t = f(), n = l(x), r = () => a(t, { ...e, theme: e.theme || n.value });
|
|
17
|
+
return m(r), i(r), d(n, (o) => {
|
|
18
|
+
a(t, { theme: e.theme || o });
|
|
19
|
+
}), (o, B) => (u(), h(_(y(s)), {
|
|
19
20
|
ref_key: "pdsComponentRef",
|
|
20
21
|
ref: t
|
|
21
22
|
}, {
|
|
22
|
-
default:
|
|
23
|
-
|
|
23
|
+
default: C(() => [
|
|
24
|
+
k(o.$slots, "default")
|
|
24
25
|
]),
|
|
25
26
|
_: 3
|
|
26
27
|
}, 512));
|
|
27
28
|
}
|
|
28
29
|
});
|
|
29
30
|
export {
|
|
30
|
-
|
|
31
|
+
S as default
|
|
31
32
|
};
|
|
@@ -29,7 +29,10 @@ type PLinkTileModelSignatureProps = {
|
|
|
29
29
|
*/
|
|
30
30
|
weight?: BreakpointCustomizable<LinkTileModelSignatureWeight>;
|
|
31
31
|
};
|
|
32
|
-
declare
|
|
32
|
+
declare function __VLS_template(): {
|
|
33
|
+
default?(_: {}): any;
|
|
34
|
+
};
|
|
35
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileModelSignatureProps>, {
|
|
33
36
|
aspectRatio: string;
|
|
34
37
|
headingTag: string;
|
|
35
38
|
linkDirection: () => {
|
|
@@ -48,14 +51,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
48
51
|
model: string;
|
|
49
52
|
weight: string;
|
|
50
53
|
}>>>, {
|
|
51
|
-
weight: BreakpointCustomizable<
|
|
52
|
-
headingTag:
|
|
53
|
-
aspectRatio: BreakpointCustomizable<
|
|
54
|
-
linkDirection: BreakpointCustomizable<
|
|
55
|
-
model:
|
|
56
|
-
}, {}
|
|
57
|
-
|
|
58
|
-
}>;
|
|
54
|
+
weight: BreakpointCustomizable<LinkTileModelSignatureWeight>;
|
|
55
|
+
headingTag: LinkTileModelSignatureHeadingTag;
|
|
56
|
+
aspectRatio: BreakpointCustomizable<LinkTileModelSignatureAspectRatio>;
|
|
57
|
+
linkDirection: BreakpointCustomizable<LinkTileModelSignatureLinkDirection>;
|
|
58
|
+
model: LinkTileModelSignatureModel;
|
|
59
|
+
}, {}>;
|
|
60
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
59
61
|
export default _default;
|
|
60
62
|
type __VLS_WithDefaults<P, D> = {
|
|
61
63
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -3,7 +3,7 @@ import { usePrefix as _, syncProperties as h } from "../../utils.mjs";
|
|
|
3
3
|
const x = /* @__PURE__ */ a({
|
|
4
4
|
__name: "LinkTileModelSignatureWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
aspectRatio: { default: "3
|
|
6
|
+
aspectRatio: { default: "3/4" },
|
|
7
7
|
description: {},
|
|
8
8
|
heading: {},
|
|
9
9
|
headingTag: { default: "h2" },
|
|
@@ -45,7 +45,10 @@ type PLinkTileProductProps = {
|
|
|
45
45
|
*/
|
|
46
46
|
theme?: Theme;
|
|
47
47
|
};
|
|
48
|
-
declare
|
|
48
|
+
declare function __VLS_template(): {
|
|
49
|
+
default?(_: {}): any;
|
|
50
|
+
};
|
|
51
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileProductProps>, {
|
|
49
52
|
aspectRatio: string;
|
|
50
53
|
likeButton: boolean;
|
|
51
54
|
liked: boolean;
|
|
@@ -61,12 +64,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
61
64
|
onLike?: ((value: import("../types").LinkTileProductLikeEvent) => any) | undefined;
|
|
62
65
|
}, {
|
|
63
66
|
aspectRatio: BreakpointCustomizable<LinkTileProductAspectRatio>;
|
|
64
|
-
target:
|
|
67
|
+
target: LinkTileProductTarget;
|
|
65
68
|
likeButton: boolean;
|
|
66
69
|
liked: boolean;
|
|
67
|
-
}, {}
|
|
68
|
-
|
|
69
|
-
}>;
|
|
70
|
+
}, {}>;
|
|
71
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
70
72
|
export default _default;
|
|
71
73
|
type __VLS_WithDefaults<P, D> = {
|
|
72
74
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -57,7 +57,10 @@ type PLinkTileProps = {
|
|
|
57
57
|
*/
|
|
58
58
|
weight?: BreakpointCustomizable<LinkTileWeight>;
|
|
59
59
|
};
|
|
60
|
-
declare
|
|
60
|
+
declare function __VLS_template(): {
|
|
61
|
+
default?(_: {}): any;
|
|
62
|
+
};
|
|
63
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileProps>, {
|
|
61
64
|
align: string;
|
|
62
65
|
aspectRatio: string;
|
|
63
66
|
background: string;
|
|
@@ -76,17 +79,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
76
79
|
target: string;
|
|
77
80
|
weight: string;
|
|
78
81
|
}>>>, {
|
|
79
|
-
weight: BreakpointCustomizable<
|
|
82
|
+
weight: BreakpointCustomizable<LinkTileWeight>;
|
|
80
83
|
compact: BreakpointCustomizable<boolean>;
|
|
81
|
-
size: BreakpointCustomizable<
|
|
82
|
-
align:
|
|
83
|
-
aspectRatio: BreakpointCustomizable<
|
|
84
|
-
background:
|
|
84
|
+
size: BreakpointCustomizable<LinkTileSize>;
|
|
85
|
+
align: LinkTileAlign;
|
|
86
|
+
aspectRatio: BreakpointCustomizable<LinkTileAspectRatio>;
|
|
87
|
+
background: LinkTileBackground;
|
|
85
88
|
gradient: boolean;
|
|
86
|
-
target:
|
|
87
|
-
}, {}
|
|
88
|
-
|
|
89
|
-
}>;
|
|
89
|
+
target: LinkTileTarget;
|
|
90
|
+
}, {}>;
|
|
91
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
90
92
|
export default _default;
|
|
91
93
|
type __VLS_WithDefaults<P, D> = {
|
|
92
94
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as l, ref as d, onMounted as
|
|
1
|
+
import { defineComponent as l, ref as d, onMounted as p, onUpdated as s, openBlock as f, createBlock as i, resolveDynamicComponent as u, unref as c, withCtx as m, renderSlot as _ } from "vue";
|
|
2
2
|
import { usePrefix as k, syncProperties as g } from "../../utils.mjs";
|
|
3
3
|
const h = /* @__PURE__ */ l({
|
|
4
4
|
__name: "LinkTileWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
align: { default: "bottom" },
|
|
7
7
|
aria: {},
|
|
8
|
-
aspectRatio: { default: "4
|
|
8
|
+
aspectRatio: { default: "4/3" },
|
|
9
9
|
background: { default: "dark" },
|
|
10
10
|
compact: { default: !1 },
|
|
11
11
|
description: {},
|
|
@@ -14,13 +14,13 @@ const h = /* @__PURE__ */ l({
|
|
|
14
14
|
href: {},
|
|
15
15
|
label: {},
|
|
16
16
|
rel: {},
|
|
17
|
-
size: { default: "
|
|
17
|
+
size: { default: "medium" },
|
|
18
18
|
target: { default: "_self" },
|
|
19
19
|
weight: { default: "semi-bold" }
|
|
20
20
|
},
|
|
21
21
|
setup(o) {
|
|
22
22
|
const n = k("p-link-tile"), a = o, e = d(), t = () => g(e, a);
|
|
23
|
-
return
|
|
23
|
+
return p(t), s(t), (r, C) => (f(), i(u(c(n)), {
|
|
24
24
|
ref_key: "pdsComponentRef",
|
|
25
25
|
ref: e
|
|
26
26
|
}, {
|
|
@@ -4,6 +4,10 @@ type PLinkProps = {
|
|
|
4
4
|
* Add ARIA attributes.
|
|
5
5
|
*/
|
|
6
6
|
aria?: SelectedAriaAttributes<LinkAriaAttribute>;
|
|
7
|
+
/**
|
|
8
|
+
* Displays as compact version.
|
|
9
|
+
*/
|
|
10
|
+
compact?: boolean;
|
|
7
11
|
/**
|
|
8
12
|
* Special download attribute to open native browser download dialog if target url points to a downloadable file.
|
|
9
13
|
*/
|
|
@@ -41,24 +45,29 @@ type PLinkProps = {
|
|
|
41
45
|
*/
|
|
42
46
|
variant?: LinkVariant;
|
|
43
47
|
};
|
|
44
|
-
declare
|
|
48
|
+
declare function __VLS_template(): {
|
|
49
|
+
default?(_: {}): any;
|
|
50
|
+
};
|
|
51
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkProps>, {
|
|
52
|
+
compact: boolean;
|
|
45
53
|
hideLabel: boolean;
|
|
46
54
|
icon: string;
|
|
47
55
|
target: string;
|
|
48
56
|
variant: string;
|
|
49
57
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkProps>, {
|
|
58
|
+
compact: boolean;
|
|
50
59
|
hideLabel: boolean;
|
|
51
60
|
icon: string;
|
|
52
61
|
target: string;
|
|
53
62
|
variant: string;
|
|
54
63
|
}>>>, {
|
|
64
|
+
compact: boolean;
|
|
55
65
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
56
|
-
icon:
|
|
57
|
-
variant:
|
|
58
|
-
target:
|
|
59
|
-
}, {}
|
|
60
|
-
|
|
61
|
-
}>;
|
|
66
|
+
icon: LinkIcon;
|
|
67
|
+
variant: LinkVariant;
|
|
68
|
+
target: LinkTarget;
|
|
69
|
+
}, {}>;
|
|
70
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
62
71
|
export default _default;
|
|
63
72
|
type __VLS_WithDefaults<P, D> = {
|
|
64
73
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as s, ref as c, inject as l, onMounted as m, onUpdated as d, watch as i, openBlock as u, createBlock as h, resolveDynamicComponent as _, unref as y, withCtx as C, renderSlot as k } from "vue";
|
|
2
2
|
import { usePrefix as w, themeInjectionKey as v, syncProperties as a } from "../../utils.mjs";
|
|
3
|
-
const
|
|
3
|
+
const R = /* @__PURE__ */ s({
|
|
4
4
|
__name: "LinkWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
7
|
+
compact: { type: Boolean, default: !1 },
|
|
7
8
|
download: {},
|
|
8
9
|
hideLabel: { default: !1 },
|
|
9
10
|
href: {},
|
|
@@ -15,20 +16,20 @@ const b = /* @__PURE__ */ f({
|
|
|
15
16
|
variant: { default: "primary" }
|
|
16
17
|
},
|
|
17
18
|
setup(p) {
|
|
18
|
-
const
|
|
19
|
-
return
|
|
20
|
-
a(t, { theme: e.theme ||
|
|
21
|
-
}), (
|
|
19
|
+
const f = w("p-link"), e = p, t = c(), n = l(v), r = () => a(t, { ...e, theme: e.theme || n.value });
|
|
20
|
+
return m(r), d(r), i(n, (o) => {
|
|
21
|
+
a(t, { theme: e.theme || o });
|
|
22
|
+
}), (o, x) => (u(), h(_(y(f)), {
|
|
22
23
|
ref_key: "pdsComponentRef",
|
|
23
24
|
ref: t
|
|
24
25
|
}, {
|
|
25
26
|
default: C(() => [
|
|
26
|
-
k(
|
|
27
|
+
k(o.$slots, "default")
|
|
27
28
|
]),
|
|
28
29
|
_: 3
|
|
29
30
|
}, 512));
|
|
30
31
|
}
|
|
31
32
|
});
|
|
32
33
|
export {
|
|
33
|
-
|
|
34
|
+
R as default
|
|
34
35
|
};
|
|
@@ -37,9 +37,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
37
37
|
trademark: boolean;
|
|
38
38
|
variant: string;
|
|
39
39
|
}>>>, {
|
|
40
|
-
size:
|
|
41
|
-
variant:
|
|
42
|
-
target:
|
|
40
|
+
size: MarqueSize;
|
|
41
|
+
variant: MarqueVariant;
|
|
42
|
+
target: MarqueTarget;
|
|
43
43
|
trademark: boolean;
|
|
44
44
|
}, {}>;
|
|
45
45
|
export default _default;
|
|
@@ -38,29 +38,23 @@ type PModalProps = {
|
|
|
38
38
|
*/
|
|
39
39
|
theme?: Theme;
|
|
40
40
|
};
|
|
41
|
-
declare
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
fullscreen: boolean;
|
|
46
|
-
open: boolean;
|
|
47
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
48
|
-
[x: string]: (...args: unknown[]) => void;
|
|
49
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PModalProps>, {
|
|
41
|
+
declare function __VLS_template(): {
|
|
42
|
+
default?(_: {}): any;
|
|
43
|
+
};
|
|
44
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PModalProps>, {
|
|
50
45
|
backdrop: string;
|
|
51
46
|
disableBackdropClick: boolean;
|
|
52
47
|
dismissButton: boolean;
|
|
53
48
|
fullscreen: boolean;
|
|
54
49
|
open: boolean;
|
|
55
|
-
}
|
|
50
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
56
51
|
open: boolean;
|
|
57
52
|
dismissButton: boolean;
|
|
58
53
|
disableBackdropClick: boolean;
|
|
59
|
-
backdrop:
|
|
54
|
+
backdrop: ModalBackdrop;
|
|
60
55
|
fullscreen: BreakpointCustomizable<boolean>;
|
|
61
|
-
}, {}
|
|
62
|
-
|
|
63
|
-
}>;
|
|
56
|
+
}, {}>;
|
|
57
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
64
58
|
export default _default;
|
|
65
59
|
type __VLS_WithDefaults<P, D> = {
|
|
66
60
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as c, inject as f, onMounted as u, onUpdated as h, watch as y, openBlock as B, createBlock as C, resolveDynamicComponent as b, unref as _, withCtx as k, renderSlot as E } from "vue";
|
|
2
|
+
import { usePrefix as R, themeInjectionKey as v, addEventListenerToElementRef as t, syncProperties as i } from "../../utils.mjs";
|
|
3
|
+
const g = /* @__PURE__ */ p({
|
|
4
4
|
__name: "ModalWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
@@ -13,24 +13,24 @@ const j = /* @__PURE__ */ c({
|
|
|
13
13
|
open: { type: Boolean, default: !1 },
|
|
14
14
|
theme: {}
|
|
15
15
|
},
|
|
16
|
-
emits: ["close", "dismiss"],
|
|
17
|
-
setup(
|
|
18
|
-
const m =
|
|
16
|
+
emits: ["close", "dismiss", "motionHiddenEnd", "motionVisibleEnd"],
|
|
17
|
+
setup(l, { emit: r }) {
|
|
18
|
+
const m = R("p-modal"), n = l, e = c(), o = r, a = f(v), d = () => i(e, { ...n, theme: n.theme || a.value });
|
|
19
19
|
return u(() => {
|
|
20
|
-
|
|
21
|
-
}), h(
|
|
22
|
-
|
|
23
|
-
}), (
|
|
20
|
+
d(), t(e, "close", o), t(e, "dismiss", o), t(e, "motionHiddenEnd", o), t(e, "motionVisibleEnd", o);
|
|
21
|
+
}), h(d), y(a, (s) => {
|
|
22
|
+
i(e, { theme: n.theme || s });
|
|
23
|
+
}), (s, w) => (B(), C(b(_(m)), {
|
|
24
24
|
ref_key: "pdsComponentRef",
|
|
25
25
|
ref: e
|
|
26
26
|
}, {
|
|
27
|
-
default:
|
|
28
|
-
|
|
27
|
+
default: k(() => [
|
|
28
|
+
E(s.$slots, "default")
|
|
29
29
|
]),
|
|
30
30
|
_: 3
|
|
31
31
|
}, 512));
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
export {
|
|
35
|
-
|
|
35
|
+
g as default
|
|
36
36
|
};
|
|
@@ -29,7 +29,10 @@ type PModelSignatureProps = {
|
|
|
29
29
|
*/
|
|
30
30
|
theme?: Theme;
|
|
31
31
|
};
|
|
32
|
-
declare
|
|
32
|
+
declare function __VLS_template(): {
|
|
33
|
+
default?(_: {}): any;
|
|
34
|
+
};
|
|
35
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PModelSignatureProps>, {
|
|
33
36
|
color: string;
|
|
34
37
|
fetchPriority: string;
|
|
35
38
|
lazy: boolean;
|
|
@@ -44,15 +47,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
44
47
|
safeZone: boolean;
|
|
45
48
|
size: string;
|
|
46
49
|
}>>>, {
|
|
47
|
-
size:
|
|
48
|
-
color:
|
|
50
|
+
size: ModelSignatureSize;
|
|
51
|
+
color: ModelSignatureColor;
|
|
49
52
|
lazy: boolean;
|
|
50
|
-
model:
|
|
51
|
-
fetchPriority:
|
|
53
|
+
model: ModelSignatureModel;
|
|
54
|
+
fetchPriority: ModelSignatureFetchPriority;
|
|
52
55
|
safeZone: boolean;
|
|
53
|
-
}, {}
|
|
54
|
-
|
|
55
|
-
}>;
|
|
56
|
+
}, {}>;
|
|
57
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
56
58
|
export default _default;
|
|
57
59
|
type __VLS_WithDefaults<P, D> = {
|
|
58
60
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -8,15 +8,17 @@ type PMultiSelectOptionProps = {
|
|
|
8
8
|
*/
|
|
9
9
|
value: string;
|
|
10
10
|
};
|
|
11
|
-
declare
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PMultiSelectOptionProps>, {
|
|
12
15
|
disabled: boolean;
|
|
13
16
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PMultiSelectOptionProps>, {
|
|
14
17
|
disabled: boolean;
|
|
15
18
|
}>>>, {
|
|
16
19
|
disabled: boolean;
|
|
17
|
-
}, {}
|
|
18
|
-
|
|
19
|
-
}>;
|
|
20
|
+
}, {}>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
20
22
|
export default _default;
|
|
21
23
|
type __VLS_WithDefaults<P, D> = {
|
|
22
24
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -45,7 +45,10 @@ type PMultiSelectProps = {
|
|
|
45
45
|
*/
|
|
46
46
|
value?: string[];
|
|
47
47
|
};
|
|
48
|
-
declare
|
|
48
|
+
declare function __VLS_template(): {
|
|
49
|
+
default?(_: {}): any;
|
|
50
|
+
};
|
|
51
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PMultiSelectProps>, {
|
|
49
52
|
description: string;
|
|
50
53
|
disabled: boolean;
|
|
51
54
|
dropdownDirection: string;
|
|
@@ -72,16 +75,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
72
75
|
}, {
|
|
73
76
|
label: string;
|
|
74
77
|
description: string;
|
|
75
|
-
state:
|
|
78
|
+
state: MultiSelectState;
|
|
76
79
|
required: boolean;
|
|
77
80
|
disabled: boolean;
|
|
78
81
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
79
82
|
value: string[];
|
|
80
83
|
message: string;
|
|
81
|
-
dropdownDirection:
|
|
82
|
-
}, {}
|
|
83
|
-
|
|
84
|
-
}>;
|
|
84
|
+
dropdownDirection: MultiSelectDropdownDirection;
|
|
85
|
+
}, {}>;
|
|
86
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
85
87
|
export default _default;
|
|
86
88
|
type __VLS_WithDefaults<P, D> = {
|
|
87
89
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
type POptgroupProps = {
|
|
2
|
+
/**
|
|
3
|
+
* Disables the optgroup.
|
|
4
|
+
*/
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* The optgroup label.
|
|
8
|
+
*/
|
|
9
|
+
label?: string;
|
|
10
|
+
};
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<POptgroupProps>, {
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<POptgroupProps>, {
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
}>>>, {
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
}, {}>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithDefaults<P, D> = {
|
|
24
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
25
|
+
default: D[K];
|
|
26
|
+
}> : P[K];
|
|
27
|
+
};
|
|
28
|
+
type __VLS_Prettify<T> = {
|
|
29
|
+
[K in keyof T]: T[K];
|
|
30
|
+
} & {};
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
+
type __VLS_TypePropsToOption<T> = {
|
|
38
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
+
} : {
|
|
41
|
+
type: import('vue').PropType<T[K]>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as s, ref as a, onMounted as f, onUpdated as c, openBlock as l, createBlock as d, resolveDynamicComponent as m, unref as u, withCtx as i, renderSlot as _ } from "vue";
|
|
2
|
+
import { usePrefix as C, syncProperties as y } from "../../utils.mjs";
|
|
3
|
+
const x = /* @__PURE__ */ s({
|
|
4
|
+
__name: "OptgroupWrapper",
|
|
5
|
+
props: {
|
|
6
|
+
disabled: { type: Boolean, default: !1 },
|
|
7
|
+
label: {}
|
|
8
|
+
},
|
|
9
|
+
setup(t) {
|
|
10
|
+
const n = C("p-optgroup"), p = t, e = a(), o = () => y(e, p);
|
|
11
|
+
return f(o), c(o), (r, b) => (l(), d(m(u(n)), {
|
|
12
|
+
ref_key: "pdsComponentRef",
|
|
13
|
+
ref: e
|
|
14
|
+
}, {
|
|
15
|
+
default: i(() => [
|
|
16
|
+
_(r.$slots, "default")
|
|
17
|
+
]),
|
|
18
|
+
_: 3
|
|
19
|
+
}, 512));
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
x as default
|
|
24
|
+
};
|
|
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
75
75
|
onUpdate?: ((value: import("../types").PaginationUpdateEvent) => any) | undefined;
|
|
76
76
|
onPageChange?: ((value: import("../types").PaginationUpdateEvent) => any) | undefined;
|
|
77
77
|
}, {
|
|
78
|
-
intl:
|
|
78
|
+
intl: PaginationInternationalization;
|
|
79
79
|
activePage: number;
|
|
80
80
|
itemsPerPage: number;
|
|
81
81
|
showLastPage: boolean;
|
|
@@ -53,7 +53,10 @@ type PPinCodeProps = {
|
|
|
53
53
|
*/
|
|
54
54
|
value?: string;
|
|
55
55
|
};
|
|
56
|
-
declare
|
|
56
|
+
declare function __VLS_template(): {
|
|
57
|
+
default?(_: {}): any;
|
|
58
|
+
};
|
|
59
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PPinCodeProps>, {
|
|
57
60
|
description: string;
|
|
58
61
|
disabled: boolean;
|
|
59
62
|
hideLabel: boolean;
|
|
@@ -83,19 +86,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
83
86
|
onUpdate?: ((value: import("../types").PinCodeUpdateEvent) => any) | undefined;
|
|
84
87
|
}, {
|
|
85
88
|
label: string;
|
|
86
|
-
length:
|
|
87
|
-
type:
|
|
89
|
+
length: PinCodeLength;
|
|
90
|
+
type: PinCodeType;
|
|
88
91
|
description: string;
|
|
89
|
-
state:
|
|
92
|
+
state: PinCodeState;
|
|
90
93
|
required: boolean;
|
|
91
94
|
disabled: boolean;
|
|
92
95
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
93
96
|
loading: boolean;
|
|
94
97
|
value: string;
|
|
95
98
|
message: string;
|
|
96
|
-
}, {}
|
|
97
|
-
|
|
98
|
-
}>;
|
|
99
|
+
}, {}>;
|
|
100
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
99
101
|
export default _default;
|
|
100
102
|
type __VLS_WithDefaults<P, D> = {
|
|
101
103
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|