bkui-vue 2.0.2-beta.45 → 2.0.2-beta.47

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.
Files changed (157) hide show
  1. package/dist/index.cjs.js +47 -42
  2. package/dist/index.esm.js +7204 -7010
  3. package/dist/index.umd.js +50 -45
  4. package/lib/affix/index.js +12 -14
  5. package/lib/alert/index.js +12 -14
  6. package/lib/animate-number/index.js +11 -12
  7. package/lib/backtop/index.js +10 -11
  8. package/lib/badge/index.js +12 -14
  9. package/lib/breadcrumb/index.js +12 -14
  10. package/lib/button/index.js +12 -14
  11. package/lib/card/index.js +12 -14
  12. package/lib/cascader/index.js +94 -101
  13. package/lib/checkbox/index.js +37 -35
  14. package/lib/code-diff/index.js +1171 -675
  15. package/lib/collapse/index.js +44 -42
  16. package/lib/collapse-transition/index.js +3 -4
  17. package/lib/color-picker/index.js +59 -60
  18. package/lib/config-provider/index.js +12 -14
  19. package/lib/container/index.js +21 -25
  20. package/lib/date-picker/index.js +58 -51
  21. package/lib/dialog/index.js +53 -474
  22. package/lib/directives/index.js +37 -34
  23. package/lib/divider/index.js +2 -3
  24. package/lib/dropdown/index.js +17 -21
  25. package/lib/exception/index.js +14 -17
  26. package/lib/fixed-navbar/index.js +2 -3
  27. package/lib/form/index.js +37 -34
  28. package/lib/icon/angle-double-down-line.js +29 -36
  29. package/lib/icon/angle-double-left-line.js +29 -36
  30. package/lib/icon/angle-double-left.js +29 -36
  31. package/lib/icon/angle-double-right-line.js +29 -36
  32. package/lib/icon/angle-double-right.js +29 -36
  33. package/lib/icon/angle-double-up-line.js +29 -36
  34. package/lib/icon/angle-down-fill.js +29 -36
  35. package/lib/icon/angle-down-line.js +29 -36
  36. package/lib/icon/angle-down.js +29 -36
  37. package/lib/icon/angle-left.js +29 -36
  38. package/lib/icon/angle-right.js +29 -36
  39. package/lib/icon/angle-up-fill.js +29 -36
  40. package/lib/icon/angle-up.js +29 -36
  41. package/lib/icon/archive-fill.js +29 -36
  42. package/lib/icon/arrows-left.js +29 -36
  43. package/lib/icon/arrows-right.js +29 -36
  44. package/lib/icon/assistant.js +29 -36
  45. package/lib/icon/audio-fill.js +29 -36
  46. package/lib/icon/bk.js +29 -36
  47. package/lib/icon/circle.js +29 -36
  48. package/lib/icon/close-line.js +29 -36
  49. package/lib/icon/close.js +29 -36
  50. package/lib/icon/code.js +29 -36
  51. package/lib/icon/cog-shape.js +29 -36
  52. package/lib/icon/collapse-left.js +29 -36
  53. package/lib/icon/copy-shape.js +29 -36
  54. package/lib/icon/copy.js +29 -36
  55. package/lib/icon/data-shape.js +29 -36
  56. package/lib/icon/del.js +29 -36
  57. package/lib/icon/doc-fill.js +29 -36
  58. package/lib/icon/done.js +29 -36
  59. package/lib/icon/down-shape.js +29 -36
  60. package/lib/icon/down-small.js +29 -36
  61. package/lib/icon/edit-line.js +29 -36
  62. package/lib/icon/ellipsis.js +29 -36
  63. package/lib/icon/enlarge-line.js +29 -36
  64. package/lib/icon/error.js +29 -36
  65. package/lib/icon/excel-fill.js +29 -36
  66. package/lib/icon/exclamation-circle-shape.js +29 -36
  67. package/lib/icon/eye.js +29 -36
  68. package/lib/icon/filliscreen-line.js +29 -36
  69. package/lib/icon/fix-line.js +29 -36
  70. package/lib/icon/fix-shape.js +29 -36
  71. package/lib/icon/folder-open.js +29 -36
  72. package/lib/icon/folder-shape-open.js +29 -36
  73. package/lib/icon/folder-shape.js +29 -36
  74. package/lib/icon/folder.js +29 -36
  75. package/lib/icon/funnel.js +29 -36
  76. package/lib/icon/grag-fill.js +29 -36
  77. package/lib/icon/help-document-fill.js +29 -36
  78. package/lib/icon/help-fill.js +29 -36
  79. package/lib/icon/help.js +29 -36
  80. package/lib/icon/image-fill.js +29 -36
  81. package/lib/icon/img-error.js +29 -36
  82. package/lib/icon/img-placehoulder.js +29 -36
  83. package/lib/icon/info-line.js +29 -36
  84. package/lib/icon/info.js +29 -36
  85. package/lib/icon/left-shape.js +29 -36
  86. package/lib/icon/left-turn-line.js +29 -36
  87. package/lib/icon/loading.js +29 -36
  88. package/lib/icon/narrow-line.js +29 -36
  89. package/lib/icon/original.js +29 -36
  90. package/lib/icon/pdf-fill.js +29 -36
  91. package/lib/icon/play-shape.js +29 -36
  92. package/lib/icon/plus.js +29 -36
  93. package/lib/icon/ppt-fill.js +29 -36
  94. package/lib/icon/qq.js +29 -36
  95. package/lib/icon/right-shape.js +29 -36
  96. package/lib/icon/right-turn-line.js +29 -36
  97. package/lib/icon/search.js +29 -36
  98. package/lib/icon/share.js +29 -36
  99. package/lib/icon/spinner.js +29 -36
  100. package/lib/icon/success.js +29 -36
  101. package/lib/icon/switcher-loading.js +29 -36
  102. package/lib/icon/text-all.js +29 -36
  103. package/lib/icon/text-file.js +29 -36
  104. package/lib/icon/text-fill.js +29 -36
  105. package/lib/icon/transfer.js +29 -36
  106. package/lib/icon/tree-application-shape.js +29 -36
  107. package/lib/icon/unfull-screen.js +29 -36
  108. package/lib/icon/unvisible.js +29 -36
  109. package/lib/icon/up-shape.js +29 -36
  110. package/lib/icon/upload.js +29 -36
  111. package/lib/icon/video-fill.js +29 -36
  112. package/lib/icon/warn.js +29 -36
  113. package/lib/icon/weixin-pro.js +29 -36
  114. package/lib/icon/weixin.js +29 -36
  115. package/lib/image/index.js +49 -47
  116. package/lib/index.js +1 -1
  117. package/lib/info-box/index.js +62 -461
  118. package/lib/input/index.js +62 -60
  119. package/lib/link/index.js +2 -2
  120. package/lib/loading/index.js +22 -25
  121. package/lib/menu/index.js +36 -34
  122. package/lib/message/index.js +34 -31
  123. package/lib/modal/index.js +12 -14
  124. package/lib/navigation/index.js +7 -9
  125. package/lib/notify/index.js +12 -14
  126. package/lib/overflow-title/index.js +9 -10
  127. package/lib/pagination/index.js +32 -29
  128. package/lib/pop-confirm/index.js +4 -5
  129. package/lib/popover/index.js +209 -136
  130. package/lib/popover2/index.js +2 -2
  131. package/lib/process/index.js +59 -452
  132. package/lib/progress/index.js +16 -19
  133. package/lib/radio/index.js +37 -34
  134. package/lib/rate/index.js +12 -14
  135. package/lib/resize-layout/index.js +18 -20
  136. package/lib/scrollbar/index.js +51 -58
  137. package/lib/search-select/index.js +222 -595
  138. package/lib/select/index.js +111 -463
  139. package/lib/shared/index.js +83 -95
  140. package/lib/sideslider/index.js +43 -441
  141. package/lib/slider/index.js +49 -446
  142. package/lib/steps/index.js +60 -458
  143. package/lib/swiper/index.js +15 -17
  144. package/lib/switcher/index.js +12 -14
  145. package/lib/tab/index.d.ts +12 -0
  146. package/lib/tab/index.js +53 -45
  147. package/lib/tab/props.d.ts +3 -0
  148. package/lib/tab/tab.d.ts +6 -0
  149. package/lib/table/index.js +152 -501
  150. package/lib/tag/index.js +12 -14
  151. package/lib/tag-input/index.js +47 -41
  152. package/lib/timeline/index.js +1 -0
  153. package/lib/transfer/index.js +22 -17
  154. package/lib/tree/index.js +73 -66
  155. package/lib/upload/index.js +136 -487
  156. package/lib/virtual-render/index.js +47 -51
  157. package/package.json +1 -1
