asiaint-lowcode 3.1.50 → 3.1.52
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/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +139 -139
- package/dist/index.d.ts +13 -3
- package/dist/lazy/Card-lVLvxZWw.js +130 -0
- package/dist/lazy/{Cascader-BXAvX-5o.js → Cascader-CwOfprl0.js} +1 -1
- package/dist/lazy/{Checkbox-DLj8NwoI.js → Checkbox-Dh2OO89D.js} +2 -2
- package/dist/lazy/{Collapse-D-0fvcnI.js → Collapse-ClD5Cxs1.js} +1 -1
- package/dist/lazy/{Component-DHrIxoc2.js → Component-B04szSD6.js} +1 -1
- package/dist/lazy/{Component-CJIxFW5J.js → Component-BqEjXQia.js} +18 -19
- package/dist/lazy/{Component-BgixV5D3.js → Component-DLa6um_n.js} +1 -1
- package/dist/lazy/{Component-XU5O7ZDE.js → Component-DXuFDBu2.js} +1 -1
- package/dist/lazy/{Component-C5J39PyW.js → Component-UdDyAxnf.js} +1 -1
- package/dist/lazy/{Component-Bgdw_ByR.js → Component-eMr3rRUB.js} +1 -1
- package/dist/lazy/{CurdCard-BzEXo8AI.js → CurdCard-DQ8FooiP.js} +1 -1
- package/dist/lazy/{Custom-Biu9pCko.js → Custom-j7zaNxzW.js} +1 -1
- package/dist/lazy/DatePicker-DPCVC-x_.js +71 -0
- package/dist/lazy/{DragList-BTppKkOC.js → DragList-CBVI2mKH.js} +1 -1
- package/dist/lazy/{FilterSearch-BlswyeVN.js → FilterSearch-C2h02c7V.js} +1 -1
- package/dist/lazy/{FormList-BEIZJDOe.js → FormList-IN-zW8nh.js} +1 -1
- package/dist/lazy/{Grid-BLP_P3Bi.js → Grid-B6wzcPWr.js} +1 -1
- package/dist/lazy/{InfiniteScroll-DJbBDHRE.js → InfiniteScroll-Z-GVBlxV.js} +1 -1
- package/dist/lazy/{Inline-1qZ5mCga.js → Inline-C8h45R8u.js} +1 -1
- package/dist/lazy/{JsonEdit-BhEecer-.js → JsonEdit-B8sbqyyS.js} +1 -1
- package/dist/lazy/{LogList-wrurWKDP.js → LogList-zfMyKWCO.js} +1 -1
- package/dist/lazy/{ObjGroup-CqxcrrD1.js → ObjGroup-K4Y7hQc7.js} +1 -1
- package/dist/lazy/{OfferDetails-DoD7ps7I.js → OfferDetails-RtrQpLV7.js} +1 -1
- package/dist/lazy/{Pagination-Bm77Ipnz.js → Pagination-B4z5P9Ke.js} +1 -1
- package/dist/lazy/{Progress-hwU9MAwF.js → Progress-DZKTCadU.js} +1 -1
- package/dist/lazy/{Radio-DcXTm1Ux.js → Radio-Cq4c-qsi.js} +2 -2
- package/dist/lazy/{SearchSelect-CwOiTIVQ.js → SearchSelect-3TehxKw1.js} +2 -2
- package/dist/lazy/{Select-C1eH4bNs.js → Select-G2Lm7UZd.js} +2 -2
- package/dist/lazy/{Table-BvFqk_hO.js → Table-p9KJ4_9d.js} +35 -37
- package/dist/lazy/{Tabs-BqpTlAhu.js → Tabs-CdG-hdJ1.js} +1 -1
- package/dist/lazy/{TextArea-YAjMWoxX.js → TextArea-BEjDKBp4.js} +1 -1
- package/dist/lazy/{Wrapper-BnDq_buY.js → Wrapper-y8fF35Bp.js} +19 -19
- package/dist/lazy/{index-c4mME1ji.js → index-GRIBKt5D.js} +1705 -1699
- package/dist/lazy/{useSelect-lgsGLxpY.js → useSelect-B8sNW_9o.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/lazy/Card-BYzJYgaP.js +0 -120
- package/dist/lazy/DatePicker-DM5ZUxF_.js +0 -48
package/package.json
CHANGED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { defineComponent as $, ref as M, inject as C, resolveComponent as m, openBlock as o, createBlock as c, mergeProps as F, withCtx as d, createElementVNode as s, normalizeClass as _, createElementBlock as a, createVNode as n, unref as i, createCommentVNode as p, toDisplayString as f, Fragment as u, renderList as b, withDirectives as S, vShow as E } from "vue";
|
|
2
|
-
import { a as V, I as h, b as y, B as D, _ as N } from "./index-c4mME1ji.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const j = { key: 2 }, H = { class: "card-btns" }, L = { class: "card-sub-header" }, P = /* @__PURE__ */ $({
|
|
5
|
-
__name: "Card",
|
|
6
|
-
props: {
|
|
7
|
-
hidden: { type: Boolean },
|
|
8
|
-
children: {},
|
|
9
|
-
headerFormSlots: {},
|
|
10
|
-
collapsible: { type: Boolean },
|
|
11
|
-
header: {},
|
|
12
|
-
btns: {},
|
|
13
|
-
mainIcon: {},
|
|
14
|
-
extraIcons: {},
|
|
15
|
-
shadowless: { type: Boolean },
|
|
16
|
-
subHeaders: {}
|
|
17
|
-
},
|
|
18
|
-
setup(R) {
|
|
19
|
-
const r = M(!1), v = C("ruleModule", void 0), w = C("pageMethodMap", {}), k = (e) => {
|
|
20
|
-
if (e && v)
|
|
21
|
-
try {
|
|
22
|
-
v[e](w);
|
|
23
|
-
} catch (t) {
|
|
24
|
-
console.error(t + `
|
|
25
|
-
funcName: ${e}`);
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
return (e, t) => {
|
|
29
|
-
const I = m("el-tooltip"), z = m("el-collapse-transition"), B = m("ElCard");
|
|
30
|
-
return e.hidden ? p("", !0) : (o(), c(B, F({ key: 0 }, e.$attrs, {
|
|
31
|
-
class: ["crm-card", { collapsed: r.value, shadowless: e.shadowless }],
|
|
32
|
-
shadow: "never"
|
|
33
|
-
}), {
|
|
34
|
-
header: d(() => [
|
|
35
|
-
s("div", {
|
|
36
|
-
class: _(["card-header", { "has-collapsed": e.collapsible }])
|
|
37
|
-
}, [
|
|
38
|
-
e.collapsible ? (o(), a("div", {
|
|
39
|
-
key: 0,
|
|
40
|
-
class: "icon-wrapper",
|
|
41
|
-
onClick: t[0] || (t[0] = (l) => r.value = !r.value)
|
|
42
|
-
}, [
|
|
43
|
-
n(i(V), {
|
|
44
|
-
name: "dropdown",
|
|
45
|
-
class: _(["dropdown-icon", { "is-collapsed": r.value }])
|
|
46
|
-
}, null, 8, ["class"])
|
|
47
|
-
])) : p("", !0),
|
|
48
|
-
e.mainIcon ? (o(), c(h, {
|
|
49
|
-
key: 1,
|
|
50
|
-
class: "title-icon",
|
|
51
|
-
size: "large",
|
|
52
|
-
name: e.mainIcon.name,
|
|
53
|
-
color: e.mainIcon.color
|
|
54
|
-
}, null, 8, ["name", "color"])) : p("", !0),
|
|
55
|
-
s("span", null, f(e.header), 1),
|
|
56
|
-
e.headerFormSlots ? (o(), a("div", j, [
|
|
57
|
-
n(i(y), { list: e.headerFormSlots }, null, 8, ["list"])
|
|
58
|
-
])) : p("", !0),
|
|
59
|
-
(o(!0), a(u, null, b(e.extraIcons, (l) => (o(), a(u, {
|
|
60
|
-
key: l.name
|
|
61
|
-
}, [
|
|
62
|
-
l.tips ? (o(), c(I, {
|
|
63
|
-
key: 0,
|
|
64
|
-
content: l.tips,
|
|
65
|
-
placement: "right"
|
|
66
|
-
}, {
|
|
67
|
-
default: d(() => [
|
|
68
|
-
n(h, {
|
|
69
|
-
class: "extra-icon",
|
|
70
|
-
name: l.name,
|
|
71
|
-
color: l.color,
|
|
72
|
-
size: l.size || "small",
|
|
73
|
-
onClick: (g) => k(l.onClick)
|
|
74
|
-
}, null, 8, ["name", "color", "size", "onClick"])
|
|
75
|
-
]),
|
|
76
|
-
_: 2
|
|
77
|
-
}, 1032, ["content"])) : (o(), c(h, {
|
|
78
|
-
key: 1,
|
|
79
|
-
class: "extra-icon",
|
|
80
|
-
name: l.name,
|
|
81
|
-
color: l.color,
|
|
82
|
-
size: l.size || "small",
|
|
83
|
-
onClick: (g) => k(l.onClick)
|
|
84
|
-
}, null, 8, ["name", "color", "size", "onClick"]))
|
|
85
|
-
], 64))), 128)),
|
|
86
|
-
s("div", H, [
|
|
87
|
-
n(i(D), {
|
|
88
|
-
btns: e.btns || []
|
|
89
|
-
}, null, 8, ["btns"])
|
|
90
|
-
]),
|
|
91
|
-
s("div", L, [
|
|
92
|
-
(o(!0), a(u, null, b(e.subHeaders, (l) => (o(), a("div", {
|
|
93
|
-
key: l,
|
|
94
|
-
class: "card-sub-header-item"
|
|
95
|
-
}, [
|
|
96
|
-
s("span", null, f(l), 1)
|
|
97
|
-
]))), 128))
|
|
98
|
-
])
|
|
99
|
-
], 2)
|
|
100
|
-
]),
|
|
101
|
-
default: d(() => [
|
|
102
|
-
n(z, null, {
|
|
103
|
-
default: d(() => [
|
|
104
|
-
S(s("div", null, [
|
|
105
|
-
n(i(y), { list: e.children }, null, 8, ["list"])
|
|
106
|
-
], 512), [
|
|
107
|
-
[E, !r.value]
|
|
108
|
-
])
|
|
109
|
-
]),
|
|
110
|
-
_: 1
|
|
111
|
-
})
|
|
112
|
-
]),
|
|
113
|
-
_: 1
|
|
114
|
-
}, 16, ["class"]));
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
}), J = /* @__PURE__ */ N(P, [["__scopeId", "data-v-dabefafe"]]);
|
|
118
|
-
export {
|
|
119
|
-
J as default
|
|
120
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { defineComponent as C, mergeModels as y, useModel as M, useAttrs as k, computed as s, inject as u, resolveComponent as _, openBlock as d, createElementBlock as V, toDisplayString as B, createBlock as x, mergeProps as D } from "vue";
|
|
2
|
-
import { dayjs as F } from "element-plus";
|
|
3
|
-
import { u as I } from "./index-c4mME1ji.js";
|
|
4
|
-
const P = { key: 0 }, $ = /* @__PURE__ */ C({
|
|
5
|
-
__name: "DatePicker",
|
|
6
|
-
props: /* @__PURE__ */ y({
|
|
7
|
-
onChange: {},
|
|
8
|
-
onInput: {},
|
|
9
|
-
onEnter: {},
|
|
10
|
-
rulePath: {},
|
|
11
|
-
read: { type: Boolean },
|
|
12
|
-
readTextColor: {},
|
|
13
|
-
onClick: {}
|
|
14
|
-
}, {
|
|
15
|
-
modelValue: {},
|
|
16
|
-
modelModifiers: {}
|
|
17
|
-
}),
|
|
18
|
-
emits: ["update:modelValue"],
|
|
19
|
-
setup(n) {
|
|
20
|
-
const e = M(n, "modelValue"), o = n, r = k(), c = I(), m = s(() => o.read || c.schema.read), p = s(() => e.value ? r.valueFormat ? F(e.value).format(r.valueFormat) : e.value : "--"), i = [
|
|
21
|
-
{
|
|
22
|
-
text: "Today",
|
|
23
|
-
value: /* @__PURE__ */ new Date()
|
|
24
|
-
}
|
|
25
|
-
], l = u("ruleModule", void 0), h = u("pageMethodMap", {}), g = (t) => {
|
|
26
|
-
if (console.log("zytest-----handleChange", t), o.onChange && l)
|
|
27
|
-
try {
|
|
28
|
-
l[o.onChange](h, t);
|
|
29
|
-
} catch (a) {
|
|
30
|
-
console.error(a + `
|
|
31
|
-
onChange: ${o.onChange}`);
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
return (t, a) => {
|
|
35
|
-
const f = _("el-date-picker");
|
|
36
|
-
return m.value ? (d(), V("span", P, B(p.value), 1)) : (d(), x(f, D({ key: 1 }, t.$attrs, {
|
|
37
|
-
modelValue: e.value,
|
|
38
|
-
"onUpdate:modelValue": a[0] || (a[0] = (v) => e.value = v),
|
|
39
|
-
style: { width: "100%" },
|
|
40
|
-
shortcuts: i,
|
|
41
|
-
onChange: g
|
|
42
|
-
}), null, 16, ["modelValue"]));
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
export {
|
|
47
|
-
$ as default
|
|
48
|
-
};
|