@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,4 +1,4 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes, FlyoutAriaAttribute, FlyoutBackdrop, FlyoutFooterBehavior, FlyoutPosition
|
|
1
|
+
import type { SelectedAriaAttributes, FlyoutAriaAttribute, FlyoutBackdrop, FlyoutBackground, FlyoutFooterBehavior, FlyoutPosition } from '../types';
|
|
2
2
|
type PFlyoutProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Add ARIA attributes.
|
|
@@ -8,6 +8,10 @@ type PFlyoutProps = {
|
|
|
8
8
|
* Defines the backdrop, 'blur' (should be used when the underlying content is not relevant for users) and 'shading' (should be used when the user still needs a visual connection to the underlying content).
|
|
9
9
|
*/
|
|
10
10
|
backdrop?: FlyoutBackdrop;
|
|
11
|
+
/**
|
|
12
|
+
* Defines the background color
|
|
13
|
+
*/
|
|
14
|
+
background?: FlyoutBackground;
|
|
11
15
|
/**
|
|
12
16
|
* If true, the flyout will not be closable via backdrop click.
|
|
13
17
|
*/
|
|
@@ -24,10 +28,6 @@ type PFlyoutProps = {
|
|
|
24
28
|
* The position of the flyout
|
|
25
29
|
*/
|
|
26
30
|
position?: FlyoutPosition;
|
|
27
|
-
/**
|
|
28
|
-
* Adapts the flyout color depending on the theme.
|
|
29
|
-
*/
|
|
30
|
-
theme?: Theme;
|
|
31
31
|
};
|
|
32
32
|
declare var __VLS_8: {};
|
|
33
33
|
type __VLS_Slots = {} & {
|
|
@@ -40,6 +40,7 @@ declare const __VLS_base: import("vue").DefineComponent<PFlyoutProps, {}, {}, {}
|
|
|
40
40
|
}>, {
|
|
41
41
|
open: boolean;
|
|
42
42
|
backdrop: FlyoutBackdrop;
|
|
43
|
+
background: FlyoutBackground;
|
|
43
44
|
disableBackdropClick: boolean;
|
|
44
45
|
footerBehavior: FlyoutFooterBehavior;
|
|
45
46
|
position: FlyoutPosition;
|
|
@@ -1,34 +1,32 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as l, onMounted as f, onUpdated as m, createBlock as c, openBlock as u, resolveDynamicComponent as y, unref as k, withCtx as b, renderSlot as C } from "vue";
|
|
2
|
+
import { usePrefix as _, syncProperties as B, addEventListenerToElementRef as t } from "../../utils.mjs";
|
|
3
|
+
const x = /* @__PURE__ */ p({
|
|
4
4
|
__name: "FlyoutWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
7
7
|
backdrop: { default: "blur" },
|
|
8
|
+
background: { default: "canvas" },
|
|
8
9
|
disableBackdropClick: { type: Boolean, default: !1 },
|
|
9
10
|
footerBehavior: { default: "sticky" },
|
|
10
11
|
open: { type: Boolean, default: !1 },
|
|
11
|
-
position: { default: "end" }
|
|
12
|
-
theme: {}
|
|
12
|
+
position: { default: "end" }
|
|
13
13
|
},
|
|
14
14
|
emits: ["dismiss", "motionHiddenEnd", "motionVisibleEnd"],
|
|
15
|
-
setup(
|
|
16
|
-
const
|
|
17
|
-
return
|
|
18
|
-
|
|
19
|
-
}),
|
|
20
|
-
d(e, { theme: t.theme || n });
|
|
21
|
-
}), (n, w) => (C(), k(_(b(p)), {
|
|
15
|
+
setup(s, { emit: d }) {
|
|
16
|
+
const i = _("p-flyout"), r = s, e = l(), o = d, n = () => B(e, r);
|
|
17
|
+
return f(() => {
|
|
18
|
+
n(), t(e, "dismiss", o), t(e, "motionHiddenEnd", o), t(e, "motionVisibleEnd", o);
|
|
19
|
+
}), m(n), (a, E) => (u(), c(y(k(i)), {
|
|
22
20
|
ref_key: "pdsComponentRef",
|
|
23
21
|
ref: e
|
|
24
22
|
}, {
|
|
25
|
-
default:
|
|
26
|
-
|
|
23
|
+
default: b(() => [
|
|
24
|
+
C(a.$slots, "default")
|
|
27
25
|
]),
|
|
28
26
|
_: 3
|
|
29
27
|
}, 512));
|
|
30
28
|
}
|
|
31
29
|
});
|
|
32
30
|
export {
|
|
33
|
-
|
|
31
|
+
x as default
|
|
34
32
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HeadingAlign, HeadingColor, BreakpointCustomizable, HeadingSize, HeadingTag
|
|
1
|
+
import type { HeadingAlign, HeadingColor, BreakpointCustomizable, HeadingSize, HeadingTag } from '../types';
|
|
2
2
|
type PHeadingProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Text alignment of the component.
|
|
@@ -20,10 +20,6 @@ type PHeadingProps = {
|
|
|
20
20
|
* Sets a heading tag, so it fits correctly within the outline of the page.
|
|
21
21
|
*/
|
|
22
22
|
tag?: HeadingTag;
|
|
23
|
-
/**
|
|
24
|
-
* Adapts the text color depending on the theme. Has no effect when "inherit" is set as color prop.
|
|
25
|
-
*/
|
|
26
|
-
theme?: Theme;
|
|
27
23
|
};
|
|
28
24
|
declare var __VLS_8: {};
|
|
29
25
|
type __VLS_Slots = {} & {
|
|
@@ -1,30 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as s, onMounted as f, onUpdated as l, createBlock as d, openBlock as c, resolveDynamicComponent as i, unref as m, withCtx as u, renderSlot as _ } from "vue";
|
|
2
|
+
import { usePrefix as g, syncProperties as y } from "../../utils.mjs";
|
|
3
|
+
const k = /* @__PURE__ */ p({
|
|
4
4
|
__name: "HeadingWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
align: { default: "start" },
|
|
7
7
|
color: { default: "primary" },
|
|
8
8
|
ellipsis: { type: Boolean, default: !1 },
|
|
9
9
|
size: { default: "xx-large" },
|
|
10
|
-
tag: {}
|
|
11
|
-
theme: {}
|
|
10
|
+
tag: {}
|
|
12
11
|
},
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
return
|
|
16
|
-
a(t, { theme: e.theme || o });
|
|
17
|
-
}), (o, w) => (h(), u(y(_(p)), {
|
|
12
|
+
setup(t) {
|
|
13
|
+
const n = g("p-heading"), r = t, e = s(), o = () => y(e, r);
|
|
14
|
+
return f(o), l(o), (a, C) => (c(), d(i(m(n)), {
|
|
18
15
|
ref_key: "pdsComponentRef",
|
|
19
|
-
ref:
|
|
16
|
+
ref: e
|
|
20
17
|
}, {
|
|
21
|
-
default:
|
|
22
|
-
|
|
18
|
+
default: u(() => [
|
|
19
|
+
_(a.$slots, "default")
|
|
23
20
|
]),
|
|
24
21
|
_: 3
|
|
25
22
|
}, 512));
|
|
26
23
|
}
|
|
27
24
|
});
|
|
28
25
|
export {
|
|
29
|
-
|
|
26
|
+
k as default
|
|
30
27
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes, IconAriaAttribute, IconColor, IconName, IconSize
|
|
1
|
+
import type { SelectedAriaAttributes, IconAriaAttribute, IconColor, IconName, IconSize } from '../types';
|
|
2
2
|
type PIconProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Add ARIA attributes.
|
|
@@ -8,11 +8,6 @@ type PIconProps = {
|
|
|
8
8
|
* Basic color variations depending on theme property.
|
|
9
9
|
*/
|
|
10
10
|
color?: IconColor;
|
|
11
|
-
/**
|
|
12
|
-
* Has no effect anymore (the component is now using the native `loading="lazy"` attribute by default)
|
|
13
|
-
* @deprecated since v3.0.0, will be removed with next major release
|
|
14
|
-
*/
|
|
15
|
-
lazy?: boolean;
|
|
16
11
|
/**
|
|
17
12
|
* Specifies which icon to use.
|
|
18
13
|
*/
|
|
@@ -25,10 +20,6 @@ type PIconProps = {
|
|
|
25
20
|
* Specifies a whole icon path which can be used for custom icons.
|
|
26
21
|
*/
|
|
27
22
|
source?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Adapts the color depending on the theme. Has no effect when "inherit" is set as color prop.
|
|
30
|
-
*/
|
|
31
|
-
theme?: Theme;
|
|
32
23
|
};
|
|
33
24
|
declare const __VLS_export: import("vue").DefineComponent<PIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PIconProps> & Readonly<{}>, {
|
|
34
25
|
size: IconSize;
|
|
@@ -1,26 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as s, onMounted as a, onUpdated as c, createBlock as f, openBlock as m, resolveDynamicComponent as i, unref as l } from "vue";
|
|
2
|
+
import { usePrefix as u, syncProperties as d } from "../../utils.mjs";
|
|
3
|
+
const x = /* @__PURE__ */ p({
|
|
4
4
|
__name: "IconWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
7
7
|
color: { default: "primary" },
|
|
8
|
-
lazy: { type: Boolean },
|
|
9
8
|
name: { default: "arrow-right" },
|
|
10
9
|
size: { default: "small" },
|
|
11
|
-
source: {}
|
|
12
|
-
theme: {}
|
|
10
|
+
source: {}
|
|
13
11
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
16
|
-
return
|
|
17
|
-
p(o, { theme: e.theme || r });
|
|
18
|
-
}), (r, w) => (h(), d(y(_(c)), {
|
|
12
|
+
setup(n) {
|
|
13
|
+
const r = u("p-icon"), t = n, e = s(), o = () => d(e, t);
|
|
14
|
+
return a(o), c(o), (_, y) => (m(), f(i(l(r)), {
|
|
19
15
|
ref_key: "pdsComponentRef",
|
|
20
|
-
ref:
|
|
16
|
+
ref: e
|
|
21
17
|
}, null, 512));
|
|
22
18
|
}
|
|
23
19
|
});
|
|
24
20
|
export {
|
|
25
|
-
|
|
21
|
+
x as default
|
|
26
22
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InlineNotificationActionIcon, InlineNotificationHeadingTag, InlineNotificationState
|
|
1
|
+
import type { InlineNotificationActionIcon, InlineNotificationHeadingTag, InlineNotificationState } from '../types';
|
|
2
2
|
type PInlineNotificationProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Action icon of the inline-notification.
|
|
@@ -28,18 +28,10 @@ type PInlineNotificationProps = {
|
|
|
28
28
|
* Sets a heading tag, so it fits correctly within the outline of the page.
|
|
29
29
|
*/
|
|
30
30
|
headingTag?: InlineNotificationHeadingTag;
|
|
31
|
-
/**
|
|
32
|
-
* @deprecated since v3.0.0, will be removed with next major release, use `dismissButton` instead. Defines if the inline-notification can be closed/removed by the user.
|
|
33
|
-
*/
|
|
34
|
-
persistent?: boolean;
|
|
35
31
|
/**
|
|
36
32
|
* State of the inline-notification.
|
|
37
33
|
*/
|
|
38
34
|
state?: InlineNotificationState;
|
|
39
|
-
/**
|
|
40
|
-
* Adapts the inline-notification color depending on the theme.
|
|
41
|
-
*/
|
|
42
|
-
theme?: Theme;
|
|
43
35
|
};
|
|
44
36
|
declare var __VLS_8: {};
|
|
45
37
|
type __VLS_Slots = {} & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as f, ref as p, onMounted as c, onUpdated as l, createBlock as m, openBlock as u, resolveDynamicComponent as _, unref as g, withCtx as h, renderSlot as y } from "vue";
|
|
2
|
+
import { usePrefix as C, syncProperties as B, addEventListenerToElementRef as o } from "../../utils.mjs";
|
|
3
|
+
const L = /* @__PURE__ */ f({
|
|
4
4
|
__name: "InlineNotificationWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
actionIcon: { default: "arrow-right" },
|
|
@@ -10,28 +10,24 @@ const P = /* @__PURE__ */ d({
|
|
|
10
10
|
dismissButton: { type: Boolean, default: !0 },
|
|
11
11
|
heading: { default: "" },
|
|
12
12
|
headingTag: { default: "h5" },
|
|
13
|
-
|
|
14
|
-
state: { default: "info" },
|
|
15
|
-
theme: {}
|
|
13
|
+
state: { default: "info" }
|
|
16
14
|
},
|
|
17
15
|
emits: ["action", "dismiss"],
|
|
18
|
-
setup(
|
|
19
|
-
const
|
|
20
|
-
return
|
|
21
|
-
|
|
22
|
-
}),
|
|
23
|
-
s(e, { theme: t.theme || n });
|
|
24
|
-
}), (n, x) => (g(), _(B(C(p)), {
|
|
16
|
+
setup(i, { emit: a }) {
|
|
17
|
+
const s = C("p-inline-notification"), r = i, e = p(), t = a, n = () => B(e, r);
|
|
18
|
+
return c(() => {
|
|
19
|
+
n(), o(e, "action", t), o(e, "dismiss", t);
|
|
20
|
+
}), l(n), (d, k) => (u(), m(_(g(s)), {
|
|
25
21
|
ref_key: "pdsComponentRef",
|
|
26
22
|
ref: e
|
|
27
23
|
}, {
|
|
28
|
-
default:
|
|
29
|
-
|
|
24
|
+
default: h(() => [
|
|
25
|
+
y(d.$slots, "default")
|
|
30
26
|
]),
|
|
31
27
|
_: 3
|
|
32
28
|
}, 512));
|
|
33
29
|
}
|
|
34
30
|
});
|
|
35
31
|
export {
|
|
36
|
-
|
|
32
|
+
L as default
|
|
37
33
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, InputDateState
|
|
1
|
+
import type { BreakpointCustomizable, InputDateState } from '../types';
|
|
2
2
|
type PInputDateProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., auto-complete='bday' for a birthday).
|
|
@@ -64,10 +64,6 @@ type PInputDateProps = {
|
|
|
64
64
|
* Defines the granularity of the date input. This value is given in days. The default is 1 (one day).
|
|
65
65
|
*/
|
|
66
66
|
step?: number;
|
|
67
|
-
/**
|
|
68
|
-
* Controls the visual appearance of the component.
|
|
69
|
-
*/
|
|
70
|
-
theme?: Theme;
|
|
71
67
|
/**
|
|
72
68
|
* The default date value for the input, in YYYY-MM-DD format (e.g., value='2025-07-02').
|
|
73
69
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as d, ref as f, onMounted as r, onUpdated as m, createBlock as i, openBlock as c, resolveDynamicComponent as y, unref as B, withCtx as b, renderSlot as C } from "vue";
|
|
2
|
+
import { usePrefix as _, syncProperties as g, addEventListenerToElementRef as o } from "../../utils.mjs";
|
|
3
|
+
const k = /* @__PURE__ */ d({
|
|
4
4
|
__name: "InputDateWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
autoComplete: {},
|
|
@@ -19,29 +19,26 @@ const P = /* @__PURE__ */ r({
|
|
|
19
19
|
required: { type: Boolean, default: !1 },
|
|
20
20
|
state: { default: "none" },
|
|
21
21
|
step: { default: 1 },
|
|
22
|
-
theme: {},
|
|
23
22
|
value: { default: "" }
|
|
24
23
|
},
|
|
25
24
|
emits: ["update:value", "blur", "change", "input"],
|
|
26
|
-
setup(
|
|
27
|
-
const
|
|
28
|
-
return
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
setup(l, { emit: p }) {
|
|
26
|
+
const s = _("p-input-date"), u = l, e = f(), t = p, n = () => g(e, u);
|
|
27
|
+
return r(() => {
|
|
28
|
+
n(), o(e, "blur", t), o(e, "change", t), o(e, "input", t, (a) => {
|
|
29
|
+
t("update:value", a.target.value);
|
|
31
30
|
});
|
|
32
|
-
}),
|
|
33
|
-
s(e, { theme: n.theme || t });
|
|
34
|
-
}), (t, j) => (b(), B(v(C(d)), {
|
|
31
|
+
}), m(n), (a, v) => (c(), i(y(B(s)), {
|
|
35
32
|
ref_key: "pdsComponentRef",
|
|
36
33
|
ref: e
|
|
37
34
|
}, {
|
|
38
|
-
default:
|
|
39
|
-
|
|
35
|
+
default: b(() => [
|
|
36
|
+
C(a.$slots, "default")
|
|
40
37
|
]),
|
|
41
38
|
_: 3
|
|
42
39
|
}, 512));
|
|
43
40
|
}
|
|
44
41
|
});
|
|
45
42
|
export {
|
|
46
|
-
|
|
43
|
+
k as default
|
|
47
44
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, InputEmailState
|
|
1
|
+
import type { BreakpointCustomizable, InputEmailState } from '../types';
|
|
2
2
|
type PInputEmailProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='email').
|
|
@@ -76,10 +76,6 @@ type PInputEmailProps = {
|
|
|
76
76
|
* Indicates the validation or overall status of the input component.
|
|
77
77
|
*/
|
|
78
78
|
state?: InputEmailState;
|
|
79
|
-
/**
|
|
80
|
-
* Controls the visual appearance of the component.
|
|
81
|
-
*/
|
|
82
|
-
theme?: Theme;
|
|
83
79
|
/**
|
|
84
80
|
* The default email address (or comma-separated list of addresses) for the input.
|
|
85
81
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as d, ref as r, onMounted as s, onUpdated as i, createBlock as m, openBlock as c, resolveDynamicComponent as y, unref as B, withCtx as g, renderSlot as h } from "vue";
|
|
2
|
+
import { usePrefix as b, syncProperties as C, addEventListenerToElementRef as o } from "../../utils.mjs";
|
|
3
|
+
const L = /* @__PURE__ */ d({
|
|
4
4
|
__name: "InputEmailWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
autoComplete: {},
|
|
@@ -22,29 +22,26 @@ const w = /* @__PURE__ */ s({
|
|
|
22
22
|
readOnly: { type: Boolean, default: !1 },
|
|
23
23
|
required: { type: Boolean, default: !1 },
|
|
24
24
|
state: { default: "none" },
|
|
25
|
-
theme: {},
|
|
26
25
|
value: { default: "" }
|
|
27
26
|
},
|
|
28
27
|
emits: ["update:value", "blur", "change", "input"],
|
|
29
|
-
setup(
|
|
30
|
-
const
|
|
31
|
-
return
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
setup(n, { emit: p }) {
|
|
29
|
+
const f = b("p-input-email"), u = n, e = r(), t = p, l = () => C(e, u);
|
|
30
|
+
return s(() => {
|
|
31
|
+
l(), o(e, "blur", t), o(e, "change", t), o(e, "input", t, (a) => {
|
|
32
|
+
t("update:value", a.target.value);
|
|
34
33
|
});
|
|
35
|
-
}),
|
|
36
|
-
f(e, { theme: n.theme || t });
|
|
37
|
-
}), (t, R) => (g(), B(b(v(r)), {
|
|
34
|
+
}), i(l), (a, _) => (c(), m(y(B(f)), {
|
|
38
35
|
ref_key: "pdsComponentRef",
|
|
39
36
|
ref: e
|
|
40
37
|
}, {
|
|
41
|
-
default:
|
|
42
|
-
|
|
38
|
+
default: g(() => [
|
|
39
|
+
h(a.$slots, "default")
|
|
43
40
|
]),
|
|
44
41
|
_: 3
|
|
45
42
|
}, 512));
|
|
46
43
|
}
|
|
47
44
|
});
|
|
48
45
|
export {
|
|
49
|
-
|
|
46
|
+
L as default
|
|
50
47
|
};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import type { BreakpointCustomizable, InputMonthState } from '../types';
|
|
2
|
+
type PInputMonthProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features.
|
|
5
|
+
*/
|
|
6
|
+
autoComplete?: string;
|
|
7
|
+
/**
|
|
8
|
+
* A boolean value that, if present, renders the input field as a compact version.
|
|
9
|
+
*/
|
|
10
|
+
compact?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Supplementary text providing more context or explanation for the input.
|
|
13
|
+
*/
|
|
14
|
+
description?: string;
|
|
15
|
+
/**
|
|
16
|
+
* A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
|
|
17
|
+
*/
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the id of the <form> element that the input belongs to (useful if the input is not a direct descendant of the form).
|
|
21
|
+
*/
|
|
22
|
+
form?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Controls the visibility of the label.
|
|
25
|
+
*/
|
|
26
|
+
hideLabel?: BreakpointCustomizable<boolean>;
|
|
27
|
+
/**
|
|
28
|
+
* Text content for a user-facing label.
|
|
29
|
+
*/
|
|
30
|
+
label?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @experimental Shows a loading indicator.
|
|
33
|
+
*/
|
|
34
|
+
loading?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Specifies the latest month that can be selected. The value must be a month string in YYYY-MM format(e.g., max='2024-12').
|
|
37
|
+
*/
|
|
38
|
+
max?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Dynamic feedback text for validation or status.
|
|
41
|
+
*/
|
|
42
|
+
message?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Specifies the earliest month that can be selected. The value must be a month string in YYYY-MM format (e.g., min='2023-01').
|
|
45
|
+
*/
|
|
46
|
+
min?: string;
|
|
47
|
+
/**
|
|
48
|
+
* The name of the input field, used when submitting the form data.
|
|
49
|
+
*/
|
|
50
|
+
name: string;
|
|
51
|
+
/**
|
|
52
|
+
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
53
|
+
*/
|
|
54
|
+
readOnly?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
57
|
+
*/
|
|
58
|
+
required?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Indicates the validation or overall status of the input component.
|
|
61
|
+
*/
|
|
62
|
+
state?: InputMonthState;
|
|
63
|
+
/**
|
|
64
|
+
* Defines the stepping interval in months. For example, step="1" increments by 1 month, step="12" by 1 year. The default is 1 month.
|
|
65
|
+
*/
|
|
66
|
+
step?: number;
|
|
67
|
+
/**
|
|
68
|
+
* The default month value for the input, in YYYY-MM format (e.g., value='2025-07').
|
|
69
|
+
*/
|
|
70
|
+
value?: string;
|
|
71
|
+
};
|
|
72
|
+
declare var __VLS_8: {};
|
|
73
|
+
type __VLS_Slots = {} & {
|
|
74
|
+
default?: (props: typeof __VLS_8) => any;
|
|
75
|
+
};
|
|
76
|
+
declare const __VLS_base: import("vue").DefineComponent<PInputMonthProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
77
|
+
blur: (value: Event) => any;
|
|
78
|
+
change: (value: Event) => any;
|
|
79
|
+
input: (value: InputEvent) => any;
|
|
80
|
+
"update:value": (value: string) => any;
|
|
81
|
+
}, string, import("vue").PublicProps, Readonly<PInputMonthProps> & Readonly<{
|
|
82
|
+
onBlur?: ((value: Event) => any) | undefined;
|
|
83
|
+
onChange?: ((value: Event) => any) | undefined;
|
|
84
|
+
onInput?: ((value: InputEvent) => any) | undefined;
|
|
85
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
86
|
+
}>, {
|
|
87
|
+
step: number;
|
|
88
|
+
label: string;
|
|
89
|
+
compact: boolean;
|
|
90
|
+
description: string;
|
|
91
|
+
state: InputMonthState;
|
|
92
|
+
required: boolean;
|
|
93
|
+
disabled: boolean;
|
|
94
|
+
hideLabel: BreakpointCustomizable<boolean>;
|
|
95
|
+
loading: boolean;
|
|
96
|
+
value: string;
|
|
97
|
+
message: string;
|
|
98
|
+
readOnly: boolean;
|
|
99
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
100
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
101
|
+
declare const _default: typeof __VLS_export;
|
|
102
|
+
export default _default;
|
|
103
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
104
|
+
new (): {
|
|
105
|
+
$slots: S;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { defineComponent as f, ref as r, onMounted as d, onUpdated as m, createBlock as i, openBlock as c, resolveDynamicComponent as y, unref as B, withCtx as b, renderSlot as h } from "vue";
|
|
2
|
+
import { usePrefix as C, syncProperties as _, addEventListenerToElementRef as o } from "../../utils.mjs";
|
|
3
|
+
const k = /* @__PURE__ */ f({
|
|
4
|
+
__name: "InputMonthWrapper",
|
|
5
|
+
props: {
|
|
6
|
+
autoComplete: {},
|
|
7
|
+
compact: { type: Boolean, default: !1 },
|
|
8
|
+
description: { default: "" },
|
|
9
|
+
disabled: { type: Boolean, default: !1 },
|
|
10
|
+
form: {},
|
|
11
|
+
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
12
|
+
label: { default: "" },
|
|
13
|
+
loading: { type: Boolean, default: !1 },
|
|
14
|
+
max: {},
|
|
15
|
+
message: { default: "" },
|
|
16
|
+
min: {},
|
|
17
|
+
name: {},
|
|
18
|
+
readOnly: { type: Boolean, default: !1 },
|
|
19
|
+
required: { type: Boolean, default: !1 },
|
|
20
|
+
state: { default: "none" },
|
|
21
|
+
step: { default: 1 },
|
|
22
|
+
value: { default: "" }
|
|
23
|
+
},
|
|
24
|
+
emits: ["update:value", "blur", "change", "input"],
|
|
25
|
+
setup(l, { emit: p }) {
|
|
26
|
+
const s = C("p-input-month"), u = l, e = r(), t = p, n = () => _(e, u);
|
|
27
|
+
return d(() => {
|
|
28
|
+
n(), o(e, "blur", t), o(e, "change", t), o(e, "input", t, (a) => {
|
|
29
|
+
t("update:value", a.target.value);
|
|
30
|
+
});
|
|
31
|
+
}), m(n), (a, g) => (c(), i(y(B(s)), {
|
|
32
|
+
ref_key: "pdsComponentRef",
|
|
33
|
+
ref: e
|
|
34
|
+
}, {
|
|
35
|
+
default: b(() => [
|
|
36
|
+
h(a.$slots, "default")
|
|
37
|
+
]),
|
|
38
|
+
_: 3
|
|
39
|
+
}, 512));
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
export {
|
|
43
|
+
k as default
|
|
44
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, InputNumberState
|
|
1
|
+
import type { BreakpointCustomizable, InputNumberState } from '../types';
|
|
2
2
|
type PInputNumberProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='postal-code').
|
|
@@ -72,10 +72,6 @@ type PInputNumberProps = {
|
|
|
72
72
|
* The granularity that the value must adhere to.
|
|
73
73
|
*/
|
|
74
74
|
step?: number;
|
|
75
|
-
/**
|
|
76
|
-
* Controls the visual appearance of the component.
|
|
77
|
-
*/
|
|
78
|
-
theme?: Theme;
|
|
79
75
|
/**
|
|
80
76
|
* The number input value.
|
|
81
77
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as f, ref as s, onMounted as d, onUpdated as m, createBlock as c, openBlock as i, resolveDynamicComponent as y, unref as b, withCtx as B, renderSlot as C } from "vue";
|
|
2
|
+
import { usePrefix as _, syncProperties as g, addEventListenerToElementRef as o } from "../../utils.mjs";
|
|
3
|
+
const k = /* @__PURE__ */ f({
|
|
4
4
|
__name: "InputNumberWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
autoComplete: {},
|
|
@@ -21,29 +21,26 @@ const P = /* @__PURE__ */ d({
|
|
|
21
21
|
required: { type: Boolean, default: !1 },
|
|
22
22
|
state: { default: "none" },
|
|
23
23
|
step: { default: 1 },
|
|
24
|
-
theme: {},
|
|
25
24
|
value: { default: "" }
|
|
26
25
|
},
|
|
27
26
|
emits: ["update:value", "blur", "change", "input"],
|
|
28
|
-
setup(
|
|
29
|
-
const
|
|
30
|
-
return
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
setup(l, { emit: p }) {
|
|
28
|
+
const u = _("p-input-number"), r = l, e = s(), t = p, n = () => g(e, r);
|
|
29
|
+
return d(() => {
|
|
30
|
+
n(), o(e, "blur", t), o(e, "change", t), o(e, "input", t, (a) => {
|
|
31
|
+
t("update:value", a.target.value);
|
|
33
32
|
});
|
|
34
|
-
}),
|
|
35
|
-
u(e, { theme: o.theme || t });
|
|
36
|
-
}), (t, j) => (B(), b(v(C(s)), {
|
|
33
|
+
}), m(n), (a, h) => (i(), c(y(b(u)), {
|
|
37
34
|
ref_key: "pdsComponentRef",
|
|
38
35
|
ref: e
|
|
39
36
|
}, {
|
|
40
|
-
default:
|
|
41
|
-
|
|
37
|
+
default: B(() => [
|
|
38
|
+
C(a.$slots, "default")
|
|
42
39
|
]),
|
|
43
40
|
_: 3
|
|
44
41
|
}, 512));
|
|
45
42
|
}
|
|
46
43
|
});
|
|
47
44
|
export {
|
|
48
|
-
|
|
45
|
+
k as default
|
|
49
46
|
};
|