New build improvements based on rollup.

pull/880/head
Cagatay Civici 2021-01-18 14:20:34 +03:00
parent 7e6a166fb6
commit cdeb4ae1cc
185 changed files with 849 additions and 185 deletions

19
build-meta.js Normal file
View File

@ -0,0 +1,19 @@
const fs = require('fs-extra');
const path = require('path');
fs.readdirSync(path.resolve(__dirname, './src/components/')).forEach(folder => {
fs.readdirSync(path.resolve(__dirname, './src/components/' + folder)).forEach(file => {
if (file ==='package.json') {
fs.copySync(path.resolve(__dirname, './src/components/' + folder) + '/package.json', 'dist/' + folder + '/package.json');
}
if (file.endsWith('d.ts')) {
fs.copySync(path.resolve(__dirname, './src/components/' + folder) + '/' + file, 'dist/' + folder + '/' + file);
}
})
});
fs.copySync(path.resolve(__dirname, './package-build.json'), 'dist/package.json');
fs.copySync(path.resolve(__dirname, './README.md'), 'dist/README.md');
fs.copySync(path.resolve(__dirname, './LICENSE.md'), 'dist/LICENSE.md');

View File

@ -33,5 +33,5 @@ gulp.task('images', function() {
});
//Building project with run sequence
gulp.task('build-resources', ['build-css', 'images', 'build-themes']);
gulp.task('build-styles', ['build-css', 'images', 'build-themes']);

View File

@ -10,7 +10,7 @@
"scripts": {
"serve": "vue-cli-service serve",
"build-app": "vue-cli-service build",
"build-lib": "node build-lib && gulp build-resources",
"build-lib": "rollup -c && node build-meta && gulp build-styles",
"lint": "vue-cli-service lint",
"test:unit": "vue-cli-service test:unit"
},

View File

