halo-mobile 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. package/README.md +3 -0
  2. package/dist/Autocomplete-XXlWKdZ7.js +26 -0
  3. package/dist/Autocomplete-Yvl0RCLc.js +64 -0
  4. package/dist/CSharp-KyLMHymK.js +26 -0
  5. package/dist/Cascader-PzpVQ7AB.js +40 -0
  6. package/dist/Cascader-YLS04_2K.js +48 -0
  7. package/dist/Checkbox-T3g7wr0e.js +102 -0
  8. package/dist/Checkbox-xtKe1aWq.js +26 -0
  9. package/dist/Code-EYCtRAN7.js +4 -0
  10. package/dist/Code-Kt2CerlI.js +4 -0
  11. package/dist/Code.vue_vue_type_style_index_0_lang-kiGLlqK3.js +50 -0
  12. package/dist/Code.vue_vue_type_style_index_0_lang-tCrm737u.js +29 -0
  13. package/dist/Color-iWLZHYMu.js +33 -0
  14. package/dist/Color-tf48GpkC.js +30 -0
  15. package/dist/Copy-c0RFSh48.js +35 -0
  16. package/dist/Date-PIiMOa7G.js +75 -0
  17. package/dist/Date-ZvcltpXD.js +26 -0
  18. package/dist/DateRange-UGAw4vvX.js +38 -0
  19. package/dist/DateRange-u_NTVOsq.js +29 -0
  20. package/dist/DateTimeRange-XMx5BSsY.js +60 -0
  21. package/dist/Datetime-9uSognrF.js +68 -0
  22. package/dist/Datetime-yUYlyiVe.js +26 -0
  23. package/dist/Decimal-64RFuThb.js +26 -0
  24. package/dist/Decimal-hbTpK8HG.js +53 -0
  25. package/dist/Dictionary-9wRln3ML.js +4 -0
  26. package/dist/Dictionary.vue_vue_type_script_setup_true_lang-5HlYf8uW.js +33 -0
  27. package/dist/Email-Y2RZC3Pp.js +29 -0
  28. package/dist/Email-sXlLv1De.js +35 -0
  29. package/dist/Index--r9hKHmH.js +4 -0
  30. package/dist/Index-DpwKrUS5.js +4 -0
  31. package/dist/Index.vue_vue_type_script_setup_true_lang-IyVPMbcI.js +41 -0
  32. package/dist/Int-cJfYzdCu.js +28 -0
  33. package/dist/Int-ctDLC_Su.js +47 -0
  34. package/dist/Int-fJBASDM7.js +29 -0
  35. package/dist/Json-BFAMwsfX.js +28 -0
  36. package/dist/Json-gCo-Zdv_.js +26 -0
  37. package/dist/Month-B_1hI-Rh.js +72 -0
  38. package/dist/MySql-enArT5D7.js +30 -0
  39. package/dist/MySql-vcBpsfvo.js +26 -0
  40. package/dist/Normal-KRIGE5xc.js +31 -0
  41. package/dist/Password-R6_k-rn2.js +29 -0
  42. package/dist/Password-pOFH57lW.js +47 -0
  43. package/dist/Progress-cjSNkpkZ.js +34 -0
  44. package/dist/Progress-dvuJ1mVx.js +27 -0
  45. package/dist/Radio-MgtZXxhO.js +38 -0
  46. package/dist/Radio-NLiXdnr7.js +26 -0
  47. package/dist/Rate-8Ojfu4Pl.js +28 -0
  48. package/dist/Rate-tlqTCUfE.js +45 -0
  49. package/dist/RichText-7YHU6ukx.js +7558 -0
  50. package/dist/RichText-YQxC6ync.js +53 -0
  51. package/dist/RichText-chshsG49.js +27 -0
  52. package/dist/Select-BSzLsx0C.js +26 -0
  53. package/dist/Select-HdlI6DWS.js +69 -0
  54. package/dist/Select-fY1P8Gei.js +71 -0
  55. package/dist/Sql-Ww3tPZxu.js +26 -0
  56. package/dist/Switch-jHDDXeAv.js +35 -0
  57. package/dist/Switch-xgpu_bmM.js +26 -0
  58. package/dist/Table-xOt0TEu7.js +52 -0
  59. package/dist/Text-4hfe8ACo.js +40 -0
  60. package/dist/Text-CznHk-ab.js +4 -0
  61. package/dist/Text-dPJvVg8h.js +27 -0
  62. package/dist/Text.vue_vue_type_script_setup_true_lang-3i3pp-y0.js +29 -0
  63. package/dist/Textarea-1xTv6tuq.js +27 -0
  64. package/dist/Textarea-CX_-wFIg.js +29 -0
  65. package/dist/Textarea-hxjW3zKV.js +38 -0
  66. package/dist/Time-U_PlgRNm.js +35 -0
  67. package/dist/Upload-6otTjgzq.js +54 -0
  68. package/dist/Upload-N-FekeJG.js +82 -0
  69. package/dist/Year-W5E5x4fI.js +73 -0
  70. package/dist/main-GfL1Y5aJ.js +30973 -0
  71. package/dist/main.d.ts +329 -0
  72. package/dist/main.js +38 -0
  73. package/dist/style.css +15 -0
  74. package/package.json +48 -0