@@ -47,6 +47,7 @@ function _typeof(o) {
47
47
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
48
48
  }, _typeof(o);
49
49
  }
50
+
50
51
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
51
52
 
52
53
  function toPrimitive(t, r) {
@@ -59,29 +60,26 @@ function toPrimitive(t, r) {
59
60
  }
60
61
  return ("string" === r ? String : Number)(t);
61
62
  }
63
+
62
64
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
63
65
 
64
66
 
65
67
  function toPropertyKey(t) {
66
68
  var i = toPrimitive(t, "string");
67
- return "symbol" == _typeof(i) ? i : String(i);
69
+ return "symbol" == _typeof(i) ? i : i + "";
68
70
  }
71
+
69
72
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
70
73
 
71
- function _defineProperty(obj, key, value) {
72
- key = toPropertyKey(key);
73
- if (key in obj) {
74
- Object.defineProperty(obj, key, {
75
- value: value,
76
- enumerable: true,
77
- configurable: true,
78
- writable: true
79
- });
80
- } else {
81
- obj[key] = value;
82
- }
83
- return obj;
74
+ function _defineProperty(e, r, t) {
75
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
76
+ value: t,
77
+ enumerable: !0,
78
+ configurable: !0,
79
+ writable: !0
80
+ }) : e[r] = t, e;
84
81
  }
