dmx-admin-ui 1.2.109 → 1.2.111
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/{chart-f2pNMBJn.js → chart-D8jaDpil.js} +5 -6
- package/dist/{group-BZXV7W6h.js → group-DGSBbuzL.js} +8 -9
- package/dist/{group-table-Bmo-ZS_i.js → group-table-CbNvchTb.js} +14 -15
- package/dist/{group-tabs-Ci9f5-2i.js → group-tabs-7lv4-z60.js} +5 -6
- package/dist/{index-D2IbXr_T.js → index-C6733UHn.js} +2901 -2887
- package/dist/{dmx-admin-ui-dev.css → index.css} +1 -1
- package/dist/index.js +1 -2
- package/dist/index.umd.cjs +23 -24
- package/package.json +6 -3
- package/vite.js +13 -0
- package/dist/js/Sortable.min.js +0 -2
- package/dist/js/axios.min.js +0 -1
- package/dist/js/cos-js-sdk-v5.min.js +0 -1
- package/dist/js/design.js +0 -4
- package/dist/js/echarts.min.js +0 -45
- package/dist/js/echarts.min.lite.js +0 -1
- package/dist/js/regions.min.js +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { defineComponent as W, ref as y, watch as j, onMounted as z, onUnmounted as D, resolveDirective as E, createElementBlock as $, openBlock as k, withDirectives as M, createElementVNode as R, renderSlot as T, createCommentVNode as B, unref as w } from "vue";
|
|
1
|
+
import { defineComponent as W, ref as y, watch as j, onMounted as z, onUnmounted as D, resolveDirective as E, openBlock as $, createElementBlock as k, withDirectives as M, unref as w, renderSlot as R, createCommentVNode as T, createElementVNode as B } from "vue";
|
|
3
2
|
import * as g from "echarts";
|
|
4
3
|
const P = {
|
|
5
4
|
backgroundColor: "transparent",
|
|
@@ -364,13 +363,13 @@ const u = (e = ["#eee", "#999"]) => (e = Array.isArray(e) ? e : [N(e, 0.7), e],
|
|
|
364
363
|
};
|
|
365
364
|
return window.addEventListener("resize", x), (t, i) => {
|
|
366
365
|
const l = E("loading");
|
|
367
|
-
return
|
|
368
|
-
M((
|
|
369
|
-
w(n) ?
|
|
366
|
+
return $(), k("div", V, [
|
|
367
|
+
M(($(), k("div", F, [
|
|
368
|
+
w(n) ? T("", !0) : R(t.$slots, "default", { key: 0 })
|
|
370
369
|
])), [
|
|
371
370
|
[l, w(n)]
|
|
372
371
|
]),
|
|
373
|
-
|
|
372
|
+
B("div", {
|
|
374
373
|
class: "chart-box",
|
|
375
374
|
ref_key: "echartsRef",
|
|
376
375
|
ref: a
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import { _ as j } from "./index-D2IbXr_T.js";
|
|
1
|
+
import { resolveComponent as V, openBlock as s, createElementBlock as n, normalizeClass as p, createBlock as h, resolveDynamicComponent as k, normalizeProps as x, guardReactiveProps as v, withCtx as C, Fragment as f, renderList as g, createElementVNode as o, createCommentVNode as d, normalizeStyle as b, toDisplayString as c, createTextVNode as T, defineAsyncComponent as z } from "vue";
|
|
2
|
+
import { _ as j } from "./index-C6733UHn.js";
|
|
4
3
|
const O = {
|
|
5
4
|
name: "form-group",
|
|
6
5
|
components: {
|
|
7
|
-
inputItem:
|
|
6
|
+
inputItem: z(() => import("./index-C6733UHn.js").then((t) => t.c))
|
|
8
7
|
},
|
|
9
8
|
emits: ["change", "update:modelValue"],
|
|
10
9
|
props: {
|
|
@@ -66,12 +65,12 @@ const O = {
|
|
|
66
65
|
style: { "line-height": "1.5" }
|
|
67
66
|
}, D = ["onClick"], P = { class: "text-3 op-70 pl-sm" };
|
|
68
67
|
function U(t, e, y, W, i, r) {
|
|
69
|
-
const _ =
|
|
68
|
+
const _ = V("inputItem");
|
|
70
69
|
return s(), n("div", {
|
|
71
70
|
class: p(["input-group", i.limit == 1 ? "input-group-one" : ""])
|
|
72
71
|
}, [
|
|
73
|
-
(s(), h(
|
|
74
|
-
default:
|
|
72
|
+
(s(), h(k(i.limit > 1 ? "a-draggable" : "span"), x(v(i.limit > 1 ? { filter: ".del", handle: ".sort", list: i.list, onChange: r.change } : {})), {
|
|
73
|
+
default: C(() => [
|
|
75
74
|
(s(!0), n(f, null, g(i.list, (u, a) => (s(), n("div", w, [
|
|
76
75
|
i.limit != 1 ? (s(), n("div", A, [...e[1] || (e[1] = [
|
|
77
76
|
o("i", { class: "i-ri-menu-line" }, null, -1)
|
|
@@ -80,7 +79,7 @@ function U(t, e, y, W, i, r) {
|
|
|
80
79
|
o("div", B, [
|
|
81
80
|
(s(!0), n(f, null, g(i.cols, (l) => (s(), n("div", {
|
|
82
81
|
class: "input-item",
|
|
83
|
-
style:
|
|
82
|
+
style: b({ width: l.inputWidth ? l.inputWidth : "100%" })
|
|
84
83
|
}, [
|
|
85
84
|
o("div", {
|
|
86
85
|
class: p(["input-item-box", { "input-item-box-h": i.alignTop }])
|
|
@@ -100,7 +99,7 @@ function U(t, e, y, W, i, r) {
|
|
|
100
99
|
], 2),
|
|
101
100
|
l.info ? (s(), n("div", S, [
|
|
102
101
|
e[2] || (e[2] = o("i", { class: "i-ri-error-warning-line" }, null, -1)),
|
|
103
|
-
|
|
102
|
+
T(" " + c(l.info), 1)
|
|
104
103
|
])) : d("", !0)
|
|
105
104
|
], 4))), 256))
|
|
106
105
|
]),
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import { _ as O } from "./index-D2IbXr_T.js";
|
|
1
|
+
import { resolveComponent as f, openBlock as n, createElementBlock as o, createElementVNode as l, Fragment as a, renderList as m, normalizeStyle as w, createTextVNode as C, toDisplayString as c, createBlock as p, withCtx as g, createCommentVNode as y, resolveDynamicComponent as _, mergeProps as j, normalizeClass as z, defineAsyncComponent as v } from "vue";
|
|
2
|
+
import { _ as O } from "./index-C6733UHn.js";
|
|
4
3
|
const T = {
|
|
5
4
|
name: "form-group",
|
|
6
5
|
components: {
|
|
7
|
-
inputItem:
|
|
6
|
+
inputItem: v(() => import("./index-C6733UHn.js").then((r) => r.c))
|
|
8
7
|
},
|
|
9
8
|
emits: ["change", "update:modelValue"],
|
|
10
9
|
props: {
|
|
@@ -60,7 +59,7 @@ function N(r, t, e, b, i, u) {
|
|
|
60
59
|
l("colgroup", null, [
|
|
61
60
|
t[1] || (t[1] = l("col", { width: 40 }, null, -1)),
|
|
62
61
|
(n(!0), o(a, null, m(i.cols, (s) => (n(), o("col", {
|
|
63
|
-
style:
|
|
62
|
+
style: w({ width: s.width })
|
|
64
63
|
}, null, 4))), 256)),
|
|
65
64
|
t[2] || (t[2] = l("col", { width: 40 }, null, -1))
|
|
66
65
|
]),
|
|
@@ -69,25 +68,25 @@ function N(r, t, e, b, i, u) {
|
|
|
69
68
|
t[4] || (t[4] = l("th", null, null, -1)),
|
|
70
69
|
(n(!0), o(a, null, m(i.cols, (s) => (n(), o("th", I, [
|
|
71
70
|
l("div", B, [
|
|
72
|
-
|
|
73
|
-
s.info ? (n(),
|
|
71
|
+
C(c(s.title) + " ", 1),
|
|
72
|
+
s.info ? (n(), p(V, {
|
|
74
73
|
key: 0,
|
|
75
74
|
content: s.info,
|
|
76
75
|
placement: "bottom",
|
|
77
76
|
effect: "light"
|
|
78
77
|
}, {
|
|
79
|
-
default:
|
|
78
|
+
default: g(() => [...t[3] || (t[3] = [
|
|
80
79
|
l("i", { class: "i-ri-question-line op-70" }, null, -1)
|
|
81
80
|
])]),
|
|
82
81
|
_: 1
|
|
83
|
-
}, 8, ["content"])) :
|
|
82
|
+
}, 8, ["content"])) : y("", !0)
|
|
84
83
|
])
|
|
85
84
|
]))), 256)),
|
|
86
85
|
t[5] || (t[5] = l("th", { align: "right" }, null, -1))
|
|
87
86
|
])
|
|
88
87
|
]),
|
|
89
|
-
(n(),
|
|
90
|
-
default:
|
|
88
|
+
(n(), p(_(i.limit > 1 ? "a-draggable" : "span"), j({ tag: "tbody" }, i.limit > 1 ? { filter: ".del", handle: ".sort", list: i.list, onChange: u.change } : {}), {
|
|
89
|
+
default: g(() => [
|
|
91
90
|
(n(!0), o(a, null, m(i.list, (s, h) => (n(), o("tr", null, [
|
|
92
91
|
t[7] || (t[7] = l("td", null, [
|
|
93
92
|
l("div", {
|
|
@@ -98,7 +97,7 @@ function N(r, t, e, b, i, u) {
|
|
|
98
97
|
])
|
|
99
98
|
], -1)),
|
|
100
99
|
(n(!0), o(a, null, m(i.cols, (d) => (n(), o("td", null, [
|
|
101
|
-
(n(),
|
|
100
|
+
(n(), p(x, {
|
|
102
101
|
clearable: d.clearable ?? e.init.clearable ?? !1,
|
|
103
102
|
cols: i.cols,
|
|
104
103
|
index: h,
|
|
@@ -124,13 +123,13 @@ function N(r, t, e, b, i, u) {
|
|
|
124
123
|
]),
|
|
125
124
|
i.list.length < i.limit ? (n(), o("div", {
|
|
126
125
|
key: 0,
|
|
127
|
-
class:
|
|
126
|
+
class: z(["add flex justify-center items-center info-hide", { "add-small": e.init.size === "small" }]),
|
|
128
127
|
onClick: t[0] || (t[0] = (...s) => u.add && u.add(...s))
|
|
129
128
|
}, [
|
|
130
129
|
t[8] || (t[8] = l("i", { class: "i-ri-add-line font-xl" }, null, -1)),
|
|
131
130
|
t[9] || (t[9] = l("span", null, "添加数据", -1)),
|
|
132
|
-
l("span", F, "(" +
|
|
133
|
-
], 2)) :
|
|
131
|
+
l("span", F, "(" + c(i.list.length) + "/" + c(i.limit) + ")", 1)
|
|
132
|
+
], 2)) : y("", !0)
|
|
134
133
|
]);
|
|
135
134
|
}
|
|
136
135
|
const U = /* @__PURE__ */ O(T, [["render", N], ["__scopeId", "data-v-5b3688e9"]]);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import { _ as x } from "./index-D2IbXr_T.js";
|
|
1
|
+
import { resolveComponent as r, openBlock as i, createElementBlock as l, createVNode as T, withCtx as f, Fragment as _, renderList as y, createBlock as h, createElementVNode as o, normalizeStyle as V, toDisplayString as b, createCommentVNode as p, createTextVNode as $, defineAsyncComponent as j } from "vue";
|
|
2
|
+
import { _ as x } from "./index-C6733UHn.js";
|
|
4
3
|
const v = {
|
|
5
4
|
name: "group-tabs",
|
|
6
5
|
components: {
|
|
7
|
-
inputItem:
|
|
6
|
+
inputItem: j(() => import("./index-C6733UHn.js").then((t) => t.c))
|
|
8
7
|
},
|
|
9
8
|
emits: ["change", "update:modelValue"],
|
|
10
9
|
props: {
|
|
@@ -57,7 +56,7 @@ const v = {
|
|
|
57
56
|
function W(t, d, n, B, c, E) {
|
|
58
57
|
const m = r("inputItem"), g = r("el-tab-pane"), k = r("el-tabs");
|
|
59
58
|
return i(), l("div", w, [
|
|
60
|
-
|
|
59
|
+
T(k, { type: "border-card" }, {
|
|
61
60
|
default: f(() => [
|
|
62
61
|
(i(!0), l(_, null, y(c.tabs, (a, s) => (i(), h(g, {
|
|
63
62
|
label: a.title
|
|
@@ -94,7 +93,7 @@ function W(t, d, n, B, c, E) {
|
|
|
94
93
|
]),
|
|
95
94
|
e.info ? (i(), l("div", U, [
|
|
96
95
|
d[0] || (d[0] = o("i", { class: "i-ri-error-warning-line" }, null, -1)),
|
|
97
|
-
|
|
96
|
+
$(" " + b(e.info), 1)
|
|
98
97
|
])) : p("", !0)
|
|
99
98
|
], 4))), 256))
|
|
100
99
|
])
|