@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,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as s, onMounted as u, onUpdated as c, createBlock as m, openBlock as i, resolveDynamicComponent as y, unref as b, withCtx as g, renderSlot as B } from "vue";
|
|
2
|
+
import { usePrefix as C, syncProperties as _, addEventListenerToElementRef as n } from "../../utils.mjs";
|
|
3
|
+
const k = /* @__PURE__ */ p({
|
|
4
4
|
__name: "PinCodeWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
compact: { type: Boolean, default: !1 },
|
|
@@ -15,30 +15,27 @@ const x = /* @__PURE__ */ u({
|
|
|
15
15
|
name: {},
|
|
16
16
|
required: { type: Boolean, default: !1 },
|
|
17
17
|
state: { default: "none" },
|
|
18
|
-
theme: {},
|
|
19
18
|
type: { default: "number" },
|
|
20
19
|
value: { default: "" }
|
|
21
20
|
},
|
|
22
|
-
emits: ["update:value", "blur", "change"
|
|
23
|
-
setup(
|
|
24
|
-
const
|
|
25
|
-
return
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
})
|
|
29
|
-
}),
|
|
30
|
-
p(e, { theme: o.theme || t });
|
|
31
|
-
}), (t, j) => (g(), b(v(B(s)), {
|
|
21
|
+
emits: ["update:value", "blur", "change"],
|
|
22
|
+
setup(l, { emit: d }) {
|
|
23
|
+
const r = C("p-pin-code"), f = l, e = s(), t = d, o = () => _(e, f);
|
|
24
|
+
return u(() => {
|
|
25
|
+
o(), n(e, "blur", t), n(e, "change", t, (a) => {
|
|
26
|
+
t("update:value", a.target.value);
|
|
27
|
+
});
|
|
28
|
+
}), c(o), (a, h) => (i(), m(y(b(r)), {
|
|
32
29
|
ref_key: "pdsComponentRef",
|
|
33
30
|
ref: e
|
|
34
31
|
}, {
|
|
35
|
-
default:
|
|
36
|
-
|
|
32
|
+
default: g(() => [
|
|
33
|
+
B(a.$slots, "default")
|
|
37
34
|
]),
|
|
38
35
|
_: 3
|
|
39
36
|
}, 512));
|
|
40
37
|
}
|
|
41
38
|
});
|
|
42
39
|
export {
|
|
43
|
-
|
|
40
|
+
k as default
|
|
44
41
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes, PopoverAriaAttribute, PopoverDirection
|
|
1
|
+
import type { SelectedAriaAttributes, PopoverAriaAttribute, PopoverDirection } from '../types';
|
|
2
2
|
type PPopoverProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Add ARIA attributes.
|
|
@@ -12,10 +12,6 @@ type PPopoverProps = {
|
|
|
12
12
|
* Preferred direction in which popover should open, given there is enough space in viewport. Otherwise, it will be opened in the direction with most available space.
|
|
13
13
|
*/
|
|
14
14
|
direction?: PopoverDirection;
|
|
15
|
-
/**
|
|
16
|
-
* Adapts the popover color depending on the theme.
|
|
17
|
-
*/
|
|
18
|
-
theme?: Theme;
|
|
19
15
|
};
|
|
20
16
|
declare var __VLS_8: {};
|
|
21
17
|
type __VLS_Slots = {} & {
|
|
@@ -1,28 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as s, ref as c, onMounted as a, onUpdated as f, createBlock as d, openBlock as i, resolveDynamicComponent as m, unref as u, withCtx as l, renderSlot as _ } from "vue";
|
|
2
|
+
import { usePrefix as C, syncProperties as y } from "../../utils.mjs";
|
|
3
|
+
const x = /* @__PURE__ */ s({
|
|
4
4
|
__name: "PopoverWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
7
7
|
description: {},
|
|
8
|
-
direction: { default: "bottom" }
|
|
9
|
-
theme: {}
|
|
8
|
+
direction: { default: "bottom" }
|
|
10
9
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
return
|
|
14
|
-
p(o, { theme: e.theme || t });
|
|
15
|
-
}), (t, w) => (l(), h(_(C(c)), {
|
|
10
|
+
setup(t) {
|
|
11
|
+
const n = C("p-popover"), r = t, e = c(), o = () => y(e, r);
|
|
12
|
+
return a(o), f(o), (p, P) => (i(), d(m(u(n)), {
|
|
16
13
|
ref_key: "pdsComponentRef",
|
|
17
|
-
ref:
|
|
14
|
+
ref: e
|
|
18
15
|
}, {
|
|
19
|
-
default:
|
|
20
|
-
|
|
16
|
+
default: l(() => [
|
|
17
|
+
_(p.$slots, "default")
|
|
21
18
|
]),
|
|
22
19
|
_: 3
|
|
23
20
|
}, 512));
|
|
24
21
|
}
|
|
25
22
|
});
|
|
26
23
|
export {
|
|
27
|
-
|
|
24
|
+
x as default
|
|
28
25
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, RadioGroupDirection, RadioGroupState
|
|
1
|
+
import type { BreakpointCustomizable, RadioGroupDirection, RadioGroupState } from '../types';
|
|
2
2
|
type PRadioGroupProps = {
|
|
3
3
|
/**
|
|
4
4
|
* A boolean value that, if present, renders the radio group as a compact version.
|
|
@@ -48,10 +48,6 @@ type PRadioGroupProps = {
|
|
|
48
48
|
* Indicates the validation or overall status of the radio group component.
|
|
49
49
|
*/
|
|
50
50
|
state?: RadioGroupState;
|
|
51
|
-
/**
|
|
52
|
-
* Controls the visual appearance of the component.
|
|
53
|
-
*/
|
|
54
|
-
theme?: Theme;
|
|
55
51
|
/**
|
|
56
52
|
* The default value for the radio-group.
|
|
57
53
|
*/
|
|
@@ -75,8 +71,8 @@ declare const __VLS_base: import("vue").DefineComponent<PRadioGroupProps, {}, {}
|
|
|
75
71
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
76
72
|
loading: boolean;
|
|
77
73
|
value: string;
|
|
78
|
-
direction: BreakpointCustomizable<RadioGroupDirection>;
|
|
79
74
|
message: string;
|
|
75
|
+
direction: BreakpointCustomizable<RadioGroupDirection>;
|
|
80
76
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
81
77
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
82
78
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as s, ref as f, onMounted as u, onUpdated as c, createBlock as i, openBlock as m, resolveDynamicComponent as y, unref as b, withCtx as g, renderSlot as B } from "vue";
|
|
2
|
+
import { usePrefix as _, syncProperties as v, addEventListenerToElementRef as n } from "../../utils.mjs";
|
|
3
|
+
const k = /* @__PURE__ */ s({
|
|
4
4
|
__name: "RadioGroupWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
compact: { type: Boolean, default: !1 },
|
|
@@ -15,29 +15,26 @@ const P = /* @__PURE__ */ u({
|
|
|
15
15
|
name: {},
|
|
16
16
|
required: { type: Boolean, default: !1 },
|
|
17
17
|
state: { default: "none" },
|
|
18
|
-
theme: {},
|
|
19
18
|
value: { default: "" }
|
|
20
19
|
},
|
|
21
20
|
emits: ["update:value", "blur", "change"],
|
|
22
|
-
setup(
|
|
23
|
-
const
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
setup(l, { emit: r }) {
|
|
22
|
+
const d = _("p-radio-group"), p = l, e = f(), t = r, a = () => v(e, p);
|
|
23
|
+
return u(() => {
|
|
24
|
+
a(), n(e, "blur", t), n(e, "change", t, (o) => {
|
|
25
|
+
t("update:value", o.target.value);
|
|
27
26
|
});
|
|
28
|
-
}),
|
|
29
|
-
r(e, { theme: o.theme || t });
|
|
30
|
-
}), (t, k) => (g(), b(v(B(p)), {
|
|
27
|
+
}), c(a), (o, C) => (m(), i(y(b(d)), {
|
|
31
28
|
ref_key: "pdsComponentRef",
|
|
32
29
|
ref: e
|
|
33
30
|
}, {
|
|
34
|
-
default:
|
|
35
|
-
|
|
31
|
+
default: g(() => [
|
|
32
|
+
B(o.$slots, "default")
|
|
36
33
|
]),
|
|
37
34
|
_: 3
|
|
38
35
|
}, 512));
|
|
39
36
|
}
|
|
40
37
|
});
|
|
41
38
|
export {
|
|
42
|
-
|
|
39
|
+
k as default
|
|
43
40
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ScrollerAlignScrollIndicator, SelectedAriaAttributes, ScrollerAriaAttribute,
|
|
1
|
+
import type { ScrollerAlignScrollIndicator, SelectedAriaAttributes, ScrollerAriaAttribute, ScrollerScrollToPosition } from '../types';
|
|
2
2
|
type PScrollerProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Sets the vertical position of scroll indicator.
|
|
@@ -8,18 +8,6 @@ type PScrollerProps = {
|
|
|
8
8
|
* Add ARIA role.
|
|
9
9
|
*/
|
|
10
10
|
aria?: SelectedAriaAttributes<ScrollerAriaAttribute>;
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated since v3.29.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
13
|
-
*/
|
|
14
|
-
gradientColor?: ScrollerGradientColor;
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated since v3.0.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
17
|
-
*/
|
|
18
|
-
gradientColorScheme?: ScrollerGradientColorScheme;
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated since v3.0.0, will be removed with next major release, use `alignScrollIndicator` instead. Sets the vertical position of scroll indicator
|
|
21
|
-
*/
|
|
22
|
-
scrollIndicatorPosition?: ScrollerScrollIndicatorPosition;
|
|
23
11
|
/**
|
|
24
12
|
* Scrolls the scroll area to the left either smooth or immediately.
|
|
25
13
|
*/
|
|
@@ -28,10 +16,6 @@ type PScrollerProps = {
|
|
|
28
16
|
* Specifies if scrollbar should be shown.
|
|
29
17
|
*/
|
|
30
18
|
scrollbar?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Adapts the color when used on dark background.
|
|
33
|
-
*/
|
|
34
|
-
theme?: Theme;
|
|
35
19
|
};
|
|
36
20
|
declare var __VLS_8: {};
|
|
37
21
|
type __VLS_Slots = {} & {
|
|
@@ -1,27 +1,21 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const B = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as l, ref as p, onMounted as a, onUpdated as c, createBlock as f, openBlock as d, resolveDynamicComponent as i, unref as m, withCtx as u, renderSlot as _ } from "vue";
|
|
2
|
+
import { usePrefix as C, syncProperties as y } from "../../utils.mjs";
|
|
3
|
+
const B = /* @__PURE__ */ l({
|
|
4
4
|
__name: "ScrollerWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
alignScrollIndicator: { default: "center" },
|
|
7
7
|
aria: {},
|
|
8
|
-
gradientColor: {},
|
|
9
|
-
gradientColorScheme: {},
|
|
10
|
-
scrollIndicatorPosition: {},
|
|
11
8
|
scrollToPosition: {},
|
|
12
|
-
scrollbar: { type: Boolean, default: !1 }
|
|
13
|
-
theme: {}
|
|
9
|
+
scrollbar: { type: Boolean, default: !1 }
|
|
14
10
|
},
|
|
15
|
-
setup(
|
|
16
|
-
const
|
|
17
|
-
return
|
|
18
|
-
c(o, { theme: e.theme || t });
|
|
19
|
-
}), (t, k) => (h(), u(C(_(s)), {
|
|
11
|
+
setup(r) {
|
|
12
|
+
const n = C("p-scroller"), t = r, e = p(), o = () => y(e, t);
|
|
13
|
+
return a(o), c(o), (s, P) => (d(), f(i(m(n)), {
|
|
20
14
|
ref_key: "pdsComponentRef",
|
|
21
|
-
ref:
|
|
15
|
+
ref: e
|
|
22
16
|
}, {
|
|
23
|
-
default:
|
|
24
|
-
|
|
17
|
+
default: u(() => [
|
|
18
|
+
_(s.$slots, "default")
|
|
25
19
|
]),
|
|
26
20
|
_: 3
|
|
27
21
|
}, 512));
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BreakpointCustomizable, SegmentedControlColumns, SegmentedControlState } from '../types';
|
|
2
2
|
type PSegmentedControlProps = {
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated since v3.0.0, will be removed with next major release. Background color variations
|
|
5
|
-
*/
|
|
6
|
-
backgroundColor?: SegmentedControlBackgroundColor;
|
|
7
3
|
/**
|
|
8
4
|
* Sets the amount of columns.
|
|
9
5
|
*/
|
|
@@ -12,6 +8,10 @@ type PSegmentedControlProps = {
|
|
|
12
8
|
* A boolean value that, if present, renders the segmented-control as a compact version.
|
|
13
9
|
*/
|
|
14
10
|
compact?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Supplementary text providing more context or explanation for the segmented-control.
|
|
13
|
+
*/
|
|
14
|
+
description?: string;
|
|
15
15
|
/**
|
|
16
16
|
* Disables the segmented-control.
|
|
17
17
|
*/
|
|
@@ -20,14 +20,30 @@ type PSegmentedControlProps = {
|
|
|
20
20
|
* The id of a form element the segmented-control should be associated with.
|
|
21
21
|
*/
|
|
22
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
|
+
* Dynamic feedback text for validation or status.
|
|
33
|
+
*/
|
|
34
|
+
message?: string;
|
|
23
35
|
/**
|
|
24
36
|
* The name of the segmented-control.
|
|
25
37
|
*/
|
|
26
38
|
name?: string;
|
|
27
39
|
/**
|
|
28
|
-
*
|
|
40
|
+
* A boolean value that specifies a selection must be made from the group before the form can be submitted.
|
|
41
|
+
*/
|
|
42
|
+
required?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Indicates the validation or overall status of the component.
|
|
29
45
|
*/
|
|
30
|
-
|
|
46
|
+
state?: SegmentedControlState;
|
|
31
47
|
/**
|
|
32
48
|
* Sets the initial value of the segmented-control.
|
|
33
49
|
*/
|
|
@@ -42,8 +58,14 @@ declare const __VLS_base: import("vue").DefineComponent<PSegmentedControlProps,
|
|
|
42
58
|
}, string, import("vue").PublicProps, Readonly<PSegmentedControlProps> & Readonly<{
|
|
43
59
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
44
60
|
}>, {
|
|
61
|
+
label: string;
|
|
45
62
|
compact: boolean;
|
|
63
|
+
description: string;
|
|
64
|
+
state: SegmentedControlState;
|
|
65
|
+
required: boolean;
|
|
46
66
|
disabled: boolean;
|
|
67
|
+
hideLabel: BreakpointCustomizable<boolean>;
|
|
68
|
+
message: string;
|
|
47
69
|
columns: BreakpointCustomizable<SegmentedControlColumns>;
|
|
48
70
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
71
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,37 +1,39 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as f, onMounted as u, onUpdated as c, createBlock as m, openBlock as i, resolveDynamicComponent as y, unref as b, withCtx as g, renderSlot as C } from "vue";
|
|
2
|
+
import { usePrefix as _, syncProperties as v, addEventListenerToElementRef as a } from "../../utils.mjs";
|
|
3
|
+
const x = /* @__PURE__ */ p({
|
|
4
4
|
__name: "SegmentedControlWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
backgroundColor: {},
|
|
7
6
|
columns: { default: "auto" },
|
|
8
7
|
compact: { type: Boolean, default: !1 },
|
|
8
|
+
description: { default: "" },
|
|
9
9
|
disabled: { type: Boolean, default: !1 },
|
|
10
10
|
form: {},
|
|
11
|
+
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
12
|
+
label: { default: "" },
|
|
13
|
+
message: { default: "" },
|
|
11
14
|
name: {},
|
|
12
|
-
|
|
15
|
+
required: { type: Boolean, default: !1 },
|
|
16
|
+
state: { default: "none" },
|
|
13
17
|
value: {}
|
|
14
18
|
},
|
|
15
|
-
emits: ["update:value", "blur", "change"
|
|
16
|
-
setup(l, { emit:
|
|
17
|
-
const
|
|
18
|
-
return
|
|
19
|
-
|
|
19
|
+
emits: ["update:value", "blur", "change"],
|
|
20
|
+
setup(l, { emit: r }) {
|
|
21
|
+
const s = _("p-segmented-control"), d = l, e = f(), t = r, n = () => v(e, d);
|
|
22
|
+
return u(() => {
|
|
23
|
+
n(), a(e, "blur", t), a(e, "change", t, (o) => {
|
|
20
24
|
t("update:value", o.target.value);
|
|
21
|
-
})
|
|
22
|
-
}),
|
|
23
|
-
s(e, { theme: a.theme || o });
|
|
24
|
-
}), (o, w) => (v(), g(y(_(c)), {
|
|
25
|
+
});
|
|
26
|
+
}), c(n), (o, B) => (i(), m(y(b(s)), {
|
|
25
27
|
ref_key: "pdsComponentRef",
|
|
26
28
|
ref: e
|
|
27
29
|
}, {
|
|
28
|
-
default:
|
|
29
|
-
|
|
30
|
+
default: g(() => [
|
|
31
|
+
C(o.$slots, "default")
|
|
30
32
|
]),
|
|
31
33
|
_: 3
|
|
32
34
|
}, 512));
|
|
33
35
|
}
|
|
34
36
|
});
|
|
35
37
|
export {
|
|
36
|
-
|
|
38
|
+
x as default
|
|
37
39
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SelectDropdownDirection, BreakpointCustomizable, SelectState
|
|
1
|
+
import type { SelectDropdownDirection, BreakpointCustomizable, SelectState } from '../types';
|
|
2
2
|
type PSelectProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Displays as compact version.
|
|
@@ -17,7 +17,7 @@ type PSelectProps = {
|
|
|
17
17
|
*/
|
|
18
18
|
dropdownDirection?: SelectDropdownDirection;
|
|
19
19
|
/**
|
|
20
|
-
* Shows an input in the dropdown allowing options to be filtered.
|
|
20
|
+
* Shows an input in the dropdown allowing options to be filtered. Will be ignored if the `filter` slot is used.
|
|
21
21
|
*/
|
|
22
22
|
filter?: boolean;
|
|
23
23
|
/**
|
|
@@ -48,10 +48,6 @@ type PSelectProps = {
|
|
|
48
48
|
* The validation state.
|
|
49
49
|
*/
|
|
50
50
|
state?: SelectState;
|
|
51
|
-
/**
|
|
52
|
-
* Adapts the select color depending on the theme.
|
|
53
|
-
*/
|
|
54
|
-
theme?: Theme;
|
|
55
51
|
/**
|
|
56
52
|
* The selected value.
|
|
57
53
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as d, onMounted as u, onUpdated as c, createBlock as i, openBlock as m, resolveDynamicComponent as g, unref as y, withCtx as b, renderSlot as B } from "vue";
|
|
2
|
+
import { usePrefix as _, syncProperties as v, addEventListenerToElementRef as a } from "../../utils.mjs";
|
|
3
|
+
const w = /* @__PURE__ */ p({
|
|
4
4
|
__name: "SelectWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
compact: { type: Boolean, default: !1 },
|
|
@@ -15,29 +15,26 @@ const P = /* @__PURE__ */ u({
|
|
|
15
15
|
name: {},
|
|
16
16
|
required: { type: Boolean, default: !1 },
|
|
17
17
|
state: { default: "none" },
|
|
18
|
-
theme: {},
|
|
19
18
|
value: {}
|
|
20
19
|
},
|
|
21
|
-
emits: ["update:value", "blur", "change", "
|
|
22
|
-
setup(
|
|
23
|
-
const
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}),
|
|
28
|
-
}),
|
|
29
|
-
s(e, { theme: a.theme || t });
|
|
30
|
-
}), (t, j) => (v(), b(B(_(f)), {
|
|
20
|
+
emits: ["update:value", "blur", "change", "toggle"],
|
|
21
|
+
setup(l, { emit: r }) {
|
|
22
|
+
const s = _("p-select"), f = l, e = d(), t = r, n = () => v(e, f);
|
|
23
|
+
return u(() => {
|
|
24
|
+
n(), a(e, "blur", t), a(e, "change", t, (o) => {
|
|
25
|
+
t("update:value", o.target.value);
|
|
26
|
+
}), a(e, "toggle", t);
|
|
27
|
+
}), c(n), (o, C) => (m(), i(g(y(s)), {
|
|
31
28
|
ref_key: "pdsComponentRef",
|
|
32
29
|
ref: e
|
|
33
30
|
}, {
|
|
34
|
-
default:
|
|
35
|
-
|
|
31
|
+
default: b(() => [
|
|
32
|
+
B(o.$slots, "default")
|
|
36
33
|
]),
|
|
37
34
|
_: 3
|
|
38
35
|
}, 512));
|
|
39
36
|
}
|
|
40
37
|
});
|
|
41
38
|
export {
|
|
42
|
-
|
|
39
|
+
w as default
|
|
43
40
|
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes, SheetAriaAttribute,
|
|
1
|
+
import type { SelectedAriaAttributes, SheetAriaAttribute, SheetBackground } from '../types';
|
|
2
2
|
type PSheetProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Add ARIA attributes.
|
|
5
5
|
*/
|
|
6
6
|
aria?: SelectedAriaAttributes<SheetAriaAttribute>;
|
|
7
|
+
/**
|
|
8
|
+
* Defines the background color
|
|
9
|
+
*/
|
|
10
|
+
background?: SheetBackground;
|
|
7
11
|
/**
|
|
8
12
|
* If true, the sheet will not be closable via backdrop click.
|
|
9
13
|
*/
|
|
@@ -16,10 +20,6 @@ type PSheetProps = {
|
|
|
16
20
|
* If true, the sheet is open.
|
|
17
21
|
*/
|
|
18
22
|
open: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Adapts the sheet color depending on the theme.
|
|
21
|
-
*/
|
|
22
|
-
theme?: Theme;
|
|
23
23
|
};
|
|
24
24
|
declare var __VLS_8: {};
|
|
25
25
|
type __VLS_Slots = {} & {
|
|
@@ -32,6 +32,7 @@ declare const __VLS_base: import("vue").DefineComponent<PSheetProps, {}, {}, {},
|
|
|
32
32
|
}>, {
|
|
33
33
|
open: boolean;
|
|
34
34
|
dismissButton: boolean;
|
|
35
|
+
background: SheetBackground;
|
|
35
36
|
disableBackdropClick: boolean;
|
|
36
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
38
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,32 +1,30 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as m, onMounted as l, onUpdated as f, createBlock as c, openBlock as u, resolveDynamicComponent as y, unref as B, withCtx as C, renderSlot as _ } from "vue";
|
|
2
|
+
import { usePrefix as k, syncProperties as E, addEventListenerToElementRef as n } from "../../utils.mjs";
|
|
3
|
+
const x = /* @__PURE__ */ p({
|
|
4
4
|
__name: "SheetWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
7
|
+
background: { default: "canvas" },
|
|
7
8
|
disableBackdropClick: { type: Boolean, default: !1 },
|
|
8
9
|
dismissButton: { type: Boolean, default: !0 },
|
|
9
|
-
open: { type: Boolean, default: !1 }
|
|
10
|
-
theme: {}
|
|
10
|
+
open: { type: Boolean, default: !1 }
|
|
11
11
|
},
|
|
12
12
|
emits: ["dismiss", "motionHiddenEnd", "motionVisibleEnd"],
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
return
|
|
16
|
-
|
|
17
|
-
}),
|
|
18
|
-
r(e, { theme: t.theme || n });
|
|
19
|
-
}), (n, w) => (C(), B(_(E(p)), {
|
|
13
|
+
setup(s, { emit: i }) {
|
|
14
|
+
const d = k("p-sheet"), r = s, e = m(), o = i, t = () => E(e, r);
|
|
15
|
+
return l(() => {
|
|
16
|
+
t(), n(e, "dismiss", o), n(e, "motionHiddenEnd", o), n(e, "motionVisibleEnd", o);
|
|
17
|
+
}), f(t), (a, b) => (u(), c(y(B(d)), {
|
|
20
18
|
ref_key: "pdsComponentRef",
|
|
21
19
|
ref: e
|
|
22
20
|
}, {
|
|
23
|
-
default:
|
|
24
|
-
|
|
21
|
+
default: C(() => [
|
|
22
|
+
_(a.$slots, "default")
|
|
25
23
|
]),
|
|
26
24
|
_: 3
|
|
27
25
|
}, 512));
|
|
28
26
|
}
|
|
29
27
|
});
|
|
30
28
|
export {
|
|
31
|
-
|
|
29
|
+
x as default
|
|
32
30
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes, SpinnerAriaAttribute, BreakpointCustomizable, SpinnerSize
|
|
1
|
+
import type { SelectedAriaAttributes, SpinnerAriaAttribute, BreakpointCustomizable, SpinnerSize } from '../types';
|
|
2
2
|
type PSpinnerProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Add ARIA attributes.
|
|
@@ -8,10 +8,6 @@ type PSpinnerProps = {
|
|
|
8
8
|
* Size of the spinner.
|
|
9
9
|
*/
|
|
10
10
|
size?: BreakpointCustomizable<SpinnerSize>;
|
|
11
|
-
/**
|
|
12
|
-
* Adapts the spinner color depending on the theme.
|
|
13
|
-
*/
|
|
14
|
-
theme?: Theme;
|
|
15
11
|
};
|
|
16
12
|
declare const __VLS_export: import("vue").DefineComponent<PSpinnerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PSpinnerProps> & Readonly<{}>, {
|
|
17
13
|
size: BreakpointCustomizable<SpinnerSize>;
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as t, ref as s, onMounted as c, onUpdated as a, 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__ */ t({
|
|
4
4
|
__name: "SpinnerWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
7
|
-
size: { default: "small" }
|
|
8
|
-
theme: {}
|
|
7
|
+
size: { default: "small" }
|
|
9
8
|
},
|
|
10
|
-
setup(
|
|
11
|
-
const
|
|
12
|
-
return
|
|
13
|
-
p(n, { theme: e.theme || r });
|
|
14
|
-
}), (r, x) => (d(), h(_(y(m)), {
|
|
9
|
+
setup(o) {
|
|
10
|
+
const r = u("p-spinner"), p = o, e = s(), n = () => d(e, p);
|
|
11
|
+
return c(n), a(n), (_, C) => (m(), f(i(l(r)), {
|
|
15
12
|
ref_key: "pdsComponentRef",
|
|
16
|
-
ref:
|
|
13
|
+
ref: e
|
|
17
14
|
}, null, 512));
|
|
18
15
|
}
|
|
19
16
|
});
|
|
20
17
|
export {
|
|
21
|
-
|
|
18
|
+
x as default
|
|
22
19
|
};
|
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, StepperHorizontalSize
|
|
1
|
+
import type { StepperHorizontalUpdateEventDetail, BreakpointCustomizable, StepperHorizontalSize } from '../types';
|
|
2
2
|
type PStepperHorizontalProps = {
|
|
3
3
|
size?: BreakpointCustomizable<StepperHorizontalSize>;
|
|
4
|
-
/**
|
|
5
|
-
* Adapts the tag color depending on the theme.
|
|
6
|
-
*/
|
|
7
|
-
theme?: Theme;
|
|
8
4
|
};
|
|
9
5
|
declare var __VLS_8: {};
|
|
10
6
|
type __VLS_Slots = {} & {
|
|
11
7
|
default?: (props: typeof __VLS_8) => any;
|
|
12
8
|
};
|
|
13
9
|
declare const __VLS_base: import("vue").DefineComponent<PStepperHorizontalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
|
-
update: (value:
|
|
15
|
-
stepChange: (value: import("../types").StepperHorizontalUpdateEvent) => any;
|
|
10
|
+
update: (value: StepperHorizontalUpdateEventDetail) => any;
|
|
16
11
|
}, string, import("vue").PublicProps, Readonly<PStepperHorizontalProps> & Readonly<{
|
|
17
|
-
onUpdate?: ((value:
|
|
18
|
-
onStepChange?: ((value: import("../types").StepperHorizontalUpdateEvent) => any) | undefined;
|
|
12
|
+
onUpdate?: ((value: StepperHorizontalUpdateEventDetail) => any) | undefined;
|
|
19
13
|
}>, {
|
|
20
14
|
size: BreakpointCustomizable<StepperHorizontalSize>;
|
|
21
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|