82
+
85
83
  ;// CONCATENATED MODULE: external "vue"
86
84
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
87
85
  var external_vue_y = x => () => x
@@ -47,6 +47,7 @@ function _typeof(o) {
47
47
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
48
48
  }, _typeof(o);
49
49
  }
50
+
50
51
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
51
52
 
52
53
  function toPrimitive(t, r) {
@@ -59,29 +60,26 @@ function toPrimitive(t, r) {
59
60
  }
60
61
  return ("string" === r ? String : Number)(t);
61
62
  }
63
+
62
64
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
63
65
 
64
66
 
65
67
  function toPropertyKey(t) {
66
68
  var i = toPrimitive(t, "string");
67
- return "symbol" == _typeof(i) ? i : String(i);
69
+ return "symbol" == _typeof(i) ? i : i + "";
68
70
  }
71
+
69
72
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
70
73
 
71
- function _defineProperty(obj, key, value) {
72
- key = toPropertyKey(key);
73
- if (key in obj) {
74
- Object.defineProperty(obj, key, {
75
- value: value,
76
- enumerable: true,
77
- configurable: true,
78
- writable: true
79
- });
80
- } else {
81
- obj[key] = value;
82
- }
83
- return obj;
74
+ function _defineProperty(e, r, t) {
75
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
76
+ value: t,
77
+ enumerable: !0,
78
+ configurable: !0,
79
+ writable: !0
80
+ }) : e[r] = t, e;
84
81
  }
82
+
85
83
  ;// CONCATENATED MODULE: external "vue"
86
84
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
87
85
  var external_vue_y = x => () => x
@@ -37,7 +37,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
37
37
  ;// CONCATENATED MODULE: external "vue"
