New build improvements based on rollup.
parent
7e6a166fb6
commit
cdeb4ae1cc
|
@ -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');
|
|
@ -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']);
|
||||
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -6,33 +6,67 @@ 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') {
|
||||
function addEntry(folder, inFile, outFile) {
|
||||
entries.push({
|
||||
input: 'src/components/' + folder + '/' + inFile,
|
||||
output: [
|
||||
{
|
||||
format: 'esm',
|
||||
file: 'dist/' + folder + '/' + outFile + '.esm.js'
|
||||
},
|
||||
{
|
||||
format: 'cjs',
|
||||
file: 'dist/' + folder + '/' + outFile + '.cjs.js'
|
||||
},
|
||||
{
|
||||
format: 'umd',
|
||||
name: 'primevue',
|
||||
file: 'dist/' + folder + '/' + outFile + '.umd.js'
|
||||
}
|
||||
],
|
||||
plugins: [
|
||||
vue(),
|
||||
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)) {
|
||||
entries.push({
|
||||
input: 'src/components/' + folder + '/' + file,
|
||||
external: [/\.\./],
|
||||
output: [
|
||||
{
|
||||
format: 'esm',
|
||||
file: 'dist/' + folder + '/' + name + '.esm.js'
|
||||
},
|
||||
{
|
||||
format: 'umd',
|
||||
name: 'primevue',
|
||||
file: 'dist/' + folder + '/' + name + '.umd.js'
|
||||
}
|
||||
],
|
||||
plugins: [
|
||||
vue(),
|
||||
postcss()
|
||||
]
|
||||
});
|
||||
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;
|
|
@ -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'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./accordion.cjs.js",
|
||||
"module": "./accordion.esm.js",
|
||||
"browser": "./accordion.umd.js",
|
||||
"types": "./Accordion.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./accordiontab.cjs.js",
|
||||
"module": "./accordiontab.esm.js",
|
||||
"browser": "./accordiontab.umd.js",
|
||||
"types": "./AccordionTab.d.ts"
|
||||
}
|
|
@ -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,
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./autocomplete.cjs.js",
|
||||
"module": "./autocomplete.esm.js",
|
||||
"browser": "./autocomplete.umd.js",
|
||||
"types": "./AutoComplete.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./avatar.cjs.js",
|
||||
"module": "./avatar.esm.js",
|
||||
"browser": "./avatar.umd.js",
|
||||
"types": "./Avatar.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./avatargroup.cjs.js",
|
||||
"module": "./avatargroup.esm.js",
|
||||
"browser": "./avatargroup.umd.js",
|
||||
"types": "./AvatarGroup.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./badge.cjs.js",
|
||||
"module": "./badge.esm.js",
|
||||
"browser": "./badge.umd.js",
|
||||
"types": "./Badge.d.ts"
|
||||
}
|
|
@ -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) {
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./badgedirective.cjs.js",
|
||||
"module": "./badgedirective.esm.js",
|
||||
"browser": "./badgedirective.umd.js",
|
||||
"types": "./BadgeDirective.d.ts"
|
||||
}
|
|
@ -5,7 +5,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import DomHandler from '../utils/DomHandler';
|
||||
import {DomHandler} from 'primevue/utils';
|
||||
|
||||
export default {
|
||||
emits: ['block', 'unblock'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./blockui.cjs.js",
|
||||
"module": "./blockui.esm.js",
|
||||
"browser": "./blockui.umd.js",
|
||||
"types": "./BlockUI.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./breadcrumb.cjs.js",
|
||||
"module": "./breadcrumb.esm.js",
|
||||
"browser": "./breadcrumb.umd.js",
|
||||
"types": "./Breadcrumb.d.ts"
|
||||
}
|
|
@ -9,7 +9,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Ripple from '../ripple/Ripple';
|
||||
import Ripple from 'primevue/ripple';
|
||||
|
||||
export default {
|
||||
props: {
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./button.cjs.js",
|
||||
"module": "./button.esm.js",
|
||||
"browser": "./button.umd.js",
|
||||
"types": "./Button.d.ts"
|
||||
}
|
|
@ -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,
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./calendar.cjs.js",
|
||||
"module": "./calendar.esm.js",
|
||||
"browser": "./calendar.umd.js",
|
||||
"types": "./Calendar.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./card.cjs.js",
|
||||
"module": "./card.esm.js",
|
||||
"browser": "./card.umd.js",
|
||||
"types": "./Card.d.ts"
|
||||
}
|
|
@ -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'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./carousel.cjs.js",
|
||||
"module": "./carousel.esm.js",
|
||||
"browser": "./carousel.umd.js",
|
||||
"types": "./Carousel.d.ts"
|
||||
}
|
|
@ -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 {
|
||||
|
|
|
@ -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'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./cascadeselect.cjs.js",
|
||||
"module": "./cascadeselect.esm.js",
|
||||
"browser": "./cascadeselect.umd.js",
|
||||
"types": "./CascadeSelect.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./chart.cjs.js",
|
||||
"module": "./chart.esm.js",
|
||||
"browser": "./chart.umd.js",
|
||||
"types": "./Chart.d.ts"
|
||||
}
|
|
@ -10,7 +10,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import ObjectUtils from '../utils/ObjectUtils';
|
||||
import {ObjectUtils} from 'primevue/utils';
|
||||
|
||||
export default {
|
||||
inheritAttrs: false,
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./checkbox.cjs.js",
|
||||
"module": "./checkbox.esm.js",
|
||||
"browser": "./checkbox.umd.js",
|
||||
"types": "./Checkbox.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./chip.cjs.js",
|
||||
"module": "./chip.esm.js",
|
||||
"browser": "./chip.umd.js",
|
||||
"types": "./Chip.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./chips.cjs.js",
|
||||
"module": "./chips.esm.js",
|
||||
"browser": "./chips.umd.js",
|
||||
"types": "./Chips.d.ts"
|
||||
}
|
|
@ -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'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./colorpicker.cjs.js",
|
||||
"module": "./colorpicker.esm.js",
|
||||
"browser": "./colorpicker.umd.js",
|
||||
"types": "./ColorPicker.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./column.cjs.js",
|
||||
"module": "./column.esm.js",
|
||||
"browser": "./column.umd.js",
|
||||
"types": "./Column.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./columngroup.cjs.js",
|
||||
"module": "./columngroup.esm.js",
|
||||
"browser": "./columngroup.umd.js",
|
||||
"types": "./ColumnGroup.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./common.cjs.js",
|
||||
"module": "./common.esm.js",
|
||||
"browser": "./common.umd.js",
|
||||
"types": "./Common.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./config.cjs.js",
|
||||
"module": "./config.esm.js",
|
||||
"browser": "./config.umd.js",
|
||||
"types": "./PrimeVue.d.ts"
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"main": "./confirmationeventbus.cjs.js",
|
||||
"module": "./confirmationeventbus.esm.js",
|
||||
"browser": "./confirmationeventbus.umd.js"
|
||||
}
|
|
@ -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) => {
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./confirmationservice.cjs.js",
|
||||
"module": "./confirmationservice.esm.js",
|
||||
"browser": "./confirmationservice.umd.js",
|
||||
"types": "./ConfirmationService.d.ts"
|
||||
}
|
|
@ -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: {
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./confirmdialog.cjs.js",
|
||||
"module": "./confirmdialog.esm.js",
|
||||
"browser": "./confirmdialog.umd.js",
|
||||
"types": "./ConfirmDialog.d.ts"
|
||||
}
|
|
@ -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: {
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./confirmpopup.cjs.js",
|
||||
"module": "./confirmpopup.esm.js",
|
||||
"browser": "./confirmpopup.umd.js",
|
||||
"types": "./ConfirmPopup.d.ts"
|
||||
}
|
|
@ -7,7 +7,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import DomHandler from '../utils/DomHandler';
|
||||
import {DomHandler} from 'primevue/utils';
|
||||
import ContextMenuSub from './ContextMenuSub.vue';
|
||||
|
||||
export default {
|
||||
|
|
|
@ -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'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./contextmenu.cjs.js",
|
||||
"module": "./contextmenu.esm.js",
|
||||
"browser": "./contextmenu.umd.js",
|
||||
"types": "./ContextMenu.d.ts"
|
||||
}
|
|
@ -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',
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import DomHandler from '../utils/DomHandler';
|
||||
import {DomHandler} from 'primevue/utils';
|
||||
import TableLoadingBody from './TableLoadingBody.vue';
|
||||
|
||||
export default {
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import ObjectUtils from '../utils/ObjectUtils';
|
||||
import {ObjectUtils} from 'primevue/utils';
|
||||
import BodyCell from './BodyCell.vue';
|
||||
|
||||
export default {
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import DomHandler from '../utils/DomHandler';
|
||||
import {DomHandler} from 'primevue/utils';
|
||||
import HeaderCheckbox from './HeaderCheckbox.vue';
|
||||
|
||||
export default {
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./datatable.cjs.js",
|
||||
"module": "./datatable.esm.js",
|
||||
"browser": "./datatable.umd.js",
|
||||
"types": "./DataTable.d.ts"
|
||||
}
|
|
@ -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'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./dataview.cjs.js",
|
||||
"module": "./dataview.esm.js",
|
||||
"browser": "./dataview.umd.js",
|
||||
"types": "./DataView.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./dataviewlayoutoptions.cjs.js",
|
||||
"module": "./dataviewlayoutoptions.esm.js",
|
||||
"browser": "./dataviewlayoutoptions.umd.js",
|
||||
"types": "./DataViewLayoutOptions.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./deferredcontent.cjs.js",
|
||||
"module": "./deferredcontent.esm.js",
|
||||
"browser": "./deferredcontent.umd.js",
|
||||
"types": "./DeferredContent.d.ts"
|
||||
}
|
|
@ -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,
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./dialog.cjs.js",
|
||||
"module": "./dialog.esm.js",
|
||||
"browser": "./dialog.umd.js",
|
||||
"types": "./Dialog.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./divider.cjs.js",
|
||||
"module": "./divider.esm.js",
|
||||
"browser": "./divider.umd.js",
|
||||
"types": "./Divider.d.ts"
|
||||
}
|
|
@ -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'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./dropdown.cjs.js",
|
||||
"module": "./dropdown.esm.js",
|
||||
"browser": "./dropdown.umd.js",
|
||||
"types": "./Dropdown.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./editor.cjs.js",
|
||||
"module": "./editor.esm.js",
|
||||
"browser": "./editor.umd.js",
|
||||
"types": "./Editor.d.ts"
|
||||
}
|
|
@ -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'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./fieldset.cjs.js",
|
||||
"module": "./fieldset.esm.js",
|
||||
"browser": "./fieldset.umd.js",
|
||||
"types": "./Fieldset.d.ts"
|
||||
}
|
|
@ -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'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./fileupload.cjs.js",
|
||||
"module": "./fileupload.esm.js",
|
||||
"browser": "./fileupload.umd.js",
|
||||
"types": "./FileUpload.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./fullcalendar.cjs.js",
|
||||
"module": "./fullcalendar.esm.js",
|
||||
"browser": "./fullcalendar.umd.js",
|
||||
"types": "./FullCalendar.d.ts"
|
||||
}
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<script>
|
||||
import GalleriaContent from './GalleriaContent.vue';
|
||||
import DomHandler from '../utils/DomHandler';
|
||||
import {DomHandler} from 'primevue/utils';
|
||||
|
||||
export default {
|
||||
inheritAttrs: false,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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'],
|
||||
|
|
|
@ -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'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./galleria.cjs.js",
|
||||
"module": "./galleria.esm.js",
|
||||
"browser": "./galleria.umd.js",
|
||||
"types": "./Galleria.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./inlinemessage.cjs.js",
|
||||
"module": "./inlinemessage.esm.js",
|
||||
"browser": "./inlinemessage.umd.js",
|
||||
"types": "./InlineMessage.d.ts"
|
||||
}
|
|
@ -11,7 +11,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Button from '../button/Button';
|
||||
import Button from 'primevue/button';
|
||||
|
||||
export default {
|
||||
emits: ['open', 'close', 'update:active'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./inplace.cjs.js",
|
||||
"module": "./inplace.esm.js",
|
||||
"browser": "./inplace.umd.js",
|
||||
"types": "./Inplace.d.ts"
|
||||
}
|
|
@ -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'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./inputmask.cjs.js",
|
||||
"module": "./inputmask.esm.js",
|
||||
"browser": "./inputmask.umd.js",
|
||||
"types": "./InputMask.d.ts"
|
||||
}
|
|
@ -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,
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./inputnumber.cjs.js",
|
||||
"module": "./inputnumber.esm.js",
|
||||
"browser": "./inputnumber.umd.js",
|
||||
"types": "./InputNumber.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./inputswitch.cjs.js",
|
||||
"module": "./inputswitch.esm.js",
|
||||
"browser": "./inputswitch.umd.js",
|
||||
"types": "./InputSwitch.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./inputtext.cjs.js",
|
||||
"module": "./inputtext.esm.js",
|
||||
"browser": "./inputtext.umd.js",
|
||||
"types": "./InputText.d.ts"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./knob.cjs.js",
|
||||
"module": "./knob.esm.js",
|
||||
"browser": "./knob.umd.js",
|
||||
"types": "./Knob.d.ts"
|
||||
}
|
|
@ -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'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./listbox.cjs.js",
|
||||
"module": "./listbox.esm.js",
|
||||
"browser": "./listbox.umd.js",
|
||||
"types": "./Listbox.d.ts"
|
||||
}
|
|
@ -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: {
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./megamenu.cjs.js",
|
||||
"module": "./megamenu.esm.js",
|
||||
"browser": "./megamenu.umd.js",
|
||||
"types": "./MegaMenu.d.ts"
|
||||
}
|
|
@ -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 {
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Ripple from '../ripple/Ripple';
|
||||
import Ripple from 'primevue/ripple';
|
||||
|
||||
export default {
|
||||
inheritAttrs: false,
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./menu.cjs.js",
|
||||
"module": "./menu.esm.js",
|
||||
"browser": "./menu.umd.js",
|
||||
"types": "./Menu.d.ts"
|
||||
}
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
<script>
|
||||
import MenubarSub from './MenubarSub.vue';
|
||||
import DomHandler from '../utils/DomHandler';
|
||||
import {DomHandler} from 'primevue/utils';
|
||||
|
||||
export default {
|
||||
props: {
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./menubar.cjs.js",
|
||||
"module": "./menubar.esm.js",
|
||||
"browser": "./menubar.umd.js",
|
||||
"types": "./Menubar.d.ts"
|
||||
}
|
|
@ -15,7 +15,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Ripple from '../ripple/Ripple';
|
||||
import Ripple from 'primevue/ripple';
|
||||
|
||||
export default {
|
||||
emits: ['close'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./message.cjs.js",
|
||||
"module": "./message.esm.js",
|
||||
"browser": "./message.umd.js",
|
||||
"types": "./Message.d.ts"
|
||||
}
|
|
@ -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'],
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"main": "./multiselect.cjs.js",
|
||||
"module": "./multiselect.esm.js",
|
||||
"browser": "./multiselect.umd.js",
|
||||
"types": "./MultiSelect.d.ts"
|
||||
}
|
|
@ -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
Loading…
Reference in New Issue