@porsche-design-system/components-vue 3.28.0 → 3.29.0-rc.1
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 +56 -2
- 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 -0
- package/cjs/lib/components/InputSearchWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/InputTextWrapper.vue.cjs +1 -0
- package/cjs/lib/components/InputTextWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/PopoverWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SelectWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TextareaWrapper.vue.cjs +1 -1
- package/cjs/public-api.cjs +1 -1
- package/esm/lib/components/InputNumberWrapper.vue.d.ts +7 -3
- package/esm/lib/components/InputNumberWrapper.vue.mjs +10 -9
- package/esm/lib/components/InputPasswordWrapper.vue.d.ts +6 -2
- package/esm/lib/components/InputPasswordWrapper.vue.mjs +8 -7
- package/esm/lib/components/InputSearchWrapper.vue.d.ts +109 -0
- package/esm/lib/components/InputSearchWrapper.vue.mjs +45 -0
- package/esm/lib/components/InputSearchWrapper.vue2.mjs +4 -0
- package/esm/lib/components/InputTextWrapper.vue.d.ts +116 -0
- package/esm/lib/components/InputTextWrapper.vue.mjs +47 -0
- package/esm/lib/components/InputTextWrapper.vue2.mjs +4 -0
- package/esm/lib/components/PopoverWrapper.vue.d.ts +6 -1
- package/esm/lib/components/PopoverWrapper.vue.mjs +16 -12
- package/esm/lib/components/SelectWrapper.vue.d.ts +5 -0
- package/esm/lib/components/SelectWrapper.vue.mjs +8 -7
- package/esm/lib/components/TextareaWrapper.vue.d.ts +7 -8
- package/esm/lib/components/TextareaWrapper.vue.mjs +8 -8
- package/esm/lib/components/index.d.ts +2 -0
- package/esm/lib/types.d.ts +22 -5
- package/esm/public-api.mjs +110 -106
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -14,13 +14,67 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
14
14
|
|
|
15
15
|
## [Unreleased]
|
|
16
16
|
|
|
17
|
+
## [3.29.0-rc.1] - 2025-07-15
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `Popover`: support for custom slotted button
|
|
22
|
+
([#3861](https://github.com/porsche-design-system/porsche-design-system/pull/3861))
|
|
23
|
+
- `Icon`: `ai-spark` and `ai-spark-filled`
|
|
24
|
+
([#3916](https://github.com/porsche-design-system/porsche-design-system/pull/3916))
|
|
25
|
+
- `Input Text`: `counter` prop functions independently of `max-length`, allowing character count display even when no
|
|
26
|
+
limit is set ([#3901](https://github.com/porsche-design-system/porsche-design-system/pull/3901))
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- `Input Search`: `indicator` prop now defaults to `false`
|
|
31
|
+
([#3917](https://github.com/porsche-design-system/porsche-design-system/pull/3917))
|
|
32
|
+
- Angular: updated peer dependency to `>=20.0.0 <21.0.0`
|
|
33
|
+
- **Breaking Change** `Textarea`:
|
|
34
|
+
|
|
35
|
+
- Renamed the `showCounter` prop to `counter`.
|
|
36
|
+
- Changed default behavior: the `counter` is now disabled by default (`false` instead of `true`).
|
|
37
|
+
|
|
38
|
+
```diff
|
|
39
|
+
- <p-textarea name="some-name" showCounter="false"></p-textarea>
|
|
40
|
+
+ <p-textarea name="some-name"></p-textarea>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
To enable the counter explicitly:
|
|
44
|
+
|
|
45
|
+
```diff
|
|
46
|
+
- <p-textarea name="some-name"></p-textarea>
|
|
47
|
+
+ <p-textarea name="some-name" counter="true"></p-textarea>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
⚠️ This is a breaking change — you must update all instances using `showCounter`.
|
|
51
|
+
([#3901](https://github.com/porsche-design-system/porsche-design-system/pull/3901))
|
|
52
|
+
|
|
53
|
+
### Fixed
|
|
54
|
+
|
|
55
|
+
- `Carousel`: component does not work correctly if an invalid `lang` value is provided
|
|
56
|
+
([#3924](https://github.com/porsche-design-system/porsche-design-system/pull/3924))
|
|
57
|
+
|
|
58
|
+
## [3.29.0-rc.0] - 2025-06-27
|
|
59
|
+
|
|
60
|
+
### Added
|
|
61
|
+
|
|
62
|
+
- `Input Search`: ([#3874](https://github.com/porsche-design-system/porsche-design-system/pull/3874))
|
|
63
|
+
- `Input Number`, `Input Password`: added loading state
|
|
64
|
+
([#3874](https://github.com/porsche-design-system/porsche-design-system/pull/3874))
|
|
65
|
+
- `Input Text`: ([#3897](https://github.com/porsche-design-system/porsche-design-system/pull/3897))
|
|
66
|
+
- `Select`: `filter` prop to enable an input in the dropdown to filter options
|
|
67
|
+
([#3893](https://github.com/porsche-design-system/porsche-design-system/pull/3893))
|
|
68
|
+
- `Flyout`: expose `--ref-p-flyout-pt` and `--ref-p-flyout-px` read only CSS variable
|
|
69
|
+
([#3902](https://github.com/porsche-design-system/porsche-design-system/pull/3902))
|
|
70
|
+
|
|
17
71
|
## [3.28.0] - 2025-06-02
|
|
18
72
|
|
|
19
|
-
|
|
73
|
+
### Added
|
|
20
74
|
|
|
21
75
|
- `Input Number`: ([#3855](https://github.com/porsche-design-system/porsche-design-system/pull/3855))
|
|
22
76
|
|
|
23
|
-
|
|
77
|
+
### Fixed
|
|
24
78
|
|
|
25
79
|
- `Select Wrapper`: update of scroll position if dropdown is navigated with keyboard
|
|
26
80
|
([#3858](https://github.com/porsche-design-system/porsche-design-system/pull/3858))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),t=require("../../utils.cjs"),p=e.defineComponent({__name:"InputNumberWrapper",props:{autoComplete:{
|
|
1
|
+
"use strict";const e=require("vue"),t=require("../../utils.cjs"),p=e.defineComponent({__name:"InputNumberWrapper",props:{autoComplete:{},compact:{type:Boolean,default:!1},controls:{type:Boolean,default:!1},description:{default:""},disabled:{type:Boolean,default:!1},form:{},hideLabel:{default:!1},label:{default:""},loading:{type:Boolean,default:!1},max:{},message:{default:""},min:{},name:{},placeholder:{default:""},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},state:{default:"none"},step:{default:1},theme:{},value:{default:""}},emits:["blur","change","input"],setup(u,{emit:d}){const f=t.usePrefix("p-input-number"),o=u,n=e.ref(),a=d,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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),t=require("../../utils.cjs"),
|
|
1
|
+
"use strict";const e=require("vue"),t=require("../../utils.cjs"),u=e.defineComponent({__name:"InputPasswordWrapper",props:{autoComplete:{},compact:{type:Boolean,default:!1},description:{default:""},disabled:{type:Boolean,default:!1},form:{},hideLabel:{default:!1},label:{default:""},loading:{type:Boolean,default:!1},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:f}){const p=t.usePrefix("p-input-password"),o=d,n=e.ref(),a=f,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(p)),{ref_key:"pdsComponentRef",ref:n},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},512))}});module.exports=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),t=require("../../utils.cjs"),p=e.defineComponent({__name:"InputSearchWrapper",props:{autoComplete:{},clear:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},description:{default:""},disabled:{type:Boolean,default:!1},form:{},hideLabel:{default:!1},indicator:{type:Boolean,default:!1},label:{default:""},loading:{type:Boolean,default:!1},message:{default:""},name:{},placeholder:{default:""},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},state:{default:"none"},theme:{},value:{default:""}},emits:["blur","change","input"],setup(d,{emit:f}){const u=t.usePrefix("p-input-search"),a=d,n=e.ref(),o=f,s=e.inject(t.themeInjectionKey),r=()=>t.syncProperties(n,{...a,theme:a.theme||s.value});return e.onMounted(()=>{r(),t.addEventListenerToElementRef(n,"blur",o),t.addEventListenerToElementRef(n,"change",o),t.addEventListenerToElementRef(n,"input",o)}),e.onUpdated(r),e.watch(s,l=>{t.syncProperties(n,{theme:a.theme||l})}),(l,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(u)),{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("./InputSearchWrapper.vue.cjs");module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),t=require("../../utils.cjs"),f=e.defineComponent({__name:"InputTextWrapper",props:{autoComplete:{},compact:{type:Boolean,default:!1},counter:{type:Boolean,default:!1},description:{default:""},disabled:{type:Boolean,default:!1},form:{},hideLabel:{default:!1},label:{default:""},loading:{type:Boolean,default:!1},maxLength:{},message:{default:""},minLength:{},name:{},placeholder:{default:""},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},spellCheck:{type:Boolean},state:{default:"none"},theme:{},value:{default:""}},emits:["blur","change","input"],setup(p,{emit:u}){const d=t.usePrefix("p-input-text"),o=p,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(d)),{ref_key:"pdsComponentRef",ref:n},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},512))}});module.exports=f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./InputTextWrapper.vue.cjs");module.exports=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),t=require("../../utils.cjs"),
|
|
1
|
+
"use strict";const e=require("vue"),t=require("../../utils.cjs"),d=e.defineComponent({__name:"PopoverWrapper",props:{aria:{},description:{},direction:{default:"bottom"},open:{type:Boolean,default:!1},theme:{}},emits:["dismiss"],setup(i,{emit:c}){const m=t.usePrefix("p-popover"),n=i,o=e.ref(),a=c,r=e.inject(t.themeInjectionKey),p=()=>t.syncProperties(o,{...n,theme:n.theme||r.value});return e.onMounted(()=>{p(),t.addEventListenerToElementRef(o,"dismiss",a)}),e.onUpdated(p),e.watch(r,s=>{t.syncProperties(o,{theme:n.theme||s})}),(s,f)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(m)),{ref_key:"pdsComponentRef",ref:o},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},512))}});module.exports=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),t=require("../../utils.cjs"),
|
|
1
|
+
"use strict";const e=require("vue"),t=require("../../utils.cjs"),c=e.defineComponent({__name:"SelectWrapper",props:{compact:{type:Boolean,default:!1},description:{default:""},disabled:{type:Boolean,default:!1},dropdownDirection:{default:"auto"},filter:{type:Boolean,default:!1},form:{},hideLabel:{default:!1},label:{default:""},message:{default:""},name:{},required:{type:Boolean,default:!1},state:{default:"none"},theme:{},value:{}},emits:["update"],setup(r,{emit:d}){const f=t.usePrefix("p-select"),n=r,o=e.ref(),p=d,s=e.inject(t.themeInjectionKey),l=()=>t.syncProperties(o,{...n,theme:n.theme||s.value});return e.onMounted(()=>{l(),t.addEventListenerToElementRef(o,"update",p)}),e.onUpdated(l),e.watch(s,a=>{t.syncProperties(o,{theme:n.theme||a})}),(a,u)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(f)),{ref_key:"pdsComponentRef",ref:o},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},512))}});module.exports=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),t=require("../../utils.cjs"),p=e.defineComponent({__name:"TextareaWrapper",props:{autoComplete:{default
|
|
1
|
+
"use strict";const e=require("vue"),t=require("../../utils.cjs"),p=e.defineComponent({__name:"TextareaWrapper",props:{autoComplete:{},counter:{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},resize:{default:"vertical"},rows:{default:7},spellCheck:{type:Boolean},state:{default:"none"},theme:{},value:{default:""},wrap:{default:"soft"}},emits:["blur","change","input"],setup(d,{emit:f}){const u=t.usePrefix("p-textarea"),a=d,n=e.ref(),o=f,s=e.inject(t.themeInjectionKey),r=()=>t.syncProperties(n,{...a,theme:a.theme||s.value});return e.onMounted(()=>{r(),t.addEventListenerToElementRef(n,"blur",o),t.addEventListenerToElementRef(n,"change",o),t.addEventListenerToElementRef(n,"input",o)}),e.onUpdated(r),e.watch(s,l=>{t.syncProperties(n,{theme:a.theme||l})}),(l,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(u)),{ref_key:"pdsComponentRef",ref:n},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},512))}});module.exports=p;
|
package/cjs/public-api.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
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"),
|
|
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"),n=require("./lib/components/ButtonPureWrapper.vue.cjs"),i=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"),I=require("./lib/components/FlyoutWrapper.vue.cjs"),x=require("./lib/components/GridWrapper.vue.cjs"),C=require("./lib/components/GridItemWrapper.vue.cjs"),k=require("./lib/components/HeadingWrapper.vue.cjs"),h=require("./lib/components/HeadlineWrapper.vue.cjs"),D=require("./lib/components/IconWrapper.vue.cjs"),L=require("./lib/components/InlineNotificationWrapper.vue.cjs"),B=require("./lib/components/InputNumberWrapper.vue.cjs"),M=require("./lib/components/InputPasswordWrapper.vue.cjs"),w=require("./lib/components/InputSearchWrapper.vue.cjs"),H=require("./lib/components/InputTextWrapper.vue.cjs"),F=require("./lib/components/LinkWrapper.vue.cjs"),O=require("./lib/components/LinkPureWrapper.vue.cjs"),R=require("./lib/components/LinkSocialWrapper.vue.cjs"),G=require("./lib/components/LinkTileWrapper.vue.cjs"),f=require("./lib/components/LinkTileModelSignatureWrapper.vue.cjs"),j=require("./lib/components/LinkTileProductWrapper.vue.cjs"),z=require("./lib/components/MarqueWrapper.vue.cjs"),N=require("./lib/components/ModalWrapper.vue.cjs"),A=require("./lib/components/ModelSignatureWrapper.vue.cjs"),K=require("./lib/components/MultiSelectWrapper.vue.cjs"),J=require("./lib/components/MultiSelectOptionWrapper.vue.cjs"),E=require("./lib/components/OptgroupWrapper.vue.cjs"),Q=require("./lib/components/PaginationWrapper.vue.cjs"),U=require("./lib/components/PinCodeWrapper.vue.cjs"),V=require("./lib/components/PopoverWrapper.vue.cjs"),X=require("./lib/components/RadioButtonWrapperWrapper.vue.cjs"),Y=require("./lib/components/ScrollerWrapper.vue.cjs"),Z=require("./lib/components/SegmentedControlWrapper.vue.cjs"),$=require("./lib/components/SegmentedControlItemWrapper.vue.cjs"),ee=require("./lib/components/SelectWrapper.vue.cjs"),re=require("./lib/components/SelectOptionWrapper.vue.cjs"),_e=require("./lib/components/SelectWrapperWrapper.vue.cjs"),te=require("./lib/components/SheetWrapper.vue.cjs"),pe=require("./lib/components/SpinnerWrapper.vue.cjs"),ue=require("./lib/components/StepperHorizontalWrapper.vue.cjs"),se=require("./lib/components/StepperHorizontalItemWrapper.vue.cjs"),ne=require("./lib/components/SwitchWrapper.vue.cjs"),ie=require("./lib/components/TableWrapper.vue.cjs"),ae=require("./lib/components/TableBodyWrapper.vue.cjs"),ce=require("./lib/components/TableCellWrapper.vue.cjs"),oe=require("./lib/components/TableHeadWrapper.vue.cjs"),le=require("./lib/components/TableHeadCellWrapper.vue.cjs"),ve=require("./lib/components/TableHeadRowWrapper.vue.cjs"),ge=require("./lib/components/TableRowWrapper.vue.cjs"),Pe=require("./lib/components/TabsWrapper.vue.cjs"),ye=require("./lib/components/TabsBarWrapper.vue.cjs"),We=require("./lib/components/TabsItemWrapper.vue.cjs"),qe=require("./lib/components/TagWrapper.vue.cjs"),de=require("./lib/components/TagDismissibleWrapper.vue.cjs"),Te=require("./lib/components/TextWrapper.vue.cjs"),Se=require("./lib/components/TextFieldWrapperWrapper.vue.cjs"),me=require("./lib/components/TextListWrapper.vue.cjs"),be=require("./lib/components/TextListItemWrapper.vue.cjs"),Ie=require("./lib/components/TextareaWrapper.vue.cjs"),xe=require("./lib/components/TextareaWrapperWrapper.vue.cjs"),Ce=require("./lib/components/ToastWrapper.vue.cjs"),ke=require("./lib/components/WordmarkWrapper.vue.cjs"),e=require("./utils.cjs"),he=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=n;exports.PButtonTile=i;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=I;exports.PGrid=x;exports.PGridItem=C;exports.PHeading=k;exports.PHeadline=h;exports.PIcon=D;exports.PInlineNotification=L;exports.PInputNumber=B;exports.PInputPassword=M;exports.PInputSearch=w;exports.PInputText=H;exports.PLink=F;exports.PLinkPure=O;exports.PLinkSocial=R;exports.PLinkTile=G;exports.PLinkTileModelSignature=f;exports.PLinkTileProduct=j;exports.PMarque=z;exports.PModal=N;exports.PModelSignature=A;exports.PMultiSelect=K;exports.PMultiSelectOption=J;exports.POptgroup=E;exports.PPagination=Q;exports.PPinCode=U;exports.PPopover=V;exports.PRadioButtonWrapper=X;exports.PScroller=Y;exports.PSegmentedControl=Z;exports.PSegmentedControlItem=$;exports.PSelect=ee;exports.PSelectOption=re;exports.PSelectWrapper=_e;exports.PSheet=te;exports.PSpinner=pe;exports.PStepperHorizontal=ue;exports.PStepperHorizontalItem=se;exports.PSwitch=ne;exports.PTable=ie;exports.PTableBody=ae;exports.PTableCell=ce;exports.PTableHead=oe;exports.PTableHeadCell=le;exports.PTableHeadRow=ve;exports.PTableRow=ge;exports.PTabs=Pe;exports.PTabsBar=ye;exports.PTabsItem=We;exports.PTag=qe;exports.PTagDismissible=de;exports.PText=Te;exports.PTextFieldWrapper=Se;exports.PTextList=me;exports.PTextListItem=be;exports.PTextarea=Ie;exports.PTextareaWrapper=xe;exports.PToast=Ce;exports.PWordmark=ke;exports.themeInjectionKey=e.themeInjectionKey;exports.useToastManager=e.useToastManager;exports.PorscheDesignSystemProvider=he;exports.createPorscheDesignSystem=r.createPorscheDesignSystem;exports.usePorscheDesignSystemPlugin=r.usePorscheDesignSystemPlugin;
|
|
@@ -5,7 +5,7 @@ type PInputNumberProps = {
|
|
|
5
5
|
*/
|
|
6
6
|
autoComplete?: InputNumberAutoComplete;
|
|
7
7
|
/**
|
|
8
|
-
* Displays as compact version.
|
|
8
|
+
* Displays as a compact version.
|
|
9
9
|
*/
|
|
10
10
|
compact?: boolean;
|
|
11
11
|
/**
|
|
@@ -25,13 +25,17 @@ type PInputNumberProps = {
|
|
|
25
25
|
*/
|
|
26
26
|
form?: string;
|
|
27
27
|
/**
|
|
28
|
-
* Show or hide label and description text. For better accessibility it is recommended to show the label.
|
|
28
|
+
* Show or hide label and description text. For better accessibility, it is recommended to show the label.
|
|
29
29
|
*/
|
|
30
30
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
31
31
|
/**
|
|
32
32
|
* The label text.
|
|
33
33
|
*/
|
|
34
34
|
label?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @experimental Shows a loading indicator.
|
|
37
|
+
*/
|
|
38
|
+
loading?: boolean;
|
|
35
39
|
/**
|
|
36
40
|
* The max value of the number input.
|
|
37
41
|
*/
|
|
@@ -97,9 +101,9 @@ declare const __VLS_component: import("vue").DefineComponent<PInputNumberProps,
|
|
|
97
101
|
state: InputNumberState;
|
|
98
102
|
required: boolean;
|
|
99
103
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
104
|
+
loading: boolean;
|
|
100
105
|
value: string;
|
|
101
106
|
message: string;
|
|
102
|
-
autoComplete: InputNumberAutoComplete;
|
|
103
107
|
controls: boolean;
|
|
104
108
|
placeholder: string;
|
|
105
109
|
readOnly: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as d, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, openBlock as b, createBlock as B, resolveDynamicComponent as C, unref as _, withCtx as g, renderSlot as v } from "vue";
|
|
2
|
-
import { usePrefix as x, themeInjectionKey as R, addEventListenerToElementRef as a, syncProperties as
|
|
2
|
+
import { usePrefix as x, themeInjectionKey as R, addEventListenerToElementRef as a, syncProperties as s } from "../../utils.mjs";
|
|
3
3
|
const j = /* @__PURE__ */ d({
|
|
4
4
|
__name: "InputNumberWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
autoComplete: {
|
|
6
|
+
autoComplete: {},
|
|
7
7
|
compact: { type: Boolean, default: !1 },
|
|
8
8
|
controls: { type: Boolean, default: !1 },
|
|
9
9
|
description: { default: "" },
|
|
@@ -11,6 +11,7 @@ const j = /* @__PURE__ */ d({
|
|
|
11
11
|
form: {},
|
|
12
12
|
hideLabel: { default: !1 },
|
|
13
13
|
label: { default: "" },
|
|
14
|
+
loading: { type: Boolean, default: !1 },
|
|
14
15
|
max: {},
|
|
15
16
|
message: { default: "" },
|
|
16
17
|
min: {},
|
|
@@ -24,18 +25,18 @@ const j = /* @__PURE__ */ d({
|
|
|
24
25
|
value: { default: "" }
|
|
25
26
|
},
|
|
26
27
|
emits: ["blur", "change", "input"],
|
|
27
|
-
setup(
|
|
28
|
-
const u = x("p-input-number"), t =
|
|
28
|
+
setup(p, { emit: r }) {
|
|
29
|
+
const u = x("p-input-number"), t = p, e = m(), o = r, l = c(R), f = () => s(e, { ...t, theme: t.theme || l.value });
|
|
29
30
|
return i(() => {
|
|
30
|
-
f(), a(e, "blur",
|
|
31
|
-
}), h(f), y(l, (
|
|
32
|
-
|
|
33
|
-
}), (
|
|
31
|
+
f(), a(e, "blur", o), a(e, "change", o), a(e, "input", o);
|
|
32
|
+
}), h(f), y(l, (n) => {
|
|
33
|
+
s(e, { theme: t.theme || n });
|
|
34
|
+
}), (n, k) => (b(), B(C(_(u)), {
|
|
34
35
|
ref_key: "pdsComponentRef",
|
|
35
36
|
ref: e
|
|
36
37
|
}, {
|
|
37
38
|
default: g(() => [
|
|
38
|
-
v(
|
|
39
|
+
v(n.$slots, "default")
|
|
39
40
|
]),
|
|
40
41
|
_: 3
|
|
41
42
|
}, 512));
|
|
@@ -5,7 +5,7 @@ type PInputPasswordProps = {
|
|
|
5
5
|
*/
|
|
6
6
|
autoComplete?: InputPasswordAutoComplete;
|
|
7
7
|
/**
|
|
8
|
-
* Displays as compact version.
|
|
8
|
+
* Displays as a compact version.
|
|
9
9
|
*/
|
|
10
10
|
compact?: boolean;
|
|
11
11
|
/**
|
|
@@ -28,6 +28,10 @@ type PInputPasswordProps = {
|
|
|
28
28
|
* The label text.
|
|
29
29
|
*/
|
|
30
30
|
label?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @experimental Shows a loading indicator.
|
|
33
|
+
*/
|
|
34
|
+
loading?: boolean;
|
|
31
35
|
/**
|
|
32
36
|
* The max length of the password input.
|
|
33
37
|
*/
|
|
@@ -93,9 +97,9 @@ declare const __VLS_component: import("vue").DefineComponent<PInputPasswordProps
|
|
|
93
97
|
state: InputPasswordState;
|
|
94
98
|
required: boolean;
|
|
95
99
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
100
|
+
loading: boolean;
|
|
96
101
|
value: string;
|
|
97
102
|
message: string;
|
|
98
|
-
autoComplete: InputPasswordAutoComplete;
|
|
99
103
|
placeholder: string;
|
|
100
104
|
readOnly: boolean;
|
|
101
105
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
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
|
|
2
|
+
import { usePrefix as v, themeInjectionKey as x, addEventListenerToElementRef as n, syncProperties as f } from "../../utils.mjs";
|
|
3
3
|
const k = /* @__PURE__ */ u({
|
|
4
4
|
__name: "InputPasswordWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
autoComplete: {
|
|
6
|
+
autoComplete: {},
|
|
7
7
|
compact: { type: Boolean, default: !1 },
|
|
8
8
|
description: { default: "" },
|
|
9
9
|
disabled: { type: Boolean, default: !1 },
|
|
10
10
|
form: {},
|
|
11
11
|
hideLabel: { default: !1 },
|
|
12
12
|
label: { default: "" },
|
|
13
|
+
loading: { type: Boolean, default: !1 },
|
|
13
14
|
maxLength: {},
|
|
14
15
|
message: { default: "" },
|
|
15
16
|
minLength: {},
|
|
@@ -26,15 +27,15 @@ const k = /* @__PURE__ */ u({
|
|
|
26
27
|
setup(p, { emit: r }) {
|
|
27
28
|
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
29
|
return i(() => {
|
|
29
|
-
s(),
|
|
30
|
-
}), h(s), y(l, (
|
|
31
|
-
f(e, { theme: t.theme ||
|
|
32
|
-
}), (
|
|
30
|
+
s(), n(e, "blur", o), n(e, "change", o), n(e, "input", o);
|
|
31
|
+
}), h(s), y(l, (a) => {
|
|
32
|
+
f(e, { theme: t.theme || a });
|
|
33
|
+
}), (a, L) => (g(), B(C(_(d)), {
|
|
33
34
|
ref_key: "pdsComponentRef",
|
|
34
35
|
ref: e
|
|
35
36
|
}, {
|
|
36
37
|
default: b(() => [
|
|
37
|
-
w(
|
|
38
|
+
w(a.$slots, "default")
|
|
38
39
|
]),
|
|
39
40
|
_: 3
|
|
40
41
|
}, 512));
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import type { InputSearchAutoComplete, BreakpointCustomizable, InputSearchState, Theme } from '../types';
|
|
2
|
+
type PInputSearchProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Specifies whether the input can be autofilled by the browser
|
|
5
|
+
*/
|
|
6
|
+
autoComplete?: InputSearchAutoComplete;
|
|
7
|
+
/**
|
|
8
|
+
* Show clear input value button
|
|
9
|
+
*/
|
|
10
|
+
clear?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Displays as a compact version.
|
|
13
|
+
*/
|
|
14
|
+
compact?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The description text.
|
|
17
|
+
*/
|
|
18
|
+
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Marks the search input as disabled.
|
|
21
|
+
*/
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The id of a form element the search input should be associated with.
|
|
25
|
+
*/
|
|
26
|
+
form?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Show or hide label and description text. For better accessibility it is recommended to show the label.
|
|
29
|
+
*/
|
|
30
|
+
hideLabel?: BreakpointCustomizable<boolean>;
|
|
31
|
+
/**
|
|
32
|
+
* Show search indicator icon
|
|
33
|
+
*/
|
|
34
|
+
indicator?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The label text.
|
|
37
|
+
*/
|
|
38
|
+
label?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @experimental Shows a loading indicator.
|
|
41
|
+
*/
|
|
42
|
+
loading?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The message styled depending on validation state.
|
|
45
|
+
*/
|
|
46
|
+
message?: string;
|
|
47
|
+
/**
|
|
48
|
+
* The name of the search input.
|
|
49
|
+
*/
|
|
50
|
+
name: string;
|
|
51
|
+
/**
|
|
52
|
+
* The placeholder text.
|
|
53
|
+
*/
|
|
54
|
+
placeholder?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Specifies whether the search input should be read-only.
|
|
57
|
+
*/
|
|
58
|
+
readOnly?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Marks the search input as required.
|
|
61
|
+
*/
|
|
62
|
+
required?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* The validation state.
|
|
65
|
+
*/
|
|
66
|
+
state?: InputSearchState;
|
|
67
|
+
/**
|
|
68
|
+
* Adapts the color depending on the theme.
|
|
69
|
+
*/
|
|
70
|
+
theme?: Theme;
|
|
71
|
+
/**
|
|
72
|
+
* The search input value.
|
|
73
|
+
*/
|
|
74
|
+
value?: string;
|
|
75
|
+
};
|
|
76
|
+
declare function __VLS_template(): {
|
|
77
|
+
default?(_: {}): any;
|
|
78
|
+
};
|
|
79
|
+
declare const __VLS_component: import("vue").DefineComponent<PInputSearchProps, {}, {}, {}, {}, 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<PInputSearchProps> & Readonly<{
|
|
84
|
+
onBlur?: ((value: Event) => any) | undefined;
|
|
85
|
+
onChange?: ((value: Event) => any) | undefined;
|
|
86
|
+
onInput?: ((value: InputEvent) => any) | undefined;
|
|
87
|
+
}>, {
|
|
88
|
+
label: string;
|
|
89
|
+
description: string;
|
|
90
|
+
disabled: boolean;
|
|
91
|
+
compact: boolean;
|
|
92
|
+
state: InputSearchState;
|
|
93
|
+
required: boolean;
|
|
94
|
+
hideLabel: BreakpointCustomizable<boolean>;
|
|
95
|
+
loading: boolean;
|
|
96
|
+
value: string;
|
|
97
|
+
message: string;
|
|
98
|
+
placeholder: string;
|
|
99
|
+
readOnly: boolean;
|
|
100
|
+
clear: boolean;
|
|
101
|
+
indicator: boolean;
|
|
102
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
103
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
104
|
+
export default _default;
|
|
105
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
106
|
+
new (): {
|
|
107
|
+
$slots: S;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent as u, ref as c, inject as m, onMounted as i, onUpdated as h, watch as y, openBlock as B, createBlock as C, resolveDynamicComponent as _, unref as b, withCtx as g, renderSlot as v } from "vue";
|
|
2
|
+
import { usePrefix as R, themeInjectionKey as k, addEventListenerToElementRef as n, syncProperties as r } from "../../utils.mjs";
|
|
3
|
+
const j = /* @__PURE__ */ u({
|
|
4
|
+
__name: "InputSearchWrapper",
|
|
5
|
+
props: {
|
|
6
|
+
autoComplete: {},
|
|
7
|
+
clear: { type: Boolean, default: !1 },
|
|
8
|
+
compact: { type: Boolean, default: !1 },
|
|
9
|
+
description: { default: "" },
|
|
10
|
+
disabled: { type: Boolean, default: !1 },
|
|
11
|
+
form: {},
|
|
12
|
+
hideLabel: { default: !1 },
|
|
13
|
+
indicator: { type: Boolean, default: !1 },
|
|
14
|
+
label: { default: "" },
|
|
15
|
+
loading: { type: Boolean, default: !1 },
|
|
16
|
+
message: { default: "" },
|
|
17
|
+
name: {},
|
|
18
|
+
placeholder: { default: "" },
|
|
19
|
+
readOnly: { type: Boolean, default: !1 },
|
|
20
|
+
required: { type: Boolean, default: !1 },
|
|
21
|
+
state: { default: "none" },
|
|
22
|
+
theme: {},
|
|
23
|
+
value: { default: "" }
|
|
24
|
+
},
|
|
25
|
+
emits: ["blur", "change", "input"],
|
|
26
|
+
setup(s, { emit: p }) {
|
|
27
|
+
const d = R("p-input-search"), t = s, e = c(), a = p, l = m(k), f = () => r(e, { ...t, theme: t.theme || l.value });
|
|
28
|
+
return i(() => {
|
|
29
|
+
f(), n(e, "blur", a), n(e, "change", a), n(e, "input", a);
|
|
30
|
+
}), h(f), y(l, (o) => {
|
|
31
|
+
r(e, { theme: t.theme || o });
|
|
32
|
+
}), (o, w) => (B(), C(_(b(d)), {
|
|
33
|
+
ref_key: "pdsComponentRef",
|
|
34
|
+
ref: e
|
|
35
|
+
}, {
|
|
36
|
+
default: g(() => [
|
|
37
|
+
v(o.$slots, "default")
|
|
38
|
+
]),
|
|
39
|
+
_: 3
|
|
40
|
+
}, 512));
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
j as default
|
|
45
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import type { InputTextAutoComplete, BreakpointCustomizable, InputTextState, Theme } from '../types';
|
|
2
|
+
type PInputTextProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Specifies whether the input can be autofilled by the browser
|
|
5
|
+
*/
|
|
6
|
+
autoComplete?: InputTextAutoComplete;
|
|
7
|
+
/**
|
|
8
|
+
* Displays as a compact version.
|
|
9
|
+
*/
|
|
10
|
+
compact?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Show or hide the character counter.
|
|
13
|
+
*/
|
|
14
|
+
counter?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The description text.
|
|
17
|
+
*/
|
|
18
|
+
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Marks the text input as disabled.
|
|
21
|
+
*/
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The id of a form element the text input should be associated with.
|
|
25
|
+
*/
|
|
26
|
+
form?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Show or hide label and description text. For better accessibility, it is recommended to show the label.
|
|
29
|
+
*/
|
|
30
|
+
hideLabel?: BreakpointCustomizable<boolean>;
|
|
31
|
+
/**
|
|
32
|
+
* The label text.
|
|
33
|
+
*/
|
|
34
|
+
label?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @experimental Shows a loading indicator.
|
|
37
|
+
*/
|
|
38
|
+
loading?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* The max length of the text input.
|
|
41
|
+
*/
|
|
42
|
+
maxLength?: number;
|
|
43
|
+
/**
|
|
44
|
+
* The message styled depending on validation state.
|
|
45
|
+
*/
|
|
46
|
+
message?: string;
|
|
47
|
+
/**
|
|
48
|
+
* The min length of the text input.
|
|
49
|
+
*/
|
|
50
|
+
minLength?: number;
|
|
51
|
+
/**
|
|
52
|
+
* The name of the text input.
|
|
53
|
+
*/
|
|
54
|
+
name: string;
|
|
55
|
+
/**
|
|
56
|
+
* The placeholder text.
|
|
57
|
+
*/
|
|
58
|
+
placeholder?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Specifies whether the text input should be read-only.
|
|
61
|
+
*/
|
|
62
|
+
readOnly?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Marks the text input as required.
|
|
65
|
+
*/
|
|
66
|
+
required?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Indicate whether to enable spell-checking.
|
|
69
|
+
*/
|
|
70
|
+
spellCheck?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* The validation state.
|
|
73
|
+
*/
|
|
74
|
+
state?: InputTextState;
|
|
75
|
+
/**
|
|
76
|
+
* Adapts the color depending on the theme.
|
|
77
|
+
*/
|
|
78
|
+
theme?: Theme;
|
|
79
|
+
/**
|
|
80
|
+
* The text input value.
|
|
81
|
+
*/
|
|
82
|
+
value?: string;
|
|
83
|
+
};
|
|
84
|
+
declare function __VLS_template(): {
|
|
85
|
+
default?(_: {}): any;
|
|
86
|
+
};
|
|
87
|
+
declare const __VLS_component: import("vue").DefineComponent<PInputTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
88
|
+
blur: (value: Event) => void;
|
|
89
|
+
change: (value: Event) => void;
|
|
90
|
+
input: (value: InputEvent) => void;
|
|
91
|
+
}, string, import("vue").PublicProps, Readonly<PInputTextProps> & Readonly<{
|
|
92
|
+
onBlur?: ((value: Event) => any) | undefined;
|
|
93
|
+
onChange?: ((value: Event) => any) | undefined;
|
|
94
|
+
onInput?: ((value: InputEvent) => any) | undefined;
|
|
95
|
+
}>, {
|
|
96
|
+
label: string;
|
|
97
|
+
description: string;
|
|
98
|
+
disabled: boolean;
|
|
99
|
+
compact: boolean;
|
|
100
|
+
state: InputTextState;
|
|
101
|
+
required: boolean;
|
|
102
|
+
hideLabel: BreakpointCustomizable<boolean>;
|
|
103
|
+
loading: boolean;
|
|
104
|
+
value: string;
|
|
105
|
+
message: string;
|
|
106
|
+
placeholder: string;
|
|
107
|
+
readOnly: boolean;
|
|
108
|
+
counter: boolean;
|
|
109
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
110
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
111
|
+
export default _default;
|
|
112
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
113
|
+
new (): {
|
|
114
|
+
$slots: S;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { defineComponent as u, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, openBlock as B, createBlock as C, resolveDynamicComponent as g, unref as _, withCtx as b, renderSlot as x } from "vue";
|
|
2
|
+
import { usePrefix as k, themeInjectionKey as v, addEventListenerToElementRef as a, syncProperties as f } from "../../utils.mjs";
|
|
3
|
+
const P = /* @__PURE__ */ u({
|
|
4
|
+
__name: "InputTextWrapper",
|
|
5
|
+
props: {
|
|
6
|
+
autoComplete: {},
|
|
7
|
+
compact: { type: Boolean, default: !1 },
|
|
8
|
+
counter: { type: Boolean, default: !1 },
|
|
9
|
+
description: { default: "" },
|
|
10
|
+
disabled: { type: Boolean, default: !1 },
|
|
11
|
+
form: {},
|
|
12
|
+
hideLabel: { default: !1 },
|
|
13
|
+
label: { default: "" },
|
|
14
|
+
loading: { type: Boolean, default: !1 },
|
|
15
|
+
maxLength: {},
|
|
16
|
+
message: { default: "" },
|
|
17
|
+
minLength: {},
|
|
18
|
+
name: {},
|
|
19
|
+
placeholder: { default: "" },
|
|
20
|
+
readOnly: { type: Boolean, default: !1 },
|
|
21
|
+
required: { type: Boolean, default: !1 },
|
|
22
|
+
spellCheck: { type: Boolean },
|
|
23
|
+
state: { default: "none" },
|
|
24
|
+
theme: {},
|
|
25
|
+
value: { default: "" }
|
|
26
|
+
},
|
|
27
|
+
emits: ["blur", "change", "input"],
|
|
28
|
+
setup(s, { emit: r }) {
|
|
29
|
+
const d = k("p-input-text"), t = s, e = m(), n = r, l = c(v), p = () => f(e, { ...t, theme: t.theme || l.value });
|
|
30
|
+
return i(() => {
|
|
31
|
+
p(), a(e, "blur", n), a(e, "change", n), a(e, "input", n);
|
|
32
|
+
}), h(p), y(l, (o) => {
|
|
33
|
+
f(e, { theme: t.theme || o });
|
|
34
|
+
}), (o, L) => (B(), C(g(_(d)), {
|
|
35
|
+
ref_key: "pdsComponentRef",
|
|
36
|
+
ref: e
|
|
37
|
+
}, {
|
|
38
|
+
default: b(() => [
|
|
39
|
+
x(o.$slots, "default")
|
|
40
|
+
]),
|
|
41
|
+
_: 3
|
|
42
|
+
}, 512));
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
export {
|
|
46
|
+
P as default
|
|
47
|
+
};
|
|
@@ -12,6 +12,10 @@ type PPopoverProps = {
|
|
|
12
12
|
* Preferred direction in which popover should open, given there is enough space in viewport. Otherwise, it will be opened in the direction with most available space.
|
|
13
13
|
*/
|
|
14
14
|
direction?: PopoverDirection;
|
|
15
|
+
/**
|
|
16
|
+
* If true, the popover is open.
|
|
17
|
+
*/
|
|
18
|
+
open?: boolean;
|
|
15
19
|
/**
|
|
16
20
|
* Adapts the popover color depending on the theme.
|
|
17
21
|
*/
|
|
@@ -20,7 +24,8 @@ type PPopoverProps = {
|
|
|
20
24
|
declare function __VLS_template(): {
|
|
21
25
|
default?(_: {}): any;
|
|
22
26
|
};
|
|
23
|
-
declare const __VLS_component: import("vue").DefineComponent<PPopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
27
|
+
declare const __VLS_component: import("vue").DefineComponent<PPopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
28
|
+
open: boolean;
|
|
24
29
|
direction: PopoverDirection;
|
|
25
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
31
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -1,28 +1,32 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as c, ref as f, inject as d, onMounted as l, onUpdated as u, watch as h, openBlock as _, createBlock as y, resolveDynamicComponent as C, unref as v, withCtx as P, renderSlot as R } from "vue";
|
|
2
|
+
import { usePrefix as k, themeInjectionKey as w, addEventListenerToElementRef as x, syncProperties as r } from "../../utils.mjs";
|
|
3
|
+
const E = /* @__PURE__ */ c({
|
|
4
4
|
__name: "PopoverWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
7
7
|
description: {},
|
|
8
8
|
direction: { default: "bottom" },
|
|
9
|
+
open: { type: Boolean, default: !1 },
|
|
9
10
|
theme: {}
|
|
10
11
|
},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
emits: ["dismiss"],
|
|
13
|
+
setup(p, { emit: m }) {
|
|
14
|
+
const i = k("p-popover"), t = p, e = f(), a = m, n = d(w), s = () => r(e, { ...t, theme: t.theme || n.value });
|
|
15
|
+
return l(() => {
|
|
16
|
+
s(), x(e, "dismiss", a);
|
|
17
|
+
}), u(s), h(n, (o) => {
|
|
18
|
+
r(e, { theme: t.theme || o });
|
|
19
|
+
}), (o, B) => (_(), y(C(v(i)), {
|
|
16
20
|
ref_key: "pdsComponentRef",
|
|
17
|
-
ref:
|
|
21
|
+
ref: e
|
|
18
22
|
}, {
|
|
19
|
-
default:
|
|
20
|
-
|
|
23
|
+
default: P(() => [
|
|
24
|
+
R(o.$slots, "default")
|
|
21
25
|
]),
|
|
22
26
|
_: 3
|
|
23
27
|
}, 512));
|
|
24
28
|
}
|
|
25
29
|
});
|
|
26
30
|
export {
|
|
27
|
-
|
|
31
|
+
E as default
|
|
28
32
|
};
|
|
@@ -16,6 +16,10 @@ type PSelectProps = {
|
|
|
16
16
|
* Changes the direction to which the dropdown list appears.
|
|
17
17
|
*/
|
|
18
18
|
dropdownDirection?: SelectDropdownDirection;
|
|
19
|
+
/**
|
|
20
|
+
* Shows an input in the dropdown allowing options to be filtered.
|
|
21
|
+
*/
|
|
22
|
+
filter?: boolean;
|
|
19
23
|
/**
|
|
20
24
|
* The id of a form element the select should be associated with.
|
|
21
25
|
*/
|
|
@@ -61,6 +65,7 @@ declare const __VLS_component: import("vue").DefineComponent<PSelectProps, {}, {
|
|
|
61
65
|
}, string, import("vue").PublicProps, Readonly<PSelectProps> & Readonly<{
|
|
62
66
|
onUpdate?: ((value: SelectUpdateEventDetail) => any) | undefined;
|
|
63
67
|
}>, {
|
|
68
|
+
filter: boolean;
|
|
64
69
|
label: string;
|
|
65
70
|
description: string;
|
|
66
71
|
disabled: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as p, ref as m, inject as c, onMounted as u, onUpdated as i, watch as h, openBlock as y, createBlock as _, resolveDynamicComponent as
|
|
2
|
-
import { usePrefix as w, themeInjectionKey as R, addEventListenerToElementRef as k, syncProperties as
|
|
1
|
+
import { defineComponent as p, ref as m, inject as c, onMounted as u, onUpdated as i, watch as h, openBlock as y, createBlock as _, resolveDynamicComponent as B, unref as C, withCtx as b, renderSlot as v } from "vue";
|
|
2
|
+
import { usePrefix as w, themeInjectionKey as R, addEventListenerToElementRef as k, syncProperties as l } from "../../utils.mjs";
|
|
3
3
|
const j = /* @__PURE__ */ p({
|
|
4
4
|
__name: "SelectWrapper",
|
|
5
5
|
props: {
|
|
@@ -7,6 +7,7 @@ const j = /* @__PURE__ */ p({
|
|
|
7
7
|
description: { default: "" },
|
|
8
8
|
disabled: { type: Boolean, default: !1 },
|
|
9
9
|
dropdownDirection: { default: "auto" },
|
|
10
|
+
filter: { type: Boolean, default: !1 },
|
|
10
11
|
form: {},
|
|
11
12
|
hideLabel: { default: !1 },
|
|
12
13
|
label: { default: "" },
|
|
@@ -18,13 +19,13 @@ const j = /* @__PURE__ */ p({
|
|
|
18
19
|
value: {}
|
|
19
20
|
},
|
|
20
21
|
emits: ["update"],
|
|
21
|
-
setup(
|
|
22
|
-
const
|
|
22
|
+
setup(s, { emit: f }) {
|
|
23
|
+
const r = w("p-select"), t = s, e = m(), d = f, n = c(R), a = () => l(e, { ...t, theme: t.theme || n.value });
|
|
23
24
|
return u(() => {
|
|
24
|
-
a(), k(e, "update",
|
|
25
|
+
a(), k(e, "update", d);
|
|
25
26
|
}), i(a), h(n, (o) => {
|
|
26
|
-
|
|
27
|
-
}), (o, x) => (y(), _(C(
|
|
27
|
+
l(e, { theme: t.theme || o });
|
|
28
|
+
}), (o, x) => (y(), _(B(C(r)), {
|
|
28
29
|
ref_key: "pdsComponentRef",
|
|
29
30
|
ref: e
|
|
30
31
|
}, {
|
|
@@ -4,6 +4,10 @@ type PTextareaProps = {
|
|
|
4
4
|
* Specifies whether the input can be autofilled by the browser
|
|
5
5
|
*/
|
|
6
6
|
autoComplete?: TextareaAutoComplete;
|
|
7
|
+
/**
|
|
8
|
+
* Show or hide the character counter.
|
|
9
|
+
*/
|
|
10
|
+
counter?: boolean;
|
|
7
11
|
/**
|
|
8
12
|
* The description text.
|
|
9
13
|
*/
|
|
@@ -17,7 +21,7 @@ type PTextareaProps = {
|
|
|
17
21
|
*/
|
|
18
22
|
form?: string;
|
|
19
23
|
/**
|
|
20
|
-
* Show or hide label. For better accessibility it is recommended to show the label.
|
|
24
|
+
* Show or hide label. For better accessibility, it is recommended to show the label.
|
|
21
25
|
*/
|
|
22
26
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
23
27
|
/**
|
|
@@ -57,13 +61,9 @@ type PTextareaProps = {
|
|
|
57
61
|
*/
|
|
58
62
|
resize?: TextareaResize;
|
|
59
63
|
/**
|
|
60
|
-
* The
|
|
64
|
+
* The number of rows of the textarea.
|
|
61
65
|
*/
|
|
62
66
|
rows?: number;
|
|
63
|
-
/**
|
|
64
|
-
* Show or hide max character count.
|
|
65
|
-
*/
|
|
66
|
-
showCounter?: boolean;
|
|
67
67
|
/**
|
|
68
68
|
* Specifies whether the input should have its spelling and grammar checked
|
|
69
69
|
*/
|
|
@@ -107,10 +107,9 @@ declare const __VLS_component: import("vue").DefineComponent<PTextareaProps, {},
|
|
|
107
107
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
108
108
|
value: string;
|
|
109
109
|
message: string;
|
|
110
|
-
autoComplete: TextareaAutoComplete;
|
|
111
110
|
placeholder: string;
|
|
112
111
|
readOnly: boolean;
|
|
113
|
-
|
|
112
|
+
counter: boolean;
|
|
114
113
|
rows: number;
|
|
115
114
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
116
115
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { defineComponent as u, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, openBlock as C, createBlock as B, resolveDynamicComponent as _, unref as b, withCtx as g, renderSlot as
|
|
2
|
-
import { usePrefix as
|
|
1
|
+
import { defineComponent as u, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, openBlock as C, createBlock as B, resolveDynamicComponent as _, unref as b, withCtx as g, renderSlot as x } from "vue";
|
|
2
|
+
import { usePrefix as v, themeInjectionKey as w, addEventListenerToElementRef as n, syncProperties as s } from "../../utils.mjs";
|
|
3
3
|
const P = /* @__PURE__ */ u({
|
|
4
4
|
__name: "TextareaWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
autoComplete: {
|
|
6
|
+
autoComplete: {},
|
|
7
|
+
counter: { type: Boolean, default: !1 },
|
|
7
8
|
description: { default: "" },
|
|
8
9
|
disabled: { type: Boolean, default: !1 },
|
|
9
10
|
form: {},
|
|
@@ -18,7 +19,6 @@ const P = /* @__PURE__ */ u({
|
|
|
18
19
|
required: { type: Boolean, default: !1 },
|
|
19
20
|
resize: { default: "vertical" },
|
|
20
21
|
rows: { default: 7 },
|
|
21
|
-
showCounter: { type: Boolean, default: !0 },
|
|
22
22
|
spellCheck: { type: Boolean },
|
|
23
23
|
state: { default: "none" },
|
|
24
24
|
theme: {},
|
|
@@ -26,18 +26,18 @@ const P = /* @__PURE__ */ u({
|
|
|
26
26
|
wrap: { default: "soft" }
|
|
27
27
|
},
|
|
28
28
|
emits: ["blur", "change", "input"],
|
|
29
|
-
setup(f, { emit:
|
|
30
|
-
const
|
|
29
|
+
setup(f, { emit: p }) {
|
|
30
|
+
const d = v("p-textarea"), t = f, e = m(), a = p, l = c(w), r = () => s(e, { ...t, theme: t.theme || l.value });
|
|
31
31
|
return i(() => {
|
|
32
32
|
r(), n(e, "blur", a), n(e, "change", a), n(e, "input", a);
|
|
33
33
|
}), h(r), y(l, (o) => {
|
|
34
34
|
s(e, { theme: t.theme || o });
|
|
35
|
-
}), (o, k) => (C(), B(_(b(
|
|
35
|
+
}), (o, k) => (C(), B(_(b(d)), {
|
|
36
36
|
ref_key: "pdsComponentRef",
|
|
37
37
|
ref: e
|
|
38
38
|
}, {
|
|
39
39
|
default: g(() => [
|
|
40
|
-
|
|
40
|
+
x(o.$slots, "default")
|
|
41
41
|
]),
|
|
42
42
|
_: 3
|
|
43
43
|
}, 512));
|
|
@@ -28,6 +28,8 @@ export { default as PIcon } from './IconWrapper.vue';
|
|
|
28
28
|
export { default as PInlineNotification } from './InlineNotificationWrapper.vue';
|
|
29
29
|
export { default as PInputNumber } from './InputNumberWrapper.vue';
|
|
30
30
|
export { default as PInputPassword } from './InputPasswordWrapper.vue';
|
|
31
|
+
export { default as PInputSearch } from './InputSearchWrapper.vue';
|
|
32
|
+
export { default as PInputText } from './InputTextWrapper.vue';
|
|
31
33
|
export { default as PLink } from './LinkWrapper.vue';
|
|
32
34
|
export { default as PLinkPure } from './LinkPureWrapper.vue';
|
|
33
35
|
export { default as PLinkSocial } from './LinkSocialWrapper.vue';
|
package/esm/lib/types.d.ts
CHANGED
|
@@ -221,6 +221,8 @@ declare const ICON_NAMES: readonly [
|
|
|
221
221
|
"add",
|
|
222
222
|
"adjust",
|
|
223
223
|
"aggregation",
|
|
224
|
+
"ai-spark",
|
|
225
|
+
"ai-spark-filled",
|
|
224
226
|
"arrow-compact-down",
|
|
225
227
|
"arrow-compact-left",
|
|
226
228
|
"arrow-compact-right",
|
|
@@ -1091,8 +1093,7 @@ export type IconColor = (typeof ICON_COLORS)[number];
|
|
|
1091
1093
|
export type InputNumberState = FormState;
|
|
1092
1094
|
declare const INPUT_NUMBER_AUTO_COMPLETE: readonly [
|
|
1093
1095
|
"off",
|
|
1094
|
-
"on"
|
|
1095
|
-
""
|
|
1096
|
+
"on"
|
|
1096
1097
|
];
|
|
1097
1098
|
export type InputNumberAutoComplete = (typeof INPUT_NUMBER_AUTO_COMPLETE)[number];
|
|
1098
1099
|
export type InputNumberChangeEventDetail = Event;
|
|
@@ -1102,7 +1103,6 @@ export type InputPasswordState = FormState;
|
|
|
1102
1103
|
declare const INPUT_PASSWORD_AUTO_COMPLETE: readonly [
|
|
1103
1104
|
"off",
|
|
1104
1105
|
"on",
|
|
1105
|
-
"",
|
|
1106
1106
|
"current-password",
|
|
1107
1107
|
"new-password"
|
|
1108
1108
|
];
|
|
@@ -1110,6 +1110,24 @@ export type InputPasswordAutoComplete = (typeof INPUT_PASSWORD_AUTO_COMPLETE)[nu
|
|
|
1110
1110
|
export type InputPasswordChangeEventDetail = Event;
|
|
1111
1111
|
export type InputPasswordBlurEventDetail = Event;
|
|
1112
1112
|
export type InputPasswordInputEventDetail = InputEvent;
|
|
1113
|
+
export type InputSearchState = FormState;
|
|
1114
|
+
declare const INPUT_SEARCH_AUTO_COMPLETE: readonly [
|
|
1115
|
+
"off",
|
|
1116
|
+
"on"
|
|
1117
|
+
];
|
|
1118
|
+
export type InputSearchAutoComplete = (typeof INPUT_SEARCH_AUTO_COMPLETE)[number];
|
|
1119
|
+
export type InputSearchChangeEventDetail = Event;
|
|
1120
|
+
export type InputSearchBlurEventDetail = Event;
|
|
1121
|
+
export type InputSearchInputEventDetail = InputEvent;
|
|
1122
|
+
export type InputTextState = FormState;
|
|
1123
|
+
declare const INPUT_TEXT_AUTO_COMPLETE: readonly [
|
|
1124
|
+
"off",
|
|
1125
|
+
"on"
|
|
1126
|
+
];
|
|
1127
|
+
export type InputTextAutoComplete = (typeof INPUT_TEXT_AUTO_COMPLETE)[number];
|
|
1128
|
+
export type InputTextChangeEventDetail = Event;
|
|
1129
|
+
export type InputTextBlurEventDetail = Event;
|
|
1130
|
+
export type InputTextInputEventDetail = InputEvent;
|
|
1113
1131
|
export type LinkIcon = LinkButtonIconName;
|
|
1114
1132
|
export type LinkPureIcon = LinkButtonIconName;
|
|
1115
1133
|
export type LinkPureAriaAttribute = LinkAriaAttribute;
|
|
@@ -1500,8 +1518,7 @@ export type TextListType = (typeof TEXT_LIST_TYPES)[number];
|
|
|
1500
1518
|
export type TextareaState = FormState;
|
|
1501
1519
|
declare const AUTO_COMPLETE: readonly [
|
|
1502
1520
|
"off",
|
|
1503
|
-
"on"
|
|
1504
|
-
""
|
|
1521
|
+
"on"
|
|
1505
1522
|
];
|
|
1506
1523
|
export type TextareaAutoComplete = (typeof AUTO_COMPLETE)[number];
|
|
1507
1524
|
declare const TEXTAREA_WRAPS: readonly [
|
package/esm/public-api.mjs
CHANGED
|
@@ -9,8 +9,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 g } from "./lib/components/CheckboxWrapper.vue.mjs";
|
|
11
11
|
import { default as C } from "./lib/components/CheckboxWrapperWrapper.vue.mjs";
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
12
|
+
import { default as h } from "./lib/components/ContentWrapperWrapper.vue.mjs";
|
|
13
|
+
import { default as L } from "./lib/components/CrestWrapper.vue.mjs";
|
|
14
14
|
import { default as B } from "./lib/components/DisplayWrapper.vue.mjs";
|
|
15
15
|
import { default as w } from "./lib/components/DividerWrapper.vue.mjs";
|
|
16
16
|
import { default as M } from "./lib/components/DrilldownWrapper.vue.mjs";
|
|
@@ -29,56 +29,58 @@ import { default as re } from "./lib/components/IconWrapper.vue.mjs";
|
|
|
29
29
|
import { default as ae } from "./lib/components/InlineNotificationWrapper.vue.mjs";
|
|
30
30
|
import { default as le } from "./lib/components/InputNumberWrapper.vue.mjs";
|
|
31
31
|
import { default as se } from "./lib/components/InputPasswordWrapper.vue.mjs";
|
|
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 ge } from "./lib/components/
|
|
38
|
-
import { default as Ce } from "./lib/components/
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as Be } from "./lib/components/
|
|
42
|
-
import { default as we } from "./lib/components/
|
|
43
|
-
import { default as Me } from "./lib/components/
|
|
44
|
-
import { default as ve } from "./lib/components/
|
|
45
|
-
import { default as Ge } from "./lib/components/
|
|
46
|
-
import { default as ze } from "./lib/components/
|
|
47
|
-
import { default as je } from "./lib/components/
|
|
48
|
-
import { default as Ae } 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 rt } 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 gt } from "./lib/components/
|
|
65
|
-
import { default as Ct } from "./lib/components/
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as Bt } from "./lib/components/
|
|
69
|
-
import { default as wt } from "./lib/components/
|
|
70
|
-
import { default as Mt } from "./lib/components/
|
|
71
|
-
import { default as vt } from "./lib/components/
|
|
72
|
-
import { default as Gt } from "./lib/components/
|
|
73
|
-
import { default as zt } from "./lib/components/
|
|
74
|
-
import { default as jt } from "./lib/components/
|
|
75
|
-
import { default as At } from "./lib/components/
|
|
76
|
-
import { default as Et } from "./lib/components/
|
|
77
|
-
import { default as Qt } from "./lib/components/
|
|
78
|
-
import { default as Vt } from "./lib/components/
|
|
79
|
-
import {
|
|
80
|
-
import { default as
|
|
81
|
-
import {
|
|
32
|
+
import { default as ue } from "./lib/components/InputSearchWrapper.vue.mjs";
|
|
33
|
+
import { default as xe } from "./lib/components/InputTextWrapper.vue.mjs";
|
|
34
|
+
import { default as ie } from "./lib/components/LinkWrapper.vue.mjs";
|
|
35
|
+
import { default as Te } from "./lib/components/LinkPureWrapper.vue.mjs";
|
|
36
|
+
import { default as Se } from "./lib/components/LinkSocialWrapper.vue.mjs";
|
|
37
|
+
import { default as ge } from "./lib/components/LinkTileWrapper.vue.mjs";
|
|
38
|
+
import { default as Ce } from "./lib/components/LinkTileModelSignatureWrapper.vue.mjs";
|
|
39
|
+
import { default as he } from "./lib/components/LinkTileProductWrapper.vue.mjs";
|
|
40
|
+
import { default as Le } from "./lib/components/MarqueWrapper.vue.mjs";
|
|
41
|
+
import { default as Be } from "./lib/components/ModalWrapper.vue.mjs";
|
|
42
|
+
import { default as we } from "./lib/components/ModelSignatureWrapper.vue.mjs";
|
|
43
|
+
import { default as Me } from "./lib/components/MultiSelectWrapper.vue.mjs";
|
|
44
|
+
import { default as ve } from "./lib/components/MultiSelectOptionWrapper.vue.mjs";
|
|
45
|
+
import { default as Ge } from "./lib/components/OptgroupWrapper.vue.mjs";
|
|
46
|
+
import { default as ze } from "./lib/components/PaginationWrapper.vue.mjs";
|
|
47
|
+
import { default as je } from "./lib/components/PinCodeWrapper.vue.mjs";
|
|
48
|
+
import { default as Ae } from "./lib/components/PopoverWrapper.vue.mjs";
|
|
49
|
+
import { default as Ee } from "./lib/components/RadioButtonWrapperWrapper.vue.mjs";
|
|
50
|
+
import { default as Qe } from "./lib/components/ScrollerWrapper.vue.mjs";
|
|
51
|
+
import { default as Ve } from "./lib/components/SegmentedControlWrapper.vue.mjs";
|
|
52
|
+
import { default as Ye } from "./lib/components/SegmentedControlItemWrapper.vue.mjs";
|
|
53
|
+
import { default as _e } from "./lib/components/SelectWrapper.vue.mjs";
|
|
54
|
+
import { default as et } from "./lib/components/SelectOptionWrapper.vue.mjs";
|
|
55
|
+
import { default as rt } from "./lib/components/SelectWrapperWrapper.vue.mjs";
|
|
56
|
+
import { default as at } from "./lib/components/SheetWrapper.vue.mjs";
|
|
57
|
+
import { default as lt } from "./lib/components/SpinnerWrapper.vue.mjs";
|
|
58
|
+
import { default as st } from "./lib/components/StepperHorizontalWrapper.vue.mjs";
|
|
59
|
+
import { default as ut } from "./lib/components/StepperHorizontalItemWrapper.vue.mjs";
|
|
60
|
+
import { default as xt } from "./lib/components/SwitchWrapper.vue.mjs";
|
|
61
|
+
import { default as it } from "./lib/components/TableWrapper.vue.mjs";
|
|
62
|
+
import { default as Tt } from "./lib/components/TableBodyWrapper.vue.mjs";
|
|
63
|
+
import { default as St } from "./lib/components/TableCellWrapper.vue.mjs";
|
|
64
|
+
import { default as gt } from "./lib/components/TableHeadWrapper.vue.mjs";
|
|
65
|
+
import { default as Ct } from "./lib/components/TableHeadCellWrapper.vue.mjs";
|
|
66
|
+
import { default as ht } from "./lib/components/TableHeadRowWrapper.vue.mjs";
|
|
67
|
+
import { default as Lt } from "./lib/components/TableRowWrapper.vue.mjs";
|
|
68
|
+
import { default as Bt } from "./lib/components/TabsWrapper.vue.mjs";
|
|
69
|
+
import { default as wt } from "./lib/components/TabsBarWrapper.vue.mjs";
|
|
70
|
+
import { default as Mt } from "./lib/components/TabsItemWrapper.vue.mjs";
|
|
71
|
+
import { default as vt } from "./lib/components/TagWrapper.vue.mjs";
|
|
72
|
+
import { default as Gt } from "./lib/components/TagDismissibleWrapper.vue.mjs";
|
|
73
|
+
import { default as zt } from "./lib/components/TextWrapper.vue.mjs";
|
|
74
|
+
import { default as jt } from "./lib/components/TextFieldWrapperWrapper.vue.mjs";
|
|
75
|
+
import { default as At } from "./lib/components/TextListWrapper.vue.mjs";
|
|
76
|
+
import { default as Et } from "./lib/components/TextListItemWrapper.vue.mjs";
|
|
77
|
+
import { default as Qt } from "./lib/components/TextareaWrapper.vue.mjs";
|
|
78
|
+
import { default as Vt } from "./lib/components/TextareaWrapperWrapper.vue.mjs";
|
|
79
|
+
import { default as Yt } from "./lib/components/ToastWrapper.vue.mjs";
|
|
80
|
+
import { default as _t } from "./lib/components/WordmarkWrapper.vue.mjs";
|
|
81
|
+
import { themeInjectionKey as er, useToastManager as tr } from "./utils.mjs";
|
|
82
|
+
import { default as or } from "./PorscheDesignSystemProvider.vue.mjs";
|
|
83
|
+
import { createPorscheDesignSystem as fr, usePorscheDesignSystemPlugin as lr } from "./plugin.mjs";
|
|
82
84
|
export {
|
|
83
85
|
a as PAccordion,
|
|
84
86
|
l as PBanner,
|
|
@@ -90,8 +92,8 @@ export {
|
|
|
90
92
|
S as PCarousel,
|
|
91
93
|
g as PCheckbox,
|
|
92
94
|
C as PCheckboxWrapper,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
+
h as PContentWrapper,
|
|
96
|
+
L as PCrest,
|
|
95
97
|
B as PDisplay,
|
|
96
98
|
w as PDivider,
|
|
97
99
|
M as PDrilldown,
|
|
@@ -110,57 +112,59 @@ export {
|
|
|
110
112
|
ae as PInlineNotification,
|
|
111
113
|
le as PInputNumber,
|
|
112
114
|
se as PInputPassword,
|
|
113
|
-
ue as
|
|
114
|
-
xe as
|
|
115
|
-
ie as
|
|
116
|
-
Te as
|
|
117
|
-
Se as
|
|
118
|
-
ge as
|
|
119
|
-
Ce as
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
Be as
|
|
123
|
-
we as
|
|
124
|
-
Me as
|
|
125
|
-
ve as
|
|
126
|
-
Ge as
|
|
127
|
-
ze as
|
|
128
|
-
je as
|
|
129
|
-
Ae as
|
|
130
|
-
Ee as
|
|
131
|
-
Qe as
|
|
132
|
-
Ve as
|
|
133
|
-
Ye as
|
|
134
|
-
_e as
|
|
135
|
-
et as
|
|
136
|
-
rt as
|
|
137
|
-
at as
|
|
138
|
-
lt as
|
|
139
|
-
st as
|
|
140
|
-
ut as
|
|
141
|
-
xt as
|
|
142
|
-
it as
|
|
143
|
-
Tt as
|
|
144
|
-
St as
|
|
145
|
-
gt as
|
|
146
|
-
Ct as
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
Bt as
|
|
150
|
-
wt as
|
|
151
|
-
Mt as
|
|
152
|
-
vt as
|
|
153
|
-
Gt as
|
|
154
|
-
zt as
|
|
155
|
-
jt as
|
|
156
|
-
At as
|
|
157
|
-
Et as
|
|
158
|
-
Qt as
|
|
159
|
-
Vt as
|
|
160
|
-
|
|
115
|
+
ue as PInputSearch,
|
|
116
|
+
xe as PInputText,
|
|
117
|
+
ie as PLink,
|
|
118
|
+
Te as PLinkPure,
|
|
119
|
+
Se as PLinkSocial,
|
|
120
|
+
ge as PLinkTile,
|
|
121
|
+
Ce as PLinkTileModelSignature,
|
|
122
|
+
he as PLinkTileProduct,
|
|
123
|
+
Le as PMarque,
|
|
124
|
+
Be as PModal,
|
|
125
|
+
we as PModelSignature,
|
|
126
|
+
Me as PMultiSelect,
|
|
127
|
+
ve as PMultiSelectOption,
|
|
128
|
+
Ge as POptgroup,
|
|
129
|
+
ze as PPagination,
|
|
130
|
+
je as PPinCode,
|
|
131
|
+
Ae as PPopover,
|
|
132
|
+
Ee as PRadioButtonWrapper,
|
|
133
|
+
Qe as PScroller,
|
|
134
|
+
Ve as PSegmentedControl,
|
|
135
|
+
Ye as PSegmentedControlItem,
|
|
136
|
+
_e as PSelect,
|
|
137
|
+
et as PSelectOption,
|
|
138
|
+
rt as PSelectWrapper,
|
|
139
|
+
at as PSheet,
|
|
140
|
+
lt as PSpinner,
|
|
141
|
+
st as PStepperHorizontal,
|
|
142
|
+
ut as PStepperHorizontalItem,
|
|
143
|
+
xt as PSwitch,
|
|
144
|
+
it as PTable,
|
|
145
|
+
Tt as PTableBody,
|
|
146
|
+
St as PTableCell,
|
|
147
|
+
gt as PTableHead,
|
|
148
|
+
Ct as PTableHeadCell,
|
|
149
|
+
ht as PTableHeadRow,
|
|
150
|
+
Lt as PTableRow,
|
|
151
|
+
Bt as PTabs,
|
|
152
|
+
wt as PTabsBar,
|
|
153
|
+
Mt as PTabsItem,
|
|
154
|
+
vt as PTag,
|
|
155
|
+
Gt as PTagDismissible,
|
|
156
|
+
zt as PText,
|
|
157
|
+
jt as PTextFieldWrapper,
|
|
158
|
+
At as PTextList,
|
|
159
|
+
Et as PTextListItem,
|
|
160
|
+
Qt as PTextarea,
|
|
161
|
+
Vt as PTextareaWrapper,
|
|
162
|
+
Yt as PToast,
|
|
163
|
+
_t as PWordmark,
|
|
164
|
+
or as PorscheDesignSystemProvider,
|
|
161
165
|
r as componentsReady,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
+
fr as createPorscheDesignSystem,
|
|
167
|
+
er as themeInjectionKey,
|
|
168
|
+
lr as usePorscheDesignSystemPlugin,
|
|
169
|
+
tr as useToastManager
|
|
166
170
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.29.0-rc.1",
|
|
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.29.0-rc.1"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"ag-grid-enterprise": ">= 33.0.0 <34.0.0",
|