Update form package

pull/6632/head
Mert Sincan 2024-10-21 15:02:08 +01:00
parent 387f86d0bb
commit 138d4cd302
5 changed files with 12 additions and 20 deletions

View File

@ -13,23 +13,21 @@
"bugs": {
"url": "https://github.com/primefaces/primevue/issues"
},
"main": "./src/index.js",
"module": "./src/index.js",
"types": "./src/index.d.ts",
"main": "./src/form/Form.vue",
"types": "./src/form/Form.d.ts",
"exports": {
".": "./src/index.js",
"./form/style": "./src/form/style/FormStyle.js",
"./form": "./src/form/Form.vue",
".": "./src/form/Form.vue",
"./style": "./src/form/style/FormStyle.js",
"./*": "./src/*/index.js"
},
"publishConfig": {
"main": "./index.mjs",
"module": "./index.mjs",
"types": "./index.d.ts",
"main": "./form/index.mjs",
"module": "./form/index.mjs",
"types": "./form/index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.mjs"
"types": "./form/index.d.ts",
"import": "./form/index.mjs"
},
"./*": {
"types": "./*/index.d.ts",
@ -55,4 +53,4 @@
"engines": {
"node": ">=12.11.0"
}
}
}

View File

@ -1,6 +1,6 @@
<script>
import BaseComponent from '@primevue/core/basecomponent';
import FormStyle from '@primevue/form/form/style';
import FormStyle from '@primevue/form/style';
export default {
name: 'BaseForm',

View File

@ -1,3 +0,0 @@
export { default as Form } from '@primevue/form/form';
export * from '@primevue/form/resolvers';
export * from '@primevue/form/useform';

View File

@ -1,3 +0,0 @@
export { default as Form } from '@primevue/form/form';
export * from '@primevue/form/resolvers';
export * from '@primevue/form/useform';

View File

@ -96,7 +96,7 @@ export const media: MetaType[] = toMeta(['Carousel', 'Galleria', 'Image', 'Image
export const misc: MetaType[] = toMeta(['Avatar', 'AvatarGroup', 'Badge', 'BlockUI', 'Chip', 'Inplace', 'MeterGroup', 'OverlayBadge', 'ScrollTop', 'Skeleton', 'ProgressBar', 'ProgressSpinner', 'Tag', 'Terminal']);
export const extensions: MetaType[] = toMeta([{ name: 'Form', from: '@primevue/form/form' }]);
export const extensions: MetaType[] = toMeta([{ name: 'Form', from: '@primevue/form' }]);
// All PrimeVue Components
export const components: MetaType[] = [...form, ...button, ...data, ...panel, ...overlay, ...file, ...menu, ...chart, ...messages, ...media, ...misc, ...extensions];