@porsche-design-system/components-vue 3.31.0 → 4.0.0-alpha.0
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 +250 -1
- package/cjs/PorscheDesignSystemProvider.vue.cjs +1 -1
- package/cjs/lib/components/AccordionWrapper.vue.cjs +1 -1
- package/cjs/lib/components/BannerWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ButtonPureWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ButtonTileWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ButtonWrapper.vue.cjs +1 -1
- package/cjs/lib/components/CanvasWrapper.vue.cjs +1 -1
- package/cjs/lib/components/CarouselWrapper.vue.cjs +1 -1
- package/cjs/lib/components/CheckboxWrapper.vue.cjs +1 -1
- package/cjs/lib/components/DisplayWrapper.vue.cjs +1 -1
- package/cjs/lib/components/DividerWrapper.vue.cjs +1 -1
- package/cjs/lib/components/DrilldownWrapper.vue.cjs +1 -1
- package/cjs/lib/components/FieldsetWrapper.vue.cjs +1 -1
- package/cjs/lib/components/FlyoutWrapper.vue.cjs +1 -1
- package/cjs/lib/components/HeadingWrapper.vue.cjs +1 -1
- package/cjs/lib/components/IconWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InlineNotificationWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputDateWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputEmailWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputMonthWrapper.vue.cjs +1 -0
- package/cjs/lib/components/InputMonthWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/InputNumberWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputPasswordWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputSearchWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputTelWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputTextWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputTimeWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputUrlWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputWeekWrapper.vue.cjs +1 -0
- package/cjs/lib/components/InputWeekWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/LinkPureWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkTileProductWrapper.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/ModelSignatureWrapper.vue.cjs +1 -1
- package/cjs/lib/components/MultiSelectWrapper.vue.cjs +1 -1
- package/cjs/lib/components/PaginationWrapper.vue.cjs +1 -1
- package/cjs/lib/components/PinCodeWrapper.vue.cjs +1 -1
- package/cjs/lib/components/PopoverWrapper.vue.cjs +1 -1
- package/cjs/lib/components/RadioGroupWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ScrollerWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SegmentedControlWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SelectWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SheetWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SpinnerWrapper.vue.cjs +1 -1
- package/cjs/lib/components/StepperHorizontalWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SwitchWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TableWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TabsBarWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TabsWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TagDismissibleWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TagWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TextListWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TextWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TextareaWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ToastWrapper.vue.cjs +1 -1
- package/cjs/lib/components/WordmarkWrapper.vue.cjs +1 -1
- package/cjs/public-api.cjs +1 -1
- package/cjs/utils.cjs +1 -1
- package/esm/PorscheDesignSystemProvider.vue.d.ts +0 -3
- package/esm/PorscheDesignSystemProvider.vue.mjs +9 -15
- package/esm/lib/components/AccordionWrapper.vue.d.ts +3 -13
- package/esm/lib/components/AccordionWrapper.vue.mjs +13 -17
- package/esm/lib/components/BannerWrapper.vue.d.ts +1 -14
- package/esm/lib/components/BannerWrapper.vue.mjs +12 -17
- package/esm/lib/components/ButtonPureWrapper.vue.d.ts +2 -12
- package/esm/lib/components/ButtonPureWrapper.vue.mjs +11 -15
- package/esm/lib/components/ButtonTileWrapper.vue.d.ts +1 -6
- package/esm/lib/components/ButtonTileWrapper.vue.mjs +8 -9
- package/esm/lib/components/ButtonWrapper.vue.d.ts +1 -5
- package/esm/lib/components/ButtonWrapper.vue.mjs +10 -13
- package/esm/lib/components/CanvasWrapper.vue.d.ts +0 -5
- package/esm/lib/components/CanvasWrapper.vue.mjs +12 -15
- package/esm/lib/components/CarouselWrapper.vue.d.ts +7 -22
- package/esm/lib/components/CarouselWrapper.vue.mjs +17 -22
- package/esm/lib/components/CheckboxWrapper.vue.d.ts +1 -7
- package/esm/lib/components/CheckboxWrapper.vue.mjs +14 -17
- package/esm/lib/components/DisplayWrapper.vue.d.ts +1 -5
- package/esm/lib/components/DisplayWrapper.vue.mjs +11 -14
- package/esm/lib/components/DividerWrapper.vue.d.ts +2 -10
- package/esm/lib/components/DividerWrapper.vue.mjs +10 -14
- package/esm/lib/components/DrilldownWrapper.vue.d.ts +1 -5
- package/esm/lib/components/DrilldownWrapper.vue.mjs +12 -15
- package/esm/lib/components/FieldsetWrapper.vue.d.ts +1 -5
- package/esm/lib/components/FieldsetWrapper.vue.mjs +11 -14
- package/esm/lib/components/FlyoutWrapper.vue.d.ts +6 -5
- package/esm/lib/components/FlyoutWrapper.vue.mjs +13 -15
- package/esm/lib/components/HeadingWrapper.vue.d.ts +1 -5
- package/esm/lib/components/HeadingWrapper.vue.mjs +11 -14
- package/esm/lib/components/IconWrapper.vue.d.ts +1 -10
- package/esm/lib/components/IconWrapper.vue.mjs +9 -13
- package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +1 -9
- package/esm/lib/components/InlineNotificationWrapper.vue.mjs +12 -16
- package/esm/lib/components/InputDateWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputDateWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputEmailWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputEmailWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputMonthWrapper.vue.d.ts +107 -0
- package/esm/lib/components/InputMonthWrapper.vue.mjs +44 -0
- package/esm/lib/components/InputMonthWrapper.vue2.mjs +4 -0
- package/esm/lib/components/InputNumberWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputNumberWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputPasswordWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputPasswordWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputSearchWrapper.vue.d.ts +9 -5
- package/esm/lib/components/InputSearchWrapper.vue.mjs +14 -15
- package/esm/lib/components/InputTelWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputTelWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputTextWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputTextWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputTimeWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputTimeWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputUrlWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputUrlWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputWeekWrapper.vue.d.ts +107 -0
- package/esm/lib/components/InputWeekWrapper.vue.mjs +44 -0
- package/esm/lib/components/InputWeekWrapper.vue2.mjs +4 -0
- package/esm/lib/components/LinkPureWrapper.vue.d.ts +2 -12
- package/esm/lib/components/LinkPureWrapper.vue.mjs +11 -15
- package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +3 -7
- package/esm/lib/components/LinkTileProductWrapper.vue.mjs +13 -16
- package/esm/lib/components/LinkTileWrapper.vue.d.ts +1 -6
- package/esm/lib/components/LinkTileWrapper.vue.mjs +6 -7
- package/esm/lib/components/LinkWrapper.vue.d.ts +1 -5
- package/esm/lib/components/LinkWrapper.vue.mjs +10 -13
- package/esm/lib/components/ModalWrapper.vue.d.ts +6 -14
- package/esm/lib/components/ModalWrapper.vue.mjs +13 -17
- package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +2 -6
- package/esm/lib/components/ModelSignatureWrapper.vue.mjs +11 -14
- package/esm/lib/components/MultiSelectWrapper.vue.d.ts +1 -5
- package/esm/lib/components/MultiSelectWrapper.vue.mjs +14 -17
- package/esm/lib/components/PaginationWrapper.vue.d.ts +3 -30
- package/esm/lib/components/PaginationWrapper.vue.mjs +10 -18
- package/esm/lib/components/PinCodeWrapper.vue.d.ts +1 -5
- package/esm/lib/components/PinCodeWrapper.vue.mjs +14 -17
- package/esm/lib/components/PopoverWrapper.vue.d.ts +1 -5
- package/esm/lib/components/PopoverWrapper.vue.mjs +11 -14
- package/esm/lib/components/RadioGroupWrapper.vue.d.ts +2 -6
- package/esm/lib/components/RadioGroupWrapper.vue.mjs +12 -15
- package/esm/lib/components/ScrollerWrapper.vue.d.ts +1 -17
- package/esm/lib/components/ScrollerWrapper.vue.mjs +10 -16
- package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +29 -7
- package/esm/lib/components/SegmentedControlWrapper.vue.mjs +19 -17
- package/esm/lib/components/SelectWrapper.vue.d.ts +2 -6
- package/esm/lib/components/SelectWrapper.vue.mjs +14 -17
- package/esm/lib/components/SheetWrapper.vue.d.ts +6 -5
- package/esm/lib/components/SheetWrapper.vue.mjs +13 -15
- package/esm/lib/components/SpinnerWrapper.vue.d.ts +1 -5
- package/esm/lib/components/SpinnerWrapper.vue.mjs +9 -12
- package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +3 -9
- package/esm/lib/components/StepperHorizontalWrapper.vue.mjs +13 -16
- package/esm/lib/components/SwitchWrapper.vue.d.ts +4 -10
- package/esm/lib/components/SwitchWrapper.vue.mjs +13 -16
- package/esm/lib/components/TableWrapper.vue.d.ts +1 -7
- package/esm/lib/components/TableWrapper.vue.mjs +12 -15
- package/esm/lib/components/TabsBarWrapper.vue.d.ts +3 -17
- package/esm/lib/components/TabsBarWrapper.vue.mjs +12 -17
- package/esm/lib/components/TabsWrapper.vue.d.ts +3 -17
- package/esm/lib/components/TabsWrapper.vue.mjs +12 -17
- package/esm/lib/components/TagDismissibleWrapper.vue.d.ts +4 -8
- package/esm/lib/components/TagDismissibleWrapper.vue.mjs +12 -15
- package/esm/lib/components/TagWrapper.vue.d.ts +5 -8
- package/esm/lib/components/TagWrapper.vue.mjs +12 -15
- package/esm/lib/components/TextListWrapper.vue.d.ts +1 -13
- package/esm/lib/components/TextListWrapper.vue.mjs +10 -15
- package/esm/lib/components/TextWrapper.vue.d.ts +2 -6
- package/esm/lib/components/TextWrapper.vue.mjs +10 -13
- package/esm/lib/components/TextareaWrapper.vue.d.ts +7 -6
- package/esm/lib/components/TextareaWrapper.vue.mjs +13 -15
- package/esm/lib/components/ToastWrapper.vue.d.ts +1 -8
- package/esm/lib/components/ToastWrapper.vue.mjs +7 -15
- package/esm/lib/components/WordmarkWrapper.vue.d.ts +1 -5
- package/esm/lib/components/WordmarkWrapper.vue.mjs +9 -12
- package/esm/lib/components/index.d.ts +2 -16
- package/esm/lib/types.d.ts +149 -503
- package/esm/public-api.d.ts +1 -1
- package/esm/public-api.mjs +150 -179
- package/esm/tokens/index.d.ts +1 -0
- package/esm/utils.d.ts +1 -2
- package/esm/utils.mjs +7 -8
- package/global-styles/cn/font-face.css +1 -0
- package/global-styles/cn/index.css +168 -0
- package/global-styles/font-face.css +1 -0
- package/global-styles/index.css +168 -0
- package/global-styles/legacy-radius.css +5 -0
- package/global-styles/normalize.css +11 -0
- package/global-styles/variables.css +156 -0
- package/package.json +32 -10
- package/tailwindcss/index.css +174 -152
- package/tokens/cjs/index.cjs +12 -0
- package/tokens/esm/index.d.ts +1 -0
- package/tokens/esm/index.mjs +1 -0
- package/tokens/package.json +6 -0
- package/cjs/lib/components/ButtonGroupWrapper.vue.cjs +0 -1
- package/cjs/lib/components/ButtonGroupWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/CheckboxWrapperWrapper.vue.cjs +0 -1
- package/cjs/lib/components/CheckboxWrapperWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/ContentWrapperWrapper.vue.cjs +0 -1
- package/cjs/lib/components/ContentWrapperWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/FieldsetWrapperWrapper.vue.cjs +0 -1
- package/cjs/lib/components/FieldsetWrapperWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/FlexItemWrapper.vue.cjs +0 -1
- package/cjs/lib/components/FlexItemWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/FlexWrapper.vue.cjs +0 -1
- package/cjs/lib/components/FlexWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/GridItemWrapper.vue.cjs +0 -1
- package/cjs/lib/components/GridItemWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/GridWrapper.vue.cjs +0 -1
- package/cjs/lib/components/GridWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/HeadlineWrapper.vue.cjs +0 -1
- package/cjs/lib/components/HeadlineWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/LinkSocialWrapper.vue.cjs +0 -1
- package/cjs/lib/components/LinkSocialWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/LinkTileModelSignatureWrapper.vue.cjs +0 -1
- package/cjs/lib/components/LinkTileModelSignatureWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/MarqueWrapper.vue.cjs +0 -1
- package/cjs/lib/components/MarqueWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/RadioButtonWrapperWrapper.vue.cjs +0 -1
- package/cjs/lib/components/RadioButtonWrapperWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/SelectWrapperWrapper.vue.cjs +0 -1
- package/cjs/lib/components/SelectWrapperWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/TextFieldWrapperWrapper.vue.cjs +0 -1
- package/cjs/lib/components/TextFieldWrapperWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/TextareaWrapperWrapper.vue.cjs +0 -1
- package/cjs/lib/components/TextareaWrapperWrapper.vue2.cjs +0 -1
- package/esm/lib/components/ButtonGroupWrapper.vue.d.ts +0 -22
- package/esm/lib/components/ButtonGroupWrapper.vue.mjs +0 -23
- package/esm/lib/components/ButtonGroupWrapper.vue2.mjs +0 -4
- package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +0 -47
- package/esm/lib/components/CheckboxWrapperWrapper.vue.mjs +0 -30
- package/esm/lib/components/CheckboxWrapperWrapper.vue2.mjs +0 -4
- package/esm/lib/components/ContentWrapperWrapper.vue.d.ts +0 -34
- package/esm/lib/components/ContentWrapperWrapper.vue.mjs +0 -27
- package/esm/lib/components/ContentWrapperWrapper.vue2.mjs +0 -4
- package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +0 -47
- package/esm/lib/components/FieldsetWrapperWrapper.vue.mjs +0 -30
- package/esm/lib/components/FieldsetWrapperWrapper.vue2.mjs +0 -4
- package/esm/lib/components/FlexItemWrapper.vue.d.ts +0 -48
- package/esm/lib/components/FlexItemWrapper.vue.mjs +0 -28
- package/esm/lib/components/FlexItemWrapper.vue2.mjs +0 -4
- package/esm/lib/components/FlexWrapper.vue.d.ts +0 -48
- package/esm/lib/components/FlexWrapper.vue.mjs +0 -28
- package/esm/lib/components/FlexWrapper.vue2.mjs +0 -4
- package/esm/lib/components/GridItemWrapper.vue.d.ts +0 -28
- package/esm/lib/components/GridItemWrapper.vue.mjs +0 -24
- package/esm/lib/components/GridItemWrapper.vue2.mjs +0 -4
- package/esm/lib/components/GridWrapper.vue.d.ts +0 -34
- package/esm/lib/components/GridWrapper.vue.mjs +0 -25
- package/esm/lib/components/GridWrapper.vue2.mjs +0 -4
- package/esm/lib/components/HeadlineWrapper.vue.d.ts +0 -46
- package/esm/lib/components/HeadlineWrapper.vue.mjs +0 -30
- package/esm/lib/components/HeadlineWrapper.vue2.mjs +0 -4
- package/esm/lib/components/LinkSocialWrapper.vue.d.ts +0 -53
- package/esm/lib/components/LinkSocialWrapper.vue.mjs +0 -32
- package/esm/lib/components/LinkSocialWrapper.vue2.mjs +0 -4
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +0 -50
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue.mjs +0 -29
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue2.mjs +0 -4
- package/esm/lib/components/MarqueWrapper.vue.d.ts +0 -36
- package/esm/lib/components/MarqueWrapper.vue.mjs +0 -23
- package/esm/lib/components/MarqueWrapper.vue2.mjs +0 -4
- package/esm/lib/components/RadioButtonWrapperWrapper.vue.d.ts +0 -47
- package/esm/lib/components/RadioButtonWrapperWrapper.vue.mjs +0 -30
- package/esm/lib/components/RadioButtonWrapperWrapper.vue2.mjs +0 -4
- package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +0 -62
- package/esm/lib/components/SelectWrapperWrapper.vue.mjs +0 -33
- package/esm/lib/components/SelectWrapperWrapper.vue2.mjs +0 -4
- package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +0 -89
- package/esm/lib/components/TextFieldWrapperWrapper.vue.mjs +0 -41
- package/esm/lib/components/TextFieldWrapperWrapper.vue2.mjs +0 -4
- package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +0 -56
- package/esm/lib/components/TextareaWrapperWrapper.vue.mjs +0 -32
- package/esm/lib/components/TextareaWrapperWrapper.vue2.mjs +0 -4
- /package/styles/vanilla-extract/cjs/{vanilla-extract/index.cjs → index.cjs} +0 -0
- /package/styles/vanilla-extract/esm/{vanilla-extract/index.d.ts → index.d.ts} +0 -0
- /package/styles/vanilla-extract/esm/{vanilla-extract/index.mjs → index.mjs} +0 -0
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as s, onMounted as r, onUpdated as f, createBlock as d, openBlock as i, resolveDynamicComponent as u, unref as c, withCtx as m, renderSlot as y } from "vue";
|
|
2
|
+
import { usePrefix as b, syncProperties as B } from "../../utils.mjs";
|
|
3
|
+
const h = /* @__PURE__ */ p({
|
|
4
4
|
__name: "ButtonTileWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
align: { default: "bottom" },
|
|
7
7
|
aria: {},
|
|
8
8
|
aspectRatio: { default: "4/3" },
|
|
9
|
-
background: { default: "dark" },
|
|
10
9
|
compact: { type: [Boolean, Object], default: !1 },
|
|
11
10
|
description: {},
|
|
12
11
|
disabled: { type: Boolean, default: !1 },
|
|
13
|
-
gradient: { type: Boolean, default: !
|
|
12
|
+
gradient: { type: Boolean, default: !1 },
|
|
14
13
|
icon: { default: "none" },
|
|
15
14
|
iconSource: {},
|
|
16
15
|
label: {},
|
|
@@ -20,18 +19,18 @@ const k = /* @__PURE__ */ r({
|
|
|
20
19
|
weight: { default: "semi-bold" }
|
|
21
20
|
},
|
|
22
21
|
setup(o) {
|
|
23
|
-
const n =
|
|
24
|
-
return
|
|
22
|
+
const n = b("p-button-tile"), a = o, e = s(), t = () => B(e, a);
|
|
23
|
+
return r(t), f(t), (l, _) => (i(), d(u(c(n)), {
|
|
25
24
|
ref_key: "pdsComponentRef",
|
|
26
25
|
ref: e
|
|
27
26
|
}, {
|
|
28
27
|
default: m(() => [
|
|
29
|
-
|
|
28
|
+
y(l.$slots, "default")
|
|
30
29
|
]),
|
|
31
30
|
_: 3
|
|
32
31
|
}, 512));
|
|
33
32
|
}
|
|
34
33
|
});
|
|
35
34
|
export {
|
|
36
|
-
|
|
35
|
+
h as default
|
|
37
36
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes, ButtonAriaAttribute, BreakpointCustomizable, ButtonIcon,
|
|
1
|
+
import type { SelectedAriaAttributes, ButtonAriaAttribute, BreakpointCustomizable, ButtonIcon, ButtonType, ButtonVariant } from '../types';
|
|
2
2
|
type PButtonProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Add ARIA attributes.
|
|
@@ -36,10 +36,6 @@ type PButtonProps = {
|
|
|
36
36
|
* The name of the button, submitted as a pair with the button's value as part of the form data, when that button is used to submit the form.
|
|
37
37
|
*/
|
|
38
38
|
name?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Adapts the button color depending on the theme.
|
|
41
|
-
*/
|
|
42
|
-
theme?: Theme;
|
|
43
39
|
/**
|
|
44
40
|
* Specifies the type of the button.
|
|
45
41
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as l, onMounted as f, onUpdated as s, createBlock as c, openBlock as d, resolveDynamicComponent as u, unref as i, withCtx as m, renderSlot as y } from "vue";
|
|
2
|
+
import { usePrefix as b, syncProperties as B } from "../../utils.mjs";
|
|
3
|
+
const k = /* @__PURE__ */ p({
|
|
4
4
|
__name: "ButtonWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
@@ -12,26 +12,23 @@ const x = /* @__PURE__ */ f({
|
|
|
12
12
|
iconSource: {},
|
|
13
13
|
loading: { type: Boolean, default: !1 },
|
|
14
14
|
name: {},
|
|
15
|
-
theme: {},
|
|
16
15
|
type: { default: "submit" },
|
|
17
16
|
value: {},
|
|
18
17
|
variant: { default: "primary" }
|
|
19
18
|
},
|
|
20
|
-
setup(
|
|
21
|
-
const
|
|
22
|
-
return
|
|
23
|
-
r(t, { theme: e.theme || o });
|
|
24
|
-
}), (o, v) => (h(), i(y(b(l)), {
|
|
19
|
+
setup(t) {
|
|
20
|
+
const n = b("p-button"), a = t, e = l(), o = () => B(e, a);
|
|
21
|
+
return f(o), s(o), (r, _) => (d(), c(u(i(n)), {
|
|
25
22
|
ref_key: "pdsComponentRef",
|
|
26
|
-
ref:
|
|
23
|
+
ref: e
|
|
27
24
|
}, {
|
|
28
|
-
default:
|
|
29
|
-
|
|
25
|
+
default: m(() => [
|
|
26
|
+
y(r.$slots, "default")
|
|
30
27
|
]),
|
|
31
28
|
_: 3
|
|
32
29
|
}, 512));
|
|
33
30
|
}
|
|
34
31
|
});
|
|
35
32
|
export {
|
|
36
|
-
|
|
33
|
+
k as default
|
|
37
34
|
};
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import type { Theme } from '../types';
|
|
2
1
|
type PCanvasProps = {
|
|
3
2
|
sidebarEndOpen?: boolean;
|
|
4
3
|
/**
|
|
5
4
|
* Open the sidebar on the start side
|
|
6
5
|
*/
|
|
7
6
|
sidebarStartOpen?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Adapts the color depending on the theme.
|
|
10
|
-
*/
|
|
11
|
-
theme?: Theme;
|
|
12
7
|
};
|
|
13
8
|
declare var __VLS_8: {};
|
|
14
9
|
type __VLS_Slots = {} & {
|
|
@@ -1,30 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as i, ref as f, onMounted as m, onUpdated as c, createBlock as l, openBlock as u, resolveDynamicComponent as b, unref as C, withCtx as _, renderSlot as y } from "vue";
|
|
2
|
+
import { usePrefix as E, syncProperties as v, addEventListenerToElementRef as o } from "../../utils.mjs";
|
|
3
|
+
const x = /* @__PURE__ */ i({
|
|
4
4
|
__name: "CanvasWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
sidebarEndOpen: { type: Boolean, default: !1 },
|
|
7
|
-
sidebarStartOpen: { type: Boolean, default: !1 }
|
|
8
|
-
theme: {}
|
|
7
|
+
sidebarStartOpen: { type: Boolean, default: !1 }
|
|
9
8
|
},
|
|
10
9
|
emits: ["sidebarEndDismiss", "sidebarStartUpdate"],
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
return
|
|
14
|
-
|
|
15
|
-
}),
|
|
16
|
-
r(e, { theme: t.theme || n });
|
|
17
|
-
}), (n, k) => (C(), y(_(v(i)), {
|
|
10
|
+
setup(s, { emit: r }) {
|
|
11
|
+
const a = E("p-canvas"), p = s, e = f(), t = r, n = () => v(e, p);
|
|
12
|
+
return m(() => {
|
|
13
|
+
n(), o(e, "sidebarEndDismiss", t), o(e, "sidebarStartUpdate", t);
|
|
14
|
+
}), c(n), (d, B) => (u(), l(b(C(a)), {
|
|
18
15
|
ref_key: "pdsComponentRef",
|
|
19
16
|
ref: e
|
|
20
17
|
}, {
|
|
21
|
-
default:
|
|
22
|
-
|
|
18
|
+
default: _(() => [
|
|
19
|
+
y(d.$slots, "default")
|
|
23
20
|
]),
|
|
24
21
|
_: 3
|
|
25
22
|
}, 512));
|
|
26
23
|
}
|
|
27
24
|
});
|
|
28
25
|
export {
|
|
29
|
-
|
|
26
|
+
x as default
|
|
30
27
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CarouselAlignControls, CarouselAlignHeader, SelectedAriaAttributes, CarouselAriaAttribute,
|
|
1
|
+
import type { CarouselAlignControls, CarouselAlignHeader, SelectedAriaAttributes, CarouselAriaAttribute, CarouselHeadingSize, CarouselInternationalization, CarouselUpdateEventDetail, BreakpointCustomizable, CarouselSlidesPerPage, CarouselWidth } from '../types';
|
|
2
2
|
type PCarouselProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Defines which slide to be active (zero-based numbering).
|
|
@@ -20,18 +20,14 @@ type PCarouselProps = {
|
|
|
20
20
|
* Defines the description used in the carousel.
|
|
21
21
|
*/
|
|
22
22
|
description?: string;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated since v3.0.0, will be removed with next major release, use `pagination` instead. If true, the carousel will not show pagination bullets at the bottom.
|
|
25
|
-
*/
|
|
26
|
-
disablePagination?: BreakpointCustomizable<boolean>;
|
|
27
23
|
/**
|
|
28
24
|
* Indicates whether focus should be set on the center slide. If true, the carousel loops by individual slide; otherwise, it loops by page.
|
|
29
25
|
*/
|
|
30
26
|
focusOnCenterSlide?: boolean;
|
|
31
27
|
/**
|
|
32
|
-
*
|
|
28
|
+
* Fades the slides out.
|
|
33
29
|
*/
|
|
34
|
-
|
|
30
|
+
gradient?: boolean;
|
|
35
31
|
/**
|
|
36
32
|
* Defines the heading used in the carousel.
|
|
37
33
|
*/
|
|
@@ -60,10 +56,6 @@ type PCarouselProps = {
|
|
|
60
56
|
* Sets the amount of slides visible at the same time. Can be set to `auto` if you want to define different widths per slide via CSS.
|
|
61
57
|
*/
|
|
62
58
|
slidesPerPage?: BreakpointCustomizable<CarouselSlidesPerPage>;
|
|
63
|
-
/**
|
|
64
|
-
* Adapts the color when used on dark background.
|
|
65
|
-
*/
|
|
66
|
-
theme?: Theme;
|
|
67
59
|
/**
|
|
68
60
|
* Determines whether to trim spaces before/after the carousel if `focusOnCenterSlide` option is true.
|
|
69
61
|
*/
|
|
@@ -72,34 +64,27 @@ type PCarouselProps = {
|
|
|
72
64
|
* Defines the outer spacings between the carousel and the left and right screen sides.
|
|
73
65
|
*/
|
|
74
66
|
width?: CarouselWidth;
|
|
75
|
-
/**
|
|
76
|
-
* Has no effect anymore
|
|
77
|
-
* @deprecated since v3.0.0, will be removed with next major release
|
|
78
|
-
*/
|
|
79
|
-
wrapContent?: boolean;
|
|
80
67
|
};
|
|
81
68
|
declare var __VLS_8: {};
|
|
82
69
|
type __VLS_Slots = {} & {
|
|
83
70
|
default?: (props: typeof __VLS_8) => any;
|
|
84
71
|
};
|
|
85
72
|
declare const __VLS_base: import("vue").DefineComponent<PCarouselProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
86
|
-
update: (value:
|
|
87
|
-
carouselChange: (value: import("../types").CarouselUpdateEvent) => any;
|
|
73
|
+
update: (value: CarouselUpdateEventDetail) => any;
|
|
88
74
|
}, string, import("vue").PublicProps, Readonly<PCarouselProps> & Readonly<{
|
|
89
|
-
onUpdate?: ((value:
|
|
90
|
-
onCarouselChange?: ((value: import("../types").CarouselUpdateEvent) => any) | undefined;
|
|
75
|
+
onUpdate?: ((value: CarouselUpdateEventDetail) => any) | undefined;
|
|
91
76
|
}>, {
|
|
92
|
-
|
|
77
|
+
gradient: boolean;
|
|
93
78
|
activeSlideIndex: number;
|
|
94
79
|
alignControls: CarouselAlignControls;
|
|
95
80
|
alignHeader: CarouselAlignHeader;
|
|
96
81
|
focusOnCenterSlide: boolean;
|
|
97
|
-
gradientColor: CarouselGradientColor;
|
|
98
82
|
headingSize: CarouselHeadingSize;
|
|
99
83
|
pagination: BreakpointCustomizable<boolean>;
|
|
100
84
|
rewind: boolean;
|
|
101
85
|
slidesPerPage: BreakpointCustomizable<CarouselSlidesPerPage>;
|
|
102
86
|
trimSpace: boolean;
|
|
87
|
+
width: CarouselWidth;
|
|
103
88
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
104
89
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
105
90
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as d, ref as i, onMounted as p, onUpdated as f, createBlock as u, openBlock as c, resolveDynamicComponent as m, unref as g, withCtx as y, renderSlot as C } from "vue";
|
|
2
|
+
import { usePrefix as B, syncProperties as _, addEventListenerToElementRef as h } from "../../utils.mjs";
|
|
3
|
+
const S = /* @__PURE__ */ d({
|
|
4
4
|
__name: "CarouselWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
activeSlideIndex: { default: 0 },
|
|
@@ -8,39 +8,34 @@ const v = /* @__PURE__ */ u({
|
|
|
8
8
|
alignHeader: { default: "start" },
|
|
9
9
|
aria: {},
|
|
10
10
|
description: {},
|
|
11
|
-
disablePagination: { type: [Boolean, Object] },
|
|
12
11
|
focusOnCenterSlide: { type: Boolean, default: !1 },
|
|
13
|
-
|
|
12
|
+
gradient: { type: Boolean, default: !1 },
|
|
14
13
|
heading: {},
|
|
15
14
|
headingSize: { default: "x-large" },
|
|
16
15
|
intl: {},
|
|
17
|
-
pagination: { type: [Boolean, Object], default: !
|
|
18
|
-
rewind: { type: Boolean, default: !
|
|
16
|
+
pagination: { type: [Boolean, Object], default: !1 },
|
|
17
|
+
rewind: { type: Boolean, default: !1 },
|
|
19
18
|
skipLinkTarget: {},
|
|
20
19
|
slidesPerPage: { default: 1 },
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
width: { default: "basic" },
|
|
24
|
-
wrapContent: { type: Boolean }
|
|
20
|
+
trimSpace: { type: Boolean, default: !1 },
|
|
21
|
+
width: { default: "basic" }
|
|
25
22
|
},
|
|
26
|
-
emits: ["
|
|
27
|
-
setup(
|
|
28
|
-
const
|
|
29
|
-
return
|
|
30
|
-
|
|
31
|
-
}),
|
|
32
|
-
l(e, { theme: t.theme || n });
|
|
33
|
-
}), (n, x) => (y(), C(B(_(p)), {
|
|
23
|
+
emits: ["update"],
|
|
24
|
+
setup(a, { emit: n }) {
|
|
25
|
+
const o = B("p-carousel"), l = a, e = i(), r = n, t = () => _(e, l);
|
|
26
|
+
return p(() => {
|
|
27
|
+
t(), h(e, "update", r);
|
|
28
|
+
}), f(t), (s, k) => (c(), u(m(g(o)), {
|
|
34
29
|
ref_key: "pdsComponentRef",
|
|
35
30
|
ref: e
|
|
36
31
|
}, {
|
|
37
|
-
default:
|
|
38
|
-
|
|
32
|
+
default: y(() => [
|
|
33
|
+
C(s.$slots, "default")
|
|
39
34
|
]),
|
|
40
35
|
_: 3
|
|
41
36
|
}, 512));
|
|
42
37
|
}
|
|
43
38
|
});
|
|
44
39
|
export {
|
|
45
|
-
|
|
40
|
+
S as default
|
|
46
41
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BreakpointCustomizable,
|
|
1
|
+
import type { BreakpointCustomizable, CheckboxState } from '../types';
|
|
2
2
|
type PCheckboxProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Reflects the checkbox current checked state and allows setting the initial checked state.
|
|
@@ -48,10 +48,6 @@ type PCheckboxProps = {
|
|
|
48
48
|
* The validation state.
|
|
49
49
|
*/
|
|
50
50
|
state?: CheckboxState;
|
|
51
|
-
/**
|
|
52
|
-
* Adapts the color depending on the theme.
|
|
53
|
-
*/
|
|
54
|
-
theme?: Theme;
|
|
55
51
|
/**
|
|
56
52
|
* The checkbox value. When a form is submitted, only a checkbox which is currently checked is included in the submission.
|
|
57
53
|
*/
|
|
@@ -64,12 +60,10 @@ type __VLS_Slots = {} & {
|
|
|
64
60
|
declare const __VLS_base: import("vue").DefineComponent<PCheckboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
65
61
|
blur: (value: Event) => any;
|
|
66
62
|
change: (value: Event) => any;
|
|
67
|
-
update: (value: CheckboxUpdateEventDetail) => any;
|
|
68
63
|
"update:checked": (value: boolean) => any;
|
|
69
64
|
}, string, import("vue").PublicProps, Readonly<PCheckboxProps> & Readonly<{
|
|
70
65
|
onBlur?: ((value: Event) => any) | undefined;
|
|
71
66
|
onChange?: ((value: Event) => any) | undefined;
|
|
72
|
-
onUpdate?: ((value: CheckboxUpdateEventDetail) => any) | undefined;
|
|
73
67
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
74
68
|
}>, {
|
|
75
69
|
label: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as r, ref as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as r, ref as p, onMounted as c, onUpdated as u, createBlock as m, openBlock as i, resolveDynamicComponent as h, unref as y, withCtx as b, renderSlot as k } from "vue";
|
|
2
|
+
import { usePrefix as B, syncProperties as C, addEventListenerToElementRef as n } from "../../utils.mjs";
|
|
3
|
+
const v = /* @__PURE__ */ r({
|
|
4
4
|
__name: "CheckboxWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
checked: { type: Boolean, default: !1 },
|
|
@@ -15,29 +15,26 @@ const P = /* @__PURE__ */ r({
|
|
|
15
15
|
name: { default: "" },
|
|
16
16
|
required: { type: Boolean, default: !1 },
|
|
17
17
|
state: { default: "none" },
|
|
18
|
-
theme: {},
|
|
19
18
|
value: { default: "on" }
|
|
20
19
|
},
|
|
21
|
-
emits: ["update:checked", "blur", "change"
|
|
22
|
-
setup(
|
|
23
|
-
const
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
})
|
|
28
|
-
}),
|
|
29
|
-
f(e, { theme: o.theme || t });
|
|
30
|
-
}), (t, R) => (k(), b(B(C(p)), {
|
|
20
|
+
emits: ["update:checked", "blur", "change"],
|
|
21
|
+
setup(l, { emit: d }) {
|
|
22
|
+
const f = B("p-checkbox"), s = l, e = p(), t = d, a = () => C(e, s);
|
|
23
|
+
return c(() => {
|
|
24
|
+
a(), n(e, "blur", t), n(e, "change", t, (o) => {
|
|
25
|
+
t("update:checked", o.target.checked);
|
|
26
|
+
});
|
|
27
|
+
}), u(a), (o, _) => (i(), m(h(y(f)), {
|
|
31
28
|
ref_key: "pdsComponentRef",
|
|
32
29
|
ref: e
|
|
33
30
|
}, {
|
|
34
|
-
default:
|
|
35
|
-
|
|
31
|
+
default: b(() => [
|
|
32
|
+
k(o.$slots, "default")
|
|
36
33
|
]),
|
|
37
34
|
_: 3
|
|
38
35
|
}, 512));
|
|
39
36
|
}
|
|
40
37
|
});
|
|
41
38
|
export {
|
|
42
|
-
|
|
39
|
+
v as default
|
|
43
40
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DisplayAlign, DisplayColor, BreakpointCustomizable, DisplaySize, DisplayTag
|
|
1
|
+
import type { DisplayAlign, DisplayColor, BreakpointCustomizable, DisplaySize, DisplayTag } from '../types';
|
|
2
2
|
type PDisplayProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Text alignment of the component.
|
|
@@ -20,10 +20,6 @@ type PDisplayProps = {
|
|
|
20
20
|
* Sets a heading tag, so it fits correctly within the outline of the page.
|
|
21
21
|
*/
|
|
22
22
|
tag?: DisplayTag;
|
|
23
|
-
/**
|
|
24
|
-
* Adapts the text color depending on the theme. Has no effect when "inherit" is set as color prop.
|
|
25
|
-
*/
|
|
26
|
-
theme?: Theme;
|
|
27
23
|
};
|
|
28
24
|
declare var __VLS_8: {};
|
|
29
25
|
type __VLS_Slots = {} & {
|
|
@@ -1,30 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as s, ref as a, onMounted as l, onUpdated as f, createBlock as c, openBlock as d, resolveDynamicComponent as i, unref as m, withCtx as u, renderSlot as y } from "vue";
|
|
2
|
+
import { usePrefix as _, syncProperties as C } from "../../utils.mjs";
|
|
3
|
+
const B = /* @__PURE__ */ s({
|
|
4
4
|
__name: "DisplayWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
align: { default: "start" },
|
|
7
7
|
color: { default: "primary" },
|
|
8
8
|
ellipsis: { type: Boolean, default: !1 },
|
|
9
9
|
size: { default: "large" },
|
|
10
|
-
tag: {}
|
|
11
|
-
theme: {}
|
|
10
|
+
tag: {}
|
|
12
11
|
},
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
return
|
|
16
|
-
s(t, { theme: e.theme || o });
|
|
17
|
-
}), (o, x) => (h(), u(y(_(p)), {
|
|
12
|
+
setup(t) {
|
|
13
|
+
const n = _("p-display"), r = t, e = a(), o = () => C(e, r);
|
|
14
|
+
return l(o), f(o), (p, g) => (d(), c(i(m(n)), {
|
|
18
15
|
ref_key: "pdsComponentRef",
|
|
19
|
-
ref:
|
|
16
|
+
ref: e
|
|
20
17
|
}, {
|
|
21
|
-
default:
|
|
22
|
-
|
|
18
|
+
default: u(() => [
|
|
19
|
+
y(p.$slots, "default")
|
|
23
20
|
]),
|
|
24
21
|
_: 3
|
|
25
22
|
}, 512));
|
|
26
23
|
}
|
|
27
24
|
});
|
|
28
25
|
export {
|
|
29
|
-
|
|
26
|
+
B as default
|
|
30
27
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DividerColor, BreakpointCustomizable, DividerDirection
|
|
1
|
+
import type { DividerColor, BreakpointCustomizable, DividerDirection } from '../types';
|
|
2
2
|
type PDividerProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Defines color depending on theme.
|
|
@@ -8,18 +8,10 @@ type PDividerProps = {
|
|
|
8
8
|
* Defines direction.
|
|
9
9
|
*/
|
|
10
10
|
direction?: BreakpointCustomizable<DividerDirection>;
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated since v3.0.0, will be removed with next major release, use `direction` instead. Defines orientation.
|
|
13
|
-
*/
|
|
14
|
-
orientation?: BreakpointCustomizable<DividerOrientation>;
|
|
15
|
-
/**
|
|
16
|
-
* Adapts color depending on theme.
|
|
17
|
-
*/
|
|
18
|
-
theme?: Theme;
|
|
19
11
|
};
|
|
20
12
|
declare const __VLS_export: import("vue").DefineComponent<PDividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PDividerProps> & Readonly<{}>, {
|
|
21
|
-
direction: BreakpointCustomizable<DividerDirection>;
|
|
22
13
|
color: DividerColor;
|
|
14
|
+
direction: BreakpointCustomizable<DividerDirection>;
|
|
23
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
16
|
declare const _default: typeof __VLS_export;
|
|
25
17
|
export default _default;
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as s, onMounted as c, onUpdated as a, createBlock as f, openBlock as i, resolveDynamicComponent as d, unref as m } from "vue";
|
|
2
|
+
import { usePrefix as l, syncProperties as u } from "../../utils.mjs";
|
|
3
|
+
const v = /* @__PURE__ */ p({
|
|
4
4
|
__name: "DividerWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
color: { default: "contrast-
|
|
7
|
-
direction: { default: "horizontal" }
|
|
8
|
-
orientation: {},
|
|
9
|
-
theme: {}
|
|
6
|
+
color: { default: "contrast-lower" },
|
|
7
|
+
direction: { default: "horizontal" }
|
|
10
8
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
return
|
|
14
|
-
c(o, { theme: e.theme || r });
|
|
15
|
-
}), (r, k) => (h(), u(_(y(s)), {
|
|
9
|
+
setup(n) {
|
|
10
|
+
const r = l("p-divider"), t = n, e = s(), o = () => u(e, t);
|
|
11
|
+
return c(o), a(o), (_, C) => (i(), f(d(m(r)), {
|
|
16
12
|
ref_key: "pdsComponentRef",
|
|
17
|
-
ref:
|
|
13
|
+
ref: e
|
|
18
14
|
}, null, 512));
|
|
19
15
|
}
|
|
20
16
|
});
|
|
21
17
|
export {
|
|
22
|
-
|
|
18
|
+
v as default
|
|
23
19
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes, DrilldownAriaAttribute
|
|
1
|
+
import type { SelectedAriaAttributes, DrilldownAriaAttribute } from '../types';
|
|
2
2
|
type PDrilldownProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Defines which drilldown-item to be visualized as opened.
|
|
@@ -12,10 +12,6 @@ type PDrilldownProps = {
|
|
|
12
12
|
* If true, the drilldown is visualized as opened.
|
|
13
13
|
*/
|
|
14
14
|
open?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Adapts the drilldown color depending on the theme.
|
|
17
|
-
*/
|
|
18
|
-
theme?: Theme;
|
|
19
15
|
};
|
|
20
16
|
declare var __VLS_8: {};
|
|
21
17
|
type __VLS_Slots = {} & {
|
|
@@ -1,31 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as d, ref as f, onMounted as m, onUpdated as c, createBlock as l, openBlock as u, resolveDynamicComponent as _, unref as C, withCtx as y, renderSlot as w } from "vue";
|
|
2
|
+
import { usePrefix as k, syncProperties as v, addEventListenerToElementRef as n } from "../../utils.mjs";
|
|
3
|
+
const R = /* @__PURE__ */ d({
|
|
4
4
|
__name: "DrilldownWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
activeIdentifier: {},
|
|
7
7
|
aria: {},
|
|
8
|
-
open: { type: Boolean, default: !1 }
|
|
9
|
-
theme: {}
|
|
8
|
+
open: { type: Boolean, default: !1 }
|
|
10
9
|
},
|
|
11
10
|
emits: ["dismiss", "update"],
|
|
12
|
-
setup(
|
|
13
|
-
const
|
|
14
|
-
return
|
|
15
|
-
|
|
16
|
-
}),
|
|
17
|
-
p(e, { theme: t.theme || n });
|
|
18
|
-
}), (n, P) => (C(), y(w(v(d)), {
|
|
11
|
+
setup(r, { emit: s }) {
|
|
12
|
+
const p = k("p-drilldown"), i = r, e = f(), o = s, t = () => v(e, i);
|
|
13
|
+
return m(() => {
|
|
14
|
+
t(), n(e, "dismiss", o), n(e, "update", o);
|
|
15
|
+
}), c(t), (a, x) => (u(), l(_(C(p)), {
|
|
19
16
|
ref_key: "pdsComponentRef",
|
|
20
17
|
ref: e
|
|
21
18
|
}, {
|
|
22
|
-
default:
|
|
23
|
-
|
|
19
|
+
default: y(() => [
|
|
20
|
+
w(a.$slots, "default")
|
|
24
21
|
]),
|
|
25
22
|
_: 3
|
|
26
23
|
}, 512));
|
|
27
24
|
}
|
|
28
25
|
});
|
|
29
26
|
export {
|
|
30
|
-
|
|
27
|
+
R as default
|
|
31
28
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SelectedAriaRole, FieldsetLabelSize, FieldsetState
|
|
1
|
+
import type { SelectedAriaRole, FieldsetLabelSize, FieldsetState } from '../types';
|
|
2
2
|
type PFieldsetProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Add ARIA attributes.
|
|
@@ -24,10 +24,6 @@ type PFieldsetProps = {
|
|
|
24
24
|
* The validation state.
|
|
25
25
|
*/
|
|
26
26
|
state?: FieldsetState;
|
|
27
|
-
/**
|
|
28
|
-
* Adapts color depending on theme.
|
|
29
|
-
*/
|
|
30
|
-
theme?: Theme;
|
|
31
27
|
};
|
|
32
28
|
declare var __VLS_8: {};
|
|
33
29
|
type __VLS_Slots = {} & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as a, ref as p, onMounted as f, onUpdated as l, createBlock as d, openBlock as u, resolveDynamicComponent as m, unref as c, withCtx as i, renderSlot as _ } from "vue";
|
|
2
|
+
import { usePrefix as C, syncProperties as y } from "../../utils.mjs";
|
|
3
|
+
const B = /* @__PURE__ */ a({
|
|
4
4
|
__name: "FieldsetWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
@@ -8,24 +8,21 @@ const R = /* @__PURE__ */ f({
|
|
|
8
8
|
labelSize: { default: "medium" },
|
|
9
9
|
message: { default: "" },
|
|
10
10
|
required: { type: Boolean, default: !1 },
|
|
11
|
-
state: { default: "none" }
|
|
12
|
-
theme: {}
|
|
11
|
+
state: { default: "none" }
|
|
13
12
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
16
|
-
return
|
|
17
|
-
a(t, { theme: e.theme || o });
|
|
18
|
-
}), (o, x) => (h(), i(_(y(p)), {
|
|
13
|
+
setup(o) {
|
|
14
|
+
const n = C("p-fieldset"), r = o, e = p(), t = () => y(e, r);
|
|
15
|
+
return f(t), l(t), (s, b) => (u(), d(m(c(n)), {
|
|
19
16
|
ref_key: "pdsComponentRef",
|
|
20
|
-
ref:
|
|
17
|
+
ref: e
|
|
21
18
|
}, {
|
|
22
|
-
default:
|
|
23
|
-
|
|
19
|
+
default: i(() => [
|
|
20
|
+
_(s.$slots, "default")
|
|
24
21
|
]),
|
|
25
22
|
_: 3
|
|
26
23
|
}, 512));
|
|
27
24
|
}
|
|
28
25
|
});
|
|
29
26
|
export {
|
|
30
|
-
|
|
27
|
+
B as default
|
|
31
28
|
};
|