halo-mobile 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/@intlify-BISCQg1h.js +2189 -0
- package/dist/assets/@monaco-editor-BCDRi0Ti.js +258 -0
- package/dist/assets/@vue-aVYGocXp.js +93 -0
- package/dist/assets/clone-DtpAsLoe.js +139 -0
- package/dist/assets/echarts-GNlBOlA2.js +35788 -0
- package/dist/assets/file-saver-Cnua3zoa.js +74 -0
- package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
- package/dist/assets/moment-h96o7c8I.js +2578 -0
- package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
- package/dist/assets/state-local-CEworIRt.js +131 -0
- package/dist/assets/tslib-Mk5CobFr.js +33 -0
- package/dist/assets/underscore-B0BCaBxV.js +1070 -0
- package/dist/assets/underscore.string-oDfap0sE.js +425 -0
- package/dist/assets/util-deprecate-BqFawLoO.js +28 -0
- package/dist/assets/vue-i18n-CLr3brPz.js +1670 -0
- package/dist/assets/zrender-DL5fpFCv.js +8571 -0
- package/dist/main.js +6717 -36
- package/dist/style.css +4 -14
- package/package.json +25 -24
- package/dist/Autocomplete-XXlWKdZ7.js +0 -26
- package/dist/Autocomplete-Yvl0RCLc.js +0 -64
- package/dist/CSharp-KyLMHymK.js +0 -26
- package/dist/Cascader-PzpVQ7AB.js +0 -40
- package/dist/Cascader-YLS04_2K.js +0 -48
- package/dist/Checkbox-T3g7wr0e.js +0 -102
- package/dist/Checkbox-xtKe1aWq.js +0 -26
- package/dist/Code-EYCtRAN7.js +0 -4
- package/dist/Code-Kt2CerlI.js +0 -4
- package/dist/Code.vue_vue_type_style_index_0_lang-kiGLlqK3.js +0 -50
- package/dist/Code.vue_vue_type_style_index_0_lang-tCrm737u.js +0 -29
- package/dist/Color-iWLZHYMu.js +0 -33
- package/dist/Color-tf48GpkC.js +0 -30
- package/dist/Copy-c0RFSh48.js +0 -35
- package/dist/Date-PIiMOa7G.js +0 -75
- package/dist/Date-ZvcltpXD.js +0 -26
- package/dist/DateRange-UGAw4vvX.js +0 -38
- package/dist/DateRange-u_NTVOsq.js +0 -29
- package/dist/DateTimeRange-XMx5BSsY.js +0 -60
- package/dist/Datetime-9uSognrF.js +0 -68
- package/dist/Datetime-yUYlyiVe.js +0 -26
- package/dist/Decimal-64RFuThb.js +0 -26
- package/dist/Decimal-hbTpK8HG.js +0 -53
- package/dist/Dictionary-9wRln3ML.js +0 -4
- package/dist/Dictionary.vue_vue_type_script_setup_true_lang-5HlYf8uW.js +0 -33
- package/dist/Email-Y2RZC3Pp.js +0 -29
- package/dist/Email-sXlLv1De.js +0 -35
- package/dist/Index--r9hKHmH.js +0 -4
- package/dist/Index-DpwKrUS5.js +0 -4
- package/dist/Index.vue_vue_type_script_setup_true_lang-IyVPMbcI.js +0 -41
- package/dist/Int-cJfYzdCu.js +0 -28
- package/dist/Int-ctDLC_Su.js +0 -47
- package/dist/Int-fJBASDM7.js +0 -29
- package/dist/Json-BFAMwsfX.js +0 -28
- package/dist/Json-gCo-Zdv_.js +0 -26
- package/dist/Month-B_1hI-Rh.js +0 -72
- package/dist/MySql-enArT5D7.js +0 -30
- package/dist/MySql-vcBpsfvo.js +0 -26
- package/dist/Normal-KRIGE5xc.js +0 -31
- package/dist/Password-R6_k-rn2.js +0 -29
- package/dist/Password-pOFH57lW.js +0 -47
- package/dist/Progress-cjSNkpkZ.js +0 -34
- package/dist/Progress-dvuJ1mVx.js +0 -27
- package/dist/Radio-MgtZXxhO.js +0 -38
- package/dist/Radio-NLiXdnr7.js +0 -26
- package/dist/Rate-8Ojfu4Pl.js +0 -28
- package/dist/Rate-tlqTCUfE.js +0 -45
- package/dist/RichText-7YHU6ukx.js +0 -7558
- package/dist/RichText-YQxC6ync.js +0 -53
- package/dist/RichText-chshsG49.js +0 -27
- package/dist/Select-BSzLsx0C.js +0 -26
- package/dist/Select-HdlI6DWS.js +0 -69
- package/dist/Select-fY1P8Gei.js +0 -71
- package/dist/Sql-Ww3tPZxu.js +0 -26
- package/dist/Switch-jHDDXeAv.js +0 -35
- package/dist/Switch-xgpu_bmM.js +0 -26
- package/dist/Table-xOt0TEu7.js +0 -52
- package/dist/Text-4hfe8ACo.js +0 -40
- package/dist/Text-CznHk-ab.js +0 -4
- package/dist/Text-dPJvVg8h.js +0 -27
- package/dist/Text.vue_vue_type_script_setup_true_lang-3i3pp-y0.js +0 -29
- package/dist/Textarea-1xTv6tuq.js +0 -27
- package/dist/Textarea-CX_-wFIg.js +0 -29
- package/dist/Textarea-hxjW3zKV.js +0 -38
- package/dist/Time-U_PlgRNm.js +0 -35
- package/dist/Upload-6otTjgzq.js +0 -54
- package/dist/Upload-N-FekeJG.js +0 -82
- package/dist/Year-W5E5x4fI.js +0 -73
- package/dist/main-GfL1Y5aJ.js +0 -30973
- package/dist/main.d.ts +0 -329
package/package.json
CHANGED
@@ -1,15 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "halo-mobile",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.2",
|
4
4
|
"description": "Halo mobile framework",
|
5
5
|
"scripts": {
|
6
|
-
"halo-mobile:
|
7
|
-
"halo-mobile:
|
6
|
+
"halo-mobile:tsc": "vue-tsc",
|
7
|
+
"halo-mobile:build": "vite build",
|
8
|
+
"halo-mobile:build:publish": "vite build & npm publish",
|
9
|
+
"halo-mobile:install": "pnpm install",
|
10
|
+
"halo-mobile:outdated": "pnpm outdated",
|
11
|
+
"halo-mobile:publish": "npm publish",
|
12
|
+
"halo-mobile:link": "pnpm link ../halo-fe",
|
8
13
|
"halo-mobile:test": "echo \"Error: no test specified\" && exit 1"
|
9
14
|
},
|
10
15
|
"type": "module",
|
11
|
-
"main": "./dist/main.
|
12
|
-
"types": "./
|
16
|
+
"main": "./dist/main.ts",
|
17
|
+
"types": "./esm/main.d.ts",
|
13
18
|
"files": [
|
14
19
|
"dist"
|
15
20
|
],
|
@@ -22,27 +27,23 @@
|
|
22
27
|
"publishConfig": {
|
23
28
|
"registry": "https://registry.npmjs.org"
|
24
29
|
},
|
30
|
+
"peerDependencies": {
|
31
|
+
"vant": "4.9.3"
|
32
|
+
},
|
25
33
|
"dependencies": {
|
34
|
+
"halo-fe": "1.0.15",
|
35
|
+
"qs": "6.13.0",
|
36
|
+
"vue": "3.4.38",
|
37
|
+
"vue-i18n": "9.13.1",
|
38
|
+
"vue-router": "4.4.3"
|
26
39
|
},
|
27
40
|
"devDependencies": {
|
28
|
-
"@fortawesome/fontawesome-free": "6.
|
29
|
-
"@types/node": "
|
30
|
-
"@vitejs/plugin-vue": "5.
|
31
|
-
"@vitejs/plugin-vue-jsx": "4.0.
|
32
|
-
"
|
33
|
-
"
|
34
|
-
"
|
35
|
-
"moment": "2.30.1",
|
36
|
-
"pinia": "2.1.7",
|
37
|
-
"sass": "1.77.4",
|
38
|
-
"qs": "6.12.1",
|
39
|
-
"quill": "2.0.2",
|
40
|
-
"underscore": "1.13.6",
|
41
|
-
"vant": "4.9.1",
|
42
|
-
"vite": "5.2.12",
|
43
|
-
"vue": "3.4.27",
|
44
|
-
"vue-i18n": "9.13.1",
|
45
|
-
"vite-plugin-dts": "3.9.1",
|
46
|
-
"vue-router": "4.3.2"
|
41
|
+
"@fortawesome/fontawesome-free": "6.6.0",
|
42
|
+
"@types/node": "22.3.0",
|
43
|
+
"@vitejs/plugin-vue": "5.1.2",
|
44
|
+
"@vitejs/plugin-vue-jsx": "4.0.1",
|
45
|
+
"sass": "1.77.8",
|
46
|
+
"vite": "5.4.1",
|
47
|
+
"vue-tsc": "2.0.29"
|
47
48
|
}
|
48
49
|
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import { defineComponent as p, toRefs as m, openBlock as i, createBlock as c, unref as e, isRef as s } from "vue";
|
2
|
-
import { _ as b } from "./Dictionary.vue_vue_type_script_setup_true_lang-5HlYf8uW.js";
|
3
|
-
const w = /* @__PURE__ */ p({
|
4
|
-
__name: "Autocomplete",
|
5
|
-
props: {
|
6
|
-
table: { type: Object, default: null },
|
7
|
-
field: { type: Object, default: null },
|
8
|
-
data: { type: Object, default: null },
|
9
|
-
row: { type: Object, default: null },
|
10
|
-
modelValue: String
|
11
|
-
},
|
12
|
-
setup(o) {
|
13
|
-
let u = o, { table: d, field: r, data: f, row: n, modelValue: l } = m(u);
|
14
|
-
return (_, t) => (i(), c(b, {
|
15
|
-
table: e(d),
|
16
|
-
field: e(r),
|
17
|
-
data: e(f),
|
18
|
-
row: e(n),
|
19
|
-
modelValue: e(l),
|
20
|
-
"onUpdate:modelValue": t[0] || (t[0] = (a) => s(l) ? l.value = a : l = a)
|
21
|
-
}, null, 8, ["table", "field", "data", "row", "modelValue"]));
|
22
|
-
}
|
23
|
-
});
|
24
|
-
export {
|
25
|
-
w as default
|
26
|
-
};
|
@@ -1,64 +0,0 @@
|
|
1
|
-
import { defineComponent as g, toRefs as _, ref as p, computed as d, resolveComponent as j, openBlock as C, createBlock as E, unref as c, isRef as O } from "vue";
|
2
|
-
import { C as f } from "./main-GfL1Y5aJ.js";
|
3
|
-
const R = /* @__PURE__ */ g({
|
4
|
-
__name: "Autocomplete",
|
5
|
-
props: {
|
6
|
-
schema: { type: Array, default: null },
|
7
|
-
table: { type: Object, default: null },
|
8
|
-
field: { type: Object, default: null },
|
9
|
-
data: { type: Object, default: null },
|
10
|
-
row: { type: Object, default: null },
|
11
|
-
modelValue: String
|
12
|
-
},
|
13
|
-
setup(v) {
|
14
|
-
let b = v, { schema: y, table: o, field: a, data: n, row: k, modelValue: w } = _(b);
|
15
|
-
p(), p(!1);
|
16
|
-
let h = (e, l) => {
|
17
|
-
let u = [];
|
18
|
-
return y.value.forEach((t) => {
|
19
|
-
t.fields.forEach((i) => {
|
20
|
-
i.dictionary && i.dictionary.conditions.forEach((m) => {
|
21
|
-
m.table == e.name && m.field == l.name && u.push({
|
22
|
-
table: t,
|
23
|
-
field: i
|
24
|
-
});
|
25
|
-
});
|
26
|
-
});
|
27
|
-
}), u;
|
28
|
-
}, s = (e, l) => {
|
29
|
-
h(e, l).forEach((t) => {
|
30
|
-
f.setValue(null, n.value, t.table, index.value, t.field), s(t.table, t.field);
|
31
|
-
});
|
32
|
-
}, r = d({
|
33
|
-
get() {
|
34
|
-
let e = a.value.dictionary.data.find((l) => l.value == V.value);
|
35
|
-
return e && e.text;
|
36
|
-
},
|
37
|
-
set(e) {
|
38
|
-
return a.value.dictionary.data.find((u) => u.text == e).value;
|
39
|
-
}
|
40
|
-
}), x = d(() => a.value.dictionary.data.map((l) => l.text)), V = d({
|
41
|
-
get() {
|
42
|
-
let e = f.getValue(n.value, index.value, o.value, a.value);
|
43
|
-
return e && a.value.multiple ? e.split(",") : e;
|
44
|
-
},
|
45
|
-
set(e) {
|
46
|
-
let l;
|
47
|
-
a.value.multiple ? e.length > 0 ? l = e.join(",") : l = null : l = e, f.setValue(l, n.value, o.value, index.value, a.value), s(o.value, a.value), emit("change", n.value);
|
48
|
-
}
|
49
|
-
});
|
50
|
-
return (e, l) => {
|
51
|
-
const u = j("uni-combox");
|
52
|
-
return C(), E(u, {
|
53
|
-
class: "control-autocomplete",
|
54
|
-
candidates: c(x),
|
55
|
-
placeholder: "请选择" + c(a).label,
|
56
|
-
modelValue: c(r),
|
57
|
-
"onUpdate:modelValue": l[0] || (l[0] = (t) => O(r) ? r.value = t : r = t)
|
58
|
-
}, null, 8, ["candidates", "placeholder", "modelValue"]);
|
59
|
-
};
|
60
|
-
}
|
61
|
-
});
|
62
|
-
export {
|
63
|
-
R as default
|
64
|
-
};
|
package/dist/CSharp-KyLMHymK.js
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
import { defineComponent as p, toRefs as m, openBlock as i, createBlock as s, unref as e, isRef as c } from "vue";
|
2
|
-
import { _ as b } from "./Code.vue_vue_type_style_index_0_lang-tCrm737u.js";
|
3
|
-
const w = /* @__PURE__ */ p({
|
4
|
-
__name: "CSharp",
|
5
|
-
props: {
|
6
|
-
table: { type: Object, default: null },
|
7
|
-
field: { type: Object, default: null },
|
8
|
-
data: { type: Object, default: null },
|
9
|
-
row: { type: Object, default: null },
|
10
|
-
modelValue: String
|
11
|
-
},
|
12
|
-
setup(o) {
|
13
|
-
let d = o, { table: u, field: r, data: f, row: n, modelValue: l } = m(d);
|
14
|
-
return (_, t) => (i(), s(b, {
|
15
|
-
table: e(u),
|
16
|
-
field: e(r),
|
17
|
-
data: e(f),
|
18
|
-
row: e(n),
|
19
|
-
modelValue: e(l),
|
20
|
-
"onUpdate:modelValue": t[0] || (t[0] = (a) => c(l) ? l.value = a : l = a)
|
21
|
-
}, null, 8, ["table", "field", "data", "row", "modelValue"]));
|
22
|
-
}
|
23
|
-
});
|
24
|
-
export {
|
25
|
-
w as default
|
26
|
-
};
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import { defineComponent as f, toRefs as m, ref as c, computed as h, openBlock as g, createElementBlock as _ } from "vue";
|
2
|
-
import { C as p } from "./main-GfL1Y5aJ.js";
|
3
|
-
const b = { class: "control-cascader" }, V = /* @__PURE__ */ f({
|
4
|
-
__name: "Cascader",
|
5
|
-
props: {
|
6
|
-
table: { type: Object, default: null },
|
7
|
-
field: { type: Object, default: null },
|
8
|
-
data: { type: Object, default: null },
|
9
|
-
row: { type: Object, default: null },
|
10
|
-
modelValue: String
|
11
|
-
},
|
12
|
-
setup(i) {
|
13
|
-
let v = i, { schema: j, table: s, field: a, data: n, row: y, modelValue: x } = m(v), u = c(null);
|
14
|
-
return c(null), h({
|
15
|
-
get() {
|
16
|
-
u.value || (u.value = a.value.dictionary.data);
|
17
|
-
let e = p.getValue(n.value, index.value, s.value, a.value), l = [];
|
18
|
-
if (a.value.multiple)
|
19
|
-
(e ? e.split(",") : [e]).forEach((o) => {
|
20
|
-
let r = [];
|
21
|
-
getParents(o, u.value, r, []), r.length > 0 && l.push(r.map((d) => d.value));
|
22
|
-
});
|
23
|
-
else {
|
24
|
-
let t = [];
|
25
|
-
getParents(e, u.value, t, []), t.forEach((o) => {
|
26
|
-
l.push(o.value);
|
27
|
-
});
|
28
|
-
}
|
29
|
-
return l;
|
30
|
-
},
|
31
|
-
set(e) {
|
32
|
-
let l;
|
33
|
-
a.value.multiple ? l = e.map((t) => t[t.length - 1]).join(",") : l = e[e.length - 1], p.setValue(l, n.value, s.value, index.value, a.value), emit("change", n.value);
|
34
|
-
}
|
35
|
-
}), (e, l) => (g(), _("div", b));
|
36
|
-
}
|
37
|
-
});
|
38
|
-
export {
|
39
|
-
V as default
|
40
|
-
};
|
@@ -1,48 +0,0 @@
|
|
1
|
-
import { defineComponent as b, toRefs as k, computed as i, resolveComponent as C, openBlock as e, createBlock as j, unref as o, withCtx as x, createElementBlock as l, Fragment as m, renderList as y, normalizeStyle as B, toDisplayString as _, createCommentVNode as O } from "vue";
|
2
|
-
import { T as w } from "./main-GfL1Y5aJ.js";
|
3
|
-
const S = {
|
4
|
-
key: 0,
|
5
|
-
class: "cascader-seperator"
|
6
|
-
}, F = /* @__PURE__ */ b({
|
7
|
-
__name: "Cascader",
|
8
|
-
props: {
|
9
|
-
table: { type: Object, default: null },
|
10
|
-
field: { type: Object, default: null },
|
11
|
-
data: { type: Object, default: null },
|
12
|
-
row: { type: Object, default: null },
|
13
|
-
modelValue: String
|
14
|
-
},
|
15
|
-
setup(v) {
|
16
|
-
let h = v, { table: V, field: u, data: E, row: T, modelValue: s } = k(h), c = i(() => s.value ? s.value.split(",") : []), p = i(() => {
|
17
|
-
if (c.value.length > 0) {
|
18
|
-
let d = u.value.dictionary.data, a = [];
|
19
|
-
return c.value.forEach((r) => {
|
20
|
-
let t = w.getParentsById(r, "value", d, "children", !1);
|
21
|
-
t.length > 0 && a.push(t);
|
22
|
-
}), a;
|
23
|
-
}
|
24
|
-
return [];
|
25
|
-
});
|
26
|
-
return (d, a) => {
|
27
|
-
const r = C("van-cell");
|
28
|
-
return e(), j(r, {
|
29
|
-
class: "text-cascader",
|
30
|
-
title: o(u).label
|
31
|
-
}, {
|
32
|
-
default: x(() => [
|
33
|
-
(e(!0), l(m, null, y(o(p), (t, f) => (e(), l("span", { key: f }, [
|
34
|
-
(e(!0), l(m, null, y(t, (n, g) => (e(), l("span", {
|
35
|
-
style: B({ color: n.color }),
|
36
|
-
key: n.value
|
37
|
-
}, _(n.text) + _(g == t.length - 1 ? "" : " / "), 5))), 128)),
|
38
|
-
f != o(p).length - 1 ? (e(), l("span", S, ",")) : O("", !0)
|
39
|
-
]))), 128))
|
40
|
-
]),
|
41
|
-
_: 1
|
42
|
-
}, 8, ["title"]);
|
43
|
-
};
|
44
|
-
}
|
45
|
-
});
|
46
|
-
export {
|
47
|
-
F as default
|
48
|
-
};
|
@@ -1,102 +0,0 @@
|
|
1
|
-
import { defineComponent as S, toRefs as U, ref as D, computed as h, resolveComponent as u, openBlock as f, createElementBlock as b, Fragment as V, createVNode as i, unref as o, isRef as c, withCtx as d, toDisplayString as C, createCommentVNode as E, renderList as L, createBlock as z, createTextVNode as A } from "vue";
|
2
|
-
const F = {
|
3
|
-
key: 0,
|
4
|
-
class: "text"
|
5
|
-
}, H = /* @__PURE__ */ S({
|
6
|
-
__name: "Checkbox",
|
7
|
-
props: {
|
8
|
-
table: { type: Object, default: null },
|
9
|
-
field: { type: Object, default: null },
|
10
|
-
data: { type: Object, default: null },
|
11
|
-
row: { type: Object, default: null },
|
12
|
-
modelValue: String
|
13
|
-
},
|
14
|
-
emits: ["change", "update:modelValue"],
|
15
|
-
setup(y, { emit: w }) {
|
16
|
-
let x = w, j = y, { table: P, field: r, data: T, row: q, modelValue: O } = U(j), l = D(!1), B = () => {
|
17
|
-
l.value = !0;
|
18
|
-
}, N = (a) => {
|
19
|
-
s.value = a;
|
20
|
-
}, k = () => {
|
21
|
-
let a = O.value;
|
22
|
-
return a ? a.split(",") : [];
|
23
|
-
}, s = h({
|
24
|
-
get() {
|
25
|
-
return k();
|
26
|
-
},
|
27
|
-
set(a) {
|
28
|
-
let e = a.toString();
|
29
|
-
x("update:modelValue", e), x("change", e);
|
30
|
-
}
|
31
|
-
}), n = h(() => {
|
32
|
-
let a = k(), e = [], v = r.value.dictionary.data;
|
33
|
-
return a.forEach((p) => {
|
34
|
-
let m = v.find((_) => _.value == p);
|
35
|
-
m ? e.push(m.text) : e.push(p);
|
36
|
-
}), e.join(",");
|
37
|
-
});
|
38
|
-
return (a, e) => {
|
39
|
-
const v = u("van-cell"), g = u("van-icon"), p = u("van-nav-bar"), m = u("van-checkbox"), _ = u("van-checkbox-group"), R = u("van-popup");
|
40
|
-
return f(), b(V, null, [
|
41
|
-
i(v, {
|
42
|
-
class: "control-checkbox",
|
43
|
-
clickable: "",
|
44
|
-
"is-link": "",
|
45
|
-
title: o(r).label,
|
46
|
-
onClick: o(B),
|
47
|
-
modelValue: o(n),
|
48
|
-
"onUpdate:modelValue": e[0] || (e[0] = (t) => c(n) ? n.value = t : n = t)
|
49
|
-
}, {
|
50
|
-
value: d(() => [
|
51
|
-
o(n) ? (f(), b("div", F, C(o(n)), 1)) : E("", !0)
|
52
|
-
]),
|
53
|
-
_: 1
|
54
|
-
}, 8, ["title", "onClick", "modelValue"]),
|
55
|
-
i(R, {
|
56
|
-
class: "control-checkbox",
|
57
|
-
position: "bottom",
|
58
|
-
show: o(l),
|
59
|
-
"onUpdate:show": e[4] || (e[4] = (t) => c(l) ? l.value = t : l = t)
|
60
|
-
}, {
|
61
|
-
default: d(() => [
|
62
|
-
i(p, {
|
63
|
-
title: o(r).label,
|
64
|
-
"right-text": "确定",
|
65
|
-
onClickLeft: e[1] || (e[1] = (t) => c(l) ? l.value = !1 : l = !1),
|
66
|
-
onClickRight: e[2] || (e[2] = (t) => c(l) ? l.value = !1 : l = !1)
|
67
|
-
}, {
|
68
|
-
left: d(() => [
|
69
|
-
i(g, { name: "cross" })
|
70
|
-
]),
|
71
|
-
_: 1
|
72
|
-
}, 8, ["title"]),
|
73
|
-
i(_, {
|
74
|
-
direction: "horizontal",
|
75
|
-
onChange: o(N),
|
76
|
-
modelValue: o(s),
|
77
|
-
"onUpdate:modelValue": e[3] || (e[3] = (t) => c(s) ? s.value = t : s = t)
|
78
|
-
}, {
|
79
|
-
default: d(() => [
|
80
|
-
(f(!0), b(V, null, L(o(r).dictionary.data, (t) => (f(), z(m, {
|
81
|
-
disabled: o(r).readonly,
|
82
|
-
name: t.value,
|
83
|
-
key: t.value
|
84
|
-
}, {
|
85
|
-
default: d(() => [
|
86
|
-
A(C(t.text), 1)
|
87
|
-
]),
|
88
|
-
_: 2
|
89
|
-
}, 1032, ["disabled", "name"]))), 128))
|
90
|
-
]),
|
91
|
-
_: 1
|
92
|
-
}, 8, ["onChange", "modelValue"])
|
93
|
-
]),
|
94
|
-
_: 1
|
95
|
-
}, 8, ["show"])
|
96
|
-
], 64);
|
97
|
-
};
|
98
|
-
}
|
99
|
-
});
|
100
|
-
export {
|
101
|
-
H as default
|
102
|
-
};
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import { defineComponent as p, toRefs as m, openBlock as i, createBlock as c, unref as e, isRef as s } from "vue";
|
2
|
-
import { _ as b } from "./Dictionary.vue_vue_type_script_setup_true_lang-5HlYf8uW.js";
|
3
|
-
const w = /* @__PURE__ */ p({
|
4
|
-
__name: "Checkbox",
|
5
|
-
props: {
|
6
|
-
table: { type: Object, default: null },
|
7
|
-
field: { type: Object, default: null },
|
8
|
-
data: { type: Object, default: null },
|
9
|
-
row: { type: Object, default: null },
|
10
|
-
modelValue: String
|
11
|
-
},
|
12
|
-
setup(o) {
|
13
|
-
let d = o, { table: u, field: r, data: f, row: n, modelValue: l } = m(d);
|
14
|
-
return (_, t) => (i(), c(b, {
|
15
|
-
table: e(u),
|
16
|
-
field: e(r),
|
17
|
-
data: e(f),
|
18
|
-
row: e(n),
|
19
|
-
modelValue: e(l),
|
20
|
-
"onUpdate:modelValue": t[0] || (t[0] = (a) => s(l) ? l.value = a : l = a)
|
21
|
-
}, null, 8, ["table", "field", "data", "row", "modelValue"]));
|
22
|
-
}
|
23
|
-
});
|
24
|
-
export {
|
25
|
-
w as default
|
26
|
-
};
|
package/dist/Code-EYCtRAN7.js
DELETED
package/dist/Code-Kt2CerlI.js
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
import { defineComponent as b, toRefs as y, computed as V, resolveComponent as d, unref as e, openBlock as u, createBlock as c, withCtx as g, createTextVNode as v, toDisplayString as w, isRef as x } from "vue";
|
2
|
-
const O = /* @__PURE__ */ b({
|
3
|
-
__name: "Code",
|
4
|
-
props: {
|
5
|
-
table: { type: Object, default: null },
|
6
|
-
field: { type: Object, default: null },
|
7
|
-
data: { type: Object, default: null },
|
8
|
-
row: { type: Object, default: null },
|
9
|
-
modelValue: String
|
10
|
-
},
|
11
|
-
emits: ["change", "update:modelValue"],
|
12
|
-
setup(i, { emit: p }) {
|
13
|
-
let n = p, s = i, { table: h, field: l, data: j, row: k, modelValue: m } = y(s), t = V({
|
14
|
-
get() {
|
15
|
-
return m.value || "";
|
16
|
-
},
|
17
|
-
set(o) {
|
18
|
-
let a = o.toString();
|
19
|
-
n("update:modelValue", a), n("change", o);
|
20
|
-
}
|
21
|
-
});
|
22
|
-
return (o, a) => {
|
23
|
-
const f = d("van-cell"), _ = d("van-field");
|
24
|
-
return e(l).control.textualize ? (u(), c(f, {
|
25
|
-
key: 0,
|
26
|
-
class: "control-code",
|
27
|
-
title: e(l).label
|
28
|
-
}, {
|
29
|
-
default: g(() => [
|
30
|
-
v(w(e(t)), 1)
|
31
|
-
]),
|
32
|
-
_: 1
|
33
|
-
}, 8, ["title"])) : (u(), c(_, {
|
34
|
-
key: 1,
|
35
|
-
class: "control-code",
|
36
|
-
type: "textarea",
|
37
|
-
rows: "5",
|
38
|
-
label: e(l).label,
|
39
|
-
placeholder: "请输入" + e(l).label,
|
40
|
-
"show-word-limit": "",
|
41
|
-
required: e(l).control.required,
|
42
|
-
modelValue: e(t),
|
43
|
-
"onUpdate:modelValue": a[0] || (a[0] = (r) => x(t) ? t.value = r : t = r)
|
44
|
-
}, null, 8, ["label", "placeholder", "required", "modelValue"]));
|
45
|
-
};
|
46
|
-
}
|
47
|
-
});
|
48
|
-
export {
|
49
|
-
O as _
|
50
|
-
};
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import { defineComponent as p, toRefs as d, computed as t, resolveComponent as s, openBlock as f, createBlock as i, unref as l, withCtx as _, createTextVNode as m, toDisplayString as v } from "vue";
|
2
|
-
const w = /* @__PURE__ */ p({
|
3
|
-
__name: "Code",
|
4
|
-
props: {
|
5
|
-
table: { type: Object, default: null },
|
6
|
-
field: { type: Object, default: null },
|
7
|
-
data: { type: Object, default: null },
|
8
|
-
row: { type: Object, default: null },
|
9
|
-
modelValue: String
|
10
|
-
},
|
11
|
-
setup(o) {
|
12
|
-
let a = o, { table: b, field: e, data: y, row: x, modelValue: n } = d(a), r = t(() => n.value);
|
13
|
-
return t(() => e.value.control.type.toLowerCase()), (u, C) => {
|
14
|
-
const c = s("van-cell");
|
15
|
-
return f(), i(c, {
|
16
|
-
class: "text-code",
|
17
|
-
title: l(e).label
|
18
|
-
}, {
|
19
|
-
default: _(() => [
|
20
|
-
m(v(l(r)), 1)
|
21
|
-
]),
|
22
|
-
_: 1
|
23
|
-
}, 8, ["title"]);
|
24
|
-
};
|
25
|
-
}
|
26
|
-
});
|
27
|
-
export {
|
28
|
-
w as _
|
29
|
-
};
|
package/dist/Color-iWLZHYMu.js
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
import { defineComponent as s, toRefs as i, computed as f, resolveComponent as b, openBlock as _, createBlock as V, unref as u, isRef as y } from "vue";
|
2
|
-
const C = /* @__PURE__ */ s({
|
3
|
-
__name: "Color",
|
4
|
-
props: {
|
5
|
-
table: { type: Object, default: null },
|
6
|
-
field: { type: Object, default: null },
|
7
|
-
data: { type: Object, default: null },
|
8
|
-
row: { type: Object, default: null },
|
9
|
-
modelValue: String
|
10
|
-
},
|
11
|
-
emits: ["change", "update:modelValue"],
|
12
|
-
setup(d, { emit: n }) {
|
13
|
-
let t = n, r = d, { table: g, field: p, data: j, row: k, modelValue: m } = i(r), e = f({
|
14
|
-
get() {
|
15
|
-
return m.value;
|
16
|
-
},
|
17
|
-
set(l) {
|
18
|
-
t("update:modelValue", l), t("change", this.data);
|
19
|
-
}
|
20
|
-
});
|
21
|
-
return (l, o) => {
|
22
|
-
const c = b("el-color-picker");
|
23
|
-
return _(), V(c, {
|
24
|
-
disabled: u(p).readonly,
|
25
|
-
modelValue: u(e),
|
26
|
-
"onUpdate:modelValue": o[0] || (o[0] = (a) => y(e) ? e.value = a : e = a)
|
27
|
-
}, null, 8, ["disabled", "modelValue"]);
|
28
|
-
};
|
29
|
-
}
|
30
|
-
});
|
31
|
-
export {
|
32
|
-
C as default
|
33
|
-
};
|
package/dist/Color-tf48GpkC.js
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
import { defineComponent as c, toRefs as p, computed as d, resolveComponent as s, openBlock as f, createBlock as i, unref as e, normalizeStyle as m, withCtx as _, createTextVNode as y, toDisplayString as b } from "vue";
|
2
|
-
const w = /* @__PURE__ */ c({
|
3
|
-
__name: "Color",
|
4
|
-
props: {
|
5
|
-
table: { type: Object, default: null },
|
6
|
-
field: { type: Object, default: null },
|
7
|
-
data: { type: Object, default: null },
|
8
|
-
row: { type: Object, default: null },
|
9
|
-
modelValue: String
|
10
|
-
},
|
11
|
-
setup(l) {
|
12
|
-
let o = l, { table: v, field: a, data: x, row: j, modelValue: n } = p(o), t = d(() => n.value);
|
13
|
-
return (r, C) => {
|
14
|
-
const u = s("van-cell");
|
15
|
-
return f(), i(u, {
|
16
|
-
class: "text-color",
|
17
|
-
title: e(a).label,
|
18
|
-
style: m({ color: e(t) })
|
19
|
-
}, {
|
20
|
-
default: _(() => [
|
21
|
-
y(b(e(t)), 1)
|
22
|
-
]),
|
23
|
-
_: 1
|
24
|
-
}, 8, ["title", "style"]);
|
25
|
-
};
|
26
|
-
}
|
27
|
-
});
|
28
|
-
export {
|
29
|
-
w as default
|
30
|
-
};
|
package/dist/Copy-c0RFSh48.js
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
import { defineComponent as i, toRefs as f, computed as m, unref as l, openBlock as o, createElementBlock as a, renderSlot as n, createElementVNode as s } from "vue";
|
2
|
-
const y = { key: 0 }, _ = {
|
3
|
-
key: 1,
|
4
|
-
class: "copy-container"
|
5
|
-
}, b = ["src"], O = /* @__PURE__ */ i({
|
6
|
-
__name: "Copy",
|
7
|
-
props: {
|
8
|
-
table: { type: Object, default: null },
|
9
|
-
field: { type: Object, default: null },
|
10
|
-
data: { type: Object, default: null },
|
11
|
-
row: { type: Object, default: null },
|
12
|
-
modelValue: String
|
13
|
-
},
|
14
|
-
setup(u) {
|
15
|
-
let c = u, { table: v, field: r, data: k, row: g, modelValue: d } = f(c), p = () => {
|
16
|
-
};
|
17
|
-
return m(() => d.value), (e, t) => l(r).copy ? (o(), a("view", _, [
|
18
|
-
s("i", {
|
19
|
-
class: "btn-copy",
|
20
|
-
onClick: t[0] || (t[0] = (j) => l(p)())
|
21
|
-
}, [
|
22
|
-
s("img", {
|
23
|
-
src: "/default/images/clippy.svg",
|
24
|
-
alt: "复制文本"
|
25
|
-
}, null, 8, b)
|
26
|
-
]),
|
27
|
-
n(e.$slots, "default")
|
28
|
-
])) : (o(), a("view", y, [
|
29
|
-
n(e.$slots, "default")
|
30
|
-
]));
|
31
|
-
}
|
32
|
-
});
|
33
|
-
export {
|
34
|
-
O as default
|
35
|
-
};
|
package/dist/Date-PIiMOa7G.js
DELETED
@@ -1,75 +0,0 @@
|
|
1
|
-
import { defineComponent as B, toRefs as D, ref as s, computed as c, resolveComponent as d, openBlock as i, createElementBlock as T, Fragment as U, unref as e, createBlock as f, withCtx as b, createTextVNode as N, toDisplayString as R, isRef as p, createVNode as v } from "vue";
|
2
|
-
import { b as V } from "./main-GfL1Y5aJ.js";
|
3
|
-
const H = /* @__PURE__ */ B({
|
4
|
-
__name: "Date",
|
5
|
-
props: {
|
6
|
-
table: { type: Object, default: null },
|
7
|
-
field: { type: Object, default: null },
|
8
|
-
data: { type: Object, default: null },
|
9
|
-
row: { type: Object, default: null },
|
10
|
-
modelValue: String
|
11
|
-
},
|
12
|
-
emits: ["change", "update:modelValue"],
|
13
|
-
setup(_, { emit: k }) {
|
14
|
-
let m = k, y = _, { table: S, field: u, data: h, row: z, modelValue: C } = D(y);
|
15
|
-
s();
|
16
|
-
let l = s(!1), g = () => {
|
17
|
-
l.value = !1;
|
18
|
-
}, w = (n) => {
|
19
|
-
l.value = !1, a.value = V.formatDate(n);
|
20
|
-
}, r = c(() => V.getTime(a.value)), a = c({
|
21
|
-
get() {
|
22
|
-
return C.value;
|
23
|
-
},
|
24
|
-
set(n) {
|
25
|
-
m("update:modelValue", n), m("change", n);
|
26
|
-
}
|
27
|
-
});
|
28
|
-
return (n, o) => {
|
29
|
-
const x = d("van-cell"), j = d("van-field"), O = d("van-date-picker"), q = d("van-popup");
|
30
|
-
return i(), T(U, null, [
|
31
|
-
e(u).control.textualize ? (i(), f(x, {
|
32
|
-
key: 0,
|
33
|
-
class: "control-date",
|
34
|
-
title: e(u).label
|
35
|
-
}, {
|
36
|
-
default: b(() => [
|
37
|
-
N(R(e(a)), 1)
|
38
|
-
]),
|
39
|
-
_: 1
|
40
|
-
}, 8, ["title"])) : (i(), f(j, {
|
41
|
-
key: 1,
|
42
|
-
class: "control-date",
|
43
|
-
clickable: "",
|
44
|
-
readonly: "",
|
45
|
-
label: e(u).label,
|
46
|
-
placeholder: "点击选择" + e(u).label,
|
47
|
-
required: e(u).control.required,
|
48
|
-
onClick: o[0] || (o[0] = (t) => p(l) ? l.value = !0 : l = !0),
|
49
|
-
modelValue: e(a),
|
50
|
-
"onUpdate:modelValue": o[1] || (o[1] = (t) => p(a) ? a.value = t : a = t)
|
51
|
-
}, null, 8, ["label", "placeholder", "required", "modelValue"])),
|
52
|
-
v(q, {
|
53
|
-
position: "bottom",
|
54
|
-
show: e(l),
|
55
|
-
"onUpdate:show": o[3] || (o[3] = (t) => p(l) ? l.value = t : l = t)
|
56
|
-
}, {
|
57
|
-
default: b(() => [
|
58
|
-
v(O, {
|
59
|
-
type: "date",
|
60
|
-
title: "选择日期",
|
61
|
-
onConfirm: e(w),
|
62
|
-
onCancel: e(g),
|
63
|
-
modelValue: e(r),
|
64
|
-
"onUpdate:modelValue": o[2] || (o[2] = (t) => p(r) ? r.value = t : r = t)
|
65
|
-
}, null, 8, ["onConfirm", "onCancel", "modelValue"])
|
66
|
-
]),
|
67
|
-
_: 1
|
68
|
-
}, 8, ["show"])
|
69
|
-
], 64);
|
70
|
-
};
|
71
|
-
}
|
72
|
-
});
|
73
|
-
export {
|
74
|
-
H as default
|
75
|
-
};
|