pull/880/head
Tuğçe Küçükoğlu 2021-01-19 11:30:17 +03:00
commit ecdc8100e2
391 changed files with 1205 additions and 587 deletions

View File

@ -1,105 +0,0 @@
const fs = require('fs-extra');
const path = require('path');
const Service = require('@vue/cli-service/lib/Service');
const service = new Service(process.env.VUE_CLI_CONTEXT || process.cwd());
const _file = require("@babel/cli/lib/babel/file");
function buildComponent(folder, file, name) {
service.run('build', {
_: ['build', 'src/components/' + folder + '/' + file, 'build'],
modern: false,
report: false,
'report-json': false,
'inline-vue': false,
watch: false,
open: false,
copy: true,
https: false,
verbose: false,
target: 'lib',
clean: false,
name: name,
dest: 'dist/' + folder
},
[
'build',
'src/components/' + folder + '/' + file,
'build',
'--target',
'lib',
'--no-clean',
'--name',
name,
'--dest',
'dist/' + folder
]);
}
function transpileJS(folder, file) {
var options = {
babelOptions: {
configFile: './.babelrc-lib'
},
cliOptions: {
filename: undefined,
filenames: ['src/components/' + folder + '/' + file],
extensions: undefined,
keepFileExtension: undefined,
outFileExtension: undefined,
watch: undefined,
skipInitialBuild: undefined,
outFile: 'dist/' + folder + '/' + file,
outDir: undefined,
relative: undefined,
copyFiles: undefined,
copyIgnored: undefined,
includeDotfiles: undefined,
verbose: undefined,
quiet: undefined,
deleteDirOnStart: undefined,
sourceMapTarget: undefined
}
}
_file.default(options).catch(err => {
console.error(err);
process.exitCode = 1;
});
}
function blue(str) {
return '\x1b[1m\x1b[34m' + str + '\x1b[39m\x1b[22m';
}
function green(str) {
return '\x1b[1m\x1b[32m' + str + '\x1b[39m\x1b[22m';
}
fs.readdirSync(path.resolve(__dirname, './src/components/')).forEach(folder => {
fs.readdirSync(path.resolve(__dirname, './src/components/' + folder)).forEach(file => {
if (!(/\.js$/.test(file)) || file === 'index.js') {
fs.copySync(path.resolve(__dirname, './src/components/' + folder) + '/' + file, 'dist/' + folder + '/' + file);
}
});
});
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 (/\.js$/.test(file)) {
console.log('Transpiling ' + blue(file));
buildComponent(folder, file, name);
transpileJS(folder, file);
}
else if (/\.vue$/.test(file)) {
console.log('Building ' + green(name));
buildComponent(folder, file, name);
}
}
});
});
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');

14
build-meta.js Normal file
View File

@ -0,0 +1,14 @@
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' || file.endsWith('d.ts') || file.endsWith('vue')) {
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": "NODE_ENV=production rollup -c && node build-meta && gulp build-styles",
"lint": "vue-cli-service lint",
"test:unit": "vue-cli-service test:unit"
},
@ -54,6 +54,9 @@
"primeicons": "4.0.0",
"prismjs": "^1.15.0",
"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-loader": "^8.0.2",
"vue": "3.0.3",
"vue-router": "^4.0.0-0",

121
rollup.config.js Normal file
View File

@ -0,0 +1,121 @@
import vue from 'rollup-plugin-vue';
import postcss from 'rollup-plugin-postcss';
import { terser } from 'rollup-plugin-terser';
const fs = require('fs-extra');
const path = require('path');
let entries = [];
let globalDependencies = {
'vue': 'Vue',
'primevue/ripple': 'primevue.ripple',
'primevue/utils': 'primevue.utils',
'primevue/button': 'primevue.button',
'primevue/inputtext': 'primevue.inputtext',
'primevue/dialog': 'primevue.dialog',
'primevue/paginator': 'primevue.paginator',
'primevue/confirmationeventbus': 'primevue.confirmationeventbus',
'primevue/toasteventbus': 'primevue.toasteventbus',
'primevue/useconfirm': 'primevue.useconfirm',
'primevue/usetoast': 'primevue.usetoast',
'primevue/progressbar': 'primevue.progressbar',
'primevue/message': 'primevue.message',
'primevue/dropdown': 'primevue.dropdown',
'primevue/menu': 'primevue.menu',
'@fullcalendar/core': 'FullCalendar'
}
function addEntry(folder, inFile, outFile) {
entries.push({
input: 'src/components/' + folder + '/' + inFile,
output: [
{
format: 'cjs',
file: 'dist/' + folder + '/' + outFile + '.cjs.js',
},
{
format: 'esm',
file: 'dist/' + folder + '/' + outFile + '.esm.js'
},
{
format: 'iife',
name: 'primevue.' + folder,
file: 'dist/' + folder + '/' + outFile + '.js',
globals: globalDependencies
}
],
plugins: [
vue(),
postcss()
]
});
entries.push({
input: 'src/components/' + folder + '/' + inFile,
output: [
{
format: 'cjs',
file: 'dist/' + folder + '/' + outFile + '.cjs.min.js'
},
{
format: 'esm',
file: 'dist/' + folder + '/' + outFile + '.esm.min.js'
},
{
format: 'iife',
name: folder,
file: 'dist/' + folder + '/' + outFile + '.min.js',
globals: globalDependencies
}
],
plugins: [
vue(),
postcss(),
terser()
]
});
}
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) && (name === folder)) {
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('useconfirm', 'UseConfirm.js', 'useconfirm');
addEntry('toastservice', 'ToastService.js', 'toastservice');
addEntry('toasteventbus', 'ToastEventBus.js', 'toasteventbus');
addEntry('usetoast', 'UseToast.js', 'usetoast');
addEntry('terminalservice', 'TerminalService.js', 'terminalservice');
}
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

