bk-magic-vue 2.4.4 → 2.4.7

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 (56) hide show
  1. package/dist/bk-magic-vue.css +132 -113
  2. package/dist/bk-magic-vue.js +1810 -1052
  3. package/dist/bk-magic-vue.min.css +1 -1
  4. package/dist/bk-magic-vue.min.css.gz +0 -0
  5. package/dist/bk-magic-vue.min.css.map +1 -1
  6. package/dist/bk-magic-vue.min.js +1 -1
  7. package/dist/bk-magic-vue.min.js.gz +0 -0
  8. package/dist/bk-magic-vue.min.js.map +1 -1
  9. package/lib/affix.js +5 -2
  10. package/lib/big-tree.js +9 -1
  11. package/lib/button.js +263 -94
  12. package/lib/card.js +2 -0
  13. package/lib/cascade.js +7 -0
  14. package/lib/dialog.js +278 -109
  15. package/lib/dropdown-menu.js +1936 -1891
  16. package/lib/image-viewer.js +2 -2
  17. package/lib/image.js +2 -2
  18. package/lib/info-box.js +277 -108
  19. package/lib/input.js +2 -0
  20. package/lib/pagination.js +303 -68
  21. package/lib/select.js +255 -20
  22. package/lib/slider.js +2 -0
  23. package/lib/table-setting-content.js +202 -33
  24. package/lib/table.js +88 -8
  25. package/lib/transfer.js +2 -0
  26. package/lib/ui/bk-magic-vue.css +132 -113
  27. package/lib/ui/bk-magic-vue.min.css +1 -1
  28. package/lib/ui/bk-magic-vue.min.css.gz +0 -0
  29. package/lib/ui/bk-magic-vue.min.css.map +1 -1
  30. package/lib/ui/button.css +11 -2
  31. package/lib/ui/button.min.css +1 -1
  32. package/lib/ui/button.min.css.map +1 -1
  33. package/lib/ui/divider.css +0 -17
  34. package/lib/ui/divider.min.css +1 -1
  35. package/lib/ui/divider.min.css.map +1 -1
  36. package/lib/ui/dropdown-menu.css +87 -88
  37. package/lib/ui/dropdown-menu.min.css +1 -1
  38. package/lib/ui/dropdown-menu.min.css.map +1 -1
  39. package/lib/ui/image-viewer.css +14 -8
  40. package/lib/ui/image-viewer.min.css +1 -1
  41. package/lib/ui/image-viewer.min.css.map +1 -1
  42. package/lib/ui/pagination.css +1 -0
  43. package/lib/ui/pagination.min.css +1 -1
  44. package/lib/ui/pagination.min.css.map +1 -1
  45. package/lib/ui/select.css +19 -0
  46. package/lib/ui/select.min.css +1 -1
  47. package/lib/ui/select.min.css.map +1 -1
  48. package/lib/ui/table.css +6 -0
  49. package/lib/ui/table.min.css +1 -1
  50. package/lib/ui/table.min.css.map +1 -1
  51. package/lib/ui/zoom-image.css +1 -0
  52. package/lib/ui/zoom-image.min.css +1 -1
  53. package/lib/ui/zoom-image.min.css.map +1 -1
  54. package/lib/upload.js +1308 -20
  55. package/lib/version-detail.js +238 -69
  56. package/package.json +5 -4
@@ -572,7 +572,7 @@
572
572
  case 'zoomIn':
573
573
  transform.scale = _parseFloat$2((transform.scale + zoomRate).toFixed(3));
574
574
  break;
575
- case 'clocelise':
575
+ case 'clockwise':
576
576
  transform.deg += rotateDeg;
577
577
  break;
578
578
  case 'anticlocelise':
