@done-coding/admin-core 0.1.2 → 0.1.3-alpha.0

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.
@@ -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 m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6b075cdc"]]);
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e22c3b7c"]]);
5
5
  export {
6
- m as default
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
- v111f9ca3: a(Y)
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 a from "./TableMain.vue2.mjs";
1
+ import o from "./TableMain.vue2.mjs";
2
2
  /* empty css */
3
- import o from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const p = /* @__PURE__ */ o(a, [["__scopeId", "data-v-4a2a0938"]]);
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 c, computed as g, shallowRef as q, inject as Ee, onMounted as Pe, onActivated as Te, watch as m, openBlock as s, createElementBlock as b, createBlock as p, unref as r, withCtx as h, createVNode as G, mergeProps as d, createCommentVNode as Re, Fragment as T, renderList as _e, createSlots as ke, renderSlot as I, resolveDynamicComponent as U, createTextVNode as H, toDisplayString as F, normalizeProps as ze, guardReactiveProps as Ie, withDirectives as He, createElementVNode as Ne, isRef as W, vShow as Oe, mergeModels as Z } from "vue";
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 Ve from "./TableToolbar.vue.mjs";
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 Be } from "../../inject/key.mjs";
17
- import { APP_API_LIST_MODEL_KEY_CONFIG as R } from "../../config/list-model.mjs";
18
- const je = { class: "table-main" }, Me = { class: "table-main-pagination" }, nt = /* @__PURE__ */ Se({
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: oe, emit: ae }) {
44
+ setup(l, { expose: ae, emit: oe }) {
44
45
  be((e) => ({
45
- v1b467e54: e.headerColor
46
+ e731a8f2: e.headerColor
46
47
  }));
47
- const a = l, y = ae, N = we(l, "isAutoRefresh"), re = xe(), v = c([]), w = c(0), u = c(0), i = c(1), C = c(!1), _ = c(!1), k = c([]), ne = g(() => ({
48
- columns: Ke(a.columns),
49
- selectedList: k.value,
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: a.api,
52
- query: a.query || {},
52
+ api: o.api,
53
+ query: o.query || {},
53
54
  total: w.value,
54
- hasSelection: a.columns.some((e) => e.type === "selection")
55
- })), O = c(0), le = (e) => {
56
- O.value = e;
57
- }, z = q(), V = q(), se = g(
58
- () => a.columns.some((e) => e.type === "selection")
59
- ), ie = (e) => {
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
- k.value = e, (n = (t = a.tableProps) == null ? void 0 : t.onSelectionChange) == null || n.call(t, e);
62
+ V.value = e, (n = (t = o.tableProps) == null ? void 0 : t.onSelectionChange) == null || n.call(t, e);
62
63
  }, ue = Ee(
63
- Be,
64
+ Me,
64
65
  500
65
- ), A = g(() => a.showPager ? 35 : 0), L = g(
66
- () => a.showToolbar ? O.value : 0
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 } = a;
69
+ const { maxHeight: e, refine: t, dataViewMaxHeightMinValue: n } = o;
69
70
  return e ? Math.max(
70
71
  e - A.value - L.value,
71
- 200
72
+ n
72
73
  ) : t ? Math.max(
73
- ue.value - A.value - L.value - a.refineReduceHeight,
74
- 200
74
+ ue.value - A.value - L.value - o.refineReduceHeight,
75
+ n
75
76
  ) : void 0;
76
77
  }), x = g(() => {
77
- const e = Q(a.query || {});
78
- return ee(e, R.PAGE_SIZE_KEY, u.value), ee(
78
+ const e = Q(o.query || {});
79
+ return ee(e, H.PAGE_SIZE_KEY, u.value), ee(
79
80
  e,
80
- R.CURRENT_PAGE_KEY,
81
- i.value
81
+ H.CURRENT_PAGE_KEY,
82
+ s.value
82
83
  ), e;
83
- }), ce = g(() => {
84
+ }), fe = g(() => {
84
85
  var t;
85
- const e = (t = a.tableProps) == null ? void 0 : t.onSelectionChange;
86
+ const e = (t = o.tableProps) == null ? void 0 : t.onSelectionChange;
86
87
  return {
87
- ...a.tableProps,
88
- ...re,
88
+ ...o.tableProps,
89
+ ...ne,
89
90
  /** 合并内部选中存储与外部 onSelectionChange */
90
91
  onSelectionChange: (n) => {
91
- k.value = n, e == null || e(n);
92
+ V.value = n, e == null || e(n);
92
93
  }
93
94
  };
94
- }), B = (e, t = !0) => {
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
- }, j = (e = !1) => {
102
+ }, B = (e = !1) => {
102
103
  var n, E;
103
104
  if (!u.value) return;
104
- C.value ? console.warn("请求并发") : C.value = !0, e || (_.value = !0), a.customView ? (n = V.value) == null || n.clearSelection() : (E = z.value) == null || E.clearSelection();
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 a.api(t).then((P) => {
107
- B(t, !1) && (v.value = te(
107
+ return o.api(t).then((P) => {
108
+ M(t, !1) && (v.value = te(
108
109
  P,
109
- R.LIST_KEY
110
+ H.LIST_KEY
110
111
  ), w.value = te(
111
112
  P,
112
- R.TOTAL_KEY
113
+ H.TOTAL_KEY
113
114
  ), y("pageInfoChange", {
114
115
  pageSize: u.value,
115
- currentPage: i.value,
116
+ currentPage: s.value,
116
117
  total: w.value
117
118
  }));
118
119
  }).finally(() => {
119
- B(t) && (C.value = !1, _.value = !1);
120
+ M(t) && (C.value = !1, R.value = !1);
120
121
  });
121
- }, M = async (e = !1) => {
122
+ }, j = async (e = !1) => {
122
123
  var t;
123
- return (t = j(e)) == null ? void 0 : t.catch(() => {
124
+ return (t = B(e)) == null ? void 0 : t.catch(() => {
124
125
  });
125
- }, fe = async (e = !1) => {
126
- if (i.value === 1)
127
- return M(e);
128
- i.value = 1;
129
- }, $ = (e) => e, ge = (e) => e, pe = (e) => e, S = {
130
- refresh: M,
131
- reload: fe,
132
- getTableInstance: () => z.value
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: a.injectInfo || {},
136
+ injectInfo: o.injectInfo || {},
136
137
  exposeInfo: S
137
138
  }), D = (e) => ({
138
139
  ...X(e, ["render", "headerRender"]),
139
- injectInfo: a.injectInfo || {},
140
+ injectInfo: o.injectInfo || {},
140
141
  exposeInfo: S
141
142
  });
142
- oe(S);
143
- const de = (e) => {
144
- u.value = e, i.value = 1;
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 = a.pageSizeInit, Te(() => {
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
- () => a.query,
154
+ () => o.query,
154
155
  (e, t) => {
155
- JSON.stringify(e) !== JSON.stringify(t) && (i.value = 1);
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) && j();
161
+ JSON.stringify(e) !== JSON.stringify(t) && B();
161
162
  },
162
163
  {
163
164
  immediate: !0
164
165
  }
165
- ), m(_, (e) => {
166
+ ), m(R, (e) => {
166
167
  y("loadingChange", e);
167
168
  }), m(u, (e) => {
168
169
  y("pageSizeChange", e);
169
- }), m(i, (e) => {
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 s(), b("div", je, [
174
- l.showToolbar ? (s(), p(r(Ae), {
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(Ve, d({
180
- "is-auto-refresh": N.value,
181
- "onUpdate:isAutoRefresh": t[0] || (t[0] = (o) => N.value = o),
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(ne),
185
- currentPage: r(i),
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
- })) : Re("", !0),
191
- l.customView ? (s(), p(r(Le), {
191
+ })) : He("", !0),
192
+ l.customView ? (i(), d(r(Le), {
192
193
  key: 2,
193
194
  ref_key: "dataListView",
194
- ref: V,
195
+ ref: O,
195
196
  data: ge(r(v)),
196
- columns: pe(l.columns),
197
+ columns: de(l.columns),
197
198
  rowKey: $(l.rowKey),
198
199
  maxHeight: r(K),
199
- selectable: r(se),
200
- onSelectionChange: ie
200
+ selectable: r(ie),
201
+ onSelectionChange: se
201
202
  }, {
202
- item: h((o) => [
203
- I(e.$slots, "custom-view-item", ze(Ie(o)), void 0, !0)
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"])) : (s(), p(P, d({
207
+ }, 8, ["data", "columns", "rowKey", "maxHeight", "selectable"])) : (i(), d(P, p({
207
208
  key: 1,
208
209
  ref_key: "elTable",
209
- ref: z,
210
+ ref: _,
210
211
  class: "table-main-table",
211
212
  stripe: "",
212
213
  border: "",
213
214
  highlightCurrentRow: ""
214
- }, r(ce), {
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) ? (s(), b(T, { key: 0 }, [
221
- H("加载中...")
222
- ], 64)) : (s(), p(E, { key: 1 }))
221
+ r(C) ? (i(), b(T, { key: 0 }, [
222
+ z("加载中...")
223
+ ], 64)) : (i(), d(E, { key: 1 }))
223
224
  ]),
224
225
  default: h(() => [
225
- (s(!0), b(T, null, _e(l.columns, (o) => (s(), p(n, d({
226
- key: o.columnKey || o.prop
227
- }, { ref_for: !0 }, o), ke({ _: 2 }, [
228
- Y(o.type) ? {
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((f) => [
231
- I(e.$slots, o.prop, d({ ref_for: !0 }, J(f)), () => [
232
- o.render ? (s(), p(U(o.render), d({
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(f, ["$index"]), {
236
- _index: f.$index
237
- }), null, 16, ["_index"])) : (s(), b(T, { key: 1 }, [
238
- H(F(f.row[o.prop]), 1)
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(o.type) ? {
245
+ Y(a.type) ? {
245
246
  name: "header",
246
- fn: h((f) => [
247
- I(e.$slots, `header-${o.prop}`, d({ ref_for: !0 }, D(f)), () => [
248
- o.headerRender ? (s(), p(U(o.headerRender), d({
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(f)), null, 16)) : (s(), b(T, { key: 1 }, [
252
- H(F(o.label), 1)
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
- He(Ne("div", Me, [
263
+ ze(Ie("div", je, [
263
264
  G(me, {
264
- "current-page": r(i),
265
- "onUpdate:currentPage": t[1] || (t[1] = (o) => W(i) ? i.value = o : null),
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] = (o) => W(u) ? u.value = o : null),
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: de
274
+ onSizeChange: pe
274
275
  }, null, 8, ["current-page", "page-size", "page-sizes", "layout", "total"])
275
276
  ], 512), [
276
- [Oe, l.showPager]
277
+ [Ne, l.showPager]
277
278
  ])
278
279
  ]);
279
280
  };
280
281
  }
281
282
  });
282
283
  export {
283
- nt as default
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-4a2a0938]{--el-table-header-bg-color: var(--v1b467e54)}.table-main-pagination[data-v-4a2a0938]{margin-top:10px;display:flex;justify-content:flex-end}.list-page[data-v-6b075cdc]{min-height:var(--v111f9ca3)}.list-page-header[data-v-6b075cdc],.list-page-operation[data-v-6b075cdc]{margin-bottom:10px}.list-page[data-v-6b075cdc] .el-loading-mask{left:-10px;top:-10px;right:-10px;bottom:-10px}
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.2",
3
+ "version": "0.1.3-alpha.0",
4
4
  "description": "后台管理核心",
5
5
  "private": false,
6
6
  "main": "lib/index.cjs",
@@ -77,5 +77,5 @@
77
77
  "node": ">=18.0.0",
78
78
  "pnpm": ">=9.0.0"
79
79
  },
80
- "gitHead": "0de1a92c049b97d88c763479a05a9c9331d7b0e3"
80
+ "gitHead": "6a0147ea0ad6d63c437e30a18ebbe5f47f6d1743"
81
81
  }
@@ -171,4 +171,6 @@ F extends Record<string, any>> {
171
171
  refineReduceHeight?: number;
172
172
  /** 给插槽注入的方法 */
173
173
  injectInfo?: F;
174
+ /** 数据视口最大高度最小值 */
175
+ dataViewMaxHeightMinValue?: number;
174
176
  }