primevue 4.2.5 → 4.3.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/LICENSE.md +1 -1
- package/accordion/Accordion.vue +0 -8
- package/accordion/index.mjs +1 -9
- package/accordion/index.mjs.map +1 -1
- package/accordion/style/index.mjs +2 -5
- package/accordion/style/index.mjs.map +1 -1
- package/accordioncontent/index.mjs +1 -1
- package/accordionheader/AccordionHeader.vue +2 -2
- package/accordionheader/index.mjs +4 -4
- package/accordionheader/index.mjs.map +1 -1
- package/accordionpanel/index.mjs +1 -1
- package/animateonscroll/index.d.ts +1 -1
- package/animateonscroll/index.mjs +4 -4
- package/animateonscroll/index.mjs.map +1 -1
- package/animateonscroll/style/index.d.ts +1 -1
- package/autocomplete/AutoComplete.vue +90 -23
- package/autocomplete/index.d.ts +19 -2
- package/autocomplete/index.mjs +127 -55
- package/autocomplete/index.mjs.map +1 -1
- package/autocomplete/style/index.mjs +15 -19
- package/autocomplete/style/index.mjs.map +1 -1
- package/avatar/index.mjs +1 -1
- package/avatar/style/index.mjs +4 -7
- package/avatar/style/index.mjs.map +1 -1
- package/avatargroup/index.mjs +1 -1
- package/badge/index.mjs +1 -1
- package/badge/style/index.mjs +6 -9
- package/badge/style/index.mjs.map +1 -1
- package/badgedirective/index.mjs +6 -6
- package/badgedirective/index.mjs.map +1 -1
- package/blockui/BlockUI.vue +2 -1
- package/blockui/index.mjs +3 -2
- package/blockui/index.mjs.map +1 -1
- package/blockui/style/index.mjs +2 -5
- package/blockui/style/index.mjs.map +1 -1
- package/breadcrumb/index.mjs +1 -1
- package/breadcrumb/style/index.mjs +4 -7
- package/breadcrumb/style/index.mjs.map +1 -1
- package/button/Button.vue +1 -1
- package/button/index.d.ts +11 -1
- package/button/index.mjs +5 -4
- package/button/index.mjs.map +1 -1
- package/button/style/index.mjs +9 -12
- package/button/style/index.mjs.map +1 -1
- package/buttongroup/index.mjs +1 -1
- package/buttongroup/style/index.mjs +2 -5
- package/buttongroup/style/index.mjs.map +1 -1
- package/card/index.mjs +1 -1
- package/card/style/index.mjs +2 -5
- package/card/style/index.mjs.map +1 -1
- package/carousel/index.mjs +2 -2
- package/carousel/index.mjs.map +1 -1
- package/carousel/style/index.mjs +19 -22
- package/carousel/style/index.mjs.map +1 -1
- package/cascadeselect/CascadeSelect.vue +16 -17
- package/cascadeselect/CascadeSelectSub.vue +1 -1
- package/cascadeselect/index.d.ts +2 -2
- package/cascadeselect/index.mjs +26 -28
- package/cascadeselect/index.mjs.map +1 -1
- package/cascadeselect/style/index.mjs +17 -19
- package/cascadeselect/style/index.mjs.map +1 -1
- package/chart/index.mjs +4 -4
- package/checkbox/index.d.ts +2 -2
- package/checkbox/index.mjs +2 -2
- package/checkbox/index.mjs.map +1 -1
- package/checkbox/style/index.mjs +5 -8
- package/checkbox/style/index.mjs.map +1 -1
- package/checkboxgroup/index.mjs +1 -1
- package/checkboxgroup/style/index.mjs +2 -5
- package/checkboxgroup/style/index.mjs.map +1 -1
- package/chip/index.mjs +1 -1
- package/chip/style/index.mjs +2 -5
- package/chip/style/index.mjs.map +1 -1
- package/colorpicker/ColorPicker.vue +2 -2
- package/colorpicker/index.mjs +7 -7
- package/colorpicker/index.mjs.map +1 -1
- package/colorpicker/style/index.mjs +7 -10
- package/colorpicker/style/index.mjs.map +1 -1
- package/column/BaseColumn.vue +1 -1
- package/column/index.d.ts +2 -2
- package/column/index.mjs +1 -1
- package/column/index.mjs.map +1 -1
- package/columngroup/index.mjs.map +1 -1
- package/confirmdialog/index.d.ts +4 -0
- package/confirmdialog/index.mjs +1 -1
- package/confirmdialog/index.mjs.map +1 -1
- package/confirmdialog/style/index.mjs +2 -5
- package/confirmdialog/style/index.mjs.map +1 -1
- package/confirmpopup/ConfirmPopup.vue +2 -2
- package/confirmpopup/index.mjs +4 -4
- package/confirmpopup/index.mjs.map +1 -1
- package/confirmpopup/style/index.mjs +2 -5
- package/confirmpopup/style/index.mjs.map +1 -1
- package/contextmenu/ContextMenu.vue +6 -12
- package/contextmenu/index.mjs +9 -15
- package/contextmenu/index.mjs.map +1 -1
- package/contextmenu/style/index.mjs +7 -10
- package/contextmenu/style/index.mjs.map +1 -1
- package/datatable/BodyCell.vue +24 -14
- package/datatable/BodyRow.vue +0 -1
- package/datatable/ColumnFilter.vue +10 -16
- package/datatable/DataTable.vue +6 -6
- package/datatable/FilterHeaderCell.vue +189 -0
- package/datatable/FooterCell.vue +2 -2
- package/datatable/HeaderCell.vue +4 -4
- package/datatable/TableBody.vue +3 -10
- package/datatable/TableHeader.vue +23 -50
- package/datatable/index.d.ts +89 -39
- package/datatable/index.mjs +444 -234
- package/datatable/index.mjs.map +1 -1
- package/datatable/style/index.mjs +32 -36
- package/datatable/style/index.mjs.map +1 -1
- package/dataview/index.mjs +2 -2
- package/dataview/index.mjs.map +1 -1
- package/dataview/style/index.mjs +6 -9
- package/dataview/style/index.mjs.map +1 -1
- package/datepicker/BaseDatePicker.vue +0 -4
- package/datepicker/DatePicker.vue +46 -20
- package/datepicker/index.d.ts +2 -6
- package/datepicker/index.mjs +78 -52
- package/datepicker/index.mjs.map +1 -1
- package/datepicker/style/index.mjs +26 -28
- package/datepicker/style/index.mjs.map +1 -1
- package/deferredcontent/index.mjs +1 -1
- package/dialog/Dialog.vue +3 -11
- package/dialog/index.d.ts +1 -1
- package/dialog/index.mjs +7 -14
- package/dialog/index.mjs.map +1 -1
- package/dialog/style/index.mjs +10 -14
- package/dialog/style/index.mjs.map +1 -1
- package/divider/index.mjs +1 -1
- package/divider/style/index.mjs +6 -10
- package/divider/style/index.mjs.map +1 -1
- package/dock/DockSub.vue +5 -13
- package/dock/index.mjs +6 -14
- package/dock/index.mjs.map +1 -1
- package/dock/style/index.mjs +9 -12
- package/dock/style/index.mjs.map +1 -1
- package/drawer/Drawer.vue +7 -4
- package/drawer/index.d.ts +4 -0
- package/drawer/index.mjs +7 -5
- package/drawer/index.mjs.map +1 -1
- package/drawer/style/index.mjs +10 -13
- package/drawer/style/index.mjs.map +1 -1
- package/dynamicdialog/DynamicDialog.vue +5 -5
- package/dynamicdialog/index.mjs +8 -6
- package/dynamicdialog/index.mjs.map +1 -1
- package/editor/Editor.vue +9 -11
- package/editor/index.d.ts +0 -15
- package/editor/index.mjs +16 -16
- package/editor/index.mjs.map +1 -1
- package/editor/style/index.mjs +4 -7
- package/editor/style/index.mjs.map +1 -1
- package/fieldset/Fieldset.vue +4 -12
- package/fieldset/index.mjs +9 -17
- package/fieldset/index.mjs.map +1 -1
- package/fieldset/style/index.mjs +4 -7
- package/fieldset/style/index.mjs.map +1 -1
- package/fileupload/FileUpload.vue +9 -7
- package/fileupload/index.d.ts +3 -3
- package/fileupload/index.mjs +12 -10
- package/fileupload/index.mjs.map +1 -1
- package/fileupload/style/index.mjs +4 -7
- package/fileupload/style/index.mjs.map +1 -1
- package/floatlabel/index.mjs +1 -1
- package/floatlabel/style/index.mjs +4 -8
- package/floatlabel/style/index.mjs.map +1 -1
- package/fluid/index.mjs +1 -1
- package/focustrap/index.mjs +4 -4
- package/focustrap/index.mjs.map +1 -1
- package/galleria/Galleria.vue +2 -1
- package/galleria/GalleriaContent.vue +3 -11
- package/galleria/GalleriaThumbnails.vue +15 -8
- package/galleria/index.mjs +28 -30
- package/galleria/index.mjs.map +1 -1
- package/galleria/style/index.mjs +23 -26
- package/galleria/style/index.mjs.map +1 -1
- package/iconfield/index.mjs +1 -1
- package/iconfield/style/index.mjs +2 -5
- package/iconfield/style/index.mjs.map +1 -1
- package/iftalabel/index.mjs +1 -1
- package/iftalabel/style/index.mjs +2 -5
- package/iftalabel/style/index.mjs.map +1 -1
- package/image/Image.vue +2 -1
- package/image/index.d.ts +4 -0
- package/image/index.mjs +6 -5
- package/image/index.mjs.map +1 -1
- package/image/style/index.mjs +8 -11
- package/image/style/index.mjs.map +1 -1
- package/imagecompare/index.mjs +1 -1
- package/imagecompare/style/index.mjs +2 -5
- package/imagecompare/style/index.mjs.map +1 -1
- package/index.d.ts +3 -0
- package/index.mjs +1 -0
- package/index.mjs.map +1 -1
- package/inlinemessage/index.mjs +1 -1
- package/inlinemessage/style/index.mjs +7 -10
- package/inlinemessage/style/index.mjs.map +1 -1
- package/inplace/index.mjs +4 -4
- package/inplace/style/index.mjs +4 -7
- package/inplace/style/index.mjs.map +1 -1
- package/inputchips/InputChips.vue +2 -10
- package/inputchips/index.mjs +6 -14
- package/inputchips/index.mjs.map +1 -1
- package/inputchips/style/index.mjs +11 -14
- package/inputchips/style/index.mjs.map +1 -1
- package/inputgroup/index.mjs +1 -1
- package/inputgroup/style/index.mjs +2 -5
- package/inputgroup/style/index.mjs.map +1 -1
- package/inputgroupaddon/index.mjs +1 -1
- package/inputicon/index.mjs +1 -1
- package/inputmask/InputMask.vue +26 -17
- package/inputmask/index.d.ts +2 -2
- package/inputmask/index.mjs +28 -17
- package/inputmask/index.mjs.map +1 -1
- package/inputnumber/InputNumber.vue +17 -6
- package/inputnumber/index.d.ts +4 -4
- package/inputnumber/index.mjs +20 -12
- package/inputnumber/index.mjs.map +1 -1
- package/inputnumber/style/index.mjs +12 -14
- package/inputnumber/style/index.mjs.map +1 -1
- package/inputotp/index.d.ts +23 -8
- package/inputotp/index.mjs +1 -1
- package/inputotp/style/index.mjs +2 -5
- package/inputotp/style/index.mjs.map +1 -1
- package/inputtext/InputText.vue +1 -1
- package/inputtext/index.d.ts +1 -1
- package/inputtext/index.mjs +3 -2
- package/inputtext/index.mjs.map +1 -1
- package/inputtext/style/index.mjs +5 -8
- package/inputtext/style/index.mjs.map +1 -1
- package/keyfilter/index.mjs +8 -9
- package/keyfilter/index.mjs.map +1 -1
- package/knob/index.mjs +3 -3
- package/knob/index.mjs.map +1 -1
- package/knob/style/index.mjs +5 -8
- package/knob/style/index.mjs.map +1 -1
- package/listbox/Listbox.vue +7 -13
- package/listbox/index.mjs +10 -16
- package/listbox/index.mjs.map +1 -1
- package/listbox/style/index.mjs +11 -14
- package/listbox/style/index.mjs.map +1 -1
- package/megamenu/MegaMenu.vue +9 -15
- package/megamenu/index.mjs +12 -18
- package/megamenu/index.mjs.map +1 -1
- package/megamenu/style/index.mjs +15 -18
- package/megamenu/style/index.mjs.map +1 -1
- package/menu/Menu.vue +9 -17
- package/menu/index.d.ts +10 -0
- package/menu/index.mjs +10 -17
- package/menu/index.mjs.map +1 -1
- package/menu/style/index.mjs +6 -9
- package/menu/style/index.mjs.map +1 -1
- package/menubar/Menubar.vue +10 -16
- package/menubar/index.mjs +14 -20
- package/menubar/index.mjs.map +1 -1
- package/menubar/style/index.mjs +10 -13
- package/menubar/style/index.mjs.map +1 -1
- package/message/index.mjs +4 -4
- package/message/style/index.mjs +4 -7
- package/message/style/index.mjs.map +1 -1
- package/metergroup/index.mjs +1 -1
- package/metergroup/style/index.mjs +6 -9
- package/metergroup/style/index.mjs.map +1 -1
- package/multiselect/MultiSelect.vue +23 -18
- package/multiselect/index.d.ts +12 -6
- package/multiselect/index.mjs +32 -28
- package/multiselect/index.mjs.map +1 -1
- package/multiselect/style/index.mjs +17 -20
- package/multiselect/style/index.mjs.map +1 -1
- package/orderlist/OrderList.vue +1 -10
- package/orderlist/index.mjs +7 -15
- package/orderlist/index.mjs.map +1 -1
- package/orderlist/style/index.mjs +2 -5
- package/orderlist/style/index.mjs.map +1 -1
- package/organizationchart/index.mjs +4 -4
- package/organizationchart/style/index.mjs +9 -12
- package/organizationchart/style/index.mjs.map +1 -1
- package/overlaybadge/index.mjs +1 -1
- package/overlaybadge/style/index.mjs +2 -5
- package/overlaybadge/style/index.mjs.map +1 -1
- package/package.json +6 -5
- package/paginator/index.mjs +2 -2
- package/paginator/index.mjs.map +1 -1
- package/paginator/style/index.mjs +18 -21
- package/paginator/style/index.mjs.map +1 -1
- package/panel/Panel.vue +5 -13
- package/panel/index.mjs +7 -15
- package/panel/index.mjs.map +1 -1
- package/panel/style/index.mjs +4 -7
- package/panel/style/index.mjs.map +1 -1
- package/panelmenu/PanelMenu.vue +2 -12
- package/panelmenu/index.mjs +8 -18
- package/panelmenu/index.mjs.map +1 -1
- package/panelmenu/style/index.mjs +8 -11
- package/panelmenu/style/index.mjs.map +1 -1
- package/passthrough/index.mjs +3 -3
- package/password/Password.vue +3 -10
- package/password/index.d.ts +2 -2
- package/password/index.mjs +9 -16
- package/password/index.mjs.map +1 -1
- package/password/style/index.mjs +8 -11
- package/password/style/index.mjs.map +1 -1
- package/picklist/PickList.vue +2 -9
- package/picklist/index.mjs +8 -14
- package/picklist/index.mjs.map +1 -1
- package/picklist/style/index.mjs +2 -5
- package/picklist/style/index.mjs.map +1 -1
- package/popover/Popover.vue +2 -2
- package/popover/index.mjs +4 -4
- package/popover/index.mjs.map +1 -1
- package/popover/style/index.mjs +2 -5
- package/popover/style/index.mjs.map +1 -1
- package/portal/index.mjs +1 -1
- package/progressbar/index.mjs +1 -1
- package/progressbar/style/index.mjs +4 -7
- package/progressbar/style/index.mjs.map +1 -1
- package/progressspinner/index.mjs +1 -1
- package/progressspinner/style/index.mjs +2 -5
- package/progressspinner/style/index.mjs.map +1 -1
- package/radiobutton/index.d.ts +2 -2
- package/radiobutton/index.mjs +1 -1
- package/radiobutton/index.mjs.map +1 -1
- package/radiobutton/style/index.mjs +5 -8
- package/radiobutton/style/index.mjs.map +1 -1
- package/radiobuttongroup/index.mjs +1 -1
- package/radiobuttongroup/style/index.mjs +2 -5
- package/radiobuttongroup/style/index.mjs.map +1 -1
- package/rating/Rating.vue +6 -11
- package/rating/index.mjs +7 -12
- package/rating/index.mjs.map +1 -1
- package/rating/style/index.mjs +11 -14
- package/rating/style/index.mjs.map +1 -1
- package/ripple/index.mjs +16 -13
- package/ripple/index.mjs.map +1 -1
- package/ripple/style/index.mjs +2 -5
- package/ripple/style/index.mjs.map +1 -1
- package/row/index.mjs.map +1 -1
- package/scrollpanel/ScrollPanel.vue +1 -10
- package/scrollpanel/index.mjs +3 -11
- package/scrollpanel/index.mjs.map +1 -1
- package/scrollpanel/style/index.mjs +2 -5
- package/scrollpanel/style/index.mjs.map +1 -1
- package/scrolltop/index.mjs +1 -1
- package/scrolltop/style/index.mjs +4 -7
- package/scrolltop/style/index.mjs.map +1 -1
- package/select/Select.vue +55 -26
- package/select/index.d.ts +9 -5
- package/select/index.mjs +89 -63
- package/select/index.mjs.map +1 -1
- package/select/style/index.mjs +15 -18
- package/select/style/index.mjs.map +1 -1
- package/selectbutton/index.mjs +3 -3
- package/selectbutton/style/index.mjs +4 -7
- package/selectbutton/style/index.mjs.map +1 -1
- package/skeleton/index.mjs +1 -1
- package/skeleton/style/index.mjs +4 -7
- package/skeleton/style/index.mjs.map +1 -1
- package/slider/Slider.vue +1 -1
- package/slider/index.mjs +3 -3
- package/slider/index.mjs.map +1 -1
- package/slider/style/index.mjs +5 -8
- package/slider/style/index.mjs.map +1 -1
- package/speeddial/SpeedDial.vue +8 -15
- package/speeddial/index.d.ts +1 -1
- package/speeddial/index.mjs +13 -19
- package/speeddial/index.mjs.map +1 -1
- package/speeddial/style/index.mjs +15 -18
- package/speeddial/style/index.mjs.map +1 -1
- package/splitbutton/SplitButton.vue +2 -11
- package/splitbutton/index.d.ts +2 -2
- package/splitbutton/index.mjs +3 -11
- package/splitbutton/index.mjs.map +1 -1
- package/splitbutton/style/index.mjs +5 -8
- package/splitbutton/style/index.mjs.map +1 -1
- package/splitter/Splitter.vue +31 -14
- package/splitter/index.d.ts +1 -1
- package/splitter/index.mjs +28 -14
- package/splitter/index.mjs.map +1 -1
- package/splitter/style/index.mjs +6 -9
- package/splitter/style/index.mjs.map +1 -1
- package/splitterpanel/index.mjs +1 -1
- package/step/index.mjs +1 -1
- package/step/index.mjs.map +1 -1
- package/stepitem/index.mjs +1 -1
- package/stepitem/index.mjs.map +1 -1
- package/steplist/index.mjs +1 -1
- package/steppanel/index.mjs +1 -1
- package/steppanel/index.mjs.map +1 -1
- package/steppanels/index.mjs +1 -1
- package/stepper/Stepper.vue +0 -8
- package/stepper/index.mjs +1 -9
- package/stepper/index.mjs.map +1 -1
- package/stepper/style/index.mjs +4 -7
- package/stepper/style/index.mjs.map +1 -1
- package/steps/index.mjs +2 -2
- package/steps/style/index.mjs +8 -11
- package/steps/style/index.mjs.map +1 -1
- package/styleclass/index.mjs +1 -1
- package/tab/Tab.vue +3 -3
- package/tab/index.mjs +4 -4
- package/tab/index.mjs.map +1 -1
- package/tablist/TabList.vue +2 -2
- package/tablist/index.mjs +4 -4
- package/tablist/index.mjs.map +1 -1
- package/tabmenu/index.mjs +2 -2
- package/tabmenu/index.mjs.map +1 -1
- package/tabmenu/style/index.mjs +6 -9
- package/tabmenu/style/index.mjs.map +1 -1
- package/tabpanel/index.mjs +1 -1
- package/tabpanel/index.mjs.map +1 -1
- package/tabpanels/index.mjs +1 -1
- package/tabs/Tabs.vue +0 -8
- package/tabs/index.mjs +1 -9
- package/tabs/index.mjs.map +1 -1
- package/tabs/style/index.mjs +4 -7
- package/tabs/style/index.mjs.map +1 -1
- package/tabview/TabView.vue +3 -9
- package/tabview/index.mjs +7 -13
- package/tabview/index.mjs.map +1 -1
- package/tabview/style/index.mjs +11 -14
- package/tabview/style/index.mjs.map +1 -1
- package/tag/index.mjs +1 -1
- package/tag/style/index.mjs +4 -7
- package/tag/style/index.mjs.map +1 -1
- package/terminal/index.mjs +1 -1
- package/terminal/style/index.mjs +2 -5
- package/terminal/style/index.mjs.map +1 -1
- package/textarea/Textarea.vue +5 -2
- package/textarea/index.d.ts +4 -4
- package/textarea/index.mjs +7 -3
- package/textarea/index.mjs.map +1 -1
- package/textarea/style/index.mjs +5 -8
- package/textarea/style/index.mjs.map +1 -1
- package/tieredmenu/TieredMenu.vue +8 -13
- package/tieredmenu/index.mjs +11 -16
- package/tieredmenu/index.mjs.map +1 -1
- package/tieredmenu/style/index.mjs +11 -14
- package/tieredmenu/style/index.mjs.map +1 -1
- package/timeline/index.d.ts +4 -0
- package/timeline/index.mjs +1 -1
- package/timeline/style/index.mjs +4 -7
- package/timeline/style/index.mjs.map +1 -1
- package/toast/BaseToast.vue +12 -0
- package/toast/ToastMessage.vue +38 -4
- package/toast/index.d.ts +12 -0
- package/toast/index.mjs +79 -15
- package/toast/index.mjs.map +1 -1
- package/toast/style/index.mjs +12 -15
- package/toast/style/index.mjs.map +1 -1
- package/togglebutton/ToggleButton.vue +1 -0
- package/togglebutton/index.mjs +3 -2
- package/togglebutton/index.mjs.map +1 -1
- package/togglebutton/style/index.mjs +5 -8
- package/togglebutton/style/index.mjs.map +1 -1
- package/toggleswitch/index.mjs +1 -1
- package/toggleswitch/index.mjs.map +1 -1
- package/toggleswitch/style/index.mjs +5 -8
- package/toggleswitch/style/index.mjs.map +1 -1
- package/toolbar/index.mjs +1 -1
- package/toolbar/style/index.mjs +2 -5
- package/toolbar/style/index.mjs.map +1 -1
- package/tooltip/index.mjs +62 -14
- package/tooltip/index.mjs.map +1 -1
- package/tooltip/style/index.mjs +2 -5
- package/tooltip/style/index.mjs.map +1 -1
- package/tree/Tree.vue +2 -2
- package/tree/index.mjs +16 -16
- package/tree/index.mjs.map +1 -1
- package/tree/style/index.mjs +8 -11
- package/tree/style/index.mjs.map +1 -1
- package/treeselect/TreeSelect.vue +21 -26
- package/treeselect/index.d.ts +2 -2
- package/treeselect/index.mjs +56 -72
- package/treeselect/index.mjs.map +1 -1
- package/treeselect/style/index.mjs +10 -13
- package/treeselect/style/index.mjs.map +1 -1
- package/treetable/BodyCell.vue +8 -5
- package/treetable/FooterCell.vue +2 -2
- package/treetable/HeaderCell.vue +4 -4
- package/treetable/index.d.ts +29 -0
- package/treetable/index.mjs +42 -35
- package/treetable/index.mjs.map +1 -1
- package/treetable/style/index.mjs +22 -25
- package/treetable/style/index.mjs.map +1 -1
- package/umd/primevue.min.js +1 -1
- package/utils/index.d.ts +9 -0
- package/utils/index.mjs +16 -0
- package/utils/index.mjs.map +1 -0
- package/utils/package.json +5 -0
- package/virtualscroller/VirtualScroller.vue +16 -10
- package/virtualscroller/index.mjs +21 -15
- package/virtualscroller/index.mjs.map +1 -1
- package/virtualscroller/style/index.mjs +2 -5
- package/virtualscroller/style/index.mjs.map +1 -1
- package/web-types.json +1 -1
package/image/style/index.mjs
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
+
import { style } from '@primeuix/styles/image';
|
|
1
2
|
import BaseStyle from '@primevue/core/base/style';
|
|
2
3
|
|
|
3
|
-
var theme = function theme(_ref) {
|
|
4
|
-
var dt = _ref.dt;
|
|
5
|
-
return "\n.p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-image-preview {\n position: relative;\n display: inline-flex;\n line-height: 0;\n}\n\n.p-image-preview-mask {\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n border: 0 none;\n padding: 0;\n cursor: pointer;\n background: transparent;\n color: ".concat(dt('image.preview.mask.color'), ";\n transition: background ").concat(dt('image.transition.duration'), ";\n}\n\n.p-image-preview:hover > .p-image-preview-mask {\n opacity: 1;\n cursor: pointer;\n background: ").concat(dt('image.preview.mask.background'), ";\n}\n\n.p-image-preview-icon {\n font-size: ").concat(dt('image.preview.icon.size'), ";\n width: ").concat(dt('image.preview.icon.size'), ";\n height: ").concat(dt('image.preview.icon.size'), ";\n}\n\n.p-image-toolbar {\n position: absolute;\n inset-block-start: ").concat(dt('image.toolbar.position.top'), ";\n inset-inline-end: ").concat(dt('image.toolbar.position.right'), ";\n inset-inline-start: ").concat(dt('image.toolbar.position.left'), ";\n inset-block-end: ").concat(dt('image.toolbar.position.bottom'), ";\n display: flex;\n z-index: 1;\n padding: ").concat(dt('image.toolbar.padding'), ";\n background: ").concat(dt('image.toolbar.background'), ";\n backdrop-filter: blur(").concat(dt('image.toolbar.blur'), ");\n border-color: ").concat(dt('image.toolbar.border.color'), ";\n border-style: solid;\n border-width: ").concat(dt('image.toolbar.border.width'), ";\n border-radius: ").concat(dt('image.toolbar.border.radius'), ";\n gap: ").concat(dt('image.toolbar.gap'), ";\n}\n\n.p-image-action {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n color: ").concat(dt('image.action.color'), ";\n background: transparent;\n width: ").concat(dt('image.action.size'), ";\n height: ").concat(dt('image.action.size'), ";\n margin: 0;\n padding: 0;\n border: 0 none;\n cursor: pointer;\n user-select: none;\n border-radius: ").concat(dt('image.action.border.radius'), ";\n outline-color: transparent;\n transition: background ").concat(dt('image.transition.duration'), ", color ").concat(dt('image.transition.duration'), ", outline-color ").concat(dt('image.transition.duration'), ", box-shadow ").concat(dt('image.transition.duration'), ";\n}\n\n.p-image-action:hover {\n color: ").concat(dt('image.action.hover.color'), ";\n background: ").concat(dt('image.action.hover.background'), ";\n}\n\n.p-image-action:focus-visible {\n box-shadow: ").concat(dt('image.action.focus.ring.shadow'), ";\n outline: ").concat(dt('image.action.focus.ring.width'), " ").concat(dt('image.action.focus.ring.style'), " ").concat(dt('image.action.focus.ring.color'), ";\n outline-offset: ").concat(dt('image.action.focus.ring.offset'), ";\n}\n\n.p-image-action .p-icon {\n font-size: ").concat(dt('image.action.icon.size'), ";\n width: ").concat(dt('image.action.icon.size'), ";\n height: ").concat(dt('image.action.icon.size'), ";\n}\n\n.p-image-action.p-disabled {\n pointer-events: auto;\n}\n\n.p-image-original {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n}\n\n.p-image-original-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-image-original-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.p-image-original-enter-from,\n.p-image-original-leave-to {\n opacity: 0;\n transform: scale(0.7);\n}\n");
|
|
6
|
-
};
|
|
7
4
|
var classes = {
|
|
8
|
-
root: function root(
|
|
9
|
-
var props =
|
|
5
|
+
root: function root(_ref) {
|
|
6
|
+
var props = _ref.props;
|
|
10
7
|
return ['p-image p-component', {
|
|
11
8
|
'p-image-preview': props.preview
|
|
12
9
|
}];
|
|
@@ -17,14 +14,14 @@ var classes = {
|
|
|
17
14
|
toolbar: 'p-image-toolbar',
|
|
18
15
|
rotateRightButton: 'p-image-action p-image-rotate-right-button',
|
|
19
16
|
rotateLeftButton: 'p-image-action p-image-rotate-left-button',
|
|
20
|
-
zoomOutButton: function zoomOutButton(
|
|
21
|
-
var instance =
|
|
17
|
+
zoomOutButton: function zoomOutButton(_ref2) {
|
|
18
|
+
var instance = _ref2.instance;
|
|
22
19
|
return ['p-image-action p-image-zoom-out-button', {
|
|
23
20
|
'p-disabled': instance.isZoomOutDisabled
|
|
24
21
|
}];
|
|
25
22
|
},
|
|
26
|
-
zoomInButton: function zoomInButton(
|
|
27
|
-
var instance =
|
|
23
|
+
zoomInButton: function zoomInButton(_ref3) {
|
|
24
|
+
var instance = _ref3.instance;
|
|
28
25
|
return ['p-image-action p-image-zoom-in-button', {
|
|
29
26
|
'p-disabled': instance.isZoomInDisabled
|
|
30
27
|
}];
|
|
@@ -34,7 +31,7 @@ var classes = {
|
|
|
34
31
|
};
|
|
35
32
|
var ImageStyle = BaseStyle.extend({
|
|
36
33
|
name: 'image',
|
|
37
|
-
|
|
34
|
+
style: style,
|
|
38
35
|
classes: classes
|
|
39
36
|
});
|
|
40
37
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../src/image/style/ImageStyle.js"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../src/image/style/ImageStyle.js"],"sourcesContent":["import { style } from '@primeuix/styles/image';\nimport BaseStyle from '@primevue/core/base/style';\n\nconst classes = {\n root: ({ props }) => [\n 'p-image p-component',\n {\n 'p-image-preview': props.preview\n }\n ],\n previewMask: 'p-image-preview-mask',\n previewIcon: 'p-image-preview-icon',\n mask: 'p-image-mask p-overlay-mask p-overlay-mask-enter',\n toolbar: 'p-image-toolbar',\n rotateRightButton: 'p-image-action p-image-rotate-right-button',\n rotateLeftButton: 'p-image-action p-image-rotate-left-button',\n zoomOutButton: ({ instance }) => [\n 'p-image-action p-image-zoom-out-button',\n {\n 'p-disabled': instance.isZoomOutDisabled\n }\n ],\n zoomInButton: ({ instance }) => [\n 'p-image-action p-image-zoom-in-button',\n {\n 'p-disabled': instance.isZoomInDisabled\n }\n ],\n closeButton: 'p-image-action p-image-close-button',\n original: 'p-image-original'\n};\n\nexport default BaseStyle.extend({\n name: 'image',\n style,\n classes\n});\n"],"names":["classes","root","_ref","props","preview","previewMask","previewIcon","mask","toolbar","rotateRightButton","rotateLeftButton","zoomOutButton","_ref2","instance","isZoomOutDisabled","zoomInButton","_ref3","isZoomInDisabled","closeButton","original","BaseStyle","extend","name","style"],"mappings":";;;AAGA,IAAMA,OAAO,GAAG;AACZC,EAAAA,IAAI,EAAE,SAANA,IAAIA,CAAAC,IAAA,EAAA;AAAA,IAAA,IAAKC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAA,OAAO,CACjB,qBAAqB,EACrB;MACI,iBAAiB,EAAEA,KAAK,CAACC;AAC7B,KAAC,CACJ;AAAA,GAAA;AACDC,EAAAA,WAAW,EAAE,sBAAsB;AACnCC,EAAAA,WAAW,EAAE,sBAAsB;AACnCC,EAAAA,IAAI,EAAE,kDAAkD;AACxDC,EAAAA,OAAO,EAAE,iBAAiB;AAC1BC,EAAAA,iBAAiB,EAAE,4CAA4C;AAC/DC,EAAAA,gBAAgB,EAAE,2CAA2C;AAC7DC,EAAAA,aAAa,EAAE,SAAfA,aAAaA,CAAAC,KAAA,EAAA;AAAA,IAAA,IAAKC,QAAQ,GAAAD,KAAA,CAARC,QAAQ;IAAA,OAAO,CAC7B,wCAAwC,EACxC;MACI,YAAY,EAAEA,QAAQ,CAACC;AAC3B,KAAC,CACJ;AAAA,GAAA;AACDC,EAAAA,YAAY,EAAE,SAAdA,YAAYA,CAAAC,KAAA,EAAA;AAAA,IAAA,IAAKH,QAAQ,GAAAG,KAAA,CAARH,QAAQ;IAAA,OAAO,CAC5B,uCAAuC,EACvC;MACI,YAAY,EAAEA,QAAQ,CAACI;AAC3B,KAAC,CACJ;AAAA,GAAA;AACDC,EAAAA,WAAW,EAAE,qCAAqC;AAClDC,EAAAA,QAAQ,EAAE;AACd,CAAC;AAED,iBAAeC,SAAS,CAACC,MAAM,CAAC;AAC5BC,EAAAA,IAAI,EAAE,OAAO;AACbC,EAAAA,KAAK,EAALA,KAAK;AACLvB,EAAAA,OAAO,EAAPA;AACJ,CAAC,CAAC;;;;"}
|
package/imagecompare/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { $dt } from '@primeuix/styled';
|
|
|
2
2
|
import { setCSSProperty } from '@primeuix/utils/dom';
|
|
3
3
|
import BaseComponent from '@primevue/core/basecomponent';
|
|
4
4
|
import ImageCompareStyle from 'primevue/imagecompare/style';
|
|
5
|
-
import {
|
|
5
|
+
import { createElementBlock, openBlock, mergeProps, renderSlot, createElementVNode } from 'vue';
|
|
6
6
|
|
|
7
7
|
var script$1 = {
|
|
8
8
|
name: 'BaseImageCompare',
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
+
import { style } from '@primeuix/styles/imagecompare';
|
|
1
2
|
import BaseStyle from '@primevue/core/base/style';
|
|
2
3
|
|
|
3
|
-
var theme = function theme(_ref) {
|
|
4
|
-
var dt = _ref.dt;
|
|
5
|
-
return "\n.p-imagecompare {\n position: relative;\n overflow: hidden;\n width: 100%;\n aspect-ratio: 16 / 9;\n}\n\n.p-imagecompare img {\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.p-imagecompare img + img {\n clip-path: polygon(0 0, ".concat(dt('imagecompare.scope.x', '50%'), " 0, ").concat(dt('imagecompare.scope.x', '50%'), " 100%, 0 100%);\n}\n\n.p-imagecompare:dir(rtl) img + img {\n clip-path: polygon(calc(100% - ").concat(dt('imagecompare.scope.x', '50%'), ") 0, 100% 0, 100% 100%, calc(100% - ").concat(dt('imagecompare.scope.x', '50%'), ") 100%);\n}\n\n.p-imagecompare-slider {\n position: relative;\n -webkit-appearance: none;\n width: calc(100% + ").concat(dt('imagecompare.handle.size'), ");\n height: 100%;\n margin-inline-start: calc(-1 * calc(").concat(dt('imagecompare.handle.size'), " / 2));\n background-color: transparent;\n outline: none;\n transition: all ").concat(dt('imagecompare.handle.transition.duration'), ";\n}\n\n.p-imagecompare-slider::-webkit-slider-thumb {\n -webkit-appearance: none;\n height: ").concat(dt('imagecompare.handle.size'), ";\n width: ").concat(dt('imagecompare.handle.size'), ";\n background: ").concat(dt('imagecompare.handle.background'), ";\n border: ").concat(dt('imagecompare.handle.border.width'), " solid ").concat(dt('imagecompare.handle.border.color'), ";\n border-radius: ").concat(dt('imagecompare.handle.border.radius'), ";\n background-size: contain;\n cursor: ew-resize;\n transition: all ").concat(dt('imagecompare.handle.transition.duration'), ";\n}\n\n.p-imagecompare-slider::-moz-range-thumb {\n height: ").concat(dt('imagecompare.handle.size'), ";\n width: ").concat(dt('imagecompare.handle.size'), ";\n background: ").concat(dt('imagecompare.handle.background'), ";\n border: ").concat(dt('imagecompare.handle.border.width'), " ").concat(dt('imagecompare.handle.border.style'), " ").concat(dt('imagecompare.handle.border.color'), ";\n border-radius: ").concat(dt('imagecompare.handle.border.radius'), ";\n background-size: contain;\n cursor: ew-resize;\n}\n\n.p-imagecompare-slider:focus-visible::-webkit-slider-thumb {\n box-shadow: ").concat(dt('imagecompare.handle.focus.ring.shadow'), ";\n outline: ").concat(dt('imagecompare.handle.focus.ring.width'), " ").concat(dt('imagecompare.handle.focus.ring.style'), " ").concat(dt('imagecompare.handle.focus.ring.color'), ";\n outline-offset: ").concat(dt('imagecompare.handle.focus.ring.offset'), ";\n}\n\n.p-imagecompare-slider:focus-visible::-moz-range-thumb {\n box-shadow: ").concat(dt('imagecompare.handle.focus.ring.shadow'), ";\n outline: ").concat(dt('imagecompare.handle.focus.ring.width'), " ").concat(dt('imagecompare.handle.focus.ring.style'), " ").concat(dt('imagecompare.handle.focus.ring.color'), ";\n outline-offset: ").concat(dt('imagecompare.handle.focus.ring.offset'), ";\n}\n\n.p-imagecompare-slider:hover {\n width: calc(100% + ").concat(dt('imagecompare.handle.hover.size'), ");\n margin-inline-start: calc(-1 * calc(").concat(dt('imagecompare.handle.hover.size'), " / 2));\n}\n\n.p-imagecompare-slider:hover::-webkit-slider-thumb {\n background: ").concat(dt('imagecompare.handle.hover.background'), ";\n border-color: ").concat(dt('imagecompare.handle.hover.border.color'), ";\n height: ").concat(dt('imagecompare.handle.hover.size'), ";\n width: ").concat(dt('imagecompare.handle.hover.size'), ";\n}\n\n.p-imagecompare-slider:hover::-moz-range-thumb {\n background: ").concat(dt('imagecompare.handle.hover.background'), ";\n border-color: ").concat(dt('imagecompare.handle.hover.border.color'), ";\n height: ").concat(dt('imagecompare.handle.hover.size'), ";\n width: ").concat(dt('imagecompare.handle.hover.size'), ";\n}\n");
|
|
6
|
-
};
|
|
7
4
|
var classes = {
|
|
8
5
|
root: 'p-imagecompare',
|
|
9
6
|
slider: 'p-imagecompare-slider'
|
|
10
7
|
};
|
|
11
8
|
var ImageCompareStyle = BaseStyle.extend({
|
|
12
9
|
name: 'imagecompare',
|
|
13
|
-
|
|
10
|
+
style: style,
|
|
14
11
|
classes: classes
|
|
15
12
|
});
|
|
16
13
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../src/imagecompare/style/ImageCompareStyle.js"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../src/imagecompare/style/ImageCompareStyle.js"],"sourcesContent":["import { style } from '@primeuix/styles/imagecompare';\nimport BaseStyle from '@primevue/core/base/style';\n\nconst classes = {\n root: 'p-imagecompare',\n slider: 'p-imagecompare-slider'\n};\n\nexport default BaseStyle.extend({\n name: 'imagecompare',\n style,\n classes\n});\n"],"names":["classes","root","slider","BaseStyle","extend","name","style"],"mappings":";;;AAGA,IAAMA,OAAO,GAAG;AACZC,EAAAA,IAAI,EAAE,gBAAgB;AACtBC,EAAAA,MAAM,EAAE;AACZ,CAAC;AAED,wBAAeC,SAAS,CAACC,MAAM,CAAC;AAC5BC,EAAAA,IAAI,EAAE,cAAc;AACpBC,EAAAA,KAAK,EAALA,KAAK;AACLN,EAAAA,OAAO,EAAPA;AACJ,CAAC,CAAC;;;;"}
|
package/index.d.ts
CHANGED
package/index.mjs
CHANGED
package/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/inlinemessage/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import InfoCircleIcon from '@primevue/icons/infocircle';
|
|
|
4
4
|
import TimesCircleIcon from '@primevue/icons/timescircle';
|
|
5
5
|
import BaseComponent from '@primevue/core/basecomponent';
|
|
6
6
|
import InlineMessageStyle from 'primevue/inlinemessage/style';
|
|
7
|
-
import {
|
|
7
|
+
import { createElementBlock, openBlock, mergeProps, renderSlot, createCommentVNode, createBlock, resolveDynamicComponent } from 'vue';
|
|
8
8
|
|
|
9
9
|
var script$1 = {
|
|
10
10
|
name: 'BaseInlineMessage',
|
|
@@ -1,26 +1,23 @@
|
|
|
1
|
+
import { style } from '@primeuix/styles/inlinemessage';
|
|
1
2
|
import BaseStyle from '@primevue/core/base/style';
|
|
2
3
|
|
|
3
|
-
var theme = function theme(_ref) {
|
|
4
|
-
var dt = _ref.dt;
|
|
5
|
-
return "\n.p-inlinemessage {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: ".concat(dt('inlinemessage.padding'), ";\n border-radius: ").concat(dt('inlinemessage.border.radius'), ";\n gap: ").concat(dt('inlinemessage.gap'), ";\n}\n\n.p-inlinemessage-text {\n font-weight: ").concat(dt('inlinemessage.text.font.weight'), ";\n}\n\n.p-inlinemessage-icon {\n flex-shrink: 0;\n font-size: ").concat(dt('inlinemessage.icon.size'), ";\n width: ").concat(dt('inlinemessage.icon.size'), ";\n height: ").concat(dt('inlinemessage.icon.size'), ";\n}\n\n.p-inlinemessage-icon-only .p-inlinemessage-text {\n visibility: hidden;\n width: 0;\n}\n\n.p-inlinemessage-info {\n background: ").concat(dt('inlinemessage.info.background'), ";\n border: 1px solid ").concat(dt('inlinemessage.info.border.color'), ";\n color: ").concat(dt('inlinemessage.info.color'), ";\n box-shadow: ").concat(dt('inlinemessage.info.shadow'), ";\n}\n\n.p-inlinemessage-info .p-inlinemessage-icon {\n color: ").concat(dt('inlinemessage.info.color'), ";\n}\n\n.p-inlinemessage-success {\n background: ").concat(dt('inlinemessage.success.background'), ";\n border: 1px solid ").concat(dt('inlinemessage.success.border.color'), ";\n color: ").concat(dt('inlinemessage.success.color'), ";\n box-shadow: ").concat(dt('inlinemessage.success.shadow'), ";\n}\n\n.p-inlinemessage-success .p-inlinemessage-icon {\n color: ").concat(dt('inlinemessage.success.color'), ";\n}\n\n.p-inlinemessage-warn {\n background: ").concat(dt('inlinemessage.warn.background'), ";\n border: 1px solid ").concat(dt('inlinemessage.warn.border.color'), ";\n color: ").concat(dt('inlinemessage.warn.color'), ";\n box-shadow: ").concat(dt('inlinemessage.warn.shadow'), ";\n}\n\n.p-inlinemessage-warn .p-inlinemessage-icon {\n color: ").concat(dt('inlinemessage.warn.color'), ";\n}\n\n.p-inlinemessage-error {\n background: ").concat(dt('inlinemessage.error.background'), ";\n border: 1px solid ").concat(dt('inlinemessage.error.border.color'), ";\n color: ").concat(dt('inlinemessage.error.color'), ";\n box-shadow: ").concat(dt('inlinemessage.error.shadow'), ";\n}\n\n.p-inlinemessage-error .p-inlinemessage-icon {\n color: ").concat(dt('inlinemessage.error.color'), ";\n}\n\n.p-inlinemessage-secondary {\n background: ").concat(dt('inlinemessage.secondary.background'), ";\n border: 1px solid ").concat(dt('inlinemessage.secondary.border.color'), ";\n color: ").concat(dt('inlinemessage.secondary.color'), ";\n box-shadow: ").concat(dt('inlinemessage.secondary.shadow'), ";\n}\n\n.p-inlinemessage-secondary .p-inlinemessage-icon {\n color: ").concat(dt('inlinemessage.secondary.color'), ";\n}\n\n.p-inlinemessage-contrast {\n background: ").concat(dt('inlinemessage.contrast.background'), ";\n border: 1px solid ").concat(dt('inlinemessage.contrast.border.color'), ";\n color: ").concat(dt('inlinemessage.contrast.color'), ";\n box-shadow: ").concat(dt('inlinemessage.contrast.shadow'), ";\n}\n\n.p-inlinemessage-contrast .p-inlinemessage-icon {\n color: ").concat(dt('inlinemessage.contrast.color'), ";\n}\n");
|
|
6
|
-
};
|
|
7
4
|
var classes = {
|
|
8
|
-
root: function root(
|
|
9
|
-
var props =
|
|
10
|
-
instance =
|
|
5
|
+
root: function root(_ref) {
|
|
6
|
+
var props = _ref.props,
|
|
7
|
+
instance = _ref.instance;
|
|
11
8
|
return ['p-inlinemessage p-component p-inlinemessage-' + props.severity, {
|
|
12
9
|
'p-inlinemessage-icon-only': !instance.$slots["default"]
|
|
13
10
|
}];
|
|
14
11
|
},
|
|
15
|
-
icon: function icon(
|
|
16
|
-
var props =
|
|
12
|
+
icon: function icon(_ref2) {
|
|
13
|
+
var props = _ref2.props;
|
|
17
14
|
return ['p-inlinemessage-icon', props.icon];
|
|
18
15
|
},
|
|
19
16
|
text: 'p-inlinemessage-text'
|
|
20
17
|
};
|
|
21
18
|
var InlineMessageStyle = BaseStyle.extend({
|
|
22
19
|
name: 'inlinemessage',
|
|
23
|
-
|
|
20
|
+
style: style,
|
|
24
21
|
classes: classes
|
|
25
22
|
});
|
|
26
23
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../src/inlinemessage/style/InlineMessageStyle.js"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../src/inlinemessage/style/InlineMessageStyle.js"],"sourcesContent":["import { style } from '@primeuix/styles/inlinemessage';\nimport BaseStyle from '@primevue/core/base/style';\n\nconst classes = {\n root: ({ props, instance }) => ['p-inlinemessage p-component p-inlinemessage-' + props.severity, { 'p-inlinemessage-icon-only': !instance.$slots.default }],\n icon: ({ props }) => ['p-inlinemessage-icon', props.icon],\n text: 'p-inlinemessage-text'\n};\n\nexport default BaseStyle.extend({\n name: 'inlinemessage',\n style,\n classes\n});\n"],"names":["classes","root","_ref","props","instance","severity","$slots","icon","_ref2","text","BaseStyle","extend","name","style"],"mappings":";;;AAGA,IAAMA,OAAO,GAAG;AACZC,EAAAA,IAAI,EAAE,SAANA,IAAIA,CAAAC,IAAA,EAAA;AAAA,IAAA,IAAKC,KAAK,GAAAD,IAAA,CAALC,KAAK;MAAEC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;AAAA,IAAA,OAAO,CAAC,8CAA8C,GAAGD,KAAK,CAACE,QAAQ,EAAE;AAAE,MAAA,2BAA2B,EAAE,CAACD,QAAQ,CAACE,MAAM,CAAA,SAAA;AAAS,KAAC,CAAC;AAAA,GAAA;AAC3JC,EAAAA,IAAI,EAAE,SAANA,IAAIA,CAAAC,KAAA,EAAA;AAAA,IAAA,IAAKL,KAAK,GAAAK,KAAA,CAALL,KAAK;AAAA,IAAA,OAAO,CAAC,sBAAsB,EAAEA,KAAK,CAACI,IAAI,CAAC;AAAA,GAAA;AACzDE,EAAAA,IAAI,EAAE;AACV,CAAC;AAED,yBAAeC,SAAS,CAACC,MAAM,CAAC;AAC5BC,EAAAA,IAAI,EAAE,eAAe;AACrBC,EAAAA,KAAK,EAALA,KAAK;AACLb,EAAAA,OAAO,EAAPA;AACJ,CAAC,CAAC;;;;"}
|
package/inplace/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseComponent from '@primevue/core/basecomponent';
|
|
2
2
|
import InplaceStyle from 'primevue/inplace/style';
|
|
3
|
-
import {
|
|
3
|
+
import { createElementBlock, openBlock, mergeProps, withKeys, renderSlot } from 'vue';
|
|
4
4
|
|
|
5
5
|
var script$1 = {
|
|
6
6
|
name: 'BaseInplace',
|
|
@@ -66,10 +66,10 @@ var script = {
|
|
|
66
66
|
|
|
67
67
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
68
68
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
69
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t),
|
|
70
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable:
|
|
69
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
70
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e; }
|
|
71
71
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
72
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r
|
|
72
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
73
73
|
var _hoisted_1 = ["tabindex"];
|
|
74
74
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
75
75
|
return openBlock(), createElementBlock("div", mergeProps({
|
package/inplace/style/index.mjs
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
+
import { style } from '@primeuix/styles/inplace';
|
|
1
2
|
import BaseStyle from '@primevue/core/base/style';
|
|
2
3
|
|
|
3
|
-
var theme = function theme(_ref) {
|
|
4
|
-
var dt = _ref.dt;
|
|
5
|
-
return "\n.p-inplace-display {\n display: inline-block;\n cursor: pointer;\n border: 1px solid transparent;\n padding: ".concat(dt('inplace.padding'), ";\n border-radius: ").concat(dt('inplace.border.radius'), ";\n transition: background ").concat(dt('inplace.transition.duration'), ", color ").concat(dt('inplace.transition.duration'), ", outline-color ").concat(dt('inplace.transition.duration'), ", box-shadow ").concat(dt('inplace.transition.duration'), ";\n outline-color: transparent;\n}\n\n.p-inplace-display:not(.p-disabled):hover {\n background: ").concat(dt('inplace.display.hover.background'), ";\n color: ").concat(dt('inplace.display.hover.color'), ";\n}\n\n.p-inplace-display:focus-visible {\n box-shadow: ").concat(dt('inplace.focus.ring.shadow'), ";\n outline: ").concat(dt('inplace.focus.ring.width'), " ").concat(dt('inplace.focus.ring.style'), " ").concat(dt('inplace.focus.ring.color'), ";\n outline-offset: ").concat(dt('inplace.focus.ring.offset'), ";\n}\n\n.p-inplace-content {\n display: block;\n}\n");
|
|
6
|
-
};
|
|
7
4
|
var classes = {
|
|
8
5
|
root: 'p-inplace p-component',
|
|
9
|
-
display: function display(
|
|
10
|
-
var props =
|
|
6
|
+
display: function display(_ref) {
|
|
7
|
+
var props = _ref.props;
|
|
11
8
|
return ['p-inplace-display', {
|
|
12
9
|
'p-disabled': props.disabled
|
|
13
10
|
}];
|
|
@@ -16,7 +13,7 @@ var classes = {
|
|
|
16
13
|
};
|
|
17
14
|
var InplaceStyle = BaseStyle.extend({
|
|
18
15
|
name: 'inplace',
|
|
19
|
-
|
|
16
|
+
style: style,
|
|
20
17
|
classes: classes
|
|
21
18
|
});
|
|
22
19
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../src/inplace/style/InplaceStyle.js"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../src/inplace/style/InplaceStyle.js"],"sourcesContent":["import { style } from '@primeuix/styles/inplace';\nimport BaseStyle from '@primevue/core/base/style';\n\nconst classes = {\n root: 'p-inplace p-component',\n display: ({ props }) => ['p-inplace-display', { 'p-disabled': props.disabled }],\n content: 'p-inplace-content'\n};\n\nexport default BaseStyle.extend({\n name: 'inplace',\n style,\n classes\n});\n"],"names":["classes","root","display","_ref","props","disabled","content","BaseStyle","extend","name","style"],"mappings":";;;AAGA,IAAMA,OAAO,GAAG;AACZC,EAAAA,IAAI,EAAE,uBAAuB;AAC7BC,EAAAA,OAAO,EAAE,SAATA,OAAOA,CAAAC,IAAA,EAAA;AAAA,IAAA,IAAKC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAA,OAAO,CAAC,mBAAmB,EAAE;MAAE,YAAY,EAAEA,KAAK,CAACC;AAAS,KAAC,CAAC;AAAA,GAAA;AAC/EC,EAAAA,OAAO,EAAE;AACb,CAAC;AAED,mBAAeC,SAAS,CAACC,MAAM,CAAC;AAC5BC,EAAAA,IAAI,EAAE,SAAS;AACfC,EAAAA,KAAK,EAALA,KAAK;AACLV,EAAAA,OAAO,EAAPA;AACJ,CAAC,CAAC;;;;"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<li
|
|
19
19
|
v-for="(val, i) of modelValue"
|
|
20
20
|
:key="`${i}_${val}`"
|
|
21
|
-
:id="id + '_inputchips_item_' + i"
|
|
21
|
+
:id="$id + '_inputchips_item_' + i"
|
|
22
22
|
role="option"
|
|
23
23
|
:class="cx('chipItem', { index: i })"
|
|
24
24
|
:aria-label="val"
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
</template>
|
|
61
61
|
|
|
62
62
|
<script>
|
|
63
|
-
import { UniqueComponentId } from '@primevue/core/utils';
|
|
64
63
|
import Chip from 'primevue/chip';
|
|
65
64
|
import BaseInputChips from './BaseInputChips.vue';
|
|
66
65
|
|
|
@@ -71,20 +70,13 @@ export default {
|
|
|
71
70
|
emits: ['update:modelValue', 'add', 'remove', 'focus', 'blur'],
|
|
72
71
|
data() {
|
|
73
72
|
return {
|
|
74
|
-
id: this.$attrs.id,
|
|
75
73
|
inputValue: null,
|
|
76
74
|
focused: false,
|
|
77
75
|
focusedIndex: null
|
|
78
76
|
};
|
|
79
77
|
},
|
|
80
|
-
watch: {
|
|
81
|
-
'$attrs.id': function (newValue) {
|
|
82
|
-
this.id = newValue || UniqueComponentId();
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
78
|
mounted() {
|
|
86
79
|
console.warn('Deprecated since v4. Use AutoComplete component instead with its typeahead property.');
|
|
87
|
-
this.id = this.id || UniqueComponentId();
|
|
88
80
|
},
|
|
89
81
|
methods: {
|
|
90
82
|
onWrapperClick() {
|
|
@@ -261,7 +253,7 @@ export default {
|
|
|
261
253
|
return this.max && this.modelValue && this.max === this.modelValue.length;
|
|
262
254
|
},
|
|
263
255
|
focusedOptionId() {
|
|
264
|
-
return this.focusedIndex !== null ? `${this
|
|
256
|
+
return this.focusedIndex !== null ? `${this.$id}_inputchips_item_${this.focusedIndex}` : null;
|
|
265
257
|
}
|
|
266
258
|
},
|
|
267
259
|
components: {
|
package/inputchips/index.mjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { UniqueComponentId } from '@primevue/core/utils';
|
|
2
1
|
import Chip from 'primevue/chip';
|
|
3
2
|
import BaseComponent from '@primevue/core/basecomponent';
|
|
4
3
|
import InputChipsStyle from 'primevue/inputchips/style';
|
|
5
|
-
import { resolveComponent,
|
|
4
|
+
import { resolveComponent, createElementBlock, openBlock, mergeProps, createElementVNode, Fragment, renderList, renderSlot, normalizeClass, createVNode, withCtx } from 'vue';
|
|
6
5
|
|
|
7
6
|
var script$1 = {
|
|
8
7
|
name: 'BaseInputChips',
|
|
@@ -99,20 +98,13 @@ var script = {
|
|
|
99
98
|
emits: ['update:modelValue', 'add', 'remove', 'focus', 'blur'],
|
|
100
99
|
data: function data() {
|
|
101
100
|
return {
|
|
102
|
-
id: this.$attrs.id,
|
|
103
101
|
inputValue: null,
|
|
104
102
|
focused: false,
|
|
105
103
|
focusedIndex: null
|
|
106
104
|
};
|
|
107
105
|
},
|
|
108
|
-
watch: {
|
|
109
|
-
'$attrs.id': function $attrsId(newValue) {
|
|
110
|
-
this.id = newValue || UniqueComponentId();
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
106
|
mounted: function mounted() {
|
|
114
107
|
console.warn('Deprecated since v4. Use AutoComplete component instead with its typeahead property.');
|
|
115
|
-
this.id = this.id || UniqueComponentId();
|
|
116
108
|
},
|
|
117
109
|
methods: {
|
|
118
110
|
onWrapperClick: function onWrapperClick() {
|
|
@@ -270,7 +262,7 @@ var script = {
|
|
|
270
262
|
return this.max && this.modelValue && this.max === this.modelValue.length;
|
|
271
263
|
},
|
|
272
264
|
focusedOptionId: function focusedOptionId() {
|
|
273
|
-
return this.focusedIndex !== null ? "".concat(this
|
|
265
|
+
return this.focusedIndex !== null ? "".concat(this.$id, "_inputchips_item_").concat(this.focusedIndex) : null;
|
|
274
266
|
}
|
|
275
267
|
},
|
|
276
268
|
components: {
|
|
@@ -280,10 +272,10 @@ var script = {
|
|
|
280
272
|
|
|
281
273
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
282
274
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
283
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t),
|
|
284
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable:
|
|
275
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
276
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e; }
|
|
285
277
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
286
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r
|
|
278
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
287
279
|
var _hoisted_1 = ["aria-labelledby", "aria-label", "aria-activedescendant"];
|
|
288
280
|
var _hoisted_2 = ["id", "aria-label", "aria-setsize", "aria-posinset", "data-p-focused"];
|
|
289
281
|
var _hoisted_3 = ["id", "disabled", "placeholder", "aria-invalid"];
|
|
@@ -315,7 +307,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
315
307
|
}, _ctx.ptm('input')), [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.modelValue, function (val, i) {
|
|
316
308
|
return openBlock(), createElementBlock("li", mergeProps({
|
|
317
309
|
key: "".concat(i, "_").concat(val),
|
|
318
|
-
id:
|
|
310
|
+
id: _ctx.$id + '_inputchips_item_' + i,
|
|
319
311
|
role: "option",
|
|
320
312
|
"class": _ctx.cx('chipItem', {
|
|
321
313
|
index: i
|