@porsche-design-system/components-vue 3.31.0-rc.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 +252 -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,47 +0,0 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, CheckboxWrapperState, Theme } from '../types';
|
|
2
|
-
type PCheckboxWrapperProps = {
|
|
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 checkbox 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?: CheckboxWrapperState;
|
|
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<PCheckboxWrapperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PCheckboxWrapperProps> & Readonly<{}>, {
|
|
33
|
-
label: string;
|
|
34
|
-
state: CheckboxWrapperState;
|
|
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.29.0, will be removed with next major release. Please use `p-checkbox` 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 c, ref as f, inject as l, onMounted as m, onUpdated as d, watch as u, createBlock as h, openBlock as i, resolveDynamicComponent as y, unref as C, withCtx as _, renderSlot as b } from "vue";
|
|
2
|
-
import { usePrefix as k, themeInjectionKey as x, syncProperties as r } from "../../utils.mjs";
|
|
3
|
-
const j = /* @__PURE__ */ c({
|
|
4
|
-
__name: "CheckboxWrapperWrapper",
|
|
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 = k("p-checkbox-wrapper"), e = p, t = f(), n = l(x), a = () => r(t, { ...e, theme: e.theme || n.value });
|
|
15
|
-
return m(a), d(a), u(n, (o) => {
|
|
16
|
-
r(t, { theme: e.theme || o });
|
|
17
|
-
}), (o, w) => (i(), h(y(C(s)), {
|
|
18
|
-
ref_key: "pdsComponentRef",
|
|
19
|
-
ref: t
|
|
20
|
-
}, {
|
|
21
|
-
default: _(() => [
|
|
22
|
-
b(o.$slots, "default")
|
|
23
|
-
]),
|
|
24
|
-
_: 3
|
|
25
|
-
}, 512));
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
export {
|
|
29
|
-
j as default
|
|
30
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { ContentWrapperBackgroundColor, Theme, ContentWrapperWidth } from '../types';
|
|
2
|
-
type PContentWrapperProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Has no effect anymore
|
|
5
|
-
* @deprecated since v3.0.0, will be removed with next major release
|
|
6
|
-
*/
|
|
7
|
-
backgroundColor?: ContentWrapperBackgroundColor;
|
|
8
|
-
/**
|
|
9
|
-
* Has no effect anymore
|
|
10
|
-
* @deprecated since v3.0.0, will be removed with next major release
|
|
11
|
-
*/
|
|
12
|
-
theme?: Theme;
|
|
13
|
-
/**
|
|
14
|
-
* Defines the outer spacings between the content area and the left and right screen sides, as well as centering its content and setting a max-width.
|
|
15
|
-
*/
|
|
16
|
-
width?: ContentWrapperWidth;
|
|
17
|
-
};
|
|
18
|
-
declare var __VLS_8: {};
|
|
19
|
-
type __VLS_Slots = {} & {
|
|
20
|
-
default?: (props: typeof __VLS_8) => any;
|
|
21
|
-
};
|
|
22
|
-
declare const __VLS_base: import("vue").DefineComponent<PContentWrapperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PContentWrapperProps> & Readonly<{}>, {
|
|
23
|
-
width: ContentWrapperWidth;
|
|
24
|
-
backgroundColor: ContentWrapperBackgroundColor;
|
|
25
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
-
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
|
|
28
|
-
declare const _default: typeof __VLS_export;
|
|
29
|
-
export default _default;
|
|
30
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
-
new (): {
|
|
32
|
-
$slots: S;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { defineComponent as c, ref as m, inject as f, onMounted as d, onUpdated as u, watch as l, createBlock as h, openBlock as i, resolveDynamicComponent as C, unref as _, withCtx as w, renderSlot as y } from "vue";
|
|
2
|
-
import { usePrefix as k, themeInjectionKey as x, syncProperties as p } from "../../utils.mjs";
|
|
3
|
-
const g = /* @__PURE__ */ c({
|
|
4
|
-
__name: "ContentWrapperWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
backgroundColor: { default: "transparent" },
|
|
7
|
-
theme: {},
|
|
8
|
-
width: { default: "extended" }
|
|
9
|
-
},
|
|
10
|
-
setup(s) {
|
|
11
|
-
const a = k("p-content-wrapper"), e = s, t = m(), o = f(x), r = () => p(t, { ...e, theme: e.theme || o.value });
|
|
12
|
-
return d(r), u(r), l(o, (n) => {
|
|
13
|
-
p(t, { theme: e.theme || n });
|
|
14
|
-
}), (n, P) => (i(), h(C(_(a)), {
|
|
15
|
-
ref_key: "pdsComponentRef",
|
|
16
|
-
ref: t
|
|
17
|
-
}, {
|
|
18
|
-
default: w(() => [
|
|
19
|
-
y(n.$slots, "default")
|
|
20
|
-
]),
|
|
21
|
-
_: 3
|
|
22
|
-
}, 512));
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
export {
|
|
26
|
-
g as default
|
|
27
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { FieldsetWrapperLabelSize, FieldsetWrapperState, Theme } from '../types';
|
|
2
|
-
type PFieldsetWrapperProps = {
|
|
3
|
-
/**
|
|
4
|
-
* The label text.
|
|
5
|
-
*/
|
|
6
|
-
label?: string;
|
|
7
|
-
/**
|
|
8
|
-
* The size of the label text.
|
|
9
|
-
*/
|
|
10
|
-
labelSize?: FieldsetWrapperLabelSize;
|
|
11
|
-
/**
|
|
12
|
-
* The message styled depending on validation state.
|
|
13
|
-
*/
|
|
14
|
-
message?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Marks the Fieldset as required.
|
|
17
|
-
*/
|
|
18
|
-
required?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* The validation state.
|
|
21
|
-
*/
|
|
22
|
-
state?: FieldsetWrapperState;
|
|
23
|
-
/**
|
|
24
|
-
* Adapts color depending on 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<PFieldsetWrapperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PFieldsetWrapperProps> & Readonly<{}>, {
|
|
33
|
-
label: string;
|
|
34
|
-
state: FieldsetWrapperState;
|
|
35
|
-
required: boolean;
|
|
36
|
-
message: string;
|
|
37
|
-
labelSize: FieldsetWrapperLabelSize;
|
|
38
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
40
|
-
/** @deprecated since v3.0.0, will be removed with next major release. Please use `p-fieldset` 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 d, onUpdated as c, watch as u, createBlock as i, openBlock as h, resolveDynamicComponent as _, unref as y, withCtx as C, renderSlot as w } from "vue";
|
|
2
|
-
import { usePrefix as b, themeInjectionKey as k, syncProperties as a } from "../../utils.mjs";
|
|
3
|
-
const R = /* @__PURE__ */ f({
|
|
4
|
-
__name: "FieldsetWrapperWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
label: { default: "" },
|
|
7
|
-
labelSize: { default: "medium" },
|
|
8
|
-
message: { default: "" },
|
|
9
|
-
required: { type: Boolean, default: !1 },
|
|
10
|
-
state: { default: "none" },
|
|
11
|
-
theme: {}
|
|
12
|
-
},
|
|
13
|
-
setup(p) {
|
|
14
|
-
const s = b("p-fieldset-wrapper"), e = p, t = l(), n = m(k), r = () => a(t, { ...e, theme: e.theme || n.value });
|
|
15
|
-
return d(r), c(r), u(n, (o) => {
|
|
16
|
-
a(t, { theme: e.theme || o });
|
|
17
|
-
}), (o, x) => (h(), i(_(y(s)), {
|
|
18
|
-
ref_key: "pdsComponentRef",
|
|
19
|
-
ref: t
|
|
20
|
-
}, {
|
|
21
|
-
default: C(() => [
|
|
22
|
-
w(o.$slots, "default")
|
|
23
|
-
]),
|
|
24
|
-
_: 3
|
|
25
|
-
}, 512));
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
export {
|
|
29
|
-
R as default
|
|
30
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, FlexItemAlignSelf, FlexItemFlex, FlexItemGrow, FlexItemOffset, FlexItemShrink, FlexItemWidth } from '../types';
|
|
2
|
-
type PFlexItemProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Defines how this flex item is aligned along the cross axis. This overwrites the cross axis alignment set by the container. Corresponds to the "alignSelf" css property.
|
|
5
|
-
*/
|
|
6
|
-
alignSelf?: BreakpointCustomizable<FlexItemAlignSelf>;
|
|
7
|
-
/**
|
|
8
|
-
* The shorthand property for the combined definition of "shrink", "grow" and "basis"
|
|
9
|
-
*/
|
|
10
|
-
flex?: BreakpointCustomizable<FlexItemFlex>;
|
|
11
|
-
/**
|
|
12
|
-
* The ability to allow/disallow the flex child to grow.
|
|
13
|
-
*/
|
|
14
|
-
grow?: BreakpointCustomizable<FlexItemGrow>;
|
|
15
|
-
/**
|
|
16
|
-
* The offset of the column. You can also supply values for specific breakpoints, like {base: "none", l: "one-quarter"}. You always need to provide a base value when doing this.
|
|
17
|
-
*/
|
|
18
|
-
offset?: BreakpointCustomizable<FlexItemOffset>;
|
|
19
|
-
/**
|
|
20
|
-
* The ability to allow/disallow the flex child to shrink.
|
|
21
|
-
*/
|
|
22
|
-
shrink?: BreakpointCustomizable<FlexItemShrink>;
|
|
23
|
-
/**
|
|
24
|
-
* The width of the flex item. You can also supply values for specific breakpoints, like {base: "full", l: "one-quarter"}. You always need to provide a base value when doing this.
|
|
25
|
-
*/
|
|
26
|
-
width?: BreakpointCustomizable<FlexItemWidth>;
|
|
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<PFlexItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PFlexItemProps> & Readonly<{}>, {
|
|
33
|
-
width: BreakpointCustomizable<FlexItemWidth>;
|
|
34
|
-
alignSelf: BreakpointCustomizable<FlexItemAlignSelf>;
|
|
35
|
-
flex: BreakpointCustomizable<FlexItemFlex>;
|
|
36
|
-
grow: BreakpointCustomizable<FlexItemGrow>;
|
|
37
|
-
offset: BreakpointCustomizable<FlexItemOffset>;
|
|
38
|
-
shrink: BreakpointCustomizable<FlexItemShrink>;
|
|
39
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
41
|
-
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Flex instead. */
|
|
42
|
-
declare const _default: typeof __VLS_export;
|
|
43
|
-
export default _default;
|
|
44
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
45
|
-
new (): {
|
|
46
|
-
$slots: S;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { defineComponent as a, ref as p, onMounted as s, onUpdated as l, createBlock as d, openBlock as u, resolveDynamicComponent as i, unref as c, withCtx as m, renderSlot as _ } from "vue";
|
|
2
|
-
import { usePrefix as x, syncProperties as C } from "../../utils.mjs";
|
|
3
|
-
const y = /* @__PURE__ */ a({
|
|
4
|
-
__name: "FlexItemWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
alignSelf: { default: "auto" },
|
|
7
|
-
flex: { default: "initial" },
|
|
8
|
-
grow: { default: 0 },
|
|
9
|
-
offset: { default: "none" },
|
|
10
|
-
shrink: { default: 1 },
|
|
11
|
-
width: { default: "auto" }
|
|
12
|
-
},
|
|
13
|
-
setup(o) {
|
|
14
|
-
const n = x("p-flex-item"), r = o, e = p(), t = () => C(e, r);
|
|
15
|
-
return s(t), l(t), (f, h) => (u(), d(i(c(n)), {
|
|
16
|
-
ref_key: "pdsComponentRef",
|
|
17
|
-
ref: e
|
|
18
|
-
}, {
|
|
19
|
-
default: m(() => [
|
|
20
|
-
_(f.$slots, "default")
|
|
21
|
-
]),
|
|
22
|
-
_: 3
|
|
23
|
-
}, 512));
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
export {
|
|
27
|
-
y as default
|
|
28
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, FlexAlignContent, FlexAlignItems, FlexDirection, FlexInline, FlexJustifyContent, FlexWrap } from '../types';
|
|
2
|
-
type PFlexProps = {
|
|
3
|
-
/**
|
|
4
|
-
* This aligns a flex container's individual lines when there is extra space in the cross-axis, similar to how "justifyContent" aligns individual items along the main axis.
|
|
5
|
-
*/
|
|
6
|
-
alignContent?: BreakpointCustomizable<FlexAlignContent>;
|
|
7
|
-
/**
|
|
8
|
-
* Defines how the flex items are aligned along the cross axis.
|
|
9
|
-
*/
|
|
10
|
-
alignItems?: BreakpointCustomizable<FlexAlignItems>;
|
|
11
|
-
/**
|
|
12
|
-
* Defines the direction of the main and cross axis. The default "row" defines the main axis as horizontal left to right.
|
|
13
|
-
*/
|
|
14
|
-
direction?: BreakpointCustomizable<FlexDirection>;
|
|
15
|
-
/**
|
|
16
|
-
* Defines the flex containers content flow if 2 or more containers are siblings of each other.
|
|
17
|
-
*/
|
|
18
|
-
inline?: BreakpointCustomizable<FlexInline>;
|
|
19
|
-
/**
|
|
20
|
-
* Defines how the flex items are aligned along the main axis.
|
|
21
|
-
*/
|
|
22
|
-
justifyContent?: BreakpointCustomizable<FlexJustifyContent>;
|
|
23
|
-
/**
|
|
24
|
-
* Handles wrapping behaviour of elements.
|
|
25
|
-
*/
|
|
26
|
-
wrap?: BreakpointCustomizable<FlexWrap>;
|
|
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<PFlexProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PFlexProps> & Readonly<{}>, {
|
|
33
|
-
inline: BreakpointCustomizable<FlexInline>;
|
|
34
|
-
wrap: BreakpointCustomizable<FlexWrap>;
|
|
35
|
-
direction: BreakpointCustomizable<FlexDirection>;
|
|
36
|
-
alignContent: BreakpointCustomizable<FlexAlignContent>;
|
|
37
|
-
alignItems: BreakpointCustomizable<FlexAlignItems>;
|
|
38
|
-
justifyContent: BreakpointCustomizable<FlexJustifyContent>;
|
|
39
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
41
|
-
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Flex instead. */
|
|
42
|
-
declare const _default: typeof __VLS_export;
|
|
43
|
-
export default _default;
|
|
44
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
45
|
-
new (): {
|
|
46
|
-
$slots: S;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { defineComponent as a, ref as p, onMounted as f, onUpdated as l, createBlock as c, openBlock as d, resolveDynamicComponent as u, unref as i, withCtx as m, renderSlot as C } from "vue";
|
|
2
|
-
import { usePrefix as _, syncProperties as x } from "../../utils.mjs";
|
|
3
|
-
const g = /* @__PURE__ */ a({
|
|
4
|
-
__name: "FlexWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
alignContent: { default: "stretch" },
|
|
7
|
-
alignItems: { default: "stretch" },
|
|
8
|
-
direction: { default: "row" },
|
|
9
|
-
inline: { type: [Boolean, Object], default: !1 },
|
|
10
|
-
justifyContent: { default: "flex-start" },
|
|
11
|
-
wrap: { default: "nowrap" }
|
|
12
|
-
},
|
|
13
|
-
setup(n) {
|
|
14
|
-
const o = _("p-flex"), r = n, e = p(), t = () => x(e, r);
|
|
15
|
-
return f(t), l(t), (s, y) => (d(), c(u(i(o)), {
|
|
16
|
-
ref_key: "pdsComponentRef",
|
|
17
|
-
ref: e
|
|
18
|
-
}, {
|
|
19
|
-
default: m(() => [
|
|
20
|
-
C(s.$slots, "default")
|
|
21
|
-
]),
|
|
22
|
-
_: 3
|
|
23
|
-
}, 512));
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
export {
|
|
27
|
-
g as default
|
|
28
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, GridItemOffset, GridItemSize } from '../types';
|
|
2
|
-
type PGridItemProps = {
|
|
3
|
-
/**
|
|
4
|
-
* The offset of the column. Can be between 0 and 11. Also defines the offset of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
|
|
5
|
-
*/
|
|
6
|
-
offset?: BreakpointCustomizable<GridItemOffset>;
|
|
7
|
-
/**
|
|
8
|
-
* The size of the column. Can be between 1 and 12. Also defines the size of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
|
|
9
|
-
*/
|
|
10
|
-
size?: BreakpointCustomizable<GridItemSize>;
|
|
11
|
-
};
|
|
12
|
-
declare var __VLS_8: {};
|
|
13
|
-
type __VLS_Slots = {} & {
|
|
14
|
-
default?: (props: typeof __VLS_8) => any;
|
|
15
|
-
};
|
|
16
|
-
declare const __VLS_base: import("vue").DefineComponent<PGridItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PGridItemProps> & Readonly<{}>, {
|
|
17
|
-
size: BreakpointCustomizable<GridItemSize>;
|
|
18
|
-
offset: BreakpointCustomizable<GridItemOffset>;
|
|
19
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
-
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
|
|
22
|
-
declare const _default: typeof __VLS_export;
|
|
23
|
-
export default _default;
|
|
24
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
-
new (): {
|
|
26
|
-
$slots: S;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { defineComponent as s, ref as f, onMounted as a, onUpdated as c, createBlock as d, openBlock as m, resolveDynamicComponent as i, unref as u, withCtx as l, renderSlot as _ } from "vue";
|
|
2
|
-
import { usePrefix as C, syncProperties as y } from "../../utils.mjs";
|
|
3
|
-
const g = /* @__PURE__ */ s({
|
|
4
|
-
__name: "GridItemWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
offset: { default: 0 },
|
|
7
|
-
size: { default: 1 }
|
|
8
|
-
},
|
|
9
|
-
setup(t) {
|
|
10
|
-
const n = C("p-grid-item"), r = t, e = f(), o = () => y(e, r);
|
|
11
|
-
return a(o), c(o), (p, k) => (m(), d(i(u(n)), {
|
|
12
|
-
ref_key: "pdsComponentRef",
|
|
13
|
-
ref: e
|
|
14
|
-
}, {
|
|
15
|
-
default: l(() => [
|
|
16
|
-
_(p.$slots, "default")
|
|
17
|
-
]),
|
|
18
|
-
_: 3
|
|
19
|
-
}, 512));
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
export {
|
|
23
|
-
g as default
|
|
24
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, GridDirection, GridGutter, GridWrap } from '../types';
|
|
2
|
-
type PGridProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Defines the direction of the main and cross axis. The default "row" defines the main axis as horizontal left to right. Also defines the direction for specific breakpoints, like {base: "column", l: "row"}. You always need to provide a base value when doing this.
|
|
5
|
-
*/
|
|
6
|
-
direction?: BreakpointCustomizable<GridDirection>;
|
|
7
|
-
/**
|
|
8
|
-
* Has no effect anymore
|
|
9
|
-
* @deprecated since v3.0.0, will be removed with next major release
|
|
10
|
-
*/
|
|
11
|
-
gutter?: BreakpointCustomizable<GridGutter>;
|
|
12
|
-
/**
|
|
13
|
-
* Handles wrapping behaviour of elements.
|
|
14
|
-
*/
|
|
15
|
-
wrap?: BreakpointCustomizable<GridWrap>;
|
|
16
|
-
};
|
|
17
|
-
declare var __VLS_8: {};
|
|
18
|
-
type __VLS_Slots = {} & {
|
|
19
|
-
default?: (props: typeof __VLS_8) => any;
|
|
20
|
-
};
|
|
21
|
-
declare const __VLS_base: import("vue").DefineComponent<PGridProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PGridProps> & Readonly<{}>, {
|
|
22
|
-
wrap: BreakpointCustomizable<GridWrap>;
|
|
23
|
-
direction: BreakpointCustomizable<GridDirection>;
|
|
24
|
-
gutter: BreakpointCustomizable<GridGutter>;
|
|
25
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
-
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
|
|
28
|
-
declare const _default: typeof __VLS_export;
|
|
29
|
-
export default _default;
|
|
30
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
-
new (): {
|
|
32
|
-
$slots: S;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { defineComponent as s, ref as a, onMounted as f, onUpdated as d, createBlock as c, openBlock as m, resolveDynamicComponent as u, unref as i, withCtx as l, renderSlot as _ } from "vue";
|
|
2
|
-
import { usePrefix as C, syncProperties as w } from "../../utils.mjs";
|
|
3
|
-
const x = /* @__PURE__ */ s({
|
|
4
|
-
__name: "GridWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
direction: { default: "row" },
|
|
7
|
-
gutter: { default: () => ({ base: 16, s: 24, m: 36 }) },
|
|
8
|
-
wrap: { default: "wrap" }
|
|
9
|
-
},
|
|
10
|
-
setup(t) {
|
|
11
|
-
const r = C("p-grid"), n = t, e = a(), o = () => w(e, n);
|
|
12
|
-
return f(o), d(o), (p, y) => (m(), c(u(i(r)), {
|
|
13
|
-
ref_key: "pdsComponentRef",
|
|
14
|
-
ref: e
|
|
15
|
-
}, {
|
|
16
|
-
default: l(() => [
|
|
17
|
-
_(p.$slots, "default")
|
|
18
|
-
]),
|
|
19
|
-
_: 3
|
|
20
|
-
}, 512));
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
export {
|
|
24
|
-
x as default
|
|
25
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { HeadlineAlign, HeadlineColor, HeadlineTag, Theme, HeadlineVariant } from '../types';
|
|
2
|
-
type PHeadlineProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Text alignment of the component.
|
|
5
|
-
*/
|
|
6
|
-
align?: HeadlineAlign;
|
|
7
|
-
/**
|
|
8
|
-
* Basic text color variations depending on theme property.
|
|
9
|
-
*/
|
|
10
|
-
color?: HeadlineColor;
|
|
11
|
-
/**
|
|
12
|
-
* Adds an ellipsis to a single line of text if it overflows.
|
|
13
|
-
*/
|
|
14
|
-
ellipsis?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Sets a custom HTML tag depending on the usage of the headline component.
|
|
17
|
-
*/
|
|
18
|
-
tag?: HeadlineTag;
|
|
19
|
-
/**
|
|
20
|
-
* Adapts the text color depending on the theme. Has no effect when "inherit" is set as color prop.
|
|
21
|
-
*/
|
|
22
|
-
theme?: Theme;
|
|
23
|
-
/**
|
|
24
|
-
* Predefined style of the headline.
|
|
25
|
-
*/
|
|
26
|
-
variant?: HeadlineVariant;
|
|
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<PHeadlineProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PHeadlineProps> & Readonly<{}>, {
|
|
33
|
-
variant: HeadlineVariant;
|
|
34
|
-
align: HeadlineAlign;
|
|
35
|
-
color: HeadlineColor;
|
|
36
|
-
ellipsis: boolean;
|
|
37
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
39
|
-
/** @deprecated since v3.0.0, will be removed with next major release. Please use "p-heading" instead. */
|
|
40
|
-
declare const _default: typeof __VLS_export;
|
|
41
|
-
export default _default;
|
|
42
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
43
|
-
new (): {
|
|
44
|
-
$slots: S;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { defineComponent as l, ref as f, inject as m, onMounted as c, onUpdated as i, watch as d, createBlock as u, openBlock as h, resolveDynamicComponent as y, unref as _, withCtx as C, renderSlot as g } from "vue";
|
|
2
|
-
import { usePrefix as k, themeInjectionKey as v, syncProperties as a } from "../../utils.mjs";
|
|
3
|
-
const P = /* @__PURE__ */ l({
|
|
4
|
-
__name: "HeadlineWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
align: { default: "start" },
|
|
7
|
-
color: { default: "primary" },
|
|
8
|
-
ellipsis: { type: Boolean, default: !1 },
|
|
9
|
-
tag: {},
|
|
10
|
-
theme: {},
|
|
11
|
-
variant: { default: "headline-1" }
|
|
12
|
-
},
|
|
13
|
-
setup(p) {
|
|
14
|
-
const s = k("p-headline"), e = p, t = f(), o = m(v), r = () => a(t, { ...e, theme: e.theme || o.value });
|
|
15
|
-
return c(r), i(r), d(o, (n) => {
|
|
16
|
-
a(t, { theme: e.theme || n });
|
|
17
|
-
}), (n, w) => (h(), u(y(_(s)), {
|
|
18
|
-
ref_key: "pdsComponentRef",
|
|
19
|
-
ref: t
|
|
20
|
-
}, {
|
|
21
|
-
default: C(() => [
|
|
22
|
-
g(n.$slots, "default")
|
|
23
|
-
]),
|
|
24
|
-
_: 3
|
|
25
|
-
}, 512));
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
export {
|
|
29
|
-
P as default
|
|
30
|
-
};
|