@porsche-design-system/components-vue 3.31.0 → 4.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +250 -1
- package/cjs/PorscheDesignSystemProvider.vue.cjs +1 -1
- package/cjs/lib/components/AccordionWrapper.vue.cjs +1 -1
- package/cjs/lib/components/BannerWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ButtonPureWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ButtonTileWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ButtonWrapper.vue.cjs +1 -1
- package/cjs/lib/components/CanvasWrapper.vue.cjs +1 -1
- package/cjs/lib/components/CarouselWrapper.vue.cjs +1 -1
- package/cjs/lib/components/CheckboxWrapper.vue.cjs +1 -1
- package/cjs/lib/components/DisplayWrapper.vue.cjs +1 -1
- package/cjs/lib/components/DividerWrapper.vue.cjs +1 -1
- package/cjs/lib/components/DrilldownWrapper.vue.cjs +1 -1
- package/cjs/lib/components/FieldsetWrapper.vue.cjs +1 -1
- package/cjs/lib/components/FlyoutWrapper.vue.cjs +1 -1
- package/cjs/lib/components/HeadingWrapper.vue.cjs +1 -1
- package/cjs/lib/components/IconWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InlineNotificationWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputDateWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputEmailWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputMonthWrapper.vue.cjs +1 -0
- package/cjs/lib/components/InputMonthWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/InputNumberWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputPasswordWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputSearchWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputTelWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputTextWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputTimeWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputUrlWrapper.vue.cjs +1 -1
- package/cjs/lib/components/InputWeekWrapper.vue.cjs +1 -0
- package/cjs/lib/components/InputWeekWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/LinkPureWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkTileProductWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkTileWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ModalWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ModelSignatureWrapper.vue.cjs +1 -1
- package/cjs/lib/components/MultiSelectWrapper.vue.cjs +1 -1
- package/cjs/lib/components/PaginationWrapper.vue.cjs +1 -1
- package/cjs/lib/components/PinCodeWrapper.vue.cjs +1 -1
- package/cjs/lib/components/PopoverWrapper.vue.cjs +1 -1
- package/cjs/lib/components/RadioGroupWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ScrollerWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SegmentedControlWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SelectWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SheetWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SpinnerWrapper.vue.cjs +1 -1
- package/cjs/lib/components/StepperHorizontalWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SwitchWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TableWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TabsBarWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TabsWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TagDismissibleWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TagWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TextListWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TextWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TextareaWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ToastWrapper.vue.cjs +1 -1
- package/cjs/lib/components/WordmarkWrapper.vue.cjs +1 -1
- package/cjs/public-api.cjs +1 -1
- package/cjs/utils.cjs +1 -1
- package/esm/PorscheDesignSystemProvider.vue.d.ts +0 -3
- package/esm/PorscheDesignSystemProvider.vue.mjs +9 -15
- package/esm/lib/components/AccordionWrapper.vue.d.ts +3 -13
- package/esm/lib/components/AccordionWrapper.vue.mjs +13 -17
- package/esm/lib/components/BannerWrapper.vue.d.ts +1 -14
- package/esm/lib/components/BannerWrapper.vue.mjs +12 -17
- package/esm/lib/components/ButtonPureWrapper.vue.d.ts +2 -12
- package/esm/lib/components/ButtonPureWrapper.vue.mjs +11 -15
- package/esm/lib/components/ButtonTileWrapper.vue.d.ts +1 -6
- package/esm/lib/components/ButtonTileWrapper.vue.mjs +8 -9
- package/esm/lib/components/ButtonWrapper.vue.d.ts +1 -5
- package/esm/lib/components/ButtonWrapper.vue.mjs +10 -13
- package/esm/lib/components/CanvasWrapper.vue.d.ts +0 -5
- package/esm/lib/components/CanvasWrapper.vue.mjs +12 -15
- package/esm/lib/components/CarouselWrapper.vue.d.ts +7 -22
- package/esm/lib/components/CarouselWrapper.vue.mjs +17 -22
- package/esm/lib/components/CheckboxWrapper.vue.d.ts +1 -7
- package/esm/lib/components/CheckboxWrapper.vue.mjs +14 -17
- package/esm/lib/components/DisplayWrapper.vue.d.ts +1 -5
- package/esm/lib/components/DisplayWrapper.vue.mjs +11 -14
- package/esm/lib/components/DividerWrapper.vue.d.ts +2 -10
- package/esm/lib/components/DividerWrapper.vue.mjs +10 -14
- package/esm/lib/components/DrilldownWrapper.vue.d.ts +1 -5
- package/esm/lib/components/DrilldownWrapper.vue.mjs +12 -15
- package/esm/lib/components/FieldsetWrapper.vue.d.ts +1 -5
- package/esm/lib/components/FieldsetWrapper.vue.mjs +11 -14
- package/esm/lib/components/FlyoutWrapper.vue.d.ts +6 -5
- package/esm/lib/components/FlyoutWrapper.vue.mjs +13 -15
- package/esm/lib/components/HeadingWrapper.vue.d.ts +1 -5
- package/esm/lib/components/HeadingWrapper.vue.mjs +11 -14
- package/esm/lib/components/IconWrapper.vue.d.ts +1 -10
- package/esm/lib/components/IconWrapper.vue.mjs +9 -13
- package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +1 -9
- package/esm/lib/components/InlineNotificationWrapper.vue.mjs +12 -16
- package/esm/lib/components/InputDateWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputDateWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputEmailWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputEmailWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputMonthWrapper.vue.d.ts +107 -0
- package/esm/lib/components/InputMonthWrapper.vue.mjs +44 -0
- package/esm/lib/components/InputMonthWrapper.vue2.mjs +4 -0
- package/esm/lib/components/InputNumberWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputNumberWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputPasswordWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputPasswordWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputSearchWrapper.vue.d.ts +9 -5
- package/esm/lib/components/InputSearchWrapper.vue.mjs +14 -15
- package/esm/lib/components/InputTelWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputTelWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputTextWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputTextWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputTimeWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputTimeWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputUrlWrapper.vue.d.ts +1 -5
- package/esm/lib/components/InputUrlWrapper.vue.mjs +12 -15
- package/esm/lib/components/InputWeekWrapper.vue.d.ts +107 -0
- package/esm/lib/components/InputWeekWrapper.vue.mjs +44 -0
- package/esm/lib/components/InputWeekWrapper.vue2.mjs +4 -0
- package/esm/lib/components/LinkPureWrapper.vue.d.ts +2 -12
- package/esm/lib/components/LinkPureWrapper.vue.mjs +11 -15
- package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +3 -7
- package/esm/lib/components/LinkTileProductWrapper.vue.mjs +13 -16
- package/esm/lib/components/LinkTileWrapper.vue.d.ts +1 -6
- package/esm/lib/components/LinkTileWrapper.vue.mjs +6 -7
- package/esm/lib/components/LinkWrapper.vue.d.ts +1 -5
- package/esm/lib/components/LinkWrapper.vue.mjs +10 -13
- package/esm/lib/components/ModalWrapper.vue.d.ts +6 -14
- package/esm/lib/components/ModalWrapper.vue.mjs +13 -17
- package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +2 -6
- package/esm/lib/components/ModelSignatureWrapper.vue.mjs +11 -14
- package/esm/lib/components/MultiSelectWrapper.vue.d.ts +1 -5
- package/esm/lib/components/MultiSelectWrapper.vue.mjs +14 -17
- package/esm/lib/components/PaginationWrapper.vue.d.ts +3 -30
- package/esm/lib/components/PaginationWrapper.vue.mjs +10 -18
- package/esm/lib/components/PinCodeWrapper.vue.d.ts +1 -5
- package/esm/lib/components/PinCodeWrapper.vue.mjs +14 -17
- package/esm/lib/components/PopoverWrapper.vue.d.ts +1 -5
- package/esm/lib/components/PopoverWrapper.vue.mjs +11 -14
- package/esm/lib/components/RadioGroupWrapper.vue.d.ts +2 -6
- package/esm/lib/components/RadioGroupWrapper.vue.mjs +12 -15
- package/esm/lib/components/ScrollerWrapper.vue.d.ts +1 -17
- package/esm/lib/components/ScrollerWrapper.vue.mjs +10 -16
- package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +29 -7
- package/esm/lib/components/SegmentedControlWrapper.vue.mjs +19 -17
- package/esm/lib/components/SelectWrapper.vue.d.ts +2 -6
- package/esm/lib/components/SelectWrapper.vue.mjs +14 -17
- package/esm/lib/components/SheetWrapper.vue.d.ts +6 -5
- package/esm/lib/components/SheetWrapper.vue.mjs +13 -15
- package/esm/lib/components/SpinnerWrapper.vue.d.ts +1 -5
- package/esm/lib/components/SpinnerWrapper.vue.mjs +9 -12
- package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +3 -9
- package/esm/lib/components/StepperHorizontalWrapper.vue.mjs +13 -16
- package/esm/lib/components/SwitchWrapper.vue.d.ts +4 -10
- package/esm/lib/components/SwitchWrapper.vue.mjs +13 -16
- package/esm/lib/components/TableWrapper.vue.d.ts +1 -7
- package/esm/lib/components/TableWrapper.vue.mjs +12 -15
- package/esm/lib/components/TabsBarWrapper.vue.d.ts +3 -17
- package/esm/lib/components/TabsBarWrapper.vue.mjs +12 -17
- package/esm/lib/components/TabsWrapper.vue.d.ts +3 -17
- package/esm/lib/components/TabsWrapper.vue.mjs +12 -17
- package/esm/lib/components/TagDismissibleWrapper.vue.d.ts +4 -8
- package/esm/lib/components/TagDismissibleWrapper.vue.mjs +12 -15
- package/esm/lib/components/TagWrapper.vue.d.ts +5 -8
- package/esm/lib/components/TagWrapper.vue.mjs +12 -15
- package/esm/lib/components/TextListWrapper.vue.d.ts +1 -13
- package/esm/lib/components/TextListWrapper.vue.mjs +10 -15
- package/esm/lib/components/TextWrapper.vue.d.ts +2 -6
- package/esm/lib/components/TextWrapper.vue.mjs +10 -13
- package/esm/lib/components/TextareaWrapper.vue.d.ts +7 -6
- package/esm/lib/components/TextareaWrapper.vue.mjs +13 -15
- package/esm/lib/components/ToastWrapper.vue.d.ts +1 -8
- package/esm/lib/components/ToastWrapper.vue.mjs +7 -15
- package/esm/lib/components/WordmarkWrapper.vue.d.ts +1 -5
- package/esm/lib/components/WordmarkWrapper.vue.mjs +9 -12
- package/esm/lib/components/index.d.ts +2 -16
- package/esm/lib/types.d.ts +149 -503
- package/esm/public-api.d.ts +1 -1
- package/esm/public-api.mjs +150 -179
- package/esm/tokens/index.d.ts +1 -0
- package/esm/utils.d.ts +1 -2
- package/esm/utils.mjs +7 -8
- package/global-styles/cn/font-face.css +1 -0
- package/global-styles/cn/index.css +168 -0
- package/global-styles/font-face.css +1 -0
- package/global-styles/index.css +168 -0
- package/global-styles/legacy-radius.css +5 -0
- package/global-styles/normalize.css +11 -0
- package/global-styles/variables.css +156 -0
- package/package.json +32 -10
- package/tailwindcss/index.css +174 -152
- package/tokens/cjs/index.cjs +12 -0
- package/tokens/esm/index.d.ts +1 -0
- package/tokens/esm/index.mjs +1 -0
- package/tokens/package.json +6 -0
- package/cjs/lib/components/ButtonGroupWrapper.vue.cjs +0 -1
- package/cjs/lib/components/ButtonGroupWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/CheckboxWrapperWrapper.vue.cjs +0 -1
- package/cjs/lib/components/CheckboxWrapperWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/ContentWrapperWrapper.vue.cjs +0 -1
- package/cjs/lib/components/ContentWrapperWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/FieldsetWrapperWrapper.vue.cjs +0 -1
- package/cjs/lib/components/FieldsetWrapperWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/FlexItemWrapper.vue.cjs +0 -1
- package/cjs/lib/components/FlexItemWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/FlexWrapper.vue.cjs +0 -1
- package/cjs/lib/components/FlexWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/GridItemWrapper.vue.cjs +0 -1
- package/cjs/lib/components/GridItemWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/GridWrapper.vue.cjs +0 -1
- package/cjs/lib/components/GridWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/HeadlineWrapper.vue.cjs +0 -1
- package/cjs/lib/components/HeadlineWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/LinkSocialWrapper.vue.cjs +0 -1
- package/cjs/lib/components/LinkSocialWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/LinkTileModelSignatureWrapper.vue.cjs +0 -1
- package/cjs/lib/components/LinkTileModelSignatureWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/MarqueWrapper.vue.cjs +0 -1
- package/cjs/lib/components/MarqueWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/RadioButtonWrapperWrapper.vue.cjs +0 -1
- package/cjs/lib/components/RadioButtonWrapperWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/SelectWrapperWrapper.vue.cjs +0 -1
- package/cjs/lib/components/SelectWrapperWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/TextFieldWrapperWrapper.vue.cjs +0 -1
- package/cjs/lib/components/TextFieldWrapperWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/TextareaWrapperWrapper.vue.cjs +0 -1
- package/cjs/lib/components/TextareaWrapperWrapper.vue2.cjs +0 -1
- package/esm/lib/components/ButtonGroupWrapper.vue.d.ts +0 -22
- package/esm/lib/components/ButtonGroupWrapper.vue.mjs +0 -23
- package/esm/lib/components/ButtonGroupWrapper.vue2.mjs +0 -4
- package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +0 -47
- package/esm/lib/components/CheckboxWrapperWrapper.vue.mjs +0 -30
- package/esm/lib/components/CheckboxWrapperWrapper.vue2.mjs +0 -4
- package/esm/lib/components/ContentWrapperWrapper.vue.d.ts +0 -34
- package/esm/lib/components/ContentWrapperWrapper.vue.mjs +0 -27
- package/esm/lib/components/ContentWrapperWrapper.vue2.mjs +0 -4
- package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +0 -47
- package/esm/lib/components/FieldsetWrapperWrapper.vue.mjs +0 -30
- package/esm/lib/components/FieldsetWrapperWrapper.vue2.mjs +0 -4
- package/esm/lib/components/FlexItemWrapper.vue.d.ts +0 -48
- package/esm/lib/components/FlexItemWrapper.vue.mjs +0 -28
- package/esm/lib/components/FlexItemWrapper.vue2.mjs +0 -4
- package/esm/lib/components/FlexWrapper.vue.d.ts +0 -48
- package/esm/lib/components/FlexWrapper.vue.mjs +0 -28
- package/esm/lib/components/FlexWrapper.vue2.mjs +0 -4
- package/esm/lib/components/GridItemWrapper.vue.d.ts +0 -28
- package/esm/lib/components/GridItemWrapper.vue.mjs +0 -24
- package/esm/lib/components/GridItemWrapper.vue2.mjs +0 -4
- package/esm/lib/components/GridWrapper.vue.d.ts +0 -34
- package/esm/lib/components/GridWrapper.vue.mjs +0 -25
- package/esm/lib/components/GridWrapper.vue2.mjs +0 -4
- package/esm/lib/components/HeadlineWrapper.vue.d.ts +0 -46
- package/esm/lib/components/HeadlineWrapper.vue.mjs +0 -30
- package/esm/lib/components/HeadlineWrapper.vue2.mjs +0 -4
- package/esm/lib/components/LinkSocialWrapper.vue.d.ts +0 -53
- package/esm/lib/components/LinkSocialWrapper.vue.mjs +0 -32
- package/esm/lib/components/LinkSocialWrapper.vue2.mjs +0 -4
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +0 -50
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue.mjs +0 -29
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue2.mjs +0 -4
- package/esm/lib/components/MarqueWrapper.vue.d.ts +0 -36
- package/esm/lib/components/MarqueWrapper.vue.mjs +0 -23
- package/esm/lib/components/MarqueWrapper.vue2.mjs +0 -4
- package/esm/lib/components/RadioButtonWrapperWrapper.vue.d.ts +0 -47
- package/esm/lib/components/RadioButtonWrapperWrapper.vue.mjs +0 -30
- package/esm/lib/components/RadioButtonWrapperWrapper.vue2.mjs +0 -4
- package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +0 -62
- package/esm/lib/components/SelectWrapperWrapper.vue.mjs +0 -33
- package/esm/lib/components/SelectWrapperWrapper.vue2.mjs +0 -4
- package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +0 -89
- package/esm/lib/components/TextFieldWrapperWrapper.vue.mjs +0 -41
- package/esm/lib/components/TextFieldWrapperWrapper.vue2.mjs +0 -4
- package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +0 -56
- package/esm/lib/components/TextareaWrapperWrapper.vue.mjs +0 -32
- package/esm/lib/components/TextareaWrapperWrapper.vue2.mjs +0 -4
- /package/styles/vanilla-extract/cjs/{vanilla-extract/index.cjs → index.cjs} +0 -0
- /package/styles/vanilla-extract/esm/{vanilla-extract/index.d.ts → index.d.ts} +0 -0
- /package/styles/vanilla-extract/esm/{vanilla-extract/index.mjs → index.mjs} +0 -0
|
@@ -1,29 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as m, ref as f, onMounted as c, onUpdated as d, createBlock as i, openBlock as l, resolveDynamicComponent as u, unref as _, withCtx as C, renderSlot as y } from "vue";
|
|
2
|
+
import { usePrefix as h, syncProperties as k, addEventListenerToElementRef as x } from "../../utils.mjs";
|
|
3
|
+
const v = /* @__PURE__ */ m({
|
|
4
4
|
__name: "StepperHorizontalWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
size: { default: "small" }
|
|
7
|
-
theme: {}
|
|
6
|
+
size: { default: "small" }
|
|
8
7
|
},
|
|
9
|
-
emits: ["
|
|
10
|
-
setup(
|
|
11
|
-
const
|
|
12
|
-
return
|
|
13
|
-
|
|
14
|
-
}),
|
|
15
|
-
s(e, { theme: t.theme || n });
|
|
16
|
-
}), (n, z) => (y(), _(R(g(f)), {
|
|
8
|
+
emits: ["update"],
|
|
9
|
+
setup(o, { emit: n }) {
|
|
10
|
+
const r = h("p-stepper-horizontal"), p = o, e = f(), s = n, t = () => k(e, p);
|
|
11
|
+
return c(() => {
|
|
12
|
+
t(), x(e, "update", s);
|
|
13
|
+
}), d(t), (a, z) => (l(), i(u(_(r)), {
|
|
17
14
|
ref_key: "pdsComponentRef",
|
|
18
15
|
ref: e
|
|
19
16
|
}, {
|
|
20
|
-
default:
|
|
21
|
-
|
|
17
|
+
default: C(() => [
|
|
18
|
+
y(a.$slots, "default")
|
|
22
19
|
]),
|
|
23
20
|
_: 3
|
|
24
21
|
}, 512));
|
|
25
22
|
}
|
|
26
23
|
});
|
|
27
24
|
export {
|
|
28
|
-
|
|
25
|
+
v as default
|
|
29
26
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, SwitchAlignLabel,
|
|
1
|
+
import type { BreakpointCustomizable, SwitchAlignLabel, SwitchUpdateEventDetail } from '../types';
|
|
2
2
|
type PSwitchProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Aligns the label.
|
|
@@ -28,28 +28,22 @@ type PSwitchProps = {
|
|
|
28
28
|
* Stretches the contents to max available space.
|
|
29
29
|
*/
|
|
30
30
|
stretch?: BreakpointCustomizable<boolean>;
|
|
31
|
-
/**
|
|
32
|
-
* Adapts the switch color depending on the theme.
|
|
33
|
-
*/
|
|
34
|
-
theme?: Theme;
|
|
35
31
|
};
|
|
36
32
|
declare var __VLS_8: {};
|
|
37
33
|
type __VLS_Slots = {} & {
|
|
38
34
|
default?: (props: typeof __VLS_8) => any;
|
|
39
35
|
};
|
|
40
36
|
declare const __VLS_base: import("vue").DefineComponent<PSwitchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
41
|
-
update: (value:
|
|
42
|
-
switchChange: (value: import("../types").SwitchUpdateEvent) => any;
|
|
37
|
+
update: (value: SwitchUpdateEventDetail) => any;
|
|
43
38
|
}, string, import("vue").PublicProps, Readonly<PSwitchProps> & Readonly<{
|
|
44
|
-
onUpdate?: ((value:
|
|
45
|
-
onSwitchChange?: ((value: import("../types").SwitchUpdateEvent) => any) | undefined;
|
|
39
|
+
onUpdate?: ((value: SwitchUpdateEventDetail) => any) | undefined;
|
|
46
40
|
}>, {
|
|
47
|
-
stretch: BreakpointCustomizable<boolean>;
|
|
48
41
|
compact: boolean;
|
|
49
42
|
disabled: boolean;
|
|
50
43
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
51
44
|
loading: boolean;
|
|
52
45
|
alignLabel: BreakpointCustomizable<SwitchAlignLabel>;
|
|
46
|
+
stretch: BreakpointCustomizable<boolean>;
|
|
53
47
|
checked: boolean;
|
|
54
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
49
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as f, ref as d, onMounted as r, onUpdated as c, createBlock as i, openBlock as u, resolveDynamicComponent as m, unref as y, withCtx as B, renderSlot as h } from "vue";
|
|
2
|
+
import { usePrefix as _, syncProperties as b, addEventListenerToElementRef as C } from "../../utils.mjs";
|
|
3
|
+
const x = /* @__PURE__ */ f({
|
|
4
4
|
__name: "SwitchWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
alignLabel: { default: "end" },
|
|
@@ -9,27 +9,24 @@ const L = /* @__PURE__ */ r({
|
|
|
9
9
|
disabled: { type: Boolean, default: !1 },
|
|
10
10
|
hideLabel: { type: [Boolean, Object], default: !1 },
|
|
11
11
|
loading: { type: Boolean, default: !1 },
|
|
12
|
-
stretch: { type: [Boolean, Object], default: !1 }
|
|
13
|
-
theme: {}
|
|
12
|
+
stretch: { type: [Boolean, Object], default: !1 }
|
|
14
13
|
},
|
|
15
|
-
emits: ["
|
|
16
|
-
setup(
|
|
17
|
-
const
|
|
18
|
-
return
|
|
19
|
-
|
|
20
|
-
}),
|
|
21
|
-
l(e, { theme: t.theme || o });
|
|
22
|
-
}), (o, R) => (C(), B(w(_(d)), {
|
|
14
|
+
emits: ["update"],
|
|
15
|
+
setup(o, { emit: n }) {
|
|
16
|
+
const a = _("p-switch"), l = o, e = d(), s = n, t = () => b(e, l);
|
|
17
|
+
return r(() => {
|
|
18
|
+
t(), C(e, "update", s);
|
|
19
|
+
}), c(t), (p, k) => (u(), i(m(y(a)), {
|
|
23
20
|
ref_key: "pdsComponentRef",
|
|
24
21
|
ref: e
|
|
25
22
|
}, {
|
|
26
|
-
default:
|
|
27
|
-
|
|
23
|
+
default: B(() => [
|
|
24
|
+
h(p.$slots, "default")
|
|
28
25
|
]),
|
|
29
26
|
_: 3
|
|
30
27
|
}, 512));
|
|
31
28
|
}
|
|
32
29
|
});
|
|
33
30
|
export {
|
|
34
|
-
|
|
31
|
+
x as default
|
|
35
32
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TableLayout
|
|
1
|
+
import type { TableLayout } from '../types';
|
|
2
2
|
type PTableProps = {
|
|
3
3
|
/**
|
|
4
4
|
* A caption describing the contents of the table for accessibility only. This won't be visible in the browser. Use an element with an attribute of `slot="caption"` for a visible caption.
|
|
@@ -12,10 +12,6 @@ type PTableProps = {
|
|
|
12
12
|
* Controls the layout behavior of the table.
|
|
13
13
|
*/
|
|
14
14
|
layout?: TableLayout;
|
|
15
|
-
/**
|
|
16
|
-
* Adapts the color when used on dark background.
|
|
17
|
-
*/
|
|
18
|
-
theme?: Theme;
|
|
19
15
|
};
|
|
20
16
|
declare var __VLS_8: {};
|
|
21
17
|
type __VLS_Slots = {} & {
|
|
@@ -23,10 +19,8 @@ type __VLS_Slots = {} & {
|
|
|
23
19
|
};
|
|
24
20
|
declare const __VLS_base: import("vue").DefineComponent<PTableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
25
21
|
update: (value: import("../types").TableHeadCellSort) => any;
|
|
26
|
-
sortingChange: (value: import("../types").TableHeadCellSort) => any;
|
|
27
22
|
}, string, import("vue").PublicProps, Readonly<PTableProps> & Readonly<{
|
|
28
23
|
onUpdate?: ((value: import("../types").TableHeadCellSort) => any) | undefined;
|
|
29
|
-
onSortingChange?: ((value: import("../types").TableHeadCellSort) => any) | undefined;
|
|
30
24
|
}>, {
|
|
31
25
|
compact: boolean;
|
|
32
26
|
layout: TableLayout;
|
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const T = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as c, ref as f, onMounted as m, onUpdated as d, createBlock as l, openBlock as u, resolveDynamicComponent as i, unref as _, withCtx as y, renderSlot as C } from "vue";
|
|
2
|
+
import { usePrefix as b, syncProperties as k, addEventListenerToElementRef as x } from "../../utils.mjs";
|
|
3
|
+
const T = /* @__PURE__ */ c({
|
|
4
4
|
__name: "TableWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
caption: {},
|
|
7
7
|
compact: { type: Boolean, default: !1 },
|
|
8
|
-
layout: { default: "auto" }
|
|
9
|
-
theme: {}
|
|
8
|
+
layout: { default: "auto" }
|
|
10
9
|
},
|
|
11
|
-
emits: ["
|
|
12
|
-
setup(
|
|
13
|
-
const
|
|
14
|
-
return
|
|
15
|
-
|
|
16
|
-
}),
|
|
17
|
-
p(e, { theme: t.theme || o });
|
|
18
|
-
}), (o, x) => (_(), y(g(R(f)), {
|
|
10
|
+
emits: ["update"],
|
|
11
|
+
setup(o, { emit: n }) {
|
|
12
|
+
const p = b("p-table"), r = o, e = f(), a = n, t = () => k(e, r);
|
|
13
|
+
return m(() => {
|
|
14
|
+
t(), x(e, "update", a);
|
|
15
|
+
}), d(t), (s, B) => (u(), l(i(_(p)), {
|
|
19
16
|
ref_key: "pdsComponentRef",
|
|
20
17
|
ref: e
|
|
21
18
|
}, {
|
|
22
|
-
default:
|
|
23
|
-
|
|
19
|
+
default: y(() => [
|
|
20
|
+
C(s.$slots, "default")
|
|
24
21
|
]),
|
|
25
22
|
_: 3
|
|
26
23
|
}, 512));
|
|
@@ -1,25 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TabsBarUpdateEventDetail, BreakpointCustomizable, TabsBarSize, TabsBarWeight } from '../types';
|
|
2
2
|
type PTabsBarProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Defines which tab to be visualized as selected (zero-based numbering), undefined if none should be selected.
|
|
5
5
|
*/
|
|
6
6
|
activeTabIndex?: number | undefined;
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated since v3.29.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
9
|
-
*/
|
|
10
|
-
gradientColor?: TabsBarGradientColor;
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated since v3.0.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
13
|
-
*/
|
|
14
|
-
gradientColorScheme?: TabsBarGradientColorScheme;
|
|
15
7
|
/**
|
|
16
8
|
* The text size.
|
|
17
9
|
*/
|
|
18
10
|
size?: BreakpointCustomizable<TabsBarSize>;
|
|
19
|
-
/**
|
|
20
|
-
* Adapts the color when used on dark background.
|
|
21
|
-
*/
|
|
22
|
-
theme?: Theme;
|
|
23
11
|
/**
|
|
24
12
|
* The text weight.
|
|
25
13
|
*/
|
|
@@ -30,11 +18,9 @@ type __VLS_Slots = {} & {
|
|
|
30
18
|
default?: (props: typeof __VLS_8) => any;
|
|
31
19
|
};
|
|
32
20
|
declare const __VLS_base: import("vue").DefineComponent<PTabsBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
33
|
-
update: (value:
|
|
34
|
-
tabChange: (value: import("../types").TabsBarUpdateEvent) => any;
|
|
21
|
+
update: (value: TabsBarUpdateEventDetail) => any;
|
|
35
22
|
}, string, import("vue").PublicProps, Readonly<PTabsBarProps> & Readonly<{
|
|
36
|
-
onUpdate?: ((value:
|
|
37
|
-
onTabChange?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
|
|
23
|
+
onUpdate?: ((value: TabsBarUpdateEventDetail) => any) | undefined;
|
|
38
24
|
}>, {
|
|
39
25
|
weight: TabsBarWeight;
|
|
40
26
|
size: BreakpointCustomizable<TabsBarSize>;
|
|
@@ -1,33 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as x,
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as d, ref as f, onMounted as m, onUpdated as c, createBlock as i, openBlock as l, resolveDynamicComponent as u, unref as _, withCtx as C, renderSlot as b } from "vue";
|
|
2
|
+
import { usePrefix as x, syncProperties as y, addEventListenerToElementRef as T } from "../../utils.mjs";
|
|
3
|
+
const v = /* @__PURE__ */ d({
|
|
4
4
|
__name: "TabsBarWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
activeTabIndex: {},
|
|
7
|
-
gradientColor: {},
|
|
8
|
-
gradientColorScheme: {},
|
|
9
7
|
size: { default: "small" },
|
|
10
|
-
theme: {},
|
|
11
8
|
weight: { default: "regular" }
|
|
12
9
|
},
|
|
13
|
-
emits: ["
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
}),
|
|
19
|
-
s(e, { theme: t.theme || n });
|
|
20
|
-
}), (n, T) => (g(), b(_(y(d)), {
|
|
10
|
+
emits: ["update"],
|
|
11
|
+
setup(o, { emit: n }) {
|
|
12
|
+
const r = x("p-tabs-bar"), s = o, e = f(), a = n, t = () => y(e, s);
|
|
13
|
+
return m(() => {
|
|
14
|
+
t(), T(e, "update", a);
|
|
15
|
+
}), c(t), (p, g) => (l(), i(u(_(r)), {
|
|
21
16
|
ref_key: "pdsComponentRef",
|
|
22
17
|
ref: e
|
|
23
18
|
}, {
|
|
24
|
-
default:
|
|
25
|
-
|
|
19
|
+
default: C(() => [
|
|
20
|
+
b(p.$slots, "default")
|
|
26
21
|
]),
|
|
27
22
|
_: 3
|
|
28
23
|
}, 512));
|
|
29
24
|
}
|
|
30
25
|
});
|
|
31
26
|
export {
|
|
32
|
-
|
|
27
|
+
v as default
|
|
33
28
|
};
|
|
@@ -1,25 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TabsUpdateEventDetail, BreakpointCustomizable, TabsSize, TabsWeight } from '../types';
|
|
2
2
|
type PTabsProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Defines which tab to be visualized as selected (zero-based numbering).
|
|
5
5
|
*/
|
|
6
6
|
activeTabIndex?: number;
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated since v3.29.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
9
|
-
*/
|
|
10
|
-
gradientColor?: TabsGradientColor;
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated since v3.0.0, will be removed with next major release, use `gradientColor` instead. Adapts the background gradient color of prev and next button.
|
|
13
|
-
*/
|
|
14
|
-
gradientColorScheme?: TabsGradientColorScheme;
|
|
15
7
|
/**
|
|
16
8
|
* The text size.
|
|
17
9
|
*/
|
|
18
10
|
size?: BreakpointCustomizable<TabsSize>;
|
|
19
|
-
/**
|
|
20
|
-
* Adapts the color when used on dark background.
|
|
21
|
-
*/
|
|
22
|
-
theme?: Theme;
|
|
23
11
|
/**
|
|
24
12
|
* The text weight.
|
|
25
13
|
*/
|
|
@@ -30,11 +18,9 @@ type __VLS_Slots = {} & {
|
|
|
30
18
|
default?: (props: typeof __VLS_8) => any;
|
|
31
19
|
};
|
|
32
20
|
declare const __VLS_base: import("vue").DefineComponent<PTabsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
33
|
-
update: (value:
|
|
34
|
-
tabChange: (value: import("../types").TabsBarUpdateEvent) => any;
|
|
21
|
+
update: (value: TabsUpdateEventDetail) => any;
|
|
35
22
|
}, string, import("vue").PublicProps, Readonly<PTabsProps> & Readonly<{
|
|
36
|
-
onUpdate?: ((value:
|
|
37
|
-
onTabChange?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
|
|
23
|
+
onUpdate?: ((value: TabsUpdateEventDetail) => any) | undefined;
|
|
38
24
|
}>, {
|
|
39
25
|
weight: TabsWeight;
|
|
40
26
|
size: BreakpointCustomizable<TabsSize>;
|
|
@@ -1,33 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as x,
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as d, ref as f, onMounted as m, onUpdated as c, createBlock as i, openBlock as l, resolveDynamicComponent as u, unref as _, withCtx as C, renderSlot as b } from "vue";
|
|
2
|
+
import { usePrefix as x, syncProperties as y, addEventListenerToElementRef as T } from "../../utils.mjs";
|
|
3
|
+
const v = /* @__PURE__ */ d({
|
|
4
4
|
__name: "TabsWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
activeTabIndex: { default: 0 },
|
|
7
|
-
gradientColor: {},
|
|
8
|
-
gradientColorScheme: {},
|
|
9
7
|
size: { default: "small" },
|
|
10
|
-
theme: {},
|
|
11
8
|
weight: { default: "regular" }
|
|
12
9
|
},
|
|
13
|
-
emits: ["
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
}),
|
|
19
|
-
s(e, { theme: t.theme || n });
|
|
20
|
-
}), (n, T) => (_(), g(b(y(d)), {
|
|
10
|
+
emits: ["update"],
|
|
11
|
+
setup(o, { emit: n }) {
|
|
12
|
+
const r = x("p-tabs"), s = o, e = f(), a = n, t = () => y(e, s);
|
|
13
|
+
return m(() => {
|
|
14
|
+
t(), T(e, "update", a);
|
|
15
|
+
}), c(t), (p, g) => (l(), i(u(_(r)), {
|
|
21
16
|
ref_key: "pdsComponentRef",
|
|
22
17
|
ref: e
|
|
23
18
|
}, {
|
|
24
|
-
default:
|
|
25
|
-
|
|
19
|
+
default: C(() => [
|
|
20
|
+
b(p.$slots, "default")
|
|
26
21
|
]),
|
|
27
22
|
_: 3
|
|
28
23
|
}, 512));
|
|
29
24
|
}
|
|
30
25
|
});
|
|
31
26
|
export {
|
|
32
|
-
|
|
27
|
+
v as default
|
|
33
28
|
};
|
|
@@ -1,28 +1,24 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes, TagDismissibleAriaAttribute
|
|
1
|
+
import type { SelectedAriaAttributes, TagDismissibleAriaAttribute } from '../types';
|
|
2
2
|
type PTagDismissibleProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Add ARIA attributes.
|
|
5
5
|
*/
|
|
6
6
|
aria?: SelectedAriaAttributes<TagDismissibleAriaAttribute>;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* A boolean value that, if present, renders the tag dismissible as a compact version.
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
compact?: boolean;
|
|
11
11
|
/**
|
|
12
12
|
* The label text.
|
|
13
13
|
*/
|
|
14
14
|
label?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Adapts the color when used on dark background.
|
|
17
|
-
*/
|
|
18
|
-
theme?: Theme;
|
|
19
15
|
};
|
|
20
16
|
declare var __VLS_8: {};
|
|
21
17
|
type __VLS_Slots = {} & {
|
|
22
18
|
default?: (props: typeof __VLS_8) => any;
|
|
23
19
|
};
|
|
24
20
|
declare const __VLS_base: import("vue").DefineComponent<PTagDismissibleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PTagDismissibleProps> & Readonly<{}>, {
|
|
25
|
-
|
|
21
|
+
compact: boolean;
|
|
26
22
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
23
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
24
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,28 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as a, onMounted as c, onUpdated as f, createBlock as i, openBlock as l, resolveDynamicComponent as m, unref as d, withCtx as u, renderSlot as _ } from "vue";
|
|
2
|
+
import { usePrefix as C, syncProperties as y } from "../../utils.mjs";
|
|
3
|
+
const x = /* @__PURE__ */ p({
|
|
4
4
|
__name: "TagDismissibleWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
7
|
-
|
|
8
|
-
label: {}
|
|
9
|
-
theme: {}
|
|
7
|
+
compact: { type: Boolean, default: !1 },
|
|
8
|
+
label: {}
|
|
10
9
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
return
|
|
14
|
-
s(t, { theme: e.theme || o });
|
|
15
|
-
}), (o, w) => (h(), u(_(C(p)), {
|
|
10
|
+
setup(t) {
|
|
11
|
+
const n = C("p-tag-dismissible"), s = t, e = a(), o = () => y(e, s);
|
|
12
|
+
return c(o), f(o), (r, b) => (l(), i(m(d(n)), {
|
|
16
13
|
ref_key: "pdsComponentRef",
|
|
17
|
-
ref:
|
|
14
|
+
ref: e
|
|
18
15
|
}, {
|
|
19
|
-
default:
|
|
20
|
-
|
|
16
|
+
default: u(() => [
|
|
17
|
+
_(r.$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,9 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TagIcon, TagVariant } from '../types';
|
|
2
2
|
type PTagProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Background color variations depending on theme property.
|
|
5
|
-
*/
|
|
6
|
-
color?: TagColor;
|
|
7
3
|
/**
|
|
8
4
|
* Displays as compact version.
|
|
9
5
|
*/
|
|
@@ -17,9 +13,9 @@ type PTagProps = {
|
|
|
17
13
|
*/
|
|
18
14
|
iconSource?: string;
|
|
19
15
|
/**
|
|
20
|
-
*
|
|
16
|
+
* Background color variations.
|
|
21
17
|
*/
|
|
22
|
-
|
|
18
|
+
variant?: TagVariant;
|
|
23
19
|
};
|
|
24
20
|
declare var __VLS_8: {};
|
|
25
21
|
type __VLS_Slots = {} & {
|
|
@@ -27,7 +23,8 @@ type __VLS_Slots = {} & {
|
|
|
27
23
|
};
|
|
28
24
|
declare const __VLS_base: import("vue").DefineComponent<PTagProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PTagProps> & Readonly<{}>, {
|
|
29
25
|
compact: boolean;
|
|
30
|
-
|
|
26
|
+
icon: TagIcon;
|
|
27
|
+
variant: TagVariant;
|
|
31
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
29
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
30
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,29 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as a, ref as s, onMounted as c, onUpdated as f, createBlock as d, openBlock as l, resolveDynamicComponent as m, unref as u, withCtx as i, renderSlot as _ } from "vue";
|
|
2
|
+
import { usePrefix as y, syncProperties as C } from "../../utils.mjs";
|
|
3
|
+
const B = /* @__PURE__ */ a({
|
|
4
4
|
__name: "TagWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
color: { default: "background-surface" },
|
|
7
6
|
compact: { type: Boolean, default: !1 },
|
|
8
|
-
icon: {},
|
|
7
|
+
icon: { default: "none" },
|
|
9
8
|
iconSource: {},
|
|
10
|
-
|
|
9
|
+
variant: { default: "secondary" }
|
|
11
10
|
},
|
|
12
|
-
setup(
|
|
13
|
-
const
|
|
14
|
-
return
|
|
15
|
-
c(o, { theme: e.theme || t });
|
|
16
|
-
}), (t, x) => (h(), i(_(y(a)), {
|
|
11
|
+
setup(n) {
|
|
12
|
+
const t = y("p-tag"), r = n, e = s(), o = () => C(e, r);
|
|
13
|
+
return c(o), f(o), (p, g) => (l(), d(m(u(t)), {
|
|
17
14
|
ref_key: "pdsComponentRef",
|
|
18
|
-
ref:
|
|
15
|
+
ref: e
|
|
19
16
|
}, {
|
|
20
|
-
default:
|
|
21
|
-
|
|
17
|
+
default: i(() => [
|
|
18
|
+
_(p.$slots, "default")
|
|
22
19
|
]),
|
|
23
20
|
_: 3
|
|
24
21
|
}, 512));
|
|
25
22
|
}
|
|
26
23
|
});
|
|
27
24
|
export {
|
|
28
|
-
|
|
25
|
+
B as default
|
|
29
26
|
};
|
|
@@ -1,17 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TextListType } from '../types';
|
|
2
2
|
type PTextListProps = {
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The type of the list.
|
|
5
|
-
*/
|
|
6
|
-
listType?: TextListListType;
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The list style type of ordered list. Only has effect when list type is set to 'ordered'.
|
|
9
|
-
*/
|
|
10
|
-
orderType?: TextListOrderType;
|
|
11
|
-
/**
|
|
12
|
-
* Adapts the text color depending on the theme.
|
|
13
|
-
*/
|
|
14
|
-
theme?: Theme;
|
|
15
3
|
/**
|
|
16
4
|
* The list style type.
|
|
17
5
|
*/
|
|
@@ -1,28 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as s, ref as f, onMounted as c, onUpdated as a, createBlock as d, openBlock as m, resolveDynamicComponent as u, unref as i, withCtx as l, renderSlot as _ } from "vue";
|
|
2
|
+
import { usePrefix as C, syncProperties as x } from "../../utils.mjs";
|
|
3
|
+
const h = /* @__PURE__ */ s({
|
|
4
4
|
__name: "TextListWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
listType: {},
|
|
7
|
-
orderType: {},
|
|
8
|
-
theme: {},
|
|
9
6
|
type: { default: "unordered" }
|
|
10
7
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
return
|
|
14
|
-
p(t, { theme: e.theme || o });
|
|
15
|
-
}), (o, w) => (h(), u(y(_(m)), {
|
|
8
|
+
setup(t) {
|
|
9
|
+
const n = C("p-text-list"), r = t, e = f(), o = () => x(e, r);
|
|
10
|
+
return c(o), a(o), (p, y) => (m(), d(u(i(n)), {
|
|
16
11
|
ref_key: "pdsComponentRef",
|
|
17
|
-
ref:
|
|
12
|
+
ref: e
|
|
18
13
|
}, {
|
|
19
|
-
default:
|
|
20
|
-
|
|
14
|
+
default: l(() => [
|
|
15
|
+
_(p.$slots, "default")
|
|
21
16
|
]),
|
|
22
17
|
_: 3
|
|
23
18
|
}, 512));
|
|
24
19
|
}
|
|
25
20
|
});
|
|
26
21
|
export {
|
|
27
|
-
|
|
22
|
+
h as default
|
|
28
23
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TextAlign, TextColor, BreakpointCustomizable, TextSize, TextTag,
|
|
1
|
+
import type { TextAlign, TextColor, BreakpointCustomizable, TextSize, TextTag, TextWeight } from '../types';
|
|
2
2
|
type PTextProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Text alignment of the component.
|
|
@@ -20,10 +20,6 @@ type PTextProps = {
|
|
|
20
20
|
* Sets a custom HTML tag depending on the usage of the text component.
|
|
21
21
|
*/
|
|
22
22
|
tag?: TextTag;
|
|
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
|
* The weight of the text.
|
|
29
25
|
*/
|
|
@@ -36,10 +32,10 @@ type __VLS_Slots = {} & {
|
|
|
36
32
|
declare const __VLS_base: import("vue").DefineComponent<PTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PTextProps> & Readonly<{}>, {
|
|
37
33
|
weight: TextWeight;
|
|
38
34
|
size: BreakpointCustomizable<TextSize>;
|
|
39
|
-
tag: TextTag;
|
|
40
35
|
align: TextAlign;
|
|
41
36
|
color: TextColor;
|
|
42
37
|
ellipsis: boolean;
|
|
38
|
+
tag: TextTag;
|
|
43
39
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
44
40
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
45
41
|
declare const _default: typeof __VLS_export;
|