dpot-ui 0.1.9 → 0.1.11

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/index.es.js CHANGED
@@ -55,19 +55,19 @@ const U = function() {
55
55
  };
56
56
  function o(t, i, a) {
57
57
  this._reference = t.jquery ? t[0] : t, this.state = {};
58
- var s = typeof i > "u" || i === null, d = i && Object.prototype.toString.call(i) === "[object Object]";
59
- return s || d ? this._popper = this.parse(d ? i : {}) : this._popper = i.jquery ? i[0] : i, this._options = Object.assign({}, r, a), this._options.modifiers = this._options.modifiers.map(
60
- function(p) {
61
- if (this._options.modifiersIgnored.indexOf(p) === -1)
62
- return p === "applyStyle" && this._popper.setAttribute(
58
+ var s = typeof i > "u" || i === null, p = i && Object.prototype.toString.call(i) === "[object Object]";
59
+ return s || p ? this._popper = this.parse(p ? i : {}) : this._popper = i.jquery ? i[0] : i, this._options = Object.assign({}, r, a), this._options.modifiers = this._options.modifiers.map(
60
+ function(d) {
61
+ if (this._options.modifiersIgnored.indexOf(d) === -1)
62
+ return d === "applyStyle" && this._popper.setAttribute(
63
63
  "x-placement",
64
64
  this._options.placement
65
- ), this.modifiers[p] || p;
65
+ ), this.modifiers[d] || d;
66
66
  }.bind(this)
67
- ), this.state.position = this._getPosition(this._popper, this._reference), x(this._popper, { position: this.state.position, top: 0 }), this.update(), this._setupEventListeners(), this;
67
+ ), this.state.position = this._getPosition(this._popper, this._reference), $(this._popper, { position: this.state.position, top: 0 }), this.update(), this._setupEventListeners(), this;
68
68
  }
69
69
  o.prototype.destroy = function() {
70
- return this._popper.removeAttribute("x-placement"), this._popper.style.left = "", this._popper.style.position = "", this._popper.style.top = "", this._popper.style[T("transform")] = "", this._removeEventListeners(), this._options.removeOnDestroy && this._popper.remove(), this;
70
+ return this._popper.removeAttribute("x-placement"), this._popper.style.left = "", this._popper.style.position = "", this._popper.style.top = "", this._popper.style[F("transform")] = "", this._removeEventListeners(), this._options.removeOnDestroy && this._popper.remove(), this;
71
71
  }, o.prototype.update = function() {
72
72
  var t = { instance: this, styles: {} };
73
73
  t.placement = this._options.placement, t._originalPlacement = this._options.placement, t.offsets = this._getOffsets(
@@ -100,20 +100,20 @@ const U = function() {
100
100
  if (u(s, t.classNames), v(s, t.attributes), t.contentType === "node" ? s.appendChild(
101
101
  t.content.jquery ? t.content[0] : t.content
102
102
  ) : t.contentType === "html" ? s.innerHTML = t.content : s.textContent = t.content, t.arrowTagName) {
103
- var d = a.createElement(t.arrowTagName);
104
- u(d, t.arrowClassNames), v(d, t.arrowAttributes), s.appendChild(d);
103
+ var p = a.createElement(t.arrowTagName);
104
+ u(p, t.arrowClassNames), v(p, t.arrowAttributes), s.appendChild(p);
105
105
  }
106
- var p = t.parent.jquery ? t.parent[0] : t.parent;
107
- if (typeof p == "string") {
108
- if (p = a.querySelectorAll(t.parent), p.length > 1 && console.warn(
106
+ var d = t.parent.jquery ? t.parent[0] : t.parent;
107
+ if (typeof d == "string") {
108
+ if (d = a.querySelectorAll(t.parent), d.length > 1 && console.warn(
109
109
  "WARNING: the given `parent` query(" + t.parent + ") matched more than one element, the first one will be used"
110
- ), p.length === 0)
110
+ ), d.length === 0)
111
111
  throw "ERROR: the given `parent` doesn't exists!";
112
- p = p[0];
112
+ d = d[0];
113
113
  }
114
- return p.length > 1 && !(p instanceof Element) && (console.warn(
114
+ return d.length > 1 && !(d instanceof Element) && (console.warn(
115
115
  "WARNING: you have passed as parent a list of elements, the first one will be used"
116
- ), p = p[0]), p.appendChild(s), s;
116
+ ), d = d[0]), d.appendChild(s), s;
117
117
  function u(g, m) {
118
118
  m.forEach(function(w) {
119
119
  g.classList.add(w);
@@ -136,14 +136,14 @@ const U = function() {
136
136
  a = a.split("-")[0];
137
137
  var s = {};
138
138
  s.position = this.state.position;
139
- var d = s.position === "fixed", p = K(
139
+ var p = s.position === "fixed", d = K(
140
140
  i,
141
141
  _(t),
142
- d
142
+ p
143
143
  ), u = n(t);
144
- return ["right", "left"].indexOf(a) !== -1 ? (s.top = p.top + p.height / 2 - u.height / 2, a === "left" ? s.left = p.left - u.width : s.left = p.right) : (s.left = p.left + p.width / 2 - u.width / 2, a === "top" ? s.top = p.top - u.height : s.top = p.bottom), s.width = u.width, s.height = u.height, {
144
+ return ["right", "left"].indexOf(a) !== -1 ? (s.top = d.top + d.height / 2 - u.height / 2, a === "left" ? s.left = d.left - u.width : s.left = d.right) : (s.left = d.left + d.width / 2 - u.width / 2, a === "top" ? s.top = d.top - u.height : s.top = d.bottom), s.width = u.width, s.height = u.height, {
145
145
  popper: s,
146
- reference: p
146
+ reference: d
147
147
  };
148
148
  }, o.prototype._setupEventListeners = function() {
149
149
  if (this.state.updateBound = this.update.bind(this), e.addEventListener("resize", this.state.updateBound), this._options.boundariesElement !== "window") {
@@ -156,16 +156,16 @@ const U = function() {
156
156
  this.state.updateBound
157
157
  ), this.state.scrollTarget = null), this.state.updateBound = null;
158
158
  }, o.prototype._getBoundaries = function(t, i, a) {
159
- var s = {}, d, p;
159
+ var s = {}, p, d;
160
160
  if (a === "window") {
161
161
  var u = e.document.body, v = e.document.documentElement;
162
- p = Math.max(
162
+ d = Math.max(
163
163
  u.scrollHeight,
164
164
  u.offsetHeight,
165
165
  v.clientHeight,
166
166
  v.scrollHeight,
167
167
  v.offsetHeight
168
- ), d = Math.max(
168
+ ), p = Math.max(
169
169
  u.scrollWidth,
170
170
  u.offsetWidth,
171
171
  v.clientWidth,
@@ -173,8 +173,8 @@ const U = function() {
173
173
  v.offsetWidth
174
174
  ), s = {
175
175
  top: 0,
176
- right: d,
177
- bottom: p,
176
+ right: p,
177
+ bottom: d,
178
178
  left: 0
179
179
  };
180
180
  } else if (a === "viewport") {
@@ -183,12 +183,12 @@ const U = function() {
183
183
  document.documentElement.scrollTop,
184
184
  document.body.scrollTop
185
185
  ) : E.scrollTop;
186
- }, $ = function(E) {
186
+ }, x = function(E) {
187
187
  return E == document.body ? Math.max(
188
188
  document.documentElement.scrollLeft,
189
189
  document.body.scrollLeft
190
190
  ) : E.scrollLeft;
191
- }, j = t.offsets.popper.position === "fixed" ? 0 : S(m), I = t.offsets.popper.position === "fixed" ? 0 : $(m);
191
+ }, j = t.offsets.popper.position === "fixed" ? 0 : S(m), I = t.offsets.popper.position === "fixed" ? 0 : x(m);
192
192
  s = {
193
193
  top: 0 - (w.top - j),
194
194
  right: e.document.documentElement.clientWidth - (w.left - I),
@@ -209,8 +209,8 @@ const U = function() {
209
209
  0,
210
210
  h(this._options.modifiers, a)
211
211
  )), s.forEach(
212
- function(d) {
213
- y(d) && (t = d.call(this, t));
212
+ function(p) {
213
+ y(p) && (t = p.call(this, t));
214
214
  }.bind(this)
215
215
  ), t;
216
216
  }, o.prototype.isModifierRequired = function(t, i) {
@@ -221,30 +221,30 @@ const U = function() {
221
221
  }, o.prototype.modifiers = {}, o.prototype.modifiers.applyStyle = function(t) {
222
222
  var i = {
223
223
  position: t.offsets.popper.position
224
- }, a = Math.round(t.offsets.popper.left), s = Math.round(t.offsets.popper.top), d;
225
- return this._options.gpuAcceleration && (d = T("transform")) ? (i[d] = "translate3d(" + a + "px, " + s + "px, 0)", i.top = 0, i.left = 0) : (i.left = a, i.top = s), Object.assign(i, t.styles), x(this._popper, i), this._popper.setAttribute("x-placement", t.placement), this.isModifierRequired(
224
+ }, a = Math.round(t.offsets.popper.left), s = Math.round(t.offsets.popper.top), p;
225
+ return this._options.gpuAcceleration && (p = F("transform")) ? (i[p] = "translate3d(" + a + "px, " + s + "px, 0)", i.top = 0, i.left = 0) : (i.left = a, i.top = s), Object.assign(i, t.styles), $(this._popper, i), this._popper.setAttribute("x-placement", t.placement), this.isModifierRequired(
226
226
  this.modifiers.applyStyle,
227
227
  this.modifiers.arrow
228
- ) && t.offsets.arrow && x(t.arrowElement, t.offsets.arrow), t;
228
+ ) && t.offsets.arrow && $(t.arrowElement, t.offsets.arrow), t;
229
229
  }, o.prototype.modifiers.shift = function(t) {
230
230
  var i = t.placement, a = i.split("-")[0], s = i.split("-")[1];
231
231
  if (s) {
232
- var d = t.offsets.reference, p = f(t.offsets.popper), u = {
232
+ var p = t.offsets.reference, d = f(t.offsets.popper), u = {
233
233
  y: {
234
- start: { top: d.top },
234
+ start: { top: p.top },
235
235
  end: {
236
- top: d.top + d.height - p.height
236
+ top: p.top + p.height - d.height
237
237
  }
238
238
  },
239
239
  x: {
240
- start: { left: d.left },
240
+ start: { left: p.left },
241
241
  end: {
242
- left: d.left + d.width - p.width
242
+ left: p.left + p.width - d.width
243
243
  }
244
244
  }
245
245
  }, v = ["bottom", "top"].indexOf(a) !== -1 ? "x" : "y";
246
246
  t.offsets.popper = Object.assign(
247
- p,
247
+ d,
248
248
  u[v][s]
249
249
  );
250
250
  }
@@ -252,30 +252,30 @@ const U = function() {
252
252
  }, o.prototype.modifiers.preventOverflow = function(t) {
253
253
  var i = this._options.preventOverflowOrder, a = f(t.offsets.popper), s = {
254
254
  left: function() {
255
- var d = a.left;
256
- return a.left < t.boundaries.left && (d = Math.max(a.left, t.boundaries.left)), { left: d };
255
+ var p = a.left;
256
+ return a.left < t.boundaries.left && (p = Math.max(a.left, t.boundaries.left)), { left: p };
257
257
  },
258
258
  right: function() {
259
- var d = a.left;
260
- return a.right > t.boundaries.right && (d = Math.min(
259
+ var p = a.left;
260
+ return a.right > t.boundaries.right && (p = Math.min(
261
261
  a.left,
262
262
  t.boundaries.right - a.width
263
- )), { left: d };
263
+ )), { left: p };
264
264
  },
265
265
  top: function() {
266
- var d = a.top;
267
- return a.top < t.boundaries.top && (d = Math.max(a.top, t.boundaries.top)), { top: d };
266
+ var p = a.top;
267
+ return a.top < t.boundaries.top && (p = Math.max(a.top, t.boundaries.top)), { top: p };
268
268
  },
269
269
  bottom: function() {
270
- var d = a.top;
271
- return a.bottom > t.boundaries.bottom && (d = Math.min(
270
+ var p = a.top;
271
+ return a.bottom > t.boundaries.bottom && (p = Math.min(
272
272
  a.top,
273
273
  t.boundaries.bottom - a.height
274
- )), { top: d };
274
+ )), { top: p };
275
275
  }
276
276
  };
277
- return i.forEach(function(d) {
278
- t.offsets.popper = Object.assign(a, s[d]());
277
+ return i.forEach(function(p) {
278
+ t.offsets.popper = Object.assign(a, s[p]());
279
279
  }), t;
280
280
  }, o.prototype.modifiers.keepTogether = function(t) {
281
281
  var i = f(t.offsets.popper), a = t.offsets.reference, s = Math.floor;
@@ -290,13 +290,13 @@ const U = function() {
290
290
  ), t;
291
291
  if (t.flipped && t.placement === t._originalPlacement)
292
292
  return t;
293
- var i = t.placement.split("-")[0], a = l(i), s = t.placement.split("-")[1] || "", d = [];
294
- return this._options.flipBehavior === "flip" ? d = [i, a] : d = this._options.flipBehavior, d.forEach(
295
- function(p, u) {
296
- if (!(i !== p || d.length === u + 1)) {
293
+ var i = t.placement.split("-")[0], a = l(i), s = t.placement.split("-")[1] || "", p = [];
294
+ return this._options.flipBehavior === "flip" ? p = [i, a] : p = this._options.flipBehavior, p.forEach(
295
+ function(d, u) {
296
+ if (!(i !== d || p.length === u + 1)) {
297
297
  i = t.placement.split("-")[0], a = l(i);
298
298
  var v = f(t.offsets.popper), g = ["right", "bottom"].indexOf(i) !== -1;
299
- (g && Math.floor(t.offsets.reference[i]) > Math.floor(v[a]) || !g && Math.floor(t.offsets.reference[i]) < Math.floor(v[a])) && (t.flipped = !0, t.placement = d[u + 1], s && (t.placement += "-" + s), t.offsets.popper = this._getOffsets(
299
+ (g && Math.floor(t.offsets.reference[i]) > Math.floor(v[a]) || !g && Math.floor(t.offsets.reference[i]) < Math.floor(v[a])) && (t.flipped = !0, t.placement = p[u + 1], s && (t.placement += "-" + s), t.offsets.popper = this._getOffsets(
300
300
  this._popper,
301
301
  this._reference,
302
302
  t.placement
@@ -326,20 +326,20 @@ const U = function() {
326
326
  return console.warn(
327
327
  "WARNING: keepTogether modifier is required by arrow modifier in order to work, be sure to include it before arrow!"
328
328
  ), t;
329
- var s = {}, d = t.placement.split("-")[0], p = f(t.offsets.popper), u = t.offsets.reference, v = ["left", "right"].indexOf(d) !== -1, g = v ? "height" : "width", m = v ? "top" : "left", w = v ? "left" : "top", S = v ? "bottom" : "right", $ = n(i)[g];
330
- u[S] - $ < p[m] && (t.offsets.popper[m] -= p[m] - (u[S] - $)), u[m] + $ > p[S] && (t.offsets.popper[m] += u[m] + $ - p[S]);
331
- var j = u[m] + (a || u[g] / 2 - $ / 2), I = j - p[m];
329
+ var s = {}, p = t.placement.split("-")[0], d = f(t.offsets.popper), u = t.offsets.reference, v = ["left", "right"].indexOf(p) !== -1, g = v ? "height" : "width", m = v ? "top" : "left", w = v ? "left" : "top", S = v ? "bottom" : "right", x = n(i)[g];
330
+ u[S] - x < d[m] && (t.offsets.popper[m] -= d[m] - (u[S] - x)), u[m] + x > d[S] && (t.offsets.popper[m] += u[m] + x - d[S]);
331
+ var j = u[m] + (a || u[g] / 2 - x / 2), I = j - d[m];
332
332
  return I = Math.max(
333
- Math.min(p[g] - $ - 10, I),
333
+ Math.min(d[g] - x - 10, I),
334
334
  8
335
335
  ), s[m] = I, s[w] = "", t.offsets.arrow = s, t.arrowElement = i, t;
336
336
  };
337
337
  function n(t) {
338
338
  var i = t.style.display, a = t.style.visibility;
339
339
  t.style.display = "block", t.style.visibility = "hidden", t.offsetWidth;
340
- var s = e.getComputedStyle(t), d = parseFloat(s.marginTop) + parseFloat(s.marginBottom), p = parseFloat(s.marginLeft) + parseFloat(s.marginRight), u = {
341
- width: t.offsetWidth + p,
342
- height: t.offsetHeight + d
340
+ var s = e.getComputedStyle(t), p = parseFloat(s.marginTop) + parseFloat(s.marginBottom), d = parseFloat(s.marginLeft) + parseFloat(s.marginRight), u = {
341
+ width: t.offsetWidth + d,
342
+ height: t.offsetHeight + p
343
343
  };
344
344
  return t.style.display = i, t.style.visibility = a, u;
345
345
  }
@@ -388,15 +388,15 @@ const U = function() {
388
388
  function k(t) {
389
389
  return t === e.document.body ? !1 : c(t, "position") === "fixed" ? !0 : t.parentNode ? k(t.parentNode) : t;
390
390
  }
391
- function x(t, i) {
391
+ function $(t, i) {
392
392
  function a(s) {
393
393
  return s !== "" && !isNaN(parseFloat(s)) && isFinite(s);
394
394
  }
395
395
  Object.keys(i).forEach(function(s) {
396
- var d = "";
396
+ var p = "";
397
397
  ["width", "height", "top", "right", "bottom", "left"].indexOf(
398
398
  s
399
- ) !== -1 && a(i[s]) && (d = "px"), t.style[s] = i[s] + d;
399
+ ) !== -1 && a(i[s]) && (p = "px"), t.style[s] = i[s] + p;
400
400
  });
401
401
  }
402
402
  function y(t) {
@@ -424,22 +424,22 @@ const U = function() {
424
424
  };
425
425
  }
426
426
  function K(t, i, a) {
427
- var s = O(t), d = O(i);
427
+ var s = O(t), p = O(i);
428
428
  if (a) {
429
- var p = b(i);
430
- d.top += p.scrollTop, d.bottom += p.scrollTop, d.left += p.scrollLeft, d.right += p.scrollLeft;
429
+ var d = b(i);
430
+ p.top += d.scrollTop, p.bottom += d.scrollTop, p.left += d.scrollLeft, p.right += d.scrollLeft;
431
431
  }
432
432
  var u = {
433
- top: s.top - d.top,
434
- left: s.left - d.left,
435
- bottom: s.top - d.top + s.height,
436
- right: s.left - d.left + s.width,
433
+ top: s.top - p.top,
434
+ left: s.left - p.left,
435
+ bottom: s.top - p.top + s.height,
436
+ right: s.left - p.left + s.width,
437
437
  width: s.width,
438
438
  height: s.height
439
439
  };
440
440
  return u;
441
441
  }
442
- function T(t) {
442
+ function F(t) {
443
443
  for (var i = ["", "ms", "webkit", "moz", "o"], a = 0; a < i.length; a++) {
444
444
  var s = i[a] ? i[a] + t.charAt(0).toUpperCase() + t.slice(1) : t;
445
445
  if (typeof e.document.body.style[s] < "u")
@@ -460,8 +460,8 @@ const U = function() {
460
460
  var s = arguments[a];
461
461
  if (s != null) {
462
462
  s = Object(s);
463
- for (var d = Object.keys(s), p = 0, u = d.length; p < u; p++) {
464
- var v = d[p], g = Object.getOwnPropertyDescriptor(
463
+ for (var p = Object.keys(s), d = 0, u = p.length; d < u; d++) {
464
+ var v = p[d], g = Object.getOwnPropertyDescriptor(
465
465
  s,
466
466
  v
467
467
  );
@@ -607,8 +607,8 @@ function C(e, r, o, n, l, f, h, c) {
607
607
  return b.call(O), k(M, O);
608
608
  };
609
609
  } else {
610
- var x = _.beforeCreate;
611
- _.beforeCreate = x ? [].concat(x, b) : [b];
610
+ var $ = _.beforeCreate;
611
+ _.beforeCreate = $ ? [].concat($, b) : [b];
612
612
  }
613
613
  return {
614
614
  exports: e,
@@ -644,6 +644,11 @@ const Q = {
644
644
  }
645
645
  }
646
646
  },
647
+ data() {
648
+ return {
649
+ timer: null
650
+ };
651
+ },
647
652
  mounted() {
648
653
  let e = this.$refs.reference || this.$refs.trigger.children[0];
649
654
  if (!e)
@@ -661,10 +666,12 @@ const Q = {
661
666
  });
662
667
  },
663
668
  handleMouseEnter() {
664
- this.isShowPopover = !0;
669
+ clearTimeout(this.timer), this.isShowPopover = !0;
665
670
  },
666
671
  handleMouseLeave() {
667
- this.isShowPopover = !1;
672
+ this.timer = setTimeout(() => {
673
+ this.isShowPopover = !1;
674
+ }, 400);
668
675
  }
669
676
  },
670
677
  beforeDestroy() {
@@ -679,7 +686,7 @@ var ee = /* @__PURE__ */ C(
679
686
  X,
680
687
  !1,
681
688
  te,
682
- "eea938f0",
689
+ "6f7c137a",
683
690
  null,
684
691
  null
685
692
  );
@@ -764,8 +771,8 @@ var le = function() {
764
771
  }), o("span", {
765
772
  staticClass: "dp-radio_name_"
766
773
  }, [e._v(e._s(e.data.name))])]);
767
- }, de = [];
768
- const pe = {
774
+ }, pe = [];
775
+ const de = {
769
776
  name: "dp-radio",
770
777
  props: {
771
778
  data: {
@@ -785,11 +792,11 @@ const pe = {
785
792
  this.$emit("change", this.data.code, this.data.key);
786
793
  }
787
794
  }
788
- }, N = {};
795
+ }, R = {};
789
796
  var ce = /* @__PURE__ */ C(
790
- pe,
791
- le,
792
797
  de,
798
+ le,
799
+ pe,
793
800
  !1,
794
801
  he,
795
802
  "1d357f3a",
@@ -797,25 +804,30 @@ var ce = /* @__PURE__ */ C(
797
804
  null
798
805
  );
799
806
  function he(e) {
800
- for (let r in N)
801
- this[r] = N[r];
807
+ for (let r in R)
808
+ this[r] = R[r];
802
809
  }
803
810
  const fe = /* @__PURE__ */ function() {
804
811
  return ce.exports;
805
812
  }();
806
813
  var ue = function() {
807
814
  var e = this, r = e.$createElement, o = e._self._c || r;
808
- return o("div", {
809
- staticClass: "dp-checkfilter_view_"
815
+ return o("dp-popover", {
816
+ ref: "popover",
817
+ attrs: {
818
+ trigger: "hover"
819
+ }
820
+ }, [o("span", {
821
+ staticClass: "dp-checkfilter_view_",
822
+ attrs: {
823
+ slot: "reference"
824
+ },
825
+ slot: "reference"
810
826
  }, [o("span", {
811
827
  class: [e.value.length && "dp-checkfilter_title_checked_"]
812
828
  }, [e._v(e._s(e.title))]), o("span", {
813
829
  staticClass: "dp-checkfilter_arrow_"
814
- }), o("div", {
815
- staticClass: "dp-checkfilter_option_view_"
816
- }, [o("div", {
817
- staticClass: "dp-checkfilter_option_list_"
818
- }, [e.type === "check" ? e._l(e.option, function(n) {
830
+ })]), o("div", [e.type === "check" ? e._l(e.option, function(n) {
819
831
  return o("dp-check", {
820
832
  key: n.code,
821
833
  attrs: {
@@ -841,7 +853,7 @@ var ue = function() {
841
853
  change: e.handleChange
842
854
  }
843
855
  });
844
- }) : e._e()], 2)])]);
856
+ }) : e._e()], 2)]);
845
857
  }, _e = [];
846
858
  const ve = {
847
859
  name: "dp-checkfilter",
@@ -874,23 +886,25 @@ const ve = {
874
886
  },
875
887
  methods: {
876
888
  handleChange(e, r) {
877
- this.$emit("change", { key: r, value: [e].flat() });
889
+ this.$emit("change", { key: r, value: [e].flat() }), this.$nextTick(() => {
890
+ this.$refs.popover.updatePopper();
891
+ });
878
892
  }
879
893
  }
880
- }, R = {};
894
+ }, N = {};
881
895
  var me = /* @__PURE__ */ C(
882
896
  ve,
883
897
  ue,
884
898
  _e,
885
899
  !1,
886
900
  ge,
887
- "bf22bd06",
901
+ "45a9d784",
888
902
  null,
889
903
  null
890
904
  );
891
905
  function ge(e) {
892
- for (let r in R)
893
- this[r] = R[r];
906
+ for (let r in N)
907
+ this[r] = N[r];
894
908
  }
895
909
  const be = /* @__PURE__ */ function() {
896
910
  return me.exports;
@@ -1018,31 +1032,31 @@ const Ce = {
1018
1032
  this.resizer && this.resizer.unobserve(this.$el);
1019
1033
  }
1020
1034
  }, A = {};
1021
- var $e = /* @__PURE__ */ C(
1035
+ var xe = /* @__PURE__ */ C(
1022
1036
  Ce,
1023
1037
  ye,
1024
1038
  we,
1025
1039
  !1,
1026
- xe,
1040
+ $e,
1027
1041
  "5cf7a766",
1028
1042
  null,
1029
1043
  null
1030
1044
  );
1031
- function xe(e) {
1045
+ function $e(e) {
1032
1046
  for (let r in A)
1033
1047
  this[r] = A[r];
1034
1048
  }
1035
1049
  const Se = /* @__PURE__ */ function() {
1036
- return $e.exports;
1037
- }(), F = (e, r, o) => {
1050
+ return xe.exports;
1051
+ }(), D = (e, r, o) => {
1038
1052
  const n = e[o];
1039
1053
  if (!n.isFixed || !r[n.code])
1040
1054
  return {};
1041
1055
  const l = (h) => typeof h == "number" ? [h] : Object.values(h).map((c) => l(c)).flat();
1042
1056
  return { position: "sticky", left: `${e.filter((h, c) => c < o && h.isFixed).map((h) => l(r[h.code])).reduce((h, c) => parseFloat(h) + parseFloat(c), 0)}px` };
1043
- }, D = (e, r, o) => {
1057
+ }, T = (e, r, o) => {
1044
1058
  const n = e[r[0]];
1045
- return r.length > 1 ? D(n, r.slice(1)) : e[o] || n;
1059
+ return r.length > 1 ? T(n, r.slice(1)) : e[o] || n;
1046
1060
  };
1047
1061
  var Ie = function() {
1048
1062
  var e = this, r = e.$createElement, o = e._self._c || r;
@@ -1119,7 +1133,7 @@ const Ee = {
1119
1133
  },
1120
1134
  computed: {
1121
1135
  fixedStyle() {
1122
- return this.data.map((e, r) => ({ ...F(this.data, this.widthInfo, r), backgroundColor: this.bgColor }));
1136
+ return this.data.map((e, r) => ({ ...D(this.data, this.widthInfo, r), backgroundColor: this.bgColor }));
1123
1137
  }
1124
1138
  },
1125
1139
  data() {
@@ -1129,7 +1143,7 @@ const Ee = {
1129
1143
  };
1130
1144
  },
1131
1145
  methods: {
1132
- computFixedStyle: F,
1146
+ computFixedStyle: D,
1133
1147
  handleChangeWidthInfo(e) {
1134
1148
  this.widthInfo = { ...this.widthInfo, ...e }, clearTimeout(this.timer), this.timer = setTimeout(() => {
1135
1149
  this.$emit("changeWidth", this.widthInfo);
@@ -1160,9 +1174,11 @@ function Me(e) {
1160
1174
  const je = /* @__PURE__ */ function() {
1161
1175
  return ke.exports;
1162
1176
  }();
1163
- var De = function() {
1177
+ var Te = function() {
1164
1178
  var e = this, r = e.$createElement, o = e._self._c || r;
1165
1179
  return o("div", {
1180
+ staticClass: "dp-table_view_box_"
1181
+ }, [o("div", {
1166
1182
  staticClass: "dp-table_view_border_",
1167
1183
  style: {
1168
1184
  borderColor: e.borderColor
@@ -1291,9 +1307,19 @@ var De = function() {
1291
1307
  borderColor: e.borderColor
1292
1308
  }
1293
1309
  }) : e._e()], 2);
1294
- }), 0)], 1)]);
1295
- }, Fe = [];
1296
- const Te = {
1310
+ }), 0)], 1), o("span", {
1311
+ staticClass: "dp-table_view_bottom_border_",
1312
+ style: {
1313
+ borderColor: e.borderColor
1314
+ }
1315
+ }), o("span", {
1316
+ staticClass: "dp-table_view_right_border_",
1317
+ style: {
1318
+ borderColor: e.borderColor
1319
+ }
1320
+ })])]);
1321
+ }, De = [];
1322
+ const Fe = {
1297
1323
  name: "dp-table",
1298
1324
  components: {
1299
1325
  DpHeader: je
@@ -1389,7 +1415,7 @@ const Te = {
1389
1415
  return e.length ? [...this.bodyData].filter((r) => {
1390
1416
  let o = !0;
1391
1417
  return e.some((n) => {
1392
- if (!n.value.includes(D(r, n.target, n.filterKey)))
1418
+ if (!n.value.includes(T(r, n.target, n.filterKey)))
1393
1419
  return o = !1, !0;
1394
1420
  }), o;
1395
1421
  }) : this.bodyData;
@@ -1401,7 +1427,7 @@ const Te = {
1401
1427
  // 表体渲染数据
1402
1428
  resultData() {
1403
1429
  return Object.keys(this.widthInfo).length < this.headData.length || !this.headData.length ? [] : (this.sortInfo.value ? [...this.filterBodyData].sort((r, o) => {
1404
- const n = D(r, this.sortInfo.target, this.sortInfo.sortKey), l = D(o, this.sortInfo.target, this.sortInfo.sortKey);
1430
+ const n = T(r, this.sortInfo.target, this.sortInfo.sortKey), l = T(o, this.sortInfo.target, this.sortInfo.sortKey);
1405
1431
  return this.sortInfo.value === "up" ? n - l : l - n;
1406
1432
  }) : this.filterBodyData).slice(this.beforeIndex, this.currentIndex).concat(this.totalData ? [{ ...this.totalData, __sub: "", __isTotalData: !0 }] : []).map((r, o) => {
1407
1433
  const n = this.handleComputItem(r);
@@ -1423,7 +1449,7 @@ const Te = {
1423
1449
  },
1424
1450
  // 冻结列样式
1425
1451
  fixedStyle() {
1426
- return this.headData.map((e, r) => F(this.resultHeadData, this.widthInfo, r));
1452
+ return this.headData.map((e, r) => D(this.resultHeadData, this.widthInfo, r));
1427
1453
  },
1428
1454
  // 行hover样式
1429
1455
  hoverStyle() {
@@ -1436,7 +1462,7 @@ const Te = {
1436
1462
  },
1437
1463
  watch: {
1438
1464
  bodyData() {
1439
- this.$refs.table.scrollTop = 0, this.$refs.table.scrollLeft = 0, this.scrollLeft = 0, this.beforeIndex = 0, this.currentIndex = 50;
1465
+ this.$refs.table.scrollTop = 0, this.beforeIndex = 0, this.currentIndex = 50;
1440
1466
  },
1441
1467
  filterBodyData() {
1442
1468
  this.handleComputItemHeight();
@@ -1477,10 +1503,8 @@ const Te = {
1477
1503
  if (this.rowHeight)
1478
1504
  o = this.rowHeight;
1479
1505
  else if (this.rowItemHeight) {
1480
- const n = {}, l = (h, c) => {
1481
- c.children ? c.children.forEach((_) => l((h || {})[_.code], { ..._, code: `${c.code}_${_.code}` })) : n[c.code] = h;
1482
- };
1483
- this.headData.forEach((h) => l(e[h.code], h)), o = Math.max(...this.deepHeadData.map((h) => n[h.code] instanceof Object ? n[h.code].slot ? [n[h.code].slot].flat().length : n[h.code].raw ? [n[h.code].raw].flat().length : n[h.code].value ? [n[h.code].value].flat().length : 1 : 1)) * this.rowItemHeight;
1506
+ const n = this.handleComputItem(e, !0), l = this.deepHeadData.map((h) => n[h.code] instanceof Object ? n[h.code].slot ? [n[h.code].slot].flat().length : n[h.code].raw ? [n[h.code].raw].flat().length : n[h.code].value ? [n[h.code].value].flat().length : 1 : 1);
1507
+ o = Math.max(...l) * this.rowItemHeight;
1484
1508
  }
1485
1509
  return o;
1486
1510
  });
@@ -1490,12 +1514,12 @@ const Te = {
1490
1514
  this.widthInfo = e;
1491
1515
  },
1492
1516
  // 递归铺开数据
1493
- handleComputItem(e) {
1494
- let r = {};
1495
- const o = (n, l) => {
1496
- l.children ? l.children.forEach((f) => o((n || {})[f.code], { ...f, code: `${l.code}_${f.code}` })) : r[l.code] = n;
1517
+ handleComputItem(e, r) {
1518
+ let o = {};
1519
+ const n = (l, f) => {
1520
+ f.children ? f.children.forEach((h) => n((l || {})[h.code], { ...h, code: `${f.code}_${h.code}` })) : o[f.code] = l;
1497
1521
  };
1498
- return this.headData.filter((n) => n.children).forEach((n) => o(e[n.code], n)), r;
1522
+ return this.headData.filter((l) => r || l.children).forEach((l) => n(e[l.code], l)), o;
1499
1523
  },
1500
1524
  // 滚动事件
1501
1525
  handleScroll(e) {
@@ -1532,12 +1556,12 @@ const Te = {
1532
1556
  }
1533
1557
  }, B = {};
1534
1558
  var Le = /* @__PURE__ */ C(
1559
+ Fe,
1535
1560
  Te,
1536
1561
  De,
1537
- Fe,
1538
1562
  !1,
1539
1563
  He,
1540
- "387f688b",
1564
+ "42fb40b0",
1541
1565
  null,
1542
1566
  null
1543
1567
  );
@@ -1548,7 +1572,7 @@ function He(e) {
1548
1572
  const Pe = /* @__PURE__ */ function() {
1549
1573
  return Le.exports;
1550
1574
  }();
1551
- var Ne = function() {
1575
+ var Re = function() {
1552
1576
  var e = this, r = e.$createElement, o = e._self._c || r;
1553
1577
  return o("div", {
1554
1578
  staticClass: "problem-raw",
@@ -1556,7 +1580,7 @@ var Ne = function() {
1556
1580
  innerHTML: e._s(e.data)
1557
1581
  }
1558
1582
  });
1559
- }, Re = [];
1583
+ }, Ne = [];
1560
1584
  const Ae = {
1561
1585
  name: "dp-raw",
1562
1586
  props: {
@@ -1584,8 +1608,8 @@ const Ae = {
1584
1608
  }, z = {};
1585
1609
  var We = /* @__PURE__ */ C(
1586
1610
  Ae,
1587
- Ne,
1588
1611
  Re,
1612
+ Ne,
1589
1613
  !1,
1590
1614
  Be,
1591
1615
  "65587794",
@@ -1801,22 +1825,22 @@ const lt = {
1801
1825
  }
1802
1826
  }
1803
1827
  }, V = {};
1804
- var dt = /* @__PURE__ */ C(
1828
+ var pt = /* @__PURE__ */ C(
1805
1829
  lt,
1806
1830
  st,
1807
1831
  at,
1808
1832
  !1,
1809
- pt,
1833
+ dt,
1810
1834
  "41c0d3a5",
1811
1835
  null,
1812
1836
  null
1813
1837
  );
1814
- function pt(e) {
1838
+ function dt(e) {
1815
1839
  for (let r in V)
1816
1840
  this[r] = V[r];
1817
1841
  }
1818
1842
  const ct = /* @__PURE__ */ function() {
1819
- return dt.exports;
1843
+ return pt.exports;
1820
1844
  }(), ht = [
1821
1845
  Pe,
1822
1846
  ze,
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .dp-popover_view_[data-v-eea938f0]{position:absolute;background-color:#fff;min-width:100px;z-index:1000;border-radius:6px;border:1px solid #ccc;padding:6px 10px;box-shadow:0 0 8px #ccc}.dp-popover_view_[x-placement^=top][data-v-eea938f0]{margin-bottom:14px}.dp-popover_view_[x-placement^=top] .dp-popover_arrow_[data-v-eea938f0]{bottom:-8px;left:50%;margin-right:3px;border-top-color:#ccc;border-bottom-width:0}.dp-popover_view_[x-placement^=top] .dp-popover_arrow_[data-v-eea938f0]:after{bottom:1px;margin-left:-8px;border-top-color:#fff;border-bottom-width:0}.dp-popover_view_[x-placement^=bottom][data-v-eea938f0]{margin-top:14px}.dp-popover_view_[x-placement^=bottom] .dp-popover_arrow_[data-v-eea938f0]{top:-8px;left:50%;margin-right:3px;border-top-width:0;border-bottom-color:#ccc}.dp-popover_view_[x-placement^=bottom] .dp-popover_arrow_[data-v-eea938f0]:after{top:1px;margin-left:-8px;border-top-width:0;border-bottom-color:#fff}.dp-popover_view_[x-placement^=right][data-v-eea938f0]{margin-left:14px}.dp-popover_view_[x-placement^=right] .dp-popover_arrow_[data-v-eea938f0]{top:50%;left:-8px;margin-bottom:3px;border-right-color:#ccc;border-left-width:0}.dp-popover_view_[x-placement^=right] .dp-popover_arrow_[data-v-eea938f0]:after{bottom:-8px;left:1px;border-right-color:#fff;border-left-width:0}.dp-popover_view_[x-placement^=left][data-v-eea938f0]{margin-right:14px}.dp-popover_view_[x-placement^=left] .dp-popover_arrow_[data-v-eea938f0]{top:50%;right:-8px;margin-bottom:3px;border-right-width:0;border-left-color:#ccc}.dp-popover_view_[x-placement^=left] .dp-popover_arrow_[data-v-eea938f0]:after{right:1px;bottom:-8px;margin-left:-8px;border-left-color:#fff;border-right-width:0}.dp-popover_arrow_[data-v-eea938f0],.dp-popover_arrow_[data-v-eea938f0]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.dp-popover_arrow_[data-v-eea938f0]{border-width:8px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.dp-popover_arrow_[data-v-eea938f0]:after{content:" ";border-width:8px}.dp-check_view_[data-v-1bea0315]{font-size:14px;padding:5px 10px;min-width:60px;display:flex;cursor:pointer}.dp-check_view_[data-v-1bea0315]:hover{background-color:#e8e8e8}.dp-check_view_[disabled][data-v-1bea0315]{pointer-events:none}.dp-check_tag_[data-v-1bea0315]{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-1bea0315]{white-space:break-spaces}.dp-check_view_checked_ .dp-check_tag_[data-v-1bea0315]{border-color:#4386f5;background-color:#4386f5}.dp-check_view_checked_ .dp-check_tag_[data-v-1bea0315]: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-1bea0315]{color:#4386f5}.dp-radio_view_[data-v-1d357f3a]{font-size:14px;padding:5px 10px;min-width:60px;display:flex;cursor:pointer}.dp-radio_view_[data-v-1d357f3a]:hover{background-color:#e8e8e8}.dp-radio_view_[disabled][data-v-1d357f3a]{pointer-events:none}.dp-radio_tag_[data-v-1d357f3a]{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-1d357f3a]{white-space:break-spaces}.dp-radio_view_checked_ .dp-radio_tag_[data-v-1d357f3a]{border-color:#4386f5}.dp-radio_view_checked_ .dp-radio_tag_[data-v-1d357f3a]:before{content:"";width:10px;height:10px;border-radius:50%;background-color:#4386f5}.dp-radio_view_checked_ .dp-radio_name_[data-v-1d357f3a]{color:#4386f5}.dp-checkfilter_view_[data-v-bf22bd06]{display:flex;align-items:center;justify-content:center;padding:10px 0;position:relative;cursor:pointer}.dp-checkfilter_arrow_[data-v-bf22bd06]{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-bf22bd06]{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-bf22bd06]{color:#fe8227}.dp-checkfilter_view_:hover .dp-checkfilter_arrow_[data-v-bf22bd06]{transform:rotate(135deg) translate(3px,-3px)}.dp-checkfilter_view_:hover .dp-checkfilter_option_view_[data-v-bf22bd06]{transform:scale(1);overflow:visible;visibility:inherit}.dp-checkfilter_option_view_[data-v-bf22bd06]: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-bf22bd06]{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-387f688b]{border:1px solid;border-top:0;display:inline-block!important;max-width:100%;font-size:0}.dp-table_view_[data-v-387f688b]{display:inline-block;max-width:100%;overflow:auto;max-height:100vh;font-size:0;position:relative;box-sizing:border-box}.dp-table_body_view_[data-v-387f688b]{display:inline-flex;flex-direction:column;box-sizing:border-box;min-height:50px}.dp-table_body_view_[data-v-387f688b]:empty{display:flex;align-items:center;justify-content:center}.dp-table_body_view_[data-v-387f688b]:empty:before{content:"\6682\65e0\6570\636e";line-height:2;color:#999}.dp-table_view_>*[data-v-387f688b]{font-size:14px}.dp-table_body_item_[data-v-387f688b]{display:inline-flex}.dp-table_fixed_bg_[data-v-387f688b]{background-color:#fff}.dp-table_fixed_bg_.dp-table_fixed_shadow_[data-v-387f688b]{box-shadow:5px 0 8px -3px #e3e3e3}.dp-table_body_item_group_col_[data-v-387f688b]{display:flex;flex-direction:column}.dp-table_body_item_group_col_>*[data-v-387f688b]{flex:1}.dp-table_body_item_child_[data-v-387f688b]{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-387f688b]{position:sticky;bottom:0;display:inline-flex;background-color:#fff;overflow:visible}.dp-table_total_border_[data-v-387f688b]{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}.icon[data-v-3766159a]{vertical-align:-.15em;fill:currentColor;overflow:hidden;font-size:0}.dp-capsule_view_[data-v-8d631704]{display:inline-flex;position:relative;flex-shrink:0;margin:2px}.dp-capsule_view_[data-v-8d631704]:before{content:"";position:absolute;left:-2px;top:-2px;right:-2px;bottom:-2px;border:1px solid #4386f5;border-radius:200px}.pointer[data-v-8d631704]{cursor:pointer}.dp-capsule_view_active_[data-v-8d631704]{position:absolute;transition:left .1s;top:0;border-radius:200px;height:100%}.dp-capsule_view_item_[data-v-8d631704]{flex:1;position:relative;z-index:2;padding:0 10px;text-align:center;line-height:1.8;white-space:nowrap}.dp-toggleraw_icon_[data-v-41c0d3a5]{padding:5px}.dp-toggleraw_content_[data-v-41c0d3a5]{display:flex;align-items:center;justify-content:space-between}
1
+ .dp-popover_view_[data-v-6f7c137a]{position:absolute;background-color:#fff;min-width:100px;z-index:1000;border-radius:6px;border:1px solid #ccc;padding:6px 10px;box-shadow:0 0 8px #ccc}.dp-popover_view_[x-placement^=top][data-v-6f7c137a]{margin-bottom:14px}.dp-popover_view_[x-placement^=top] .dp-popover_arrow_[data-v-6f7c137a]{bottom:-8px;left:50%;margin-right:3px;border-top-color:#ccc;border-bottom-width:0}.dp-popover_view_[x-placement^=top] .dp-popover_arrow_[data-v-6f7c137a]:after{bottom:1px;margin-left:-8px;border-top-color:#fff;border-bottom-width:0}.dp-popover_view_[x-placement^=bottom][data-v-6f7c137a]{margin-top:14px}.dp-popover_view_[x-placement^=bottom] .dp-popover_arrow_[data-v-6f7c137a]{top:-8px;left:50%;margin-right:3px;border-top-width:0;border-bottom-color:#ccc}.dp-popover_view_[x-placement^=bottom] .dp-popover_arrow_[data-v-6f7c137a]:after{top:1px;margin-left:-8px;border-top-width:0;border-bottom-color:#fff}.dp-popover_view_[x-placement^=right][data-v-6f7c137a]{margin-left:14px}.dp-popover_view_[x-placement^=right] .dp-popover_arrow_[data-v-6f7c137a]{top:50%;left:-8px;margin-bottom:3px;border-right-color:#ccc;border-left-width:0}.dp-popover_view_[x-placement^=right] .dp-popover_arrow_[data-v-6f7c137a]:after{bottom:-8px;left:1px;border-right-color:#fff;border-left-width:0}.dp-popover_view_[x-placement^=left][data-v-6f7c137a]{margin-right:14px}.dp-popover_view_[x-placement^=left] .dp-popover_arrow_[data-v-6f7c137a]{top:50%;right:-8px;margin-bottom:3px;border-right-width:0;border-left-color:#ccc}.dp-popover_view_[x-placement^=left] .dp-popover_arrow_[data-v-6f7c137a]:after{right:1px;bottom:-8px;margin-left:-8px;border-left-color:#fff;border-right-width:0}.dp-popover_arrow_[data-v-6f7c137a],.dp-popover_arrow_[data-v-6f7c137a]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.dp-popover_arrow_[data-v-6f7c137a]{border-width:8px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.dp-popover_arrow_[data-v-6f7c137a]:after{content:" ";border-width:8px}.dp-check_view_[data-v-1bea0315]{font-size:14px;padding:5px 10px;min-width:60px;display:flex;cursor:pointer}.dp-check_view_[data-v-1bea0315]:hover{background-color:#e8e8e8}.dp-check_view_[disabled][data-v-1bea0315]{pointer-events:none}.dp-check_tag_[data-v-1bea0315]{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-1bea0315]{white-space:break-spaces}.dp-check_view_checked_ .dp-check_tag_[data-v-1bea0315]{border-color:#4386f5;background-color:#4386f5}.dp-check_view_checked_ .dp-check_tag_[data-v-1bea0315]: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-1bea0315]{color:#4386f5}.dp-radio_view_[data-v-1d357f3a]{font-size:14px;padding:5px 10px;min-width:60px;display:flex;cursor:pointer}.dp-radio_view_[data-v-1d357f3a]:hover{background-color:#e8e8e8}.dp-radio_view_[disabled][data-v-1d357f3a]{pointer-events:none}.dp-radio_tag_[data-v-1d357f3a]{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-1d357f3a]{white-space:break-spaces}.dp-radio_view_checked_ .dp-radio_tag_[data-v-1d357f3a]{border-color:#4386f5}.dp-radio_view_checked_ .dp-radio_tag_[data-v-1d357f3a]:before{content:"";width:10px;height:10px;border-radius:50%;background-color:#4386f5}.dp-radio_view_checked_ .dp-radio_name_[data-v-1d357f3a]{color:#4386f5}.dp-checkfilter_view_[data-v-45a9d784]{display:flex;align-items:center;justify-content:center;padding:10px 0;position:relative;cursor:pointer}.dp-checkfilter_arrow_[data-v-45a9d784]{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-45a9d784]{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-45a9d784]{color:#fe8227}.dp-checkfilter_view_:hover .dp-checkfilter_arrow_[data-v-45a9d784]{transform:rotate(135deg) translate(3px,-3px)}.dp-checkfilter_view_:hover .dp-checkfilter_option_view_[data-v-45a9d784]{transform:scale(1);overflow:visible;visibility:inherit}.dp-checkfilter_option_view_[data-v-45a9d784]: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-45a9d784]{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_box_[data-v-42fb40b0]{font-size:0}.dp-table_view_border_[data-v-42fb40b0]{border-left:1px solid;display:inline-block!important;max-width:100%;position:relative}.dp-table_view_bottom_border_[data-v-42fb40b0]{position:absolute;z-index:4;left:0;bottom:0;width:100%;height:0;border-top:1px solid}.dp-table_view_right_border_[data-v-42fb40b0]{position:absolute;z-index:4;right:0;top:0;width:0;height:100%;border-left:1px solid}.dp-table_view_[data-v-42fb40b0]{display:inline-block;max-width:100%;overflow:auto;max-height:100vh;font-size:0;position:relative;box-sizing:border-box}.dp-table_body_view_[data-v-42fb40b0]{display:inline-flex;flex-direction:column;box-sizing:border-box;min-height:50px}.dp-table_body_view_[data-v-42fb40b0]:empty{display:flex;align-items:center;justify-content:center}.dp-table_body_view_[data-v-42fb40b0]:empty:before{content:"\6682\65e0\6570\636e";line-height:2;color:#999}.dp-table_view_>*[data-v-42fb40b0]{font-size:14px}.dp-table_body_item_[data-v-42fb40b0]{display:inline-flex}.dp-table_fixed_bg_[data-v-42fb40b0]{background-color:#fff}.dp-table_fixed_bg_.dp-table_fixed_shadow_[data-v-42fb40b0]{box-shadow:5px 0 8px -3px #e3e3e3}.dp-table_body_item_group_col_[data-v-42fb40b0]{display:flex;flex-direction:column}.dp-table_body_item_group_col_>*[data-v-42fb40b0]{flex:1}.dp-table_body_item_child_[data-v-42fb40b0]{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-42fb40b0]{position:sticky;bottom:0;display:inline-flex;background-color:#fff;overflow:visible}.dp-table_total_border_[data-v-42fb40b0]{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}.icon[data-v-3766159a]{vertical-align:-.15em;fill:currentColor;overflow:hidden;font-size:0}.dp-capsule_view_[data-v-8d631704]{display:inline-flex;position:relative;flex-shrink:0;margin:2px}.dp-capsule_view_[data-v-8d631704]:before{content:"";position:absolute;left:-2px;top:-2px;right:-2px;bottom:-2px;border:1px solid #4386f5;border-radius:200px}.pointer[data-v-8d631704]{cursor:pointer}.dp-capsule_view_active_[data-v-8d631704]{position:absolute;transition:left .1s;top:0;border-radius:200px;height:100%}.dp-capsule_view_item_[data-v-8d631704]{flex:1;position:relative;z-index:2;padding:0 10px;text-align:center;line-height:1.8;white-space:nowrap}.dp-toggleraw_icon_[data-v-41c0d3a5]{padding:5px}.dp-toggleraw_content_[data-v-41c0d3a5]{display:flex;align-items:center;justify-content:space-between}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dpot-ui",
3
3
  "private": false,
4
- "version": "0.1.9",
4
+ "version": "0.1.11",
5
5
  "author": "Jeesn",
6
6
  "main": "./dist/index.es.js",
7
7
  "module": "./dist/index.es.js",