@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,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as l, ref as f, onMounted as s, onUpdated as p, createBlock as d, openBlock as c, resolveDynamicComponent as u, unref as i, withCtx as m, renderSlot as y } from "vue";
|
|
2
|
+
import { usePrefix as _, syncProperties as h } from "../../utils.mjs";
|
|
3
|
+
const k = /* @__PURE__ */ l({
|
|
4
4
|
__name: "LinkPureWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
active: { type: Boolean, default: !1 },
|
|
@@ -15,25 +15,21 @@ const P = /* @__PURE__ */ s({
|
|
|
15
15
|
size: { default: "small" },
|
|
16
16
|
stretch: { type: [Boolean, Object], default: !1 },
|
|
17
17
|
target: { default: "_self" },
|
|
18
|
-
|
|
19
|
-
underline: { type: Boolean, default: !1 },
|
|
20
|
-
weight: { default: "regular" }
|
|
18
|
+
underline: { type: Boolean, default: !1 }
|
|
21
19
|
},
|
|
22
|
-
setup(
|
|
23
|
-
const
|
|
24
|
-
return
|
|
25
|
-
r(t, { theme: e.theme || o });
|
|
26
|
-
}), (o, b) => (h(), m(y(_(f)), {
|
|
20
|
+
setup(t) {
|
|
21
|
+
const n = _("p-link-pure"), a = t, e = f(), o = () => h(e, a);
|
|
22
|
+
return s(o), p(o), (r, B) => (c(), d(u(i(n)), {
|
|
27
23
|
ref_key: "pdsComponentRef",
|
|
28
|
-
ref:
|
|
24
|
+
ref: e
|
|
29
25
|
}, {
|
|
30
|
-
default:
|
|
31
|
-
|
|
26
|
+
default: m(() => [
|
|
27
|
+
y(r.$slots, "default")
|
|
32
28
|
]),
|
|
33
29
|
_: 3
|
|
34
30
|
}, 512));
|
|
35
31
|
}
|
|
36
32
|
});
|
|
37
33
|
export {
|
|
38
|
-
|
|
34
|
+
k as default
|
|
39
35
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, LinkTileProductAspectRatio,
|
|
1
|
+
import type { BreakpointCustomizable, LinkTileProductAspectRatio, LinkTileProductLikeEventDetail, LinkTileProductTarget } from '../types';
|
|
2
2
|
type PLinkTileProductProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Aspect ratio of the link-tile-product.
|
|
@@ -40,19 +40,15 @@ type PLinkTileProductProps = {
|
|
|
40
40
|
* Target attribute where the link should be opened.
|
|
41
41
|
*/
|
|
42
42
|
target?: LinkTileProductTarget;
|
|
43
|
-
/**
|
|
44
|
-
* Adapts the link-tile-product color depending on the theme.
|
|
45
|
-
*/
|
|
46
|
-
theme?: Theme;
|
|
47
43
|
};
|
|
48
44
|
declare var __VLS_8: {};
|
|
49
45
|
type __VLS_Slots = {} & {
|
|
50
46
|
default?: (props: typeof __VLS_8) => any;
|
|
51
47
|
};
|
|
52
48
|
declare const __VLS_base: import("vue").DefineComponent<PLinkTileProductProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
53
|
-
like: (value:
|
|
49
|
+
like: (value: LinkTileProductLikeEventDetail) => any;
|
|
54
50
|
}, string, import("vue").PublicProps, Readonly<PLinkTileProductProps> & Readonly<{
|
|
55
|
-
onLike?: ((value:
|
|
51
|
+
onLike?: ((value: LinkTileProductLikeEventDetail) => any) | undefined;
|
|
56
52
|
}>, {
|
|
57
53
|
target: LinkTileProductTarget;
|
|
58
54
|
aspectRatio: BreakpointCustomizable<LinkTileProductAspectRatio>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as l, ref as a, onMounted as f, onUpdated as c, createBlock as d, openBlock as u, resolveDynamicComponent as m, unref as k, withCtx as _, renderSlot as y } from "vue";
|
|
2
|
+
import { usePrefix as C, syncProperties as B, addEventListenerToElementRef as g } from "../../utils.mjs";
|
|
3
|
+
const x = /* @__PURE__ */ l({
|
|
4
4
|
__name: "LinkTileProductWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
aspectRatio: { default: "3
|
|
6
|
+
aspectRatio: { default: "3/4" },
|
|
7
7
|
description: {},
|
|
8
8
|
heading: {},
|
|
9
9
|
href: {},
|
|
@@ -12,27 +12,24 @@ const j = /* @__PURE__ */ c({
|
|
|
12
12
|
price: {},
|
|
13
13
|
priceOriginal: {},
|
|
14
14
|
rel: {},
|
|
15
|
-
target: { default: "_self" }
|
|
16
|
-
theme: {}
|
|
15
|
+
target: { default: "_self" }
|
|
17
16
|
},
|
|
18
17
|
emits: ["like"],
|
|
19
|
-
setup(
|
|
20
|
-
const
|
|
21
|
-
return
|
|
22
|
-
|
|
23
|
-
}),
|
|
24
|
-
i(e, { theme: t.theme || o });
|
|
25
|
-
}), (o, w) => (_(), k(y(C(a)), {
|
|
18
|
+
setup(o, { emit: n }) {
|
|
19
|
+
const r = C("p-link-tile-product"), p = o, e = a(), i = n, t = () => B(e, p);
|
|
20
|
+
return f(() => {
|
|
21
|
+
t(), g(e, "like", i);
|
|
22
|
+
}), c(t), (s, h) => (u(), d(m(k(r)), {
|
|
26
23
|
ref_key: "pdsComponentRef",
|
|
27
24
|
ref: e
|
|
28
25
|
}, {
|
|
29
|
-
default:
|
|
30
|
-
|
|
26
|
+
default: _(() => [
|
|
27
|
+
y(s.$slots, "default")
|
|
31
28
|
]),
|
|
32
29
|
_: 3
|
|
33
30
|
}, 512));
|
|
34
31
|
}
|
|
35
32
|
});
|
|
36
33
|
export {
|
|
37
|
-
|
|
34
|
+
x as default
|
|
38
35
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LinkTileAlign, SelectedAriaAttributes, LinkTileAriaAttribute, BreakpointCustomizable, LinkTileAspectRatio,
|
|
1
|
+
import type { LinkTileAlign, SelectedAriaAttributes, LinkTileAriaAttribute, BreakpointCustomizable, LinkTileAspectRatio, LinkTileSize, LinkTileTarget, LinkTileWeight } from '../types';
|
|
2
2
|
type PLinkTileProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Alignment of link and description.
|
|
@@ -12,10 +12,6 @@ type PLinkTileProps = {
|
|
|
12
12
|
* Aspect ratio of the link-tile.
|
|
13
13
|
*/
|
|
14
14
|
aspectRatio?: BreakpointCustomizable<LinkTileAspectRatio>;
|
|
15
|
-
/**
|
|
16
|
-
* Adapts the description and link theme when used on light background image.
|
|
17
|
-
*/
|
|
18
|
-
background?: LinkTileBackground;
|
|
19
15
|
/**
|
|
20
16
|
* Displays the link-tile as compact version with description and link icon only.
|
|
21
17
|
*/
|
|
@@ -68,7 +64,6 @@ declare const __VLS_base: import("vue").DefineComponent<PLinkTileProps, {}, {},
|
|
|
68
64
|
target: LinkTileTarget;
|
|
69
65
|
align: LinkTileAlign;
|
|
70
66
|
aspectRatio: BreakpointCustomizable<LinkTileAspectRatio>;
|
|
71
|
-
background: LinkTileBackground;
|
|
72
67
|
gradient: boolean;
|
|
73
68
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
74
69
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { defineComponent as l, ref as p, onMounted as
|
|
2
|
-
import { usePrefix as
|
|
1
|
+
import { defineComponent as l, ref as p, onMounted as s, onUpdated as f, createBlock as d, openBlock as i, resolveDynamicComponent as c, unref as m, withCtx as u, renderSlot as _ } from "vue";
|
|
2
|
+
import { usePrefix as y, syncProperties as C } from "../../utils.mjs";
|
|
3
3
|
const h = /* @__PURE__ */ l({
|
|
4
4
|
__name: "LinkTileWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
align: { default: "bottom" },
|
|
7
7
|
aria: {},
|
|
8
8
|
aspectRatio: { default: "4/3" },
|
|
9
|
-
background: { default: "dark" },
|
|
10
9
|
compact: { type: [Boolean, Object], default: !1 },
|
|
11
10
|
description: {},
|
|
12
11
|
download: {},
|
|
13
|
-
gradient: { type: Boolean, default: !
|
|
12
|
+
gradient: { type: Boolean, default: !1 },
|
|
14
13
|
href: {},
|
|
15
14
|
label: {},
|
|
16
15
|
rel: {},
|
|
@@ -19,12 +18,12 @@ const h = /* @__PURE__ */ l({
|
|
|
19
18
|
weight: { default: "semi-bold" }
|
|
20
19
|
},
|
|
21
20
|
setup(o) {
|
|
22
|
-
const n =
|
|
23
|
-
return
|
|
21
|
+
const n = y("p-link-tile"), a = o, e = p(), t = () => C(e, a);
|
|
22
|
+
return s(t), f(t), (r, b) => (i(), d(c(m(n)), {
|
|
24
23
|
ref_key: "pdsComponentRef",
|
|
25
24
|
ref: e
|
|
26
25
|
}, {
|
|
27
|
-
default:
|
|
26
|
+
default: u(() => [
|
|
28
27
|
_(r.$slots, "default")
|
|
29
28
|
]),
|
|
30
29
|
_: 3
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes, LinkAriaAttribute, BreakpointCustomizable, LinkIcon, LinkTarget,
|
|
1
|
+
import type { SelectedAriaAttributes, LinkAriaAttribute, BreakpointCustomizable, LinkIcon, LinkTarget, LinkVariant } from '../types';
|
|
2
2
|
type PLinkProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Add ARIA attributes.
|
|
@@ -36,10 +36,6 @@ type PLinkProps = {
|
|
|
36
36
|
* Target attribute where the link should be opened.
|
|
37
37
|
*/
|
|
38
38
|
target?: LinkTarget;
|
|
39
|
-
/**
|
|
40
|
-
* Adapts the link color when used on dark background.
|
|
41
|
-
*/
|
|
42
|
-
theme?: Theme;
|
|
43
39
|
/**
|
|
44
40
|
* The style variant of the link.
|
|
45
41
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as f, onMounted as s, onUpdated as l, createBlock as c, openBlock as d, resolveDynamicComponent as i, unref as u, withCtx as m, renderSlot as _ } from "vue";
|
|
2
|
+
import { usePrefix as y, syncProperties as C } from "../../utils.mjs";
|
|
3
|
+
const B = /* @__PURE__ */ p({
|
|
4
4
|
__name: "LinkWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
@@ -12,24 +12,21 @@ const x = /* @__PURE__ */ f({
|
|
|
12
12
|
iconSource: {},
|
|
13
13
|
rel: {},
|
|
14
14
|
target: { default: "_self" },
|
|
15
|
-
theme: {},
|
|
16
15
|
variant: { default: "primary" }
|
|
17
16
|
},
|
|
18
|
-
setup(
|
|
19
|
-
const
|
|
20
|
-
return
|
|
21
|
-
a(t, { theme: e.theme || o });
|
|
22
|
-
}), (o, w) => (h(), u(y(_(c)), {
|
|
17
|
+
setup(t) {
|
|
18
|
+
const n = y("p-link"), r = t, e = f(), o = () => C(e, r);
|
|
19
|
+
return s(o), l(o), (a, k) => (d(), c(i(u(n)), {
|
|
23
20
|
ref_key: "pdsComponentRef",
|
|
24
|
-
ref:
|
|
21
|
+
ref: e
|
|
25
22
|
}, {
|
|
26
|
-
default:
|
|
27
|
-
|
|
23
|
+
default: m(() => [
|
|
24
|
+
_(a.$slots, "default")
|
|
28
25
|
]),
|
|
29
26
|
_: 3
|
|
30
27
|
}, 512));
|
|
31
28
|
}
|
|
32
29
|
});
|
|
33
30
|
export {
|
|
34
|
-
|
|
31
|
+
B as default
|
|
35
32
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes, ModalAriaAttribute, ModalBackdrop,
|
|
1
|
+
import type { SelectedAriaAttributes, ModalAriaAttribute, ModalBackdrop, ModalBackground, BreakpointCustomizable } from '../types';
|
|
2
2
|
type PModalProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Add ARIA attributes.
|
|
@@ -9,14 +9,13 @@ type PModalProps = {
|
|
|
9
9
|
*/
|
|
10
10
|
backdrop?: ModalBackdrop;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Defines the background color
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
background?: ModalBackground;
|
|
15
15
|
/**
|
|
16
|
-
* If true, the modal will not
|
|
17
|
-
* @deprecated since v3.0.0, will be removed with next major release, use `dismissButton` instead.
|
|
16
|
+
* If true, the modal will not be closable via backdrop click.
|
|
18
17
|
*/
|
|
19
|
-
|
|
18
|
+
disableBackdropClick?: boolean;
|
|
20
19
|
/**
|
|
21
20
|
* If false, the modal will not have a dismiss button.
|
|
22
21
|
*/
|
|
@@ -25,18 +24,10 @@ type PModalProps = {
|
|
|
25
24
|
* If true the modal uses max viewport height and width. Should only be used for mobile.
|
|
26
25
|
*/
|
|
27
26
|
fullscreen?: BreakpointCustomizable<boolean>;
|
|
28
|
-
/**
|
|
29
|
-
* @deprecated since v3.0.0, will be removed with next major release, use `header` slot instead The title of the modal
|
|
30
|
-
*/
|
|
31
|
-
heading?: string;
|
|
32
27
|
/**
|
|
33
28
|
* If true, the modal is open.
|
|
34
29
|
*/
|
|
35
30
|
open: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Adapts the modal color depending on the theme.
|
|
38
|
-
*/
|
|
39
|
-
theme?: Theme;
|
|
40
31
|
};
|
|
41
32
|
declare var __VLS_8: {};
|
|
42
33
|
type __VLS_Slots = {} & {
|
|
@@ -50,6 +41,7 @@ declare const __VLS_base: import("vue").DefineComponent<PModalProps, {}, {}, {},
|
|
|
50
41
|
open: boolean;
|
|
51
42
|
dismissButton: boolean;
|
|
52
43
|
backdrop: ModalBackdrop;
|
|
44
|
+
background: ModalBackground;
|
|
53
45
|
disableBackdropClick: boolean;
|
|
54
46
|
fullscreen: BreakpointCustomizable<boolean>;
|
|
55
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,31 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const P = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as l, ref as p, onMounted as f, onUpdated as m, createBlock as c, openBlock as u, resolveDynamicComponent as b, unref as y, withCtx as B, renderSlot as k } from "vue";
|
|
2
|
+
import { usePrefix as C, syncProperties as _, addEventListenerToElementRef as n } from "../../utils.mjs";
|
|
3
|
+
const P = /* @__PURE__ */ l({
|
|
4
4
|
__name: "ModalWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
7
7
|
backdrop: { default: "blur" },
|
|
8
|
+
background: { default: "canvas" },
|
|
8
9
|
disableBackdropClick: { type: Boolean, default: !1 },
|
|
9
|
-
disableCloseButton: { type: Boolean },
|
|
10
10
|
dismissButton: { type: Boolean, default: !0 },
|
|
11
11
|
fullscreen: { type: [Boolean, Object], default: !1 },
|
|
12
|
-
|
|
13
|
-
open: { type: Boolean, default: !1 },
|
|
14
|
-
theme: {}
|
|
12
|
+
open: { type: Boolean, default: !1 }
|
|
15
13
|
},
|
|
16
|
-
emits: ["
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
19
|
-
return
|
|
20
|
-
|
|
21
|
-
}),
|
|
22
|
-
d(e, { theme: n.theme || s });
|
|
23
|
-
}), (s, v) => (b(), B(C(_(m)), {
|
|
14
|
+
emits: ["dismiss", "motionHiddenEnd", "motionVisibleEnd"],
|
|
15
|
+
setup(s, { emit: a }) {
|
|
16
|
+
const d = C("p-modal"), r = s, e = p(), o = a, t = () => _(e, r);
|
|
17
|
+
return f(() => {
|
|
18
|
+
t(), n(e, "dismiss", o), n(e, "motionHiddenEnd", o), n(e, "motionVisibleEnd", o);
|
|
19
|
+
}), m(t), (i, E) => (u(), c(b(y(d)), {
|
|
24
20
|
ref_key: "pdsComponentRef",
|
|
25
21
|
ref: e
|
|
26
22
|
}, {
|
|
27
|
-
default:
|
|
28
|
-
|
|
23
|
+
default: B(() => [
|
|
24
|
+
k(i.$slots, "default")
|
|
29
25
|
]),
|
|
30
26
|
_: 3
|
|
31
27
|
}, 512));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ModelSignatureColor, ModelSignatureFetchPriority, ModelSignatureModel, ModelSignatureSize
|
|
1
|
+
import type { ModelSignatureColor, ModelSignatureFetchPriority, ModelSignatureModel, ModelSignatureSize } from '../types';
|
|
2
2
|
type PModelSignatureProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Adapts the color of the component.
|
|
@@ -24,10 +24,6 @@ type PModelSignatureProps = {
|
|
|
24
24
|
* Adapts the size of the component. When set to `inherit` a CSS `width` or `height` needs to be defined on the host but not both.
|
|
25
25
|
*/
|
|
26
26
|
size?: ModelSignatureSize;
|
|
27
|
-
/**
|
|
28
|
-
* Adapts color depending on theme.
|
|
29
|
-
*/
|
|
30
|
-
theme?: Theme;
|
|
31
27
|
};
|
|
32
28
|
declare var __VLS_8: {};
|
|
33
29
|
type __VLS_Slots = {} & {
|
|
@@ -36,9 +32,9 @@ type __VLS_Slots = {} & {
|
|
|
36
32
|
declare const __VLS_base: import("vue").DefineComponent<PModelSignatureProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PModelSignatureProps> & Readonly<{}>, {
|
|
37
33
|
size: ModelSignatureSize;
|
|
38
34
|
color: ModelSignatureColor;
|
|
35
|
+
fetchPriority: ModelSignatureFetchPriority;
|
|
39
36
|
lazy: boolean;
|
|
40
37
|
model: ModelSignatureModel;
|
|
41
|
-
fetchPriority: ModelSignatureFetchPriority;
|
|
42
38
|
safeZone: boolean;
|
|
43
39
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
44
40
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as p, ref as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as s, onMounted as l, onUpdated as f, createBlock as d, openBlock as u, resolveDynamicComponent as c, unref as m, withCtx as i, renderSlot as y } from "vue";
|
|
2
|
+
import { usePrefix as _, syncProperties as C } from "../../utils.mjs";
|
|
3
|
+
const h = /* @__PURE__ */ p({
|
|
4
4
|
__name: "ModelSignatureWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
color: { default: "primary" },
|
|
@@ -8,24 +8,21 @@ const R = /* @__PURE__ */ p({
|
|
|
8
8
|
lazy: { type: Boolean, default: !1 },
|
|
9
9
|
model: { default: "911" },
|
|
10
10
|
safeZone: { type: Boolean, default: !0 },
|
|
11
|
-
size: { default: "small" }
|
|
12
|
-
theme: {}
|
|
11
|
+
size: { default: "small" }
|
|
13
12
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
16
|
-
return
|
|
17
|
-
a(t, { theme: e.theme || o });
|
|
18
|
-
}), (o, k) => (h(), i(y(_(l)), {
|
|
13
|
+
setup(t) {
|
|
14
|
+
const n = _("p-model-signature"), r = t, e = s(), o = () => C(e, r);
|
|
15
|
+
return l(o), f(o), (a, B) => (u(), d(c(m(n)), {
|
|
19
16
|
ref_key: "pdsComponentRef",
|
|
20
|
-
ref:
|
|
17
|
+
ref: e
|
|
21
18
|
}, {
|
|
22
|
-
default:
|
|
23
|
-
|
|
19
|
+
default: i(() => [
|
|
20
|
+
y(a.$slots, "default")
|
|
24
21
|
]),
|
|
25
22
|
_: 3
|
|
26
23
|
}, 512));
|
|
27
24
|
}
|
|
28
25
|
});
|
|
29
26
|
export {
|
|
30
|
-
|
|
27
|
+
h as default
|
|
31
28
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MultiSelectDropdownDirection, BreakpointCustomizable, MultiSelectState
|
|
1
|
+
import type { MultiSelectDropdownDirection, BreakpointCustomizable, MultiSelectState } from '../types';
|
|
2
2
|
type PMultiSelectProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Displays as compact version.
|
|
@@ -44,10 +44,6 @@ type PMultiSelectProps = {
|
|
|
44
44
|
* The validation state.
|
|
45
45
|
*/
|
|
46
46
|
state?: MultiSelectState;
|
|
47
|
-
/**
|
|
48
|
-
* Adapts the multi-select color depending on the theme.
|
|
49
|
-
*/
|
|
50
|
-
theme?: Theme;
|
|
51
47
|
/**
|
|
52
48
|
* The selected values.
|
|
53
49
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as u, onMounted as f, onUpdated as c, createBlock as i, openBlock as m, resolveDynamicComponent as g, unref as y, withCtx as b, renderSlot as _ } from "vue";
|
|
2
|
+
import { usePrefix as v, syncProperties as B, addEventListenerToElementRef as a } from "../../utils.mjs";
|
|
3
|
+
const w = /* @__PURE__ */ p({
|
|
4
4
|
__name: "MultiSelectWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
compact: { type: Boolean, default: !1 },
|
|
@@ -14,29 +14,26 @@ const P = /* @__PURE__ */ f({
|
|
|
14
14
|
name: {},
|
|
15
15
|
required: { type: Boolean, default: !1 },
|
|
16
16
|
state: { default: "none" },
|
|
17
|
-
theme: {},
|
|
18
17
|
value: { default: () => [] }
|
|
19
18
|
},
|
|
20
|
-
emits: ["update:value", "blur", "change", "
|
|
21
|
-
setup(
|
|
22
|
-
const
|
|
23
|
-
return
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}),
|
|
27
|
-
}),
|
|
28
|
-
s(e, { theme: a.theme || t });
|
|
29
|
-
}), (t, j) => (v(), b(_(B(p)), {
|
|
19
|
+
emits: ["update:value", "blur", "change", "toggle"],
|
|
20
|
+
setup(l, { emit: r }) {
|
|
21
|
+
const s = v("p-multi-select"), d = l, e = u(), t = r, n = () => B(e, d);
|
|
22
|
+
return f(() => {
|
|
23
|
+
n(), a(e, "blur", t), a(e, "change", t, (o) => {
|
|
24
|
+
t("update:value", o.target.value);
|
|
25
|
+
}), a(e, "toggle", t);
|
|
26
|
+
}), c(n), (o, C) => (m(), i(g(y(s)), {
|
|
30
27
|
ref_key: "pdsComponentRef",
|
|
31
28
|
ref: e
|
|
32
29
|
}, {
|
|
33
|
-
default:
|
|
34
|
-
|
|
30
|
+
default: b(() => [
|
|
31
|
+
_(o.$slots, "default")
|
|
35
32
|
]),
|
|
36
33
|
_: 3
|
|
37
34
|
}, 512));
|
|
38
35
|
}
|
|
39
36
|
});
|
|
40
37
|
export {
|
|
41
|
-
|
|
38
|
+
w as default
|
|
42
39
|
};
|
|
@@ -1,25 +1,9 @@
|
|
|
1
|
-
import type { PaginationInternationalization,
|
|
1
|
+
import type { PaginationInternationalization, PaginationUpdateEventDetail } from '../types';
|
|
2
2
|
type PPaginationProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Index of the currently active page.
|
|
5
5
|
*/
|
|
6
6
|
activePage: number;
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated since v3.0.0, will be removed with next major release, use `intl.root` instead. Aria label what the pagination is used for.
|
|
9
|
-
*/
|
|
10
|
-
allyLabel?: string;
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated since v3.0.0, will be removed with next major release, use `intl.next` instead. Aria label for next page icon.
|
|
13
|
-
*/
|
|
14
|
-
allyLabelNext?: string;
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated since v3.0.0, will be removed with next major release, use `intl.page` instead. Aria label for page navigation.
|
|
17
|
-
*/
|
|
18
|
-
allyLabelPage?: string;
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated since v3.0.0, will be removed with next major release, use `intl.prev` instead. Aria label for previous page icon.
|
|
21
|
-
*/
|
|
22
|
-
allyLabelPrev?: string;
|
|
23
7
|
/**
|
|
24
8
|
* Override the default wordings that are used for aria-labels on the next/prev and page buttons.
|
|
25
9
|
*/
|
|
@@ -28,30 +12,19 @@ type PPaginationProps = {
|
|
|
28
12
|
* The total count of items which should be shown per page.
|
|
29
13
|
*/
|
|
30
14
|
itemsPerPage?: number;
|
|
31
|
-
/**
|
|
32
|
-
* Has no effect anymore
|
|
33
|
-
* @deprecated since v3.10.0, will be removed with next major release
|
|
34
|
-
*/
|
|
35
|
-
maxNumberOfPageLinks?: BreakpointCustomizable<PaginationMaxNumberOfPageLinks>;
|
|
36
15
|
/**
|
|
37
16
|
* Show or hide the button to jump to the last page.
|
|
38
17
|
*/
|
|
39
18
|
showLastPage?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Adapts the color when used on dark background.
|
|
42
|
-
*/
|
|
43
|
-
theme?: Theme;
|
|
44
19
|
/**
|
|
45
20
|
* The total count of items.
|
|
46
21
|
*/
|
|
47
22
|
totalItemsCount: number;
|
|
48
23
|
};
|
|
49
24
|
declare const __VLS_export: import("vue").DefineComponent<PPaginationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
50
|
-
update: (value:
|
|
51
|
-
pageChange: (value: import("../types").PaginationUpdateEvent) => any;
|
|
25
|
+
update: (value: PaginationUpdateEventDetail) => any;
|
|
52
26
|
}, string, import("vue").PublicProps, Readonly<PPaginationProps> & Readonly<{
|
|
53
|
-
onUpdate?: ((value:
|
|
54
|
-
onPageChange?: ((value: import("../types").PaginationUpdateEvent) => any) | undefined;
|
|
27
|
+
onUpdate?: ((value: PaginationUpdateEventDetail) => any) | undefined;
|
|
55
28
|
}>, {
|
|
56
29
|
intl: PaginationInternationalization;
|
|
57
30
|
activePage: number;
|
|
@@ -1,33 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as s, ref as i, onMounted as f, onUpdated as m, createBlock as u, openBlock as c, resolveDynamicComponent as d, unref as l } from "vue";
|
|
2
|
+
import { usePrefix as g, syncProperties as P, addEventListenerToElementRef as _ } from "../../utils.mjs";
|
|
3
|
+
const k = /* @__PURE__ */ s({
|
|
4
4
|
__name: "PaginationWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
activePage: { default: 1 },
|
|
7
|
-
allyLabel: {},
|
|
8
|
-
allyLabelNext: {},
|
|
9
|
-
allyLabelPage: {},
|
|
10
|
-
allyLabelPrev: {},
|
|
11
7
|
intl: { default: () => ({ root: "Pagination", prev: "Previous page", next: "Next page", page: "Page" }) },
|
|
12
8
|
itemsPerPage: { default: 1 },
|
|
13
|
-
maxNumberOfPageLinks: {},
|
|
14
9
|
showLastPage: { type: Boolean, default: !0 },
|
|
15
|
-
theme: {},
|
|
16
10
|
totalItemsCount: { default: 1 }
|
|
17
11
|
},
|
|
18
|
-
emits: ["
|
|
19
|
-
setup(
|
|
20
|
-
const
|
|
21
|
-
return
|
|
22
|
-
|
|
23
|
-
}),
|
|
24
|
-
r(e, { theme: t.theme || p });
|
|
25
|
-
}), (p, _) => (y(), h(C(v(i)), {
|
|
12
|
+
emits: ["update"],
|
|
13
|
+
setup(o, { emit: n }) {
|
|
14
|
+
const a = g("p-pagination"), p = o, e = i(), r = n, t = () => P(e, p);
|
|
15
|
+
return f(() => {
|
|
16
|
+
t(), _(e, "update", r);
|
|
17
|
+
}), m(t), (C, v) => (c(), u(d(l(a)), {
|
|
26
18
|
ref_key: "pdsComponentRef",
|
|
27
19
|
ref: e
|
|
28
20
|
}, null, 512));
|
|
29
21
|
}
|
|
30
22
|
});
|
|
31
23
|
export {
|
|
32
|
-
|
|
24
|
+
k as default
|
|
33
25
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, PinCodeLength, PinCodeState,
|
|
1
|
+
import type { BreakpointCustomizable, PinCodeLength, PinCodeState, PinCodeType } from '../types';
|
|
2
2
|
type PPinCodeProps = {
|
|
3
3
|
/**
|
|
4
4
|
* A boolean value that, if present, renders the pin-code as a compact version.
|
|
@@ -48,10 +48,6 @@ type PPinCodeProps = {
|
|
|
48
48
|
* The validation state.
|
|
49
49
|
*/
|
|
50
50
|
state?: PinCodeState;
|
|
51
|
-
/**
|
|
52
|
-
* Adapts the color depending on the theme.
|
|
53
|
-
*/
|
|
54
|
-
theme?: Theme;
|
|
55
51
|
/**
|
|
56
52
|
* Pin Code type.
|
|
57
53
|
*/
|