@porsche-design-system/components-vue 3.1.0-rc.0 → 3.1.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -1
- package/PorscheDesignSystemProvider.vue.d.ts +1 -6
- package/lib/components/AccordionWrapper.vue.d.ts +1 -6
- package/lib/components/AccordionWrapper.vue.js +8 -8
- package/lib/components/BannerWrapper.vue.d.ts +1 -6
- package/lib/components/BannerWrapper.vue.js +5 -5
- package/lib/components/ButtonGroupWrapper.vue.d.ts +1 -6
- package/lib/components/ButtonPureWrapper.vue.d.ts +1 -6
- package/lib/components/ButtonPureWrapper.vue.js +2 -2
- package/lib/components/ButtonTileWrapper.vue.d.ts +1 -6
- package/lib/components/ButtonTileWrapper.vue.js +11 -11
- package/lib/components/ButtonWrapper.vue.d.ts +1 -6
- package/lib/components/ButtonWrapper.vue.js +7 -7
- package/lib/components/CarouselWrapper.vue.d.ts +1 -6
- package/lib/components/CarouselWrapper.vue.js +13 -13
- package/lib/components/CheckboxWrapperWrapper.vue.d.ts +2 -7
- package/lib/components/ContentWrapperWrapper.vue.d.ts +1 -6
- package/lib/components/CrestWrapper.vue.d.ts +1 -2
- package/lib/components/CrestWrapper.vue.js +8 -8
- package/lib/components/DisplayWrapper.vue.d.ts +1 -6
- package/lib/components/DisplayWrapper.vue.js +7 -7
- package/lib/components/DividerWrapper.vue.d.ts +1 -2
- package/lib/components/DividerWrapper.vue.js +9 -9
- package/lib/components/FieldsetWrapper.vue.d.ts +1 -6
- package/lib/components/FieldsetWrapperWrapper.vue.d.ts +1 -6
- package/lib/components/FlexItemWrapper.vue.d.ts +1 -6
- package/lib/components/FlexWrapper.vue.d.ts +1 -6
- package/lib/components/FlyoutWrapper.vue.d.ts +61 -0
- package/lib/components/FlyoutWrapper.vue.js +31 -0
- package/lib/components/FlyoutWrapper.vue2.js +4 -0
- package/lib/components/GridItemWrapper.vue.d.ts +1 -6
- package/lib/components/GridWrapper.vue.d.ts +1 -6
- package/lib/components/HeadingWrapper.vue.d.ts +1 -6
- package/lib/components/HeadingWrapper.vue.js +3 -3
- package/lib/components/HeadlineWrapper.vue.d.ts +1 -6
- package/lib/components/HeadlineWrapper.vue.js +5 -5
- package/lib/components/IconWrapper.vue.d.ts +2 -3
- package/lib/components/IconWrapper.vue.js +2 -2
- package/lib/components/InlineNotificationWrapper.vue.d.ts +2 -7
- package/lib/components/InlineNotificationWrapper.vue.js +7 -7
- package/lib/components/LinkPureWrapper.vue.d.ts +1 -6
- package/lib/components/LinkPureWrapper.vue.js +16 -16
- package/lib/components/LinkSocialWrapper.vue.d.ts +1 -6
- package/lib/components/LinkSocialWrapper.vue.js +14 -14
- package/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +1 -6
- package/lib/components/LinkTileModelSignatureWrapper.vue.js +6 -6
- package/lib/components/LinkTileWrapper.vue.d.ts +1 -6
- package/lib/components/LinkTileWrapper.vue.js +16 -16
- package/lib/components/LinkWrapper.vue.d.ts +1 -6
- package/lib/components/LinkWrapper.vue.js +15 -15
- package/lib/components/MarqueWrapper.vue.d.ts +1 -2
- package/lib/components/MarqueWrapper.vue.js +10 -10
- package/lib/components/ModalWrapper.vue.d.ts +1 -6
- package/lib/components/ModalWrapper.vue.js +7 -7
- package/lib/components/ModelSignatureWrapper.vue.d.ts +1 -2
- package/lib/components/PaginationWrapper.vue.d.ts +1 -2
- package/lib/components/PaginationWrapper.vue.js +10 -10
- package/lib/components/PopoverWrapper.vue.d.ts +1 -6
- package/lib/components/PopoverWrapper.vue.js +7 -7
- package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +1 -6
- package/lib/components/ScrollerWrapper.vue.d.ts +1 -6
- package/lib/components/ScrollerWrapper.vue.js +11 -11
- package/lib/components/SegmentedControlItemWrapper.vue.d.ts +1 -6
- package/lib/components/SegmentedControlItemWrapper.vue.js +13 -13
- package/lib/components/SegmentedControlWrapper.vue.d.ts +1 -6
- package/lib/components/SegmentedControlWrapper.vue.js +11 -11
- package/lib/components/SelectWrapperWrapper.vue.d.ts +1 -6
- package/lib/components/SpinnerWrapper.vue.d.ts +1 -2
- package/lib/components/SpinnerWrapper.vue.js +4 -4
- package/lib/components/StepperHorizontalItemWrapper.vue.d.ts +1 -6
- package/lib/components/StepperHorizontalItemWrapper.vue.js +4 -4
- package/lib/components/StepperHorizontalWrapper.vue.d.ts +1 -6
- package/lib/components/SwitchWrapper.vue.d.ts +1 -6
- package/lib/components/TableBodyWrapper.vue.d.ts +1 -6
- package/lib/components/TableCellWrapper.vue.d.ts +1 -6
- package/lib/components/TableHeadCellWrapper.vue.d.ts +1 -6
- package/lib/components/TableHeadCellWrapper.vue.js +3 -3
- package/lib/components/TableHeadRowWrapper.vue.d.ts +1 -6
- package/lib/components/TableHeadWrapper.vue.d.ts +1 -6
- package/lib/components/TableRowWrapper.vue.d.ts +1 -6
- package/lib/components/TableWrapper.vue.d.ts +1 -6
- package/lib/components/TableWrapper.vue.js +4 -4
- package/lib/components/TabsBarWrapper.vue.d.ts +1 -6
- package/lib/components/TabsBarWrapper.vue.js +8 -8
- package/lib/components/TabsItemWrapper.vue.d.ts +1 -6
- package/lib/components/TabsItemWrapper.vue.js +3 -3
- package/lib/components/TabsWrapper.vue.d.ts +1 -6
- package/lib/components/TabsWrapper.vue.js +7 -7
- package/lib/components/TagDismissibleWrapper.vue.d.ts +1 -6
- package/lib/components/TagDismissibleWrapper.vue.js +7 -7
- package/lib/components/TagWrapper.vue.d.ts +1 -6
- package/lib/components/TagWrapper.vue.js +11 -11
- package/lib/components/TextFieldWrapperWrapper.vue.d.ts +8 -6
- package/lib/components/TextFieldWrapperWrapper.vue.js +13 -12
- package/lib/components/TextListItemWrapper.vue.d.ts +1 -6
- package/lib/components/TextListWrapper.vue.d.ts +1 -6
- package/lib/components/TextListWrapper.vue.js +8 -8
- package/lib/components/TextWrapper.vue.d.ts +1 -6
- package/lib/components/TextareaWrapperWrapper.vue.d.ts +1 -6
- package/lib/components/ToastWrapper.vue.d.ts +1 -2
- package/lib/components/WordmarkWrapper.vue.d.ts +1 -2
- package/lib/components/WordmarkWrapper.vue.js +11 -11
- package/lib/components/index.d.ts +1 -0
- package/lib/types.d.ts +17 -1
- package/package.json +2 -2
- package/public-api.js +103 -101
- package/utils.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,12 +9,48 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
9
9
|
|
|
10
10
|
### [Unreleased]
|
|
11
11
|
|
|
12
|
+
### [3.1.0-rc.2] - 2023-06-09
|
|
13
|
+
|
|
14
|
+
#### Changed
|
|
15
|
+
|
|
16
|
+
- `Crest` replaced final assets and meta icons
|
|
17
|
+
([#2595](https://github.com/porsche-design-system/porsche-design-system/pull/2595))
|
|
18
|
+
|
|
19
|
+
#### Added
|
|
20
|
+
|
|
21
|
+
- `Flyout` ([#2547](https://github.com/porsche-design-system/porsche-design-system/pull/2547))
|
|
22
|
+
|
|
23
|
+
#### Fixed
|
|
24
|
+
|
|
25
|
+
- Wrong validation during SSR hydration of `Link Tile` and `Select Wrapper`
|
|
26
|
+
([#2588](https://github.com/porsche-design-system/porsche-design-system/pull/2588))
|
|
27
|
+
- `Modal` scrollable modal does not jump to top on changes within dialog
|
|
28
|
+
([#2574](https://github.com/porsche-design-system/porsche-design-system/pull/2574))
|
|
29
|
+
- Unnecessary lifecycles are prevented when prop values do not change for complex values
|
|
30
|
+
([#2574](https://github.com/porsche-design-system/porsche-design-system/pull/2574))
|
|
31
|
+
|
|
32
|
+
### [3.1.0-rc.1] - 2023-06-02
|
|
33
|
+
|
|
34
|
+
#### Added
|
|
35
|
+
|
|
36
|
+
- **[EXPERIMENTAL]** Prop `showPasswordToggle` for `Text Field Wrapper` with `input type="password"`
|
|
37
|
+
([#2586](https://github.com/porsche-design-system/porsche-design-system/pull/2586))
|
|
38
|
+
- Prop `name` for `Icon` supports `heart`, `heart-filled`, `copy`, `fingerprint`, `tire`, `roof-open` and `roof-closed`
|
|
39
|
+
([#2589](https://github.com/porsche-design-system/porsche-design-system/pull/2589))
|
|
40
|
+
|
|
41
|
+
#### Fixed
|
|
42
|
+
|
|
43
|
+
- `Select Wrapper` missing border on touch devices
|
|
44
|
+
([#2579](https://github.com/porsche-design-system/porsche-design-system/pull/2579))
|
|
45
|
+
- `Tabs Item` text content can be selected/highlighted
|
|
46
|
+
([#2582](https://github.com/porsche-design-system/porsche-design-system/pull/2582))
|
|
47
|
+
|
|
12
48
|
### [3.1.0-rc.0] - 2023-05-24
|
|
13
49
|
|
|
14
50
|
#### Added
|
|
15
51
|
|
|
16
52
|
- `Marque` now has a `variant` property, including 75 years variant
|
|
17
|
-
[#2575](https://github.com/porsche-design-system/porsche-design-system/pull/2575)
|
|
53
|
+
([#2575](https://github.com/porsche-design-system/porsche-design-system/pull/2575))
|
|
18
54
|
|
|
19
55
|
### [3.0.0] - 2023-05-11
|
|
20
56
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
2
|
prefix?: string | undefined;
|
|
4
3
|
}>, {
|
|
@@ -9,7 +8,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
8
|
prefix: string;
|
|
10
9
|
}>>>, {
|
|
11
10
|
prefix: string;
|
|
12
|
-
}>, {
|
|
11
|
+
}, {}>, {
|
|
13
12
|
default?(_: {}): any;
|
|
14
13
|
}>;
|
|
15
14
|
export default _default;
|
|
@@ -30,12 +29,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
30
29
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
30
|
new (): {
|
|
32
31
|
$slots: S;
|
|
33
|
-
$props: __VLS_PropsChildren<S>;
|
|
34
32
|
};
|
|
35
33
|
};
|
|
36
|
-
type __VLS_PropsChildren<S> = {
|
|
37
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
38
|
-
};
|
|
39
34
|
type __VLS_Prettify<T> = {
|
|
40
35
|
[K in keyof T]: T[K];
|
|
41
36
|
} & {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { AccordionUpdateEvent, BreakpointCustomizable, AccordionSize, AccordionTag, Theme } from '../types';
|
|
3
2
|
type PAccordionProps = {
|
|
4
3
|
/**
|
|
@@ -44,7 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
44
43
|
size: BreakpointCustomizable<"small" | "medium">;
|
|
45
44
|
tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
46
45
|
theme: "light" | "dark";
|
|
47
|
-
}>, {
|
|
46
|
+
}, {}>, {
|
|
48
47
|
default?(_: {}): any;
|
|
49
48
|
}>;
|
|
50
49
|
export default _default;
|
|
@@ -65,12 +64,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
65
64
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
65
|
new (): {
|
|
67
66
|
$slots: S;
|
|
68
|
-
$props: __VLS_PropsChildren<S>;
|
|
69
67
|
};
|
|
70
68
|
};
|
|
71
|
-
type __VLS_PropsChildren<S> = {
|
|
72
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
73
|
-
};
|
|
74
69
|
type __VLS_Prettify<T> = {
|
|
75
70
|
[K in keyof T]: T[K];
|
|
76
71
|
} & {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getPrefixedTagName as _, syncProperties as
|
|
3
|
-
const k = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as c, ref as l, onMounted as s, onUpdated as f, openBlock as m, createBlock as u, resolveDynamicComponent as i, unref as g, withCtx as h, renderSlot as C } from "vue";
|
|
2
|
+
import { getPrefixedTagName as _, syncProperties as n, addEventListenerToElementRef as a } from "../../utils.js";
|
|
3
|
+
const k = /* @__PURE__ */ c({
|
|
4
4
|
__name: "AccordionWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
compact: { type: Boolean },
|
|
7
|
-
heading:
|
|
7
|
+
heading: {},
|
|
8
8
|
open: { type: Boolean },
|
|
9
9
|
size: { default: "small" },
|
|
10
10
|
tag: { default: "h2" },
|
|
@@ -12,12 +12,12 @@ const k = /* @__PURE__ */ l({
|
|
|
12
12
|
},
|
|
13
13
|
emits: ["accordionChange", "update"],
|
|
14
14
|
setup(r, { emit: o }) {
|
|
15
|
-
const
|
|
15
|
+
const t = r, p = _("p-accordion"), e = l();
|
|
16
16
|
return s(() => {
|
|
17
|
-
|
|
17
|
+
n(e.value, t), a(e.value, "accordionChange", o), a(e.value, "update", o);
|
|
18
18
|
}), f(() => {
|
|
19
|
-
|
|
20
|
-
}), (d, v) => (
|
|
19
|
+
n(e.value, t);
|
|
20
|
+
}), (d, v) => (m(), u(i(g(p)), {
|
|
21
21
|
ref_key: "pdsComponentRef",
|
|
22
22
|
ref: e
|
|
23
23
|
}, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { BannerState, Theme, BannerWidth } from '../types';
|
|
3
2
|
type PBannerProps = {
|
|
4
3
|
/**
|
|
@@ -60,7 +59,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
60
59
|
description: string;
|
|
61
60
|
dismissButton: boolean;
|
|
62
61
|
state: "warning" | "error" | "info" | "neutral";
|
|
63
|
-
}>, {
|
|
62
|
+
}, {}>, {
|
|
64
63
|
default?(_: {}): any;
|
|
65
64
|
}>;
|
|
66
65
|
export default _default;
|
|
@@ -81,12 +80,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
81
80
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
82
81
|
new (): {
|
|
83
82
|
$slots: S;
|
|
84
|
-
$props: __VLS_PropsChildren<S>;
|
|
85
83
|
};
|
|
86
84
|
};
|
|
87
|
-
type __VLS_PropsChildren<S> = {
|
|
88
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
89
|
-
};
|
|
90
85
|
type __VLS_Prettify<T> = {
|
|
91
86
|
[K in keyof T]: T[K];
|
|
92
87
|
} & {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, ref as d, onMounted as
|
|
1
|
+
import { defineComponent as p, ref as d, onMounted as f, onUpdated as i, openBlock as l, createBlock as m, resolveDynamicComponent as u, unref as c, withCtx as B, renderSlot as _ } from "vue";
|
|
2
2
|
import { getPrefixedTagName as h, syncProperties as n, addEventListenerToElementRef as y } from "../../utils.js";
|
|
3
3
|
const k = /* @__PURE__ */ p({
|
|
4
4
|
__name: "BannerWrapper",
|
|
@@ -10,16 +10,16 @@ const k = /* @__PURE__ */ p({
|
|
|
10
10
|
persistent: { type: Boolean },
|
|
11
11
|
state: { default: "info" },
|
|
12
12
|
theme: { default: "light" },
|
|
13
|
-
width:
|
|
13
|
+
width: {}
|
|
14
14
|
},
|
|
15
15
|
emits: ["dismiss"],
|
|
16
16
|
setup(o, { emit: a }) {
|
|
17
17
|
const t = o, s = h("p-banner"), e = d();
|
|
18
|
-
return
|
|
18
|
+
return f(() => {
|
|
19
19
|
n(e.value, t), y(e.value, "dismiss", a);
|
|
20
|
-
}),
|
|
20
|
+
}), i(() => {
|
|
21
21
|
n(e.value, t);
|
|
22
|
-
}), (r, C) => (
|
|
22
|
+
}), (r, C) => (l(), m(u(c(s)), {
|
|
23
23
|
ref_key: "pdsComponentRef",
|
|
24
24
|
ref: e
|
|
25
25
|
}, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { BreakpointCustomizable, ButtonGroupDirection } from '../types';
|
|
3
2
|
type PButtonGroupProps = {
|
|
4
3
|
/**
|
|
@@ -18,7 +17,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
18
17
|
};
|
|
19
18
|
}>>>, {
|
|
20
19
|
direction: BreakpointCustomizable<"row" | "column">;
|
|
21
|
-
}>, {
|
|
20
|
+
}, {}>, {
|
|
22
21
|
default?(_: {}): any;
|
|
23
22
|
}>;
|
|
24
23
|
export default _default;
|
|
@@ -39,12 +38,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
39
38
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
39
|
new (): {
|
|
41
40
|
$slots: S;
|
|
42
|
-
$props: __VLS_PropsChildren<S>;
|
|
43
41
|
};
|
|
44
42
|
};
|
|
45
|
-
type __VLS_PropsChildren<S> = {
|
|
46
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
47
|
-
};
|
|
48
43
|
type __VLS_Prettify<T> = {
|
|
49
44
|
[K in keyof T]: T[K];
|
|
50
45
|
} & {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { BreakpointCustomizable, ButtonPureAlignLabel, SelectedAriaAttributes, ButtonPureAriaAttribute, ButtonPureIcon, ButtonPureSize, Theme, ButtonPureType, ButtonPureWeight } from '../types';
|
|
3
2
|
type PButtonPureProps = {
|
|
4
3
|
/**
|
|
@@ -91,7 +90,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
91
90
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
92
91
|
icon: import("../types").LinkButtonIconName;
|
|
93
92
|
loading: boolean;
|
|
94
|
-
}>, {
|
|
93
|
+
}, {}>, {
|
|
95
94
|
default?(_: {}): any;
|
|
96
95
|
}>;
|
|
97
96
|
export default _default;
|
|
@@ -112,12 +111,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
112
111
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
113
112
|
new (): {
|
|
114
113
|
$slots: S;
|
|
115
|
-
$props: __VLS_PropsChildren<S>;
|
|
116
114
|
};
|
|
117
115
|
};
|
|
118
|
-
type __VLS_PropsChildren<S> = {
|
|
119
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
120
|
-
};
|
|
121
116
|
type __VLS_Prettify<T> = {
|
|
122
117
|
[K in keyof T]: T[K];
|
|
123
118
|
} & {};
|
|
@@ -5,11 +5,11 @@ const B = /* @__PURE__ */ r({
|
|
|
5
5
|
props: {
|
|
6
6
|
active: { type: Boolean, default: !1 },
|
|
7
7
|
alignLabel: { default: "right" },
|
|
8
|
-
aria:
|
|
8
|
+
aria: {},
|
|
9
9
|
disabled: { type: Boolean, default: !1 },
|
|
10
10
|
hideLabel: { default: !1 },
|
|
11
11
|
icon: { default: "arrow-right" },
|
|
12
|
-
iconSource:
|
|
12
|
+
iconSource: {},
|
|
13
13
|
loading: { type: Boolean, default: !1 },
|
|
14
14
|
size: { default: "small" },
|
|
15
15
|
stretch: { default: !1 },
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { ButtonTileAlign, SelectedAriaAttributes, ButtonTileAriaAttribute, BreakpointCustomizable, ButtonTileAspectRatio, ButtonTileIcon, ButtonTileSize, ButtonTileType, ButtonTileWeight } from '../types';
|
|
3
2
|
type PButtonTileProps = {
|
|
4
3
|
/**
|
|
@@ -91,7 +90,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
91
90
|
align: "top" | "bottom";
|
|
92
91
|
aspectRatio: BreakpointCustomizable<"1:1" | "4:3" | "3:4" | "16:9" | "9:16">;
|
|
93
92
|
gradient: boolean;
|
|
94
|
-
}>, {
|
|
93
|
+
}, {}>, {
|
|
95
94
|
default?(_: {}): any;
|
|
96
95
|
}>;
|
|
97
96
|
export default _default;
|
|
@@ -112,12 +111,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
112
111
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
113
112
|
new (): {
|
|
114
113
|
$slots: S;
|
|
115
|
-
$props: __VLS_PropsChildren<S>;
|
|
116
114
|
};
|
|
117
115
|
};
|
|
118
|
-
type __VLS_PropsChildren<S> = {
|
|
119
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
120
|
-
};
|
|
121
116
|
type __VLS_Prettify<T> = {
|
|
122
117
|
[K in keyof T]: T[K];
|
|
123
118
|
} & {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as r, ref as d, onMounted as f, onUpdated as p, openBlock as u, createBlock as s, resolveDynamicComponent as i, unref as c, withCtx as m, renderSlot as b } from "vue";
|
|
2
2
|
import { getPrefixedTagName as g, syncProperties as o } from "../../utils.js";
|
|
3
|
-
const C = /* @__PURE__ */
|
|
3
|
+
const C = /* @__PURE__ */ r({
|
|
4
4
|
__name: "ButtonTileWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
align: { default: "bottom" },
|
|
7
|
-
aria:
|
|
7
|
+
aria: {},
|
|
8
8
|
aspectRatio: { default: "4:3" },
|
|
9
9
|
compact: { default: !1 },
|
|
10
|
-
description:
|
|
10
|
+
description: {},
|
|
11
11
|
disabled: { type: Boolean, default: !1 },
|
|
12
12
|
gradient: { type: Boolean, default: !0 },
|
|
13
13
|
icon: { default: "none" },
|
|
14
|
-
iconSource:
|
|
15
|
-
label:
|
|
14
|
+
iconSource: {},
|
|
15
|
+
label: {},
|
|
16
16
|
loading: { type: Boolean, default: !1 },
|
|
17
17
|
size: { default: "default" },
|
|
18
18
|
type: { default: "submit" },
|
|
19
19
|
weight: { default: "semi-bold" }
|
|
20
20
|
},
|
|
21
|
-
setup(
|
|
22
|
-
const t =
|
|
23
|
-
return
|
|
21
|
+
setup(a) {
|
|
22
|
+
const t = a, n = g("p-button-tile"), e = d();
|
|
23
|
+
return f(() => {
|
|
24
24
|
o(e.value, t);
|
|
25
|
-
}),
|
|
25
|
+
}), p(() => {
|
|
26
26
|
o(e.value, t);
|
|
27
|
-
}), (l, y) => (
|
|
27
|
+
}), (l, y) => (u(), s(i(c(n)), {
|
|
28
28
|
ref_key: "pdsComponentRef",
|
|
29
29
|
ref: e
|
|
30
30
|
}, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { SelectedAriaAttributes, ButtonAriaAttribute, BreakpointCustomizable, ButtonIcon, Theme, ButtonType, ButtonVariant } from '../types';
|
|
3
2
|
type PButtonProps = {
|
|
4
3
|
/**
|
|
@@ -62,7 +61,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
62
61
|
icon: import("../types").LinkButtonIconName;
|
|
63
62
|
loading: boolean;
|
|
64
63
|
variant: "primary" | "secondary" | "tertiary";
|
|
65
|
-
}>, {
|
|
64
|
+
}, {}>, {
|
|
66
65
|
default?(_: {}): any;
|
|
67
66
|
}>;
|
|
68
67
|
export default _default;
|
|
@@ -83,12 +82,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
83
82
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
84
83
|
new (): {
|
|
85
84
|
$slots: S;
|
|
86
|
-
$props: __VLS_PropsChildren<S>;
|
|
87
85
|
};
|
|
88
86
|
};
|
|
89
|
-
type __VLS_PropsChildren<S> = {
|
|
90
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
91
|
-
};
|
|
92
87
|
type __VLS_Prettify<T> = {
|
|
93
88
|
[K in keyof T]: T[K];
|
|
94
89
|
} & {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as l, ref as p, onMounted as f, onUpdated as d, openBlock as s, createBlock as u, resolveDynamicComponent as i, unref as m, withCtx as c, renderSlot as y } from "vue";
|
|
2
2
|
import { getPrefixedTagName as _, syncProperties as o } from "../../utils.js";
|
|
3
|
-
const h = /* @__PURE__ */
|
|
3
|
+
const h = /* @__PURE__ */ l({
|
|
4
4
|
__name: "ButtonWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
aria:
|
|
6
|
+
aria: {},
|
|
7
7
|
disabled: { type: Boolean, default: !1 },
|
|
8
8
|
hideLabel: { default: !1 },
|
|
9
9
|
icon: { default: "none" },
|
|
10
|
-
iconSource:
|
|
10
|
+
iconSource: {},
|
|
11
11
|
loading: { type: Boolean, default: !1 },
|
|
12
12
|
theme: { default: "light" },
|
|
13
13
|
type: { default: "submit" },
|
|
@@ -17,14 +17,14 @@ const h = /* @__PURE__ */ r({
|
|
|
17
17
|
const t = n, a = _("p-button"), e = p();
|
|
18
18
|
return f(() => {
|
|
19
19
|
o(e.value, t);
|
|
20
|
-
}),
|
|
20
|
+
}), d(() => {
|
|
21
21
|
o(e.value, t);
|
|
22
|
-
}), (
|
|
22
|
+
}), (r, C) => (s(), u(i(m(a)), {
|
|
23
23
|
ref_key: "pdsComponentRef",
|
|
24
24
|
ref: e
|
|
25
25
|
}, {
|
|
26
26
|
default: c(() => [
|
|
27
|
-
y(
|
|
27
|
+
y(r.$slots, "default")
|
|
28
28
|
]),
|
|
29
29
|
_: 3
|
|
30
30
|
}, 512));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { CarouselAlignHeader, BreakpointCustomizable, CarouselInternationalization, CarouselUpdateEvent, Theme, CarouselWidth } from '../types';
|
|
3
2
|
type PCarouselProps = {
|
|
4
3
|
/**
|
|
@@ -81,7 +80,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
81
80
|
pagination: BreakpointCustomizable<boolean>;
|
|
82
81
|
rewind: boolean;
|
|
83
82
|
slidesPerPage: BreakpointCustomizable<number>;
|
|
84
|
-
}>, {
|
|
83
|
+
}, {}>, {
|
|
85
84
|
default?(_: {}): any;
|
|
86
85
|
}>;
|
|
87
86
|
export default _default;
|
|
@@ -102,12 +101,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
102
101
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
103
102
|
new (): {
|
|
104
103
|
$slots: S;
|
|
105
|
-
$props: __VLS_PropsChildren<S>;
|
|
106
104
|
};
|
|
107
105
|
};
|
|
108
|
-
type __VLS_PropsChildren<S> = {
|
|
109
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
110
|
-
};
|
|
111
106
|
type __VLS_Prettify<T> = {
|
|
112
107
|
[K in keyof T]: T[K];
|
|
113
108
|
} & {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getPrefixedTagName as v, syncProperties as
|
|
3
|
-
const P = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as p, ref as s, onMounted as u, onUpdated as i, openBlock as f, createBlock as c, resolveDynamicComponent as m, unref as g, withCtx as C, renderSlot as h } from "vue";
|
|
2
|
+
import { getPrefixedTagName as v, syncProperties as n, addEventListenerToElementRef as o } from "../../utils.js";
|
|
3
|
+
const P = /* @__PURE__ */ p({
|
|
4
4
|
__name: "CarouselWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
activeSlideIndex: { default: 0 },
|
|
7
7
|
alignHeader: { default: "left" },
|
|
8
|
-
description:
|
|
9
|
-
disablePagination:
|
|
10
|
-
heading:
|
|
11
|
-
intl:
|
|
8
|
+
description: {},
|
|
9
|
+
disablePagination: {},
|
|
10
|
+
heading: {},
|
|
11
|
+
intl: {},
|
|
12
12
|
pagination: { default: !0 },
|
|
13
13
|
rewind: { type: Boolean, default: !0 },
|
|
14
14
|
slidesPerPage: { default: 1 },
|
|
@@ -17,13 +17,13 @@ const P = /* @__PURE__ */ u({
|
|
|
17
17
|
wrapContent: { type: Boolean }
|
|
18
18
|
},
|
|
19
19
|
emits: ["carouselChange", "update"],
|
|
20
|
-
setup(
|
|
21
|
-
const
|
|
22
|
-
return
|
|
23
|
-
|
|
20
|
+
setup(r, { emit: t }) {
|
|
21
|
+
const a = r, l = v("p-carousel"), e = s();
|
|
22
|
+
return u(() => {
|
|
23
|
+
n(e.value, a), o(e.value, "carouselChange", t), o(e.value, "update", t);
|
|
24
24
|
}), i(() => {
|
|
25
|
-
|
|
26
|
-
}), (d, _) => (f(), c(m(g(
|
|
25
|
+
n(e.value, a);
|
|
26
|
+
}), (d, _) => (f(), c(m(g(l)), {
|
|
27
27
|
ref_key: "pdsComponentRef",
|
|
28
28
|
ref: e
|
|
29
29
|
}, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { BreakpointCustomizable, CheckboxWrapperState, Theme } from '../types';
|
|
3
2
|
type PCheckboxWrapperProps = {
|
|
4
3
|
/**
|
|
@@ -10,7 +9,7 @@ type PCheckboxWrapperProps = {
|
|
|
10
9
|
*/
|
|
11
10
|
label?: string;
|
|
12
11
|
/**
|
|
13
|
-
* Disables the checkbox and shows a loading indicator.
|
|
12
|
+
* __Experimental__: Disables the checkbox and shows a loading indicator.
|
|
14
13
|
*/
|
|
15
14
|
loading?: boolean;
|
|
16
15
|
/**
|
|
@@ -47,7 +46,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
47
46
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
48
47
|
loading: boolean;
|
|
49
48
|
message: string;
|
|
50
|
-
}>, {
|
|
49
|
+
}, {}>, {
|
|
51
50
|
default?(_: {}): any;
|
|
52
51
|
}>;
|
|
53
52
|
export default _default;
|
|
@@ -68,12 +67,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
68
67
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
69
68
|
new (): {
|
|
70
69
|
$slots: S;
|
|
71
|
-
$props: __VLS_PropsChildren<S>;
|
|
72
70
|
};
|
|
73
71
|
};
|
|
74
|
-
type __VLS_PropsChildren<S> = {
|
|
75
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
76
|
-
};
|
|
77
72
|
type __VLS_Prettify<T> = {
|
|
78
73
|
[K in keyof T]: T[K];
|
|
79
74
|
} & {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { ContentWrapperBackgroundColor, Theme, ContentWrapperWidth } from '../types';
|
|
3
2
|
type PContentWrapperProps = {
|
|
4
3
|
/**
|
|
@@ -29,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
28
|
theme: "light" | "dark";
|
|
30
29
|
width: "extended" | "basic" | "fluid" | "narrow" | "full";
|
|
31
30
|
backgroundColor: "default" | "transparent";
|
|
32
|
-
}>, {
|
|
31
|
+
}, {}>, {
|
|
33
32
|
default?(_: {}): any;
|
|
34
33
|
}>;
|
|
35
34
|
export default _default;
|
|
@@ -50,12 +49,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
50
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
50
|
new (): {
|
|
52
51
|
$slots: S;
|
|
53
|
-
$props: __VLS_PropsChildren<S>;
|
|
54
52
|
};
|
|
55
53
|
};
|
|
56
|
-
type __VLS_PropsChildren<S> = {
|
|
57
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
58
|
-
};
|
|
59
54
|
type __VLS_Prettify<T> = {
|
|
60
55
|
[K in keyof T]: T[K];
|
|
61
56
|
} & {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { SelectedAriaAttributes, CrestAriaAttribute, CrestTarget } from '../types';
|
|
3
2
|
type PCrestProps = {
|
|
4
3
|
/**
|
|
@@ -20,7 +19,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
20
19
|
target: string;
|
|
21
20
|
}>>>, {
|
|
22
21
|
target: string;
|
|
23
|
-
}>;
|
|
22
|
+
}, {}>;
|
|
24
23
|
export default _default;
|
|
25
24
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
25
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as p, ref as a, onMounted as s, onUpdated as f, openBlock as c, createBlock as
|
|
2
|
-
import { getPrefixedTagName as d, syncProperties as
|
|
1
|
+
import { defineComponent as p, ref as a, onMounted as s, onUpdated as f, openBlock as c, createBlock as m, resolveDynamicComponent as l, unref as u } from "vue";
|
|
2
|
+
import { getPrefixedTagName as d, syncProperties as n } from "../../utils.js";
|
|
3
3
|
const k = /* @__PURE__ */ p({
|
|
4
4
|
__name: "CrestWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
aria:
|
|
7
|
-
href:
|
|
6
|
+
aria: {},
|
|
7
|
+
href: {},
|
|
8
8
|
target: { default: "_self" }
|
|
9
9
|
},
|
|
10
10
|
setup(r) {
|
|
11
|
-
const
|
|
11
|
+
const o = r, t = d("p-crest"), e = a();
|
|
12
12
|
return s(() => {
|
|
13
|
-
|
|
13
|
+
n(e.value, o);
|
|
14
14
|
}), f(() => {
|
|
15
|
-
|
|
16
|
-
}), (i, _) => (c(), l(
|
|
15
|
+
n(e.value, o);
|
|
16
|
+
}), (i, _) => (c(), m(l(u(t)), {
|
|
17
17
|
ref_key: "pdsComponentRef",
|
|
18
18
|
ref: e
|
|
19
19
|
}, null, 512));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { DisplayAlign, DisplayColor, BreakpointCustomizable, DisplaySize, DisplayTag, Theme } from '../types';
|
|
3
2
|
type PDisplayProps = {
|
|
4
3
|
/**
|
|
@@ -44,7 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
44
43
|
align: "center" | "left" | "right";
|
|
45
44
|
color: "inherit" | "primary";
|
|
46
45
|
ellipsis: boolean;
|
|
47
|
-
}>, {
|
|
46
|
+
}, {}>, {
|
|
48
47
|
default?(_: {}): any;
|
|
49
48
|
}>;
|
|
50
49
|
export default _default;
|
|
@@ -65,12 +64,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
65
64
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
65
|
new (): {
|
|
67
66
|
$slots: S;
|
|
68
|
-
$props: __VLS_PropsChildren<S>;
|
|
69
67
|
};
|
|
70
68
|
};
|
|
71
|
-
type __VLS_PropsChildren<S> = {
|
|
72
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
73
|
-
};
|
|
74
69
|
type __VLS_Prettify<T> = {
|
|
75
70
|
[K in keyof T]: T[K];
|
|
76
71
|
} & {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as l, ref as p, onMounted as s, onUpdated as f, openBlock as d, createBlock as i, resolveDynamicComponent as m, unref as u, withCtx as c, renderSlot as g } from "vue";
|
|
2
2
|
import { getPrefixedTagName as y, syncProperties as o } from "../../utils.js";
|
|
3
|
-
const k = /* @__PURE__ */
|
|
3
|
+
const k = /* @__PURE__ */ l({
|
|
4
4
|
__name: "DisplayWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
align: { default: "left" },
|
|
7
7
|
color: { default: "primary" },
|
|
8
8
|
ellipsis: { type: Boolean, default: !1 },
|
|
9
9
|
size: { default: "large" },
|
|
10
|
-
tag:
|
|
10
|
+
tag: {},
|
|
11
11
|
theme: { default: "light" }
|
|
12
12
|
},
|
|
13
|
-
setup(
|
|
14
|
-
const t =
|
|
13
|
+
setup(a) {
|
|
14
|
+
const t = a, n = y("p-display"), e = p();
|
|
15
15
|
return s(() => {
|
|
16
16
|
o(e.value, t);
|
|
17
17
|
}), f(() => {
|
|
18
18
|
o(e.value, t);
|
|
19
|
-
}), (
|
|
19
|
+
}), (r, _) => (d(), i(m(u(n)), {
|
|
20
20
|
ref_key: "pdsComponentRef",
|
|
21
21
|
ref: e
|
|
22
22
|
}, {
|
|
23
23
|
default: c(() => [
|
|
24
|
-
g(
|
|
24
|
+
g(r.$slots, "default")
|
|
25
25
|
]),
|
|
26
26
|
_: 3
|
|
27
27
|
}, 512));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { DividerColor, BreakpointCustomizable, DividerDirection, DividerOrientation, Theme } from '../types';
|
|
3
2
|
type PDividerProps = {
|
|
4
3
|
/**
|
|
@@ -30,7 +29,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
30
29
|
theme: "light" | "dark";
|
|
31
30
|
direction: BreakpointCustomizable<"horizontal" | "vertical">;
|
|
32
31
|
color: "contrast-low" | "contrast-medium" | "contrast-high" | "neutral-contrast-low" | "neutral-contrast-medium" | "neutral-contrast-high";
|
|
33
|
-
}>;
|
|
32
|
+
}, {}>;
|
|
34
33
|
export default _default;
|
|
35
34
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
35
|
type __VLS_TypePropsToRuntimeProps<T> = {
|