@ -1 +0,0 @@
export * from './Accordion';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./Accordion.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./accordion.cjs.js",
"module": "./accordion.esm.js",
"unpkg": "./accordion.min.js",
"types": "./Accordion.d.ts",
"browser": {
"./sfc": "./Accordion.vue"
}
}

View File

@ -1 +0,0 @@
export * from './AccordionTab';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./AccordionTab.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./accordiontab.cjs.js",
"module": "./accordiontab.esm.js",
"unpkg": "./accordiontab.min.js",
"types": "./AccordionTab.d.ts",
"browser": {
"./sfc": "./AccordionTab.vue"
}
}

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

@ -1 +0,0 @@
export * from './AutoComplete';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./AutoComplete.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./autocomplete.cjs.js",
"module": "./autocomplete.esm.js",
"unpkg": "./autocomplete.min.js",
"types": "./AutoComplete.d.ts",
"browser": {
"./sfc": "./AutoComplete.vue"
}
}

View File

@ -1 +0,0 @@
export * from './Avatar';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./Avatar.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./avatar.cjs.js",
"module": "./avatar.esm.js",
"unpkg": "./avatar.min.js",
"types": "./Avatar.d.ts",
"browser": {
"./sfc": "./Avatar.vue"
}
}

View File

@ -1 +0,0 @@
export * from './AvatarGroup';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./AvatarGroup.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./avatargroup.cjs.js",
"module": "./avatargroup.esm.js",
"unpkg": "./avatargroup.min.js",
"types": "./AvatarGroup.d.ts",
"browser": {
"./sfc": "./AvatarGroup.vue"
}
}

View File

@ -1 +0,0 @@
export * from './Badge';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./Badge.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./badge.cjs.js",
"module": "./badge.esm.js",
"unpkg": "./badge.min.js",
"types": "./Badge.d.ts",
"browser": {
"./sfc": "./Badge.vue"
}
}

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

@ -1 +0,0 @@
export * from './BadgeDirective';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./BadgeDirective.js');

View File

@ -0,0 +1,6 @@
{
"main": "./badgedirective.cjs.js",
"module": "./badgedirective.esm.js",
"unpkg": "./badgedirective.min.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

@ -1 +0,0 @@
export * from './BlockUI';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./BlockUI.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./blockui.cjs.js",
"module": "./blockui.esm.js",
"unpkg": "./blockui.min.js",
"types": "./BlockUI.d.ts",
"browser": {
"./sfc": "./BlockUI.vue"
}
}

View File

@ -11,7 +11,7 @@
</template>
<script>
import BreadcrumbItem from './BreadcrumbItem';
import BreadcrumbItem from './BreadcrumbItem.vue';
export default {
props: {

View File

@ -1 +0,0 @@
export * from './Breadcrumb';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./Breadcrumb.vue');

View File

@ -0,0 +1,10 @@
{
"main": "./breadcrumb.cjs.js",
"module": "./breadcrumb.esm.js",
"unpkg": "./breadcrumb.min.js",
"types": "./Breadcrumb.d.ts"
,
"browser": {
"./sfc": "./Breadcrumb.vue"
}
}

View File

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

View File

@ -1 +0,0 @@
export * from './Button';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./Button.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./button.cjs.js",
"module": "./button.esm.js",
"unpkg": "./button.min.js",
"types": "./Button.d.ts",
"browser": {
"./sfc": "./Button.vue"
}
}

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

@ -1 +0,0 @@
export * from './Calendar';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./Calendar.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./calendar.cjs.js",
"module": "./calendar.esm.js",
"unpkg": "./calendar.min.js",
"types": "./Calendar.d.ts",
"browser": {
"./sfc": "./Calendar.vue"
}
}

