@done-coding/admin-core 0.1.2 → 0.1.3
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/es/components/list-page/ListPage.vue.mjs +2 -2
- package/es/components/list-page/ListPage.vue2.mjs +1 -1
- package/es/components/table/TableMain.vue.mjs +3 -3
- package/es/components/table/TableMain.vue2.mjs +112 -111
- package/es/style.css +1 -1
- package/package.json +3 -3
- package/types/components/table/types.d.ts +2 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ListPage.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e22c3b7c"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -35,7 +35,7 @@ const Me = {
|
|
|
35
35
|
emits: /* @__PURE__ */ N(["dataChange", "pageInfoChange"], ["update:isAutoRefresh"]),
|
|
36
36
|
setup(s, { expose: L, emit: J }) {
|
|
37
37
|
fe((e) => ({
|
|
38
|
-
|
|
38
|
+
v09e0228a: a(Y)
|
|
39
39
|
}));
|
|
40
40
|
const n = s, R = J, w = ge(), I = o(() => !!w.header), M = o(() => !!w.operation), m = de(s, "isAutoRefresh"), v = u({}), p = u(
|
|
41
41
|
{}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from "./TableMain.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const p = /* @__PURE__ */ o
|
|
3
|
+
import a from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const p = /* @__PURE__ */ a(o, [["__scopeId", "data-v-d70ba841"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -4,18 +4,18 @@ import "element-plus/es/components/pagination/style/css";
|
|
|
4
4
|
import "element-plus/es/components/table/style/css";
|
|
5
5
|
import "element-plus/es/components/empty/style/css";
|
|
6
6
|
import "element-plus/es/components/table-column/style/css";
|
|
7
|
-
import { defineComponent as Se, useCssVars as be, useModel as we, useAttrs as xe, ref as
|
|
7
|
+
import { defineComponent as Se, useCssVars as be, useModel as we, useAttrs as xe, ref as f, computed as g, shallowRef as q, inject as Ee, onMounted as Pe, onActivated as Te, watch as m, openBlock as i, createElementBlock as b, createBlock as d, unref as r, withCtx as h, createVNode as G, mergeProps as p, createCommentVNode as He, Fragment as T, renderList as Re, createSlots as Ve, renderSlot as k, resolveDynamicComponent as U, createTextVNode as z, toDisplayString as F, normalizeProps as _e, guardReactiveProps as ke, withDirectives as ze, createElementVNode as Ie, isRef as W, vShow as Ne, mergeModels as Z } from "vue";
|
|
8
8
|
import Q from "lodash/cloneDeep";
|
|
9
9
|
import X from "lodash/omit";
|
|
10
10
|
import ee from "lodash/set";
|
|
11
11
|
import te from "lodash/get";
|
|
12
|
-
import
|
|
12
|
+
import Oe from "./TableToolbar.vue.mjs";
|
|
13
13
|
import Ae from "../display/WatchSize.vue.mjs";
|
|
14
14
|
import Le from "../data-view/DataListView.vue.mjs";
|
|
15
15
|
import { pickExportColumns as Ke } from "../../utils/export.mjs";
|
|
16
|
-
import { BODY_CONTENT_VIEWPORT_HEIGHT as
|
|
17
|
-
import { APP_API_LIST_MODEL_KEY_CONFIG as
|
|
18
|
-
const
|
|
16
|
+
import { BODY_CONTENT_VIEWPORT_HEIGHT as Me } from "../../inject/key.mjs";
|
|
17
|
+
import { APP_API_LIST_MODEL_KEY_CONFIG as H } from "../../config/list-model.mjs";
|
|
18
|
+
const Be = { class: "table-main" }, je = { class: "table-main-pagination" }, rt = /* @__PURE__ */ Se({
|
|
19
19
|
__name: "TableMain",
|
|
20
20
|
props: /* @__PURE__ */ Z({
|
|
21
21
|
showPager: { type: Boolean, default: !0 },
|
|
@@ -34,222 +34,223 @@ const je = { class: "table-main" }, Me = { class: "table-main-pagination" }, nt
|
|
|
34
34
|
headerColor: { default: "rgb(240, 240, 240)" },
|
|
35
35
|
refine: { type: Boolean, default: !0 },
|
|
36
36
|
refineReduceHeight: { default: 0 },
|
|
37
|
-
injectInfo: {}
|
|
37
|
+
injectInfo: {},
|
|
38
|
+
dataViewMaxHeightMinValue: { default: 500 }
|
|
38
39
|
}, {
|
|
39
40
|
isAutoRefresh: { type: Boolean },
|
|
40
41
|
isAutoRefreshModifiers: {}
|
|
41
42
|
}),
|
|
42
43
|
emits: /* @__PURE__ */ Z(["pageChange", "pageSizeChange", "dataChange", "loadingChange", "pageInfoChange"], ["update:isAutoRefresh"]),
|
|
43
|
-
setup(l, { expose:
|
|
44
|
+
setup(l, { expose: ae, emit: oe }) {
|
|
44
45
|
be((e) => ({
|
|
45
|
-
|
|
46
|
+
e731a8f2: e.headerColor
|
|
46
47
|
}));
|
|
47
|
-
const
|
|
48
|
-
columns: Ke(
|
|
49
|
-
selectedList:
|
|
48
|
+
const o = l, y = oe, I = we(l, "isAutoRefresh"), ne = xe(), v = f([]), w = f(0), u = f(0), s = f(1), C = f(!1), R = f(!1), V = f([]), re = g(() => ({
|
|
49
|
+
columns: Ke(o.columns),
|
|
50
|
+
selectedList: V.value,
|
|
50
51
|
currentPageList: v.value,
|
|
51
|
-
api:
|
|
52
|
-
query:
|
|
52
|
+
api: o.api,
|
|
53
|
+
query: o.query || {},
|
|
53
54
|
total: w.value,
|
|
54
|
-
hasSelection:
|
|
55
|
-
})),
|
|
56
|
-
|
|
57
|
-
},
|
|
58
|
-
() =>
|
|
59
|
-
),
|
|
55
|
+
hasSelection: o.columns.some((e) => e.type === "selection")
|
|
56
|
+
})), N = f(0), le = (e) => {
|
|
57
|
+
N.value = e;
|
|
58
|
+
}, _ = q(), O = q(), ie = g(
|
|
59
|
+
() => o.columns.some((e) => e.type === "selection")
|
|
60
|
+
), se = (e) => {
|
|
60
61
|
var t, n;
|
|
61
|
-
|
|
62
|
+
V.value = e, (n = (t = o.tableProps) == null ? void 0 : t.onSelectionChange) == null || n.call(t, e);
|
|
62
63
|
}, ue = Ee(
|
|
63
|
-
|
|
64
|
+
Me,
|
|
64
65
|
500
|
|
65
|
-
), A = g(() =>
|
|
66
|
-
() =>
|
|
66
|
+
), A = g(() => o.showPager ? 35 : 0), L = g(
|
|
67
|
+
() => o.showToolbar ? N.value : 0
|
|
67
68
|
), K = g(() => {
|
|
68
|
-
const { maxHeight: e, refine: t } =
|
|
69
|
+
const { maxHeight: e, refine: t, dataViewMaxHeightMinValue: n } = o;
|
|
69
70
|
return e ? Math.max(
|
|
70
71
|
e - A.value - L.value,
|
|
71
|
-
|
|
72
|
+
n
|
|
72
73
|
) : t ? Math.max(
|
|
73
|
-
ue.value - A.value - L.value -
|
|
74
|
-
|
|
74
|
+
ue.value - A.value - L.value - o.refineReduceHeight,
|
|
75
|
+
n
|
|
75
76
|
) : void 0;
|
|
76
77
|
}), x = g(() => {
|
|
77
|
-
const e = Q(
|
|
78
|
-
return ee(e,
|
|
78
|
+
const e = Q(o.query || {});
|
|
79
|
+
return ee(e, H.PAGE_SIZE_KEY, u.value), ee(
|
|
79
80
|
e,
|
|
80
|
-
|
|
81
|
-
|
|
81
|
+
H.CURRENT_PAGE_KEY,
|
|
82
|
+
s.value
|
|
82
83
|
), e;
|
|
83
|
-
}),
|
|
84
|
+
}), fe = g(() => {
|
|
84
85
|
var t;
|
|
85
|
-
const e = (t =
|
|
86
|
+
const e = (t = o.tableProps) == null ? void 0 : t.onSelectionChange;
|
|
86
87
|
return {
|
|
87
|
-
...
|
|
88
|
-
...
|
|
88
|
+
...o.tableProps,
|
|
89
|
+
...ne,
|
|
89
90
|
/** 合并内部选中存储与外部 onSelectionChange */
|
|
90
91
|
onSelectionChange: (n) => {
|
|
91
|
-
|
|
92
|
+
V.value = n, e == null || e(n);
|
|
92
93
|
}
|
|
93
94
|
};
|
|
94
|
-
}),
|
|
95
|
+
}), M = (e, t = !0) => {
|
|
95
96
|
const n = JSON.stringify(e) === JSON.stringify(x.value);
|
|
96
97
|
return !n && t && console.warn(
|
|
97
98
|
`同一地方 并发请求 参数冰花 当前不是最新的参数 丢弃结果 ${JSON.stringify(
|
|
98
99
|
e
|
|
99
100
|
)} => ${JSON.stringify(x.value)}`
|
|
100
101
|
), n;
|
|
101
|
-
},
|
|
102
|
+
}, B = (e = !1) => {
|
|
102
103
|
var n, E;
|
|
103
104
|
if (!u.value) return;
|
|
104
|
-
C.value ? console.warn("请求并发") : C.value = !0, e || (
|
|
105
|
+
C.value ? console.warn("请求并发") : C.value = !0, e || (R.value = !0), o.customView ? (n = O.value) == null || n.clearSelection() : (E = _.value) == null || E.clearSelection();
|
|
105
106
|
const t = Q(x.value);
|
|
106
|
-
return
|
|
107
|
-
|
|
107
|
+
return o.api(t).then((P) => {
|
|
108
|
+
M(t, !1) && (v.value = te(
|
|
108
109
|
P,
|
|
109
|
-
|
|
110
|
+
H.LIST_KEY
|
|
110
111
|
), w.value = te(
|
|
111
112
|
P,
|
|
112
|
-
|
|
113
|
+
H.TOTAL_KEY
|
|
113
114
|
), y("pageInfoChange", {
|
|
114
115
|
pageSize: u.value,
|
|
115
|
-
currentPage:
|
|
116
|
+
currentPage: s.value,
|
|
116
117
|
total: w.value
|
|
117
118
|
}));
|
|
118
119
|
}).finally(() => {
|
|
119
|
-
|
|
120
|
+
M(t) && (C.value = !1, R.value = !1);
|
|
120
121
|
});
|
|
121
|
-
},
|
|
122
|
+
}, j = async (e = !1) => {
|
|
122
123
|
var t;
|
|
123
|
-
return (t =
|
|
124
|
+
return (t = B(e)) == null ? void 0 : t.catch(() => {
|
|
124
125
|
});
|
|
125
|
-
},
|
|
126
|
-
if (
|
|
127
|
-
return
|
|
128
|
-
|
|
129
|
-
}, $ = (e) => e, ge = (e) => e,
|
|
130
|
-
refresh:
|
|
131
|
-
reload:
|
|
132
|
-
getTableInstance: () =>
|
|
126
|
+
}, ce = async (e = !1) => {
|
|
127
|
+
if (s.value === 1)
|
|
128
|
+
return j(e);
|
|
129
|
+
s.value = 1;
|
|
130
|
+
}, $ = (e) => e, ge = (e) => e, de = (e) => e, S = {
|
|
131
|
+
refresh: j,
|
|
132
|
+
reload: ce,
|
|
133
|
+
getTableInstance: () => _.value
|
|
133
134
|
}, J = (e, t = []) => ({
|
|
134
135
|
...X(e, ["render", "headerRender"].concat(t)),
|
|
135
|
-
injectInfo:
|
|
136
|
+
injectInfo: o.injectInfo || {},
|
|
136
137
|
exposeInfo: S
|
|
137
138
|
}), D = (e) => ({
|
|
138
139
|
...X(e, ["render", "headerRender"]),
|
|
139
|
-
injectInfo:
|
|
140
|
+
injectInfo: o.injectInfo || {},
|
|
140
141
|
exposeInfo: S
|
|
141
142
|
});
|
|
142
|
-
|
|
143
|
-
const
|
|
144
|
-
u.value = e,
|
|
143
|
+
ae(S);
|
|
144
|
+
const pe = (e) => {
|
|
145
|
+
u.value = e, s.value = 1;
|
|
145
146
|
}, Y = (e) => !e || e === "expand";
|
|
146
147
|
return Pe(() => {
|
|
147
|
-
u.value =
|
|
148
|
+
u.value = o.pageSizeInit, Te(() => {
|
|
148
149
|
S.refresh();
|
|
149
150
|
});
|
|
150
151
|
}), m(v, (e) => {
|
|
151
152
|
y("dataChange", e);
|
|
152
153
|
}), m(
|
|
153
|
-
() =>
|
|
154
|
+
() => o.query,
|
|
154
155
|
(e, t) => {
|
|
155
|
-
JSON.stringify(e) !== JSON.stringify(t) && (
|
|
156
|
+
JSON.stringify(e) !== JSON.stringify(t) && (s.value = 1);
|
|
156
157
|
}
|
|
157
158
|
), m(
|
|
158
159
|
x,
|
|
159
160
|
(e, t) => {
|
|
160
|
-
JSON.stringify(e) !== JSON.stringify(t) &&
|
|
161
|
+
JSON.stringify(e) !== JSON.stringify(t) && B();
|
|
161
162
|
},
|
|
162
163
|
{
|
|
163
164
|
immediate: !0
|
|
164
165
|
}
|
|
165
|
-
), m(
|
|
166
|
+
), m(R, (e) => {
|
|
166
167
|
y("loadingChange", e);
|
|
167
168
|
}), m(u, (e) => {
|
|
168
169
|
y("pageSizeChange", e);
|
|
169
|
-
}), m(
|
|
170
|
+
}), m(s, (e) => {
|
|
170
171
|
y("pageChange", e);
|
|
171
172
|
}), (e, t) => {
|
|
172
173
|
const n = ye, E = ve, P = he, me = Ce;
|
|
173
|
-
return
|
|
174
|
-
l.showToolbar ? (
|
|
174
|
+
return i(), b("div", Be, [
|
|
175
|
+
l.showToolbar ? (i(), d(r(Ae), {
|
|
175
176
|
key: 0,
|
|
176
177
|
onHeightChange: le
|
|
177
178
|
}, {
|
|
178
179
|
default: h(() => [
|
|
179
|
-
G(
|
|
180
|
-
"is-auto-refresh":
|
|
181
|
-
"onUpdate:isAutoRefresh": t[0] || (t[0] = (
|
|
180
|
+
G(Oe, p({
|
|
181
|
+
"is-auto-refresh": I.value,
|
|
182
|
+
"onUpdate:isAutoRefresh": t[0] || (t[0] = (a) => I.value = a),
|
|
182
183
|
tableExpose: S,
|
|
183
184
|
loading: r(C),
|
|
184
|
-
exportContext: r(
|
|
185
|
-
currentPage: r(
|
|
185
|
+
exportContext: r(re),
|
|
186
|
+
currentPage: r(s),
|
|
186
187
|
pageSize: r(u)
|
|
187
188
|
}, l.toolbar), null, 16, ["is-auto-refresh", "loading", "exportContext", "currentPage", "pageSize"])
|
|
188
189
|
]),
|
|
189
190
|
_: 1
|
|
190
|
-
})) :
|
|
191
|
-
l.customView ? (
|
|
191
|
+
})) : He("", !0),
|
|
192
|
+
l.customView ? (i(), d(r(Le), {
|
|
192
193
|
key: 2,
|
|
193
194
|
ref_key: "dataListView",
|
|
194
|
-
ref:
|
|
195
|
+
ref: O,
|
|
195
196
|
data: ge(r(v)),
|
|
196
|
-
columns:
|
|
197
|
+
columns: de(l.columns),
|
|
197
198
|
rowKey: $(l.rowKey),
|
|
198
199
|
maxHeight: r(K),
|
|
199
|
-
selectable: r(
|
|
200
|
-
onSelectionChange:
|
|
200
|
+
selectable: r(ie),
|
|
201
|
+
onSelectionChange: se
|
|
201
202
|
}, {
|
|
202
|
-
item: h((
|
|
203
|
-
|
|
203
|
+
item: h((a) => [
|
|
204
|
+
k(e.$slots, "custom-view-item", _e(ke(a)), void 0, !0)
|
|
204
205
|
]),
|
|
205
206
|
_: 3
|
|
206
|
-
}, 8, ["data", "columns", "rowKey", "maxHeight", "selectable"])) : (
|
|
207
|
+
}, 8, ["data", "columns", "rowKey", "maxHeight", "selectable"])) : (i(), d(P, p({
|
|
207
208
|
key: 1,
|
|
208
209
|
ref_key: "elTable",
|
|
209
|
-
ref:
|
|
210
|
+
ref: _,
|
|
210
211
|
class: "table-main-table",
|
|
211
212
|
stripe: "",
|
|
212
213
|
border: "",
|
|
213
214
|
highlightCurrentRow: ""
|
|
214
|
-
}, r(
|
|
215
|
+
}, r(fe), {
|
|
215
216
|
maxHeight: r(K),
|
|
216
217
|
data: r(v),
|
|
217
218
|
rowKey: $(l.rowKey)
|
|
218
219
|
}), {
|
|
219
220
|
empty: h(() => [
|
|
220
|
-
r(C) ? (
|
|
221
|
-
|
|
222
|
-
], 64)) : (
|
|
221
|
+
r(C) ? (i(), b(T, { key: 0 }, [
|
|
222
|
+
z("加载中...")
|
|
223
|
+
], 64)) : (i(), d(E, { key: 1 }))
|
|
223
224
|
]),
|
|
224
225
|
default: h(() => [
|
|
225
|
-
(
|
|
226
|
-
key:
|
|
227
|
-
}, { ref_for: !0 },
|
|
228
|
-
Y(
|
|
226
|
+
(i(!0), b(T, null, Re(l.columns, (a) => (i(), d(n, p({
|
|
227
|
+
key: a.columnKey || a.prop
|
|
228
|
+
}, { ref_for: !0 }, a), Ve({ _: 2 }, [
|
|
229
|
+
Y(a.type) ? {
|
|
229
230
|
name: "default",
|
|
230
|
-
fn: h((
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
fn: h((c) => [
|
|
232
|
+
k(e.$slots, a.prop, p({ ref_for: !0 }, J(c)), () => [
|
|
233
|
+
a.render ? (i(), d(U(a.render), p({
|
|
233
234
|
key: 0,
|
|
234
235
|
ref_for: !0
|
|
235
|
-
}, J(
|
|
236
|
-
_index:
|
|
237
|
-
}), null, 16, ["_index"])) : (
|
|
238
|
-
|
|
236
|
+
}, J(c, ["$index"]), {
|
|
237
|
+
_index: c.$index
|
|
238
|
+
}), null, 16, ["_index"])) : (i(), b(T, { key: 1 }, [
|
|
239
|
+
z(F(c.row[a.prop]), 1)
|
|
239
240
|
], 64))
|
|
240
241
|
], !0)
|
|
241
242
|
]),
|
|
242
243
|
key: "0"
|
|
243
244
|
} : void 0,
|
|
244
|
-
Y(
|
|
245
|
+
Y(a.type) ? {
|
|
245
246
|
name: "header",
|
|
246
|
-
fn: h((
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
fn: h((c) => [
|
|
248
|
+
k(e.$slots, `header-${a.prop}`, p({ ref_for: !0 }, D(c)), () => [
|
|
249
|
+
a.headerRender ? (i(), d(U(a.headerRender), p({
|
|
249
250
|
key: 0,
|
|
250
251
|
ref_for: !0
|
|
251
|
-
}, D(
|
|
252
|
-
|
|
252
|
+
}, D(c)), null, 16)) : (i(), b(T, { key: 1 }, [
|
|
253
|
+
z(F(a.label), 1)
|
|
253
254
|
], 64))
|
|
254
255
|
], !0)
|
|
255
256
|
]),
|
|
@@ -259,26 +260,26 @@ const je = { class: "table-main" }, Me = { class: "table-main-pagination" }, nt
|
|
|
259
260
|
]),
|
|
260
261
|
_: 3
|
|
261
262
|
}, 16, ["maxHeight", "data", "rowKey"])),
|
|
262
|
-
|
|
263
|
+
ze(Ie("div", je, [
|
|
263
264
|
G(me, {
|
|
264
|
-
"current-page": r(
|
|
265
|
-
"onUpdate:currentPage": t[1] || (t[1] = (
|
|
265
|
+
"current-page": r(s),
|
|
266
|
+
"onUpdate:currentPage": t[1] || (t[1] = (a) => W(s) ? s.value = a : null),
|
|
266
267
|
"page-size": r(u),
|
|
267
|
-
"onUpdate:pageSize": t[2] || (t[2] = (
|
|
268
|
+
"onUpdate:pageSize": t[2] || (t[2] = (a) => W(u) ? u.value = a : null),
|
|
268
269
|
"page-sizes": l.pageSizeOptions,
|
|
269
270
|
size: "small",
|
|
270
271
|
background: "",
|
|
271
272
|
layout: l.pageLayout,
|
|
272
273
|
total: r(w),
|
|
273
|
-
onSizeChange:
|
|
274
|
+
onSizeChange: pe
|
|
274
275
|
}, null, 8, ["current-page", "page-size", "page-sizes", "layout", "total"])
|
|
275
276
|
], 512), [
|
|
276
|
-
[
|
|
277
|
+
[Ne, l.showPager]
|
|
277
278
|
])
|
|
278
279
|
]);
|
|
279
280
|
};
|
|
280
281
|
}
|
|
281
282
|
});
|
|
282
283
|
export {
|
|
283
|
-
|
|
284
|
+
rt as default
|
|
284
285
|
};
|
package/es/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-item-tip[data-v-0dd66b41]{text-align:left;line-height:1.5;font-size:12px}.form-item-label-hide[data-v-0dd66b41] .el-form-item__label-wrap{display:none}.form-search_show[data-v-8896356d]{margin-bottom:10px}.form-search .btn-box[data-v-8896356d]{padding-left:20px}.form-search[data-v-8896356d] .el-col{padding-left:14px}.form-verify-image[data-v-a4baf877] .el-input__suffix-inner *{margin:0}.form-verify-image-suffix[data-v-a4baf877]{position:absolute;height:100%;border-radius:var(--el-input-border-radius, var(--el-border-radius-base));top:50%;transform:translateY(-50%);overflow:hidden;cursor:pointer}.form-verify-image-suffix-main[data-v-a4baf877]{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#f4f4f4}.tabs-main-bar[data-v-c9b7515f]{position:relative;display:flex;align-items:center}.tabs-main-bar-item[data-v-c9b7515f]{padding:8px 16px;border:none;background:transparent;font-size:14px;color:var(--el-text-color-regular);cursor:pointer}.tabs-main-bar-item_active[data-v-c9b7515f]{color:var(--el-color-primary)}.tabs-main-bar-indicator[data-v-c9b7515f]{position:absolute;bottom:0;left:0;height:2px;background:var(--el-color-primary);transition:transform .2s,width .2s}.auto-refresh[data-v-9d78ca06]{display:flex;align-items:center;gap:8px}.auto-refresh-label[data-v-9d78ca06]{font-size:13px;color:var(--el-text-color-regular)}.auto-refresh-interval[data-v-9d78ca06]{width:80px}.confirm-dialog .content[data-v-2f0c870e]{overflow-x:hidden;overflow-y:auto;max-height:calc(100vh - 200px)}.confirm-dialog .btn[data-v-2f0c870e]{width:150px;height:40px;border-radius:4px}.confirm-dialog .main[data-v-2f0c870e]{position:relative;text-align:center}.confirm-dialog .main .close-box[data-v-2f0c870e]{position:absolute;top:0;right:0;cursor:pointer;z-index:2}.confirm-dialog .main .shim[data-v-2f0c870e]{position:relative;z-index:1}.confirm-dialog .main .shim .title[data-v-2f0c870e]{font-size:18px;font-weight:500}.confirm-dialog .main .shim .content[data-v-2f0c870e]{font-size:16px;margin-top:15px}.confirm-dialog .main .shim .footer[data-v-2f0c870e]{display:flex;justify-content:center;align-items:center;padding-top:5px}.confirm-dialog .main .shim .footer>.btn[data-v-2f0c870e]:not(:last-child){margin-right:30px}.confirm-dialog .main .shim .footer[reverse=true][data-v-2f0c870e]{flex-direction:row-reverse}.confirm-dialog .main .shim .footer[reverse=true]>.btn[data-v-2f0c870e]:not(:last-child){margin-right:0;margin-left:30px}.confirm-dialog .el-dialog__header,.confirm-dialog .el-dialog__body{padding:0;background-color:transparent}.table-toolbar[data-v-90cd7b54]{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;gap:20px}.table-toolbar-left[data-v-90cd7b54],.table-toolbar-right[data-v-90cd7b54]{display:flex;align-items:center;gap:10px}.table-toolbar-icon--rotating[data-v-90cd7b54]{animation:table-toolbar-rotating-90cd7b54 1s linear infinite}@keyframes table-toolbar-rotating-90cd7b54{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.data-list-view[data-v-4c7d7547]{width:100%}.table-main-table[data-v-
|
|
1
|
+
.form-item-tip[data-v-0dd66b41]{text-align:left;line-height:1.5;font-size:12px}.form-item-label-hide[data-v-0dd66b41] .el-form-item__label-wrap{display:none}.form-search_show[data-v-8896356d]{margin-bottom:10px}.form-search .btn-box[data-v-8896356d]{padding-left:20px}.form-search[data-v-8896356d] .el-col{padding-left:14px}.form-verify-image[data-v-a4baf877] .el-input__suffix-inner *{margin:0}.form-verify-image-suffix[data-v-a4baf877]{position:absolute;height:100%;border-radius:var(--el-input-border-radius, var(--el-border-radius-base));top:50%;transform:translateY(-50%);overflow:hidden;cursor:pointer}.form-verify-image-suffix-main[data-v-a4baf877]{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#f4f4f4}.tabs-main-bar[data-v-c9b7515f]{position:relative;display:flex;align-items:center}.tabs-main-bar-item[data-v-c9b7515f]{padding:8px 16px;border:none;background:transparent;font-size:14px;color:var(--el-text-color-regular);cursor:pointer}.tabs-main-bar-item_active[data-v-c9b7515f]{color:var(--el-color-primary)}.tabs-main-bar-indicator[data-v-c9b7515f]{position:absolute;bottom:0;left:0;height:2px;background:var(--el-color-primary);transition:transform .2s,width .2s}.auto-refresh[data-v-9d78ca06]{display:flex;align-items:center;gap:8px}.auto-refresh-label[data-v-9d78ca06]{font-size:13px;color:var(--el-text-color-regular)}.auto-refresh-interval[data-v-9d78ca06]{width:80px}.confirm-dialog .content[data-v-2f0c870e]{overflow-x:hidden;overflow-y:auto;max-height:calc(100vh - 200px)}.confirm-dialog .btn[data-v-2f0c870e]{width:150px;height:40px;border-radius:4px}.confirm-dialog .main[data-v-2f0c870e]{position:relative;text-align:center}.confirm-dialog .main .close-box[data-v-2f0c870e]{position:absolute;top:0;right:0;cursor:pointer;z-index:2}.confirm-dialog .main .shim[data-v-2f0c870e]{position:relative;z-index:1}.confirm-dialog .main .shim .title[data-v-2f0c870e]{font-size:18px;font-weight:500}.confirm-dialog .main .shim .content[data-v-2f0c870e]{font-size:16px;margin-top:15px}.confirm-dialog .main .shim .footer[data-v-2f0c870e]{display:flex;justify-content:center;align-items:center;padding-top:5px}.confirm-dialog .main .shim .footer>.btn[data-v-2f0c870e]:not(:last-child){margin-right:30px}.confirm-dialog .main .shim .footer[reverse=true][data-v-2f0c870e]{flex-direction:row-reverse}.confirm-dialog .main .shim .footer[reverse=true]>.btn[data-v-2f0c870e]:not(:last-child){margin-right:0;margin-left:30px}.confirm-dialog .el-dialog__header,.confirm-dialog .el-dialog__body{padding:0;background-color:transparent}.table-toolbar[data-v-90cd7b54]{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;gap:20px}.table-toolbar-left[data-v-90cd7b54],.table-toolbar-right[data-v-90cd7b54]{display:flex;align-items:center;gap:10px}.table-toolbar-icon--rotating[data-v-90cd7b54]{animation:table-toolbar-rotating-90cd7b54 1s linear infinite}@keyframes table-toolbar-rotating-90cd7b54{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.data-list-view[data-v-4c7d7547]{width:100%}.table-main-table[data-v-d70ba841]{--el-table-header-bg-color: var(--e731a8f2)}.table-main-pagination[data-v-d70ba841]{margin-top:10px;display:flex;justify-content:flex-end}.list-page[data-v-e22c3b7c]{min-height:var(--v09e0228a)}.list-page-header[data-v-e22c3b7c],.list-page-operation[data-v-e22c3b7c]{margin-bottom:10px}.list-page[data-v-e22c3b7c] .el-loading-mask{left:-10px;top:-10px;right:-10px;bottom:-10px}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@done-coding/admin-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "后台管理核心",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "lib/index.cjs",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
35
35
|
"type": "git",
|
|
36
|
-
"url": "https://
|
|
36
|
+
"url": "https://github.com/done-coding/done-coding-admin.git",
|
|
37
37
|
"directory": "packages/core"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"node": ">=18.0.0",
|
|
78
78
|
"pnpm": ">=9.0.0"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "9a231b49a146978b0a768316baad1f97803498c3"
|
|
81
81
|
}
|