@king-one/antdv 1.1.7 → 1.1.9
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/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { message as I, Form as
|
|
3
|
-
import { useNamespace as
|
|
1
|
+
import { defineComponent as R, ref as y, computed as P, useModel as A, createElementBlock as V, openBlock as o, normalizeClass as c, unref as t, createVNode as u, renderSlot as K, createElementVNode as F, withCtx as d, createCommentVNode as h, createBlock as m, mergeModels as G } from "vue";
|
|
2
|
+
import { message as I, Form as O, Upload as D, Spin as H, Image as L, ImagePreviewGroup as J } from "ant-design-vue";
|
|
3
|
+
import { useNamespace as Q } from "../../../hooks/use-namespace/index.mjs";
|
|
4
4
|
import "../../index.mjs";
|
|
5
5
|
import { useExtractPlusUpload as W } from "../hook/useExtractPlusUpload.mjs";
|
|
6
6
|
import { usePlusUpload as X } from "../hook/usePlusUpload.mjs";
|
|
7
7
|
import { PlusUpLoadProps as Y } from "./types.mjs";
|
|
8
|
-
import { KIcon as
|
|
8
|
+
import { KIcon as g } from "../../icon/index.mjs";
|
|
9
9
|
import { KProOverlay as Z } from "../../pro-overlay/index.mjs";
|
|
10
|
-
const ee = { key: 0 }, le = { style: { display: "none" } }, de = /* @__PURE__ */
|
|
10
|
+
const ee = { key: 0 }, le = { style: { display: "none" } }, de = /* @__PURE__ */ R({
|
|
11
11
|
__name: "plus-upload",
|
|
12
|
-
props: /* @__PURE__ */
|
|
12
|
+
props: /* @__PURE__ */ G(Y, {
|
|
13
13
|
fileList: {
|
|
14
14
|
type: Array,
|
|
15
15
|
required: !0
|
|
@@ -17,10 +17,10 @@ const ee = { key: 0 }, le = { style: { display: "none" } }, de = /* @__PURE__ */
|
|
|
17
17
|
fileListModifiers: {}
|
|
18
18
|
}),
|
|
19
19
|
emits: ["update:fileList"],
|
|
20
|
-
setup(
|
|
21
|
-
const s =
|
|
20
|
+
setup(b) {
|
|
21
|
+
const s = b, { uploadFile: _, removeFile: x } = X(), w = y(), v = y(!1), { b: T, e: p } = Q("plus-upload"), { getFileUrl: z, AcceptValidates: E, hasPrivew: N } = W(), S = P(
|
|
22
22
|
() => s.acceptType ? s.acceptType.map((e) => `.${e}`).join(",") : "*"
|
|
23
|
-
), i =
|
|
23
|
+
), i = A(b, "fileList"), $ = async (e, a) => {
|
|
24
24
|
if (s.beforeUpload) {
|
|
25
25
|
const n = s.beforeUpload(e, a);
|
|
26
26
|
if (n instanceof Promise) {
|
|
@@ -31,17 +31,17 @@ const ee = { key: 0 }, le = { style: { display: "none" } }, de = /* @__PURE__ */
|
|
|
31
31
|
}
|
|
32
32
|
let l = [];
|
|
33
33
|
s.acceptType && s.acceptType.forEach((n) => {
|
|
34
|
-
const U =
|
|
34
|
+
const U = E[n];
|
|
35
35
|
l = [...l, ...U];
|
|
36
36
|
});
|
|
37
|
-
const { type: r, size:
|
|
38
|
-
return !l.includes(r) && l.length > 0 ? (I.warning("上传格式错误"), !1) : s.maxSize && s.maxSize <
|
|
39
|
-
}, C =
|
|
37
|
+
const { type: r, size: M } = e;
|
|
38
|
+
return !l.includes(r) && l.length > 0 ? (I.warning("上传格式错误"), !1) : s.maxSize && s.maxSize < M ? (I.warning("文件过大,请选择其他文件上传"), !1) : !0;
|
|
39
|
+
}, C = O.useInjectFormItemContext(), f = y(!1), j = async (e) => {
|
|
40
40
|
var a;
|
|
41
41
|
f.value = !0;
|
|
42
42
|
try {
|
|
43
|
-
const l = await
|
|
44
|
-
(a = i.value) == null || a.push(l), f.value = !1
|
|
43
|
+
const l = await _(s.business, e.file);
|
|
44
|
+
(a = i.value) == null || a.push(l), C.onFieldChange(), f.value = !1;
|
|
45
45
|
} catch {
|
|
46
46
|
f.value = !1;
|
|
47
47
|
}
|
|
@@ -50,57 +50,57 @@ const ee = { key: 0 }, le = { style: { display: "none" } }, de = /* @__PURE__ */
|
|
|
50
50
|
return {
|
|
51
51
|
uid: a,
|
|
52
52
|
name: l,
|
|
53
|
-
url:
|
|
53
|
+
url: z(l, r)
|
|
54
54
|
};
|
|
55
55
|
}) : []);
|
|
56
|
-
function
|
|
56
|
+
function q(e) {
|
|
57
57
|
w.value = e.url, v.value = !0;
|
|
58
58
|
}
|
|
59
|
-
async function
|
|
60
|
-
await
|
|
59
|
+
async function B(e) {
|
|
60
|
+
await x(e.uid);
|
|
61
61
|
const a = i.value.findIndex((l) => l.id === e.uid);
|
|
62
62
|
i.value.splice(a, 1), C.onFieldChange();
|
|
63
63
|
}
|
|
64
64
|
return (e, a) => (o(), V(
|
|
65
65
|
"div",
|
|
66
66
|
{
|
|
67
|
-
class: c(t(
|
|
67
|
+
class: c(t(T)())
|
|
68
68
|
},
|
|
69
69
|
[
|
|
70
|
-
u(t(
|
|
70
|
+
u(t(D), {
|
|
71
71
|
"file-list": k.value,
|
|
72
|
-
accept:
|
|
72
|
+
accept: S.value,
|
|
73
73
|
disabled: e.disabled,
|
|
74
74
|
"list-type": "picture-card",
|
|
75
|
-
"before-upload":
|
|
76
|
-
"custom-request":
|
|
75
|
+
"before-upload": $,
|
|
76
|
+
"custom-request": j
|
|
77
77
|
}, {
|
|
78
|
-
itemRender:
|
|
78
|
+
itemRender: d(({ file: l }) => [
|
|
79
79
|
F(
|
|
80
80
|
"div",
|
|
81
81
|
{
|
|
82
|
-
class: c(t(
|
|
82
|
+
class: c(t(p)("file-item"))
|
|
83
83
|
},
|
|
84
84
|
[
|
|
85
85
|
u(
|
|
86
86
|
t(Z),
|
|
87
87
|
null,
|
|
88
88
|
{
|
|
89
|
-
action:
|
|
90
|
-
t(
|
|
89
|
+
action: d(() => [
|
|
90
|
+
t(N)(l.fileType) ? (o(), m(t(g), {
|
|
91
91
|
key: 0,
|
|
92
92
|
name: "eye",
|
|
93
|
-
class: c(t(
|
|
94
|
-
onClick: (r) =>
|
|
93
|
+
class: c(t(p)("icon-eye")),
|
|
94
|
+
onClick: (r) => q(l)
|
|
95
95
|
}, null, 8, ["class", "onClick"])) : h("v-if", !0),
|
|
96
|
-
e.disabled ? h("v-if", !0) : (o(), m(t(
|
|
96
|
+
e.disabled ? h("v-if", !0) : (o(), m(t(g), {
|
|
97
97
|
key: 1,
|
|
98
98
|
name: "delete",
|
|
99
|
-
class: c(t(
|
|
100
|
-
onClick: (r) =>
|
|
99
|
+
class: c(t(p)("icon-delete")),
|
|
100
|
+
onClick: (r) => B(l)
|
|
101
101
|
}, null, 8, ["class", "onClick"]))
|
|
102
102
|
]),
|
|
103
|
-
default:
|
|
103
|
+
default: d(() => [
|
|
104
104
|
u(t(L), {
|
|
105
105
|
class: "object-contain",
|
|
106
106
|
width: 84,
|
|
@@ -120,27 +120,27 @@ const ee = { key: 0 }, le = { style: { display: "none" } }, de = /* @__PURE__ */
|
|
|
120
120
|
/* CLASS */
|
|
121
121
|
)
|
|
122
122
|
]),
|
|
123
|
-
default:
|
|
123
|
+
default: d(() => [
|
|
124
124
|
!e.limit || k.value.length < e.limit ? (o(), V("div", ee, [
|
|
125
|
-
f.value ? (o(), m(t(
|
|
125
|
+
f.value ? (o(), m(t(H), { key: 0 })) : (o(), m(t(g), {
|
|
126
126
|
key: 1,
|
|
127
127
|
name: "plus",
|
|
128
|
-
class: c(t(
|
|
128
|
+
class: c(t(p)("icon-plus"))
|
|
129
129
|
}, null, 8, ["class"]))
|
|
130
130
|
])) : h("v-if", !0)
|
|
131
131
|
]),
|
|
132
132
|
_: 1
|
|
133
133
|
/* STABLE */
|
|
134
134
|
}, 8, ["file-list", "accept", "disabled"]),
|
|
135
|
-
|
|
135
|
+
K(e.$slots, "tips"),
|
|
136
136
|
F("div", le, [
|
|
137
|
-
u(t(
|
|
137
|
+
u(t(J), {
|
|
138
138
|
preview: {
|
|
139
139
|
visible: v.value,
|
|
140
140
|
onVisibleChange: (l) => v.value = l
|
|
141
141
|
}
|
|
142
142
|
}, {
|
|
143
|
-
default:
|
|
143
|
+
default: d(() => [
|
|
144
144
|
u(t(L), { src: w.value }, null, 8, ["src"])
|
|
145
145
|
]),
|
|
146
146
|
_: 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("ant-design-vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("ant-design-vue"),I=require("../../../hooks/use-namespace/index.js");require("../../index.js");const z=require("../hook/useExtractPlusUpload.js"),_=require("../hook/usePlusUpload.js"),E=require("./types.js"),p=require("../../icon/index.js"),F=require("../../pro-overlay/index.js"),L={key:0},S={style:{display:"none"}},T=e.defineComponent({__name:"plus-upload",props:e.mergeModels(E.PlusUpLoadProps,{fileList:{type:Array,required:!0},fileListModifiers:{}}),emits:["update:fileList"],setup(f){const s=f,{uploadFile:C,removeFile:k}=_.usePlusUpload(),m=e.ref(),d=e.ref(!1),{b:g,e:u}=I.useNamespace("plus-upload"),{getFileUrl:w,AcceptValidates:b,hasPrivew:V}=z.useExtractPlusUpload(),q=e.computed(()=>s.acceptType?s.acceptType.map(t=>`.${t}`).join(","):"*"),r=e.useModel(f,"fileList"),x=async(t,a)=>{if(s.beforeUpload){const i=s.beforeUpload(t,a);if(i instanceof Promise){if(await i===!1)return!1}else if(!i)return!1}let l=[];s.acceptType&&s.acceptType.forEach(i=>{const h=b[i];l=[...l,...h]});const{type:o,size:U}=t;return!l.includes(o)&&l.length>0?(n.message.warning("上传格式错误"),!1):s.maxSize&&s.maxSize<U?(n.message.warning("文件过大,请选择其他文件上传"),!1):!0},v=n.Form.useInjectFormItemContext(),c=e.ref(!1),B=async t=>{var a;c.value=!0;try{const l=await C(s.business,t.file);(a=r.value)==null||a.push(l),v.onFieldChange(),c.value=!1}catch{c.value=!1}},y=e.computed(()=>r.value&&r.value.length>0?r.value.map(t=>{const{id:a,name:l,url:o}=t;return{uid:a,name:l,url:w(l,o)}}):[]);function N(t){m.value=t.url,d.value=!0}async function P(t){await k(t.uid);const a=r.value.findIndex(l=>l.id===t.uid);r.value.splice(a,1),v.onFieldChange()}return(t,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(g)())},[e.createVNode(e.unref(n.Upload),{"file-list":y.value,accept:q.value,disabled:t.disabled,"list-type":"picture-card","before-upload":x,"custom-request":B},{itemRender:e.withCtx(({file:l})=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(u)("file-item"))},[e.createVNode(e.unref(F.KProOverlay),null,{action:e.withCtx(()=>[e.unref(V)(l.fileType)?(e.openBlock(),e.createBlock(e.unref(p.KIcon),{key:0,name:"eye",class:e.normalizeClass(e.unref(u)("icon-eye")),onClick:o=>N(l)},null,8,["class","onClick"])):e.createCommentVNode("v-if",!0),t.disabled?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock(e.unref(p.KIcon),{key:1,name:"delete",class:e.normalizeClass(e.unref(u)("icon-delete")),onClick:o=>P(l)},null,8,["class","onClick"]))]),default:e.withCtx(()=>[e.createVNode(e.unref(n.Image),{class:"object-contain",width:84,height:84,preview:!1,src:l.url},null,8,["src"])]),_:2},1024)],2)]),default:e.withCtx(()=>[!t.limit||y.value.length<t.limit?(e.openBlock(),e.createElementBlock("div",L,[c.value?(e.openBlock(),e.createBlock(e.unref(n.Spin),{key:0})):(e.openBlock(),e.createBlock(e.unref(p.KIcon),{key:1,name:"plus",class:e.normalizeClass(e.unref(u)("icon-plus"))},null,8,["class"]))])):e.createCommentVNode("v-if",!0)]),_:1},8,["file-list","accept","disabled"]),e.renderSlot(t.$slots,"tips"),e.createElementVNode("div",S,[e.createVNode(e.unref(n.ImagePreviewGroup),{preview:{visible:d.value,onVisibleChange:l=>d.value=l}},{default:e.withCtx(()=>[e.createVNode(e.unref(n.Image),{src:m.value},null,8,["src"])]),_:1},8,["preview"])])],2))}});exports.default=T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:iconfont;src:url(fonts/iconfont.woff2?t=
|
|
1
|
+
@font-face{font-family:iconfont;src:url(fonts/iconfont.woff2?t=52689) format("woff2"),url(fonts/iconfont.woff?t=43347) format("woff"),url(fonts/iconfont.ttf?t=25589) format("truetype")}.king-icon{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-king-plus:before{content:"\e614"}.icon-king-xsl:before{content:"\e602"}.icon-king-word:before{content:"\e622"}.icon-king-eye:before{content:"\e78f"}.icon-king-PDF:before{content:"\e60a"}.icon-king-delete:before{content:"\e63c"}.icon-king-upload-icon:before{content:"\e617"}.icon-king-title-icon:before{content:"\e680"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--king-color-white:#ffffff;--king-color-primary:#409eff;--king-color-success:#67c23a;--king-color-warning:#e6a23c;--king-color-danger:#f56c6c;--king-color-error:#f56c6c;--king-color-info:#909399;--king-transition-duration:0.3s}.king-button--primary{--king-button-text-color:var(--king-color-primary)}.king-button--success{--king-button-text-color:var(--king-color-success)}.king-button--warning{--king-button-text-color:var(--king-color-warning)}.king-button--danger{--king-button-text-color:var(--king-color-danger)}.king-button--error{--king-button-text-color:var(--king-color-error)}.king-button--info{--king-button-text-color:var(--king-color-info)}.king-button{color:var(--king-button-text-color)}.king-scrollbar{overflow:hidden;position:relative;z-index:auto;height:100%;width:100%}.king-scrollbar .king-scrollbar-container{width:100%;overflow:scroll;height:100%;min-height:inherit;max-height:inherit;scrollbar-width:none}.king-scrollbar .king-scrollbar-content{width:-moz-fit-content;width:fit-content}.king-scrollbar .king-scrollbar-rail{position:absolute}.king-scrollbar .king-scrollbar-rail--vertical{right:0;width:5px;top:2px;bottom:2px;right:4px}.king-scrollbar .king-scrollbar-rail--horizontal{bottom:2px;height:5px;left:2px;right:2px}.king-scrollbar .king-scrollbar-rail__scrollbar--vertical{background:rgba(0,0,0,.25);position:absolute;border-radius:5px;width:100%;cursor:pointer}.king-scrollbar .king-scrollbar-rail__scrollbar--horizontal{background:rgba(0,0,0,.25);position:absolute;border-radius:5px;height:100%;cursor:pointer}.v-vl-items{width:-moz-fit-content;width:fit-content}.king-scale-virtual-list{width:100%;height:100%}.king-scale-virtual-list .king-scale-virtual-list-container{margin:0 auto;position:relative}.king-scale-virtual-list .king-scale-vittual-wrapper{width:-moz-fit-content;width:fit-content;margin:0 auto;position:absolute;left:50%}.king-pro-title{border-bottom:1px solid #ccc;font-weight:500;display:flex;align-items:center}.king-pro-title .icon{margin-right:10px}.king-pro-title--unborder{border:none}.king-pro-modal .ant-modal-content{padding:0}.king-pro-modal .ant-modal-header{height:56px;padding-left:32px;padding-right:24px;display:flex;justify-content:space-between;align-items:center;background:#f1f7ff;border-bottom:1px solid #e6e8ea}.king-pro-modal .ant-modal-body{padding:10px 20px;max-height:80vh;overflow:auto}.king-pro-modal .ant-modal-footer{height:56px;display:flex;padding:0 16px;justify-content:flex-end;align-items:center;border-top:1px solid #e6e8ea}.king-pro-modal .ant-modal-title{flex:1}.king-pro-modal .pro-modal-title{cursor:move;width:100%}.king-pro-area-select{width:100%}@font-face{font-family:iconfont;src:url(fonts/iconfont.woff2?t=
|
|
1
|
+
:root{--king-color-white:#ffffff;--king-color-primary:#409eff;--king-color-success:#67c23a;--king-color-warning:#e6a23c;--king-color-danger:#f56c6c;--king-color-error:#f56c6c;--king-color-info:#909399;--king-transition-duration:0.3s}.king-button--primary{--king-button-text-color:var(--king-color-primary)}.king-button--success{--king-button-text-color:var(--king-color-success)}.king-button--warning{--king-button-text-color:var(--king-color-warning)}.king-button--danger{--king-button-text-color:var(--king-color-danger)}.king-button--error{--king-button-text-color:var(--king-color-error)}.king-button--info{--king-button-text-color:var(--king-color-info)}.king-button{color:var(--king-button-text-color)}.king-scrollbar{overflow:hidden;position:relative;z-index:auto;height:100%;width:100%}.king-scrollbar .king-scrollbar-container{width:100%;overflow:scroll;height:100%;min-height:inherit;max-height:inherit;scrollbar-width:none}.king-scrollbar .king-scrollbar-content{width:-moz-fit-content;width:fit-content}.king-scrollbar .king-scrollbar-rail{position:absolute}.king-scrollbar .king-scrollbar-rail--vertical{right:0;width:5px;top:2px;bottom:2px;right:4px}.king-scrollbar .king-scrollbar-rail--horizontal{bottom:2px;height:5px;left:2px;right:2px}.king-scrollbar .king-scrollbar-rail__scrollbar--vertical{background:rgba(0,0,0,.25);position:absolute;border-radius:5px;width:100%;cursor:pointer}.king-scrollbar .king-scrollbar-rail__scrollbar--horizontal{background:rgba(0,0,0,.25);position:absolute;border-radius:5px;height:100%;cursor:pointer}.v-vl-items{width:-moz-fit-content;width:fit-content}.king-scale-virtual-list{width:100%;height:100%}.king-scale-virtual-list .king-scale-virtual-list-container{margin:0 auto;position:relative}.king-scale-virtual-list .king-scale-vittual-wrapper{width:-moz-fit-content;width:fit-content;margin:0 auto;position:absolute;left:50%}.king-pro-title{border-bottom:1px solid #ccc;font-weight:500;display:flex;align-items:center}.king-pro-title .icon{margin-right:10px}.king-pro-title--unborder{border:none}.king-pro-modal .ant-modal-content{padding:0}.king-pro-modal .ant-modal-header{height:56px;padding-left:32px;padding-right:24px;display:flex;justify-content:space-between;align-items:center;background:#f1f7ff;border-bottom:1px solid #e6e8ea}.king-pro-modal .ant-modal-body{padding:10px 20px;max-height:80vh;overflow:auto}.king-pro-modal .ant-modal-footer{height:56px;display:flex;padding:0 16px;justify-content:flex-end;align-items:center;border-top:1px solid #e6e8ea}.king-pro-modal .ant-modal-title{flex:1}.king-pro-modal .pro-modal-title{cursor:move;width:100%}.king-pro-area-select{width:100%}@font-face{font-family:iconfont;src:url(fonts/iconfont.woff2?t=80991) format("woff2"),url(fonts/iconfont.woff?t=53969) format("woff"),url(fonts/iconfont.ttf?t=45188) format("truetype")}.king-icon{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-king-plus:before{content:"\e614"}.icon-king-xsl:before{content:"\e602"}.icon-king-word:before{content:"\e622"}.icon-king-eye:before{content:"\e78f"}.icon-king-PDF:before{content:"\e60a"}.icon-king-delete:before{content:"\e63c"}.icon-king-upload-icon:before{content:"\e617"}.icon-king-title-icon:before{content:"\e680"}.king-cover-scrollbar{height:100%;width:100%;overflow:hidden;position:relative}.king-cover-scrollbar .king-cover-scrollbar-container{height:100%;width:100%;overflow:scroll;scrollbar-width:none}.king-cover-scrollbar .king-cover-scrollbar-rail{width:5px;top:2px;bottom:2px;position:absolute}.king-cover-scrollbar .king-cover-scrollbar-rail__scrollbar--vertical{position:absolute;border-radius:5px;width:100%;cursor:pointer}.king-pro-contract-view{position:relative;display:flex}.king-pro-contract-view .king-pro-contract-view__content{flex:1}.king-pro-contract-view .king-pro-contract-view__content-item{border:1px solid #f0f0f0;position:relative;box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}.king-pro-contract-view>.ant-spin{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.king-pro-overlay{position:relative;cursor:pointer;display:inline-block}.king-pro-overlay .king-pro-overlay__content{transition:all .2s linear;opacity:0;position:absolute;display:flex;align-items:center;justify-content:center;inset:0}.king-pro-overlay:hover .king-pro-overlay__content{opacity:1;background:rgba(0,0,0,.5)}.king-plus-upload .king-plus-upload__icon-plus{font-size:32px!important}.king-plus-upload .king-plus-upload__icon-eye{font-size:16px!important;margin-right:5px;color:#fff!important}.king-plus-upload .king-plus-upload__icon-delete{font-size:16px!important;margin-right:5px;color:#fff!important}.king-plus-upload .king-plus-upload__file-item{width:102px;height:102px;display:flex;align-items:center;justify-content:center;border:1px solid #cbcdd3;border-radius:3px}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@king-one/antdv",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.9",
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "",
|
|
7
7
|
"license": "ISC",
|
|
@@ -15,29 +15,29 @@
|
|
|
15
15
|
"dist",
|
|
16
16
|
"global.d.ts"
|
|
17
17
|
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
20
|
+
},
|
|
18
21
|
"peerDependencies": {
|
|
19
22
|
"@ant-design/icons-vue": "^7.0.1",
|
|
20
|
-
"ant-design-vue": "
|
|
23
|
+
"ant-design-vue": "catalog:",
|
|
21
24
|
"async-validator": "^4.2.5",
|
|
22
25
|
"axios": "^1.6.2",
|
|
23
26
|
"lodash-es": "^4.17.21",
|
|
24
|
-
"vue": "
|
|
27
|
+
"vue": "catalog:"
|
|
25
28
|
},
|
|
26
29
|
"publishConfig": {
|
|
27
30
|
"access": "public",
|
|
28
31
|
"registry": "https://registry.npmjs.org/"
|
|
29
32
|
},
|
|
30
33
|
"dependencies": {
|
|
34
|
+
"@king-one/utils": "workspace:^",
|
|
31
35
|
"@vueuse/core": "^10.11.0",
|
|
32
36
|
"@vueuse/shared": "^11.0.0",
|
|
33
37
|
"evtd": "^0.2.4",
|
|
34
|
-
"mitt": "^3.0.1"
|
|
35
|
-
"@king-one/utils": "^1.0.12"
|
|
38
|
+
"mitt": "^3.0.1"
|
|
36
39
|
},
|
|
37
40
|
"custom": {
|
|
38
41
|
"env": "antdv"
|
|
39
|
-
},
|
|
40
|
-
"scripts": {
|
|
41
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
42
42
|
}
|
|
43
|
-
}
|
|
43
|
+
}
|