@ -6,23 +6,22 @@ const path = require('path');
let entries = [];
fs.readdirSync(path.resolve(__dirname, './src/components/')).forEach(folder => {
fs.readdirSync(path.resolve(__dirname, './src/components/' + folder)).forEach(file => {
if (file !== 'index.js' && file !== 'index.d.ts') {
let name = file.split(/(.vue)$|(.js)$/)[0].toLowerCase();
if (/\.vue$/.test(file)) {
function addEntry(folder, inFile, outFile) {
entries.push({
input: 'src/components/' + folder + '/' + file,
external: [/\.\./],
input: 'src/components/' + folder + '/' + inFile,
output: [
{
format: 'esm',
file: 'dist/' + folder + '/' + name + '.esm.js'
file: 'dist/' + folder + '/' + outFile + '.esm.js'
},
{
format: 'cjs',
file: 'dist/' + folder + '/' + outFile + '.cjs.js'
},
{
format: 'umd',
name: 'primevue',
file: 'dist/' + folder + '/' + name + '.umd.js'
file: 'dist/' + folder + '/' + outFile + '.umd.js'
}
],
plugins: [
@ -30,9 +29,44 @@ fs.readdirSync(path.resolve(__dirname, './src/components/')).forEach(folder => {
postcss()
]
});
}
}
function addSFC() {
fs.readdirSync(path.resolve(__dirname, './src/components/')).forEach(folder => {
fs.readdirSync(path.resolve(__dirname, './src/components/' + folder)).forEach(file => {
let name = file.split(/(.vue)$|(.js)$/)[0].toLowerCase();
if (/\.vue$/.test(file)) {
addEntry(folder, file, name);
}
});
});
});
}
function addDirectives() {
addEntry('badgedirective', 'BadgeDirective.js', 'badgedirective');
addEntry('ripple', 'Ripple.js', 'ripple');
addEntry('tooltip', 'Tooltip.js', 'tooltip');
}
function addConfig() {
addEntry('config', 'PrimeVue.js', 'config');
}
function addUtils() {
addEntry('utils', 'Utils.js', 'utils');
}
function addServices() {
addEntry('confirmationservice', 'ConfirmationService.js', 'confirmationservice');
addEntry('confirmationeventbus', 'ConfirmationEventBus.js', 'confirmationeventbus');
addEntry('toastservice', 'ToastService.js', 'toastservice');
addEntry('toasteventbus', 'ToastEventBus.js', 'toasteventbus');
}
addSFC();
addDirectives();
addConfig();
addUtils();
addServices();
export default entries;

View File

@ -22,7 +22,7 @@
</template>
<script>
import UniqueComponentId from '../utils/UniqueComponentId';
import {UniqueComponentId} from 'primevue/utils';
export default {
emits: ['tab-close', 'tab-open', 'update:activeIndex'],

View File

@ -0,0 +1,6 @@
{
"main": "./accordion.cjs.js",
"module": "./accordion.esm.js",
"browser": "./accordion.umd.js",
"types": "./Accordion.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./accordiontab.cjs.js",
"module": "./accordiontab.esm.js",
"browser": "./accordiontab.umd.js",
"types": "./AccordionTab.d.ts"
}

View File

@ -29,12 +29,12 @@
</template>
<script>
import ConnectedOverlayScrollHandler from '../utils/ConnectedOverlayScrollHandler';
import UniqueComponentId from '../utils/UniqueComponentId';
import ObjectUtils from '../utils/ObjectUtils';
import DomHandler from '../utils/DomHandler';
import Button from '../button/Button';
import Ripple from '../ripple/Ripple';
import {ConnectedOverlayScrollHandler} from 'primevue/utils';
import {UniqueComponentId} from 'primevue/utils';
import {ObjectUtils} from 'primevue/utils';
import {DomHandler} from 'primevue/utils';
import Button from 'primevue/button';
import Ripple from 'primevue/ripple';
export default {
inheritAttrs: false,

View File

@ -0,0 +1,6 @@
{
"main": "./autocomplete.cjs.js",
"module": "./autocomplete.esm.js",
"browser": "./autocomplete.umd.js",
"types": "./AutoComplete.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./avatar.cjs.js",
"module": "./avatar.esm.js",
"browser": "./avatar.umd.js",
"types": "./Avatar.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./avatargroup.cjs.js",
"module": "./avatargroup.esm.js",
"browser": "./avatargroup.umd.js",
"types": "./AvatarGroup.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./badge.cjs.js",
"module": "./badge.esm.js",
"browser": "./badge.umd.js",
"types": "./Badge.d.ts"
}

View File

@ -1,5 +1,5 @@
import DomHandler from '../utils/DomHandler';
import UniqueComponentId from '../utils/UniqueComponentId';
import {DomHandler} from 'primevue/utils';
import {UniqueComponentId} from 'primevue/utils';
const BadgeDirective = {
beforeMount(el, options) {

View File

@ -0,0 +1,6 @@
{
"main": "./badgedirective.cjs.js",
"module": "./badgedirective.esm.js",
"browser": "./badgedirective.umd.js",
"types": "./BadgeDirective.d.ts"
}

View File

@ -5,7 +5,7 @@
</template>
<script>
import DomHandler from '../utils/DomHandler';
import {DomHandler} from 'primevue/utils';
export default {
emits: ['block', 'unblock'],

View File

@ -0,0 +1,6 @@
{
"main": "./blockui.cjs.js",
"module": "./blockui.esm.js",
"browser": "./blockui.umd.js",
"types": "./BlockUI.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./breadcrumb.cjs.js",
"module": "./breadcrumb.esm.js",
"browser": "./breadcrumb.umd.js",
"types": "./Breadcrumb.d.ts"
}

View File

@ -9,7 +9,7 @@
</template>
<script>
import Ripple from '../ripple/Ripple';
import Ripple from 'primevue/ripple';
export default {
props: {

View File

@ -0,0 +1,6 @@
{
"main": "./button.cjs.js",
"module": "./button.esm.js",
"browser": "./button.umd.js",
"types": "./Button.d.ts"
}

View File

@ -130,11 +130,11 @@
</template>
<script>
import ConnectedOverlayScrollHandler from '../utils/ConnectedOverlayScrollHandler';
import InputText from '../inputtext/InputText';
import Button from '../button/Button';
import DomHandler from '../utils/DomHandler';
import Ripple from '../ripple/Ripple';
import {ConnectedOverlayScrollHandler} from 'primevue/utils';
import InputText from 'primevue/inputtext';
import Button from 'primevue/button';
import {DomHandler} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
inheritAttrs: false,

View File

@ -0,0 +1,6 @@
{
"main": "./calendar.cjs.js",
"module": "./calendar.esm.js",
"browser": "./calendar.umd.js",
"types": "./Calendar.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./card.cjs.js",
"module": "./card.esm.js",
"browser": "./card.umd.js",
"types": "./Card.d.ts"
}

View File

@ -53,9 +53,9 @@
</template>
<script>
import UniqueComponentId from '../utils/UniqueComponentId';
import DomHandler from '../utils/DomHandler';
import Ripple from '../ripple/Ripple';
import {UniqueComponentId} from 'primevue/utils';
import {DomHandler} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
emits: ['update:page'],

View File

@ -0,0 +1,6 @@
{
"main": "./carousel.cjs.js",
"module": "./carousel.esm.js",
"browser": "./carousel.umd.js",
"types": "./Carousel.d.ts"
}

View File

@ -26,9 +26,9 @@
</template>
<script>
import ConnectedOverlayScrollHandler from '../utils/ConnectedOverlayScrollHandler';
import ObjectUtils from '../utils/ObjectUtils';
import DomHandler from '../utils/DomHandler';
import {ConnectedOverlayScrollHandler} from 'primevue/utils';
import {ObjectUtils} from 'primevue/utils';
import {DomHandler} from 'primevue/utils';
import CascadeSelectSub from './CascadeSelectSub.vue';
export default {

View File

@ -18,9 +18,9 @@
</template>
<script>
import ObjectUtils from '../utils/ObjectUtils';
import DomHandler from '../utils/DomHandler';
import Ripple from '../ripple/Ripple';
import {ObjectUtils} from 'primevue/utils';
import {DomHandler} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
emits: ['option-select','optiongroup-select'],

View File

@ -0,0 +1,6 @@
{
"main": "./cascadeselect.cjs.js",
"module": "./cascadeselect.esm.js",
"browser": "./cascadeselect.umd.js",
"types": "./CascadeSelect.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./chart.cjs.js",
"module": "./chart.esm.js",
"browser": "./chart.umd.js",
"types": "./Chart.d.ts"
}

View File

@ -10,7 +10,7 @@
</template>
<script>
import ObjectUtils from '../utils/ObjectUtils';
import {ObjectUtils} from 'primevue/utils';
export default {
inheritAttrs: false,

View File

@ -0,0 +1,6 @@
{
"main": "./checkbox.cjs.js",
"module": "./checkbox.esm.js",
"browser": "./checkbox.umd.js",
"types": "./Checkbox.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./chip.cjs.js",
"module": "./chip.esm.js",
"browser": "./chip.umd.js",
"types": "./Chip.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./chips.cjs.js",
"module": "./chips.esm.js",
"browser": "./chips.umd.js",
"types": "./Chips.d.ts"
}

View File

@ -20,8 +20,8 @@
</template>
<script>
import ConnectedOverlayScrollHandler from '../utils/ConnectedOverlayScrollHandler';
import DomHandler from '../utils/DomHandler';
import {ConnectedOverlayScrollHandler} from 'primevue/utils';
import {DomHandler} from 'primevue/utils';
export default {
emits: ['update:modelValue'],

View File

@ -0,0 +1,6 @@
{
"main": "./colorpicker.cjs.js",
"module": "./colorpicker.esm.js",
"browser": "./colorpicker.umd.js",
"types": "./ColorPicker.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./column.cjs.js",
"module": "./column.esm.js",
"browser": "./column.umd.js",
"types": "./Column.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./columngroup.cjs.js",
"module": "./columngroup.esm.js",
"browser": "./columngroup.umd.js",
"types": "./ColumnGroup.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./common.cjs.js",
"module": "./common.esm.js",
"browser": "./common.umd.js",
"types": "./Common.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./config.cjs.js",
"module": "./config.esm.js",
"browser": "./config.umd.js",
"types": "./PrimeVue.d.ts"
}

View File

@ -0,0 +1,5 @@
{
"main": "./confirmationeventbus.cjs.js",
"module": "./confirmationeventbus.esm.js",
"browser": "./confirmationeventbus.umd.js"
}

View File

@ -1,5 +1,5 @@
import ConfirmationEventBus from './ConfirmationEventBus';
import {PrimeVueConfirmSymbol} from '../useconfirm';
import ConfirmationEventBus from 'primevue/confirmationeventbus';
import {PrimeVueConfirmSymbol} from 'primevue/useconfirm';
export default {
install: (app) => {

View File

@ -0,0 +1,6 @@
{
"main": "./confirmationservice.cjs.js",
"module": "./confirmationservice.esm.js",
"browser": "./confirmationservice.umd.js",
"types": "./ConfirmationService.d.ts"
}

View File

@ -10,9 +10,9 @@
</template>
<script>
import ConfirmationEventBus from '../confirmationservice/ConfirmationEventBus';
import Dialog from '../dialog/Dialog';
import Button from '../button/Button';
import ConfirmationEventBus from 'primevue/confirmationeventbus';
import Dialog from 'primevue/dialog';
import Button from 'primevue/button';
export default {
props: {

View File

@ -0,0 +1,6 @@
{
"main": "./confirmdialog.cjs.js",
"module": "./confirmdialog.esm.js",
"browser": "./confirmdialog.umd.js",
"types": "./ConfirmDialog.d.ts"
}

View File

@ -14,10 +14,10 @@
</template>
<script>
import ConfirmationEventBus from '../confirmationservice/ConfirmationEventBus';
import ConnectedOverlayScrollHandler from '../utils/ConnectedOverlayScrollHandler';
import DomHandler from '../utils/DomHandler';
import Button from '../button/Button';
import ConfirmationEventBus from 'primevue/confirmationeventbus';
import {ConnectedOverlayScrollHandler} from 'primevue/utils';
import {DomHandler} from 'primevue/utils';
import Button from 'primevue/button';
export default {
props: {

View File

@ -0,0 +1,6 @@
{
"main": "./confirmpopup.cjs.js",
"module": "./confirmpopup.esm.js",
"browser": "./confirmpopup.umd.js",
"types": "./ConfirmPopup.d.ts"
}

View File

@ -7,7 +7,7 @@
</template>
<script>
import DomHandler from '../utils/DomHandler';
import {DomHandler} from 'primevue/utils';
import ContextMenuSub from './ContextMenuSub.vue';
export default {

View File

@ -26,8 +26,8 @@
</template>
<script>
import DomHandler from '../utils/DomHandler';
import Ripple from '../ripple/Ripple';
import {DomHandler} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
emits: ['leaf-click'],

View File

@ -0,0 +1,6 @@
{
"main": "./contextmenu.cjs.js",
"module": "./contextmenu.esm.js",
"browser": "./contextmenu.umd.js",
"types": "./ContextMenu.d.ts"
}

View File

@ -30,11 +30,11 @@
</template>
<script>
import DomHandler from '../utils/DomHandler';
import ObjectUtils from '../utils/ObjectUtils';
import {DomHandler} from 'primevue/utils';
import {ObjectUtils} from 'primevue/utils';
import RowRadioButton from './RowRadioButton.vue';
import RowCheckbox from './RowCheckbox.vue';
import Ripple from '../ripple/Ripple';
import Ripple from 'primevue/ripple';
export default {
emits: ['cell-edit-init', 'cell-edit-complete', 'cell-edit-cancel', 'row-edit-init', 'row-edit-save', 'row-edit-cancel',

View File

@ -130,10 +130,10 @@
</template>
<script>
import ObjectUtils from '../utils/ObjectUtils';
import FilterUtils from '../utils/FilterUtils';
import DomHandler from '../utils/DomHandler';
import Paginator from '../paginator/Paginator';
import {ObjectUtils} from 'primevue/utils';
import {FilterUtils} from 'primevue/utils';
import {DomHandler} from 'primevue/utils';
import Paginator from 'primevue/paginator';
import ScrollableView from './ScrollableView.vue';
import TableHeader from './TableHeader.vue';
import TableBody from './TableBody.vue';

View File

@ -46,7 +46,7 @@
</template>
<script>
import DomHandler from '../utils/DomHandler';
import {DomHandler} from 'primevue/utils';
import TableLoadingBody from './TableLoadingBody.vue';
export default {

View File

@ -44,7 +44,7 @@
</template>
<script>
import ObjectUtils from '../utils/ObjectUtils';
import {ObjectUtils} from 'primevue/utils';
import BodyCell from './BodyCell.vue';
export default {

View File

@ -45,7 +45,7 @@
</template>
<script>
import DomHandler from '../utils/DomHandler';
import {DomHandler} from 'primevue/utils';
import HeaderCheckbox from './HeaderCheckbox.vue';
export default {

View File

@ -0,0 +1,6 @@
{
"main": "./datatable.cjs.js",
"module": "./datatable.esm.js",
"browser": "./datatable.umd.js",
"types": "./DataTable.d.ts"
}

View File

@ -40,8 +40,8 @@
</div>
</template>
<script>
import ObjectUtils from '../utils/ObjectUtils';
import Paginator from '../paginator/Paginator';
import {ObjectUtils} from 'primevue/utils';
import Paginator from 'primevue/paginator';
export default {
emits: ['update:first', 'update:rows', 'page'],

View File

@ -0,0 +1,6 @@
{
"main": "./dataview.cjs.js",
"module": "./dataview.esm.js",
"browser": "./dataview.umd.js",
"types": "./DataView.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./dataviewlayoutoptions.cjs.js",
"module": "./dataviewlayoutoptions.esm.js",
"browser": "./dataviewlayoutoptions.umd.js",
"types": "./DataViewLayoutOptions.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./deferredcontent.cjs.js",
"module": "./deferredcontent.esm.js",
"browser": "./deferredcontent.umd.js",
"types": "./DeferredContent.d.ts"
}

View File

@ -26,9 +26,8 @@
</div>
</template>
<script>
import UniqueComponentId from '../utils/UniqueComponentId';
import DomHandler from '../utils/DomHandler';
import Ripple from '../ripple/Ripple';
import {UniqueComponentId,DomHandler} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
inheritAttrs: false,

View File

@ -0,0 +1,6 @@
{
"main": "./dialog.cjs.js",
"module": "./dialog.esm.js",
"browser": "./dialog.umd.js",
"types": "./Dialog.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./divider.cjs.js",
"module": "./divider.esm.js",
"browser": "./divider.umd.js",
"types": "./Divider.d.ts"
}

View File

@ -40,10 +40,10 @@
</template>
<script>
import ConnectedOverlayScrollHandler from '../utils/ConnectedOverlayScrollHandler';
import ObjectUtils from '../utils/ObjectUtils';
import DomHandler from '../utils/DomHandler';
import Ripple from '../ripple/Ripple';
import {ConnectedOverlayScrollHandler} from 'primevue/utils';
import {ObjectUtils} from 'primevue/utils';
import {DomHandler} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
emits: ['update:modelValue', 'before-show', 'before-hide', 'show', 'hide', 'change', 'filter'],

View File

@ -0,0 +1,6 @@
{
"main": "./dropdown.cjs.js",
"module": "./dropdown.esm.js",
"browser": "./dropdown.umd.js",
"types": "./Dropdown.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./editor.cjs.js",
"module": "./editor.esm.js",
"browser": "./editor.umd.js",
"types": "./Editor.d.ts"
}

View File

@ -24,8 +24,8 @@
</template>
<script>
import UniqueComponentId from '../utils/UniqueComponentId';
import Ripple from '../ripple/Ripple';
import {UniqueComponentId} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
emits: ['update:collapsed', 'toggle'],

View File

@ -0,0 +1,6 @@
{
"main": "./fieldset.cjs.js",
"module": "./fieldset.esm.js",
"browser": "./fieldset.umd.js",
"types": "./Fieldset.d.ts"
}

View File

@ -40,11 +40,11 @@
</template>
<script>
import Button from '../button/Button';
import ProgressBar from '../progressbar/ProgressBar';
import Message from '../message/Message';
import DomHandler from '../utils/DomHandler';
import Ripple from '../ripple/Ripple';
import Button from 'primevue/button';
import ProgressBar from 'primevue/progressbar';
import Message from 'primevue/message';
import {DomHandler} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
emits: ['select', 'uploader', 'before-upload', 'progress', 'upload', 'error', 'before-send', 'clear'],

View File

@ -0,0 +1,6 @@
{
"main": "./fileupload.cjs.js",
"module": "./fileupload.esm.js",
"browser": "./fileupload.umd.js",
"types": "./FileUpload.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./fullcalendar.cjs.js",
"module": "./fullcalendar.esm.js",
"browser": "./fullcalendar.umd.js",
"types": "./FullCalendar.d.ts"
}

View File

@ -10,7 +10,7 @@
<script>
import GalleriaContent from './GalleriaContent.vue';
import DomHandler from '../utils/DomHandler';
import {DomHandler} from 'primevue/utils';
export default {
inheritAttrs: false,

View File

@ -24,11 +24,11 @@
</template>
<script>
import UniqueComponentId from '../utils/UniqueComponentId';
import {UniqueComponentId} from 'primevue/utils';
import GalleriaItem from './GalleriaItem.vue';
import GalleriaThumbnails from './GalleriaThumbnails.vue';
import GalleriaItemSlot from './GalleriaItemSlot.vue';
import Ripple from '../ripple/Ripple';
import Ripple from 'primevue/ripple';
export default {
inheritAttrs: false,

View File

@ -26,7 +26,7 @@
</template>
<script>
import Ripple from '../ripple/Ripple';
import Ripple from 'primevue/ripple';
export default {
emits: ['start-slideshow', 'stop-slideshow', 'update:activeIndex'],

View File

@ -26,8 +26,8 @@
</template>
<script>
import DomHandler from '../utils/DomHandler';
import Ripple from '../ripple/Ripple';
import {DomHandler} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
emits: ['stop-slideshow', 'update:activeIndex'],

View File

@ -0,0 +1,6 @@
{
"main": "./galleria.cjs.js",
"module": "./galleria.esm.js",
"browser": "./galleria.umd.js",
"types": "./Galleria.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./inlinemessage.cjs.js",
"module": "./inlinemessage.esm.js",
"browser": "./inlinemessage.umd.js",
"types": "./InlineMessage.d.ts"
}

View File

@ -11,7 +11,7 @@
</template>
<script>
import Button from '../button/Button';
import Button from 'primevue/button';
export default {
emits: ['open', 'close', 'update:active'],

View File

@ -0,0 +1,6 @@
{
"main": "./inplace.cjs.js",
"module": "./inplace.esm.js",
"browser": "./inplace.umd.js",
"types": "./Inplace.d.ts"
}

View File

@ -4,7 +4,7 @@
</template>
<script>
import DomHandler from '../utils/DomHandler';
import {DomHandler} from 'primevue/utils';
export default {
emits: ['update:modelValue', 'focus', 'blur', 'keydown', 'complete', 'keypress', 'paste'],

View File

@ -0,0 +1,6 @@
{
"main": "./inputmask.cjs.js",
"module": "./inputmask.esm.js",
"browser": "./inputmask.umd.js",
"types": "./InputMask.d.ts"
}

View File

@ -12,8 +12,8 @@
</template>
<script>
import InputText from '../inputtext/InputText';
import Button from '../button/Button';
import InputText from 'primevue/inputtext';
import Button from 'primevue/button';
export default {
inheritAttrs: false,

View File

@ -0,0 +1,6 @@
{
"main": "./inputnumber.cjs.js",
"module": "./inputnumber.esm.js",
"browser": "./inputnumber.umd.js",
"types": "./InputNumber.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./inputswitch.cjs.js",
"module": "./inputswitch.esm.js",
"browser": "./inputswitch.umd.js",
"types": "./InputSwitch.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./inputtext.cjs.js",
"module": "./inputtext.esm.js",
"browser": "./inputtext.umd.js",
"types": "./InputText.d.ts"
}

View File

@ -0,0 +1,6 @@
{
"main": "./knob.cjs.js",
"module": "./knob.esm.js",
"browser": "./knob.umd.js",
"types": "./Knob.d.ts"
}

View File

@ -21,9 +21,9 @@
</template>
<script>
import ObjectUtils from '../utils/ObjectUtils';
import DomHandler from '../utils/DomHandler';
import Ripple from '../ripple/Ripple';
import {ObjectUtils} from 'primevue/utils';
import {DomHandler} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
emits: ['update:modelValue', 'change', 'filter'],

View File

@ -0,0 +1,6 @@
{
"main": "./listbox.cjs.js",
"module": "./listbox.esm.js",
"browser": "./listbox.umd.js",
"types": "./Listbox.d.ts"
}

View File

@ -51,8 +51,8 @@
</template>
<script>
import DomHandler from '../utils/DomHandler';
import Ripple from '../ripple/Ripple';
import {DomHandler} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
props: {

View File

@ -0,0 +1,6 @@
{
"main": "./megamenu.cjs.js",
"module": "./megamenu.esm.js",
"browser": "./megamenu.umd.js",
"types": "./MegaMenu.d.ts"
}

View File

@ -19,8 +19,8 @@
</template>
<script>
import ConnectedOverlayScrollHandler from '../utils/ConnectedOverlayScrollHandler';
import DomHandler from '../utils/DomHandler';
import {ConnectedOverlayScrollHandler} from 'primevue/utils';
import {DomHandler} from 'primevue/utils';
import Menuitem from './Menuitem.vue';
export default {

View File

@ -14,7 +14,7 @@
</template>
<script>
import Ripple from '../ripple/Ripple';
import Ripple from 'primevue/ripple';
export default {
inheritAttrs: false,

View File

@ -0,0 +1,6 @@
{
"main": "./menu.cjs.js",
"module": "./menu.esm.js",
"browser": "./menu.umd.js",
"types": "./Menu.d.ts"
}

View File

@ -15,7 +15,7 @@
<script>
import MenubarSub from './MenubarSub.vue';
import DomHandler from '../utils/DomHandler';
import {DomHandler} from 'primevue/utils';
export default {
props: {

View File

@ -24,8 +24,8 @@
</template>
<script>
import DomHandler from '../utils/DomHandler';
import Ripple from '../ripple/Ripple';
import {DomHandler} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
name: 'sub-menu',

View File

@ -0,0 +1,6 @@
{
"main": "./menubar.cjs.js",
"module": "./menubar.esm.js",
"browser": "./menubar.umd.js",
"types": "./Menubar.d.ts"
}

View File

@ -15,7 +15,7 @@
</template>
<script>
import Ripple from '../ripple/Ripple';
import Ripple from 'primevue/ripple';
export default {
emits: ['close'],

View File

@ -0,0 +1,6 @@
{
"main": "./message.cjs.js",
"module": "./message.esm.js",
"browser": "./message.umd.js",
"types": "./Message.d.ts"
}

View File

@ -64,10 +64,10 @@
</template>
<script>
import ConnectedOverlayScrollHandler from '../utils/ConnectedOverlayScrollHandler';
import ObjectUtils from '../utils/ObjectUtils';
import DomHandler from '../utils/DomHandler';
import Ripple from '../ripple/Ripple';
import {ConnectedOverlayScrollHandler} from 'primevue/utils';
import {ObjectUtils} from 'primevue/utils';
import {DomHandler} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
emits: ['update:modelValue', 'before-show', 'before-hide', 'change', 'show', 'hide', 'filter'],

View File

@ -0,0 +1,6 @@
{
"main": "./multiselect.cjs.js",
"module": "./multiselect.esm.js",
"browser": "./multiselect.umd.js",
"types": "./MultiSelect.d.ts"
}

View File

@ -24,10 +24,10 @@
</template>
<script>
import Button from '../button/Button';
import ObjectUtils from '../utils/ObjectUtils';
import DomHandler from '../utils/DomHandler';
import Ripple from '../ripple/Ripple';
import Button from 'primevue/button';
import {ObjectUtils} from 'primevue/utils';
import {DomHandler} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
emits: ['update:modelValue', 'reorder', 'update:selection', 'selection-change'],

Some files were not shown because too many files have changed in this diff Show More