@king-one/antdv 1.0.39 → 1.0.41
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 +12 -0
- package/dist/es/components/pro-area/src/ProArea.vue2.mjs +50 -42
- package/dist/es/components/pro-picker/src/ProPicker.vue2.mjs +43 -38
- package/dist/es/components/pro-picker/src/types.mjs +0 -3
- package/dist/es/components/pro-title/src/ProTitle.vue2.mjs +17 -15
- package/dist/es/components/pro-title/src/types.mjs +2 -2
- package/dist/lib/components/pro-area/src/ProArea.vue2.js +1 -1
- package/dist/lib/components/pro-picker/src/ProPicker.vue2.js +1 -1
- package/dist/lib/components/pro-picker/src/types.js +1 -1
- package/dist/lib/components/pro-title/src/ProTitle.vue2.js +1 -1
- package/dist/lib/components/pro-title/src/types.js +1 -1
- package/dist/theme-chalk/index.css +1 -1
- package/dist/theme-chalk/pro-title.css +1 -1
- package/dist/types/components/pro-picker/index.d.ts +0 -7
- package/dist/types/components/pro-picker/src/ProPicker.vue.d.ts +0 -7
- package/dist/types/components/pro-picker/src/types.d.ts +0 -3
- package/dist/types/components/pro-title/index.d.ts +11 -11
- package/dist/types/components/pro-title/src/ProTitle.vue.d.ts +5 -5
- package/dist/types/components/pro-title/src/types.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,80 +1,88 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as B, mergeModels as F, useModel as P, computed as u, openBlock as i, createBlock as m, unref as d, withCtx as f, createElementBlock as w, Fragment as y, renderList as A, createVNode as E, normalizeClass as I } from "vue";
|
|
2
2
|
import { Form as M, Row as N, Col as k, Select as U } from "ant-design-vue";
|
|
3
3
|
import { useNamespace as j } from "../../../hooks/use-namespace/index.mjs";
|
|
4
4
|
import { ProAreaProps as q } from "./types.mjs";
|
|
5
|
-
const
|
|
5
|
+
const R = /* @__PURE__ */ B({
|
|
6
6
|
name: "ProArea",
|
|
7
7
|
__name: "ProArea",
|
|
8
|
-
props: /* @__PURE__ */
|
|
8
|
+
props: /* @__PURE__ */ F(q, {
|
|
9
9
|
modelValue: {
|
|
10
10
|
required: !0
|
|
11
11
|
},
|
|
12
12
|
modelModifiers: {}
|
|
13
13
|
}),
|
|
14
14
|
emits: ["update:modelValue"],
|
|
15
|
-
setup(
|
|
16
|
-
const n =
|
|
15
|
+
setup(p) {
|
|
16
|
+
const n = p;
|
|
17
17
|
M.useInjectFormItemContext();
|
|
18
|
-
const a =
|
|
19
|
-
function
|
|
18
|
+
const a = P(p, "modelValue"), { b: v } = j("pro-area-select"), h = u(() => (e) => `请选择${e === 1 ? "请选择省份" : e === 2 ? "请选择城市" : "请选择区县"}`), g = u(() => (e) => n.options.length > 0 ? C(e) : []);
|
|
19
|
+
function C(e) {
|
|
20
20
|
var t;
|
|
21
21
|
if (e === 1)
|
|
22
|
-
return n.options.map((
|
|
23
|
-
value:
|
|
24
|
-
label:
|
|
22
|
+
return n.options.map((l) => ({
|
|
23
|
+
value: r(l, "id"),
|
|
24
|
+
label: r(l, "name")
|
|
25
25
|
}));
|
|
26
26
|
if (e === 2) {
|
|
27
|
-
const
|
|
28
|
-
return
|
|
29
|
-
value: o
|
|
30
|
-
label: o
|
|
27
|
+
const l = a.value.province;
|
|
28
|
+
return l ? s(n.options, l).map((o) => ({
|
|
29
|
+
value: r(o, "id"),
|
|
30
|
+
label: r(o, "name")
|
|
31
31
|
})) : [];
|
|
32
32
|
} else {
|
|
33
|
-
const
|
|
34
|
-
return
|
|
35
|
-
value: o
|
|
36
|
-
label: o
|
|
33
|
+
const l = (t = a.value) == null ? void 0 : t.city;
|
|
34
|
+
return l ? s(n.options, l).map((o) => ({
|
|
35
|
+
value: r(o, "id"),
|
|
36
|
+
label: r(o, "name")
|
|
37
37
|
})) : [];
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
function s(e, t) {
|
|
41
|
-
for (const
|
|
42
|
-
if (
|
|
43
|
-
return
|
|
44
|
-
if (
|
|
45
|
-
const
|
|
46
|
-
if (
|
|
47
|
-
return
|
|
41
|
+
for (const l of e) {
|
|
42
|
+
if (r(l, "id") === t)
|
|
43
|
+
return r(l, "children") || [];
|
|
44
|
+
if (r(l, "children")) {
|
|
45
|
+
const o = s(r(l, "children"), t);
|
|
46
|
+
if (o)
|
|
47
|
+
return o;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function r(e, t) {
|
|
52
52
|
return e && t ? e[(n == null ? void 0 : n.fieldNames[t]) || t] : void 0;
|
|
53
53
|
}
|
|
54
|
-
const
|
|
54
|
+
const c = u(() => {
|
|
55
55
|
let e = n.level;
|
|
56
56
|
const t = [];
|
|
57
57
|
for (; e--; )
|
|
58
58
|
t.push(e === 2 ? "province" : e === 1 ? "city" : "county");
|
|
59
59
|
return t;
|
|
60
|
-
}), V = u(() => [
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
}), V = u(() => [v()]);
|
|
61
|
+
function _(e) {
|
|
62
|
+
e === 1 ? c.value.slice(e).forEach((l) => {
|
|
63
|
+
a.value[l] = void 0;
|
|
64
|
+
}) : e === 2 && c.value.slice(e).forEach((l) => {
|
|
65
|
+
a.value[l] = void 0;
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
return (e, t) => (i(), m(d(N), { gutter: 10 }, {
|
|
69
|
+
default: f(() => [
|
|
70
|
+
(i(!0), w(
|
|
71
|
+
y,
|
|
65
72
|
null,
|
|
66
|
-
|
|
67
|
-
key:
|
|
73
|
+
A(c.value, (l, o) => (i(), m(d(k), {
|
|
74
|
+
key: l,
|
|
68
75
|
span: 24 / e.level
|
|
69
76
|
}, {
|
|
70
|
-
default:
|
|
71
|
-
|
|
72
|
-
value: a.value[
|
|
73
|
-
"onUpdate:value": (
|
|
74
|
-
placeholder:
|
|
77
|
+
default: f(() => [
|
|
78
|
+
E(d(U), {
|
|
79
|
+
value: a.value[l],
|
|
80
|
+
"onUpdate:value": (b) => a.value[l] = b,
|
|
81
|
+
placeholder: h.value(o + 1),
|
|
75
82
|
class: I(V.value),
|
|
76
|
-
options:
|
|
77
|
-
|
|
83
|
+
options: g.value(o + 1),
|
|
84
|
+
onChange: () => _(o + 1)
|
|
85
|
+
}, null, 8, ["value", "onUpdate:value", "placeholder", "class", "options", "onChange"])
|
|
78
86
|
]),
|
|
79
87
|
_: 2
|
|
80
88
|
/* DYNAMIC */
|
|
@@ -89,5 +97,5 @@ const L = /* @__PURE__ */ b({
|
|
|
89
97
|
}
|
|
90
98
|
});
|
|
91
99
|
export {
|
|
92
|
-
|
|
100
|
+
R as default
|
|
93
101
|
};
|
|
@@ -1,65 +1,70 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { debounce as
|
|
3
|
-
import { Select as
|
|
4
|
-
import { proPickerApi as
|
|
5
|
-
import { ProPickerProps as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as d, mergeModels as m, useModel as f, reactive as u, watch as h, openBlock as y, createBlock as b, unref as i, createSlots as v, withCtx as g, createVNode as P } from "vue";
|
|
2
|
+
import { debounce as k } from "lodash-es";
|
|
3
|
+
import { Select as S, Spin as w } from "ant-design-vue";
|
|
4
|
+
import { proPickerApi as l } from "../apis/pro-picker.api.mjs";
|
|
5
|
+
import { ProPickerProps as V } from "./types.mjs";
|
|
6
|
+
const x = /* @__PURE__ */ d({
|
|
7
7
|
name: "ProPicker",
|
|
8
8
|
__name: "ProPicker",
|
|
9
|
-
props: /* @__PURE__ */
|
|
9
|
+
props: /* @__PURE__ */ m(V, {
|
|
10
10
|
modelValue: {},
|
|
11
11
|
modelModifiers: {}
|
|
12
12
|
}),
|
|
13
13
|
emits: ["update:modelValue"],
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
14
|
+
setup(p) {
|
|
15
|
+
const s = p, r = f(p, "modelValue"), a = u({
|
|
16
16
|
data: [],
|
|
17
17
|
fetching: !1
|
|
18
18
|
});
|
|
19
|
-
|
|
20
|
-
(typeof e == "string" || typeof e == "number"
|
|
19
|
+
h(r, (e) => {
|
|
20
|
+
!e || a.data.some((o) => o.value === e) || (typeof e == "string" || typeof e == "number" ? l.company({
|
|
21
21
|
params: { value: e }
|
|
22
|
-
}).then((
|
|
23
|
-
|
|
24
|
-
label:
|
|
25
|
-
value:
|
|
26
|
-
})),
|
|
27
|
-
})
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
}).then((o) => {
|
|
23
|
+
a.data = o.data.options.map((n) => ({
|
|
24
|
+
label: n.label,
|
|
25
|
+
value: n.value
|
|
26
|
+
})), a.fetching = !1;
|
|
27
|
+
}) : Array.isArray(e) && l.company({
|
|
28
|
+
params: { value: e.join(",") }
|
|
29
|
+
}).then((o) => {
|
|
30
|
+
a.data = o.data.options.map((n) => ({
|
|
31
|
+
label: n.label,
|
|
32
|
+
value: n.value
|
|
33
|
+
})), a.fetching = !1;
|
|
34
|
+
}));
|
|
30
35
|
});
|
|
31
|
-
const c =
|
|
32
|
-
e && (
|
|
36
|
+
const c = k((e) => {
|
|
37
|
+
e && (a.fetching = !0, s.type === "company" ? l.company({
|
|
33
38
|
params: { label: e }
|
|
34
39
|
}).then((t) => {
|
|
35
|
-
|
|
36
|
-
label:
|
|
37
|
-
value:
|
|
38
|
-
})),
|
|
39
|
-
}) :
|
|
40
|
+
a.data = t.data.options.map((o) => ({
|
|
41
|
+
label: o.label,
|
|
42
|
+
value: o.value
|
|
43
|
+
})), a.fetching = !1;
|
|
44
|
+
}) : l.user({
|
|
40
45
|
params: { label: e }
|
|
41
46
|
}).then(() => {
|
|
42
47
|
}));
|
|
43
|
-
},
|
|
44
|
-
return (e, t) => (
|
|
45
|
-
value:
|
|
46
|
-
"onUpdate:value": t[0] || (t[0] = (
|
|
48
|
+
}, s.delay);
|
|
49
|
+
return (e, t) => (y(), b(i(S), {
|
|
50
|
+
value: r.value,
|
|
51
|
+
"onUpdate:value": t[0] || (t[0] = (o) => r.value = o),
|
|
47
52
|
mode: e.mode,
|
|
48
53
|
"show-search": "",
|
|
49
54
|
placeholder: e.placeholder,
|
|
50
55
|
style: { width: "100%" },
|
|
51
56
|
"filter-option": !1,
|
|
52
|
-
"not-found-content":
|
|
53
|
-
options:
|
|
54
|
-
onSearch:
|
|
55
|
-
},
|
|
57
|
+
"not-found-content": a.fetching ? void 0 : null,
|
|
58
|
+
options: a.data,
|
|
59
|
+
onSearch: i(c)
|
|
60
|
+
}, v({
|
|
56
61
|
_: 2
|
|
57
62
|
/* DYNAMIC */
|
|
58
63
|
}, [
|
|
59
|
-
|
|
64
|
+
a.fetching ? {
|
|
60
65
|
name: "notFoundContent",
|
|
61
|
-
fn:
|
|
62
|
-
|
|
66
|
+
fn: g(() => [
|
|
67
|
+
P(i(w), { size: "small" })
|
|
63
68
|
]),
|
|
64
69
|
key: "0"
|
|
65
70
|
} : void 0
|
|
@@ -67,5 +72,5 @@ const z = /* @__PURE__ */ s({
|
|
|
67
72
|
}
|
|
68
73
|
});
|
|
69
74
|
export {
|
|
70
|
-
|
|
75
|
+
x as default
|
|
71
76
|
};
|
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useNamespace as
|
|
3
|
-
import { TitleProps as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as l, computed as a, openBlock as i, createElementBlock as p, normalizeClass as m, createElementVNode as c, normalizeStyle as u, toDisplayString as d, renderSlot as f } from "vue";
|
|
2
|
+
import { useNamespace as z } from "../../../hooks/use-namespace/index.mjs";
|
|
3
|
+
import { TitleProps as S } from "./types.mjs";
|
|
4
|
+
const _ = /* @__PURE__ */ l({
|
|
5
5
|
name: "ProTitle",
|
|
6
6
|
__name: "ProTitle",
|
|
7
|
-
props:
|
|
8
|
-
setup(
|
|
9
|
-
const
|
|
10
|
-
return (
|
|
7
|
+
props: S,
|
|
8
|
+
setup(o) {
|
|
9
|
+
const r = o, { b: t, m: n } = z("pro-title"), s = a(() => r.unBorder ? [t(), n("unborder")] : [t()]);
|
|
10
|
+
return (e, y) => (i(), p(
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
|
-
class:
|
|
13
|
+
class: m(s.value)
|
|
14
14
|
},
|
|
15
15
|
[
|
|
16
16
|
c(
|
|
17
17
|
"span",
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
{
|
|
19
|
+
style: u({ fontSize: `${e.size}px` })
|
|
20
|
+
},
|
|
21
|
+
d(e.title),
|
|
22
|
+
5
|
|
23
|
+
/* TEXT, STYLE */
|
|
22
24
|
),
|
|
23
|
-
|
|
25
|
+
f(e.$slots, "default")
|
|
24
26
|
],
|
|
25
27
|
2
|
|
26
28
|
/* CLASS */
|
|
@@ -28,5 +30,5 @@ const k = /* @__PURE__ */ s({
|
|
|
28
30
|
}
|
|
29
31
|
});
|
|
30
32
|
export {
|
|
31
|
-
|
|
33
|
+
_ as default
|
|
32
34
|
};
|
|
@@ -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 t=require("vue"),s=require("ant-design-vue"),B=require("../../../hooks/use-namespace/index.js"),_=require("./types.js"),b=t.defineComponent({name:"ProArea",__name:"ProArea",props:t.mergeModels(_.ProAreaProps,{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(d){const u=d;s.Form.useInjectFormItemContext();const a=t.useModel(d,"modelValue"),{b:p}=B.useNamespace("pro-area-select"),v=t.computed(()=>e=>`请选择${e===1?"请选择省份":e===2?"请选择城市":"请选择区县"}`),f=t.computed(()=>e=>u.options.length>0?m(e):[]);function m(e){var o;if(e===1)return u.options.map(l=>({value:r(l,"id"),label:r(l,"name")}));if(e===2){const l=a.value.province;return l?c(u.options,l).map(n=>({value:r(n,"id"),label:r(n,"name")})):[]}else{const l=(o=a.value)==null?void 0:o.city;return l?c(u.options,l).map(n=>({value:r(n,"id"),label:r(n,"name")})):[]}}function c(e,o){for(const l of e){if(r(l,"id")===o)return r(l,"children")||[];if(r(l,"children")){const n=c(r(l,"children"),o);if(n)return n}}}function r(e,o){return e&&o?e[(u==null?void 0:u.fieldNames[o])||o]:void 0}const i=t.computed(()=>{let e=u.level;const o=[];for(;e--;)o.push(e===2?"province":e===1?"city":"county");return o}),h=t.computed(()=>[p()]);function g(e){e===1?i.value.slice(e).forEach(l=>{a.value[l]=void 0}):e===2&&i.value.slice(e).forEach(l=>{a.value[l]=void 0})}return(e,o)=>(t.openBlock(),t.createBlock(t.unref(s.Row),{gutter:10},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.value,(l,n)=>(t.openBlock(),t.createBlock(t.unref(s.Col),{key:l,span:24/e.level},{default:t.withCtx(()=>[t.createVNode(t.unref(s.Select),{value:a.value[l],"onUpdate:value":C=>a.value[l]=C,placeholder:v.value(n+1),class:t.normalizeClass(h.value),options:f.value(n+1),onChange:()=>g(n+1)},null,8,["value","onUpdate:value","placeholder","class","options","onChange"])]),_:2},1032,["span"]))),128))]),_:1}))}});exports.default=b;
|
|
@@ -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 a=require("vue"),d=require("lodash-es"),p=require("ant-design-vue"),l=require("../apis/pro-picker.api.js"),f=require("./types.js"),m=a.defineComponent({name:"ProPicker",__name:"ProPicker",props:a.mergeModels(f.ProPickerProps,{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(s){const c=s,i=a.useModel(s,"modelValue"),o=a.reactive({data:[],fetching:!1});a.watch(i,e=>{!e||o.data.some(t=>t.value===e)||(typeof e=="string"||typeof e=="number"?l.proPickerApi.company({params:{value:e}}).then(t=>{o.data=t.data.options.map(r=>({label:r.label,value:r.value})),o.fetching=!1}):Array.isArray(e)&&l.proPickerApi.company({params:{value:e.join(",")}}).then(t=>{o.data=t.data.options.map(r=>({label:r.label,value:r.value})),o.fetching=!1}))});const u=d.debounce(e=>{e&&(o.fetching=!0,c.type==="company"?l.proPickerApi.company({params:{label:e}}).then(n=>{o.data=n.data.options.map(t=>({label:t.label,value:t.value})),o.fetching=!1}):l.proPickerApi.user({params:{label:e}}).then(()=>{}))},c.delay);return(e,n)=>(a.openBlock(),a.createBlock(a.unref(p.Select),{value:i.value,"onUpdate:value":n[0]||(n[0]=t=>i.value=t),mode:e.mode,"show-search":"",placeholder:e.placeholder,style:{width:"100%"},"filter-option":!1,"not-found-content":o.fetching?void 0:null,options:o.data,onSearch:a.unref(u)},a.createSlots({_:2},[o.fetching?{name:"notFoundContent",fn:a.withCtx(()=>[a.createVNode(a.unref(p.Spin),{size:"small"})]),key:"0"}:void 0]),1032,["value","mode","placeholder","not-found-content","options","onSearch"]))}});exports.default=m;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={type:{type:String,default:"company"},placeholder:{type:String,default:"请选择"},mode:{type:String},
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={type:{type:String,default:"company"},placeholder:{type:String,default:"请选择"},mode:{type:String},delay:{type:Number,default:200}};exports.ProPickerProps=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../hooks/use-namespace/index.js"),u=require("./types.js"),a=e.defineComponent({name:"ProTitle",__name:"ProTitle",props:u.TitleProps,setup(o){const n=o,{b:r,m:s}=i.useNamespace("pro-title"),l=e.computed(()=>n.unBorder?[r(),s("unborder")]:[r()]);return(t,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(l.value)},[e.createElementVNode("span",{style:e.normalizeStyle({fontSize:`${t.size}px`})},e.toDisplayString(t.title),5),e.renderSlot(t.$slots,"default")],2))}});exports.default=a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={unBorder:{type:Boolean,default:!1},title:{type:String,required:!0},size:{type:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={unBorder:{type:Boolean,default:!1},title:{type:String,required:!0},size:{type:Number,default:16}};exports.TitleProps=e;
|
|
@@ -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-vittual-wrapper{width:-moz-fit-content;width:fit-content;margin:0 auto}.king-pro-title{border-bottom:1px solid #ccc;position:relative;padding-left:10px}.king-pro-title::before{content:"";position:absolute;width:3px;height:
|
|
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-vittual-wrapper{width:-moz-fit-content;width:fit-content;margin:0 auto}.king-pro-title{border-bottom:1px solid #ccc;position:relative;padding-left:10px}.king-pro-title::before{content:"";position:absolute;width:3px;height:100%;background:#517cfc;left:0}.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:65vh;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-area-select{width:100%}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.king-pro-title{border-bottom:1px solid #ccc;position:relative;padding-left:10px}.king-pro-title::before{content:"";position:absolute;width:3px;height:
|
|
1
|
+
.king-pro-title{border-bottom:1px solid #ccc;position:relative;padding-left:10px}.king-pro-title::before{content:"";position:absolute;width:3px;height:100%;background:#517cfc;left:0}.king-pro-title--unborder{border:none}
|
|
@@ -14,9 +14,6 @@ export declare const KProPicker: SFCWithInstall<DefineComponent<{
|
|
|
14
14
|
mode: {
|
|
15
15
|
readonly type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
16
16
|
};
|
|
17
|
-
isInit: {
|
|
18
|
-
readonly type: BooleanConstructor;
|
|
19
|
-
};
|
|
20
17
|
delay: {
|
|
21
18
|
readonly type: NumberConstructor;
|
|
22
19
|
readonly default: 200;
|
|
@@ -38,9 +35,6 @@ export declare const KProPicker: SFCWithInstall<DefineComponent<{
|
|
|
38
35
|
mode: {
|
|
39
36
|
readonly type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
40
37
|
};
|
|
41
|
-
isInit: {
|
|
42
|
-
readonly type: BooleanConstructor;
|
|
43
|
-
};
|
|
44
38
|
delay: {
|
|
45
39
|
readonly type: NumberConstructor;
|
|
46
40
|
readonly default: 200;
|
|
@@ -53,7 +47,6 @@ export declare const KProPicker: SFCWithInstall<DefineComponent<{
|
|
|
53
47
|
}, {
|
|
54
48
|
type: "company" | "user";
|
|
55
49
|
placeholder: string;
|
|
56
|
-
isInit: boolean;
|
|
57
50
|
delay: number;
|
|
58
51
|
}, {}>>;
|
|
59
52
|
export default KProPicker;
|
|
@@ -12,9 +12,6 @@ declare const _default: DefineComponent<{
|
|
|
12
12
|
mode: {
|
|
13
13
|
readonly type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
14
14
|
};
|
|
15
|
-
isInit: {
|
|
16
|
-
readonly type: BooleanConstructor;
|
|
17
|
-
};
|
|
18
15
|
delay: {
|
|
19
16
|
readonly type: NumberConstructor;
|
|
20
17
|
readonly default: 200;
|
|
@@ -36,9 +33,6 @@ declare const _default: DefineComponent<{
|
|
|
36
33
|
mode: {
|
|
37
34
|
readonly type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
38
35
|
};
|
|
39
|
-
isInit: {
|
|
40
|
-
readonly type: BooleanConstructor;
|
|
41
|
-
};
|
|
42
36
|
delay: {
|
|
43
37
|
readonly type: NumberConstructor;
|
|
44
38
|
readonly default: 200;
|
|
@@ -51,7 +45,6 @@ declare const _default: DefineComponent<{
|
|
|
51
45
|
}, {
|
|
52
46
|
type: "company" | "user";
|
|
53
47
|
placeholder: string;
|
|
54
|
-
isInit: boolean;
|
|
55
48
|
delay: number;
|
|
56
49
|
}, {}>;
|
|
57
50
|
export default _default;
|
|
@@ -13,9 +13,6 @@ export declare const ProPickerProps: {
|
|
|
13
13
|
readonly mode: {
|
|
14
14
|
readonly type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
15
15
|
};
|
|
16
|
-
readonly isInit: {
|
|
17
|
-
readonly type: BooleanConstructor;
|
|
18
|
-
};
|
|
19
16
|
readonly delay: {
|
|
20
17
|
readonly type: NumberConstructor;
|
|
21
18
|
readonly default: 200;
|
|
@@ -12,8 +12,8 @@ export declare const KProTitle: SFCWithInstall<{
|
|
|
12
12
|
readonly required: true;
|
|
13
13
|
};
|
|
14
14
|
readonly size: {
|
|
15
|
-
readonly type:
|
|
16
|
-
readonly default:
|
|
15
|
+
readonly type: NumberConstructor;
|
|
16
|
+
readonly default: 16;
|
|
17
17
|
};
|
|
18
18
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
19
19
|
readonly unBorder: {
|
|
@@ -25,11 +25,11 @@ export declare const KProTitle: SFCWithInstall<{
|
|
|
25
25
|
readonly required: true;
|
|
26
26
|
};
|
|
27
27
|
readonly size: {
|
|
28
|
-
readonly type:
|
|
29
|
-
readonly default:
|
|
28
|
+
readonly type: NumberConstructor;
|
|
29
|
+
readonly default: 16;
|
|
30
30
|
};
|
|
31
31
|
}>>, {
|
|
32
|
-
readonly size:
|
|
32
|
+
readonly size: number;
|
|
33
33
|
readonly unBorder: boolean;
|
|
34
34
|
}, true, {}, {}, {
|
|
35
35
|
P: {};
|
|
@@ -48,11 +48,11 @@ export declare const KProTitle: SFCWithInstall<{
|
|
|
48
48
|
readonly required: true;
|
|
49
49
|
};
|
|
50
50
|
readonly size: {
|
|
51
|
-
readonly type:
|
|
52
|
-
readonly default:
|
|
51
|
+
readonly type: NumberConstructor;
|
|
52
|
+
readonly default: 16;
|
|
53
53
|
};
|
|
54
54
|
}>>, {}, {}, {}, {}, {
|
|
55
|
-
readonly size:
|
|
55
|
+
readonly size: number;
|
|
56
56
|
readonly unBorder: boolean;
|
|
57
57
|
}>;
|
|
58
58
|
__isFragment?: never;
|
|
@@ -68,11 +68,11 @@ export declare const KProTitle: SFCWithInstall<{
|
|
|
68
68
|
readonly required: true;
|
|
69
69
|
};
|
|
70
70
|
readonly size: {
|
|
71
|
-
readonly type:
|
|
72
|
-
readonly default:
|
|
71
|
+
readonly type: NumberConstructor;
|
|
72
|
+
readonly default: 16;
|
|
73
73
|
};
|
|
74
74
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
75
|
-
readonly size:
|
|
75
|
+
readonly size: number;
|
|
76
76
|
readonly unBorder: boolean;
|
|
77
77
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
78
78
|
$slots: {
|
|
@@ -17,8 +17,8 @@ declare const __VLS_component: DefineComponent<{
|
|
|
17
17
|
readonly required: true;
|
|
18
18
|
};
|
|
19
19
|
readonly size: {
|
|
20
|
-
readonly type:
|
|
21
|
-
readonly default:
|
|
20
|
+
readonly type: NumberConstructor;
|
|
21
|
+
readonly default: 16;
|
|
22
22
|
};
|
|
23
23
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
24
24
|
readonly unBorder: {
|
|
@@ -30,11 +30,11 @@ declare const __VLS_component: DefineComponent<{
|
|
|
30
30
|
readonly required: true;
|
|
31
31
|
};
|
|
32
32
|
readonly size: {
|
|
33
|
-
readonly type:
|
|
34
|
-
readonly default:
|
|
33
|
+
readonly type: NumberConstructor;
|
|
34
|
+
readonly default: 16;
|
|
35
35
|
};
|
|
36
36
|
}>>, {
|
|
37
|
-
readonly size:
|
|
37
|
+
readonly size: number;
|
|
38
38
|
readonly unBorder: boolean;
|
|
39
39
|
}, {}>;
|
|
40
40
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -9,8 +9,8 @@ export declare const TitleProps: {
|
|
|
9
9
|
readonly required: true;
|
|
10
10
|
};
|
|
11
11
|
readonly size: {
|
|
12
|
-
readonly type:
|
|
13
|
-
readonly default:
|
|
12
|
+
readonly type: NumberConstructor;
|
|
13
|
+
readonly default: 16;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
export type TitlePropsTypes = ExtractPropTypes<typeof TitleProps>;
|