Fixed build errors

pull/6632/head
Mert Sincan 2024-10-24 00:14:25 +01:00
parent 81a2d413a1
commit 7956a1b44e
9 changed files with 35 additions and 5 deletions

View File

@ -2,10 +2,10 @@
<DocPTViewer :docs="docs"> <DocPTViewer :docs="docs">
<ImageCompare style="width: 728px; height: 410px"> <ImageCompare style="width: 728px; height: 410px">
<template #left> <template #left>
<img src="~/assets/images/island1.jpg" /> <img src="https://primefaces.org/cdn/primevue/images/compare/island1.jpg" />
</template> </template>
<template #right> <template #right>
<img src="~/assets/images/island2.jpg" /> <img src="https://primefaces.org/cdn/primevue/images/compare/island2.jpg" />
</template> </template>
</ImageCompare> </ImageCompare>
</DocPTViewer> </DocPTViewer>

View File

@ -69,4 +69,4 @@
"engines": { "engines": {
"node": ">=12.11.0" "node": ">=12.11.0"
} }
} }

View File

@ -63,4 +63,4 @@
"engines": { "engines": {
"node": ">=12.11.0" "node": ">=12.11.0"
} }
} }

View File

@ -47,6 +47,8 @@ export * from '@primevue/core/base/style';
export * from '@primevue/core/basecomponent'; export * from '@primevue/core/basecomponent';
export * from '@primevue/core/basecomponent/style'; export * from '@primevue/core/basecomponent/style';
export * from '@primevue/core/basedirective'; export * from '@primevue/core/basedirective';
export * from '@primevue/core/baseeditableholder';
export * from '@primevue/core/baseinput';
export * from '@primevue/core/config'; export * from '@primevue/core/config';
export { default as PrimeVue } from '@primevue/core/config'; export { default as PrimeVue } from '@primevue/core/config';
export * from '@primevue/core/service'; export * from '@primevue/core/service';

View File

@ -12,6 +12,12 @@ export { default as BaseComponentStyle } from '@primevue/core/basecomponent/styl
// BaseDirective // BaseDirective
export { default as BaseDirective } from '@primevue/core/basedirective'; export { default as BaseDirective } from '@primevue/core/basedirective';
// BaseEditableHolder
export { default as BaseEditableHolder } from '@primevue/core/baseeditableholder';
// BaseInput
export { default as BaseInput } from '@primevue/core/baseinput';
// PrimeVue // PrimeVue
export * from '@primevue/core/config'; export * from '@primevue/core/config';
export { default as PrimeVue } from '@primevue/core/config'; export { default as PrimeVue } from '@primevue/core/config';

View File

@ -29,6 +29,10 @@
"types": "./form/index.d.ts", "types": "./form/index.d.ts",
"import": "./form/index.mjs" "import": "./form/index.mjs"
}, },
"./style": {
"types": "./form/style/index.d.ts",
"import": "./form/style/index.mjs"
},
"./*": { "./*": {
"types": "./*/index.d.ts", "types": "./*/index.d.ts",
"import": "./*/index.mjs" "import": "./*/index.mjs"
@ -53,4 +57,4 @@
"engines": { "engines": {
"node": ">=12.11.0" "node": ">=12.11.0"
} }
} }

View File

@ -81,6 +81,8 @@
"./chart/style": "./src/chart/style/ChartStyle.js", "./chart/style": "./src/chart/style/ChartStyle.js",
"./checkbox": "./src/checkbox/Checkbox.vue", "./checkbox": "./src/checkbox/Checkbox.vue",
"./checkbox/style": "./src/checkbox/style/CheckboxStyle.js", "./checkbox/style": "./src/checkbox/style/CheckboxStyle.js",
"./checkboxgroup": "./src/checkboxgroup/CheckboxGroup.vue",
"./checkboxgroup/style": "./src/checkboxgroup/style/CheckboxGroupStyle.js",
"./chip": "./src/chip/Chip.vue", "./chip": "./src/chip/Chip.vue",
"./chip/style": "./src/chip/style/ChipStyle.js", "./chip/style": "./src/chip/style/ChipStyle.js",
"./chips": "./src/chips/Chips.vue", "./chips": "./src/chips/Chips.vue",
@ -213,6 +215,8 @@
"./progressspinner/style": "./src/progressspinner/style/ProgressSpinnerStyle.js", "./progressspinner/style": "./src/progressspinner/style/ProgressSpinnerStyle.js",
"./radiobutton": "./src/radiobutton/RadioButton.vue", "./radiobutton": "./src/radiobutton/RadioButton.vue",
"./radiobutton/style": "./src/radiobutton/style/RadioButtonStyle.js", "./radiobutton/style": "./src/radiobutton/style/RadioButtonStyle.js",
"./radiobuttongroup": "./src/radiobuttongroup/RadioButtonGroup.vue",
"./radiobuttongroup/style": "./src/radiobuttongroup/style/RadioButtonGroupStyle.js",
"./rating": "./src/rating/Rating.vue", "./rating": "./src/rating/Rating.vue",
"./rating/style": "./src/rating/style/RatingStyle.js", "./rating/style": "./src/rating/style/RatingStyle.js",
"./ripple": "./src/ripple/Ripple.js", "./ripple": "./src/ripple/Ripple.js",

