@king-one/antdv 2.1.0 → 2.2.0
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 +6 -0
- package/dist/es/components/index.mjs +22 -18
- package/dist/es/components/pro-cell/index.mjs +7 -0
- package/dist/es/components/pro-cell/src/index.css +1 -0
- package/dist/es/components/pro-cell/src/index.vue.mjs +7 -0
- package/dist/es/components/pro-cell/src/index.vue2.mjs +109 -0
- package/dist/es/components/pro-cell-group/index.mjs +8 -0
- package/dist/es/components/pro-cell-group/src/index.vue.mjs +41 -0
- package/dist/es/components/pro-cell-group/src/index.vue2.mjs +4 -0
- package/dist/es/components/pro-cell-group/src/types.mjs +4 -0
- package/dist/es/components/pro-form-render/src/module/AioListInput.css +1 -1
- package/dist/es/components/pro-form-render/src/module/AioListInput.vue.mjs +2 -2
- package/dist/es/components/pro-form-render/src/module/AioListInput.vue2.mjs +1 -1
- package/dist/es/index.mjs +39 -31
- package/dist/lib/components/index.js +1 -1
- package/dist/lib/components/pro-cell/index.js +1 -0
- package/dist/lib/components/pro-cell/src/index.css +1 -0
- package/dist/lib/components/pro-cell/src/index.vue.js +1 -0
- package/dist/lib/components/pro-cell/src/index.vue2.js +1 -0
- package/dist/lib/components/pro-cell-group/index.js +1 -0
- package/dist/lib/components/pro-cell-group/src/index.vue.js +1 -0
- package/dist/lib/components/pro-cell-group/src/index.vue2.js +1 -0
- package/dist/lib/components/pro-cell-group/src/types.js +1 -0
- package/dist/lib/components/pro-form-render/src/module/AioListInput.css +1 -1
- package/dist/lib/components/pro-form-render/src/module/AioListInput.vue.js +1 -1
- package/dist/lib/components/pro-form-render/src/module/AioListInput.vue2.js +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/theme-chalk/icon.css +1 -1
- package/dist/theme-chalk/index.css +1 -1
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/pro-cell/index.d.ts +294 -0
- package/dist/types/components/pro-cell/src/index.vue.d.ts +73 -0
- package/dist/types/components/pro-cell/src/types.d.ts +8 -0
- package/dist/types/components/pro-cell-group/index.d.ts +169 -0
- package/dist/types/components/pro-cell-group/src/index.vue.d.ts +28 -0
- package/dist/types/components/pro-cell-group/src/types.d.ts +17 -0
- package/global.d.ts +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { KCollapseTranstion as t } from "./collapse-transtion/index.mjs";
|
|
2
2
|
import { KProModal as m } from "./pro-modal/index.mjs";
|
|
3
3
|
import { KProTitle as f } from "./pro-title/index.mjs";
|
|
4
|
-
import { KScrollBar as
|
|
4
|
+
import { KScrollBar as x } from "./scroll-bar/index.mjs";
|
|
5
5
|
import { KCoverScrollBar as P } from "./cover-scroll-bar/index.mjs";
|
|
6
6
|
import { KScaleVirtualList as i } from "./scale-virtual-list/index.mjs";
|
|
7
7
|
import { KProTag as n } from "./pro-tag/index.mjs";
|
|
8
|
-
import { KProPicker as
|
|
9
|
-
import { KProArea as
|
|
10
|
-
import { KProSignature as
|
|
11
|
-
import { KProTable as
|
|
8
|
+
import { KProPicker as u } from "./pro-picker/index.mjs";
|
|
9
|
+
import { KProArea as T } from "./pro-area/index.mjs";
|
|
10
|
+
import { KProSignature as d } from "./pro-signature/index.mjs";
|
|
11
|
+
import { KProTable as v } from "./pro-table/index.mjs";
|
|
12
12
|
import { KIcon as R } from "./icon/index.mjs";
|
|
13
|
-
import { KProUpload as
|
|
14
|
-
import { KProContractView as
|
|
13
|
+
import { KProUpload as G } from "./pro-upload/index.mjs";
|
|
14
|
+
import { KProContractView as b } from "./pro-contract-view/index.mjs";
|
|
15
15
|
import "./pro-loading/index.mjs";
|
|
16
|
-
import { KPlusUpload as
|
|
17
|
-
import { KProOverlay as
|
|
16
|
+
import { KPlusUpload as w } from "./plus-upload/index.mjs";
|
|
17
|
+
import { KProOverlay as D } from "./pro-overlay/index.mjs";
|
|
18
18
|
import { KProSign as I } from "./pro-sign/index.mjs";
|
|
19
19
|
import { KUserSelector as M } from "./pro-selector/index.mjs";
|
|
20
20
|
import { KProUserAvatar as h, KUserAvatar as j } from "./pro-user-avatar/index.mjs";
|
|
@@ -22,30 +22,34 @@ import { KProRoleSelector as z, KRoleSelector as E } from "./role-selector/index
|
|
|
22
22
|
import { KDeptSelector as J } from "./dept-selector/index.mjs";
|
|
23
23
|
import { KProTagGroup as Q } from "./pro-tag-group/index.mjs";
|
|
24
24
|
import { KFormRender as X } from "./pro-form-render/index.mjs";
|
|
25
|
+
import { KCell as Z } from "./pro-cell/index.mjs";
|
|
26
|
+
import { KCellGroup as $ } from "./pro-cell-group/index.mjs";
|
|
25
27
|
export {
|
|
28
|
+
Z as KCell,
|
|
29
|
+
$ as KCellGroup,
|
|
26
30
|
t as KCollapseTranstion,
|
|
27
31
|
P as KCoverScrollBar,
|
|
28
32
|
J as KDeptSelector,
|
|
29
33
|
X as KFormRender,
|
|
30
34
|
R as KIcon,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
35
|
+
w as KPlusUpload,
|
|
36
|
+
T as KProArea,
|
|
37
|
+
b as KProContractView,
|
|
34
38
|
m as KProModal,
|
|
35
|
-
|
|
36
|
-
|
|
39
|
+
D as KProOverlay,
|
|
40
|
+
u as KProPicker,
|
|
37
41
|
z as KProRoleSelector,
|
|
38
42
|
I as KProSign,
|
|
39
|
-
|
|
40
|
-
|
|
43
|
+
d as KProSignature,
|
|
44
|
+
v as KProTable,
|
|
41
45
|
n as KProTag,
|
|
42
46
|
Q as KProTagGroup,
|
|
43
47
|
f as KProTitle,
|
|
44
|
-
|
|
48
|
+
G as KProUpload,
|
|
45
49
|
h as KProUserAvatar,
|
|
46
50
|
E as KRoleSelector,
|
|
47
51
|
i as KScaleVirtualList,
|
|
48
|
-
|
|
52
|
+
x as KScrollBar,
|
|
49
53
|
j as KUserAvatar,
|
|
50
54
|
M as KUserSelector
|
|
51
55
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.is_border[data-v-6550ad7d]{border-bottom:1px solid #e5e5e5}.is_vertical[data-v-6550ad7d]{flex-direction:column}.is_horizontal[data-v-6550ad7d]{flex-direction:row;align-items:center}.pro-cell[data-v-6550ad7d]{display:flex;line-height:32px}.pro-cell .pro-cell-label[data-v-6550ad7d]{display:flex;align-items:center}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { pushScopeId as Q, popScopeId as T, defineComponent as K, useSlots as U, inject as Y, computed as l, createElementBlock as a, openBlock as s, normalizeStyle as c, normalizeClass as q, createElementVNode as f, renderSlot as C, createCommentVNode as A, unref as b, toDisplayString as m } from "vue";
|
|
2
|
+
import { PRO_CELL_GROUP_KEY as F } from "../../pro-cell-group/src/types.mjs";
|
|
3
|
+
const H = { class: "pro-cell-label" }, Z = /* @__PURE__ */ K({
|
|
4
|
+
__name: "index",
|
|
5
|
+
props: {
|
|
6
|
+
label: {},
|
|
7
|
+
value: {},
|
|
8
|
+
isColon: { type: Boolean, default: !1 },
|
|
9
|
+
isBorder: { type: Boolean, default: !1 },
|
|
10
|
+
gap: { default: 8 },
|
|
11
|
+
border: { type: Boolean },
|
|
12
|
+
labelSize: { default: "" },
|
|
13
|
+
labelColor: { default: "" },
|
|
14
|
+
labelWeight: { default: 400 },
|
|
15
|
+
valueSize: { default: "" },
|
|
16
|
+
valueColor: { default: "" },
|
|
17
|
+
valueWeight: { default: 400 },
|
|
18
|
+
customClass: {},
|
|
19
|
+
customStyle: {},
|
|
20
|
+
direction: { default: "horizontal" },
|
|
21
|
+
colon: { type: Boolean }
|
|
22
|
+
},
|
|
23
|
+
setup(S) {
|
|
24
|
+
const e = S, n = U(), h = Y(F, {}), {
|
|
25
|
+
border: y,
|
|
26
|
+
labelSize: g,
|
|
27
|
+
labelColor: z,
|
|
28
|
+
labelWeight: x,
|
|
29
|
+
valueSize: _,
|
|
30
|
+
valueColor: W,
|
|
31
|
+
valueWeight: B,
|
|
32
|
+
customClass: k,
|
|
33
|
+
customStyle: L,
|
|
34
|
+
direction: V,
|
|
35
|
+
colon: E,
|
|
36
|
+
gap: I
|
|
37
|
+
} = h || {}, $ = l(() => e.isBorder || y || !1), D = l(() => e.labelSize || g || "14px"), i = l(() => e.labelColor || z || "#ccc"), G = l(() => e.labelWeight || x), N = l(() => e.valueSize || _ || "14px"), u = l(() => e.valueColor || W || "#333"), O = l(() => e.valueWeight || B || 400), P = l(() => e.customClass || k || ""), R = l(() => e.customStyle || L || {}), r = l(() => e.direction || V || "horizontal"), j = l(() => e.isColon || E || !1), w = l(() => e.gap || I || 12);
|
|
38
|
+
return console.log("valueColor =>", u.value), (d, J) => {
|
|
39
|
+
var o, v, t, p;
|
|
40
|
+
return s(), a(
|
|
41
|
+
"div",
|
|
42
|
+
{
|
|
43
|
+
class: q(["pro-cell", [
|
|
44
|
+
{
|
|
45
|
+
is_border: $.value,
|
|
46
|
+
is_vertical: r.value === "vertical",
|
|
47
|
+
is_horizontal: r.value === "horizontal"
|
|
48
|
+
},
|
|
49
|
+
P.value
|
|
50
|
+
]]),
|
|
51
|
+
style: c(R.value)
|
|
52
|
+
},
|
|
53
|
+
[
|
|
54
|
+
f("div", H, [
|
|
55
|
+
(v = (o = b(n)) == null ? void 0 : o.label) != null && v.call(o) ? C(d.$slots, "label", { key: 0 }, void 0, !0) : (s(), a(
|
|
56
|
+
"div",
|
|
57
|
+
{
|
|
58
|
+
key: 1,
|
|
59
|
+
style: c({
|
|
60
|
+
fontSize: D.value,
|
|
61
|
+
color: i.value,
|
|
62
|
+
fontWeight: G.value
|
|
63
|
+
})
|
|
64
|
+
},
|
|
65
|
+
m(e.label),
|
|
66
|
+
5
|
|
67
|
+
/* TEXT, STYLE */
|
|
68
|
+
)),
|
|
69
|
+
j.value ? (s(), a(
|
|
70
|
+
"span",
|
|
71
|
+
{
|
|
72
|
+
key: 2,
|
|
73
|
+
style: c({
|
|
74
|
+
color: i.value
|
|
75
|
+
})
|
|
76
|
+
},
|
|
77
|
+
":",
|
|
78
|
+
4
|
|
79
|
+
/* STYLE */
|
|
80
|
+
)) : A("v-if", !0)
|
|
81
|
+
]),
|
|
82
|
+
f("div", null, [
|
|
83
|
+
(p = (t = b(n)) == null ? void 0 : t.value) != null && p.call(t) ? C(d.$slots, "value", { key: 0 }, void 0, !0) : (s(), a(
|
|
84
|
+
"div",
|
|
85
|
+
{
|
|
86
|
+
key: 1,
|
|
87
|
+
class: "pro-cell-value",
|
|
88
|
+
style: c({
|
|
89
|
+
fontSize: N.value,
|
|
90
|
+
color: u.value,
|
|
91
|
+
fontWeight: O.value,
|
|
92
|
+
paddingLeft: `${w.value}px`
|
|
93
|
+
})
|
|
94
|
+
},
|
|
95
|
+
m(e.value),
|
|
96
|
+
5
|
|
97
|
+
/* TEXT, STYLE */
|
|
98
|
+
))
|
|
99
|
+
])
|
|
100
|
+
],
|
|
101
|
+
6
|
|
102
|
+
/* CLASS, STYLE */
|
|
103
|
+
);
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
export {
|
|
108
|
+
Z as default
|
|
109
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { defineComponent as t, provide as a, createElementBlock as r, openBlock as i, renderSlot as c } from "vue";
|
|
2
|
+
import { PRO_CELL_GROUP_KEY as n } from "./types.mjs";
|
|
3
|
+
const m = /* @__PURE__ */ t({
|
|
4
|
+
__name: "index",
|
|
5
|
+
props: {
|
|
6
|
+
border: { type: Boolean },
|
|
7
|
+
labelSize: {},
|
|
8
|
+
labelColor: {},
|
|
9
|
+
labelWeight: {},
|
|
10
|
+
valueSize: {},
|
|
11
|
+
valueColor: {},
|
|
12
|
+
valueWeight: {},
|
|
13
|
+
customClass: {},
|
|
14
|
+
customStyle: {},
|
|
15
|
+
direction: {},
|
|
16
|
+
colon: { type: Boolean },
|
|
17
|
+
gap: {}
|
|
18
|
+
},
|
|
19
|
+
setup(l) {
|
|
20
|
+
const e = l;
|
|
21
|
+
return a(n, {
|
|
22
|
+
border: e.border || !1,
|
|
23
|
+
labelSize: e.labelSize || "14px",
|
|
24
|
+
labelColor: e.labelColor || "#ccc",
|
|
25
|
+
labelWeight: e.labelWeight || 400,
|
|
26
|
+
valueSize: e.valueSize || "14px",
|
|
27
|
+
valueColor: e.valueColor || "#333",
|
|
28
|
+
valueWeight: e.valueWeight || 400,
|
|
29
|
+
customClass: e.customClass || "",
|
|
30
|
+
customStyle: e.customStyle || {},
|
|
31
|
+
direction: e.direction || "horizontal",
|
|
32
|
+
colon: e.colon || !0,
|
|
33
|
+
gap: e.gap || 12
|
|
34
|
+
}), (o, s) => (i(), r("div", null, [
|
|
35
|
+
c(o.$slots, "default")
|
|
36
|
+
]));
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
m as default
|
|
41
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.aio-list-input .aio-list-input-item[data-v-
|
|
1
|
+
.aio-list-input .aio-list-input-item[data-v-bc182810]{display:flex;align-items:center;justify-content:space-between}.aio-list-input .aio-list-input-item .aio-list-input-icon[data-v-bc182810]{display:flex;margin-left:12px}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./AioListInput.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-bc182810"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -2,7 +2,7 @@ import { pushScopeId as v, popScopeId as h, createElementVNode as i, defineCompo
|
|
|
2
2
|
import { FormItem as b, Input as B, Button as w } from "ant-design-vue";
|
|
3
3
|
import { KIcon as F } from "../../../icon/index.mjs";
|
|
4
4
|
import { FormItemProps as M } from "../types.mjs";
|
|
5
|
-
const S = (o) => (v("data-v-
|
|
5
|
+
const S = (o) => (v("data-v-bc182810"), o = o(), h(), o), q = { class: "aio-list-input" }, z = { class: "aio-list-input-item" }, A = { class: "aio-list-input-icon" }, E = /* @__PURE__ */ S(() => /* @__PURE__ */ i(
|
|
6
6
|
"div",
|
|
7
7
|
{ style: { "font-size": "14px", "padding-left": "6px" } },
|
|
8
8
|
" +新增 ",
|
package/dist/es/index.mjs
CHANGED
|
@@ -2,16 +2,16 @@ import o from "./installer.mjs";
|
|
|
2
2
|
import "./components/index.mjs";
|
|
3
3
|
import "./hooks/index.mjs";
|
|
4
4
|
import { collapseProps as f } from "./components/collapse-transtion/src/types.mjs";
|
|
5
|
-
import { KCollapseTranstion as
|
|
5
|
+
import { KCollapseTranstion as x } from "./components/collapse-transtion/index.mjs";
|
|
6
6
|
import { useProModal as P, useProModalInit as a } from "./components/pro-modal/hooks/useProModal.mjs";
|
|
7
|
-
import { KProModal as
|
|
8
|
-
import { TitleProps as
|
|
7
|
+
import { KProModal as u } from "./components/pro-modal/index.mjs";
|
|
8
|
+
import { TitleProps as n } from "./components/pro-title/src/types.mjs";
|
|
9
9
|
import { KProTitle as S } from "./components/pro-title/index.mjs";
|
|
10
10
|
import { scrollbarProps as T } from "./components/scroll-bar/src/types.mjs";
|
|
11
11
|
import { KScrollBar as U } from "./components/scroll-bar/index.mjs";
|
|
12
|
-
import { CoverScrollbarProps as
|
|
13
|
-
import { KCoverScrollBar as
|
|
14
|
-
import { KScaleVirtualList as
|
|
12
|
+
import { CoverScrollbarProps as E } from "./components/cover-scroll-bar/src/types.mjs";
|
|
13
|
+
import { KCoverScrollBar as G } from "./components/cover-scroll-bar/index.mjs";
|
|
14
|
+
import { KScaleVirtualList as A } from "./components/scale-virtual-list/index.mjs";
|
|
15
15
|
import { proTagProps as I } from "./components/pro-tag/src/types.mjs";
|
|
16
16
|
import { KProTag as b } from "./components/pro-tag/index.mjs";
|
|
17
17
|
import { PickerApiEnum as M, ProPickerProps as O } from "./components/pro-picker/src/types.mjs";
|
|
@@ -28,15 +28,15 @@ import { UploadContextKey as rr } from "./components/pro-upload/src/types.mjs";
|
|
|
28
28
|
import { useUpload as er } from "./components/pro-upload/src/hooks/useUpload.mjs";
|
|
29
29
|
import { KProUpload as pr } from "./components/pro-upload/index.mjs";
|
|
30
30
|
import { useProContractView as fr } from "./components/pro-contract-view/hooks/use-contract-view.mjs";
|
|
31
|
-
import { KProContractView as
|
|
31
|
+
import { KProContractView as xr } from "./components/pro-contract-view/index.mjs";
|
|
32
32
|
import { default as Pr } from "./components/pro-loading/src/pro-loading.mjs";
|
|
33
33
|
import { KPlusUpload as ir } from "./components/plus-upload/index.mjs";
|
|
34
34
|
import { KProOverlay as Kr } from "./components/pro-overlay/index.mjs";
|
|
35
|
-
import { onSignConfirm as
|
|
35
|
+
import { onSignConfirm as cr, onSignInit as Sr, onSignSuccess as dr } from "./components/pro-sign/src/effects/onEffects.mjs";
|
|
36
36
|
import { initProSign as gr } from "./components/pro-sign/src/core/index.mjs";
|
|
37
|
-
import { useProSign as
|
|
38
|
-
import { KProSign as
|
|
39
|
-
import { GTE_ORGTREE_URL as
|
|
37
|
+
import { useProSign as Cr } from "./components/pro-sign/src/hook/useProSign.mjs";
|
|
38
|
+
import { KProSign as Rr } from "./components/pro-sign/index.mjs";
|
|
39
|
+
import { GTE_ORGTREE_URL as _r, UserSelectorProps as Ar, selectUserContextKey as Fr, userSelectorEmits as Ir } from "./components/pro-selector/src/types.mjs";
|
|
40
40
|
import { useUserSelector as br } from "./components/pro-selector/src/hooks/useUserSelector.mjs";
|
|
41
41
|
import { KUserSelector as Mr } from "./components/pro-selector/index.mjs";
|
|
42
42
|
import { default as Vr } from "./components/pro-selector/src/pro-user.mjs";
|
|
@@ -49,30 +49,36 @@ import { ProTagGroupProps as $r } from "./components/pro-tag-group/src/types.mjs
|
|
|
49
49
|
import { KProTagGroup as oo } from "./components/pro-tag-group/index.mjs";
|
|
50
50
|
import { FormItemProps as to, FormRenderProps as po } from "./components/pro-form-render/src/types.mjs";
|
|
51
51
|
import { KFormRender as fo } from "./components/pro-form-render/index.mjs";
|
|
52
|
-
import { default as
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
52
|
+
import { default as xo } from "./components/pro-form-render/src/index.vue.mjs";
|
|
53
|
+
import { KCell as Po } from "./components/pro-cell/index.mjs";
|
|
54
|
+
import { default as io } from "./components/pro-cell/src/index.vue.mjs";
|
|
55
|
+
import { KCellGroup as Ko } from "./components/pro-cell-group/index.mjs";
|
|
56
|
+
import { default as co } from "./components/pro-cell-group/src/index.vue.mjs";
|
|
57
|
+
import { useProForm as To, useProFormInit as go } from "./hooks/useProForm.mjs";
|
|
58
|
+
import { useModelValue as Co } from "./hooks/useModelValue.mjs";
|
|
55
59
|
export {
|
|
56
|
-
|
|
60
|
+
E as CoverScrollbarProps,
|
|
57
61
|
to as FormItemProps,
|
|
58
|
-
|
|
62
|
+
xo as FormRender,
|
|
59
63
|
po as FormRenderProps,
|
|
60
64
|
Jr as GET_DEPT_TREE_URL,
|
|
61
65
|
Dr as GTE_OPTIONS_URL,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
66
|
+
_r as GTE_ORGTREE_URL,
|
|
67
|
+
Po as KCell,
|
|
68
|
+
Ko as KCellGroup,
|
|
69
|
+
x as KCollapseTranstion,
|
|
70
|
+
G as KCoverScrollBar,
|
|
65
71
|
Yr as KDeptSelector,
|
|
66
72
|
fo as KFormRender,
|
|
67
73
|
Z as KIcon,
|
|
68
74
|
ir as KPlusUpload,
|
|
69
75
|
h as KProArea,
|
|
70
|
-
|
|
71
|
-
|
|
76
|
+
xr as KProContractView,
|
|
77
|
+
u as KProModal,
|
|
72
78
|
Kr as KProOverlay,
|
|
73
79
|
k as KProPicker,
|
|
74
80
|
qr as KProRoleSelector,
|
|
75
|
-
|
|
81
|
+
Rr as KProSign,
|
|
76
82
|
H as KProSignature,
|
|
77
83
|
X as KProTable,
|
|
78
84
|
b as KProTag,
|
|
@@ -82,40 +88,42 @@ export {
|
|
|
82
88
|
yr as KProUserAvatar,
|
|
83
89
|
Pr as KProloading,
|
|
84
90
|
zr as KRoleSelector,
|
|
85
|
-
|
|
91
|
+
A as KScaleVirtualList,
|
|
86
92
|
U as KScrollBar,
|
|
87
93
|
wr as KUserAvatar,
|
|
88
94
|
Mr as KUserSelector,
|
|
89
95
|
M as PickerApiEnum,
|
|
90
96
|
w as ProAreaProps,
|
|
97
|
+
io as ProCell,
|
|
98
|
+
co as ProCellGroup,
|
|
91
99
|
O as ProPickerProps,
|
|
92
100
|
q as ProSignatureProps,
|
|
93
101
|
$r as ProTagGroupProps,
|
|
94
102
|
Vr as ProUserSelector,
|
|
95
|
-
|
|
103
|
+
n as TitleProps,
|
|
96
104
|
rr as UploadContextKey,
|
|
97
|
-
|
|
105
|
+
Ar as UserSelectorProps,
|
|
98
106
|
f as collapseProps,
|
|
99
107
|
o as default,
|
|
100
108
|
Qr as deptSelectorEmits,
|
|
101
109
|
Wr as deptSelectorProps,
|
|
102
110
|
gr as initProSign,
|
|
103
|
-
|
|
111
|
+
cr as onSignConfirm,
|
|
104
112
|
Sr as onSignInit,
|
|
105
113
|
dr as onSignSuccess,
|
|
106
114
|
I as proTagProps,
|
|
107
115
|
Nr as roleSelectorEmits,
|
|
108
116
|
hr as roleSelectorProps,
|
|
109
117
|
T as scrollbarProps,
|
|
110
|
-
|
|
111
|
-
|
|
118
|
+
Fr as selectUserContextKey,
|
|
119
|
+
Co as useModelValue,
|
|
112
120
|
D as useProArea,
|
|
113
121
|
fr as useProContractView,
|
|
114
|
-
|
|
115
|
-
|
|
122
|
+
To as useProForm,
|
|
123
|
+
go as useProFormInit,
|
|
116
124
|
P as useProModal,
|
|
117
125
|
a as useProModalInit,
|
|
118
|
-
|
|
126
|
+
Cr as useProSign,
|
|
119
127
|
Q as useProTable,
|
|
120
128
|
er as useUpload,
|
|
121
129
|
br as useUserSelector,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./collapse-transtion/index.js"),i=require("./pro-modal/index.js"),n=require("./pro-title/index.js"),t=require("./scroll-bar/index.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./collapse-transtion/index.js"),i=require("./pro-modal/index.js"),n=require("./pro-title/index.js"),t=require("./scroll-bar/index.js"),l=require("./cover-scroll-bar/index.js"),K=require("./scale-virtual-list/index.js"),c=require("./pro-tag/index.js"),a=require("./pro-picker/index.js"),s=require("./pro-area/index.js"),u=require("./pro-signature/index.js"),d=require("./pro-table/index.js"),P=require("./icon/index.js"),q=require("./pro-upload/index.js"),x=require("./pro-contract-view/index.js");require("./pro-loading/index.js");const $=require("./plus-upload/index.js"),S=require("./pro-overlay/index.js"),p=require("./pro-sign/index.js"),g=require("./pro-selector/index.js"),e=require("./pro-user-avatar/index.js"),r=require("./role-selector/index.js"),T=require("./dept-selector/index.js"),C=require("./pro-tag-group/index.js"),U=require("./pro-form-render/index.js"),v=require("./pro-cell/index.js"),A=require("./pro-cell-group/index.js");exports.KCollapseTranstion=o.KCollapseTranstion;exports.KProModal=i.KProModal;exports.KProTitle=n.KProTitle;exports.KScrollBar=t.KScrollBar;exports.KCoverScrollBar=l.KCoverScrollBar;exports.KScaleVirtualList=K.KScaleVirtualList;exports.KProTag=c.KProTag;exports.KProPicker=a.KProPicker;exports.KProArea=s.KProArea;exports.KProSignature=u.KProSignature;exports.KProTable=d.KProTable;exports.KIcon=P.KIcon;exports.KProUpload=q.KProUpload;exports.KProContractView=x.KProContractView;exports.KPlusUpload=$.KPlusUpload;exports.KProOverlay=S.KProOverlay;exports.KProSign=p.KProSign;exports.KUserSelector=g.KUserSelector;exports.KProUserAvatar=e.KProUserAvatar;exports.KUserAvatar=e.KUserAvatar;exports.KProRoleSelector=r.KProRoleSelector;exports.KRoleSelector=r.KRoleSelector;exports.KDeptSelector=T.KDeptSelector;exports.KProTagGroup=C.KProTagGroup;exports.KFormRender=U.KFormRender;exports.KCell=v.KCell;exports.KCellGroup=A.KCellGroup;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../utils/install.js"),e=require("./src/index.vue.js"),t=l.withInstall(e.default);exports.ProCell=e.default;exports.KCell=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.is_border[data-v-6550ad7d]{border-bottom:1px solid #e5e5e5}.is_vertical[data-v-6550ad7d]{flex-direction:column}.is_horizontal[data-v-6550ad7d]{flex-direction:row;align-items:center}.pro-cell[data-v-6550ad7d]{display:flex;line-height:32px}.pro-cell .pro-cell-label[data-v-6550ad7d]{display:flex;align-items:center}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-6550ad7d"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),O=require("../../pro-cell-group/src/types.js");const P={class:"pro-cell-label"},$=e.defineComponent({__name:"index",props:{label:{},value:{},isColon:{type:Boolean,default:!1},isBorder:{type:Boolean,default:!1},gap:{default:8},border:{type:Boolean},labelSize:{default:""},labelColor:{default:""},labelWeight:{default:400},valueSize:{default:""},valueColor:{default:""},valueWeight:{default:400},customClass:{},customStyle:{},direction:{default:"horizontal"},colon:{type:Boolean}},setup(d){const l=d,a=e.useSlots(),p=e.inject(O.PRO_CELL_GROUP_KEY,{}),{border:v,labelSize:m,labelColor:S,labelWeight:b,valueSize:f,valueColor:y,valueWeight:C,customClass:g,customStyle:z,direction:h,colon:x,gap:B}=p||{},_=e.computed(()=>l.isBorder||v||!1),k=e.computed(()=>l.labelSize||m||"14px"),c=e.computed(()=>l.labelColor||S||"#ccc"),W=e.computed(()=>l.labelWeight||b),E=e.computed(()=>l.valueSize||f||"14px"),n=e.computed(()=>l.valueColor||y||"#333"),L=e.computed(()=>l.valueWeight||C||400),V=e.computed(()=>l.customClass||g||""),D=e.computed(()=>l.customStyle||z||{}),u=e.computed(()=>l.direction||h||"horizontal"),I=e.computed(()=>l.isColon||x||!1),N=e.computed(()=>l.gap||B||12);return console.log("valueColor =>",n.value),(s,j)=>{var o,r,t,i;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pro-cell",[{is_border:_.value,is_vertical:u.value==="vertical",is_horizontal:u.value==="horizontal"},V.value]]),style:e.normalizeStyle(D.value)},[e.createElementVNode("div",P,[(r=(o=e.unref(a))==null?void 0:o.label)!=null&&r.call(o)?e.renderSlot(s.$slots,"label",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle({fontSize:k.value,color:c.value,fontWeight:W.value})},e.toDisplayString(l.label),5)),I.value?(e.openBlock(),e.createElementBlock("span",{key:2,style:e.normalizeStyle({color:c.value})},":",4)):e.createCommentVNode("v-if",!0)]),e.createElementVNode("div",null,[(i=(t=e.unref(a))==null?void 0:t.value)!=null&&i.call(t)?e.renderSlot(s.$slots,"value",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:"pro-cell-value",style:e.normalizeStyle({fontSize:E.value,color:n.value,fontWeight:L.value,paddingLeft:`${N.value}px`})},e.toDisplayString(l.value),5))])],6)}}});exports.default=$;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../utils/install.js");require("./src/index.vue2.js");const e=require("./src/index.vue.js"),l=t.withInstall(e.default);exports.ProCellGroup=e.default;exports.KCellGroup=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("vue"),a=require("./types.js"),r=l.defineComponent({__name:"index",props:{border:{type:Boolean},labelSize:{},labelColor:{},labelWeight:{},valueSize:{},valueColor:{},valueWeight:{},customClass:{},customStyle:{},direction:{},colon:{type:Boolean},gap:{}},setup(o){const e=o;return l.provide(a.PRO_CELL_GROUP_KEY,{border:e.border||!1,labelSize:e.labelSize||"14px",labelColor:e.labelColor||"#ccc",labelWeight:e.labelWeight||400,valueSize:e.valueSize||"14px",valueColor:e.valueColor||"#333",valueWeight:e.valueWeight||400,customClass:e.customClass||"",customStyle:e.customStyle||{},direction:e.direction||"horizontal",colon:e.colon||!0,gap:e.gap||12}),(t,u)=>(l.openBlock(),l.createElementBlock("div",null,[l.renderSlot(t.$slots,"default")]))}});exports.default=r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=Symbol("PRO_CELL_GROUP_KEY");exports.PRO_CELL_GROUP_KEY=_;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.aio-list-input .aio-list-input-item[data-v-
|
|
1
|
+
.aio-list-input .aio-list-input-item[data-v-bc182810]{display:flex;align-items:center;justify-content:space-between}.aio-list-input .aio-list-input-item .aio-list-input-icon[data-v-bc182810]{display:flex;margin-left:12px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./AioListInput.vue2.js");;/* empty css */const t=require("../../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./AioListInput.vue2.js");;/* empty css */const t=require("../../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-bc182810"]]);exports.default=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("ant-design-vue"),c=require("../../../icon/index.js"),p=require("../types.js"),m=o=>(e.pushScopeId("data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("ant-design-vue"),c=require("../../../icon/index.js"),p=require("../types.js"),m=o=>(e.pushScopeId("data-v-bc182810"),o=o(),e.popScopeId(),o),f={class:"aio-list-input"},v={class:"aio-list-input-item"},_={class:"aio-list-input-icon"},h=m(()=>e.createElementVNode("div",{style:{"font-size":"14px","padding-left":"6px"}}," +新增 ",-1)),I=e.defineComponent({__name:"AioListInput",props:e.mergeModels(p.FormItemProps,{modelValue:{type:Array,default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const l=e.useModel(o,"modelValue");function i(){l.value.push({value:""})}function d(t){t!==0&&l.value.splice(t,1)}return(t,a)=>(e.openBlock(),e.createElementBlock("div",f,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,(r,u)=>(e.openBlock(),e.createBlock(e.unref(n.FormItem),{key:u,label:"",name:[t.formItem.key,u,"value"],rules:{required:t.formItem.required??!1,message:"请输入内容",trigger:"blur"}},{default:e.withCtx(()=>[e.createElementVNode("div",v,[e.createVNode(e.unref(n.Input),e.mergeProps({value:r.value,"onUpdate:value":s=>r.value=s,placeholder:t.formItem.placeholder,ref_for:!0},t.formItem.properties||{}),null,16,["value","onUpdate:value","placeholder"]),e.createElementVNode("div",_,[e.createVNode(e.unref(c.KIcon),{name:"guanbi",color:"#f56c6c",size:24,style:{cursor:"pointer"},onClick:s=>d(u)},null,8,["onClick"])])])]),_:2},1032,["name","rules"]))),128)),e.createVNode(e.unref(n.Button),{type:"dashed",style:{width:"100%"},onClick:a[0]||(a[0]=r=>i())},{default:e.withCtx(()=>[h]),_:1})]))}});exports.default=I;
|
package/dist/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const P=require("./installer.js");require("./components/index.js");require("./hooks/index.js");const a=require("./components/collapse-transtion/src/types.js"),p=require("./components/collapse-transtion/index.js"),t=require("./components/pro-modal/hooks/useProModal.js"),d=require("./components/pro-modal/index.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const P=require("./installer.js");require("./components/index.js");require("./hooks/index.js");const a=require("./components/collapse-transtion/src/types.js"),p=require("./components/collapse-transtion/index.js"),t=require("./components/pro-modal/hooks/useProModal.js"),d=require("./components/pro-modal/index.js"),q=require("./components/pro-title/src/types.js"),K=require("./components/pro-title/index.js"),S=require("./components/scroll-bar/src/types.js"),$=require("./components/scroll-bar/index.js"),T=require("./components/cover-scroll-bar/src/types.js"),x=require("./components/cover-scroll-bar/index.js"),g=require("./components/scale-virtual-list/index.js"),U=require("./components/pro-tag/src/types.js"),_=require("./components/pro-tag/index.js"),i=require("./components/pro-picker/src/types.js"),m=require("./components/pro-picker/index.js"),E=require("./components/pro-area/src/types.js"),y=require("./components/pro-area/hooks/use-pro-area.js"),C=require("./components/pro-area/index.js"),R=require("./components/pro-signature/src/types.js"),v=require("./components/pro-signature/index.js"),G=require("./components/pro-table/hooks/use-pro-table.js"),b=require("./components/pro-table/index.js"),f=require("./components/icon/index.js"),A=require("./components/pro-upload/src/types.js"),F=require("./components/pro-upload/src/hooks/useUpload.js"),I=require("./components/pro-upload/index.js"),M=require("./components/pro-contract-view/hooks/use-contract-view.js"),V=require("./components/pro-contract-view/index.js"),L=require("./components/pro-loading/src/pro-loading.js"),O=require("./components/plus-upload/index.js"),k=require("./components/pro-overlay/index.js"),r=require("./components/pro-sign/src/effects/onEffects.js"),w=require("./components/pro-sign/src/core/index.js"),B=require("./components/pro-sign/src/hook/useProSign.js"),D=require("./components/pro-sign/index.js"),e=require("./components/pro-selector/src/types.js"),j=require("./components/pro-selector/src/hooks/useUserSelector.js"),N=require("./components/pro-selector/index.js"),h=require("./components/pro-selector/src/pro-user.js"),n=require("./components/pro-user-avatar/index.js"),o=require("./components/role-selector/src/types.js"),u=require("./components/role-selector/index.js"),s=require("./components/dept-selector/src/types.js"),z=require("./components/dept-selector/index.js"),H=require("./components/pro-tag-group/src/types.js"),J=require("./components/pro-tag-group/index.js"),l=require("./components/pro-form-render/src/types.js"),Q=require("./components/pro-form-render/index.js"),W=require("./components/pro-form-render/src/index.vue.js"),X=require("./components/pro-cell/index.js"),Y=require("./components/pro-cell/src/index.vue.js"),Z=require("./components/pro-cell-group/index.js"),ee=require("./components/pro-cell-group/src/index.vue.js"),c=require("./hooks/useProForm.js"),re=require("./hooks/useModelValue.js");exports.default=P.default;exports.collapseProps=a.collapseProps;exports.KCollapseTranstion=p.KCollapseTranstion;exports.useProModal=t.useProModal;exports.useProModalInit=t.useProModalInit;exports.KProModal=d.KProModal;exports.TitleProps=q.TitleProps;exports.KProTitle=K.KProTitle;exports.scrollbarProps=S.scrollbarProps;exports.KScrollBar=$.KScrollBar;exports.CoverScrollbarProps=T.CoverScrollbarProps;exports.KCoverScrollBar=x.KCoverScrollBar;exports.KScaleVirtualList=g.KScaleVirtualList;exports.proTagProps=U.proTagProps;exports.KProTag=_.KProTag;exports.PickerApiEnum=i.PickerApiEnum;exports.ProPickerProps=i.ProPickerProps;exports.KProPicker=m.KProPicker;exports.ProAreaProps=E.ProAreaProps;exports.useProArea=y.useProArea;exports.KProArea=C.KProArea;exports.ProSignatureProps=R.ProSignatureProps;exports.KProSignature=v.KProSignature;exports.useProTable=G.useProTable;exports.KProTable=b.KProTable;exports.KIcon=f.KIcon;exports.UploadContextKey=A.UploadContextKey;exports.useUpload=F.useUpload;exports.KProUpload=I.KProUpload;exports.useProContractView=M.useProContractView;exports.KProContractView=V.KProContractView;exports.KProloading=L.default;exports.KPlusUpload=O.KPlusUpload;exports.KProOverlay=k.KProOverlay;exports.onSignConfirm=r.onSignConfirm;exports.onSignInit=r.onSignInit;exports.onSignSuccess=r.onSignSuccess;exports.initProSign=w.initProSign;exports.useProSign=B.useProSign;exports.KProSign=D.KProSign;exports.GTE_ORGTREE_URL=e.GTE_ORGTREE_URL;exports.UserSelectorProps=e.UserSelectorProps;exports.selectUserContextKey=e.selectUserContextKey;exports.userSelectorEmits=e.userSelectorEmits;exports.useUserSelector=j.useUserSelector;exports.KUserSelector=N.KUserSelector;exports.ProUserSelector=h.default;exports.KProUserAvatar=n.KProUserAvatar;exports.KUserAvatar=n.KUserAvatar;exports.GTE_OPTIONS_URL=o.GTE_OPTIONS_URL;exports.roleSelectorEmits=o.roleSelectorEmits;exports.roleSelectorProps=o.roleSelectorProps;exports.KProRoleSelector=u.KProRoleSelector;exports.KRoleSelector=u.KRoleSelector;exports.GET_DEPT_TREE_URL=s.GET_DEPT_TREE_URL;exports.deptSelectorEmits=s.deptSelectorEmits;exports.deptSelectorProps=s.deptSelectorProps;exports.KDeptSelector=z.KDeptSelector;exports.ProTagGroupProps=H.ProTagGroupProps;exports.KProTagGroup=J.KProTagGroup;exports.FormItemProps=l.FormItemProps;exports.FormRenderProps=l.FormRenderProps;exports.KFormRender=Q.KFormRender;exports.FormRender=W.default;exports.KCell=X.KCell;exports.ProCell=Y.default;exports.KCellGroup=Z.KCellGroup;exports.ProCellGroup=ee.default;exports.useProForm=c.useProForm;exports.useProFormInit=c.useProFormInit;exports.useModelValue=re.useModelValue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";@font-face{font-family:iconfont;src:url(fonts/iconfont.woff2?t=
|
|
1
|
+
@charset "UTF-8";@font-face{font-family:iconfont;src:url(fonts/iconfont.woff2?t=63170) format("woff2"),url(fonts/iconfont.woff?t=1992) format("woff"),url(fonts/iconfont.ttf?t=3024) 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-xinzeng:before{content:"\e689"}.icon-king-guanbi:before{content:""}.icon-king-sync:before{content:"\e673"}.icon-king-tupianjiazaishibai:before{content:"\ec0d"}.icon-king-double-left:before{content:"\e65e"}.icon-king-double-right:before{content:"\e65f"}.icon-king-question-circle:before{content:"\e66c"}.icon-king-sound:before{content:"\e672"}.icon-king-code:before{content:"\e65a"}.icon-king-desktop:before{content:"\e65b"}.icon-king-delete1:before{content:"\e65c"}.icon-king-mobile:before{content:"\e668"}.icon-king-qiye:before{content:"\e646"}.icon-king-bumen:before{content:"\e7cf"}.icon-king-a-jiaoseguanli2:before{content:"\e611"}.icon-king-shanchu:before{content:"\e62f"}.icon-king-zuzhijiagou:before{content:"\e6d4"}.icon-king-search:before{content:"\e671"}.icon-king-calendar:before{content:"\e659"}.icon-king-carry-out:before{content:"\e658"}.icon-king-file-add:before{content:"\e664"}.icon-king-form:before{content:"\e665"}.icon-king-close-circle:before{content:"\e66a"}.icon-king-close-circle-o:before{content:"\e66b"}.icon-king-vertical-align-bottom:before{content:"\e670"}.icon-king-merge-cells:before{content:"\e667"}.icon-king-split-cells:before{content:"\e66e"}.icon-king-down:before{content:"\e65d"}.icon-king-left:before{content:"\e666"}.icon-king-right:before{content:"\e66d"}.icon-king-up:before{content:"\e66f"}.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"}
|