@@ -0,0 +1,30 @@
1
+ import { defineComponent as s, toRefs as b, openBlock as _, createBlock as g, unref as e, isRef as V } from "vue";
2
+ import { _ as y } from "./Code.vue_vue_type_style_index_0_lang-kiGLlqK3.js";
3
+ const w = /* @__PURE__ */ s({
4
+ __name: "MySql",
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(n, { emit: d }) {
14
+ let u = d, r = n, { table: f, field: m, data: p, row: i, modelValue: l } = b(r), c = (t) => {
15
+ u("change", t);
16
+ };
17
+ return (t, a) => (_(), g(y, {
18
+ table: e(f),
19
+ field: e(m),
20
+ data: e(p),
21
+ row: e(i),
22
+ onChange: e(c),
23
+ modelValue: e(l),
24
+ "onUpdate:modelValue": a[0] || (a[0] = (o) => V(l) ? l.value = o : l = o)
25
+ }, null, 8, ["table", "field", "data", "row", "onChange", "modelValue"]));
26
+ }
27
+ });
28
+ export {
29
+ w as default
30
+ };
@@ -0,0 +1,26 @@
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 j = /* @__PURE__ */ p({
4
+ __name: "MySql",
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
+ j as default
26
+ };
@@ -0,0 +1,31 @@
1
+ import { defineComponent as _, toRefs as i, openBlock as t, createElementBlock as a, Fragment as m, renderList as c, unref as e, createBlock as b } from "vue";
2
+ import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-IyVPMbcI.js";
3
+ const h = { class: "single-normal" }, g = /* @__PURE__ */ _({
4
+ __name: "Normal",
5
+ props: {
6
+ module: Object,
7
+ schema: Array,
8
+ table: Object,
9
+ next: Object,
10
+ data: Object
11
+ },
12
+ setup(s) {
13
+ let u = s, { module: j, next: x, data: r, schema: d, table: l } = i(u);
14
+ return (O, V) => (t(), a("div", h, [
15
+ (t(!0), a(m, null, c(e(r)[e(l).name], (n) => (t(), a("div", null, [
16
+ (t(!0), a(m, null, c(e(l).show, (o) => (t(), b(f, {
17
+ schema: e(d),
18
+ table: e(l),
19
+ field: o,
20
+ data: e(r),
21
+ row: n,
22
+ modelValue: n[o.name],
23
+ "onUpdate:modelValue": (p) => n[o.name] = p
24
+ }, null, 8, ["schema", "table", "field", "data", "row", "modelValue", "onUpdate:modelValue"]))), 256))
25
+ ]))), 256))
26
+ ]));
27
+ }
28
+ });
29
+ export {
30
+ g as default
31
+ };
@@ -0,0 +1,29 @@
1
+ import { defineComponent as c, toRefs as p, computed as d, resolveComponent as s, openBlock as f, createBlock as i, unref as e, withCtx as m, createTextVNode as _, toDisplayString as b } from "vue";
2
+ const O = /* @__PURE__ */ c({
3
+ __name: "Password",
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(t) {
12
+ let l = t, { table: v, field: a, data: w, row: x, modelValue: o } = p(l), n = d(() => o.value);
13
+ return (u, y) => {
14
+ const r = s("van-cell");
15
+ return f(), i(r, {
16
+ class: "text-password",
17
+ title: e(a).label
18
+ }, {
19
+ default: m(() => [
20
+ _(b(e(n)), 1)
21
+ ]),
22
+ _: 1
23
+ }, 8, ["title"]);
24
+ };
25
+ }
26
+ });
27
+ export {
28
+ O as default
29
+ };
@@ -0,0 +1,47 @@
1
+ import { defineComponent as _, toRefs as V, computed as y, resolveComponent as d, unref as e, openBlock as u, createBlock as c, withCtx as w, createTextVNode as g, toDisplayString as v, isRef as x } from "vue";
2
+ const q = /* @__PURE__ */ _({
3
+ __name: "Password",
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(s, { emit: p }) {
13
+ let o = p, i = s, { table: h, field: l, data: j, row: k, modelValue: m } = V(i), t = y({
14
+ get() {
15
+ return m.value;
16
+ },
17
+ set(a) {
18
+ o("update:modelValue", a), o("change", a);
19
+ }
20
+ });
21
+ return (a, r) => {
22
+ const f = d("van-cell"), b = d("van-field");
23
+ return e(l).control.textualize ? (u(), c(f, {
24
+ key: 0,
25
+ class: "control-password",
26
+ title: e(l).label
27
+ }, {
28
+ default: w(() => [
29
+ g(v(e(t)), 1)
30
+ ]),
31
+ _: 1
32
+ }, 8, ["title"])) : (u(), c(b, {
33
+ key: 1,
34
+ class: "control-password",
35
+ label: e(l).label,
36
+ placeholder: "请输入" + e(l).label,
37
+ clearable: "",
38
+ required: e(l).control.required,
39
+ modelValue: e(t),
40
+ "onUpdate:modelValue": r[0] || (r[0] = (n) => x(t) ? t.value = n : t = n)
41
+ }, null, 8, ["label", "placeholder", "required", "modelValue"]));
42
+ };
43
+ }
44
+ });
45
+ export {
46
+ q as default
47
+ };
@@ -0,0 +1,34 @@
1
+ import { defineComponent as p, toRefs as m, computed as i, resolveComponent as f, openBlock as _, createBlock as b, unref as l } from "vue";
2
+ const O = /* @__PURE__ */ p({
3
+ __name: "Progress",
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(a, { emit: n }) {
13
+ let t = n, o = a, { table: g, field: u, data: h, row: y, modelValue: d } = m(o), r = () => {
14
+ }, s = i({
15
+ get() {
16
+ return d.value;
17
+ },
18
+ set(e) {
19
+ t("update:modelValue", e), t("change", e);
20
+ }
21
+ });
22
+ return (e, j) => {
23
+ const c = f("el-slider");
24
+ return _(), b(c, {
25
+ disabled: l(u).readonly,
26
+ value: l(s),
27
+ onChange: l(r)
28
+ }, null, 8, ["disabled", "value", "onChange"]);
29
+ };
30
+ }
31
+ });
32
+ export {
33
+ O as default
34
+ };
@@ -0,0 +1,27 @@
1
+ import { defineComponent as p, toRefs as c, computed as l, resolveComponent as f, openBlock as d, createBlock as m, unref as r } from "vue";
2
+ const y = /* @__PURE__ */ p({
3
+ __name: "Progress",
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(n) {
12
+ let a = n, { table: _, field: i, data: v, row: b, modelValue: u } = c(a), t = l(() => {
13
+ let e = u.value;
14
+ return e && parseInt(e);
15
+ }), o = l(() => t.value == 100 ? "success" : null);
16
+ return (e, g) => {
17
+ const s = f("van-progress");
18
+ return d(), m(s, {
19
+ percentage: r(t),
20
+ status: r(o)
21
+ }, null, 8, ["percentage", "status"]);
22
+ };
23
+ }
24
+ });
25
+ export {
26
+ y as default
27
+ };
@@ -0,0 +1,38 @@
1
+ import { defineComponent as _, toRefs as g, ref as b, resolveComponent as o, openBlock as l, createBlock as n, unref as t, withCtx as r, createElementBlock as h, Fragment as y, renderList as V, createTextVNode as x, toDisplayString as C } from "vue";
2
+ const S = /* @__PURE__ */ _({
3
+ __name: "Radio",
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(u, { emit: j }) {
13
+ let d = u, { table: v, field: a, data: O, row: k, modelValue: c } = g(d), i = () => {
14
+ }, p = b(c.value);
15
+ return (m, B) => {
16
+ const s = o("radio", !0), f = o("radio-group");
17
+ return l(), n(f, { onChange: t(i) }, {
18
+ default: r(() => [
19
+ (l(!0), h(y, null, V(t(a).dictionary.data, (e) => (l(), n(s, {
20
+ disabled: t(a).readonly,
21
+ value: e.value,
22
+ checked: e.value == t(p),
23
+ key: e.value
24
+ }, {
25
+ default: r(() => [
26
+ x(C(e.text), 1)
27
+ ]),
28
+ _: 2
29
+ }, 1032, ["disabled", "value", "checked"]))), 128))
30
+ ]),
31
+ _: 1
32
+ }, 8, ["onChange"]);
33
+ };
34
+ }
35
+ });
36
+ export {
37
+ S as default
38
+ };
@@ -0,0 +1,26 @@
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 "./Dictionary.vue_vue_type_script_setup_true_lang-5HlYf8uW.js";
3
+ const w = /* @__PURE__ */ p({
4
+ __name: "Radio",
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
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as d, toRefs as p, ref as f, resolveComponent as m, openBlock as s, createBlock as c, unref as i, isRef as b } from "vue";
2
+ const g = /* @__PURE__ */ d({
3
+ __name: "Rate",
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(u) {
12
+ let n = u, { table: V, field: _, data: v, row: j, modelValue: o } = p(n), e = f((() => {
13
+ let l = o.value;
14
+ return l && parseInt(l);
15
+ })());
16
+ return (l, t) => {
17
+ const r = m("van-rate");
18
+ return s(), c(r, {
19
+ disabled: "",
20
+ modelValue: i(e),
21
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => b(e) ? e.value = a : e = a)
22
+ }, null, 8, ["modelValue"]);
23
+ };
24
+ }
25
+ });
26
+ export {
27
+ g as default
28
+ };
@@ -0,0 +1,45 @@
1
+ import { defineComponent as _, toRefs as b, computed as g, resolveComponent as a, openBlock as o, createElementBlock as h, createVNode as v, unref as t, createBlock as y, createCommentVNode as C } from "vue";
2
+ const k = { class: "control-rate" }, x = /* @__PURE__ */ _({
3
+ __name: "Rate",
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(u, { emit: c }) {
13
+ let n = c, r = u, { table: V, field: d, data: j, row: O, modelValue: i } = b(r), p = ({ value: e }) => {
14
+ l.value = e.toString();
15
+ }, s = () => {
16
+ l.value = null;
17
+ }, l = g({
18
+ get() {
19
+ let e = i.value;
20
+ return e ? parseInt(e) : null;
21
+ },
22
+ set(e) {
23
+ n("update:modelValue", e), n("change", this.data);
24
+ }
25
+ });
26
+ return (e, w) => {
27
+ const m = a("uni-rate"), f = a("icon");
28
+ return o(), h("view", k, [
29
+ v(m, {
30
+ disabled: t(d).readonly,
31
+ value: t(l),
32
+ onChange: t(p)
33
+ }, null, 8, ["disabled", "value", "onChange"]),
34
+ t(l) ? (o(), y(f, {
35
+ key: 0,
36
+ type: "clear",
37
+ onClick: t(s)
38
+ }, null, 8, ["onClick"])) : C("", !0)
39
+ ]);
40
+ };
41
+ }
42
+ });
43
+ export {
44
+ x as default
45
+ };