@porsche-design-system/components-vue 3.27.3 → 3.28.0-rc.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 +23 -0
- package/cjs/lib/components/DrilldownItemWrapper.vue.cjs +1 -0
- package/cjs/lib/components/DrilldownItemWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/DrilldownLinkWrapper.vue.cjs +1 -0
- package/cjs/lib/components/DrilldownLinkWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/DrilldownWrapper.vue.cjs +1 -0
- package/cjs/lib/components/DrilldownWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/InputPasswordWrapper.vue.cjs +1 -0
- package/cjs/lib/components/InputPasswordWrapper.vue2.cjs +1 -0
- package/cjs/public-api.cjs +1 -1
- package/esm/lib/components/{FlyoutMultilevelItemWrapper.vue.d.ts → DrilldownItemWrapper.vue.d.ts} +4 -4
- package/esm/lib/components/DrilldownItemWrapper.vue.mjs +27 -0
- package/esm/lib/components/DrilldownItemWrapper.vue2.mjs +4 -0
- package/esm/lib/components/DrilldownLinkWrapper.vue.d.ts +41 -0
- package/esm/lib/components/DrilldownLinkWrapper.vue.mjs +28 -0
- package/esm/lib/components/DrilldownLinkWrapper.vue2.mjs +4 -0
- package/esm/lib/components/DrilldownWrapper.vue.d.ts +32 -0
- package/esm/lib/components/DrilldownWrapper.vue.mjs +31 -0
- package/esm/lib/components/DrilldownWrapper.vue2.mjs +4 -0
- package/esm/lib/components/InputPasswordWrapper.vue.d.ts +108 -0
- package/esm/lib/components/InputPasswordWrapper.vue.mjs +45 -0
- package/esm/lib/components/InputPasswordWrapper.vue2.mjs +4 -0
- package/esm/lib/components/TextareaWrapper.vue.d.ts +1 -1
- package/esm/lib/components/index.d.ts +4 -2
- package/esm/lib/types.d.ts +24 -10
- package/esm/public-api.mjs +140 -136
- package/package.json +2 -2
- package/cjs/lib/components/FlyoutMultilevelItemWrapper.vue.cjs +0 -1
- package/cjs/lib/components/FlyoutMultilevelItemWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/FlyoutMultilevelWrapper.vue.cjs +0 -1
- package/cjs/lib/components/FlyoutMultilevelWrapper.vue2.cjs +0 -1
- package/esm/lib/components/FlyoutMultilevelItemWrapper.vue.mjs +0 -27
- package/esm/lib/components/FlyoutMultilevelItemWrapper.vue2.mjs +0 -4
- package/esm/lib/components/FlyoutMultilevelWrapper.vue.d.ts +0 -32
- package/esm/lib/components/FlyoutMultilevelWrapper.vue.mjs +0 -31
- package/esm/lib/components/FlyoutMultilevelWrapper.vue2.mjs +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,29 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
14
14
|
|
|
15
15
|
### [Unreleased]
|
|
16
16
|
|
|
17
|
+
### [3.28.0-rc.0] - 2025-04-11
|
|
18
|
+
|
|
19
|
+
#### Added
|
|
20
|
+
|
|
21
|
+
- `Input Password`: ([#3763](https://github.com/porsche-design-system/porsche-design-system/pull/3763))
|
|
22
|
+
- `Drilldown`, `Drilldown Item`: CSS variable `--p-drilldown-grid-template` and `--p-drilldown-gap` (experimental)
|
|
23
|
+
([#3822](https://github.com/porsche-design-system/porsche-design-system/pull/3822))
|
|
24
|
+
- `Drilldown Item`: named slot `button` and `header` (experimental)
|
|
25
|
+
([#3822](https://github.com/porsche-design-system/porsche-design-system/pull/3822))
|
|
26
|
+
- `Drilldown Link`: (experimental) ([#3822](https://github.com/porsche-design-system/porsche-design-system/pull/3822))
|
|
27
|
+
|
|
28
|
+
#### Changed
|
|
29
|
+
|
|
30
|
+
- **Breaking Change** `Flyout Multilevel`, `Flyout Multilevel Item`: renamed (experimental) component to `Drilldown` and
|
|
31
|
+
`Drilldown Item` ([#3822](https://github.com/porsche-design-system/porsche-design-system/pull/3822))
|
|
32
|
+
- **Breaking Change** `Drilldown Item` doesn't style slotted `<a>` tags anymore, instead use `Drilldown Link` or a
|
|
33
|
+
custom link ([#3822](https://github.com/porsche-design-system/porsche-design-system/pull/3822))
|
|
34
|
+
|
|
35
|
+
#### Fixed
|
|
36
|
+
|
|
37
|
+
- `aria` prop now supports a colon inside a value, e.g. `aria="{ 'aria-label': 'Always remember: yes you can!' }"`
|
|
38
|
+
([#3680](https://github.com/porsche-design-system/porsche-design-system/pull/3680))
|
|
39
|
+
|
|
17
40
|
### [3.27.3] - 2025-03-21
|
|
18
41
|
|
|
19
42
|
### [3.27.2] - 2025-03-20
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),t=require("../../utils.cjs"),l=e.defineComponent({__name:"DrilldownItemWrapper",props:{cascade:{type:Boolean,default:!1},identifier:{},label:{},primary:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1}},setup(r){const s=t.usePrefix("p-drilldown-item"),a=r,o=e.ref(),n=()=>t.syncProperties(o,a);return e.onMounted(n),e.onUpdated(n),(p,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(s)),{ref_key:"pdsComponentRef",ref:o},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},512))}});module.exports=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./DrilldownItemWrapper.vue.cjs");module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),t=require("../../utils.cjs"),a=e.defineComponent({__name:"DrilldownLinkWrapper",props:{active:{type:Boolean,default:!1},aria:{},download:{},href:{},rel:{},target:{default:"_self"}},setup(r){const s=t.usePrefix("p-drilldown-link"),p=r,n=e.ref(),o=()=>t.syncProperties(n,p);return e.onMounted(o),e.onUpdated(o),(l,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(s)),{ref_key:"pdsComponentRef",ref:n},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},512))}});module.exports=a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./DrilldownLinkWrapper.vue.cjs");module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),t=require("../../utils.cjs"),m=e.defineComponent({__name:"DrilldownWrapper",props:{activeIdentifier:{},aria:{},open:{type:Boolean,default:!1},theme:{}},emits:["dismiss","update"],setup(c,{emit:a}){const d=t.usePrefix("p-drilldown"),o=c,n=e.ref(),r=a,i=e.inject(t.themeInjectionKey),p=()=>t.syncProperties(n,{...o,theme:o.theme||i.value});return e.onMounted(()=>{p(),t.addEventListenerToElementRef(n,"dismiss",r),t.addEventListenerToElementRef(n,"update",r)}),e.onUpdated(p),e.watch(i,s=>{t.syncProperties(n,{theme:o.theme||s})}),(s,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(d)),{ref_key:"pdsComponentRef",ref:n},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},512))}});module.exports=m;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./DrilldownWrapper.vue.cjs");module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),t=require("../../utils.cjs"),p=e.defineComponent({__name:"InputPasswordWrapper",props:{autoComplete:{default:""},compact:{type:Boolean,default:!1},description:{default:""},disabled:{type:Boolean,default:!1},form:{},hideLabel:{default:!1},label:{default:""},maxLength:{},message:{default:""},minLength:{},name:{},placeholder:{default:""},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},state:{default:"none"},theme:{},toggle:{type:Boolean,default:!1},value:{default:""}},emits:["blur","change","input"],setup(d,{emit:u}){const f=t.usePrefix("p-input-password"),o=d,n=e.ref(),a=u,s=e.inject(t.themeInjectionKey),r=()=>t.syncProperties(n,{...o,theme:o.theme||s.value});return e.onMounted(()=>{r(),t.addEventListenerToElementRef(n,"blur",a),t.addEventListenerToElementRef(n,"change",a),t.addEventListenerToElementRef(n,"input",a)}),e.onUpdated(r),e.watch(s,l=>{t.syncProperties(n,{theme:o.theme||l})}),(l,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(f)),{ref_key:"pdsComponentRef",ref:n},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},512))}});module.exports=p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./InputPasswordWrapper.vue.cjs");module.exports=e;
|
package/cjs/public-api.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("@porsche-design-system/components-js"),t=require("./lib/components/AccordionWrapper.vue.cjs"),p=require("./lib/components/BannerWrapper.vue.cjs"),u=require("./lib/components/ButtonWrapper.vue.cjs"),s=require("./lib/components/ButtonGroupWrapper.vue.cjs"),i=require("./lib/components/ButtonPureWrapper.vue.cjs"),n=require("./lib/components/ButtonTileWrapper.vue.cjs"),a=require("./lib/components/CanvasWrapper.vue.cjs"),c=require("./lib/components/CarouselWrapper.vue.cjs"),o=require("./lib/components/CheckboxWrapper.vue.cjs"),l=require("./lib/components/CheckboxWrapperWrapper.vue.cjs"),v=require("./lib/components/ContentWrapperWrapper.vue.cjs"),g=require("./lib/components/CrestWrapper.vue.cjs"),P=require("./lib/components/DisplayWrapper.vue.cjs"),y=require("./lib/components/DividerWrapper.vue.cjs"),W=require("./lib/components/DrilldownWrapper.vue.cjs"),q=require("./lib/components/DrilldownItemWrapper.vue.cjs"),d=require("./lib/components/DrilldownLinkWrapper.vue.cjs"),T=require("./lib/components/FieldsetWrapper.vue.cjs"),S=require("./lib/components/FieldsetWrapperWrapper.vue.cjs"),m=require("./lib/components/FlexWrapper.vue.cjs"),b=require("./lib/components/FlexItemWrapper.vue.cjs"),C=require("./lib/components/FlyoutWrapper.vue.cjs"),I=require("./lib/components/GridWrapper.vue.cjs"),k=require("./lib/components/GridItemWrapper.vue.cjs"),x=require("./lib/components/HeadingWrapper.vue.cjs"),D=require("./lib/components/HeadlineWrapper.vue.cjs"),L=require("./lib/components/IconWrapper.vue.cjs"),h=require("./lib/components/InlineNotificationWrapper.vue.cjs"),B=require("./lib/components/InputPasswordWrapper.vue.cjs"),M=require("./lib/components/LinkWrapper.vue.cjs"),w=require("./lib/components/LinkPureWrapper.vue.cjs"),H=require("./lib/components/LinkSocialWrapper.vue.cjs"),F=require("./lib/components/LinkTileWrapper.vue.cjs"),O=require("./lib/components/LinkTileModelSignatureWrapper.vue.cjs"),R=require("./lib/components/LinkTileProductWrapper.vue.cjs"),G=require("./lib/components/MarqueWrapper.vue.cjs"),f=require("./lib/components/ModalWrapper.vue.cjs"),j=require("./lib/components/ModelSignatureWrapper.vue.cjs"),z=require("./lib/components/MultiSelectWrapper.vue.cjs"),A=require("./lib/components/MultiSelectOptionWrapper.vue.cjs"),K=require("./lib/components/OptgroupWrapper.vue.cjs"),N=require("./lib/components/PaginationWrapper.vue.cjs"),J=require("./lib/components/PinCodeWrapper.vue.cjs"),E=require("./lib/components/PopoverWrapper.vue.cjs"),Q=require("./lib/components/RadioButtonWrapperWrapper.vue.cjs"),U=require("./lib/components/ScrollerWrapper.vue.cjs"),V=require("./lib/components/SegmentedControlWrapper.vue.cjs"),X=require("./lib/components/SegmentedControlItemWrapper.vue.cjs"),Y=require("./lib/components/SelectWrapper.vue.cjs"),Z=require("./lib/components/SelectOptionWrapper.vue.cjs"),$=require("./lib/components/SelectWrapperWrapper.vue.cjs"),ee=require("./lib/components/SheetWrapper.vue.cjs"),re=require("./lib/components/SpinnerWrapper.vue.cjs"),_e=require("./lib/components/StepperHorizontalWrapper.vue.cjs"),te=require("./lib/components/StepperHorizontalItemWrapper.vue.cjs"),pe=require("./lib/components/SwitchWrapper.vue.cjs"),ue=require("./lib/components/TableWrapper.vue.cjs"),se=require("./lib/components/TableBodyWrapper.vue.cjs"),ie=require("./lib/components/TableCellWrapper.vue.cjs"),ne=require("./lib/components/TableHeadWrapper.vue.cjs"),ae=require("./lib/components/TableHeadCellWrapper.vue.cjs"),ce=require("./lib/components/TableHeadRowWrapper.vue.cjs"),oe=require("./lib/components/TableRowWrapper.vue.cjs"),le=require("./lib/components/TabsWrapper.vue.cjs"),ve=require("./lib/components/TabsBarWrapper.vue.cjs"),ge=require("./lib/components/TabsItemWrapper.vue.cjs"),Pe=require("./lib/components/TagWrapper.vue.cjs"),ye=require("./lib/components/TagDismissibleWrapper.vue.cjs"),We=require("./lib/components/TextWrapper.vue.cjs"),qe=require("./lib/components/TextFieldWrapperWrapper.vue.cjs"),de=require("./lib/components/TextListWrapper.vue.cjs"),Te=require("./lib/components/TextListItemWrapper.vue.cjs"),Se=require("./lib/components/TextareaWrapper.vue.cjs"),me=require("./lib/components/TextareaWrapperWrapper.vue.cjs"),be=require("./lib/components/ToastWrapper.vue.cjs"),Ce=require("./lib/components/WordmarkWrapper.vue.cjs"),e=require("./utils.cjs"),Ie=require("./PorscheDesignSystemProvider.vue.cjs"),r=require("./plugin.cjs");Object.defineProperty(exports,"componentsReady",{enumerable:!0,get:()=>_.componentsReady});exports.PAccordion=t;exports.PBanner=p;exports.PButton=u;exports.PButtonGroup=s;exports.PButtonPure=i;exports.PButtonTile=n;exports.PCanvas=a;exports.PCarousel=c;exports.PCheckbox=o;exports.PCheckboxWrapper=l;exports.PContentWrapper=v;exports.PCrest=g;exports.PDisplay=P;exports.PDivider=y;exports.PDrilldown=W;exports.PDrilldownItem=q;exports.PDrilldownLink=d;exports.PFieldset=T;exports.PFieldsetWrapper=S;exports.PFlex=m;exports.PFlexItem=b;exports.PFlyout=C;exports.PGrid=I;exports.PGridItem=k;exports.PHeading=x;exports.PHeadline=D;exports.PIcon=L;exports.PInlineNotification=h;exports.PInputPassword=B;exports.PLink=M;exports.PLinkPure=w;exports.PLinkSocial=H;exports.PLinkTile=F;exports.PLinkTileModelSignature=O;exports.PLinkTileProduct=R;exports.PMarque=G;exports.PModal=f;exports.PModelSignature=j;exports.PMultiSelect=z;exports.PMultiSelectOption=A;exports.POptgroup=K;exports.PPagination=N;exports.PPinCode=J;exports.PPopover=E;exports.PRadioButtonWrapper=Q;exports.PScroller=U;exports.PSegmentedControl=V;exports.PSegmentedControlItem=X;exports.PSelect=Y;exports.PSelectOption=Z;exports.PSelectWrapper=$;exports.PSheet=ee;exports.PSpinner=re;exports.PStepperHorizontal=_e;exports.PStepperHorizontalItem=te;exports.PSwitch=pe;exports.PTable=ue;exports.PTableBody=se;exports.PTableCell=ie;exports.PTableHead=ne;exports.PTableHeadCell=ae;exports.PTableHeadRow=ce;exports.PTableRow=oe;exports.PTabs=le;exports.PTabsBar=ve;exports.PTabsItem=ge;exports.PTag=Pe;exports.PTagDismissible=ye;exports.PText=We;exports.PTextFieldWrapper=qe;exports.PTextList=de;exports.PTextListItem=Te;exports.PTextarea=Se;exports.PTextareaWrapper=me;exports.PToast=be;exports.PWordmark=Ce;exports.themeInjectionKey=e.themeInjectionKey;exports.useToastManager=e.useToastManager;exports.PorscheDesignSystemProvider=Ie;exports.createPorscheDesignSystem=r.createPorscheDesignSystem;exports.usePorscheDesignSystemPlugin=r.usePorscheDesignSystemPlugin;
|
package/esm/lib/components/{FlyoutMultilevelItemWrapper.vue.d.ts → DrilldownItemWrapper.vue.d.ts}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
type
|
|
1
|
+
type PDrilldownItemProps = {
|
|
2
2
|
/**
|
|
3
3
|
* Private property set by the component itself.
|
|
4
4
|
*/
|
|
5
5
|
cascade?: boolean;
|
|
6
6
|
/**
|
|
7
|
-
* Unique identifier which controls if this item should be shown when the active-identifier on the
|
|
7
|
+
* Unique identifier which controls if this item should be shown when the active-identifier on the drilldown is set to this value.
|
|
8
8
|
*/
|
|
9
9
|
identifier: string;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Renders back button, header section on mobile view and cascade button to reach a deeper level of the navigation structure.
|
|
12
12
|
*/
|
|
13
13
|
label?: string;
|
|
14
14
|
/**
|
|
@@ -23,7 +23,7 @@ type PFlyoutMultilevelItemProps = {
|
|
|
23
23
|
declare function __VLS_template(): {
|
|
24
24
|
default?(_: {}): any;
|
|
25
25
|
};
|
|
26
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
26
|
+
declare const __VLS_component: import("vue").DefineComponent<PDrilldownItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PDrilldownItemProps> & Readonly<{}>, {
|
|
27
27
|
primary: boolean;
|
|
28
28
|
secondary: boolean;
|
|
29
29
|
cascade: boolean;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as p, ref as s, onMounted as l, onUpdated as f, openBlock as d, createBlock as c, resolveDynamicComponent as i, unref as m, withCtx as u, renderSlot as y } from "vue";
|
|
2
|
+
import { usePrefix as _, syncProperties as C } from "../../utils.mjs";
|
|
3
|
+
const x = /* @__PURE__ */ p({
|
|
4
|
+
__name: "DrilldownItemWrapper",
|
|
5
|
+
props: {
|
|
6
|
+
cascade: { type: Boolean, default: !1 },
|
|
7
|
+
identifier: {},
|
|
8
|
+
label: {},
|
|
9
|
+
primary: { type: Boolean, default: !1 },
|
|
10
|
+
secondary: { type: Boolean, default: !1 }
|
|
11
|
+
},
|
|
12
|
+
setup(n) {
|
|
13
|
+
const t = _("p-drilldown-item"), r = n, e = s(), o = () => C(e, r);
|
|
14
|
+
return l(o), f(o), (a, B) => (d(), c(i(m(t)), {
|
|
15
|
+
ref_key: "pdsComponentRef",
|
|
16
|
+
ref: e
|
|
17
|
+
}, {
|
|
18
|
+
default: u(() => [
|
|
19
|
+
y(a.$slots, "default")
|
|
20
|
+
]),
|
|
21
|
+
_: 3
|
|
22
|
+
}, 512));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
x as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { SelectedAriaAttributes, DrilldownLinkAriaAttribute, DrilldownLinkTarget } from '../types';
|
|
2
|
+
type PDrilldownLinkProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Display link in active state.
|
|
5
|
+
*/
|
|
6
|
+
active?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Add ARIA attributes (only has effect when `href` is defined and no slotted anchor is used).
|
|
9
|
+
*/
|
|
10
|
+
aria?: SelectedAriaAttributes<DrilldownLinkAriaAttribute>;
|
|
11
|
+
/**
|
|
12
|
+
* Special download attribute to open native browser download dialog if target url points to a downloadable file (only has effect when `href` is defined and no slotted anchor is used).
|
|
13
|
+
*/
|
|
14
|
+
download?: string;
|
|
15
|
+
/**
|
|
16
|
+
* When providing an url then the component will be rendered as `<a>` otherwise the component expects a slotted anchor.
|
|
17
|
+
*/
|
|
18
|
+
href?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the relationship of the target object to the link object (only has effect when `href` is defined and no slotted anchor is used).
|
|
21
|
+
*/
|
|
22
|
+
rel?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Target attribute where the link should be opened (only has effect when `href` is defined and no slotted anchor is used).
|
|
25
|
+
*/
|
|
26
|
+
target?: DrilldownLinkTarget;
|
|
27
|
+
};
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_component: import("vue").DefineComponent<PDrilldownLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PDrilldownLinkProps> & Readonly<{}>, {
|
|
32
|
+
active: boolean;
|
|
33
|
+
target: DrilldownLinkTarget;
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineComponent as s, ref as a, onMounted as l, onUpdated as f, openBlock as d, createBlock as c, resolveDynamicComponent as i, unref as m, withCtx as u, renderSlot as _ } from "vue";
|
|
2
|
+
import { usePrefix as C, syncProperties as k } from "../../utils.mjs";
|
|
3
|
+
const x = /* @__PURE__ */ s({
|
|
4
|
+
__name: "DrilldownLinkWrapper",
|
|
5
|
+
props: {
|
|
6
|
+
active: { type: Boolean, default: !1 },
|
|
7
|
+
aria: {},
|
|
8
|
+
download: {},
|
|
9
|
+
href: {},
|
|
10
|
+
rel: {},
|
|
11
|
+
target: { default: "_self" }
|
|
12
|
+
},
|
|
13
|
+
setup(n) {
|
|
14
|
+
const t = C("p-drilldown-link"), r = n, e = a(), o = () => k(e, r);
|
|
15
|
+
return l(o), f(o), (p, w) => (d(), c(i(m(t)), {
|
|
16
|
+
ref_key: "pdsComponentRef",
|
|
17
|
+
ref: e
|
|
18
|
+
}, {
|
|
19
|
+
default: u(() => [
|
|
20
|
+
_(p.$slots, "default")
|
|
21
|
+
]),
|
|
22
|
+
_: 3
|
|
23
|
+
}, 512));
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
x as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { SelectedAriaAttributes, DrilldownAriaAttribute, Theme } from '../types';
|
|
2
|
+
type PDrilldownProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Defines which drilldown-item to be visualized as opened.
|
|
5
|
+
*/
|
|
6
|
+
activeIdentifier?: string | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* Add ARIA attributes.
|
|
9
|
+
*/
|
|
10
|
+
aria?: SelectedAriaAttributes<DrilldownAriaAttribute>;
|
|
11
|
+
/**
|
|
12
|
+
* If true, the drilldown is visualized as opened.
|
|
13
|
+
*/
|
|
14
|
+
open?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Adapts the drilldown color depending on the theme.
|
|
17
|
+
*/
|
|
18
|
+
theme?: Theme;
|
|
19
|
+
};
|
|
20
|
+
declare function __VLS_template(): {
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_component: import("vue").DefineComponent<PDrilldownProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
24
|
+
open: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { defineComponent as c, ref as f, inject as l, onMounted as u, onUpdated as h, watch as _, openBlock as y, createBlock as C, resolveDynamicComponent as w, unref as v, withCtx as R, renderSlot as k } from "vue";
|
|
2
|
+
import { usePrefix as x, themeInjectionKey as B, addEventListenerToElementRef as p, syncProperties as m } from "../../utils.mjs";
|
|
3
|
+
const E = /* @__PURE__ */ c({
|
|
4
|
+
__name: "DrilldownWrapper",
|
|
5
|
+
props: {
|
|
6
|
+
activeIdentifier: {},
|
|
7
|
+
aria: {},
|
|
8
|
+
open: { type: Boolean, default: !1 },
|
|
9
|
+
theme: {}
|
|
10
|
+
},
|
|
11
|
+
emits: ["dismiss", "update"],
|
|
12
|
+
setup(i, { emit: a }) {
|
|
13
|
+
const d = x("p-drilldown"), t = i, e = f(), o = a, s = l(B), r = () => m(e, { ...t, theme: t.theme || s.value });
|
|
14
|
+
return u(() => {
|
|
15
|
+
r(), p(e, "dismiss", o), p(e, "update", o);
|
|
16
|
+
}), h(r), _(s, (n) => {
|
|
17
|
+
m(e, { theme: t.theme || n });
|
|
18
|
+
}), (n, P) => (y(), C(w(v(d)), {
|
|
19
|
+
ref_key: "pdsComponentRef",
|
|
20
|
+
ref: e
|
|
21
|
+
}, {
|
|
22
|
+
default: R(() => [
|
|
23
|
+
k(n.$slots, "default")
|
|
24
|
+
]),
|
|
25
|
+
_: 3
|
|
26
|
+
}, 512));
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
E as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { InputPasswordAutoComplete, BreakpointCustomizable, InputPasswordState, Theme } from '../types';
|
|
2
|
+
type PInputPasswordProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Specifies whether the input can be autofilled by the browser
|
|
5
|
+
*/
|
|
6
|
+
autoComplete?: InputPasswordAutoComplete;
|
|
7
|
+
/**
|
|
8
|
+
* Displays as compact version.
|
|
9
|
+
*/
|
|
10
|
+
compact?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The description text.
|
|
13
|
+
*/
|
|
14
|
+
description?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Marks the password input as disabled.
|
|
17
|
+
*/
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* The id of a form element the password input should be associated with.
|
|
21
|
+
*/
|
|
22
|
+
form?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Show or hide label and description text. For better accessibility it is recommended to show the label.
|
|
25
|
+
*/
|
|
26
|
+
hideLabel?: BreakpointCustomizable<boolean>;
|
|
27
|
+
/**
|
|
28
|
+
* The label text.
|
|
29
|
+
*/
|
|
30
|
+
label?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The max length of the password input.
|
|
33
|
+
*/
|
|
34
|
+
maxLength?: number;
|
|
35
|
+
/**
|
|
36
|
+
* The message styled depending on validation state.
|
|
37
|
+
*/
|
|
38
|
+
message?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The min length of the password input.
|
|
41
|
+
*/
|
|
42
|
+
minLength?: number;
|
|
43
|
+
/**
|
|
44
|
+
* The name of the password input.
|
|
45
|
+
*/
|
|
46
|
+
name: string;
|
|
47
|
+
/**
|
|
48
|
+
* The placeholder text.
|
|
49
|
+
*/
|
|
50
|
+
placeholder?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Specifies whether the password input should be read-only.
|
|
53
|
+
*/
|
|
54
|
+
readOnly?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Marks the password input as required.
|
|
57
|
+
*/
|
|
58
|
+
required?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* The validation state.
|
|
61
|
+
*/
|
|
62
|
+
state?: InputPasswordState;
|
|
63
|
+
/**
|
|
64
|
+
* Adapts the color depending on the theme.
|
|
65
|
+
*/
|
|
66
|
+
theme?: Theme;
|
|
67
|
+
/**
|
|
68
|
+
* Show or hide password toggle for `input type="password"`.
|
|
69
|
+
*/
|
|
70
|
+
toggle?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* The password input value.
|
|
73
|
+
*/
|
|
74
|
+
value?: string;
|
|
75
|
+
};
|
|
76
|
+
declare function __VLS_template(): {
|
|
77
|
+
default?(_: {}): any;
|
|
78
|
+
};
|
|
79
|
+
declare const __VLS_component: import("vue").DefineComponent<PInputPasswordProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
80
|
+
blur: (value: Event) => void;
|
|
81
|
+
change: (value: Event) => void;
|
|
82
|
+
input: (value: InputEvent) => void;
|
|
83
|
+
}, string, import("vue").PublicProps, Readonly<PInputPasswordProps> & Readonly<{
|
|
84
|
+
onBlur?: ((value: Event) => any) | undefined;
|
|
85
|
+
onChange?: ((value: Event) => any) | undefined;
|
|
86
|
+
onInput?: ((value: InputEvent) => any) | undefined;
|
|
87
|
+
}>, {
|
|
88
|
+
toggle: boolean;
|
|
89
|
+
label: string;
|
|
90
|
+
description: string;
|
|
91
|
+
disabled: boolean;
|
|
92
|
+
compact: boolean;
|
|
93
|
+
state: InputPasswordState;
|
|
94
|
+
required: boolean;
|
|
95
|
+
hideLabel: BreakpointCustomizable<boolean>;
|
|
96
|
+
value: string;
|
|
97
|
+
message: string;
|
|
98
|
+
autoComplete: InputPasswordAutoComplete;
|
|
99
|
+
placeholder: string;
|
|
100
|
+
readOnly: boolean;
|
|
101
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
102
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
103
|
+
export default _default;
|
|
104
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
105
|
+
new (): {
|
|
106
|
+
$slots: S;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent as u, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, openBlock as g, createBlock as B, resolveDynamicComponent as C, unref as _, withCtx as b, renderSlot as w } from "vue";
|
|
2
|
+
import { usePrefix as v, themeInjectionKey as x, addEventListenerToElementRef as a, syncProperties as f } from "../../utils.mjs";
|
|
3
|
+
const k = /* @__PURE__ */ u({
|
|
4
|
+
__name: "InputPasswordWrapper",
|
|
5
|
+
props: {
|
|
6
|
+
autoComplete: { default: "" },
|
|
7
|
+
compact: { type: Boolean, default: !1 },
|
|
8
|
+
description: { default: "" },
|
|
9
|
+
disabled: { type: Boolean, default: !1 },
|
|
10
|
+
form: {},
|
|
11
|
+
hideLabel: { default: !1 },
|
|
12
|
+
label: { default: "" },
|
|
13
|
+
maxLength: {},
|
|
14
|
+
message: { default: "" },
|
|
15
|
+
minLength: {},
|
|
16
|
+
name: {},
|
|
17
|
+
placeholder: { default: "" },
|
|
18
|
+
readOnly: { type: Boolean, default: !1 },
|
|
19
|
+
required: { type: Boolean, default: !1 },
|
|
20
|
+
state: { default: "none" },
|
|
21
|
+
theme: {},
|
|
22
|
+
toggle: { type: Boolean, default: !1 },
|
|
23
|
+
value: { default: "" }
|
|
24
|
+
},
|
|
25
|
+
emits: ["blur", "change", "input"],
|
|
26
|
+
setup(p, { emit: r }) {
|
|
27
|
+
const d = v("p-input-password"), t = p, e = m(), o = r, l = c(x), s = () => f(e, { ...t, theme: t.theme || l.value });
|
|
28
|
+
return i(() => {
|
|
29
|
+
s(), a(e, "blur", o), a(e, "change", o), a(e, "input", o);
|
|
30
|
+
}), h(s), y(l, (n) => {
|
|
31
|
+
f(e, { theme: t.theme || n });
|
|
32
|
+
}), (n, L) => (g(), B(C(_(d)), {
|
|
33
|
+
ref_key: "pdsComponentRef",
|
|
34
|
+
ref: e
|
|
35
|
+
}, {
|
|
36
|
+
default: b(() => [
|
|
37
|
+
w(n.$slots, "default")
|
|
38
|
+
]),
|
|
39
|
+
_: 3
|
|
40
|
+
}, 512));
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
k as default
|
|
45
|
+
};
|
|
@@ -107,10 +107,10 @@ declare const __VLS_component: import("vue").DefineComponent<PTextareaProps, {},
|
|
|
107
107
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
108
108
|
value: string;
|
|
109
109
|
message: string;
|
|
110
|
-
showCounter: boolean;
|
|
111
110
|
autoComplete: TextareaAutoComplete;
|
|
112
111
|
placeholder: string;
|
|
113
112
|
readOnly: boolean;
|
|
113
|
+
showCounter: boolean;
|
|
114
114
|
rows: number;
|
|
115
115
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
116
116
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -12,19 +12,21 @@ export { default as PContentWrapper } from './ContentWrapperWrapper.vue';
|
|
|
12
12
|
export { default as PCrest } from './CrestWrapper.vue';
|
|
13
13
|
export { default as PDisplay } from './DisplayWrapper.vue';
|
|
14
14
|
export { default as PDivider } from './DividerWrapper.vue';
|
|
15
|
+
export { default as PDrilldown } from './DrilldownWrapper.vue';
|
|
16
|
+
export { default as PDrilldownItem } from './DrilldownItemWrapper.vue';
|
|
17
|
+
export { default as PDrilldownLink } from './DrilldownLinkWrapper.vue';
|
|
15
18
|
export { default as PFieldset } from './FieldsetWrapper.vue';
|
|
16
19
|
export { default as PFieldsetWrapper } from './FieldsetWrapperWrapper.vue';
|
|
17
20
|
export { default as PFlex } from './FlexWrapper.vue';
|
|
18
21
|
export { default as PFlexItem } from './FlexItemWrapper.vue';
|
|
19
22
|
export { default as PFlyout } from './FlyoutWrapper.vue';
|
|
20
|
-
export { default as PFlyoutMultilevel } from './FlyoutMultilevelWrapper.vue';
|
|
21
|
-
export { default as PFlyoutMultilevelItem } from './FlyoutMultilevelItemWrapper.vue';
|
|
22
23
|
export { default as PGrid } from './GridWrapper.vue';
|
|
23
24
|
export { default as PGridItem } from './GridItemWrapper.vue';
|
|
24
25
|
export { default as PHeading } from './HeadingWrapper.vue';
|
|
25
26
|
export { default as PHeadline } from './HeadlineWrapper.vue';
|
|
26
27
|
export { default as PIcon } from './IconWrapper.vue';
|
|
27
28
|
export { default as PInlineNotification } from './InlineNotificationWrapper.vue';
|
|
29
|
+
export { default as PInputPassword } from './InputPasswordWrapper.vue';
|
|
28
30
|
export { default as PLink } from './LinkWrapper.vue';
|
|
29
31
|
export { default as PLinkPure } from './LinkPureWrapper.vue';
|
|
30
32
|
export { default as PLinkSocial } from './LinkSocialWrapper.vue';
|
package/esm/lib/types.d.ts
CHANGED
|
@@ -859,6 +859,18 @@ declare const DIVIDER_DIRECTIONS: readonly [
|
|
|
859
859
|
];
|
|
860
860
|
export type DividerDirection = (typeof DIVIDER_DIRECTIONS)[number];
|
|
861
861
|
export type DividerOrientation = DividerDirection;
|
|
862
|
+
declare const DRILLDOWN_ARIA_ATTRIBUTES: readonly [
|
|
863
|
+
"aria-label"
|
|
864
|
+
];
|
|
865
|
+
export type DrilldownAriaAttribute = (typeof DRILLDOWN_ARIA_ATTRIBUTES)[number];
|
|
866
|
+
export type DrilldownUpdate = {
|
|
867
|
+
activeIdentifier: string | undefined;
|
|
868
|
+
};
|
|
869
|
+
/** @deprecated */
|
|
870
|
+
export type DrilldownUpdateEvent = DrilldownUpdate;
|
|
871
|
+
export type DrilldownUpdateEventDetail = DrilldownUpdateEvent;
|
|
872
|
+
export type DrilldownLinkTarget = LinkTarget;
|
|
873
|
+
export type DrilldownLinkAriaAttribute = LinkAriaAttribute;
|
|
862
874
|
declare const FIELDSET_LABEL_SIZES: readonly [
|
|
863
875
|
"small",
|
|
864
876
|
"medium"
|
|
@@ -971,16 +983,6 @@ declare const FLYOUT_ARIA_ATTRIBUTES: readonly [
|
|
|
971
983
|
export type FlyoutAriaAttribute = (typeof FLYOUT_ARIA_ATTRIBUTES)[number];
|
|
972
984
|
export type FlyoutMotionVisibleEndEventDetail = TransitionEvent;
|
|
973
985
|
export type FlyoutMotionHiddenEndEventDetail = TransitionEvent;
|
|
974
|
-
declare const FLYOUT_MULTILEVEL_ARIA_ATTRIBUTES: readonly [
|
|
975
|
-
"aria-label"
|
|
976
|
-
];
|
|
977
|
-
export type FlyoutMultilevelAriaAttribute = (typeof FLYOUT_MULTILEVEL_ARIA_ATTRIBUTES)[number];
|
|
978
|
-
export type FlyoutMultilevelUpdate = {
|
|
979
|
-
activeIdentifier: string | undefined;
|
|
980
|
-
};
|
|
981
|
-
/** @deprecated */
|
|
982
|
-
export type FlyoutMultilevelUpdateEvent = FlyoutMultilevelUpdate;
|
|
983
|
-
export type FlyoutMultilevelUpdateEventDetail = FlyoutMultilevelUpdateEvent;
|
|
984
986
|
declare const GRID_DIRECTIONS: readonly [
|
|
985
987
|
"row",
|
|
986
988
|
"row-reverse",
|
|
@@ -1086,6 +1088,18 @@ declare const ICON_COLORS: readonly [
|
|
|
1086
1088
|
"state-disabled"
|
|
1087
1089
|
];
|
|
1088
1090
|
export type IconColor = (typeof ICON_COLORS)[number];
|
|
1091
|
+
export type InputPasswordState = FormState;
|
|
1092
|
+
declare const INPUT_PASSWORD_AUTO_COMPLETE: readonly [
|
|
1093
|
+
"off",
|
|
1094
|
+
"on",
|
|
1095
|
+
"current-password",
|
|
1096
|
+
"new-password",
|
|
1097
|
+
""
|
|
1098
|
+
];
|
|
1099
|
+
export type InputPasswordAutoComplete = (typeof INPUT_PASSWORD_AUTO_COMPLETE)[number];
|
|
1100
|
+
export type InputPasswordChangeEventDetail = Event;
|
|
1101
|
+
export type InputPasswordBlurEventDetail = Event;
|
|
1102
|
+
export type InputPasswordInputEventDetail = InputEvent;
|
|
1089
1103
|
export type LinkIcon = LinkButtonIconName;
|
|
1090
1104
|
export type LinkPureIcon = LinkButtonIconName;
|
|
1091
1105
|
export type LinkPureAriaAttribute = LinkAriaAttribute;
|
package/esm/public-api.mjs
CHANGED
|
@@ -8,74 +8,76 @@ import { default as i } from "./lib/components/ButtonTileWrapper.vue.mjs";
|
|
|
8
8
|
import { default as T } from "./lib/components/CanvasWrapper.vue.mjs";
|
|
9
9
|
import { default as S } from "./lib/components/CarouselWrapper.vue.mjs";
|
|
10
10
|
import { default as b } from "./lib/components/CheckboxWrapper.vue.mjs";
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
11
|
+
import { default as I } from "./lib/components/CheckboxWrapperWrapper.vue.mjs";
|
|
12
|
+
import { default as D } from "./lib/components/ContentWrapperWrapper.vue.mjs";
|
|
13
13
|
import { default as h } from "./lib/components/CrestWrapper.vue.mjs";
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as G } from "./lib/components/
|
|
19
|
-
import { default as z } from "./lib/components/
|
|
20
|
-
import { default as q } from "./lib/components/
|
|
21
|
-
import { default as K } from "./lib/components/
|
|
22
|
-
import { default as E } from "./lib/components/
|
|
23
|
-
import { default as Q } from "./lib/components/
|
|
24
|
-
import { default as V } from "./lib/components/
|
|
25
|
-
import { default as Y } from "./lib/components/
|
|
26
|
-
import { default as _ } from "./lib/components/
|
|
27
|
-
import { default as ee } from "./lib/components/
|
|
28
|
-
import { default as oe } from "./lib/components/
|
|
29
|
-
import { default as ae } from "./lib/components/
|
|
30
|
-
import { default as le } from "./lib/components/
|
|
31
|
-
import { default as se } from "./lib/components/
|
|
32
|
-
import { default as ue } from "./lib/components/
|
|
33
|
-
import { default as xe } from "./lib/components/
|
|
34
|
-
import { default as ie } from "./lib/components/
|
|
35
|
-
import { default as Te } from "./lib/components/
|
|
36
|
-
import { default as Se } from "./lib/components/
|
|
37
|
-
import { default as be } from "./lib/components/
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as he } from "./lib/components/
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as Ge } from "./lib/components/
|
|
46
|
-
import { default as ze } from "./lib/components/
|
|
47
|
-
import { default as qe } from "./lib/components/
|
|
48
|
-
import { default as Ke } from "./lib/components/
|
|
49
|
-
import { default as Ee } from "./lib/components/
|
|
50
|
-
import { default as Qe } from "./lib/components/
|
|
51
|
-
import { default as Ve } from "./lib/components/
|
|
52
|
-
import { default as Ye } from "./lib/components/
|
|
53
|
-
import { default as _e } from "./lib/components/
|
|
54
|
-
import { default as et } from "./lib/components/
|
|
55
|
-
import { default as ot } from "./lib/components/
|
|
56
|
-
import { default as at } from "./lib/components/
|
|
57
|
-
import { default as lt } from "./lib/components/
|
|
58
|
-
import { default as st } from "./lib/components/
|
|
59
|
-
import { default as ut } from "./lib/components/
|
|
60
|
-
import { default as xt } from "./lib/components/
|
|
61
|
-
import { default as it } from "./lib/components/
|
|
62
|
-
import { default as Tt } from "./lib/components/
|
|
63
|
-
import { default as St } from "./lib/components/
|
|
64
|
-
import { default as bt } from "./lib/components/
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as ht } from "./lib/components/
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as Gt } from "./lib/components/
|
|
73
|
-
import { default as zt } from "./lib/components/
|
|
74
|
-
import { default as qt } from "./lib/components/
|
|
75
|
-
import { default as Kt } from "./lib/components/
|
|
76
|
-
import {
|
|
77
|
-
import { default as
|
|
78
|
-
import {
|
|
14
|
+
import { default as B } from "./lib/components/DisplayWrapper.vue.mjs";
|
|
15
|
+
import { default as w } from "./lib/components/DividerWrapper.vue.mjs";
|
|
16
|
+
import { default as M } from "./lib/components/DrilldownWrapper.vue.mjs";
|
|
17
|
+
import { default as v } from "./lib/components/DrilldownItemWrapper.vue.mjs";
|
|
18
|
+
import { default as G } from "./lib/components/DrilldownLinkWrapper.vue.mjs";
|
|
19
|
+
import { default as z } from "./lib/components/FieldsetWrapper.vue.mjs";
|
|
20
|
+
import { default as q } from "./lib/components/FieldsetWrapperWrapper.vue.mjs";
|
|
21
|
+
import { default as K } from "./lib/components/FlexWrapper.vue.mjs";
|
|
22
|
+
import { default as E } from "./lib/components/FlexItemWrapper.vue.mjs";
|
|
23
|
+
import { default as Q } from "./lib/components/FlyoutWrapper.vue.mjs";
|
|
24
|
+
import { default as V } from "./lib/components/GridWrapper.vue.mjs";
|
|
25
|
+
import { default as Y } from "./lib/components/GridItemWrapper.vue.mjs";
|
|
26
|
+
import { default as _ } from "./lib/components/HeadingWrapper.vue.mjs";
|
|
27
|
+
import { default as ee } from "./lib/components/HeadlineWrapper.vue.mjs";
|
|
28
|
+
import { default as oe } from "./lib/components/IconWrapper.vue.mjs";
|
|
29
|
+
import { default as ae } from "./lib/components/InlineNotificationWrapper.vue.mjs";
|
|
30
|
+
import { default as le } from "./lib/components/InputPasswordWrapper.vue.mjs";
|
|
31
|
+
import { default as se } from "./lib/components/LinkWrapper.vue.mjs";
|
|
32
|
+
import { default as ue } from "./lib/components/LinkPureWrapper.vue.mjs";
|
|
33
|
+
import { default as xe } from "./lib/components/LinkSocialWrapper.vue.mjs";
|
|
34
|
+
import { default as ie } from "./lib/components/LinkTileWrapper.vue.mjs";
|
|
35
|
+
import { default as Te } from "./lib/components/LinkTileModelSignatureWrapper.vue.mjs";
|
|
36
|
+
import { default as Se } from "./lib/components/LinkTileProductWrapper.vue.mjs";
|
|
37
|
+
import { default as be } from "./lib/components/MarqueWrapper.vue.mjs";
|
|
38
|
+
import { default as Ie } from "./lib/components/ModalWrapper.vue.mjs";
|
|
39
|
+
import { default as De } from "./lib/components/ModelSignatureWrapper.vue.mjs";
|
|
40
|
+
import { default as he } from "./lib/components/MultiSelectWrapper.vue.mjs";
|
|
41
|
+
import { default as Be } from "./lib/components/MultiSelectOptionWrapper.vue.mjs";
|
|
42
|
+
import { default as we } from "./lib/components/OptgroupWrapper.vue.mjs";
|
|
43
|
+
import { default as Me } from "./lib/components/PaginationWrapper.vue.mjs";
|
|
44
|
+
import { default as ve } from "./lib/components/PinCodeWrapper.vue.mjs";
|
|
45
|
+
import { default as Ge } from "./lib/components/PopoverWrapper.vue.mjs";
|
|
46
|
+
import { default as ze } from "./lib/components/RadioButtonWrapperWrapper.vue.mjs";
|
|
47
|
+
import { default as qe } from "./lib/components/ScrollerWrapper.vue.mjs";
|
|
48
|
+
import { default as Ke } from "./lib/components/SegmentedControlWrapper.vue.mjs";
|
|
49
|
+
import { default as Ee } from "./lib/components/SegmentedControlItemWrapper.vue.mjs";
|
|
50
|
+
import { default as Qe } from "./lib/components/SelectWrapper.vue.mjs";
|
|
51
|
+
import { default as Ve } from "./lib/components/SelectOptionWrapper.vue.mjs";
|
|
52
|
+
import { default as Ye } from "./lib/components/SelectWrapperWrapper.vue.mjs";
|
|
53
|
+
import { default as _e } from "./lib/components/SheetWrapper.vue.mjs";
|
|
54
|
+
import { default as et } from "./lib/components/SpinnerWrapper.vue.mjs";
|
|
55
|
+
import { default as ot } from "./lib/components/StepperHorizontalWrapper.vue.mjs";
|
|
56
|
+
import { default as at } from "./lib/components/StepperHorizontalItemWrapper.vue.mjs";
|
|
57
|
+
import { default as lt } from "./lib/components/SwitchWrapper.vue.mjs";
|
|
58
|
+
import { default as st } from "./lib/components/TableWrapper.vue.mjs";
|
|
59
|
+
import { default as ut } from "./lib/components/TableBodyWrapper.vue.mjs";
|
|
60
|
+
import { default as xt } from "./lib/components/TableCellWrapper.vue.mjs";
|
|
61
|
+
import { default as it } from "./lib/components/TableHeadWrapper.vue.mjs";
|
|
62
|
+
import { default as Tt } from "./lib/components/TableHeadCellWrapper.vue.mjs";
|
|
63
|
+
import { default as St } from "./lib/components/TableHeadRowWrapper.vue.mjs";
|
|
64
|
+
import { default as bt } from "./lib/components/TableRowWrapper.vue.mjs";
|
|
65
|
+
import { default as It } from "./lib/components/TabsWrapper.vue.mjs";
|
|
66
|
+
import { default as Dt } from "./lib/components/TabsBarWrapper.vue.mjs";
|
|
67
|
+
import { default as ht } from "./lib/components/TabsItemWrapper.vue.mjs";
|
|
68
|
+
import { default as Bt } from "./lib/components/TagWrapper.vue.mjs";
|
|
69
|
+
import { default as wt } from "./lib/components/TagDismissibleWrapper.vue.mjs";
|
|
70
|
+
import { default as Mt } from "./lib/components/TextWrapper.vue.mjs";
|
|
71
|
+
import { default as vt } from "./lib/components/TextFieldWrapperWrapper.vue.mjs";
|
|
72
|
+
import { default as Gt } from "./lib/components/TextListWrapper.vue.mjs";
|
|
73
|
+
import { default as zt } from "./lib/components/TextListItemWrapper.vue.mjs";
|
|
74
|
+
import { default as qt } from "./lib/components/TextareaWrapper.vue.mjs";
|
|
75
|
+
import { default as Kt } from "./lib/components/TextareaWrapperWrapper.vue.mjs";
|
|
76
|
+
import { default as Et } from "./lib/components/ToastWrapper.vue.mjs";
|
|
77
|
+
import { default as Qt } from "./lib/components/WordmarkWrapper.vue.mjs";
|
|
78
|
+
import { themeInjectionKey as Vt, useToastManager as Xt } from "./utils.mjs";
|
|
79
|
+
import { default as Zt } from "./PorscheDesignSystemProvider.vue.mjs";
|
|
80
|
+
import { createPorscheDesignSystem as $t, usePorscheDesignSystemPlugin as eo } from "./plugin.mjs";
|
|
79
81
|
export {
|
|
80
82
|
a as PAccordion,
|
|
81
83
|
l as PBanner,
|
|
@@ -86,75 +88,77 @@ export {
|
|
|
86
88
|
T as PCanvas,
|
|
87
89
|
S as PCarousel,
|
|
88
90
|
b as PCheckbox,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
+
I as PCheckboxWrapper,
|
|
92
|
+
D as PContentWrapper,
|
|
91
93
|
h as PCrest,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
G as
|
|
97
|
-
z as
|
|
98
|
-
q as
|
|
99
|
-
K as
|
|
100
|
-
E as
|
|
101
|
-
Q as
|
|
102
|
-
V as
|
|
103
|
-
Y as
|
|
104
|
-
_ as
|
|
105
|
-
ee as
|
|
106
|
-
oe as
|
|
107
|
-
ae as
|
|
108
|
-
le as
|
|
109
|
-
se as
|
|
110
|
-
ue as
|
|
111
|
-
xe as
|
|
112
|
-
ie as
|
|
113
|
-
Te as
|
|
114
|
-
Se as
|
|
115
|
-
be as
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
he as
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
Ge as
|
|
124
|
-
ze as
|
|
125
|
-
qe as
|
|
126
|
-
Ke as
|
|
127
|
-
Ee as
|
|
128
|
-
Qe as
|
|
129
|
-
Ve as
|
|
130
|
-
Ye as
|
|
131
|
-
_e as
|
|
132
|
-
et as
|
|
133
|
-
ot as
|
|
134
|
-
at as
|
|
135
|
-
lt as
|
|
136
|
-
st as
|
|
137
|
-
ut as
|
|
138
|
-
xt as
|
|
139
|
-
it as
|
|
140
|
-
Tt as
|
|
141
|
-
St as
|
|
142
|
-
bt as
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
ht as
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
Gt as
|
|
151
|
-
zt as
|
|
152
|
-
qt as
|
|
153
|
-
Kt as
|
|
154
|
-
|
|
94
|
+
B as PDisplay,
|
|
95
|
+
w as PDivider,
|
|
96
|
+
M as PDrilldown,
|
|
97
|
+
v as PDrilldownItem,
|
|
98
|
+
G as PDrilldownLink,
|
|
99
|
+
z as PFieldset,
|
|
100
|
+
q as PFieldsetWrapper,
|
|
101
|
+
K as PFlex,
|
|
102
|
+
E as PFlexItem,
|
|
103
|
+
Q as PFlyout,
|
|
104
|
+
V as PGrid,
|
|
105
|
+
Y as PGridItem,
|
|
106
|
+
_ as PHeading,
|
|
107
|
+
ee as PHeadline,
|
|
108
|
+
oe as PIcon,
|
|
109
|
+
ae as PInlineNotification,
|
|
110
|
+
le as PInputPassword,
|
|
111
|
+
se as PLink,
|
|
112
|
+
ue as PLinkPure,
|
|
113
|
+
xe as PLinkSocial,
|
|
114
|
+
ie as PLinkTile,
|
|
115
|
+
Te as PLinkTileModelSignature,
|
|
116
|
+
Se as PLinkTileProduct,
|
|
117
|
+
be as PMarque,
|
|
118
|
+
Ie as PModal,
|
|
119
|
+
De as PModelSignature,
|
|
120
|
+
he as PMultiSelect,
|
|
121
|
+
Be as PMultiSelectOption,
|
|
122
|
+
we as POptgroup,
|
|
123
|
+
Me as PPagination,
|
|
124
|
+
ve as PPinCode,
|
|
125
|
+
Ge as PPopover,
|
|
126
|
+
ze as PRadioButtonWrapper,
|
|
127
|
+
qe as PScroller,
|
|
128
|
+
Ke as PSegmentedControl,
|
|
129
|
+
Ee as PSegmentedControlItem,
|
|
130
|
+
Qe as PSelect,
|
|
131
|
+
Ve as PSelectOption,
|
|
132
|
+
Ye as PSelectWrapper,
|
|
133
|
+
_e as PSheet,
|
|
134
|
+
et as PSpinner,
|
|
135
|
+
ot as PStepperHorizontal,
|
|
136
|
+
at as PStepperHorizontalItem,
|
|
137
|
+
lt as PSwitch,
|
|
138
|
+
st as PTable,
|
|
139
|
+
ut as PTableBody,
|
|
140
|
+
xt as PTableCell,
|
|
141
|
+
it as PTableHead,
|
|
142
|
+
Tt as PTableHeadCell,
|
|
143
|
+
St as PTableHeadRow,
|
|
144
|
+
bt as PTableRow,
|
|
145
|
+
It as PTabs,
|
|
146
|
+
Dt as PTabsBar,
|
|
147
|
+
ht as PTabsItem,
|
|
148
|
+
Bt as PTag,
|
|
149
|
+
wt as PTagDismissible,
|
|
150
|
+
Mt as PText,
|
|
151
|
+
vt as PTextFieldWrapper,
|
|
152
|
+
Gt as PTextList,
|
|
153
|
+
zt as PTextListItem,
|
|
154
|
+
qt as PTextarea,
|
|
155
|
+
Kt as PTextareaWrapper,
|
|
156
|
+
Et as PToast,
|
|
157
|
+
Qt as PWordmark,
|
|
158
|
+
Zt as PorscheDesignSystemProvider,
|
|
155
159
|
o as componentsReady,
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
+
$t as createPorscheDesignSystem,
|
|
161
|
+
Vt as themeInjectionKey,
|
|
162
|
+
eo as usePorscheDesignSystemPlugin,
|
|
163
|
+
Xt as useToastManager
|
|
160
164
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.28.0-rc.0",
|
|
4
4
|
"description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"porsche",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "SEE LICENSE IN LICENSE",
|
|
18
18
|
"homepage": "https://designsystem.porsche.com",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@porsche-design-system/components-js": "3.
|
|
20
|
+
"@porsche-design-system/components-js": "3.28.0-rc.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"ag-grid-enterprise": ">= 33.0.0 <34.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),n=require("../../utils.cjs"),p=e.defineComponent({__name:"FlyoutMultilevelItemWrapper",props:{cascade:{type:Boolean,default:!1},identifier:{},label:{},primary:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1}},setup(r){const s=n.usePrefix("p-flyout-multilevel-item"),l=r,t=e.ref(),o=()=>n.syncProperties(t,l);return e.onMounted(o),e.onUpdated(o),(a,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(s)),{ref_key:"pdsComponentRef",ref:t},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},512))}});module.exports=p;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./FlyoutMultilevelItemWrapper.vue.cjs");module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),t=require("../../utils.cjs"),l=e.defineComponent({__name:"FlyoutMultilevelWrapper",props:{activeIdentifier:{},aria:{},open:{type:Boolean,default:!1},theme:{}},emits:["dismiss","update"],setup(c,{emit:m}){const a=t.usePrefix("p-flyout-multilevel"),o=c,n=e.ref(),r=m,i=e.inject(t.themeInjectionKey),p=()=>t.syncProperties(n,{...o,theme:o.theme||i.value});return e.onMounted(()=>{p(),t.addEventListenerToElementRef(n,"dismiss",r),t.addEventListenerToElementRef(n,"update",r)}),e.onUpdated(p),e.watch(i,s=>{t.syncProperties(n,{theme:o.theme||s})}),(s,u)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(a)),{ref_key:"pdsComponentRef",ref:n},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},512))}});module.exports=l;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./FlyoutMultilevelWrapper.vue.cjs");module.exports=e;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { defineComponent as a, ref as p, onMounted as s, onUpdated as f, openBlock as c, createBlock as d, resolveDynamicComponent as m, unref as u, withCtx as i, renderSlot as y } from "vue";
|
|
2
|
-
import { usePrefix as _, syncProperties as C } from "../../utils.mjs";
|
|
3
|
-
const x = /* @__PURE__ */ a({
|
|
4
|
-
__name: "FlyoutMultilevelItemWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
cascade: { type: Boolean, default: !1 },
|
|
7
|
-
identifier: {},
|
|
8
|
-
label: {},
|
|
9
|
-
primary: { type: Boolean, default: !1 },
|
|
10
|
-
secondary: { type: Boolean, default: !1 }
|
|
11
|
-
},
|
|
12
|
-
setup(t) {
|
|
13
|
-
const n = _("p-flyout-multilevel-item"), r = t, e = p(), o = () => C(e, r);
|
|
14
|
-
return s(o), f(o), (l, B) => (c(), d(m(u(n)), {
|
|
15
|
-
ref_key: "pdsComponentRef",
|
|
16
|
-
ref: e
|
|
17
|
-
}, {
|
|
18
|
-
default: i(() => [
|
|
19
|
-
y(l.$slots, "default")
|
|
20
|
-
]),
|
|
21
|
-
_: 3
|
|
22
|
-
}, 512));
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
export {
|
|
26
|
-
x as default
|
|
27
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes, FlyoutMultilevelAriaAttribute, Theme } from '../types';
|
|
2
|
-
type PFlyoutMultilevelProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Defines which flyout-multilevel-item to be visualized as opened.
|
|
5
|
-
*/
|
|
6
|
-
activeIdentifier?: string | undefined;
|
|
7
|
-
/**
|
|
8
|
-
* Add ARIA attributes.
|
|
9
|
-
*/
|
|
10
|
-
aria?: SelectedAriaAttributes<FlyoutMultilevelAriaAttribute>;
|
|
11
|
-
/**
|
|
12
|
-
* If true, the flyout-multilevel is visualized as opened.
|
|
13
|
-
*/
|
|
14
|
-
open?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Adapts the flyout-multilevel color depending on the theme.
|
|
17
|
-
*/
|
|
18
|
-
theme?: Theme;
|
|
19
|
-
};
|
|
20
|
-
declare function __VLS_template(): {
|
|
21
|
-
default?(_: {}): any;
|
|
22
|
-
};
|
|
23
|
-
declare const __VLS_component: import("vue").DefineComponent<PFlyoutMultilevelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
24
|
-
open: boolean;
|
|
25
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
27
|
-
export default _default;
|
|
28
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
-
new (): {
|
|
30
|
-
$slots: S;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { defineComponent as c, ref as f, inject as d, onMounted as u, onUpdated as h, watch as y, openBlock as _, createBlock as v, resolveDynamicComponent as C, unref as R, withCtx as k, renderSlot as w } from "vue";
|
|
2
|
-
import { usePrefix as x, themeInjectionKey as B, addEventListenerToElementRef as m, syncProperties as p } from "../../utils.mjs";
|
|
3
|
-
const I = /* @__PURE__ */ c({
|
|
4
|
-
__name: "FlyoutMultilevelWrapper",
|
|
5
|
-
props: {
|
|
6
|
-
activeIdentifier: {},
|
|
7
|
-
aria: {},
|
|
8
|
-
open: { type: Boolean, default: !1 },
|
|
9
|
-
theme: {}
|
|
10
|
-
},
|
|
11
|
-
emits: ["dismiss", "update"],
|
|
12
|
-
setup(i, { emit: a }) {
|
|
13
|
-
const l = x("p-flyout-multilevel"), t = i, e = f(), n = a, s = d(B), r = () => p(e, { ...t, theme: t.theme || s.value });
|
|
14
|
-
return u(() => {
|
|
15
|
-
r(), m(e, "dismiss", n), m(e, "update", n);
|
|
16
|
-
}), h(r), y(s, (o) => {
|
|
17
|
-
p(e, { theme: t.theme || o });
|
|
18
|
-
}), (o, P) => (_(), v(C(R(l)), {
|
|
19
|
-
ref_key: "pdsComponentRef",
|
|
20
|
-
ref: e
|
|
21
|
-
}, {
|
|
22
|
-
default: k(() => [
|
|
23
|
-
w(o.$slots, "default")
|
|
24
|
-
]),
|
|
25
|
-
_: 3
|
|
26
|
-
}, 512));
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
export {
|
|
30
|
-
I as default
|
|
31
|
-
};
|