View File

@ -1 +0,0 @@
export * from './Card';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./Card.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./card.cjs.js",
"module": "./card.esm.js",
"unpkg": "./card.min.js",
"types": "./Card.d.ts",
"browser": {
"./sfc": "./Card.vue"
}
}

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

@ -1 +0,0 @@
export * from './Carousel';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./Carousel.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./carousel.cjs.js",
"module": "./carousel.esm.js",
"unpkg": "./carousel.min.js",
"types": "./Carousel.d.ts",
"browser": {
"./sfc": "./Carousel.vue"
}
}

View File

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

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

@ -1 +0,0 @@
export * from './CascadeSelect';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./CascadeSelect.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./cascadeselect.cjs.js",
"module": "./cascadeselect.esm.js",
"unpkg": "./cascadeselect.min.js",
"types": "./CascadeSelect.d.ts",
"browser": {
"./sfc": "./CascadeSelect.vue"
}
}

View File

@ -1 +0,0 @@
export * from './Chart';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./Chart.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./chart.cjs.js",
"module": "./chart.esm.js",
"unpkg": "./chart.min.js",
"types": "./Chart.d.ts",
"browser": {
"./sfc": "./Chart.vue"
}
}

View File

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

View File

@ -1 +0,0 @@
export * from './Checkbox';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./Checkbox.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./checkbox.cjs.js",
"module": "./checkbox.esm.js",
"unpkg": "./checkbox.min.js",
"types": "./Checkbox.d.ts",
"browser": {
"./sfc": "./Checkbox.vue"
}
}

View File

@ -1 +0,0 @@
export * from './Chip';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./Chip.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./chip.cjs.js",
"module": "./chip.esm.js",
"unpkg": "./chip.min.js",
"types": "./Chip.d.ts",
"browser": {
"./sfc": "./Chip.vue"
}
}

View File

@ -1 +0,0 @@
export * from './Chips';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./Chips.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./chips.cjs.js",
"module": "./chips.esm.js",
"unpkg": "./chips.min.js",
"types": "./Chips.d.ts",
"browser": {
"./sfc": "./Chips.vue"
}
}

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

@ -1 +0,0 @@
export * from './ColorPicker';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./ColorPicker.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./colorpicker.cjs.js",
"module": "./colorpicker.esm.js",
"unpkg": "./colorpicker.min.js",
"types": "./ColorPicker.d.ts",
"browser": {
"./sfc": "./ColorPicker.vue"
}
}

View File

@ -1 +0,0 @@
export * from './Column';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./Column.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./column.cjs.js",
"module": "./column.esm.js",
"unpkg": "./column.min.js",
"types": "./Column.d.ts",
"browser": {
"./sfc": "./Column.vue"
}
}

View File

@ -1 +0,0 @@
export * from './ColumnGroup';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./ColumnGroup.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./columngroup.cjs.js",
"module": "./columngroup.esm.js",
"unpkg": "./columngroup.min.js",
"types": "./ColumnGroup.d.ts",
"browser": {
"./sfc": "./ColumnGroup.vue"
}
}

View File

@ -1 +0,0 @@
export * from './PrimeVue';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./PrimeVue.js');

View File

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

View File

@ -0,0 +1,5 @@
{
"main": "./confirmationeventbus.cjs.js",
"module": "./confirmationeventbus.esm.js",
"unpkg": "./confirmationeventbus.min.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

@ -1 +0,0 @@
export * from './ConfirmationService';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./ConfirmationService.js');

View File

@ -0,0 +1,6 @@
{
"main": "./confirmationservice.cjs.js",
"module": "./confirmationservice.esm.js",
"unpkg": "./confirmationservice.min.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

@ -1 +0,0 @@
export * from './ConfirmDialog';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./ConfirmDialog.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./confirmdialog.cjs.js",
"module": "./confirmdialog.esm.js",
"unpkg": "./confirmdialog.min.js",
"types": "./ConfirmDialog.d.ts",
"browser": {
"./sfc": "./ConfirmDialog.vue"
}
}

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

@ -1 +0,0 @@
export * from './ConfirmPopup';

View File

@ -1,2 +0,0 @@
'use strict';
module.exports = require('./ConfirmPopup.vue');

View File

@ -0,0 +1,9 @@
{
"main": "./confirmpopup.cjs.js",
"module": "./confirmpopup.esm.js",
"unpkg": "./confirmpopup.min.js",
"types": "./ConfirmPopup.d.ts",
"browser": {
"./sfc": "./ConfirmPopup.vue"
}
}

View File

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

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

@ -1 +0,0 @@
export * from './ContextMenu';

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