@chewel611/naive-ui-plus 0.0.49 → 0.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +825 -801
- package/dist/index.umd.cjs +1 -1
- package/es/table/PTable.vue.js +169 -159
- package/es/table/typing.d.ts +5 -0
- package/es/utils/helper.d.ts +9 -0
- package/es/utils/helper.js +20 -0
- package/lib/table/PTable.vue.cjs +1 -1
- package/lib/table/typing.d.ts +5 -0
- package/lib/utils/helper.cjs +1 -0
- package/lib/utils/helper.d.ts +9 -0
- package/package.json +103 -102
package/es/table/typing.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export type DataTableColumnActionDefine = {
|
|
|
3
3
|
name: string;
|
|
4
4
|
key: string;
|
|
5
5
|
icon?: Component;
|
|
6
|
+
permission?: string;
|
|
6
7
|
action: (row: any) => void;
|
|
7
8
|
};
|
|
8
9
|
export type DataTableColumnDefine = {
|
|
@@ -17,6 +18,9 @@ export type DataTableColumnDefine = {
|
|
|
17
18
|
export type DataTableProps = {
|
|
18
19
|
title?: string;
|
|
19
20
|
idField?: string;
|
|
21
|
+
addPermission?: string;
|
|
22
|
+
editPermission?: string;
|
|
23
|
+
deletePermission?: string;
|
|
20
24
|
columns: DataTableColumnDefine[];
|
|
21
25
|
onLoad: (page: number, pageSize: number) => Promise<{
|
|
22
26
|
items: any[];
|
|
@@ -25,6 +29,7 @@ export type DataTableProps = {
|
|
|
25
29
|
onDelete?: (rows: any[]) => Promise<boolean>;
|
|
26
30
|
onAdd?: () => Promise<void>;
|
|
27
31
|
onEdit?: (row: any) => Promise<void>;
|
|
32
|
+
onCheckPermission?: (value?: string) => Promise<boolean>;
|
|
28
33
|
};
|
|
29
34
|
export type DataTableMethods = {
|
|
30
35
|
refreshData: () => Promise<void>;
|
package/es/utils/helper.d.ts
CHANGED
|
@@ -1 +1,10 @@
|
|
|
1
1
|
export declare const resetObject: (obj: Record<string, any>) => void;
|
|
2
|
+
export declare const getBoundingClientRect: (element: Element) => DOMRect | number;
|
|
3
|
+
export declare const getViewportOffset: (element: Element) => {
|
|
4
|
+
left: number;
|
|
5
|
+
top: number;
|
|
6
|
+
right: number;
|
|
7
|
+
bottom: number;
|
|
8
|
+
rightIncludeBody: number;
|
|
9
|
+
bottomIncludeBody: number;
|
|
10
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const O = (t) => !t || !t.getBoundingClientRect ? 0 : t.getBoundingClientRect(), a = (t) => {
|
|
2
|
+
const o = document.documentElement, d = o.scrollLeft, f = o.scrollTop, r = o.clientLeft, g = o.clientTop, c = window.pageXOffset, i = window.pageYOffset, p = O(t), {
|
|
3
|
+
left: u,
|
|
4
|
+
top: h,
|
|
5
|
+
width: w,
|
|
6
|
+
height: m
|
|
7
|
+
} = p, L = (c || d) - (r || 0), T = (i || f) - (g || 0), B = u + c, C = h + i, e = B - L, n = C - T, s = window.document.documentElement.clientWidth, l = window.document.documentElement.clientHeight;
|
|
8
|
+
return {
|
|
9
|
+
left: e,
|
|
10
|
+
top: n,
|
|
11
|
+
right: s - w - e,
|
|
12
|
+
bottom: l - m - n,
|
|
13
|
+
rightIncludeBody: s - e,
|
|
14
|
+
bottomIncludeBody: l - n
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
O as getBoundingClientRect,
|
|
19
|
+
a as getViewportOffset
|
|
20
|
+
};
|
package/lib/table/PTable.vue.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("naive-ui"),e=require("vue"),L=require("../utils/helper.cjs"),c=require("@vicons/antd"),j={class:"text-lg font-medium"},U={id:"data-content"},F={key:0,class:"rounded-lg bg-gray-50 flex flex-row gap-2 items-center justify-end p-4 mb-4"},K=e.defineComponent({__name:"PTable",props:{title:{},idField:{default:"id"},addPermission:{},editPermission:{},deletePermission:{},columns:{},onLoad:{},onDelete:{},onAdd:{},onEdit:{},onCheckPermission:{}},setup(y,{expose:_}){const a=y,C=e.ref(),V=l.useDialog(),d=l.useMessage(),f=e.ref(!1),m=e.ref([]),p=e.ref([]),N=e.ref(!1),k=e.ref(!1),h=e.ref(!1),b=e.ref({}),D=e.computed(()=>k.value||h.value),g=async t=>!t||!a.onCheckPermission?!0:await a.onCheckPermission(t)??!1;e.watch(a,async()=>{N.value=!!a.onAdd&&await g(a.addPermission),k.value=!!a.onEdit&&await g(a.editPermission),h.value=!!a.onDelete&&await g(a.deletePermission);const t=a.columns.find(n=>n.key==="action");if(t&&t.action)for(const n of t.action){if(!n.permission)continue;const o=await g(n.permission.toLowerCase());o&&(b.value[n.permission]=o)}},{immediate:!0});const s=e.ref({page:1,itemCount:0,pageSize:10,pageSizes:[10,20,30,50],showSizePicker:!0,onChange:async t=>{s.value.page=t,await r()},onUpdatePageSize:async t=>{s.value.pageSize=t,await r()}}),E=e.computed(()=>{const t=e.unref(C);if(!t)return;let n=12,o=25;const i=48,v=t?.$el,u=v.querySelector(".n-data-table-thead "),{bottomIncludeBody:T}=L.getViewportOffset(u),P=v.querySelector(".n-data-table__pagination");if(P){const A=P.offsetHeight;n+=A||0}else n+=28;return T-(i+n+o)}),S=e.computed(()=>{const t=[{type:"selection",fixed:"left"}];a.columns.forEach(o=>{if(o.key!=="action"){t.push({title:o.title,key:o.key,width:o.width,fixed:o.fixed??!1,render:o.render,ellipsis:o.ellipsis?{tooltip:!0}:!1});return}});const n=a.columns.reduce((o,i)=>i.key==="action"?i:o,void 0);return(n||D.value)&&t.push({title:"操作",key:"actions",width:100,fixed:"right",render:o=>B(o,n?.action)}),t}),B=(t,n)=>{const o=[];return z(o,t),I(o,t),R(o,t,n),o.length<=0?null:e.h(l.NDropdown,{options:o,placement:"bottom-start"},{default:()=>e.h(l.NButton,{size:"small",type:"primary"},{default:()=>["操作",e.h(l.NIcon,()=>e.h(c.MoreOutlined))]})})},z=async(t,n)=>{k.value&&t.push({label:"编辑",key:"edit",icon:()=>e.h(l.NIcon,null,{default:()=>e.h(c.EditOutlined)}),props:{onClick:async()=>await a.onEdit(n)}})},I=async(t,n)=>{h.value&&t.push({label:"删除",key:"delete",icon:()=>e.h(l.NIcon,null,{default:()=>e.h(c.DeleteOutlined)}),props:{onClick:()=>q(n)}})},R=async(t,n,o)=>{if(o)for(const i of o){if(i.key==="edit"||i.key==="delete"||!i.permission||!b.value[i.permission])return;t.push({label:i.name,key:i.key,icon:i.icon&&(()=>e.h(l.NIcon,null,{default:()=>e.h(i.icon)})),props:{onClick:()=>i.action(n)}})}},O=async()=>await r(),q=t=>x([t]),$=()=>x(w()),x=t=>{!t||t.length===0||V.warning({title:"警告",content:"删除数据不可恢复, 确认删除吗?",positiveText:"确定",negativeText:"取消",onPositiveClick:async()=>{if(a.onDelete)try{await a.onDelete(t)?(r(),d.success("删除成功")):d.error("删除失败")}catch(n){d.error(n.message)}}})},r=async()=>{if(a.onLoad&&!f.value){f.value=!0;try{var{items:t,totalCount:n}=await a.onLoad(s.value.page,s.value.pageSize);p.value=t,s.value.itemCount=n}catch(o){d.error(o.message)}finally{f.value=!1}}},w=()=>m.value?p.value.filter(t=>m.value.includes(t.id)).map(t=>e.toRaw(t)):[],H=()=>w()[0],M=()=>e.toRaw(p.value);return e.onMounted(async()=>await r()),_({getData:M,getSelectedRow:H,getSelectedRows:w,refreshData:r,resetPage:()=>{s.value.page=1}}),(t,n)=>{const o=l.NTooltip,i=l.NSpace,v=l.NDataTable;return e.openBlock(),e.createBlock(e.unref(l.NCard),{bordered:!1},{header:e.withCtx(()=>[e.createVNode(i,{justify:"space-between",align:"center",class:"w-full"},{default:e.withCtx(()=>[e.createElementVNode("span",j,e.toDisplayString(y.title),1),e.createVNode(i,null,{default:e.withCtx(()=>[N.value?(e.openBlock(),e.createBlock(o,{key:0,trigger:"hover"},{trigger:e.withCtx(()=>[e.createVNode(e.unref(l.NIcon),{size:"18",class:"mr-1 cursor-pointer hover:text-blue-600",onClick:a.onAdd},{default:e.withCtx(()=>[e.createVNode(e.unref(c.PlusSquareOutlined))]),_:1},8,["onClick"])]),default:e.withCtx(()=>[n[1]||(n[1]=e.createElementVNode("span",null,"新增",-1))]),_:1})):e.createCommentVNode("",!0),h.value?(e.openBlock(),e.createBlock(o,{key:1,trigger:"hover"},{trigger:e.withCtx(()=>[e.createVNode(e.unref(l.NIcon),{size:"18",class:"mr-1 cursor-pointer hover:text-blue-600",onClick:$},{default:e.withCtx(()=>[e.createVNode(e.unref(c.DeleteOutlined))]),_:1})]),default:e.withCtx(()=>[n[2]||(n[2]=e.createElementVNode("span",null,"删除",-1))]),_:1})):e.createCommentVNode("",!0),e.createVNode(o,{trigger:"hover"},{trigger:e.withCtx(()=>[e.createVNode(e.unref(l.NIcon),{size:"18",class:"cursor-pointer hover:text-blue-600",onClick:O},{default:e.withCtx(()=>[e.createVNode(e.unref(c.ReloadOutlined))]),_:1})]),default:e.withCtx(()=>[n[3]||(n[3]=e.createElementVNode("span",null,"刷新",-1))]),_:1})]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",U,[t.$slots.toolbar?(e.openBlock(),e.createElementBlock("div",F,[e.renderSlot(t.$slots,"toolbar")])):e.createCommentVNode("",!0),e.createVNode(v,{remote:"",ref_key:"$table",ref:C,"checked-row-keys":m.value,"onUpdate:checkedRowKeys":n[0]||(n[0]=u=>m.value=u),"max-height":E.value,loading:f.value,bordered:!1,"single-line":!1,columns:S.value,data:p.value,pagination:s.value,"row-key":u=>u[y.idField]},null,8,["checked-row-keys","max-height","loading","columns","data","pagination","row-key"])])]),_:3})}}});exports.default=K;
|
package/lib/table/typing.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export type DataTableColumnActionDefine = {
|
|
|
3
3
|
name: string;
|
|
4
4
|
key: string;
|
|
5
5
|
icon?: Component;
|
|
6
|
+
permission?: string;
|
|
6
7
|
action: (row: any) => void;
|
|
7
8
|
};
|
|
8
9
|
export type DataTableColumnDefine = {
|
|
@@ -17,6 +18,9 @@ export type DataTableColumnDefine = {
|
|
|
17
18
|
export type DataTableProps = {
|
|
18
19
|
title?: string;
|
|
19
20
|
idField?: string;
|
|
21
|
+
addPermission?: string;
|
|
22
|
+
editPermission?: string;
|
|
23
|
+
deletePermission?: string;
|
|
20
24
|
columns: DataTableColumnDefine[];
|
|
21
25
|
onLoad: (page: number, pageSize: number) => Promise<{
|
|
22
26
|
items: any[];
|
|
@@ -25,6 +29,7 @@ export type DataTableProps = {
|
|
|
25
29
|
onDelete?: (rows: any[]) => Promise<boolean>;
|
|
26
30
|
onAdd?: () => Promise<void>;
|
|
27
31
|
onEdit?: (row: any) => Promise<void>;
|
|
32
|
+
onCheckPermission?: (value?: string) => Promise<boolean>;
|
|
28
33
|
};
|
|
29
34
|
export type DataTableMethods = {
|
|
30
35
|
refreshData: () => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=t=>!t||!t.getBoundingClientRect?0:t.getBoundingClientRect(),C=t=>{const e=document.documentElement,f=e.scrollLeft,r=e.scrollTop,g=e.clientLeft,u=e.clientTop,c=window.pageXOffset,i=window.pageYOffset,p=d(t),{left:h,top:w,width:m,height:T}=p,L=(c||f)-(g||0),O=(i||r)-(u||0),a=h+c,B=w+i,o=a-L,n=B-O,s=window.document.documentElement.clientWidth,l=window.document.documentElement.clientHeight;return{left:o,top:n,right:s-m-o,bottom:l-T-n,rightIncludeBody:s-o,bottomIncludeBody:l-n}};exports.getBoundingClientRect=d;exports.getViewportOffset=C;
|
package/lib/utils/helper.d.ts
CHANGED
|
@@ -1 +1,10 @@
|
|
|
1
1
|
export declare const resetObject: (obj: Record<string, any>) => void;
|
|
2
|
+
export declare const getBoundingClientRect: (element: Element) => DOMRect | number;
|
|
3
|
+
export declare const getViewportOffset: (element: Element) => {
|
|
4
|
+
left: number;
|
|
5
|
+
top: number;
|
|
6
|
+
right: number;
|
|
7
|
+
bottom: number;
|
|
8
|
+
rightIncludeBody: number;
|
|
9
|
+
bottomIncludeBody: number;
|
|
10
|
+
};
|
package/package.json
CHANGED
|
@@ -1,102 +1,103 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@chewel611/naive-ui-plus",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"sideEffects": false,
|
|
8
|
-
"main": "lib/index.cjs",
|
|
9
|
-
"module": "es/index.js",
|
|
10
|
-
"types": "es/index.d.ts",
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"types": "./es/index.d.ts",
|
|
14
|
-
"import": "./es/index.js",
|
|
15
|
-
"require": "./lib/index.cjs"
|
|
16
|
-
},
|
|
17
|
-
"./css": "./dist/style.css",
|
|
18
|
-
"./*": "./*"
|
|
19
|
-
},
|
|
20
|
-
"scripts": {
|
|
21
|
-
"dev": "vite",
|
|
22
|
-
"pub": "sh scripts/publish.sh",
|
|
23
|
-
"build": "run-s format clean build:components",
|
|
24
|
-
"format": "prettier --write src/ components/",
|
|
25
|
-
"clean": "rimraf dist es lib",
|
|
26
|
-
"build:components": "run-p type-check build:dist build-only",
|
|
27
|
-
"type-check": "vue-tsc --skipLibCheck --noEmit",
|
|
28
|
-
"build:dist": "vite build -- dir=dist",
|
|
29
|
-
"build-only": "vite build",
|
|
30
|
-
"preview": "vite preview",
|
|
31
|
-
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
|
|
32
|
-
},
|
|
33
|
-
"peerDependency": {
|
|
34
|
-
"@tailwindcss/vite": "^4.1.11",
|
|
35
|
-
"@vicons/antd": "^0.13.0",
|
|
36
|
-
"pinia": "^3.0.4",
|
|
37
|
-
"less": "^4.5.1",
|
|
38
|
-
"less-loader": "^12.3.0",
|
|
39
|
-
"vue-router": "^5.0.2"
|
|
40
|
-
},
|
|
41
|
-
"dependencies": {
|
|
42
|
-
"@vicons/antd": "^0.13.0",
|
|
43
|
-
"element-resize-detector": "^1.2.4",
|
|
44
|
-
"pinia": "^3.0.4",
|
|
45
|
-
"vuedraggable": "^4.1.0"
|
|
46
|
-
},
|
|
47
|
-
"devDependencies": {
|
|
48
|
-
"@tailwindcss/vite": "^4.1.18",
|
|
49
|
-
"@types/element-resize-detector": "^1.1.6",
|
|
50
|
-
"@types/minimist": "^1.2.5",
|
|
51
|
-
"@types/node": "^24.12.0",
|
|
52
|
-
"@vicons/antd": "^0.13.0",
|
|
53
|
-
"@vicons/carbon": "^0.13.0",
|
|
54
|
-
"@vicons/ionicons5": "^0.12.0",
|
|
55
|
-
"@vitejs/plugin-vue": "^6.0.4",
|
|
56
|
-
"@vue/tsconfig": "^0.8.1",
|
|
57
|
-
"alova": "^3.5.1",
|
|
58
|
-
"
|
|
59
|
-
"less
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"vite
|
|
72
|
-
"vite-plugin-
|
|
73
|
-
"vue": "^
|
|
74
|
-
"vue
|
|
75
|
-
"vue-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"README.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
"naive-ui
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"ui",
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
"
|
|
101
|
-
|
|
102
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@chewel611/naive-ui-plus",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.0.51",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"main": "lib/index.cjs",
|
|
9
|
+
"module": "es/index.js",
|
|
10
|
+
"types": "es/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./es/index.d.ts",
|
|
14
|
+
"import": "./es/index.js",
|
|
15
|
+
"require": "./lib/index.cjs"
|
|
16
|
+
},
|
|
17
|
+
"./css": "./dist/style.css",
|
|
18
|
+
"./*": "./*"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "vite",
|
|
22
|
+
"pub": "sh scripts/publish.sh",
|
|
23
|
+
"build": "run-s format clean build:components",
|
|
24
|
+
"format": "prettier --write src/ components/",
|
|
25
|
+
"clean": "rimraf dist es lib",
|
|
26
|
+
"build:components": "run-p type-check build:dist build-only",
|
|
27
|
+
"type-check": "vue-tsc --skipLibCheck --noEmit",
|
|
28
|
+
"build:dist": "vite build -- dir=dist",
|
|
29
|
+
"build-only": "vite build",
|
|
30
|
+
"preview": "vite preview",
|
|
31
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
|
|
32
|
+
},
|
|
33
|
+
"peerDependency": {
|
|
34
|
+
"@tailwindcss/vite": "^4.1.11",
|
|
35
|
+
"@vicons/antd": "^0.13.0",
|
|
36
|
+
"pinia": "^3.0.4",
|
|
37
|
+
"less": "^4.5.1",
|
|
38
|
+
"less-loader": "^12.3.0",
|
|
39
|
+
"vue-router": "^5.0.2"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@vicons/antd": "^0.13.0",
|
|
43
|
+
"element-resize-detector": "^1.2.4",
|
|
44
|
+
"pinia": "^3.0.4",
|
|
45
|
+
"vuedraggable": "^4.1.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
49
|
+
"@types/element-resize-detector": "^1.1.6",
|
|
50
|
+
"@types/minimist": "^1.2.5",
|
|
51
|
+
"@types/node": "^24.12.0",
|
|
52
|
+
"@vicons/antd": "^0.13.0",
|
|
53
|
+
"@vicons/carbon": "^0.13.0",
|
|
54
|
+
"@vicons/ionicons5": "^0.12.0",
|
|
55
|
+
"@vitejs/plugin-vue": "^6.0.4",
|
|
56
|
+
"@vue/tsconfig": "^0.8.1",
|
|
57
|
+
"alova": "^3.5.1",
|
|
58
|
+
"i18n-jsautotranslate": "^4.0.0",
|
|
59
|
+
"less": "^4.4.0",
|
|
60
|
+
"less-loader": "^12.3.0",
|
|
61
|
+
"minimist": "^1.2.8",
|
|
62
|
+
"naive-ui": "^2.43.2",
|
|
63
|
+
"npm-run-all2": "^8.0.4",
|
|
64
|
+
"oidc-client-ts": "^2.4.0",
|
|
65
|
+
"prettier": "^3.8.1",
|
|
66
|
+
"rimraf": "^6.1.2",
|
|
67
|
+
"rollup": "^4.57.1",
|
|
68
|
+
"tailwindcss": "^4.1.18",
|
|
69
|
+
"typescript": "^5.9.3",
|
|
70
|
+
"unplugin-vue-components": "^31.0.0",
|
|
71
|
+
"vite": "^7.3.1",
|
|
72
|
+
"vite-plugin-dts": "^4.5.4",
|
|
73
|
+
"vite-plugin-vue-devtools": "^8.0.6",
|
|
74
|
+
"vue": "^3.5.27",
|
|
75
|
+
"vue-router": "^5.0.2",
|
|
76
|
+
"vue-tsc": "^3.2.4"
|
|
77
|
+
},
|
|
78
|
+
"homepage": "https://gitee.com/chewel/naive-ui-plus",
|
|
79
|
+
"repository": {
|
|
80
|
+
"type": "git",
|
|
81
|
+
"url": "https://gitee.com/chewel/naive-ui-plus.git"
|
|
82
|
+
},
|
|
83
|
+
"files": [
|
|
84
|
+
"dist",
|
|
85
|
+
"es",
|
|
86
|
+
"lib",
|
|
87
|
+
"package.json",
|
|
88
|
+
"README.md",
|
|
89
|
+
"README.zh-CN.md"
|
|
90
|
+
],
|
|
91
|
+
"keywords": [
|
|
92
|
+
"naive-ui",
|
|
93
|
+
"naive-ui-plus",
|
|
94
|
+
"component library",
|
|
95
|
+
"ui framework",
|
|
96
|
+
"ui",
|
|
97
|
+
"vue"
|
|
98
|
+
],
|
|
99
|
+
"publishConfig": {
|
|
100
|
+
"access": "public",
|
|
101
|
+
"registry": "https://registry.npmjs.org/"
|
|
102
|
+
}
|
|
103
|
+
}
|