View File

@ -50,6 +50,8 @@ const ALIAS_ENTRIES = [
{ find: '@primevue/core/basecomponent/style', replacement: path.resolve(__dirname, '../core/src/basecomponent/style/BaseComponentStyle.js') }, { find: '@primevue/core/basecomponent/style', replacement: path.resolve(__dirname, '../core/src/basecomponent/style/BaseComponentStyle.js') },
{ find: '@primevue/core/basecomponent', replacement: path.resolve(__dirname, '../core/src/basecomponent/BaseComponent.vue') }, { find: '@primevue/core/basecomponent', replacement: path.resolve(__dirname, '../core/src/basecomponent/BaseComponent.vue') },
{ find: '@primevue/core/basedirective', replacement: path.resolve(__dirname, '../core/src/basedirective/BaseDirective.js') }, { find: '@primevue/core/basedirective', replacement: path.resolve(__dirname, '../core/src/basedirective/BaseDirective.js') },
{ find: '@primevue/core/baseeditableholder', replacement: path.resolve(__dirname, '../core/src/baseeditableholder/BaseEditableHolder.vue') },
{ find: '@primevue/core/baseinput', replacement: path.resolve(__dirname, '../core/src/baseinput/BaseInput.vue') },
{ find: '@primevue/core/config', replacement: path.resolve(__dirname, '../core/src/config/PrimeVue.js') }, { find: '@primevue/core/config', replacement: path.resolve(__dirname, '../core/src/config/PrimeVue.js') },
{ find: '@primevue/core/service', replacement: path.resolve(__dirname, '../core/src/service/PrimeVueService.js') }, { find: '@primevue/core/service', replacement: path.resolve(__dirname, '../core/src/service/PrimeVueService.js') },
{ find: '@primevue/core/usestyle', replacement: path.resolve(__dirname, '../core/src/usestyle/UseStyle.js') }, { find: '@primevue/core/usestyle', replacement: path.resolve(__dirname, '../core/src/usestyle/UseStyle.js') },

View File

@ -146,6 +146,12 @@ export { default as Checkbox } from './checkbox/Checkbox.vue';
export * from './checkbox/style/CheckboxStyle.js'; export * from './checkbox/style/CheckboxStyle.js';
export { default as CheckboxStyle } from './checkbox/style/CheckboxStyle.js'; export { default as CheckboxStyle } from './checkbox/style/CheckboxStyle.js';
// CheckboxGroup
export * from './checkboxgroup/CheckboxGroup.vue';
export { default as CheckboxGroup } from './checkboxgroup/CheckboxGroup.vue';
export * from './checkboxgroup/style/CheckboxGroupStyle.js';
export { default as CheckboxGroupStyle } from './checkboxgroup/style/CheckboxGroupStyle.js';
// Chip // Chip
export * from './chip/Chip.vue'; export * from './chip/Chip.vue';
export { default as Chip } from './chip/Chip.vue'; export { default as Chip } from './chip/Chip.vue';
@ -548,6 +554,12 @@ export { default as RadioButton } from './radiobutton/RadioButton.vue';
export * from './radiobutton/style/RadioButtonStyle.js'; export * from './radiobutton/style/RadioButtonStyle.js';
export { default as RadioButtonStyle } from './radiobutton/style/RadioButtonStyle.js'; export { default as RadioButtonStyle } from './radiobutton/style/RadioButtonStyle.js';
// RadioButtonGroup
export * from './radiobuttongroup/RadioButtonGroup.vue';
export { default as RadioButtonGroup } from './radiobuttongroup/RadioButtonGroup.vue';
export * from './radiobuttongroup/style/RadioButtonGroupStyle.js';
export { default as RadioButtonGroupStyle } from './radiobuttongroup/style/RadioButtonGroupStyle.js';
// Rating // Rating
export * from './rating/Rating.vue'; export * from './rating/Rating.vue';
export { default as Rating } from './rating/Rating.vue'; export { default as Rating } from './rating/Rating.vue';