38
38
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
39
39
  var external_vue_y = x => () => x
40
- const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
40
+ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode });
41
41
  ;// CONCATENATED MODULE: ../../packages/animate-number/src/animate-number.tsx
42
42
 
43
43
  /*
@@ -66,8 +66,7 @@ const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBP
66
66
  * IN THE SOFTWARE.
67
67
  */
68
68
 
69
-
70
- /* harmony default export */ const animate_number = ((0,external_vue_namespaceObject.defineComponent)({
69
+ /* harmony default export */ const animate_number = (defineComponent({
71
70
  name: 'AnimateNumber',
72
71
  props: {
73
72
  value: shared_namespaceObject.PropTypes.number.def(0),
@@ -75,8 +74,8 @@ const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBP
75
74
  },
76
75
  setup: function setup(props) {
77
76
  var rafId = -1;
78
- var tweeningValue = (0,external_vue_namespaceObject.ref)(0);
79
- var formatValue = (0,external_vue_namespaceObject.computed)(function () {
77
+ var tweeningValue = ref(0);
78
+ var formatValue = computed(function () {
80
79
  return Number(tweeningValue.value).toFixed(props.digits);
81
80
  });
82
81
  var tween = function tween(startValue, endValue) {
@@ -89,32 +88,32 @@ const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBP
89
88
  // 算出每次计算需要间隔的时间,保证动画的流畅
90
89
  var gapTime = 25 / ticTimes;
91
90
  var tickGap = 1;
92
- var animate = function animate() {
91
+ var _animate = function animate() {
93
92
  if (tickGap < gapTime) {
94
- rafId = requestAnimationFrame(animate);
93
+ rafId = requestAnimationFrame(_animate);
95
94
  tickGap = tickGap + 1;
96
95
  return;
97
96
  }
98
97
  tweeningValue.value += ticDis * isPositive;
99
98
  var isUnDone = isPositive === 1 ? tweeningValue.value < endValue : tweeningValue.value > endValue;
100
99
  if (isUnDone) {
101
- rafId = requestAnimationFrame(animate);
100
+ rafId = requestAnimationFrame(_animate);
102
101
  tickGap = 1;
103
102
  } else {
104
103
  tweeningValue.value = endValue;
105
104
  }
106
105
  };
107
- animate();
106
+ _animate();
108
107
  };
109
- (0,external_vue_namespaceObject.watch)(function () {
108
+ watch(function () {
110
109
  return props.value;
111
110
  }, function (newValue, oldValue) {
112
111
  tween(oldValue, newValue);
113
112
  });
114
- (0,external_vue_namespaceObject.onMounted)(function () {
113
+ onMounted(function () {
115
114
  tween(0, props.value);
116
115
  });
117
- (0,external_vue_namespaceObject.onBeforeUnmount)(function () {
116
+ onBeforeUnmount(function () {
118
117
  cancelAnimationFrame(rafId);
119
118
  });
120
119
  return function () {
@@ -41,7 +41,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
41
41
  ;// CONCATENATED MODULE: external "vue"
42
42
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
43
43
  var external_vue_y = x => () => x
44
- const external_vue_namespaceObject = external_vue_x({ ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
44
+ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode });
45
45
  ;// CONCATENATED MODULE: external "../config-provider"
46
46
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
47
47
  var config_provider_y = x => () => x
@@ -85,8 +85,7 @@ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTER
85
85
 
86
86
 
87
87
 
88
-
89
- /* harmony default export */ const backtop = ((0,external_vue_namespaceObject.defineComponent)({
88
+ /* harmony default export */ const backtop = (defineComponent({
90
89
  name: 'Backtop',
91
90
  props: {
92
91
  visibilityHeight: shared_namespaceObject.PropTypes.number.def(200),
@@ -97,10 +96,10 @@ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTER
97
96
  },
98
97
  setup: function setup(props, _ref) {
99
98
  var slots = _ref.slots;
100
- var container = (0,external_vue_namespaceObject.ref)(null);
101
- var el = (0,external_vue_namespaceObject.ref)(null);
102
- var visible = (0,external_vue_namespaceObject.ref)(false);
103
- var zIndex = (0,external_vue_namespaceObject.ref)(shared_namespaceObject.bkZIndexManager.getModalNextIndex());
99
+ var container = ref(null);
100
+ var el = ref(null);
101
+ var visible = ref(false);
102
+ var zIndex = ref(shared_namespaceObject.bkZIndexManager.getModalNextIndex());
104
103
  var styleBottom = "".concat(props.bottom, "px");
105
104
  var styleRight = "".concat(props.right, "px");
106
105
  var scrollHandler = (0,throttle_namespaceObject["default"])(function () {
@@ -112,12 +111,12 @@ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTER
112
111
  behavior: 'smooth'
113
112
  });
114
113
  };
115
- (0,external_vue_namespaceObject.watch)(function () {
114
+ watch(function () {
116
115
  return visible;
117
116
  }, function () {
118
117
  zIndex.value = shared_namespaceObject.bkZIndexManager.getModalNextIndex();
119
118
  });
120
- (0,external_vue_namespaceObject.onMounted)(function () {
119
+ onMounted(function () {
121
120
  container.value = document;
122
121
  el.value = document.documentElement;
123
122
  if (props.target) {
@@ -129,14 +128,14 @@ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTER
129
128
  }
130
129
  container.value.addEventListener('scroll', scrollHandler);
131
130
  });
132
- (0,external_vue_namespaceObject.onBeforeUnmount)(function () {
131
+ onBeforeUnmount(function () {
133
132
  container.value.removeEventListener('scroll', scrollHandler);
134
133
  });
135
134
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
136
135
  resolveClassName = _usePrefix.resolveClassName;
137
136
  return function () {
138
137
  var _slots$default, _slots$default2;
139
- return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Transition, {
138
+ return (0,external_vue_namespaceObject.createVNode)(Transition, {
140
139
  "name": "bk-fade"
141
140
  }, {
142
141
  "default": function _default() {
@@ -46,6 +46,7 @@ function _typeof(o) {
46
46
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
47
47
  }, _typeof(o);
48
48
  }
49
+
49
50
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
50
51
 
51
52
  function toPrimitive(t, r) {
@@ -58,29 +59,26 @@ function toPrimitive(t, r) {
58
59
  }
59
60
  return ("string" === r ? String : Number)(t);
60
61
  }
62
+
61
63
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
62
64
 
63
65
 
64
66
  function toPropertyKey(t) {
65
67
  var i = toPrimitive(t, "string");
66
- return "symbol" == _typeof(i) ? i : String(i);
68
+ return "symbol" == _typeof(i) ? i : i + "";
67
69
  }
70
+
68
71
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
69
72
 
70
- function _defineProperty(obj, key, value) {
71
- key = toPropertyKey(key);
72
- if (key in obj) {
73
- Object.defineProperty(obj, key, {
74
- value: value,
75
- enumerable: true,
76
- configurable: true,
77
- writable: true
78
- });
79
- } else {
80
- obj[key] = value;
81
- }
82
- return obj;
73
+ function _defineProperty(e, r, t) {
74
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
75
+ value: t,
76
+ enumerable: !0,
77
+ configurable: !0,
78
+ writable: !0
79
+ }) : e[r] = t, e;
83
80
  }
81
+
84
82
  ;// CONCATENATED MODULE: external "vue"
85
83
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
86
84
  var external_vue_y = x => () => x
@@ -49,6 +49,7 @@ function _typeof(o) {
49
49
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
50
50
  }, _typeof(o);
51
51
  }
52
+
52
53
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
53
54
 
54
55
  function toPrimitive(t, r) {
@@ -61,29 +62,26 @@ function toPrimitive(t, r) {
61
62
  }
62
63
  return ("string" === r ? String : Number)(t);
63
64
  }
65
+
64
66
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
65
67
 
66
68
 
67
69
  function toPropertyKey(t) {
68
70
  var i = toPrimitive(t, "string");
69
- return "symbol" == _typeof(i) ? i : String(i);
71
+ return "symbol" == _typeof(i) ? i : i + "";
70
72
  }
73
+
71
74
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
72
75
 
73
- function _defineProperty(obj, key, value) {
74
- key = toPropertyKey(key);
75
- if (key in obj) {
76
- Object.defineProperty(obj, key, {
77
- value: value,
78
- enumerable: true,
79
- configurable: true,
80
- writable: true
81
- });
82
- } else {
83
- obj[key] = value;
84
- }
85
- return obj;
76
+ function _defineProperty(e, r, t) {
77
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
78
+ value: t,
79
+ enumerable: !0,
80
+ configurable: !0,
81
+ writable: !0
82
+ }) : e[r] = t, e;
86
83
  }
84
+
87
85
  ;// CONCATENATED MODULE: external "vue"
88
86
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
89
87
  var external_vue_y = x => () => x
@@ -50,6 +50,7 @@ function _typeof(o) {
50
50
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
51
51
  }, _typeof(o);
52
52
  }
53
+
53
54
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
54
55
 
55
56
  function toPrimitive(t, r) {
@@ -62,29 +63,26 @@ function toPrimitive(t, r) {
62
63
  }
63
64
  return ("string" === r ? String : Number)(t);
64
65
  }
66
+
65
67
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
66
68
 
67
69
 
68
70
  function toPropertyKey(t) {
69
71
  var i = toPrimitive(t, "string");
70
- return "symbol" == _typeof(i) ? i : String(i);
72
+ return "symbol" == _typeof(i) ? i : i + "";
71
73
  }
74
+
72
75
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
73
76
 
74
- function _defineProperty(obj, key, value) {
75
- key = toPropertyKey(key);
76
- if (key in obj) {
77
- Object.defineProperty(obj, key, {
78
- value: value,
79
- enumerable: true,
80
- configurable: true,
81
- writable: true
82
- });
83
- } else {
84
- obj[key] = value;
85
- }
86
- return obj;
77
+ function _defineProperty(e, r, t) {
78
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
79
+ value: t,
80
+ enumerable: !0,
81
+ configurable: !0,
82
+ writable: !0
83
+ }) : e[r] = t, e;
87
84
  }
85
+
88
86
  ;// CONCATENATED MODULE: external "vue"
89
87
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
90
88
  var external_vue_y = x => () => x
package/lib/card/index.js CHANGED
@@ -50,6 +50,7 @@ function _typeof(o) {
50
50
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
51
51
  }, _typeof(o);
52
52
  }
53
+
53
54
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
54
55
 
55
56
  function toPrimitive(t, r) {
@@ -62,29 +63,26 @@ function toPrimitive(t, r) {
62
63
  }
63
64
  return ("string" === r ? String : Number)(t);
64
65
  }
66
+
65
67
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
66
68
 
67
69
 
68
70
  function toPropertyKey(t) {
69
71
  var i = toPrimitive(t, "string");
70
- return "symbol" == _typeof(i) ? i : String(i);
72
+ return "symbol" == _typeof(i) ? i : i + "";
71
73
  }
74
+
72
75
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
73
76
 
74
- function _defineProperty(obj, key, value) {
75
- key = toPropertyKey(key);
76
- if (key in obj) {
77
- Object.defineProperty(obj, key, {
78
- value: value,
79
- enumerable: true,
80
- configurable: true,
81
- writable: true
82
- });
83
- } else {
84
- obj[key] = value;
85
- }
86
- return obj;
77
+ function _defineProperty(e, r, t) {
78
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
79
+ value: t,
80
+ enumerable: !0,
81
+ configurable: !0,
82
+ writable: !0
83
+ }) : e[r] = t, e;
87
84
  }
85
+
88
86
  ;// CONCATENATED MODULE: external "vue"
89
87
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
90
88
  var external_vue_y = x => () => x