@@ -677,7 +677,7 @@
677
677
  }), _vm.isShowTitle && _vm.urlList.length ? _c('div', {
678
678
  staticClass: "bk-image-viewer-header"
679
679
  }, [_c('div', [_vm._v(_vm._s(_vm.currentName))]), _c('div', {
680
- staticClass: "tc"
680
+ staticClass: "tc "
681
681
  }, [_vm._v(_vm._s(_vm.index + 1) + "/" + _vm._s(_vm.urlList.length))]), _c('div', {
682
682
  staticClass: "quit-box tr"
683
683
  }, [_c('div', {
package/lib/image.js CHANGED
@@ -720,7 +720,7 @@
720
720
  case 'zoomIn':
721
721
  transform.scale = _parseFloat$2((transform.scale + zoomRate).toFixed(3));
722
722
  break;
723
- case 'clocelise':
723
+ case 'clockwise':
724
724
  transform.deg += rotateDeg;
725
725
  break;
726
726
  case 'anticlocelise':
@@ -825,7 +825,7 @@
825
825
  }), _vm.isShowTitle && _vm.urlList.length ? _c('div', {
826
826
  staticClass: "bk-image-viewer-header"
827
827
  }, [_c('div', [_vm._v(_vm._s(_vm.currentName))]), _c('div', {
828
- staticClass: "tc"
828
+ staticClass: "tc "
829
829
  }, [_vm._v(_vm._s(_vm.index + 1) + "/" + _vm._s(_vm.urlList.length))]), _c('div', {
830
830
  staticClass: "quit-box tr"
831
831
  }, [_c('div', {
package/lib/info-box.js CHANGED
@@ -931,105 +931,80 @@
931
931
  var _parseInt$2 = _parseInt$1;
932
932
 
933
933
  var script = {
934
- name: 'bk-button',
934
+ name: 'bk-spin',
935
935
  props: {
936
936
  theme: {
937
937
  type: String,
938
- default: 'default',
938
+ default: 'primary',
939
939
  validator: function validator(value) {
940
- if (['default', 'primary', 'warning', 'success', 'danger'].indexOf(value) < 0) {
940
+ if (!['primary', 'warning', 'success', 'danger', 'info'].includes(value)) {
941
941
  console.error("theme property is not valid: '".concat(value, "'"));
942
942
  return false;
943
943
  }
944
944
  return true;
945
945
  }
946
946
  },
947
- hoverTheme: {
948
- type: String,
949
- default: '',
950
- validator: function validator(value) {
951
- if (['', 'primary', 'warning', 'success', 'danger'].indexOf(value) < 0) {
952
- console.error("hoverTheme property is not valid: '".concat(value, "'"));
953
- return false;
954
- }
955
- return true;
956
- }
957
- },
958
947
  size: {
959
948
  type: String,
960
- default: 'normal',
949
+ default: 'small',
961
950
  validator: function validator(value) {
962
- if (['small', 'normal', 'large'].indexOf(value) < 0) {
951
+ if (!['large', 'normal', 'small', 'mini'].includes(value)) {
963
952
  console.error("size property is not valid: '".concat(value, "'"));
964
953
  return false;
965
954
  }
966
955
  return true;
967
956
  }
968
957
  },
969
- title: {
958
+ icon: {
970
959
  type: String,
971
960
  default: ''
972
961
  },
973
- icon: String,
974
- iconRight: String,
975
- disabled: Boolean,
976
- loading: Boolean,
977
- outline: Boolean,
978
- text: Boolean,
979
- nativeType: {
980
- type: String,
981
- default: 'button'
982
- },
983
962
  extCls: {
984
963
  type: String,
985
964
  default: ''
986
- }
987
- },
988
- data: function data() {
989
- return {
990
- showSlot: true
991
- };
992
- },
993
- computed: {
994
- iconType: function iconType() {
995
- var icon = this.icon || '';
996
- if (icon) {
997
- if (icon.indexOf('icon') === 0) {
998
- icon = icon.replace(/^(icon-)/, '');
999
- }
1000
- }
1001
- return icon;
1002
- },
1003
- iconRightType: function iconRightType() {
1004
- var iconRight = this.iconRight || '';
1005
- if (iconRight) {
1006
- if (iconRight.indexOf('icon') === 0) {
1007
- iconRight = iconRight.replace(/^(icon-)/, '');
1008
- }
1009
- }
1010
- return iconRight;
1011
965
  },
1012
- themeType: function themeType() {
1013
- if (this.text) {
1014
- if (this.theme === 'default') {
1015
- return 'primary';
966
+ placement: {
967
+ type: String,
968
+ default: 'bottom',
969
+ validator: function validator(value) {
970
+ if (!['bottom', 'right'].includes(value)) {
971
+ console.error("placement property is not valid: '".concat(value, "'"));
972
+ return false;
1016
973
  }
974
+ return true;
1017
975
  }
1018
- return this.theme;
1019
976
  },
1020
- buttonCls: function buttonCls() {
1021
- return ["bk-".concat(this.themeType), "bk-button-".concat(this.size), this.hoverTheme ? "bk-button-hover bk-".concat(this.hoverTheme) : this.text ? 'bk-button-text' : 'bk-button', this.disabled ? 'is-disabled' : '', this.loading ? 'is-loading' : '', this.outline ? 'is-outline' : '', !this.showSlot ? 'no-slot' : ''];
977
+ spinning: {
978
+ type: Boolean,
979
+ default: true
1022
980
  }
1023
981
  },
1024
- mounted: function mounted() {
1025
- this.showSlot = this.$slots.default !== undefined;
982
+ data: function data() {
983
+ return {};
1026
984
  },
1027
- methods: {
1028
- handleClick: function handleClick(e) {
1029
- if (!this.disabled && !this.loading) {
1030
- this.$emit('click', e);
1031
- this.$el.blur();
1032
- }
985
+ computed: {
986
+ dotClass: function dotClass() {
987
+ var dotClass = ["bk-spin-rotation", "bk-spin-rotation-".concat(this.size), "bk-spin-rotation-".concat(this.theme)];
988
+ !this.spinning && dotClass.push("bk-spin-rotation-".concat(this.theme, "-wait"));
989
+ this.placement === 'right' && dotClass.push("bk-spin-rotation-flex");
990
+ this.placement === 'bottom' && dotClass.push("bk-spin-rotation-margin");
991
+ return dotClass;
992
+ },
993
+ slotTypeClass: function slotTypeClass() {
994
+ var slotType = ["rotate"];
995
+ this.$slots.default && this.placement === 'right' && slotType.push("slots-".concat(this.placement, "-rotate"));
996
+ return slotType;
997
+ },
998
+ iconClass: function iconClass() {
999
+ var iconClass = ["bk-spin-icon", "bk-spin-icon-".concat(this.size), "bk-spin-icon-".concat(this.theme)];
1000
+ !this.spinning && iconClass.push("bk-spin-icon-wait");
1001
+ this.placement === 'right' && iconClass.push("bk-display-flex");
1002
+ return iconClass;
1003
+ },
1004
+ slotClass: function slotClass() {
1005
+ var slotClass = ["bk-spin-title", "bk-spin-title-".concat(this.placement)];
1006
+ this.placement === 'right' && slotClass.push("bk-spin-title-".concat(this.size), "bk-display-flex");
1007
+ return slotClass;
1033
1008
  }
1034
1009
  }
1035
1010
  };
@@ -1104,39 +1079,49 @@
1104
1079
 
1105
1080
  var _c = _vm._self._c || _h;
1106
1081
 
1107
- return _c('button', _vm._b({
1108
- class: [_vm.buttonCls, _vm.extCls],
1082
+ return _c('transition', {
1109
1083
  attrs: {
1110
- "title": _vm.title,
1111
- "disabled": _vm.disabled,
1112
- "type": _vm.nativeType
1113
- },
1114
- on: {
1115
- "click": _vm.handleClick
1084
+ "name": "fade"
1116
1085
  }
1117
- }, 'button', _vm.$attrs, false), [_vm.loading ? _c('div', {
1118
- staticClass: "bk-button-loading"
1119
1086
  }, [_c('div', {
1120
- staticClass: "bounce1"
1087
+ class: ['bk-spin', _vm.extCls]
1088
+ }, [_c('div', {
1089
+ style: {
1090
+ display: _vm.placement === 'right' ? 'flex' : ''
1091
+ }
1092
+ }, [!_vm.icon ? _c('div', {
1093
+ class: [_vm.dotClass]
1094
+ }, [_c('div', {
1095
+ staticClass: "rotate1",
1096
+ class: _vm.slotTypeClass
1121
1097
  }), _c('div', {
1122
- staticClass: "bounce2"
1098
+ staticClass: "rotate2",
1099
+ class: _vm.slotTypeClass
1123
1100
  }), _c('div', {
1124
- staticClass: "bounce3"
1101
+ staticClass: "rotate3",
1102
+ class: _vm.slotTypeClass
1125
1103
  }), _c('div', {
1126
- staticClass: "bounce4"
1127
- })]) : _vm._e(), _c('div', {
1128
- class: _vm.loading ? 'bk-loading-wrapper' : ''
1129
- }, [_vm.iconType ? _c('i', {
1130
- staticClass: "bk-icon left-icon",
1131
- class: ['icon-' + _vm.iconType, _vm.iconType === 'loading' ? 'bk-button-icon-loading' : '']
1132
- }, [_vm.iconType === 'loading' ? [_c('span', {
1133
- staticClass: "loading"
1134
- })] : _vm._e()], 2) : _vm._e(), _c('span', [_vm._t("default")], 2), _vm.iconRightType ? _c('i', {
1135
- staticClass: "bk-icon right-icon",
1136
- class: ['icon-' + _vm.iconRightType, _vm.iconRightType === 'loading' ? 'bk-button-icon-loading' : '']
1137
- }, [_vm.iconRightType === 'loading' ? [_c('span', {
1138
- staticClass: "loading"
1139
- })] : _vm._e()], 2) : _vm._e()])]);
1104
+ staticClass: "rotate4",
1105
+ class: _vm.slotTypeClass
1106
+ }), _c('div', {
1107
+ staticClass: "rotate5",
1108
+ class: _vm.slotTypeClass
1109
+ }), _c('div', {
1110
+ staticClass: "rotate6",
1111
+ class: _vm.slotTypeClass
1112
+ }), _c('div', {
1113
+ staticClass: "rotate7",
1114
+ class: _vm.slotTypeClass
1115
+ }), _c('div', {
1116
+ staticClass: "rotate8",
1117
+ class: _vm.slotTypeClass
1118
+ })]) : _vm._e(), _vm.icon ? _c('div', {
1119
+ class: [_vm.iconClass]
1120
+ }, [_c('i', {
1121
+ class: ['bk-icon', 'icon-' + _vm.icon]
1122
+ })]) : _vm._e(), _vm.$slots.default ? _c('div', {
1123
+ class: [_vm.slotClass]
1124
+ }, [_vm._t("default")], 2) : _vm._e()])])]);
1140
1125
  };
1141
1126
 
1142
1127
  var __vue_staticRenderFns__ = [];
@@ -1299,6 +1284,190 @@
1299
1284
 
1300
1285
  setInstaller(__vue_component__);
1301
1286
 
1287
+ var script$1 = {
1288
+ name: 'bk-button',
1289
+ components: {
1290
+ BkSpin: __vue_component__
1291
+ },
1292
+ props: {
1293
+ theme: {
1294
+ type: String,
1295
+ default: 'default',
1296
+ validator: function validator(value) {
1297
+ if (['default', 'primary', 'warning', 'success', 'danger'].indexOf(value) < 0) {
1298
+ console.error("theme property is not valid: '".concat(value, "'"));
1299
+ return false;
1300
+ }
1301
+ return true;
1302
+ }
1303
+ },
1304
+ hoverTheme: {
1305
+ type: String,
1306
+ default: '',
1307
+ validator: function validator(value) {
1308
+ if (['', 'primary', 'warning', 'success', 'danger'].indexOf(value) < 0) {
1309
+ console.error("hoverTheme property is not valid: '".concat(value, "'"));
1310
+ return false;
1311
+ }
1312
+ return true;
1313
+ }
1314
+ },
1315
+ size: {
1316
+ type: String,
1317
+ default: 'normal',
1318
+ validator: function validator(value) {
1319
+ if (['small', 'normal', 'large'].indexOf(value) < 0) {
1320
+ console.error("size property is not valid: '".concat(value, "'"));
1321
+ return false;
1322
+ }
1323
+ return true;
1324
+ }
1325
+ },
1326
+ title: {
1327
+ type: String,
1328
+ default: ''
1329
+ },
1330
+ icon: String,
1331
+ iconRight: String,
1332
+ disabled: Boolean,
1333
+ loading: Boolean,
1334
+ outline: Boolean,
1335
+ text: Boolean,
1336
+ nativeType: {
1337
+ type: String,
1338
+ default: 'button'
1339
+ },
1340
+ extCls: {
1341
+ type: String,
1342
+ default: ''
1343
+ }
1344
+ },
1345
+ data: function data() {
1346
+ return {
1347
+ showSlot: true
1348
+ };
1349
+ },
1350
+ computed: {
1351
+ iconType: function iconType() {
1352
+ var icon = this.icon || '';
1353
+ if (icon) {
1354
+ if (icon.indexOf('icon') === 0) {
1355
+ icon = icon.replace(/^(icon-)/, '');
1356
+ }
1357
+ }
1358
+ return icon;
1359
+ },
1360
+ iconRightType: function iconRightType() {
1361
+ var iconRight = this.iconRight || '';
1362
+ if (iconRight) {
1363
+ if (iconRight.indexOf('icon') === 0) {
1364
+ iconRight = iconRight.replace(/^(icon-)/, '');
1365
+ }
1366
+ }
1367
+ return iconRight;
1368
+ },
1369
+ themeType: function themeType() {
1370
+ if (this.text) {
1371
+ if (this.theme === 'default') {
1372
+ return 'primary';
1373
+ }
1374
+ }
1375
+ return this.theme;
1376
+ },
1377
+ buttonCls: function buttonCls() {
1378
+ return ["bk-".concat(this.themeType), "bk-button-".concat(this.size), this.hoverTheme ? "bk-button-hover bk-".concat(this.hoverTheme) : this.text ? 'bk-button-text' : 'bk-button', this.disabled ? 'is-disabled' : '', this.loading ? 'is-loading' : '', this.outline ? 'is-outline' : '', !this.showSlot ? 'no-slot' : ''];
1379
+ }
1380
+ },
1381
+ mounted: function mounted() {
1382
+ this.showSlot = this.$slots.default !== undefined;
1383
+ },
1384
+ methods: {
1385
+ handleClick: function handleClick(e) {
1386
+ if (!this.disabled && !this.loading) {
1387
+ this.$emit('click', e);
1388
+ this.$el.blur();
1389
+ }
1390
+ }
1391
+ }
1392
+ };
1393
+
1394
+ /* script */
1395
+ var __vue_script__$1 = script$1;
1396
+ /* template */
1397
+
1398
+ var __vue_render__$1 = function __vue_render__() {
1399
+ var _vm = this;
1400
+
1401
+ var _h = _vm.$createElement;
1402
+
1403
+ var _c = _vm._self._c || _h;
1404
+
1405
+ return _c('button', _vm._b({
1406
+ class: [_vm.buttonCls, _vm.extCls],
1407
+ attrs: {
1408
+ "title": _vm.title,
1409
+ "disabled": _vm.disabled,
1410
+ "type": _vm.nativeType
1411
+ },
1412
+ on: {
1413
+ "click": _vm.handleClick
1414
+ }
1415
+ }, 'button', _vm.$attrs, false), [_vm.loading ? _c('div', {
1416
+ staticClass: "bk-button-loading"
1417
+ }, [!_vm.text ? [_c('div', {
1418
+ staticClass: "bounce bounce1"
1419
+ }), _c('div', {
1420
+ staticClass: "bounce bounce2"
1421
+ }), _c('div', {
1422
+ staticClass: "bounce bounce3"
1423
+ }), _c('div', {
1424
+ staticClass: "bounce bounce4"
1425
+ })] : [_c('bk-spin', {
1426
+ attrs: {
1427
+ "size": "mini",
1428
+ "theme": _vm.theme
1429
+ }
1430
+ })]], 2) : _vm._e(), _c('div', {
1431
+ class: _vm.loading ? 'bk-loading-wrapper' : ''
1432
+ }, [_vm.iconType ? _c('i', {
1433
+ staticClass: "bk-icon left-icon",
1434
+ class: ['icon-' + _vm.iconType, _vm.iconType === 'loading' ? 'bk-button-icon-loading' : '']
1435
+ }, [_vm.iconType === 'loading' ? [_c('span', {
1436
+ staticClass: "loading"
1437
+ })] : _vm._e()], 2) : _vm._e(), _c('span', [_vm._t("default")], 2), _vm.iconRightType ? _c('i', {
1438
+ staticClass: "bk-icon right-icon",
1439
+ class: ['icon-' + _vm.iconRightType, _vm.iconRightType === 'loading' ? 'bk-button-icon-loading' : '']
1440
+ }, [_vm.iconRightType === 'loading' ? [_c('span', {
1441
+ staticClass: "loading"
1442
+ })] : _vm._e()], 2) : _vm._e()])]);
1443
+ };
1444
+
1445
+ var __vue_staticRenderFns__$1 = [];
1446
+ /* style */
1447
+
1448
+ var __vue_inject_styles__$1 = undefined;
1449
+ /* scoped */
1450
+
1451
+ var __vue_scope_id__$1 = undefined;
1452
+ /* module identifier */
1453
+
1454
+ var __vue_module_identifier__$1 = undefined;
1455
+ /* functional template */
1456
+
1457
+ var __vue_is_functional_template__$1 = false;
1458
+ /* style inject */
1459
+
1460
+ /* style inject SSR */
1461
+
1462
+ /* style inject shadow dom */
1463
+
1464
+ var __vue_component__$1 = /*#__PURE__*/normalizeComponent_1({
1465
+ render: __vue_render__$1,
1466
+ staticRenderFns: __vue_staticRenderFns__$1
1467
+ }, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, undefined, undefined, undefined);
1468
+
1469
+ setInstaller(__vue_component__$1);
1470
+
1302
1471
  var _stringAt = function (TO_STRING) {
1303
1472
  return function (that, pos) {
1304
1473
  var s = String(_defined(that));
@@ -1984,10 +2153,10 @@
1984
2153
  }
1985
2154
  };
1986
2155
 
1987
- var script$1 = {
2156
+ var script$2 = {
1988
2157
  name: 'bk-dialog',
1989
2158
  components: {
1990
- bkButton: __vue_component__
2159
+ bkButton: __vue_component__$1
1991
2160
  },
1992
2161
  directives: {
1993
2162
  transferDom: transferDom
@@ -2555,9 +2724,9 @@
2555
2724
  var img = new Image(); img.src = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAA6CAYAAADhu0ooAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAAJSUlEQVRo3s2aW6gdVxmAv3/OzsnJ7TRtopO2JkaqtU4IUrUSwQdBLGmDaMmbIIi3irYoFn0SzxzQUkGwvorE24tUhCoqXjAkVWmo1XppB9qkrUpKnbSWJuck6bns+X1Ya838s/bsc0nOyc6Czd579uyZ9a3//q8R1mFkZT4OvBs4ANwMegvIbuA6YFJgFvgz8C2FX/q/KUCR5roec5K1utC+cuoahcMgdwHvBd3iLy/NSwUQad/2foWvmvPCqIBqrcAvGzQrpzKQzwOHgS0NkODfLSQgIoP3/bCXrFmUen4VsFikeTUS0KzM94B+DeRDoL0AEU1WDGy4X9Jx02MKH+gATcz3PjB/qcCrBvX2dy/wZWDTIFAtTT9Je2wo6Iw6+03MvLqkm3jYuXUFzcr8JuC7oLc2EG7lBUQdMOa3MLnW5DtUd1bhWkBQEmQADlrS1T7IhdVIN1npiVmZHwI9Crzd309BvaNQVU/YDDUfwq/KwGluPF5DNEsQS9PKZwzYlpX5hjUFzcqpj4MeAdlqJq9eRe08tP3ZzFnCeZ1K9O0ht5Yh34Okt2VlPrEmoFk5dR/wQHOuqgFST6ANfH2MRuJdc67H/Qq/WAKyy1atJ9+alfnm5TiWtNGszD8G+g0TIjDOpcPDIs4JtX5LmklJsNELwGPAgwq/iqQU/a/zty4bni3S/OKqQbMyvxP0OyC97hVVAUk6vGziFyQBCuAYcAJ4GvQ0yGyR5vP+HjaMhFfHInVB1gtnnd3ZIs1fWzFoVk7tBfk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OQjciYvDkZsfcCJWqlH5F6eadXOub8DMAuo8yBPAP1b7JPaqQQ3wDpDDuIeUh4FaaZotyM6FaElRXBpnYU8BJy712YlLBm2A8xuA9+MymRDka0mIK9pjm7Vtm0iiYlV4AZezPlGk+SuXM8/LBjXAm4Fbgf3AXoGedjopIhsccGDzoKeBkyAnhz2tOTLQCHoM1/DeA7oT2IF7ensjzq4VdM5vh5wHXgHOOEB5sUjz/lrP6f89wbRxX0nsEwAAAABJRU5ErkJggg=='; var __$_require_ui_images_default_loading_png__ = img.src;
2556
2725
 
2557
2726
  /* script */
2558
- var __vue_script__$1 = script$1;
2727
+ var __vue_script__$2 = script$2;
2559
2728
 
2560
- var __vue_render__$1 = function __vue_render__() {
2729
+ var __vue_render__$2 = function __vue_render__() {
2561
2730
  var _vm = this;
2562
2731
 
2563
2732
  var _h = _vm.$createElement;
@@ -2806,31 +2975,31 @@
2806
2975
  }) : _vm._e()])]) : _vm._e()]], 2)], 1)]);
2807
2976
  };
2808
2977
 
2809
- var __vue_staticRenderFns__$1 = [];
2978
+ var __vue_staticRenderFns__$2 = [];
2810
2979
  /* style */
2811
2980
 
2812
- var __vue_inject_styles__$1 = undefined;
2981
+ var __vue_inject_styles__$2 = undefined;
2813
2982
  /* scoped */
2814
2983
 
2815
- var __vue_scope_id__$1 = undefined;
2984
+ var __vue_scope_id__$2 = undefined;
2816
2985
  /* module identifier */
2817
2986
 
2818
- var __vue_module_identifier__$1 = undefined;
2987
+ var __vue_module_identifier__$2 = undefined;
2819
2988
  /* functional template */
2820
2989
 
2821
- var __vue_is_functional_template__$1 = false;
2990
+ var __vue_is_functional_template__$2 = false;
2822
2991
  /* style inject */
2823
2992
 
2824
2993
  /* style inject SSR */
2825
2994
 
2826
2995
  /* style inject shadow dom */
2827
2996
 
2828
- var __vue_component__$1 = /*#__PURE__*/normalizeComponent_1({
2829
- render: __vue_render__$1,
2830
- staticRenderFns: __vue_staticRenderFns__$1
2831
- }, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, undefined, undefined, undefined);
2997
+ var __vue_component__$2 = /*#__PURE__*/normalizeComponent_1({
2998
+ render: __vue_render__$2,
2999
+ staticRenderFns: __vue_staticRenderFns__$2
3000
+ }, __vue_inject_styles__$2, __vue_script__$2, __vue_scope_id__$2, __vue_is_functional_template__$2, __vue_module_identifier__$2, false, undefined, undefined, undefined);
2832
3001
 
2833
- var InfoBoxConstructor = Vue.extend(__vue_component__$1);
3002
+ var InfoBoxConstructor = Vue.extend(__vue_component__$2);
2834
3003
  var instancesList = [];
2835
3004
  var seed = 0;
2836
3005
  var Info = function Info() {
package/lib/input.js CHANGED
@@ -739,6 +739,7 @@
739
739
  }
740
740
  },
741
741
  handleNumberDelete: function handleNumberDelete(event) {
742
+ this.curValue === '' && (this.curValue = this.max);
742
743
  var curNumberValue = Number(this.curValue);
743
744
  if (curNumberValue - 1 >= this.min) {
744
745
  var curLenAfterDot = (String(curNumberValue) || '').split('.')[1] || '';
@@ -753,6 +754,7 @@
753
754
  }
754
755
  },
755
756
  handleNumberAdd: function handleNumberAdd(event) {
757
+ this.curValue === '' && (this.curValue = this.min);
756
758
  var curNumberValue = Number(this.curValue);
757
759
  if (curNumberValue <= this.max - 1) {
758
760
  var curLenAfterDot = (String(curNumberValue) || '').split('.')[1] || '';