diff --git a/components/doc/codeeditor/templates.js b/components/doc/codeeditor/templates.js index 22b86ce97..3eeb4cfa7 100644 --- a/components/doc/codeeditor/templates.js +++ b/components/doc/codeeditor/templates.js @@ -131,11 +131,13 @@ import ConfirmationService from 'primevue/confirmationservice'; import ContextMenu from 'primevue/contextmenu'; import DataTable from 'primevue/datatable'; import DataView from 'primevue/dataview'; +import DatePicker from 'primevue/datepicker; import DeferredContent from 'primevue/deferredcontent'; import Dialog from 'primevue/dialog'; import DialogService from 'primevue/dialogservice' import Divider from 'primevue/divider'; import Dock from 'primevue/dock'; +import Drawer from 'primevue/drawer'; import Dropdown from 'primevue/dropdown'; import DynamicDialog from 'primevue/dynamicdialog'; import Fieldset from 'primevue/fieldset'; @@ -148,6 +150,7 @@ import InputIcon from 'primevue/inputicon'; import Image from 'primevue/image'; import InlineMessage from 'primevue/inlinemessage'; import Inplace from 'primevue/inplace'; +import InputChips from 'primevue/inputchips'; import InputGroup from 'primevue/inputgroup'; import InputGroupAddon from 'primevue/inputgroupaddon'; import InputMask from 'primevue/inputmask'; @@ -171,15 +174,17 @@ import Panel from 'primevue/panel'; import PanelMenu from 'primevue/panelmenu'; import Password from 'primevue/password'; import PickList from 'primevue/picklist'; +import Popover from 'primevue/popover'; import ProgressBar from 'primevue/progressbar'; import ProgressSpinner from 'primevue/progressspinner'; import Rating from 'primevue/rating'; import RadioButton from 'primevue/radiobutton'; import Ripple from 'primevue/ripple'; import Row from 'primevue/row'; -import SelectButton from 'primevue/selectbutton'; import ScrollPanel from 'primevue/scrollpanel'; import ScrollTop from 'primevue/scrolltop'; +import Select from 'primevue/select'; +import SelectButton from 'primevue/selectbutton'; import Skeleton from 'primevue/skeleton'; import Slider from 'primevue/slider'; import Sidebar from 'primevue/sidebar'; @@ -203,6 +208,7 @@ import Tag from 'primevue/tag'; import Terminal from 'primevue/terminal'; import Timeline from 'primevue/timeline'; import ToggleButton from 'primevue/togglebutton'; +import ToggleSwitch from 'primevue/toggleswitch'; import Tooltip from 'primevue/tooltip'; import Tree from 'primevue/tree'; import TreeSelect from 'primevue/treeselect'; @@ -250,10 +256,12 @@ app.component('ConfirmPopup', ConfirmPopup); app.component('ContextMenu', ContextMenu); app.component('DataTable', DataTable); app.component('DataView', DataView); +app.component('DatePicker', DatePicker); app.component('DeferredContent', DeferredContent); app.component('Dialog', Dialog); app.component('Divider', Divider); app.component('Dock', Dock); +app.component('Drawer', Drawer); app.component('Dropdown', Dropdown); app.component('DynamicDialog', DynamicDialog); app.component('Fieldset', Fieldset); @@ -264,6 +272,7 @@ app.component('IconField', IconField); app.component('Image', Image); app.component('InlineMessage', InlineMessage); app.component('Inplace', Inplace); +app.component('InputChips', InputChips); app.component('InputGroup', InputGroup); app.component('InputGroupAddon', InputGroupAddon); app.component('InputIcon', InputIcon); @@ -288,14 +297,16 @@ app.component('Panel', Panel); app.component('PanelMenu', PanelMenu); app.component('Password', Password); app.component('PickList', PickList); +app.component('Popover', Popover); app.component('ProgressBar', ProgressBar); app.component('ProgressSpinner', ProgressSpinner); app.component('RadioButton', RadioButton); app.component('Rating', Rating); app.component('Row', Row); -app.component('SelectButton', SelectButton); app.component('ScrollPanel', ScrollPanel); app.component('ScrollTop', ScrollTop); +app.component('Select', Select); +app.component('SelectButton', SelectButton); app.component('Slider', Slider); app.component('Sidebar', Sidebar); app.component('Skeleton', Skeleton); @@ -317,6 +328,7 @@ app.component('Timeline', Timeline); app.component('Toast', Toast); app.component('Toolbar', Toolbar); app.component('ToggleButton', ToggleButton); +app.component('ToggleSwitch', ToggleSwitch); app.component('Tree', Tree); app.component('TreeSelect', TreeSelect); app.component('TreeTable', TreeTable); diff --git a/components/lib/config/PrimeVue.d.ts b/components/lib/config/PrimeVue.d.ts index 7fc4b0971..28fe0355e 100644 --- a/components/lib/config/PrimeVue.d.ts +++ b/components/lib/config/PrimeVue.d.ts @@ -26,10 +26,12 @@ import { ConfirmPopupPassThroughOptions } from '../confirmpopup'; import { ContextMenuPassThroughOptions } from '../contextmenu'; import { DataTablePassThroughOptions } from '../datatable'; import { DataViewPassThroughOptions } from '../dataview'; +import { DatePickerPassThroughOptions } from '../datepicker'; import { DeferredContentPassThroughOptions } from '../deferredcontent'; import { DialogPassThroughOptions } from '../dialog'; import { DividerPassThroughOptions } from '../divider'; import { DockPassThroughOptions } from '../dock'; +import { DrawerPassThroughOptions } from '../drawer'; import { DropdownPassThroughOptions } from '../dropdown'; import { EditorPassThroughOptions } from '../editor'; import { FieldsetPassThroughOptions } from '../fieldset'; @@ -39,6 +41,7 @@ import { GalleriaPassThroughOptions } from '../galleria'; import { ImagePassThroughOptions } from '../image'; import { InlineMessagePassThroughOptions } from '../inlinemessage'; import { InplacePassThroughOptions } from '../inplace'; +import { InputChipsPassThroughOptions } from '../inputchips'; import { InputMaskPassThroughOptions } from '../inputmask'; import { InputNumberPassThroughOptions } from '../inputnumber'; import { InputSwitchPassThroughOptions } from '../inputswitch'; @@ -59,6 +62,7 @@ import { PanelMenuPassThroughOptions } from '../panelmenu'; import { PassThroughOptions } from '../passthrough'; import { PasswordPassThroughOptions } from '../password'; import { PickListPassThroughOptions } from '../picklist'; +import { PopoverPassThroughOptions } from '../popover'; import { ProgressBarPassThroughOptions } from '../progressbar'; import { ProgressSpinnerPassThroughOptions } from '../progressspinner'; import { RadioButtonPassThroughOptions } from '../radiobutton'; @@ -67,6 +71,7 @@ import { RippleDirectivePassThroughOptions } from '../ripple'; import { RowPassThroughOptions } from '../row'; import { ScrollPanelPassThroughOptions } from '../scrollpanel'; import { ScrollTopPassThroughOptions } from '../scrolltop'; +import { SelectPassThroughOptions } from '../select'; import { SelectButtonPassThroughOptions } from '../selectbutton'; import { SidebarPassThroughOptions } from '../sidebar'; import { SkeletonPassThroughOptions } from '../skeleton'; @@ -87,6 +92,7 @@ import { TieredMenuPassThroughOptions } from '../tieredmenu'; import { TimelinePassThroughOptions } from '../timeline'; import { ToastPassThroughOptions } from '../toast'; import { ToggleButtonPassThroughOptions } from '../togglebutton'; +import { ToggleSwitchPassThroughOptions } from '../toggleswitch'; import { ToolbarPassThroughOptions } from '../toolbar'; import { TooltipDirectivePassThroughOptions } from '../tooltip'; import { TreePassThroughOptions } from '../tree'; @@ -147,10 +153,12 @@ export interface PrimeVuePTOptions { contextmenu?: DefaultPassThrough; datatable?: DefaultPassThrough; dataview?: DefaultPassThrough; + datepicker?: DefaultPassThrough; deferredcontent?: DefaultPassThrough; divider?: DefaultPassThrough; dialog?: DefaultPassThrough; dock?: DefaultPassThrough; + drawer?: DefaultPassThrough; dropdown?: DefaultPassThrough; dynamicdialog?: DefaultPassThrough; editor?: DefaultPassThrough; @@ -160,6 +168,7 @@ export interface PrimeVuePTOptions { image?: DefaultPassThrough; inlinemessage?: DefaultPassThrough; inplace?: DefaultPassThrough; + inputchips?: DefaultPassThrough; inputmask?: DefaultPassThrough; inputnumber?: DefaultPassThrough; inputswitch?: DefaultPassThrough; @@ -179,6 +188,7 @@ export interface PrimeVuePTOptions { panelmenu?: DefaultPassThrough; password?: DefaultPassThrough; picklist?: DefaultPassThrough; + popover?: DefaultPassThrough; progressbar?: DefaultPassThrough; progressspinner?: DefaultPassThrough; radiobutton?: DefaultPassThrough; @@ -191,6 +201,7 @@ export interface PrimeVuePTOptions { slider?: DefaultPassThrough; speeddial?: DefaultPassThrough; selectbutton?: DefaultPassThrough; + select?: DefaultPassThrough; splitbutton?: DefaultPassThrough; splitter?: DefaultPassThrough; splitterpanel?: DefaultPassThrough; @@ -205,6 +216,7 @@ export interface PrimeVuePTOptions { timeline?: DefaultPassThrough; toast?: DefaultPassThrough; togglebutton?: DefaultPassThrough; + toggleswitch?: DefaultPassThrough; toolbar?: DefaultPassThrough; tree?: DefaultPassThrough; treeselect?: DefaultPassThrough; diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index ffc4e1955..1fd2d82d1 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -15427,6 +15427,13 @@ "type": "DefaultPassThrough", "default": "" }, + { + "name": "datepicker", + "optional": true, + "readonly": false, + "type": "DefaultPassThrough", + "default": "" + }, { "name": "deferredcontent", "optional": true, @@ -15455,6 +15462,13 @@ "type": "DefaultPassThrough", "default": "" }, + { + "name": "drawer", + "optional": true, + "readonly": false, + "type": "DefaultPassThrough", + "default": "" + }, { "name": "dropdown", "optional": true, @@ -15518,6 +15532,13 @@ "type": "DefaultPassThrough", "default": "" }, + { + "name": "inputchips", + "optional": true, + "readonly": false, + "type": "DefaultPassThrough", + "default": "" + }, { "name": "inputmask", "optional": true, @@ -15613,7 +15634,7 @@ "name": "overlaypanel", "optional": true, "readonly": false, - "type": "DefaultPassThrough", + "type": "DefaultPassThrough", "default": "" }, { @@ -15651,6 +15672,13 @@ "type": "DefaultPassThrough", "default": "" }, + { + "name": "popover", + "optional": true, + "readonly": false, + "type": "DefaultPassThrough", + "default": "" + }, { "name": "progressbar", "optional": true, @@ -15735,6 +15763,13 @@ "type": "DefaultPassThrough", "default": "" }, + { + "name": "select", + "optional": true, + "readonly": false, + "type": "DefaultPassThrough>", + "default": "" + }, { "name": "splitbutton", "optional": true, @@ -15833,6 +15868,13 @@ "type": "DefaultPassThrough>", "default": "" }, + { + "name": "toggleswitch", + "optional": true, + "readonly": false, + "type": "DefaultPassThrough", + "default": "" + }, { "name": "toolbar", "optional": true,