@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,53 +0,0 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, LinkSocialIcon, LinkSocialTarget, Theme } from '../types';
|
|
2
|
-
type PLinkSocialProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Displays as compact version.
|
|
5
|
-
*/
|
|
6
|
-
compact?: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* Show or hide label.
|
|
9
|
-
*/
|
|
10
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
11
|
-
/**
|
|
12
|
-
* When providing an url then the component will be rendered as `<a>`.
|
|
13
|
-
*/
|
|
14
|
-
href?: string;
|
|
15
|
-
/**
|
|
16
|
-
* The icon shown.
|
|
17
|
-
*/
|
|
18
|
-
icon?: LinkSocialIcon;
|
|
19
|
-
/**
|
|
20
|
-
* A URL path to a custom icon.
|
|
21
|
-
*/
|
|
22
|
-
iconSource?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Specifies the relationship of the target object to the link object.
|
|
25
|
-
*/
|
|
26
|
-
rel?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Target attribute where the link should be opened.
|
|
29
|
-
*/
|
|
30
|
-
target?: LinkSocialTarget;
|
|
31
|
-
/**
|
|
32
|
-
* Adapts the link color when used on dark background.
|
|
33
|
-
*/
|
|
34
|
-
theme?: Theme;
|
|
35
|
-
};
|
|
36
|
-
declare var __VLS_8: {};
|
|
37
|
-
type __VLS_Slots = {} & {
|
|
38
|
-
default?: (props: typeof __VLS_8) => any;
|
|
39
|
-
};
|
|
40
|
-
declare const __VLS_base: import("vue").DefineComponent<PLinkSocialProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PLinkSocialProps> & Readonly<{}>, {
|
|
41
|
-
compact: boolean;
|
|
42
|
-
target: LinkSocialTarget;
|
|
43
|
-
hideLabel: BreakpointCustomizable<boolean>;
|
|
44
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
46
|
-
/** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social icon instead. */
|
|
47
|
-
declare const _default: typeof __VLS_export;
|
|
48
|
-
export default _default;
|
|
49
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
50
|
-
new (): {
|
|
51
|
-
$slots: S;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { defineComponent as s, ref as f, inject as l, onMounted as m, onUpdated as i, watch as d, createBlock as u, openBlock as h, resolveDynamicComponent as _, unref as y, withCtx as C, renderSlot as k } from "vue";
|
|
2
|
-
import { usePrefix as B, themeInjectionKey as b, syncProperties as a } from "../../utils.mjs";
|
|
3
|
-
const P = /* @__PURE__ */ s({
|
|
4
|
-
__name: "LinkSocialWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
compact: { type: Boolean, default: !1 },
|
|
7
|
-
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
8
|
-
href: {},
|
|
9
|
-
icon: {},
|
|
10
|
-
iconSource: {},
|
|
11
|
-
rel: {},
|
|
12
|
-
target: { default: "_self" },
|
|
13
|
-
theme: {}
|
|
14
|
-
},
|
|
15
|
-
setup(c) {
|
|
16
|
-
const p = B("p-link-social"), e = c, t = f(), n = l(b), r = () => a(t, { ...e, theme: e.theme || n.value });
|
|
17
|
-
return m(r), i(r), d(n, (o) => {
|
|
18
|
-
a(t, { theme: e.theme || o });
|
|
19
|
-
}), (o, j) => (h(), u(_(y(p)), {
|
|
20
|
-
ref_key: "pdsComponentRef",
|
|
21
|
-
ref: t
|
|
22
|
-
}, {
|
|
23
|
-
default: C(() => [
|
|
24
|
-
k(o.$slots, "default")
|
|
25
|
-
]),
|
|
26
|
-
_: 3
|
|
27
|
-
}, 512));
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
export {
|
|
31
|
-
P as default
|
|
32
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, LinkTileModelSignatureAspectRatio, LinkTileModelSignatureHeadingTag, LinkTileModelSignatureLinkDirection, LinkTileModelSignatureModel, LinkTileModelSignatureWeight } from '../types';
|
|
2
|
-
type PLinkTileModelSignatureProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Aspect ratio of the link-tile-model-signature.
|
|
5
|
-
*/
|
|
6
|
-
aspectRatio?: BreakpointCustomizable<LinkTileModelSignatureAspectRatio>;
|
|
7
|
-
/**
|
|
8
|
-
* Description text.
|
|
9
|
-
*/
|
|
10
|
-
description?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Heading text.
|
|
13
|
-
*/
|
|
14
|
-
heading: string;
|
|
15
|
-
/**
|
|
16
|
-
* Sets a heading tag, so it fits correctly within the outline of the page.
|
|
17
|
-
*/
|
|
18
|
-
headingTag?: LinkTileModelSignatureHeadingTag;
|
|
19
|
-
/**
|
|
20
|
-
* Defines the direction of the main and cross axis of the links. The default is '{base: ‘column’, xs: ‘row’}' showing buttons vertically stacked on mobile viewports and side-by-side in a horizontal row from breakpoint 'xs'.
|
|
21
|
-
*/
|
|
22
|
-
linkDirection?: BreakpointCustomizable<LinkTileModelSignatureLinkDirection>;
|
|
23
|
-
/**
|
|
24
|
-
* Adapts the model of the component.
|
|
25
|
-
*/
|
|
26
|
-
model?: LinkTileModelSignatureModel;
|
|
27
|
-
/**
|
|
28
|
-
* Adapts the font weight of the heading.
|
|
29
|
-
*/
|
|
30
|
-
weight?: BreakpointCustomizable<LinkTileModelSignatureWeight>;
|
|
31
|
-
};
|
|
32
|
-
declare var __VLS_8: {};
|
|
33
|
-
type __VLS_Slots = {} & {
|
|
34
|
-
default?: (props: typeof __VLS_8) => any;
|
|
35
|
-
};
|
|
36
|
-
declare const __VLS_base: import("vue").DefineComponent<PLinkTileModelSignatureProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PLinkTileModelSignatureProps> & Readonly<{}>, {
|
|
37
|
-
weight: BreakpointCustomizable<LinkTileModelSignatureWeight>;
|
|
38
|
-
headingTag: LinkTileModelSignatureHeadingTag;
|
|
39
|
-
aspectRatio: BreakpointCustomizable<LinkTileModelSignatureAspectRatio>;
|
|
40
|
-
linkDirection: BreakpointCustomizable<LinkTileModelSignatureLinkDirection>;
|
|
41
|
-
model: LinkTileModelSignatureModel;
|
|
42
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
44
|
-
declare const _default: typeof __VLS_export;
|
|
45
|
-
export default _default;
|
|
46
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
47
|
-
new (): {
|
|
48
|
-
$slots: S;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { defineComponent as a, ref as i, onMounted as p, onUpdated as d, createBlock as l, openBlock as f, resolveDynamicComponent as c, unref as u, withCtx as m, renderSlot as g } from "vue";
|
|
2
|
-
import { usePrefix as _, syncProperties as h } from "../../utils.mjs";
|
|
3
|
-
const x = /* @__PURE__ */ a({
|
|
4
|
-
__name: "LinkTileModelSignatureWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
aspectRatio: { default: "3/4" },
|
|
7
|
-
description: {},
|
|
8
|
-
heading: {},
|
|
9
|
-
headingTag: { default: "h2" },
|
|
10
|
-
linkDirection: { default: () => ({ base: "column", xs: "row" }) },
|
|
11
|
-
model: { default: "911" },
|
|
12
|
-
weight: { default: "semi-bold" }
|
|
13
|
-
},
|
|
14
|
-
setup(t) {
|
|
15
|
-
const n = _("p-link-tile-model-signature"), r = t, e = i(), o = () => h(e, r);
|
|
16
|
-
return p(o), d(o), (s, k) => (f(), l(c(u(n)), {
|
|
17
|
-
ref_key: "pdsComponentRef",
|
|
18
|
-
ref: e
|
|
19
|
-
}, {
|
|
20
|
-
default: m(() => [
|
|
21
|
-
g(s.$slots, "default")
|
|
22
|
-
]),
|
|
23
|
-
_: 3
|
|
24
|
-
}, 512));
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
export {
|
|
28
|
-
x as default
|
|
29
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes, MarqueAriaAttribute, MarqueSize, MarqueTarget, MarqueVariant } from '../types';
|
|
2
|
-
type PMarqueProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Add ARIA attributes.
|
|
5
|
-
*/
|
|
6
|
-
aria?: SelectedAriaAttributes<MarqueAriaAttribute>;
|
|
7
|
-
/**
|
|
8
|
-
* When providing an url then the component will be rendered as `<a>`.
|
|
9
|
-
*/
|
|
10
|
-
href?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Adapts sizing of marque.
|
|
13
|
-
*/
|
|
14
|
-
size?: MarqueSize;
|
|
15
|
-
/**
|
|
16
|
-
* Target attribute where the link should be opened.
|
|
17
|
-
*/
|
|
18
|
-
target?: MarqueTarget;
|
|
19
|
-
/**
|
|
20
|
-
* Show/hide trademark sign (only has effect when variant is set to default).
|
|
21
|
-
*/
|
|
22
|
-
trademark?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Shows marque in special editions
|
|
25
|
-
*/
|
|
26
|
-
variant?: MarqueVariant;
|
|
27
|
-
};
|
|
28
|
-
declare const __VLS_export: import("vue").DefineComponent<PMarqueProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PMarqueProps> & Readonly<{}>, {
|
|
29
|
-
size: MarqueSize;
|
|
30
|
-
target: MarqueTarget;
|
|
31
|
-
variant: MarqueVariant;
|
|
32
|
-
trademark: boolean;
|
|
33
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
-
/** @deprecated since v3.0.0, will be removed with next major release. Please use "p-wordmark" instead. */
|
|
35
|
-
declare const _default: typeof __VLS_export;
|
|
36
|
-
export default _default;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { defineComponent as a, ref as p, onMounted as s, onUpdated as f, createBlock as u, openBlock as c, resolveDynamicComponent as m, unref as d } from "vue";
|
|
2
|
-
import { usePrefix as l, syncProperties as i } from "../../utils.mjs";
|
|
3
|
-
const v = /* @__PURE__ */ a({
|
|
4
|
-
__name: "MarqueWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
aria: {},
|
|
7
|
-
href: {},
|
|
8
|
-
size: { default: "responsive" },
|
|
9
|
-
target: { default: "_self" },
|
|
10
|
-
trademark: { type: Boolean, default: !0 },
|
|
11
|
-
variant: { default: "default" }
|
|
12
|
-
},
|
|
13
|
-
setup(r) {
|
|
14
|
-
const t = l("p-marque"), n = r, e = p(), o = () => i(e, n);
|
|
15
|
-
return s(o), f(o), (_, y) => (c(), u(m(d(t)), {
|
|
16
|
-
ref_key: "pdsComponentRef",
|
|
17
|
-
ref: e
|
|
18
|
-
}, null, 512));
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
export {
|
|
22
|
-
v as default
|
|
23
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, RadioButtonWrapperState, Theme } from '../types';
|
|
2
|
-
type PRadioButtonWrapperProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Show or hide label. For better accessibility it's recommended to show the label.
|
|
5
|
-
*/
|
|
6
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
7
|
-
/**
|
|
8
|
-
* The label text.
|
|
9
|
-
*/
|
|
10
|
-
label?: string;
|
|
11
|
-
/**
|
|
12
|
-
* @experimental Disables the radio button and shows a loading indicator.
|
|
13
|
-
*/
|
|
14
|
-
loading?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* The message styled depending on validation state.
|
|
17
|
-
*/
|
|
18
|
-
message?: string;
|
|
19
|
-
/**
|
|
20
|
-
* The validation state.
|
|
21
|
-
*/
|
|
22
|
-
state?: RadioButtonWrapperState;
|
|
23
|
-
/**
|
|
24
|
-
* Adapts the color depending on the theme.
|
|
25
|
-
*/
|
|
26
|
-
theme?: Theme;
|
|
27
|
-
};
|
|
28
|
-
declare var __VLS_8: {};
|
|
29
|
-
type __VLS_Slots = {} & {
|
|
30
|
-
default?: (props: typeof __VLS_8) => any;
|
|
31
|
-
};
|
|
32
|
-
declare const __VLS_base: import("vue").DefineComponent<PRadioButtonWrapperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PRadioButtonWrapperProps> & Readonly<{}>, {
|
|
33
|
-
label: string;
|
|
34
|
-
state: RadioButtonWrapperState;
|
|
35
|
-
hideLabel: BreakpointCustomizable<boolean>;
|
|
36
|
-
loading: boolean;
|
|
37
|
-
message: string;
|
|
38
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
40
|
-
/** @deprecated since v3.30.0, will be removed with next major release. Please use `p-radio-group` instead. */
|
|
41
|
-
declare const _default: typeof __VLS_export;
|
|
42
|
-
export default _default;
|
|
43
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
-
new (): {
|
|
45
|
-
$slots: S;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { defineComponent as f, ref as l, inject as m, onMounted as c, onUpdated as d, watch as u, createBlock as i, openBlock as h, resolveDynamicComponent as y, unref as _, withCtx as C, renderSlot as b } from "vue";
|
|
2
|
-
import { usePrefix as B, themeInjectionKey as w, syncProperties as r } from "../../utils.mjs";
|
|
3
|
-
const k = /* @__PURE__ */ f({
|
|
4
|
-
__name: "RadioButtonWrapperWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
7
|
-
label: { default: "" },
|
|
8
|
-
loading: { type: Boolean, default: !1 },
|
|
9
|
-
message: { default: "" },
|
|
10
|
-
state: { default: "none" },
|
|
11
|
-
theme: {}
|
|
12
|
-
},
|
|
13
|
-
setup(p) {
|
|
14
|
-
const s = B("p-radio-button-wrapper"), e = p, t = l(), n = m(w), a = () => r(t, { ...e, theme: e.theme || n.value });
|
|
15
|
-
return c(a), d(a), u(n, (o) => {
|
|
16
|
-
r(t, { theme: e.theme || o });
|
|
17
|
-
}), (o, R) => (h(), i(y(_(s)), {
|
|
18
|
-
ref_key: "pdsComponentRef",
|
|
19
|
-
ref: t
|
|
20
|
-
}, {
|
|
21
|
-
default: C(() => [
|
|
22
|
-
b(o.$slots, "default")
|
|
23
|
-
]),
|
|
24
|
-
_: 3
|
|
25
|
-
}, 512));
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
export {
|
|
29
|
-
k as default
|
|
30
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import type { SelectWrapperDropdownDirection, BreakpointCustomizable, SelectWrapperState, Theme } from '../types';
|
|
2
|
-
type PSelectWrapperProps = {
|
|
3
|
-
/**
|
|
4
|
-
* The description text.
|
|
5
|
-
*/
|
|
6
|
-
description?: string;
|
|
7
|
-
/**
|
|
8
|
-
* Changes the direction to which the dropdown list appears.
|
|
9
|
-
*/
|
|
10
|
-
dropdownDirection?: SelectWrapperDropdownDirection;
|
|
11
|
-
/**
|
|
12
|
-
* Filters select options by typing a character
|
|
13
|
-
*/
|
|
14
|
-
filter?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Show or hide label. For better accessibility it is recommended to show the label.
|
|
17
|
-
*/
|
|
18
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
19
|
-
/**
|
|
20
|
-
* The label text.
|
|
21
|
-
*/
|
|
22
|
-
label?: string;
|
|
23
|
-
/**
|
|
24
|
-
* The message styled depending on validation state.
|
|
25
|
-
*/
|
|
26
|
-
message?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Forces rendering of native browser select dropdown
|
|
29
|
-
*/
|
|
30
|
-
native?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* The validation state.
|
|
33
|
-
*/
|
|
34
|
-
state?: SelectWrapperState;
|
|
35
|
-
/**
|
|
36
|
-
* Adapts the select color depending on the theme.
|
|
37
|
-
*/
|
|
38
|
-
theme?: Theme;
|
|
39
|
-
};
|
|
40
|
-
declare var __VLS_8: {};
|
|
41
|
-
type __VLS_Slots = {} & {
|
|
42
|
-
default?: (props: typeof __VLS_8) => any;
|
|
43
|
-
};
|
|
44
|
-
declare const __VLS_base: import("vue").DefineComponent<PSelectWrapperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PSelectWrapperProps> & Readonly<{}>, {
|
|
45
|
-
filter: boolean;
|
|
46
|
-
label: string;
|
|
47
|
-
description: string;
|
|
48
|
-
state: SelectWrapperState;
|
|
49
|
-
hideLabel: BreakpointCustomizable<boolean>;
|
|
50
|
-
message: string;
|
|
51
|
-
dropdownDirection: SelectWrapperDropdownDirection;
|
|
52
|
-
native: boolean;
|
|
53
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
54
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
55
|
-
/** @deprecated since v3.29.0, will be removed with next major release. Please use `p-select` instead. */
|
|
56
|
-
declare const _default: typeof __VLS_export;
|
|
57
|
-
export default _default;
|
|
58
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
59
|
-
new (): {
|
|
60
|
-
$slots: S;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { defineComponent as s, ref as f, inject as c, onMounted as d, onUpdated as m, watch as u, createBlock as i, openBlock as h, resolveDynamicComponent as y, unref as _, withCtx as C, renderSlot as w } from "vue";
|
|
2
|
-
import { usePrefix as B, themeInjectionKey as b, syncProperties as r } from "../../utils.mjs";
|
|
3
|
-
const x = /* @__PURE__ */ s({
|
|
4
|
-
__name: "SelectWrapperWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
description: { default: "" },
|
|
7
|
-
dropdownDirection: { default: "auto" },
|
|
8
|
-
filter: { type: Boolean, default: !1 },
|
|
9
|
-
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
10
|
-
label: { default: "" },
|
|
11
|
-
message: { default: "" },
|
|
12
|
-
native: { type: Boolean, default: !1 },
|
|
13
|
-
state: { default: "none" },
|
|
14
|
-
theme: {}
|
|
15
|
-
},
|
|
16
|
-
setup(p) {
|
|
17
|
-
const l = B("p-select-wrapper"), e = p, t = f(), n = c(b), a = () => r(t, { ...e, theme: e.theme || n.value });
|
|
18
|
-
return d(a), m(a), u(n, (o) => {
|
|
19
|
-
r(t, { theme: e.theme || o });
|
|
20
|
-
}), (o, j) => (h(), i(y(_(l)), {
|
|
21
|
-
ref_key: "pdsComponentRef",
|
|
22
|
-
ref: t
|
|
23
|
-
}, {
|
|
24
|
-
default: C(() => [
|
|
25
|
-
w(o.$slots, "default")
|
|
26
|
-
]),
|
|
27
|
-
_: 3
|
|
28
|
-
}, 512));
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
export {
|
|
32
|
-
x as default
|
|
33
|
-
};
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import type { TextFieldWrapperActionIcon, BreakpointCustomizable, TextFieldWrapperState, Theme, TextFieldWrapperUnitPosition } from '../types';
|
|
2
|
-
type PTextFieldWrapperProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Action icon can be set to `locate` for `input type="search"` in order to display an action button.
|
|
5
|
-
*/
|
|
6
|
-
actionIcon?: TextFieldWrapperActionIcon;
|
|
7
|
-
/**
|
|
8
|
-
* Disables the action button and shows a loading indicator. No events will be triggered while loading state is active.
|
|
9
|
-
*/
|
|
10
|
-
actionLoading?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* The description text.
|
|
13
|
-
*/
|
|
14
|
-
description?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Show or hide label and description text. For better accessibility it is recommended to show the label.
|
|
17
|
-
*/
|
|
18
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
19
|
-
/**
|
|
20
|
-
* The label text.
|
|
21
|
-
*/
|
|
22
|
-
label?: string;
|
|
23
|
-
/**
|
|
24
|
-
* The message styled depending on validation state.
|
|
25
|
-
*/
|
|
26
|
-
message?: string;
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated since v3.0.0, will be removed with next major release, use `showCounter` instead. Show or hide max character count.
|
|
29
|
-
*/
|
|
30
|
-
showCharacterCount?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Show or hide max character count.
|
|
33
|
-
*/
|
|
34
|
-
showCounter?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* @experimental Show or hide password toggle for `input type="password"`.
|
|
37
|
-
*/
|
|
38
|
-
showPasswordToggle?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* The validation state.
|
|
41
|
-
*/
|
|
42
|
-
state?: TextFieldWrapperState;
|
|
43
|
-
/**
|
|
44
|
-
* Show search button if wrapped inside a form.
|
|
45
|
-
*/
|
|
46
|
-
submitButton?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Adapts the color depending on the theme.
|
|
49
|
-
*/
|
|
50
|
-
theme?: Theme;
|
|
51
|
-
/**
|
|
52
|
-
* The unit text.
|
|
53
|
-
*/
|
|
54
|
-
unit?: string;
|
|
55
|
-
/**
|
|
56
|
-
* The unit position.
|
|
57
|
-
*/
|
|
58
|
-
unitPosition?: TextFieldWrapperUnitPosition;
|
|
59
|
-
};
|
|
60
|
-
declare var __VLS_8: {};
|
|
61
|
-
type __VLS_Slots = {} & {
|
|
62
|
-
default?: (props: typeof __VLS_8) => any;
|
|
63
|
-
};
|
|
64
|
-
declare const __VLS_base: import("vue").DefineComponent<PTextFieldWrapperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
65
|
-
[x: string]: any;
|
|
66
|
-
}, string, import("vue").PublicProps, Readonly<PTextFieldWrapperProps> & Readonly<{
|
|
67
|
-
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
68
|
-
}>, {
|
|
69
|
-
label: string;
|
|
70
|
-
description: string;
|
|
71
|
-
state: TextFieldWrapperState;
|
|
72
|
-
hideLabel: BreakpointCustomizable<boolean>;
|
|
73
|
-
message: string;
|
|
74
|
-
actionLoading: boolean;
|
|
75
|
-
showCounter: boolean;
|
|
76
|
-
showPasswordToggle: boolean;
|
|
77
|
-
submitButton: boolean;
|
|
78
|
-
unit: string;
|
|
79
|
-
unitPosition: TextFieldWrapperUnitPosition;
|
|
80
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
81
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
82
|
-
/** @deprecated since v3.29.0, will be removed with next major release. Please use one of the specific input components instead: `p-input-date`, `p-input-email`, `p-input-number`, `p-input-password`, `p-input-search`, `p-input-tel`, `p-input-text`, `p-input-time` or `p-input-url`. */
|
|
83
|
-
declare const _default: typeof __VLS_export;
|
|
84
|
-
export default _default;
|
|
85
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
86
|
-
new (): {
|
|
87
|
-
$slots: S;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { defineComponent as i, ref as u, inject as d, onMounted as c, onUpdated as m, watch as h, createBlock as y, openBlock as B, resolveDynamicComponent as C, unref as w, withCtx as _, renderSlot as x } from "vue";
|
|
2
|
-
import { usePrefix as b, themeInjectionKey as g, syncProperties as r, addEventListenerToElementRef as P } from "../../utils.mjs";
|
|
3
|
-
const k = /* @__PURE__ */ i({
|
|
4
|
-
__name: "TextFieldWrapperWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
actionIcon: {},
|
|
7
|
-
actionLoading: { type: Boolean, default: !1 },
|
|
8
|
-
description: { default: "" },
|
|
9
|
-
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
10
|
-
label: { default: "" },
|
|
11
|
-
message: { default: "" },
|
|
12
|
-
showCharacterCount: { type: Boolean },
|
|
13
|
-
showCounter: { type: Boolean, default: !0 },
|
|
14
|
-
showPasswordToggle: { type: Boolean, default: !0 },
|
|
15
|
-
state: { default: "none" },
|
|
16
|
-
submitButton: { type: Boolean, default: !0 },
|
|
17
|
-
theme: {},
|
|
18
|
-
unit: { default: "" },
|
|
19
|
-
unitPosition: { default: "prefix" }
|
|
20
|
-
},
|
|
21
|
-
emits: ["action"],
|
|
22
|
-
setup(s, { emit: l }) {
|
|
23
|
-
const p = b("p-text-field-wrapper"), t = s, e = u(), f = l, n = d(g), a = () => r(e, { ...t, theme: t.theme || n.value });
|
|
24
|
-
return c(() => {
|
|
25
|
-
a(), P(e, "action", f);
|
|
26
|
-
}), m(a), h(n, (o) => {
|
|
27
|
-
r(e, { theme: t.theme || o });
|
|
28
|
-
}), (o, R) => (B(), y(C(w(p)), {
|
|
29
|
-
ref_key: "pdsComponentRef",
|
|
30
|
-
ref: e
|
|
31
|
-
}, {
|
|
32
|
-
default: _(() => [
|
|
33
|
-
x(o.$slots, "default")
|
|
34
|
-
]),
|
|
35
|
-
_: 3
|
|
36
|
-
}, 512));
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
export {
|
|
40
|
-
k as default
|
|
41
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, TextareaWrapperState, Theme } from '../types';
|
|
2
|
-
type PTextareaWrapperProps = {
|
|
3
|
-
/**
|
|
4
|
-
* The description text.
|
|
5
|
-
*/
|
|
6
|
-
description?: string;
|
|
7
|
-
/**
|
|
8
|
-
* Show or hide label. For better accessibility it is recommended to show the label.
|
|
9
|
-
*/
|
|
10
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
11
|
-
/**
|
|
12
|
-
* The label text.
|
|
13
|
-
*/
|
|
14
|
-
label?: string;
|
|
15
|
-
/**
|
|
16
|
-
* The message styled depending on validation state.
|
|
17
|
-
*/
|
|
18
|
-
message?: string;
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated since v3.0.0, will be removed with next major release, use `showCounter` instead. Show or hide max character count.
|
|
21
|
-
*/
|
|
22
|
-
showCharacterCount?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Show or hide max character count.
|
|
25
|
-
*/
|
|
26
|
-
showCounter?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* The validation state.
|
|
29
|
-
*/
|
|
30
|
-
state?: TextareaWrapperState;
|
|
31
|
-
/**
|
|
32
|
-
* Adapts the color depending on the theme.
|
|
33
|
-
*/
|
|
34
|
-
theme?: Theme;
|
|
35
|
-
};
|
|
36
|
-
declare var __VLS_8: {};
|
|
37
|
-
type __VLS_Slots = {} & {
|
|
38
|
-
default?: (props: typeof __VLS_8) => any;
|
|
39
|
-
};
|
|
40
|
-
declare const __VLS_base: import("vue").DefineComponent<PTextareaWrapperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PTextareaWrapperProps> & Readonly<{}>, {
|
|
41
|
-
label: string;
|
|
42
|
-
description: string;
|
|
43
|
-
state: TextareaWrapperState;
|
|
44
|
-
hideLabel: BreakpointCustomizable<boolean>;
|
|
45
|
-
message: string;
|
|
46
|
-
showCounter: boolean;
|
|
47
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
48
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
49
|
-
/** @deprecated since v3.29.0, will be removed with next major release. Please use `p-textarea` instead. */
|
|
50
|
-
declare const _default: typeof __VLS_export;
|
|
51
|
-
export default _default;
|
|
52
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
53
|
-
new (): {
|
|
54
|
-
$slots: S;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { defineComponent as f, ref as l, inject as c, onMounted as m, onUpdated as u, watch as d, createBlock as h, openBlock as i, resolveDynamicComponent as C, unref as y, withCtx as _, renderSlot as w } from "vue";
|
|
2
|
-
import { usePrefix as x, themeInjectionKey as B, syncProperties as r } from "../../utils.mjs";
|
|
3
|
-
const P = /* @__PURE__ */ f({
|
|
4
|
-
__name: "TextareaWrapperWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
description: { default: "" },
|
|
7
|
-
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
8
|
-
label: { default: "" },
|
|
9
|
-
message: { default: "" },
|
|
10
|
-
showCharacterCount: { type: Boolean },
|
|
11
|
-
showCounter: { type: Boolean, default: !0 },
|
|
12
|
-
state: { default: "none" },
|
|
13
|
-
theme: {}
|
|
14
|
-
},
|
|
15
|
-
setup(p) {
|
|
16
|
-
const s = x("p-textarea-wrapper"), e = p, t = l(), n = c(B), a = () => r(t, { ...e, theme: e.theme || n.value });
|
|
17
|
-
return m(a), u(a), d(n, (o) => {
|
|
18
|
-
r(t, { theme: e.theme || o });
|
|
19
|
-
}), (o, b) => (i(), h(C(y(s)), {
|
|
20
|
-
ref_key: "pdsComponentRef",
|
|
21
|
-
ref: t
|
|
22
|
-
}, {
|
|
23
|
-
default: _(() => [
|
|
24
|
-
w(o.$slots, "default")
|
|
25
|
-
]),
|
|
26
|
-
_: 3
|
|
27
|
-
}, 512));
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
export {
|
|
31
|
-
P as default
|
|
32
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|