{"analyzedAt":"2023-01-13T10:59:18.514Z","collected":{"metadata":{"name":"primevue","scope":"unscoped","version":"3.22.1","description":"[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primevue.svg)](https://badge.fury.io/js/primevue) [![Discord Chat](https://img.shields.io/discord/55794023","keywords":["primevue","vue","ui framework","component framework","ui library","component library","material","bootstrap"],"date":"2023-01-12T17:17:05.842Z","publisher":{"username":"tugcekucukoglu","email":"tugcekucukoglu.860@gmail.com"},"maintainers":[{"username":"cagatay.civici","email":"cagatay.civici@gmail.com"},{"username":"mert.sincan","email":"sincan.mert@gmail.com"},{"username":"tugcekucukoglu","email":"tugcekucukoglu.860@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/primefaces/primevue.git"},"links":{"npm":"https://www.npmjs.com/package/primevue","homepage":"https://www.primefaces.org/primevue","repository":"https://github.com/primefaces/primevue","bugs":"https://github.com/primefaces/primevue/issues"},"license":"MIT","devDependencies":{"@babel/eslint-parser":"^7.18.9","@fullcalendar/core":"^5.11.0","@fullcalendar/daygrid":"^5.11.0","@fullcalendar/interaction":"^5.11.0","@fullcalendar/timegrid":"^5.11.0","@fullcalendar/vue3":"^5.11.0","@vitejs/plugin-vue-jsx":"^2.0.1","@vitest/coverage-istanbul":"^0.26.2","@vue/test-utils":"^2.0.0","@vuelidate/core":"^2.0.0-alpha.14","@vuelidate/validators":"^2.0.0-alpha.12","chart.js":"3.3.2","eslint":"^8.30.0","eslint-config-prettier":"^8.5.0","eslint-plugin-nuxt":"^4.0.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.4.0","gulp":"^4.0.2","gulp-concat":"^2.6.0","gulp-flatten":"^0.4.0","gulp-rename":"^2.0.0","gulp-uglify":"^3.0.2","gulp-uglifycss":"^1.0.6","jsdom":"^19.0.0","nuxt":"^3.0.0","prettier":"2.7.1","primeflex":"^3.3.0","primeicons":"^6.0.1","quill":"^1.3.7","rollup-plugin-postcss":"^4.0.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-vue":"^6.0.0-beta.9","sass":"^1.45.0","sass-loader":"^8.0.2","vitest":"^0.23.2"},"peerDependencies":{"vue":"^3.0.0","primeicons":"^5.0.0 || ^6.0.0"},"releases":[{"from":"2022-12-14T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":3},{"from":"2022-10-15T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":9},{"from":"2022-07-17T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":14},{"from":"2022-01-13T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":30},{"from":"2021-01-13T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":70}],"readme":"[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![npm version](https://badge.fury.io/js/primevue.svg)](https://badge.fury.io/js/primevue)\n[![Discord Chat](https://img.shields.io/discord/557940238991753223.svg?color=7289da&label=chat&logo=discord)](https://discord.gg/gzKFYnpmCY)\n\n[![PrimeVue Hero](https://user-images.githubusercontent.com/686247/138925407-2a7e916d-c674-4fb5-b721-1dd41a8eeebc.jpg)](https://www.primefaces.org/primevue)\n\n# PrimeVue\n\nPrimeVue is a rich set of open source UI Components for Vue. See [PrimeVue homepage](https://www.primefaces.org/primevue/) for live showcase and documentation.\n\n## Download\n\nPrimeVue is available at npm, if you have an existing application run the following command to download it to your project.\n\n````\nnpm install primevue@^3 --save\nnpm install primeicons --save\n````\n\nor\n\n```\nyarn add primevue\nyarn add primeicons\n```\n\nNext step is setting up PrimeVue configuration.\n\n```javascript\nimport {createApp} from 'vue';\nimport App from './App.vue';\nimport PrimeVue from 'primevue/config';\nconst app = createApp(App);\n\napp.use(PrimeVue);\n```\n\n## Import\n\n### Module\n\n```javascript\nimport {createApp} from 'vue';\nimport App from './App.vue';\nimport PrimeVue from 'primevue/config';\nimport Dialog from 'primevue/dialog';\nconst app = createApp(App);\n\napp.use(PrimeVue);\n\napp.component('Dialog', Dialog);\n```\n\nFinally you'll be able to utilize the component in your application. See the Styles section to apply styling.\n\n```vue\n<Dialog></Dialog>\n```\n\n### CDN\n\n```javascript\n<script src=\"https://unpkg.com/primevue@^3/core/core.min.js\"></script>/script>\n<script src=\"https://unpkg.com/primevue@^3/multiselect/multiselect.min.js\"></script>\n```\n\n## Single File Components\n\nSFC files are available in the npm distribution and if you'd like to use SFCs directly, add ***/sfc*** as a suffix when referencing an import path. This will instruct your bundler to process the *.vue files in your local build instead of using the compiled output. One use case for this approach is optimizing for SSR by removing whitespaces.\n\n```javascript\nimport Dialog from 'primevue/dialog/sfc';\n```\n\n## Script Tag\n\nOther alternative is utilizing the components directly within the browser with the ***iife*** build. Note that PrimeVue does not provide a ***umd*** build.\n\n```javascript\n<html>\n    <head>\n        <meta charset=\"utf-8\">\n        <title>PrimeVue Demo</title>\n        <link href=\"https://unpkg.com/primevue/resources/themes/lara-light-indigo/theme.css\" rel=\"stylesheet\">\n        <link href=\"https://unpkg.com/primevue/resources/primevue.min.css\" rel=\"stylesheet\">\n        <link href=\"https://unpkg.com/primeicons/primeicons.css\" rel=\"stylesheet\">\n\n        <script src=\"https://unpkg.com/vue@next\"></script>\n        <script src=\"https://unpkg.com/primevue^3/core/core.min.js\"></script>\n        <script src=\"https://unpkg.com/primevue^3/slider/slider.min.js\"></script>\n    </head>\n\n    <body>\n        <div id=\"app\">\n            <p-slider v-model=\"val\"></p-slider>\n            <h6>{{val}}</h6>\n        </div>\n\n        <script>\n            const {createApp, ref} = Vue;\n\n            const App = {\n                setup() {\n                    const val = ref(null);\n\n                    return {\n                        val\n                    };\n                },\n                components: {\n                    'p-slider': primevue.slider\n                }\n            };\n\n            createApp(App).use(primevue.config.default).mount(\"#app\");\n        </script>\n    </body>\n</html>\n```\n\n## Styles\n\nThe css dependencies are as follows, note that you may change the theme with another one of your choice.\n\n```css\nprimevue/resources/themes/saga-blue/theme.css       //theme\nprimevue/resources/primevue.min.css                 //core css\nprimeicons/primeicons.css                           //icons\n```\n\nIf you are using a bundler such as webpack with a css loader you may also import them to your main application component.\n\n```javascript\nimport 'primevue/resources/themes/lara-light-indigo/theme.css';\nimport 'primevue/resources/primevue.min.css';\nimport 'primeicons/primeicons.css';\n```\n\n## Nuxt Integration\n\nNuxt 3 is currently in beta and an official module is planned after the final release. At the moment, PrimeVue can easily be used with Nuxt 3 using a custom plugin.\n\n**nuxt.config.js**\n\nOpen the nuxt configuration file and add the css dependencies.\n\n```javascript\nimport { defineNuxtConfig } from 'nuxt3';\n\nexport default defineNuxtConfig({\n    css: [\n        'primevue/resources/themes/saga-blue/theme.css',\n        'primevue/resources/primevue.css',\n        'primeicons/primeicons.css'\n    ]\n})\n```\n\n**primevue.js**\n\nCreate a file like **primevue.js** under the plugins directory for the configuration.\n\n```javascript\nimport { defineNuxtPlugin } from \"#app\";\nimport PrimeVue from \"primevue/config\";\nimport Button from \"primevue/button\";\n\nexport default defineNuxtPlugin((nuxtApp) => {\n    nuxtApp.vueApp.use(PrimeVue, {ripple: true});\n    nuxtApp.vueApp.component('Button', Button);\n    //other components that you need\n});\n```\n\n## Configuration\n\n### Dependencies\n\nPrimeVue components are not wrappers and implemented natively with the Vue APIs. There are some exceptions having 3rd party dependencies such as Quill for Editor.\n\nIn addition, components require PrimeIcons library for icons.\n\n```javascript\ndependencies: {\n    \"vue\": \"^3.0.0\",\n    \"primeicons\": \"^5.0.0\"\n}\n```\n\n## Prop Cases\n\nComponent prop names are described as camel case throughout the documentation however camel-case is also fully supported. Events on the other hand should always be camel-case.\n\n```vue\n<Dialog :showHeader=\"false\"></Dialog>\n\n<!-- can be written as -->\n\n<Dialog :show-header=\"false\"></Dialog>\n```\n\n## Ripple\n\nRipple is an optional animation for the supported components such as buttons. It is disabled by default and needs to be enabled at your app's entry file (e.g. main.js) during the PrimeVue setup. \n\n```javascript\nimport {createApp} from 'vue';\nimport PrimeVue from 'primevue/config';\nconst app = createApp(App);\n\napp.use(PrimeVue, {ripple: true});\n```\n\n## Outlined vs Filled Input Styles\n\nInput fields come in two styles, default is ***outlined*** with borders around the field whereas ***filled*** alternative adds a background color to the field. Applying *p-input-filled* to an ancestor of an input enables the filled style. If you prefer to use filled inputs in the entire application, use a global container such as the document body or the application element to apply the style class. Note that in case you add it to the application element, components that are teleported to the document body such as Dialog will not be able to display filled inputs as they are not a descendant of the application root element in the DOM tree, to resolve this case set inputStyle to 'filled' at PrimeVue configuration as well.\n\n```javascript\nimport {createApp} from 'vue';\nimport PrimeVue from 'primevue/config';\nconst app = createApp(App);\n\napp.use(PrimeVue, {inputStyle: 'filled'});\n```\n\n## ZIndex Layering\n\nZIndexes are managed automatically to make sure layering of overlay components work seamlessly when combining multiple components. Still there may be cases where you'd like to configure the configure default values such as a custom layout where header section is fixed. In a case like this, dropdown needs to be displayed below the application header but a modal dialog should be displayed above. PrimeVue configuration offers the ***zIndex*** property to customize the default values for components categories. Default values are described below and can be customized when setting up PrimeVue.\n\n```javascript\nimport {createApp} from 'vue';\nimport PrimeVue from 'primevue/config';\nconst app = createApp(App);\n\napp.use(PrimeVue, {\n    zIndex: {\n        modal: 1100,        //dialog, sidebar\n        overlay: 1000,      //dropdown, overlaypanel\n        menu: 1000,         //overlay menus\n        tooltip: 1100       //tooltip\n    }\n});\n```\n\n## Locale\n\nPrimeVue provides a Locale API to support i18n and l7n, visit the [Locale](https://www.primefaces.org/primevue/showcase/#/locale) documentation for more information.\n\n## Quickstart with Vue CLI\n\nAn [example application](https://github.com/primefaces/primevue-quickstart) based on Vue CLI is available at github.\n\n## Quickstart with Vite\n\nA [starter application](https://github.com/primefaces/primevue-quickstart-vite) is also provided for Vite users.\n\n## Quickstart with Nuxt\n\nA [sample application](https://github.com/primefaces/primevue-quickstart-nuxt3) is created for Nuxt 3 users.\n\n## Quickstart with TypeScript\n\nTypescript is fully supported as type definition files are provided in the npm package of PrimeVue. A sample [typescript-primevue](https://github.com/primefaces/primevue-typescript-quickstart) application with Vue CLI is available as at github."},"npm":{"downloads":[{"from":"2023-01-12T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":13730},{"from":"2023-01-06T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":73171},{"from":"2022-12-14T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":273722},{"from":"2022-10-15T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":905466},{"from":"2022-07-17T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":1706054},{"from":"2022-01-13T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":2867353}],"starsCount":0},"github":{"homepage":"https://www.primefaces.org/primevue","starsCount":3234,"forksCount":623,"subscribersCount":50,"issues":{"count":3516,"openCount":248,"distribution":{"3600":1029,"10800":120,"32400":76,"97200":260,"291600":255,"874800":559,"2624400":526,"7873200":358,"23619600":220,"70858800":105,"212576400":8},"isDisabled":false},"contributors":[{"username":"cagataycivici","commitsCount":2325},{"username":"tugcekucukoglu","commitsCount":998},{"username":"mertsincan","commitsCount":599},{"username":"bahadirsofuoglu","commitsCount":99},{"username":"yigitfindikli","commitsCount":94},{"username":"Merve7","commitsCount":80},{"username":"onursenture","commitsCount":65},{"username":"lochstar","commitsCount":5},{"username":"James-Laidlaw","commitsCount":4},{"username":"titou10titou10","commitsCount":4},{"username":"Nerderer","commitsCount":3},{"username":"thomaswan","commitsCount":3},{"username":"hsldymq","commitsCount":3},{"username":"nestorrente","commitsCount":3},{"username":"Ancient-Dragon","commitsCount":3},{"username":"RmRaja","commitsCount":2},{"username":"zmwangx","commitsCount":2},{"username":"Aysnine","commitsCount":2},{"username":"Burtchen","commitsCount":2},{"username":"shadoWalker89","commitsCount":2},{"username":"JohnCampionJr","commitsCount":2},{"username":"colinbes","commitsCount":2},{"username":"BenjaminMINK","commitsCount":2},{"username":"harveylee","commitsCount":2},{"username":"Vladjmg","commitsCount":2},{"username":"LorianColtof","commitsCount":2},{"username":"volvachev","commitsCount":2},{"username":"SaldanhaASCS","commitsCount":1},{"username":"jbrunken","commitsCount":1},{"username":"RobertoIzzi","commitsCount":1},{"username":"ajacob","commitsCount":1},{"username":"sINFalgras","commitsCount":1},{"username":"GMihalkow","commitsCount":1},{"username":"rathiayush","commitsCount":1},{"username":"thestonehead","commitsCount":1},{"username":"garel","commitsCount":1},{"username":"Christoph-Wagner","commitsCount":1},{"username":"Goodosky","commitsCount":1},{"username":"ntedgi","commitsCount":1},{"username":"manonthemat","commitsCount":1},{"username":"noamichael","commitsCount":1},{"username":"sqores","commitsCount":1},{"username":"pniedermeyer","commitsCount":1},{"username":"dema121","commitsCount":1},{"username":"Bomberus","commitsCount":1},{"username":"Rakasch","commitsCount":1},{"username":"sayinserdar","commitsCount":1},{"username":"asanovr","commitsCount":1},{"username":"evolvedlight","commitsCount":1},{"username":"TKharaishvili","commitsCount":1},{"username":"ythomop","commitsCount":1},{"username":"ahmedkandel","commitsCount":1},{"username":"Dodobibi","commitsCount":1},{"username":"Mirko92","commitsCount":1},{"username":"nbrylevv","commitsCount":1},{"username":"mouadTaoussi","commitsCount":1},{"username":"yichunsung","commitsCount":1},{"username":"KayJay89","commitsCount":1},{"username":"samperumal","commitsCount":1},{"username":"mrichar1","commitsCount":1},{"username":"jpeletier","commitsCount":1},{"username":"ryan-ohern","commitsCount":1},{"username":"hoiast","commitsCount":1},{"username":"zechmeister","commitsCount":1},{"username":"Stijn98s","commitsCount":1},{"username":"julienripet","commitsCount":1},{"username":"ReevMich","commitsCount":1},{"username":"oldbig","commitsCount":1},{"username":"sid-6581","commitsCount":1},{"username":"Enoooch","commitsCount":1},{"username":"antony-k1208","commitsCount":1},{"username":"franklx","commitsCount":1},{"username":"shiftgeist","commitsCount":1},{"username":"shubhamranjan","commitsCount":1},{"username":"FlipWarthog","commitsCount":1},{"username":"johshisha","commitsCount":1},{"username":"Alketta","commitsCount":1},{"username":"deniciocode","commitsCount":1},{"username":"robotpsychology","commitsCount":1},{"username":"Oldenborg","commitsCount":1},{"username":"jmverges","commitsCount":1},{"username":"rotu","commitsCount":1},{"username":"microchi","commitsCount":1},{"username":"hakiiver2","commitsCount":1},{"username":"melloware","commitsCount":1},{"username":"nur-hafiz","commitsCount":1},{"username":"shayyzhakov","commitsCount":1},{"username":"despreston","commitsCount":1},{"username":"bisubus","commitsCount":1},{"username":"NikoGJ","commitsCount":1},{"username":"engelhjs","commitsCount":1},{"username":"rubjo","commitsCount":1},{"username":"21skills","commitsCount":1},{"username":"popov-a-e","commitsCount":1},{"username":"robbienohra","commitsCount":1},{"username":"loneil","commitsCount":1},{"username":"lriecken","commitsCount":1},{"username":"mmap24","commitsCount":1},{"username":"GingaaBread","commitsCount":1},{"username":"emrekaansurgun","commitsCount":1}],"commits":[{"from":"2023-01-06T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":40},{"from":"2022-12-14T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":128},{"from":"2022-10-15T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":174},{"from":"2022-07-17T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":425},{"from":"2022-01-13T00:00:00.000Z","to":"2023-01-13T00:00:00.000Z","count":904}]},"source":{"files":{"readmeSize":8911,"testsSize":253007,"hasChangelog":true},"linters":["eslint","prettier"]}},"evaluation":{"quality":{"carefulness":0.9199999999999999,"tests":0.3,"health":1,"branding":0.4},"popularity":{"communityInterest":4007,"downloadsCount":301822,"downloadsAcceleration":722.6552891933034,"dependentsCount":0},"maintenance":{"releasesFrequency":1,"commitsFrequency":1,"openIssues":1,"issuesDistribution":0.7981064115065821}},"score":{"final":0.7386095695429549,"detail":{"quality":0.8859397706201295,"popularity":0.35105144193720084,"maintenance":0.999884667653988}}}