dpot-ui 0.1.3 → 0.1.5

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/font.css ADDED
@@ -0,0 +1,141 @@
1
+ /* Euclid */
2
+ @font-face {
3
+ font-family: "Euclid";
4
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/euclid.ttf") format("truetype");
5
+ }
6
+
7
+ @font-face {
8
+ font-family: "Euclid";
9
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/euclidi.ttf") format("truetype");
10
+ font-style: italic;
11
+
12
+ }
13
+
14
+ @font-face {
15
+ font-family: "Euclid";
16
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/euclidb.ttf") format("truetype");
17
+ font-weight: bold;
18
+ }
19
+
20
+ @font-face {
21
+ font-family: "Euclid";
22
+ font-style: italic;
23
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/euclidbi.ttf") format("truetype");
24
+ font-weight: bold;
25
+ }
26
+
27
+ /* Euclid Symbol */
28
+ @font-face {
29
+ font-family: "Euclid Symbol";
30
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/eucsym.ttf") format("truetype");
31
+ }
32
+
33
+ @font-face {
34
+ font-family: "Euclid Symbol";
35
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/eucsymi.ttf") format("truetype");
36
+ font-style: italic;
37
+
38
+ }
39
+
40
+ @font-face {
41
+ font-family: "Euclid Symbol";
42
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/eucsymb.ttf") format("truetype");
43
+ font-weight: bold;
44
+ }
45
+
46
+ @font-face {
47
+ font-family: "Euclid Symbol";
48
+ font-style: italic;
49
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/eucsymbi.ttf") format("truetype");
50
+ font-weight: bold;
51
+ }
52
+
53
+ /* Euclid Extra */
54
+ @font-face {
55
+ font-family: "Euclid Extra";
56
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/euextra.ttf") format("truetype");
57
+ }
58
+
59
+ @font-face {
60
+ font-family: "Euclid Extra";
61
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/euextrab.ttf") format("truetype");
62
+ font-weight: bold;
63
+ }
64
+
65
+ /* Euclid Fraktur */
66
+ @font-face {
67
+ font-family: "Euclid Fraktur";
68
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/eufrak.ttf") format("truetype");
69
+ }
70
+
71
+ @font-face {
72
+ font-family: "Euclid Fraktur";
73
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/eufrakb.ttf") format("truetype");
74
+ font-weight: bold;
75
+ }
76
+
77
+ /* Euclid Math One */
78
+ @font-face {
79
+ font-family: "Euclid Math One";
80
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/eumat1.ttf") format("truetype");
81
+ }
82
+
83
+ @font-face {
84
+ font-family: "Euclid Math One";
85
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/eumat1b.ttf") format("truetype");
86
+ font-weight: bold;
87
+ }
88
+
89
+ /* Euclid Math Two */
90
+ @font-face {
91
+ font-family: "Euclid Math Two";
92
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/eumat2.ttf") format("truetype");
93
+ }
94
+
95
+ @font-face {
96
+ font-family: "Euclid Math Two";
97
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/eumat2b.ttf") format("truetype");
98
+ font-weight: bold;
99
+ }
100
+
101
+ /* Fences */
102
+ @font-face {
103
+ font-family: "Fences";
104
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/fences.ttf") format("truetype");
105
+ }
106
+
107
+ /* MT Extra Tiger */
108
+ @font-face {
109
+ font-family: "MT Extra Tiger";
110
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/Mt%20Extra%20Tiger.ttf") format("truetype");
111
+ }
112
+
113
+ /* MT Extra */
114
+ @font-face {
115
+ font-family: "MT Extra";
116
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/mtextra.ttf") format("truetype");
117
+ }
118
+
119
+ /* Symbol Tiger Expert */
120
+ @font-face {
121
+ font-family: "Symbol Tiger Expert";
122
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/Symbol%20Tiger%20Expert.ttf") format("truetype");
123
+ }
124
+
125
+ /* Symbol Tiger */
126
+ @font-face {
127
+ font-family: "Symbol Tiger";
128
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/Symbol%20Tiger.ttf") format("truetype");
129
+ }
130
+
131
+ /* Tiger Expert */
132
+ @font-face {
133
+ font-family: "Tiger Expert";
134
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/Tiger%20Expert.ttf") format("truetype");
135
+ }
136
+
137
+ /* Tiger */
138
+ @font-face {
139
+ font-family: "Tiger";
140
+ src: url("https://rainbow-pro-open.oss-cn-beijing.aliyuncs.com/static/fonts/mt/Tiger.ttf") format("truetype");
141
+ }
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- var x = function() {
1
+ var S = function() {
2
2
  var e = this, o = e.$createElement, r = e._self._c || o;
3
3
  return r("div", {
4
4
  class: ["dp-check_view_", e.value.includes(e.data.code) && "dp-check_view_checked_"],
@@ -15,37 +15,37 @@ var x = function() {
15
15
  }), r("span", {
16
16
  staticClass: "dp-check_name_"
17
17
  }, [e._v(e._s(e.data.name))])]);
18
- }, S = [];
19
- function h(e, o, r, t, n, s, a, l) {
20
- var i = typeof e == "function" ? e.options : e;
21
- o && (i.render = o, i.staticRenderFns = r, i._compiled = !0), t && (i.functional = !0), s && (i._scopeId = "data-v-" + s);
22
- var d;
23
- if (a ? (d = function(c) {
24
- c = c || // cached call
18
+ }, w = [];
19
+ function _(e, o, r, t, n, i, a, s) {
20
+ var l = typeof e == "function" ? e.options : e;
21
+ o && (l.render = o, l.staticRenderFns = r, l._compiled = !0), t && (l.functional = !0), i && (l._scopeId = "data-v-" + i);
22
+ var c;
23
+ if (a ? (c = function(d) {
24
+ d = d || // cached call
25
25
  this.$vnode && this.$vnode.ssrContext || // stateful
26
- this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !c && typeof __VUE_SSR_CONTEXT__ < "u" && (c = __VUE_SSR_CONTEXT__), n && n.call(this, c), c && c._registeredComponents && c._registeredComponents.add(a);
27
- }, i._ssrRegister = d) : n && (d = l ? function() {
26
+ this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !d && typeof __VUE_SSR_CONTEXT__ < "u" && (d = __VUE_SSR_CONTEXT__), n && n.call(this, d), d && d._registeredComponents && d._registeredComponents.add(a);
27
+ }, l._ssrRegister = c) : n && (c = s ? function() {
28
28
  n.call(
29
29
  this,
30
- (i.functional ? this.parent : this).$root.$options.shadowRoot
30
+ (l.functional ? this.parent : this).$root.$options.shadowRoot
31
31
  );
32
- } : n), d)
33
- if (i.functional) {
34
- i._injectStyles = d;
35
- var I = i.render;
36
- i.render = function($, p) {
37
- return d.call(p), I($, p);
32
+ } : n), c)
33
+ if (l.functional) {
34
+ l._injectStyles = c;
35
+ var $ = l.render;
36
+ l.render = function(x, p) {
37
+ return c.call(p), $(x, p);
38
38
  };
39
39
  } else {
40
- var f = i.beforeCreate;
41
- i.beforeCreate = f ? [].concat(f, d) : [d];
40
+ var f = l.beforeCreate;
41
+ l.beforeCreate = f ? [].concat(f, c) : [c];
42
42
  }
43
43
  return {
44
44
  exports: e,
45
- options: i
45
+ options: l
46
46
  };
47
47
  }
48
- const w = {
48
+ const k = {
49
49
  name: "dp-check",
50
50
  props: {
51
51
  data: {
@@ -67,24 +67,24 @@ const w = {
67
67
  }
68
68
  }
69
69
  }, g = {};
70
- var k = /* @__PURE__ */ h(
71
- w,
72
- x,
70
+ var D = /* @__PURE__ */ _(
71
+ k,
73
72
  S,
73
+ w,
74
74
  !1,
75
- D,
75
+ F,
76
76
  "1b8ae42a",
77
77
  null,
78
78
  null
79
79
  );
80
- function D(e) {
80
+ function F(e) {
81
81
  for (let o in g)
82
82
  this[o] = g[o];
83
83
  }
84
84
  const H = /* @__PURE__ */ function() {
85
- return k.exports;
85
+ return D.exports;
86
86
  }();
87
- var F = function() {
87
+ var O = function() {
88
88
  var e = this, o = e.$createElement, r = e._self._c || o;
89
89
  return r("div", {
90
90
  class: ["dp-radio_view_", e.value === e.data.code && "dp-radio_view_checked_"],
@@ -102,7 +102,7 @@ var F = function() {
102
102
  staticClass: "dp-radio_name_"
103
103
  }, [e._v(e._s(e.data.name))])]);
104
104
  }, j = [];
105
- const O = {
105
+ const E = {
106
106
  name: "dp-radio",
107
107
  props: {
108
108
  data: {
@@ -123,24 +123,24 @@ const O = {
123
123
  }
124
124
  }
125
125
  }, b = {};
126
- var R = /* @__PURE__ */ h(
126
+ var M = /* @__PURE__ */ _(
127
+ E,
127
128
  O,
128
- F,
129
129
  j,
130
130
  !1,
131
- E,
131
+ R,
132
132
  "e7bf9628",
133
133
  null,
134
134
  null
135
135
  );
136
- function E(e) {
136
+ function R(e) {
137
137
  for (let o in b)
138
138
  this[o] = b[o];
139
139
  }
140
- const M = /* @__PURE__ */ function() {
141
- return R.exports;
140
+ const T = /* @__PURE__ */ function() {
141
+ return M.exports;
142
142
  }();
143
- var T = function() {
143
+ var L = function() {
144
144
  var e = this, o = e.$createElement, r = e._self._c || o;
145
145
  return r("div", {
146
146
  staticClass: "dp-checkfilter_view_"
@@ -184,7 +184,7 @@ const z = {
184
184
  name: "dp-checkfilter",
185
185
  components: {
186
186
  DpCheck: H,
187
- DpRadio: M
187
+ DpRadio: T
188
188
  },
189
189
  props: {
190
190
  title: {
@@ -214,24 +214,24 @@ const z = {
214
214
  }
215
215
  }
216
216
  }, v = {};
217
- var L = /* @__PURE__ */ h(
217
+ var K = /* @__PURE__ */ _(
218
218
  z,
219
- T,
219
+ L,
220
220
  W,
221
221
  !1,
222
- K,
222
+ B,
223
223
  "20c78138",
224
224
  null,
225
225
  null
226
226
  );
227
- function K(e) {
227
+ function B(e) {
228
228
  for (let o in v)
229
229
  this[o] = v[o];
230
230
  }
231
231
  const P = /* @__PURE__ */ function() {
232
- return L.exports;
232
+ return K.exports;
233
233
  }();
234
- var B = function() {
234
+ var A = function() {
235
235
  var e = this, o = e.$createElement, r = e._self._c || o;
236
236
  return r("li", {
237
237
  class: ["dp-table_header_item_ dp-table_header_item_height_", e.item.children ? "dp-table_header_item_group_" : "dp-table_header_item_border_", e.item.sortKey && "dp-table_header_item_cursor_"],
@@ -272,11 +272,11 @@ var B = function() {
272
272
  changeSort: e.handleItemClick,
273
273
  changeFilter: e.handleChangeFilter
274
274
  },
275
- scopedSlots: e._u([e._l(e.$slots, function(n, s) {
275
+ scopedSlots: e._u([e._l(e.$slots, function(n, i) {
276
276
  return {
277
- key: s,
277
+ key: i,
278
278
  fn: function() {
279
- return [e._t(s)];
279
+ return [e._t(i)];
280
280
  },
281
281
  proxy: !0
282
282
  };
@@ -301,8 +301,8 @@ var B = function() {
301
301
  class: ["dp-table_header_item_sort_", e.sortInfo.target.join("_") === e.fullCode.join("_") && e.sortInfo.value === "up" && "dp-table_header_item_sort_up_", e.sortInfo.target.join("_") === e.fullCode.join("_") && e.sortInfo.value === "down" && "dp-table_header_item_sort_down_"]
302
302
  }) : e._e()]];
303
303
  })], 2);
304
- }, A = [];
305
- const N = {
304
+ }, N = [];
305
+ const q = {
306
306
  name: "dp-table-header-item",
307
307
  components: {
308
308
  DpCheckfilter: P
@@ -341,7 +341,7 @@ const N = {
341
341
  this.widthObj = { ...this.widthObj, ...e }, this.$emit("changeWidth", e);
342
342
  },
343
343
  handleItemClick(e, o) {
344
- this.$emit("changeSort", { ...e }, o);
344
+ e.sortKey && this.$emit("changeSort", { ...e }, o);
345
345
  },
346
346
  handleChangeFilter(e) {
347
347
  this.$emit("changeFilter", { [this.fullCode.join("_")]: { target: this.fullCode, ...e, filterKey: this.item.filterKey || this.item.code, filterFn: this.item.filterFn } });
@@ -354,33 +354,33 @@ const N = {
354
354
  this.resizer && this.resizer.unobserve(this.$el);
355
355
  }
356
356
  }, y = {};
357
- var U = /* @__PURE__ */ h(
358
- N,
359
- B,
357
+ var U = /* @__PURE__ */ _(
358
+ q,
360
359
  A,
360
+ N,
361
361
  !1,
362
- q,
363
- "4272af7c",
362
+ V,
363
+ "5cf7a766",
364
364
  null,
365
365
  null
366
366
  );
367
- function q(e) {
367
+ function V(e) {
368
368
  for (let o in y)
369
369
  this[o] = y[o];
370
370
  }
371
- const V = /* @__PURE__ */ function() {
371
+ const X = /* @__PURE__ */ function() {
372
372
  return U.exports;
373
373
  }(), u = (e, o, r) => {
374
374
  const t = e[r];
375
375
  if (!t.isFixed || !o[t.code])
376
376
  return {};
377
- const n = (a) => typeof a == "number" ? [a] : Object.values(a).map((l) => n(l)).flat();
378
- return { position: "sticky", left: `${e.filter((a, l) => l < r && a.isFixed).map((a) => n(o[a.code])).reduce((a, l) => parseFloat(a) + parseFloat(l), 0)}px` };
379
- }, _ = (e, o) => {
380
- const r = e[o[0]];
381
- return o.length > 1 ? _(r, o.slice(1)) : r;
377
+ const n = (a) => typeof a == "number" ? [a] : Object.values(a).map((s) => n(s)).flat();
378
+ return { position: "sticky", left: `${e.filter((a, s) => s < r && a.isFixed).map((a) => n(o[a.code])).reduce((a, s) => parseFloat(a) + parseFloat(s), 0)}px` };
379
+ }, h = (e, o, r) => {
380
+ const t = e[o[0]];
381
+ return o.length > 1 ? h(t, o.slice(1)) : e[r] || t;
382
382
  };
383
- var X = function() {
383
+ var G = function() {
384
384
  var e = this, o = e.$createElement, r = e._self._c || o;
385
385
  return r("ul", {
386
386
  staticClass: "dp-table_header_view_",
@@ -406,7 +406,7 @@ var X = function() {
406
406
  changeSort: e.handleChangeSort,
407
407
  changeFilter: e.handleChangeFilter
408
408
  },
409
- scopedSlots: e._u([e._l(e.$slots, function(s, a) {
409
+ scopedSlots: e._u([e._l(e.$slots, function(i, a) {
410
410
  return {
411
411
  key: a,
412
412
  fn: function() {
@@ -417,11 +417,11 @@ var X = function() {
417
417
  })], null, !0)
418
418
  });
419
419
  }), 1);
420
- }, G = [];
421
- const J = {
420
+ }, J = [];
421
+ const Q = {
422
422
  name: "dp-table-header",
423
423
  components: {
424
- DpItem: V
424
+ DpItem: X
425
425
  },
426
426
  props: {
427
427
  // 表头数据
@@ -479,24 +479,24 @@ const J = {
479
479
  }
480
480
  }
481
481
  }, m = {};
482
- var Q = /* @__PURE__ */ h(
483
- J,
484
- X,
482
+ var Y = /* @__PURE__ */ _(
483
+ Q,
485
484
  G,
485
+ J,
486
486
  !1,
487
- Y,
487
+ Z,
488
488
  "2293b374",
489
489
  null,
490
490
  null
491
491
  );
492
- function Y(e) {
492
+ function Z(e) {
493
493
  for (let o in m)
494
494
  this[o] = m[o];
495
495
  }
496
- const Z = /* @__PURE__ */ function() {
497
- return Q.exports;
496
+ const ee = /* @__PURE__ */ function() {
497
+ return Y.exports;
498
498
  }();
499
- var ee = function() {
499
+ var te = function() {
500
500
  var e = this, o = e.$createElement, r = e._self._c || o;
501
501
  return r("div", {
502
502
  staticClass: "dp-table_view_border_",
@@ -507,9 +507,7 @@ var ee = function() {
507
507
  ref: "table",
508
508
  staticClass: "dp-table_view_",
509
509
  on: {
510
- "&scroll": function(t) {
511
- return e.handleScroll.apply(null, arguments);
512
- }
510
+ scroll: e.handleScroll
513
511
  }
514
512
  }, [r("dp-header", {
515
513
  ref: "header",
@@ -536,14 +534,14 @@ var ee = function() {
536
534
  proxy: !0
537
535
  };
538
536
  })], null, !0)
539
- }), r("div"), r("div", {
537
+ }), r("div"), r("ul", {
540
538
  staticClass: "dp-table_body_view_",
541
539
  style: {
542
- height: e.fullHeight + "px",
540
+ height: `${e.fullHeight}px`,
543
541
  paddingTop: e.beforeHeight + "px"
544
542
  }
545
543
  }, e._l(e.resultData, function(t) {
546
- return r("div", {
544
+ return r("li", {
547
545
  key: t.__key,
548
546
  class: ["dp-table_body_item_", t.__isTotalData && "dp-table_total_view_"],
549
547
  style: Object.assign({}, t.style, e.hoverStyle, e.computEvenColor(t.__sub), {
@@ -557,12 +555,12 @@ var ee = function() {
557
555
  return e.handleChangeFlag(!1);
558
556
  }
559
557
  }
560
- }, [e._l(e.deepHeadData, function(n, s) {
558
+ }, [e._l(e.deepHeadData, function(n, i) {
561
559
  return [t[n.code] instanceof Object ? [t[n.code].slot ? r("div", {
562
560
  class: ["dp-table_body_item_group_col_", n.isFixed && "dp-table_fixed_bg_", !!e.scrollLeft && "dp-table_fixed_shadow_"],
563
561
  style: Object.assign({
564
562
  borderColor: e.borderColor
565
- }, n.style, n.colStyle, e.computEvenColor(t.__sub), e.fixedStyle[s], e.computWidth(t[n.code]))
563
+ }, n.style, n.colStyle, e.computEvenColor(t.__sub), e.fixedStyle[i], e.computWidth(t[n.code]))
566
564
  }, e._l([t[n.code].slot].flat(), function(a) {
567
565
  return r("div", {
568
566
  key: a,
@@ -581,10 +579,10 @@ var ee = function() {
581
579
  class: ["dp-table_body_item_group_col_", n.isFixed && "dp-table_fixed_bg_", !!e.scrollLeft && "dp-table_fixed_shadow_"],
582
580
  style: Object.assign({
583
581
  borderColor: e.borderColor
584
- }, n.style, n.colStyle, e.computEvenColor(t.__sub), e.fixedStyle[s], e.computWidth(t[n.code]))
585
- }, e._l([t[n.code].raw].flat(), function(a, l) {
582
+ }, n.style, n.colStyle, e.computEvenColor(t.__sub), e.fixedStyle[i], e.computWidth(t[n.code]))
583
+ }, e._l([t[n.code].raw].flat(), function(a, s) {
586
584
  return r("div", {
587
- key: l,
585
+ key: s,
588
586
  staticClass: "dp-table_body_item_child_",
589
587
  style: Object.assign({
590
588
  borderColor: e.borderColor,
@@ -601,10 +599,10 @@ var ee = function() {
601
599
  class: ["dp-table_body_item_group_col_", n.isFixed && "dp-table_fixed_bg_", !!e.scrollLeft && "dp-table_fixed_shadow_"],
602
600
  style: Object.assign({
603
601
  borderColor: e.borderColor
604
- }, n.style, n.colStyle, e.computEvenColor(t.__sub), e.fixedStyle[s], e.computWidth(t[n.code]))
605
- }, e._l([t[n.code].value].flat(), function(a, l) {
602
+ }, n.style, n.colStyle, e.computEvenColor(t.__sub), e.fixedStyle[i], e.computWidth(t[n.code]))
603
+ }, e._l([t[n.code].value].flat(), function(a, s) {
606
604
  return r("div", {
607
- key: l,
605
+ key: s,
608
606
  staticClass: "dp-table_body_item_child_",
609
607
  style: Object.assign({
610
608
  borderColor: e.borderColor,
@@ -620,7 +618,7 @@ var ee = function() {
620
618
  borderColor: e.borderColor,
621
619
  padding: e.itemPadding,
622
620
  justifyContent: e.dir
623
- }, n.style, n.colStyle, e.computEvenColor(t.__sub), e.fixedStyle[s])
621
+ }, n.style, n.colStyle, e.computEvenColor(t.__sub), e.fixedStyle[i])
624
622
  }, [e._v(e._s(t[n.code]))])];
625
623
  }), t.__isTotalData ? r("span", {
626
624
  staticClass: "dp-table_total_border_",
@@ -629,11 +627,11 @@ var ee = function() {
629
627
  }
630
628
  }) : e._e()], 2);
631
629
  }), 0)], 1)]);
632
- }, te = [];
633
- const oe = {
630
+ }, oe = [];
631
+ const re = {
634
632
  name: "dp-table",
635
633
  components: {
636
- DpHeader: Z
634
+ DpHeader: ee
637
635
  },
638
636
  props: {
639
637
  // 边框颜色
@@ -726,42 +724,29 @@ const oe = {
726
724
  return e.length ? [...this.bodyData].filter((o) => {
727
725
  let r = !0;
728
726
  return e.some((t) => {
729
- if (!t.value.includes(_(o, t.target)))
727
+ if (!t.value.includes(h(o, t.target, t.filterKey)))
730
728
  return r = !1, !0;
731
729
  }), r;
732
730
  }) : this.bodyData;
733
731
  },
734
- // 表体各行高度数据
735
- fullHeightInfo() {
736
- return this.filterBodyData.concat(this.totalData ? [this.totalData] : []).map((e, o) => {
737
- let r = 0;
738
- if (this.rowHeight)
739
- r = this.rowHeight;
740
- else if (this.rowItemHeight) {
741
- const t = {}, n = (a, l) => {
742
- l.children ? l.children.forEach((i) => n((a || {})[i.code], { ...i, code: `${l.code}_${i.code}` })) : t[l.code] = a;
743
- };
744
- this.headData.forEach((a) => n(e[a.code], a)), r = Math.max(...this.deepHeadData.map((a) => t[a.code] instanceof Object ? t[a.code].slot ? [t[a.code].slot].flat().length : t[a.code].raw ? [t[a.code].raw].flat().length : t[a.code].value ? [t[a.code].value].flat().length : 1 : 1)) * this.rowItemHeight;
745
- }
746
- return r;
747
- });
732
+ // 表体总高度
733
+ fullHeight() {
734
+ return this.fullHeightInfo.reduce((e, o) => e + o, 0);
748
735
  },
749
736
  // 表体渲染数据
750
737
  resultData() {
751
738
  return Object.keys(this.widthInfo).length < this.headData.length || !this.headData.length ? [] : (this.sortInfo.value ? [...this.filterBodyData].sort((o, r) => {
752
- const t = _(o, this.sortInfo.sortKey || this.sortInfo.target), n = _(r, this.sortInfo.sortKey || this.sortInfo.target);
739
+ const t = h(o, this.sortInfo.target, this.sortInfo.sortKey), n = h(r, this.sortInfo.target, this.sortInfo.sortKey);
753
740
  return this.sortInfo.value === "up" ? t - n : n - t;
754
741
  }) : this.filterBodyData).slice(this.beforeIndex, this.currentIndex).concat(this.totalData ? [{ ...this.totalData, __sub: "", __isTotalData: !0 }] : []).map((o, r) => {
755
- const t = {}, n = (s, a) => {
756
- a.children ? a.children.forEach((l) => n((s || {})[l.code], { ...l, code: `${a.code}_${l.code}` })) : t[a.code] = s;
757
- };
758
- return this.headData.filter((s) => s.children).forEach((s) => n(o[s.code], s)), Object.keys(t).forEach((s) => {
759
- if (t[s] instanceof Object && (t[s].merge || 0) > 1) {
760
- const a = this.deepHeadData.findIndex((i) => i.code === s), l = this.deepHeadData.slice(a, a + t[s].merge);
761
- l.forEach((i) => {
762
- const d = t[i.code];
763
- d instanceof Object || (t[i.code] = { value: d }), t[i.code] = { ...t[i.code], isMergeIgnored: !0 };
764
- }), t[s].isMerge = !0, t[s].width = l.map((i) => this.widthInfo[i.code]).reduce((i, d) => i + d, 0);
742
+ const t = this.handleComputItem(o);
743
+ return Object.keys(t).forEach((n) => {
744
+ if (t[n] instanceof Object && (t[n].merge || 0) > 1) {
745
+ const i = this.deepHeadData.findIndex((s) => s.code === n), a = this.deepHeadData.slice(i, i + t[n].merge);
746
+ a.forEach((s) => {
747
+ const l = t[s.code];
748
+ l instanceof Object || (t[s.code] = { value: l }), t[s.code] = { ...t[s.code], isMergeIgnored: !0 };
749
+ }), t[n].isMerge = !0, t[n].width = a.map((s) => this.widthInfo[s.code]).reduce((s, l) => s + l, 0);
765
750
  }
766
751
  }), {
767
752
  __sub: r + parseInt(this.basicSub) + this.beforeIndex,
@@ -779,22 +764,17 @@ const oe = {
779
764
  hoverStyle() {
780
765
  return this.headData.map((e) => this.hoverFlag ? { background: this.hoverColor } : {});
781
766
  },
782
- // 表体总高度
783
- fullHeight() {
784
- return this.fullHeightInfo.reduce((e, o) => e + o, 0);
785
- },
786
- // 计算单行高度
787
- resultRowHeight() {
788
- return this.rowHeight || (this.rowItemHeight * (this.bodyData.length + (this.totalData ? 1 : 0)) === this.fullHeight ? this.rowItemHeight : this.rowHeight);
789
- },
790
767
  // 前置填充高度
791
768
  beforeHeight() {
792
- return Math.max(this.resultRowHeight ? this.beforeIndex * this.resultRowHeight : this.fullHeightInfo.slice(0, this.beforeIndex).reduce((e, o) => e + o, 0), 0);
769
+ return Math.max(this.rowHeight ? this.beforeIndex * this.rowHeight : this.fullHeightInfo.slice(0, this.beforeIndex).reduce((e, o) => e + o, 0), 0);
793
770
  }
794
771
  },
795
772
  watch: {
796
773
  bodyData() {
797
774
  this.$refs.table.scrollTop = 0, this.$refs.table.scrollLeft = 0, this.scrollLeft = 0, this.beforeIndex = 0, this.currentIndex = 30;
775
+ },
776
+ filterBodyData() {
777
+ this.handleComputItemHeight();
798
778
  }
799
779
  },
800
780
  data() {
@@ -805,6 +785,7 @@ const oe = {
805
785
  beforeIndex: 0,
806
786
  timer: null,
807
787
  hoverFlag: !1,
788
+ fullHeightInfo: [],
808
789
  sortInfo: {
809
790
  target: [],
810
791
  value: null
@@ -821,21 +802,45 @@ const oe = {
821
802
  computEvenColor(e) {
822
803
  return this.evenColor ? e % 2 ? {} : { background: this.evenColor } : {};
823
804
  },
805
+ // 计算单行高度
806
+ handleComputItemHeight() {
807
+ this.fullHeightInfo = this.filterBodyData.concat(this.totalData ? [this.totalData] : []).map((e, o) => {
808
+ let r = 0;
809
+ if (this.rowHeight)
810
+ r = this.rowHeight;
811
+ else if (this.rowItemHeight) {
812
+ const t = {}, n = (a, s) => {
813
+ s.children ? s.children.forEach((l) => n((a || {})[l.code], { ...l, code: `${s.code}_${l.code}` })) : t[s.code] = a;
814
+ };
815
+ this.headData.forEach((a) => n(e[a.code], a)), r = Math.max(...this.deepHeadData.map((a) => t[a.code] instanceof Object ? t[a.code].slot ? [t[a.code].slot].flat().length : t[a.code].raw ? [t[a.code].raw].flat().length : t[a.code].value ? [t[a.code].value].flat().length : 1 : 1)) * this.rowItemHeight;
816
+ }
817
+ return r;
818
+ });
819
+ },
824
820
  // 收集表头各单元格宽度数据
825
821
  handleSetWidthInfo(e) {
826
822
  this.widthInfo = e;
827
823
  },
824
+ // 递归铺开数据
825
+ handleComputItem(e) {
826
+ let o = {};
827
+ const r = (t, n) => {
828
+ n.children ? n.children.forEach((i) => r((t || {})[i.code], { ...i, code: `${n.code}_${i.code}` })) : o[n.code] = t;
829
+ };
830
+ return this.headData.filter((t) => t.children).forEach((t) => r(e[t.code], t)), o;
831
+ },
828
832
  // 滚动事件
829
833
  handleScroll(e) {
830
834
  this.scrollLeft = e.target.scrollLeft, clearTimeout(this.timer), this.timer = setTimeout(() => {
831
- if (this.resultRowHeight)
832
- this.beforeIndex = Math.max(Math.floor((e.target.scrollTop - this.$el.offsetHeight / 2) / this.resultRowHeight), 0), this.currentIndex = Math.max(this.beforeIndex + Math.ceil(this.$el.offsetHeight / this.resultRowHeight) * 2, 30);
835
+ const o = e.target.scrollTop - this.$el.offsetHeight / 2;
836
+ if (this.rowHeight)
837
+ this.beforeIndex = Math.max(Math.floor(o / this.rowHeight), 0), this.currentIndex = Math.max(this.beforeIndex + Math.ceil(this.$el.offsetHeight / this.rowHeight) * 2, 30);
833
838
  else {
834
- let o = 0, r = 0;
839
+ let r = 0;
835
840
  this.beforeIndex = this.fullHeightInfo.findIndex((t) => {
836
- const n = o + t >= e.target.scrollTop - this.$el.offsetHeight / 2;
837
- return n || (o += t), n;
838
- }), r = o, this.currentIndex = Math.max(this.beforeIndex + this.fullHeightInfo.slice(this.beforeIndex).findIndex((t) => (r += t, r >= o + this.$el.offsetHeight * 2)), 30);
841
+ const n = r + t >= o;
842
+ return n || (r += t), n;
843
+ }), this.currentIndex = Math.min(this.beforeIndex + 30, this.filterBodyData.length);
839
844
  }
840
845
  }, 10);
841
846
  },
@@ -858,30 +863,83 @@ const oe = {
858
863
  }
859
864
  }
860
865
  }, C = {};
861
- var re = /* @__PURE__ */ h(
862
- oe,
863
- ee,
866
+ var ne = /* @__PURE__ */ _(
867
+ re,
864
868
  te,
869
+ oe,
865
870
  !1,
866
- ne,
867
- "cadbd238",
871
+ ae,
872
+ "1473e8c5",
868
873
  null,
869
874
  null
870
875
  );
871
- function ne(e) {
876
+ function ae(e) {
872
877
  for (let o in C)
873
878
  this[o] = C[o];
874
879
  }
875
- const ae = /* @__PURE__ */ function() {
876
- return re.exports;
877
- }(), ie = [
878
- ae
879
- ], se = {
880
+ const se = /* @__PURE__ */ function() {
881
+ return ne.exports;
882
+ }();
883
+ var ie = function() {
884
+ var e = this, o = e.$createElement, r = e._self._c || o;
885
+ return r("div", {
886
+ staticClass: "problem-raw",
887
+ domProps: {
888
+ innerHTML: e._s(e.data)
889
+ }
890
+ });
891
+ }, le = [];
892
+ const de = {
893
+ name: "dp-raw",
894
+ props: {
895
+ data: String
896
+ },
897
+ mounted() {
898
+ this.computSvgDom();
899
+ },
900
+ methods: {
901
+ computSvgDom() {
902
+ const e = ["width", "height"];
903
+ [...this.$el.querySelectorAll("img")].filter((r) => /.svg$/i.test(r.src)).forEach(async (r) => {
904
+ const t = await fetch(r.src).then(async (n) => await n.text());
905
+ if (t) {
906
+ const n = document.createElement("span");
907
+ r.replaceWith(n);
908
+ const i = document.createElement("span");
909
+ i.innerHTML = t, [...r.attributes].filter((s) => s.value && s.name !== "src").forEach((s) => {
910
+ e.includes(s.name) ? i.style[s.name] = s.value : i[s.name] = s.value;
911
+ }), i.style.display = "inline-block", i.style.fontSize = "0", i.setAttribute("part", "__svg_view__"), n.attachShadow({ mode: "open" }).append(i);
912
+ }
913
+ });
914
+ }
915
+ }
916
+ }, I = {};
917
+ var ce = /* @__PURE__ */ _(
918
+ de,
919
+ ie,
920
+ le,
921
+ !1,
922
+ _e,
923
+ "65587794",
924
+ null,
925
+ null
926
+ );
927
+ function _e(e) {
928
+ for (let o in I)
929
+ this[o] = I[o];
930
+ }
931
+ const he = /* @__PURE__ */ function() {
932
+ return ce.exports;
933
+ }(), ue = [
934
+ se,
935
+ he
936
+ ], fe = {
880
937
  install: (e) => {
881
- ie.forEach((o) => e.component(o.name, o));
938
+ ue.forEach((o) => e.component(o.name, o));
882
939
  }
883
940
  };
884
941
  export {
885
- ae as Table,
886
- se as default
942
+ he as Raw,
943
+ se as Table,
944
+ fe as default
887
945
  };
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .dp-check_view_[data-v-1b8ae42a]{font-size:14px;padding:5px 10px;min-width:60px;display:flex;cursor:pointer}.dp-check_view_[data-v-1b8ae42a]:hover{background-color:#e8e8e8}.dp-check_view_[disabled][data-v-1b8ae42a]{pointer-events:none}.dp-check_tag_[data-v-1b8ae42a]{width:14px;height:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #999;margin-right:10px;transform:translateY(1px)}.dp-check_name_[data-v-1b8ae42a]{white-space:break-spaces}.dp-check_view_checked_ .dp-check_tag_[data-v-1b8ae42a]{border-color:#fe8227;background-color:#fe8227}.dp-check_view_checked_ .dp-check_tag_[data-v-1b8ae42a]:before{content:"";width:9px;height:5px;border-bottom:1px solid #fff;border-left:1px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}.dp-check_view_checked_ .dp-check_name_[data-v-1b8ae42a]{color:#fe8227}.dp-radio_view_[data-v-e7bf9628]{font-size:14px;padding:5px 10px;min-width:60px;display:flex;cursor:pointer}.dp-radio_view_[data-v-e7bf9628]:hover{background-color:#e8e8e8}.dp-radio_view_[disabled][data-v-e7bf9628]{pointer-events:none}.dp-radio_tag_[data-v-e7bf9628]{width:14px;height:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #999;margin-right:10px;transform:translateY(1px)}.dp-radio_name_[data-v-e7bf9628]{white-space:break-spaces}.dp-radio_view_checked_ .dp-radio_tag_[data-v-e7bf9628]{border-color:#fe8227}.dp-radio_view_checked_ .dp-radio_tag_[data-v-e7bf9628]:before{content:"";width:10px;height:10px;border-radius:50%;background-color:#fe8227}.dp-radio_view_checked_ .dp-radio_name_[data-v-e7bf9628]{color:#fe8227}.dp-checkfilter_view_[data-v-20c78138]{display:flex;align-items:center;justify-content:center;padding:10px 0;position:relative;cursor:pointer}.dp-checkfilter_arrow_[data-v-20c78138]{position:relative;width:6px;height:6px;margin:0 10px;border-bottom:2px solid #999;border-left:2px solid #999;transform:rotate(-45deg) translateY(-2px);transition:all .1s}.dp-checkfilter_option_view_[data-v-20c78138]{overflow:hidden;visibility:hidden;position:absolute;z-index:1000;left:0;top:100%;width:100%;border-radius:5px;box-shadow:3px 3px 10px #c3c3c3;transform:scaleY(0);transform-origin:top;transition:all .1s}.dp-checkfilter_title_checked_[data-v-20c78138]{color:#fe8227}.dp-checkfilter_view_:hover .dp-checkfilter_arrow_[data-v-20c78138]{transform:rotate(135deg) translate(3px,-3px)}.dp-checkfilter_view_:hover .dp-checkfilter_option_view_[data-v-20c78138]{transform:scale(1);overflow:visible;visibility:inherit}.dp-checkfilter_option_view_[data-v-20c78138]:before{content:"";position:absolute;left:calc(50% - 4px);top:-4px;width:8px;height:8px;background-color:#fff;box-shadow:3px 3px 10px #c3c3c3;transform:rotate(45deg)}.dp-checkfilter_option_list_[data-v-20c78138]{max-height:400px;overflow:auto;border-radius:5px;background-color:#fff;position:relative;z-index:2}.dp-table_header_item_height_[data-v-4272af7c]{min-height:40px}.dp-table_header_item_[data-v-4272af7c]{white-space:nowrap;text-overflow:ellipsis;display:flex;align-items:center;justify-content:center;box-sizing:border-box;text-align:center;flex-shrink:0}.dp-table_header_item_group_[data-v-4272af7c]{flex-direction:column;align-items:stretch}.dp-table_header_item_group_title_[data-v-4272af7c]{display:flex;align-items:center;justify-content:center}.dp-table_header_item_border_[data-v-4272af7c]{border-right:1px solid;border-bottom:1px solid;padding:3px 10px}.dp-table_header_item_child_[data-v-4272af7c]{display:flex}.dp-table_header_item_sort_[data-v-4272af7c]{display:inline-flex;flex-direction:column;align-items:center;justify-content:space-between;width:16px;height:12px}.dp-table_header_item_sort_[data-v-4272af7c]:before,.dp-table_header_item_sort_[data-v-4272af7c]:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent}.dp-table_header_item_sort_[data-v-4272af7c]:before{border-bottom:5px solid #999}.dp-table_header_item_sort_[data-v-4272af7c]:after{border-top:5px solid #999}.dp-table_header_item_sort_up_[data-v-4272af7c]:before{border-bottom-color:#fe8227}.dp-table_header_item_sort_down_[data-v-4272af7c]:after{border-top-color:#fe8227}.dp-table_header_item_cursor_[data-v-4272af7c]{cursor:pointer}.dp-table_header_filter_view_[data-v-4272af7c]{flex:1}.dp-table_header_view_[data-v-2293b374]{flex-shrink:0;display:inline-flex;border-top:1px solid;position:sticky;z-index:3;top:0;user-select:none}.dp-table_fixed_bg_[data-v-2293b374]{background-color:#fff}.dp-table_fixed_bg_.dp-table_fixed_shadow_[data-v-2293b374]{box-shadow:5px 0 8px -3px #e3e3e3}.dp-table_view_border_[data-v-cadbd238]{border:1px solid;border-top:0;display:inline-block!important;max-width:100%;font-size:0}.dp-table_view_[data-v-cadbd238]{display:inline-block;max-width:100%;overflow:auto;max-height:80vh;font-size:0;position:relative;box-sizing:border-box}.dp-table_body_view_[data-v-cadbd238]{display:inline-flex;flex-direction:column;box-sizing:border-box;min-height:50px}.dp-table_body_view_[data-v-cadbd238]:empty{display:flex;align-items:center;justify-content:center}.dp-table_body_view_[data-v-cadbd238]:empty:before{content:"\6682\65e0\6570\636e";line-height:2;color:#999}.dp-table_view_>*[data-v-cadbd238]{font-size:14px}.dp-table_body_item_[data-v-cadbd238]{display:inline-flex}.dp-table_fixed_bg_[data-v-cadbd238]{background-color:#fff}.dp-table_fixed_bg_.dp-table_fixed_shadow_[data-v-cadbd238]{box-shadow:5px 0 8px -3px #e3e3e3}.dp-table_body_item_group_col_[data-v-cadbd238]{display:flex;flex-direction:column}.dp-table_body_item_group_col_>*[data-v-cadbd238]{flex:1}.dp-table_body_item_child_[data-v-cadbd238]{flex-shrink:0;display:flex;align-items:center;justify-content:center;text-align:center;min-height:30px;border-right:1px solid;border-bottom:1px solid;box-sizing:border-box;overflow:hidden}.dp-table_total_view_[data-v-cadbd238]{position:sticky;bottom:0;display:inline-flex;background-color:#fff;overflow:visible}.dp-table_total_border_[data-v-cadbd238]{position:absolute;left:0;top:-1px;color:inherit;z-index:4;width:100%;border-top:1px solid}
1
+ .dp-check_view_[data-v-1b8ae42a]{font-size:14px;padding:5px 10px;min-width:60px;display:flex;cursor:pointer}.dp-check_view_[data-v-1b8ae42a]:hover{background-color:#e8e8e8}.dp-check_view_[disabled][data-v-1b8ae42a]{pointer-events:none}.dp-check_tag_[data-v-1b8ae42a]{width:14px;height:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #999;margin-right:10px;transform:translateY(1px)}.dp-check_name_[data-v-1b8ae42a]{white-space:break-spaces}.dp-check_view_checked_ .dp-check_tag_[data-v-1b8ae42a]{border-color:#fe8227;background-color:#fe8227}.dp-check_view_checked_ .dp-check_tag_[data-v-1b8ae42a]:before{content:"";width:9px;height:5px;border-bottom:1px solid #fff;border-left:1px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}.dp-check_view_checked_ .dp-check_name_[data-v-1b8ae42a]{color:#fe8227}.dp-radio_view_[data-v-e7bf9628]{font-size:14px;padding:5px 10px;min-width:60px;display:flex;cursor:pointer}.dp-radio_view_[data-v-e7bf9628]:hover{background-color:#e8e8e8}.dp-radio_view_[disabled][data-v-e7bf9628]{pointer-events:none}.dp-radio_tag_[data-v-e7bf9628]{width:14px;height:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #999;margin-right:10px;transform:translateY(1px)}.dp-radio_name_[data-v-e7bf9628]{white-space:break-spaces}.dp-radio_view_checked_ .dp-radio_tag_[data-v-e7bf9628]{border-color:#fe8227}.dp-radio_view_checked_ .dp-radio_tag_[data-v-e7bf9628]:before{content:"";width:10px;height:10px;border-radius:50%;background-color:#fe8227}.dp-radio_view_checked_ .dp-radio_name_[data-v-e7bf9628]{color:#fe8227}.dp-checkfilter_view_[data-v-20c78138]{display:flex;align-items:center;justify-content:center;padding:10px 0;position:relative;cursor:pointer}.dp-checkfilter_arrow_[data-v-20c78138]{position:relative;width:6px;height:6px;margin:0 10px;border-bottom:2px solid #999;border-left:2px solid #999;transform:rotate(-45deg) translateY(-2px);transition:all .1s}.dp-checkfilter_option_view_[data-v-20c78138]{overflow:hidden;visibility:hidden;position:absolute;z-index:1000;left:0;top:100%;width:100%;border-radius:5px;box-shadow:3px 3px 10px #c3c3c3;transform:scaleY(0);transform-origin:top;transition:all .1s}.dp-checkfilter_title_checked_[data-v-20c78138]{color:#fe8227}.dp-checkfilter_view_:hover .dp-checkfilter_arrow_[data-v-20c78138]{transform:rotate(135deg) translate(3px,-3px)}.dp-checkfilter_view_:hover .dp-checkfilter_option_view_[data-v-20c78138]{transform:scale(1);overflow:visible;visibility:inherit}.dp-checkfilter_option_view_[data-v-20c78138]:before{content:"";position:absolute;left:calc(50% - 4px);top:-4px;width:8px;height:8px;background-color:#fff;box-shadow:3px 3px 10px #c3c3c3;transform:rotate(45deg)}.dp-checkfilter_option_list_[data-v-20c78138]{max-height:400px;overflow:auto;border-radius:5px;background-color:#fff;position:relative;z-index:2}.dp-table_header_item_height_[data-v-5cf7a766]{min-height:40px}.dp-table_header_item_[data-v-5cf7a766]{white-space:nowrap;text-overflow:ellipsis;display:flex;align-items:center;justify-content:center;box-sizing:border-box;text-align:center;flex-shrink:0}.dp-table_header_item_group_[data-v-5cf7a766]{flex-direction:column;align-items:stretch}.dp-table_header_item_group_title_[data-v-5cf7a766]{display:flex;align-items:center;justify-content:center}.dp-table_header_item_border_[data-v-5cf7a766]{border-right:1px solid;border-bottom:1px solid;padding:3px 10px}.dp-table_header_item_child_[data-v-5cf7a766]{display:flex}.dp-table_header_item_sort_[data-v-5cf7a766]{display:inline-flex;flex-direction:column;align-items:center;justify-content:space-between;width:16px;height:12px}.dp-table_header_item_sort_[data-v-5cf7a766]:before,.dp-table_header_item_sort_[data-v-5cf7a766]:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent}.dp-table_header_item_sort_[data-v-5cf7a766]:before{border-bottom:5px solid #999}.dp-table_header_item_sort_[data-v-5cf7a766]:after{border-top:5px solid #999}.dp-table_header_item_sort_up_[data-v-5cf7a766]:before{border-bottom-color:#fe8227}.dp-table_header_item_sort_down_[data-v-5cf7a766]:after{border-top-color:#fe8227}.dp-table_header_item_cursor_[data-v-5cf7a766]{cursor:pointer}.dp-table_header_filter_view_[data-v-5cf7a766]{flex:1}.dp-table_header_view_[data-v-2293b374]{flex-shrink:0;display:inline-flex;border-top:1px solid;position:sticky;z-index:3;top:0;user-select:none}.dp-table_fixed_bg_[data-v-2293b374]{background-color:#fff}.dp-table_fixed_bg_.dp-table_fixed_shadow_[data-v-2293b374]{box-shadow:5px 0 8px -3px #e3e3e3}.dp-table_view_border_[data-v-1473e8c5]{border:1px solid;border-top:0;display:inline-block!important;max-width:100%;font-size:0}.dp-table_view_[data-v-1473e8c5]{display:inline-block;max-width:100%;overflow:auto;max-height:80vh;font-size:0;position:relative;box-sizing:border-box}.dp-table_body_view_[data-v-1473e8c5]{display:inline-flex;flex-direction:column;box-sizing:border-box;min-height:50px}.dp-table_body_view_[data-v-1473e8c5]:empty{display:flex;align-items:center;justify-content:center}.dp-table_body_view_[data-v-1473e8c5]:empty:before{content:"\6682\65e0\6570\636e";line-height:2;color:#999}.dp-table_view_>*[data-v-1473e8c5]{font-size:14px}.dp-table_body_item_[data-v-1473e8c5]{display:inline-flex}.dp-table_fixed_bg_[data-v-1473e8c5]{background-color:#fff}.dp-table_fixed_bg_.dp-table_fixed_shadow_[data-v-1473e8c5]{box-shadow:5px 0 8px -3px #e3e3e3}.dp-table_body_item_group_col_[data-v-1473e8c5]{display:flex;flex-direction:column}.dp-table_body_item_group_col_>*[data-v-1473e8c5]{flex:1}.dp-table_body_item_child_[data-v-1473e8c5]{flex-shrink:0;display:flex;align-items:center;justify-content:center;text-align:center;border-right:1px solid;border-bottom:1px solid;box-sizing:border-box;overflow:hidden}.dp-table_total_view_[data-v-1473e8c5]{position:sticky;bottom:0;display:inline-flex;background-color:#fff;overflow:visible}.dp-table_total_border_[data-v-1473e8c5]{position:absolute;left:0;top:-1px;color:inherit;z-index:4;width:100%;border-top:1px solid}.problem-raw[data-v-65587794]:after{content:"";display:block;clear:both}
package/docs/raw.pdf ADDED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dpot-ui",
3
3
  "private": false,
4
- "version": "0.1.3",
4
+ "version": "0.1.5",
5
5
  "author": "Jeesn",
6
6
  "main": "./dist/index.es.js",
7
7
  "module": "./dist/index.es.js",