@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
|
@@ -17,15 +17,17 @@ type PPopoverProps = {
|
|
|
17
17
|
*/
|
|
18
18
|
theme?: Theme;
|
|
19
19
|
};
|
|
20
|
-
declare
|
|
20
|
+
declare function __VLS_template(): {
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PPopoverProps>, {
|
|
21
24
|
direction: string;
|
|
22
25
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PPopoverProps>, {
|
|
23
26
|
direction: string;
|
|
24
27
|
}>>>, {
|
|
25
|
-
direction:
|
|
26
|
-
}, {}
|
|
27
|
-
|
|
28
|
-
}>;
|
|
28
|
+
direction: PopoverDirection;
|
|
29
|
+
}, {}>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
29
31
|
export default _default;
|
|
30
32
|
type __VLS_WithDefaults<P, D> = {
|
|
31
33
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -25,7 +25,10 @@ type PRadioButtonWrapperProps = {
|
|
|
25
25
|
*/
|
|
26
26
|
theme?: Theme;
|
|
27
27
|
};
|
|
28
|
-
declare
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PRadioButtonWrapperProps>, {
|
|
29
32
|
hideLabel: boolean;
|
|
30
33
|
label: string;
|
|
31
34
|
loading: boolean;
|
|
@@ -39,13 +42,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
39
42
|
state: string;
|
|
40
43
|
}>>>, {
|
|
41
44
|
label: string;
|
|
42
|
-
state:
|
|
45
|
+
state: RadioButtonWrapperState;
|
|
43
46
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
44
47
|
loading: boolean;
|
|
45
48
|
message: string;
|
|
46
|
-
}, {}
|
|
47
|
-
|
|
48
|
-
}>;
|
|
49
|
+
}, {}>;
|
|
50
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
49
51
|
export default _default;
|
|
50
52
|
type __VLS_WithDefaults<P, D> = {
|
|
51
53
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -33,7 +33,10 @@ type PScrollerProps = {
|
|
|
33
33
|
*/
|
|
34
34
|
theme?: Theme;
|
|
35
35
|
};
|
|
36
|
-
declare
|
|
36
|
+
declare function __VLS_template(): {
|
|
37
|
+
default?(_: {}): any;
|
|
38
|
+
};
|
|
39
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PScrollerProps>, {
|
|
37
40
|
alignScrollIndicator: string;
|
|
38
41
|
gradientColor: string;
|
|
39
42
|
scrollbar: boolean;
|
|
@@ -43,11 +46,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
46
|
scrollbar: boolean;
|
|
44
47
|
}>>>, {
|
|
45
48
|
scrollbar: boolean;
|
|
46
|
-
alignScrollIndicator:
|
|
47
|
-
gradientColor:
|
|
48
|
-
}, {}
|
|
49
|
-
|
|
50
|
-
}>;
|
|
49
|
+
alignScrollIndicator: ScrollerAlignScrollIndicator;
|
|
50
|
+
gradientColor: ScrollerGradientColor;
|
|
51
|
+
}, {}>;
|
|
52
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
51
53
|
export default _default;
|
|
52
54
|
type __VLS_WithDefaults<P, D> = {
|
|
53
55
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -25,15 +25,17 @@ type PSegmentedControlItemProps = {
|
|
|
25
25
|
*/
|
|
26
26
|
value: string | number;
|
|
27
27
|
};
|
|
28
|
-
declare
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PSegmentedControlItemProps>, {
|
|
29
32
|
disabled: boolean;
|
|
30
33
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PSegmentedControlItemProps>, {
|
|
31
34
|
disabled: boolean;
|
|
32
35
|
}>>>, {
|
|
33
36
|
disabled: boolean;
|
|
34
|
-
}, {}
|
|
35
|
-
|
|
36
|
-
}>;
|
|
37
|
+
}, {}>;
|
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
37
39
|
export default _default;
|
|
38
40
|
type __VLS_WithDefaults<P, D> = {
|
|
39
41
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -17,7 +17,10 @@ type PSegmentedControlProps = {
|
|
|
17
17
|
*/
|
|
18
18
|
value?: string | number;
|
|
19
19
|
};
|
|
20
|
-
declare
|
|
20
|
+
declare function __VLS_template(): {
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PSegmentedControlProps>, {
|
|
21
24
|
columns: string;
|
|
22
25
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
26
|
segmentedControlChange: (value: import("../types").SegmentedControlUpdateEvent) => void;
|
|
@@ -28,10 +31,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
28
31
|
onUpdate?: ((value: import("../types").SegmentedControlUpdateEvent) => any) | undefined;
|
|
29
32
|
onSegmentedControlChange?: ((value: import("../types").SegmentedControlUpdateEvent) => any) | undefined;
|
|
30
33
|
}, {
|
|
31
|
-
columns: BreakpointCustomizable<
|
|
32
|
-
}, {}
|
|
33
|
-
|
|
34
|
-
}>;
|
|
34
|
+
columns: BreakpointCustomizable<SegmentedControlColumns>;
|
|
35
|
+
}, {}>;
|
|
36
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
35
37
|
export default _default;
|
|
36
38
|
type __VLS_WithDefaults<P, D> = {
|
|
37
39
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -8,15 +8,17 @@ type PSelectOptionProps = {
|
|
|
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<PSelectOptionProps>, {
|
|
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<PSelectOptionProps>, {
|
|
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 PSelectProps = {
|
|
|
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<PSelectProps>, {
|
|
49
52
|
description: string;
|
|
50
53
|
disabled: boolean;
|
|
51
54
|
dropdownDirection: string;
|
|
@@ -70,15 +73,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
70
73
|
}, {
|
|
71
74
|
label: string;
|
|
72
75
|
description: string;
|
|
73
|
-
state:
|
|
76
|
+
state: SelectState;
|
|
74
77
|
required: boolean;
|
|
75
78
|
disabled: boolean;
|
|
76
79
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
77
80
|
message: string;
|
|
78
|
-
dropdownDirection:
|
|
79
|
-
}, {}
|
|
80
|
-
|
|
81
|
-
}>;
|
|
81
|
+
dropdownDirection: SelectDropdownDirection;
|
|
82
|
+
}, {}>;
|
|
83
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
82
84
|
export default _default;
|
|
83
85
|
type __VLS_WithDefaults<P, D> = {
|
|
84
86
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -37,7 +37,10 @@ type PSelectWrapperProps = {
|
|
|
37
37
|
*/
|
|
38
38
|
theme?: Theme;
|
|
39
39
|
};
|
|
40
|
-
declare
|
|
40
|
+
declare function __VLS_template(): {
|
|
41
|
+
default?(_: {}): any;
|
|
42
|
+
};
|
|
43
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PSelectWrapperProps>, {
|
|
41
44
|
description: string;
|
|
42
45
|
dropdownDirection: string;
|
|
43
46
|
filter: boolean;
|
|
@@ -59,14 +62,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
59
62
|
filter: boolean;
|
|
60
63
|
label: string;
|
|
61
64
|
description: string;
|
|
62
|
-
state:
|
|
65
|
+
state: SelectWrapperState;
|
|
63
66
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
64
67
|
message: string;
|
|
65
|
-
dropdownDirection:
|
|
68
|
+
dropdownDirection: SelectWrapperDropdownDirection;
|
|
66
69
|
native: 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] & {
|
|
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
18
18
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PSpinnerProps>, {
|
|
19
19
|
size: string;
|
|
20
20
|
}>>>, {
|
|
21
|
-
size: BreakpointCustomizable<
|
|
21
|
+
size: BreakpointCustomizable<SpinnerSize>;
|
|
22
22
|
}, {}>;
|
|
23
23
|
export default _default;
|
|
24
24
|
type __VLS_WithDefaults<P, D> = {
|
|
@@ -9,15 +9,17 @@ type PStepperHorizontalItemProps = {
|
|
|
9
9
|
*/
|
|
10
10
|
state?: StepperHorizontalItemState;
|
|
11
11
|
};
|
|
12
|
-
declare
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PStepperHorizontalItemProps>, {
|
|
13
16
|
disabled: boolean;
|
|
14
17
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PStepperHorizontalItemProps>, {
|
|
15
18
|
disabled: boolean;
|
|
16
19
|
}>>>, {
|
|
17
20
|
disabled: boolean;
|
|
18
|
-
}, {}
|
|
19
|
-
|
|
20
|
-
}>;
|
|
21
|
+
}, {}>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
21
23
|
export default _default;
|
|
22
24
|
type __VLS_WithDefaults<P, D> = {
|
|
23
25
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -6,7 +6,10 @@ type PStepperHorizontalProps = {
|
|
|
6
6
|
*/
|
|
7
7
|
theme?: Theme;
|
|
8
8
|
};
|
|
9
|
-
declare
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PStepperHorizontalProps>, {
|
|
10
13
|
size: string;
|
|
11
14
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
15
|
stepChange: (value: import("../types").StepperHorizontalUpdateEvent) => void;
|
|
@@ -17,10 +20,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
17
20
|
onUpdate?: ((value: import("../types").StepperHorizontalUpdateEvent) => any) | undefined;
|
|
18
21
|
onStepChange?: ((value: import("../types").StepperHorizontalUpdateEvent) => any) | undefined;
|
|
19
22
|
}, {
|
|
20
|
-
size: BreakpointCustomizable<
|
|
21
|
-
}, {}
|
|
22
|
-
|
|
23
|
-
}>;
|
|
23
|
+
size: BreakpointCustomizable<StepperHorizontalSize>;
|
|
24
|
+
}, {}>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
24
26
|
export default _default;
|
|
25
27
|
type __VLS_WithDefaults<P, D> = {
|
|
26
28
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -29,7 +29,10 @@ type PSwitchProps = {
|
|
|
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<PSwitchProps>, {
|
|
33
36
|
alignLabel: string;
|
|
34
37
|
checked: boolean;
|
|
35
38
|
disabled: boolean;
|
|
@@ -54,11 +57,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
54
57
|
disabled: boolean;
|
|
55
58
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
56
59
|
loading: boolean;
|
|
57
|
-
alignLabel: BreakpointCustomizable<
|
|
60
|
+
alignLabel: BreakpointCustomizable<SwitchAlignLabel>;
|
|
58
61
|
checked: boolean;
|
|
59
|
-
}, {}
|
|
60
|
-
|
|
61
|
-
}>;
|
|
62
|
+
}, {}>;
|
|
63
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
62
64
|
export default _default;
|
|
63
65
|
type __VLS_WithDefaults<P, D> = {
|
|
64
66
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
2
|
default?(_: {}): any;
|
|
3
|
-
}
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
4
6
|
export default _default;
|
|
5
7
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
8
|
new (): {
|
|
@@ -4,15 +4,17 @@ type PTableCellProps = {
|
|
|
4
4
|
*/
|
|
5
5
|
multiline?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PTableCellProps>, {
|
|
8
11
|
multiline: boolean;
|
|
9
12
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PTableCellProps>, {
|
|
10
13
|
multiline: boolean;
|
|
11
14
|
}>>>, {
|
|
12
15
|
multiline: boolean;
|
|
13
|
-
}, {}
|
|
14
|
-
|
|
15
|
-
}>;
|
|
16
|
+
}, {}>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
16
18
|
export default _default;
|
|
17
19
|
type __VLS_WithDefaults<P, D> = {
|
|
18
20
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -13,7 +13,10 @@ type PTableHeadCellProps = {
|
|
|
13
13
|
*/
|
|
14
14
|
sort?: TableHeadCellSort;
|
|
15
15
|
};
|
|
16
|
-
declare
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PTableHeadCellProps>, {
|
|
17
20
|
hideLabel: boolean;
|
|
18
21
|
multiline: boolean;
|
|
19
22
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PTableHeadCellProps>, {
|
|
@@ -22,9 +25,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
22
25
|
}>>>, {
|
|
23
26
|
hideLabel: boolean;
|
|
24
27
|
multiline: boolean;
|
|
25
|
-
}, {}
|
|
26
|
-
|
|
27
|
-
}>;
|
|
28
|
+
}, {}>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
28
30
|
export default _default;
|
|
29
31
|
type __VLS_WithDefaults<P, D> = {
|
|
30
32
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
2
|
default?(_: {}): any;
|
|
3
|
-
}
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
4
6
|
export default _default;
|
|
5
7
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
8
|
new (): {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
2
|
default?(_: {}): any;
|
|
3
|
-
}
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
4
6
|
export default _default;
|
|
5
7
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
8
|
new (): {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
2
|
default?(_: {}): any;
|
|
3
|
-
}
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
4
6
|
export default _default;
|
|
5
7
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
8
|
new (): {
|
|
@@ -9,15 +9,17 @@ type PTableProps = {
|
|
|
9
9
|
*/
|
|
10
10
|
theme?: Theme;
|
|
11
11
|
};
|
|
12
|
-
declare
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<PTableProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
16
|
sortingChange: (value: import("../types").TableHeadCellSort) => void;
|
|
14
17
|
update: (value: import("../types").TableHeadCellSort) => void;
|
|
15
18
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PTableProps>>> & {
|
|
16
19
|
onUpdate?: ((value: import("../types").TableHeadCellSort) => any) | undefined;
|
|
17
20
|
onSortingChange?: ((value: import("../types").TableHeadCellSort) => any) | undefined;
|
|
18
|
-
}, {}, {}
|
|
19
|
-
|
|
20
|
-
}>;
|
|
21
|
+
}, {}, {}>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
21
23
|
export default _default;
|
|
22
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
25
|
new (): {
|
|
@@ -25,7 +25,10 @@ type PTabsBarProps = {
|
|
|
25
25
|
*/
|
|
26
26
|
weight?: TabsBarWeight;
|
|
27
27
|
};
|
|
28
|
-
declare
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PTabsBarProps>, {
|
|
29
32
|
gradientColor: string;
|
|
30
33
|
size: string;
|
|
31
34
|
weight: string;
|
|
@@ -40,12 +43,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
43
|
onUpdate?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
|
|
41
44
|
onTabChange?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
|
|
42
45
|
}, {
|
|
43
|
-
weight:
|
|
44
|
-
size: BreakpointCustomizable<
|
|
45
|
-
gradientColor:
|
|
46
|
-
}, {}
|
|
47
|
-
|
|
48
|
-
}>;
|
|
46
|
+
weight: TabsBarWeight;
|
|
47
|
+
size: BreakpointCustomizable<TabsBarSize>;
|
|
48
|
+
gradientColor: TabsBarGradientColor;
|
|
49
|
+
}, {}>;
|
|
50
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
49
51
|
export default _default;
|
|
50
52
|
type __VLS_WithDefaults<P, D> = {
|
|
51
53
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -4,9 +4,11 @@ type PTabsItemProps = {
|
|
|
4
4
|
*/
|
|
5
5
|
label: string;
|
|
6
6
|
};
|
|
7
|
-
declare
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
8
|
default?(_: {}): any;
|
|
9
|
-
}
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<PTabsItemProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PTabsItemProps>>>, {}, {}>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
10
12
|
export default _default;
|
|
11
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
14
|
new (): {
|
|
@@ -25,7 +25,10 @@ type PTabsProps = {
|
|
|
25
25
|
*/
|
|
26
26
|
weight?: TabsWeight;
|
|
27
27
|
};
|
|
28
|
-
declare
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PTabsProps>, {
|
|
29
32
|
activeTabIndex: number;
|
|
30
33
|
gradientColor: string;
|
|
31
34
|
size: string;
|
|
@@ -42,13 +45,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
42
45
|
onUpdate?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
|
|
43
46
|
onTabChange?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
|
|
44
47
|
}, {
|
|
45
|
-
weight:
|
|
46
|
-
size: BreakpointCustomizable<
|
|
47
|
-
gradientColor:
|
|
48
|
+
weight: TabsWeight;
|
|
49
|
+
size: BreakpointCustomizable<TabsSize>;
|
|
50
|
+
gradientColor: TabsGradientColor;
|
|
48
51
|
activeTabIndex: number;
|
|
49
|
-
}, {}
|
|
50
|
-
|
|
51
|
-
}>;
|
|
52
|
+
}, {}>;
|
|
53
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
52
54
|
export default _default;
|
|
53
55
|
type __VLS_WithDefaults<P, D> = {
|
|
54
56
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -17,15 +17,17 @@ type PTagDismissibleProps = {
|
|
|
17
17
|
*/
|
|
18
18
|
theme?: Theme;
|
|
19
19
|
};
|
|
20
|
-
declare
|
|
20
|
+
declare function __VLS_template(): {
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PTagDismissibleProps>, {
|
|
21
24
|
color: string;
|
|
22
25
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PTagDismissibleProps>, {
|
|
23
26
|
color: string;
|
|
24
27
|
}>>>, {
|
|
25
|
-
color:
|
|
26
|
-
}, {}
|
|
27
|
-
|
|
28
|
-
}>;
|
|
28
|
+
color: TagDismissibleColor;
|
|
29
|
+
}, {}>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
29
31
|
export default _default;
|
|
30
32
|
type __VLS_WithDefaults<P, D> = {
|
|
31
33
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -4,6 +4,10 @@ type PTagProps = {
|
|
|
4
4
|
* Background color variations depending on theme property.
|
|
5
5
|
*/
|
|
6
6
|
color?: TagColor;
|
|
7
|
+
/**
|
|
8
|
+
* Displays as compact version.
|
|
9
|
+
*/
|
|
10
|
+
compact?: boolean;
|
|
7
11
|
/**
|
|
8
12
|
* The icon shown.
|
|
9
13
|
*/
|
|
@@ -17,15 +21,20 @@ type PTagProps = {
|
|
|
17
21
|
*/
|
|
18
22
|
theme?: Theme;
|
|
19
23
|
};
|
|
20
|
-
declare
|
|
24
|
+
declare function __VLS_template(): {
|
|
25
|
+
default?(_: {}): any;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PTagProps>, {
|
|
21
28
|
color: string;
|
|
29
|
+
compact: boolean;
|
|
22
30
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PTagProps>, {
|
|
23
31
|
color: string;
|
|
32
|
+
compact: boolean;
|
|
24
33
|
}>>>, {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
34
|
+
compact: boolean;
|
|
35
|
+
color: TagColor;
|
|
36
|
+
}, {}>;
|
|
37
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
29
38
|
export default _default;
|
|
30
39
|
type __VLS_WithDefaults<P, D> = {
|
|
31
40
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as s, ref as m, inject as f, onMounted as u, onUpdated as l, watch as d, openBlock as i, createBlock 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
|
-
const
|
|
3
|
+
const R = /* @__PURE__ */ s({
|
|
4
4
|
__name: "TagWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
color: { default: "background-surface" },
|
|
7
|
+
compact: { type: Boolean, default: !1 },
|
|
7
8
|
icon: {},
|
|
8
9
|
iconSource: {},
|
|
9
10
|
theme: {}
|
|
10
11
|
},
|
|
11
12
|
setup(p) {
|
|
12
|
-
const
|
|
13
|
-
return u(r),
|
|
13
|
+
const a = k("p-tag"), e = p, o = m(), n = f(w), r = () => c(o, { ...e, theme: e.theme || n.value });
|
|
14
|
+
return u(r), l(r), d(n, (t) => {
|
|
14
15
|
c(o, { theme: e.theme || t });
|
|
15
|
-
}), (t, x) => (
|
|
16
|
+
}), (t, x) => (i(), h(_(y(a)), {
|
|
16
17
|
ref_key: "pdsComponentRef",
|
|
17
18
|
ref: o
|
|
18
19
|
}, {
|
|
19
|
-
default:
|
|
20
|
+
default: C(() => [
|
|
20
21
|
g(t.$slots, "default")
|
|
21
22
|
]),
|
|
22
23
|
_: 3
|
|
@@ -24,5 +25,5 @@ const b = /* @__PURE__ */ a({
|
|
|
24
25
|
}
|
|
25
26
|
});
|
|
26
27
|
export {
|
|
27
|
-
|
|
28
|
+
R as default
|
|
28
29
|
};
|