bk-magic-vue 2.5.6 → 2.5.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 (48) hide show
  1. package/dist/bk-magic-vue.css +240 -2
  2. package/dist/bk-magic-vue.js +1137 -182
  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/dist/fonts/iconcool.eot +0 -0
  10. package/dist/fonts/iconcool.svg +27 -0
  11. package/dist/fonts/iconcool.ttf +0 -0
  12. package/dist/fonts/iconcool.woff +0 -0
  13. package/lib/cascade.js +35 -32
  14. package/lib/locale/lang/en-US.js +5 -1
  15. package/lib/locale/lang/zh-CN.js +5 -1
  16. package/lib/message.js +1182 -623
  17. package/lib/option.js +692 -63
  18. package/lib/pagination.js +383 -105
  19. package/lib/search-select.js +1604 -1288
  20. package/lib/select.js +321 -43
  21. package/lib/table.js +17 -2
  22. package/lib/ui/bk-magic-vue.css +240 -2
  23. package/lib/ui/bk-magic-vue.min.css +1 -1
  24. package/lib/ui/bk-magic-vue.min.css.gz +0 -0
  25. package/lib/ui/bk-magic-vue.min.css.map +1 -1
  26. package/lib/ui/common.css +36 -0
  27. package/lib/ui/common.min.css +1 -1
  28. package/lib/ui/common.min.css.map +1 -1
  29. package/lib/ui/fonts/iconcool.eot +0 -0
  30. package/lib/ui/fonts/iconcool.svg +27 -0
  31. package/lib/ui/fonts/iconcool.ttf +0 -0
  32. package/lib/ui/fonts/iconcool.woff +0 -0
  33. package/lib/ui/iconfont.css +36 -0
  34. package/lib/ui/iconfont.min.css +1 -1
  35. package/lib/ui/iconfont.min.css.map +1 -1
  36. package/lib/ui/message.css +233 -1
  37. package/lib/ui/message.min.css +1 -1
  38. package/lib/ui/message.min.css.map +1 -1
  39. package/lib/ui/search-select-menu.css +7 -1
  40. package/lib/ui/search-select-menu.min.css +1 -1
  41. package/lib/ui/search-select-menu.min.css.map +1 -1
  42. package/lib/ui/search-select.css +5 -0
  43. package/lib/ui/search-select.min.css +1 -1
  44. package/lib/ui/search-select.min.css.map +1 -1
  45. package/lib/ui/select.css +4 -0
  46. package/lib/ui/select.min.css +1 -1
  47. package/lib/ui/select.min.css.map +1 -1
  48. package/package.json +4 -2
Binary file
@@ -797,6 +797,33 @@
797
797
  <glyph glyph-name="uniE208" unicode="&#xE208;" d="M825.6 2.4C825.6-10.4 816-20 803.2-20H249.6C236.8-20 227.2-10.4 227.2 2.4V328.8L96 200.8H163.2V-20C163.2-55.2 192-84 227.2-84H825.6C860.8-84 889.6-55.2 889.6-20V261.6L825.6 200.8V2.4ZM227.2 597.6C227.2 610.4 236.8 620 249.6 620H809.6C822.4 620 832 610.4 832 597.6V300L963.2 437.6H889.6V620C889.6 655.2 860.8 684 825.6 684H227.2C192 684 163.2 655.2 163.2 620V367.2L227.2 431.2V597.6ZM588.8 76C592 92 592 111.2 595.2 127.2 611.2 120.8 732.8 226.4 633.6 268L633.6 268C614.4 236 585.6 200.8 544 168.8 550.4 159.2 553.6 149.6 560 140 537.6 124 518.4 111.2 515.2 108 515.2 108 505.6 117.6 496 140 483.2 133.6 470.4 127.2 454.4 124 377.6 98.4 352 223.2 361.6 248.8 371.2 268 400 306.4 464 322.4 464 335.2 467.2 344.8 470.4 357.6 432 357.6 390.4 360.8 348.8 376.8 358.4 392.8 364.8 408.8 371.2 421.6 371.2 421.6 406.4 405.6 483.2 412 489.6 437.6 502.4 463.2 512 485.6L556.8 466.4C556.8 466.4 547.2 450.4 540.8 421.6 566.4 428 595.2 434.4 620.8 444 633.6 418.4 652.8 405.6 652.8 405.6S598.4 376.8 524.8 364C521.6 351.2 521.6 341.6 518.4 328.8 544 328.8 569.6 328.8 601.6 325.6 614.4 338.4 611.2 357.6 611.2 357.6L659.2 351.2C659.2 351.2 656 338.4 646.4 316 662.4 309.6 704 290.4 710.4 236 729.6 175.2 649.6 69.6 588.8 76L588.8 76 588.8 76ZM406.4 226.4C406.4 213.6 416 168.8 432 168.8S470.4 181.6 470.4 181.6 460.8 229.6 460.8 264.8C432 258.4 406.4 239.2 406.4 226.4L406.4 226.4ZM572.8 274.4C566.4 277.6 515.2 274.4 515.2 274.4 508.8 261.6 521.6 216.8 521.6 216.8S582.4 271.2 572.8 274.4Z" horiz-adv-x="1024" vert-adv-y="1024" />
798
798
 
799
799
 
800
+ <glyph glyph-name="uniE209" unicode="&#xE209;" d="M246.08 686.4V627.36H187.04V538.72H836.96V627.36H777.92V686.4H866.4A29.44 29.44 0 0 0 896 656.96H896V-22.4A29.44 29.44 0 0 0 866.4-52H157.6A29.6 29.6 0 0 0 128-22.4H128V656.96A29.44 29.44 0 0 0 157.6 686.4H246.08ZM600.64 361.6H393.92V318.88H540.32V318.08L409.44 95.68H470.08L600.64 328ZM364.32 716V597.92H305.28V716ZM718.72 716V597.92H659.68V716ZM600.64 686.4V627.36H423.36V686.4Z" horiz-adv-x="1024" vert-adv-y="1024" />
801
+
802
+
803
+ <glyph glyph-name="uniE20A" unicode="&#xE20A;" d="M512 748A448 448 0 1 0 64 300 448 448 0 0 0 512 748ZM512 684A384 384 0 0 1 128 300 384 384 0 0 1 784 28 384 384 0 0 1 784 572 384 384 0 0 1 512 684ZM448 236V556H512V300H768V236Z" horiz-adv-x="1024" vert-adv-y="1024" />
804
+
805
+
806
+ <glyph glyph-name="uniE20B" unicode="&#xE20B;" d="M866.4 654.4H777.92V595.36H836.96V506.72H187.04V595.36H246.08V654.4H157.6A29.44 29.44 0 0 1 128 624.96V-54.4A29.6 29.6 0 0 1 157.6-84H866.4A29.44 29.44 0 0 1 896-54.4V624.96A29.44 29.44 0 0 1 866.4 654.4ZM836.96 447.68V-24.96H187.04V447.68ZM600.64 329.6H393.92V286.88H540.32V286.88L409.44 64.48H470.08L600.64 296.8ZM364.32 684V565.92H305.28V684ZM718.72 684V565.92H659.68V684ZM600.64 654.4V595.36H423.36V654.4Z" horiz-adv-x="1024" vert-adv-y="1024" />
807
+
808
+
809
+ <glyph glyph-name="uniE20C" unicode="&#xE20C;" d="M832 364L618.68 588 617.0133 443.0588 192 443.0588 192 364 832 364ZM832 236L192 236 405.3467 12 407.0133 156.9412 832 156.9412 832 236Z" horiz-adv-x="1024" vert-adv-y="1024" />
810
+
811
+
812
+ <glyph glyph-name="uniE20D" unicode="&#xE20D;" d="M512 812C794.7698 812 1024 582.7698 1024 300 1024 17.2302 794.7698-212 512-212 229.2302-212 0 17.2302 0 300 0 582.7698 229.2302 812 512 812ZM512 675.4667C304.6355 675.4667 136.5333 507.3645 136.5333 300 136.5333 92.6355 304.6355-75.4667 512-75.4667 719.3645-75.4667 887.4667 92.6355 887.4667 300 887.4667 507.3645 719.3645 675.4667 512 675.4667ZM546.1548 536.5106C661.9346 519.9389 750.9333 420.3628 750.9333 300 750.9333 168.0408 643.9592 61.0667 512 61.0667 391.6372 61.0667 292.0611 150.0654 275.4894 265.8452L344.7533 265.837C360.5777 187.9513 429.4434 129.3333 512 129.3333 606.2566 129.3333 682.6667 205.7434 682.6667 300 682.6667 382.5566 624.0487 451.4223 546.163 467.2467L546.1548 536.5106Z" horiz-adv-x="1024" vert-adv-y="1024" />
813
+
814
+
815
+ <glyph glyph-name="uniE20F" unicode="&#xE20F;" d="M938.7497 60.7538C920.8063 57.1766 903.6972 50.2517 888.3171 40.3411 873.2445 24.5232 854.2148 13.0252 833.2014 7.0394 836.0031 25.8516 845.3295 43.0223 859.4187 55.7111 871.2167 73.7188 879.7149 93.683 884.5154 114.6693 884.4496 144.5014 908.5721 168.7426 938.4041 168.8236 968.2362 168.9041 992.4895 144.7938 992.5854 114.9618 992.6808 85.1298 968.5827 60.8644 938.7507 60.7538L938.7497 60.7538ZM839.8874 190.1588C821.9637 202.0404 802.0665 210.6335 781.1284 215.5355 751.2857 215.5355 727.0934 239.7278 727.0934 269.5705 727.0934 299.4133 751.2857 323.6056 781.1284 323.6056 810.9712 323.6056 835.1635 299.4133 835.1635 269.5705 838.6848 251.5989 845.5262 234.4413 855.3371 218.9776 871.0538 203.7834 882.438 184.6757 888.3181 163.6209 869.6374 166.6019 852.5735 175.9827 840.0468 190.1579L839.8475 190.1579 839.8874 190.1588ZM750.8685 380.6027C734.5782 517.0514 593.2861 623.9611 422.3355 623.9611 240.2162 623.9611 92.0398 502.762 92.0398 353.7052 94.9559 270.0112 139.1486 193.1989 210.0369 148.6114 221.5372 140.1368 233.5699 132.4094 246.0605 125.4767L231.4116 66.9986C236.6943 64.5166 241.8177 61.8753 247.2209 59.5935L321.1895 96.5773C331.996 93.7756 343.3641 91.9749 354.6506 90.0536 361.8555 88.7728 369.0604 87.4521 376.4656 86.5716 422.5932 80.7561 469.3961 83.4422 514.5556 94.4967 515.953 74.4834 519.6048 54.6918 525.4417 35.4977 491.6426 27.5745 457.0499 23.5325 422.3346 23.4502 391.1907 23.626 360.1499 27.0467 329.7151 33.6571L195.5056-33.3476C185.0704-38.6853 172.4692-37.3674 163.3642-29.9861 154.2235-22.6634 150.1763-10.6931 152.998 0.6742L177.0132 97.3771C89.0088 153.3427 34.6399 249.4462 32 353.7052 32 536.1434 206.7532 684 422.3346 684 627.027 684 794.6569 550.5532 810.987 380.9224 801.5855 382.3694 792.1124 383.3046 782.6094 383.7242 772.0022 383.3238 761.395 382.3238 750.8675 380.6426L750.8685 380.6027ZM626.1874 167.5441C644.1598 171.1465 661.2509 178.0308 676.6209 187.9568 691.7142 203.7516 710.7574 215.222 731.7765 221.1787 728.9119 202.4306 719.6319 185.257 705.5194 172.5868 693.712 154.5754 685.2262 134.5621 680.4236 113.5887 680.4674 83.7619 656.3353 59.5407 626.5085 59.4743 596.6817 59.4082 572.4424 83.5221 572.3535 113.3488 572.2651 143.1755 596.3607 167.433 626.1874 167.5441L626.1874 167.5441ZM723.5307 37.5394C741.3827 25.5717 761.2357 16.9256 782.1294 11.9227 803.9845 11.9227 823.6877-1.2425 832.0513-21.434 840.4149-41.6255 835.7918-64.867 820.3379-80.3209 804.884-95.7748 781.6426-100.3978 761.451-92.0342 741.2595-83.6706 728.0943-63.9675 728.0943-42.1123 724.6504-24.1186 717.8619-6.9306 708.081 8.5603 692.4234 23.824 681.1209 42.9882 675.3391 64.0764 694.0372 60.9995 711.0783 51.5023 723.5307 37.2187L723.5307 37.5394Z" horiz-adv-x="1024" vert-adv-y="1024" />
816
+
817
+
818
+ <glyph glyph-name="uniE210" unicode="&#xE210;" d="M893.3333 716C912.4693 716 928 700.4693 928 681.3333L928 57.3333C928 38.1973 912.4693 22.6667 893.3333 22.6667L789.3333 22.6667 789.3333-81.3333C789.3333-100.4693 773.8027-116 754.6667-116L130.6667-116C111.5307-116 96-100.4693 96-81.3333L96 542.6667C96 561.8027 111.5307 577.3333 130.6667 577.3333L234.6667 577.3333 234.6667 681.3333C234.6667 700.4693 250.1973 716 269.3333 716ZM720 508L165.3333 508 165.3333-46.6667 720-46.6667 720 508ZM625.4545 148.7273L625.4545 73.0909 247.2727 73.0909 247.2727 148.7273 625.4545 148.7273ZM858.6667 646.6667L304 646.6667 304 577.3333 754.6667 577.3333C773.8027 577.3333 789.3333 561.8027 789.3333 542.6667L789.3333 92 858.6667 92 858.6667 646.6667ZM625.4545 262.1818L625.4545 186.5455 247.2727 186.5455 247.2727 262.1818 625.4545 262.1818ZM625.4545 375.6364L625.4545 300 247.2727 300 247.2727 375.6364 625.4545 375.6364Z" horiz-adv-x="1024" vert-adv-y="1024" />
819
+
820
+
821
+ <glyph glyph-name="uniE211" unicode="&#xE211;" d="M917.3054 432.6065L644.6574 705.2664C637.7658 712.164 628.4074 716.0273 618.6572 715.9999 608.907 716.0273 599.5487 712.164 592.6571 705.2664L414.4 526.8768C400.8783 528.4004 387.2806 529.1505 373.6733 529.1233 290.63 529.2492 210.0308 501.0265 145.2047 449.1225 137.0603 442.5828 132.0809 432.8881 131.5094 422.4584 130.938 412.0287 134.8284 401.8479 142.2095 394.4574L343.2635 193.3947 104.8941-44.7354C101.9839-47.6325 100.1871-51.4621 99.8189-55.552L96.0748-96.738C95.6181-101.6831 97.2669-106.5917 100.6164-110.2581 103.966-113.9246 108.7058-116.0091 113.6718-115.9998 114.2126-115.9998 114.7534-115.9998 115.3358-115.875L156.52-112.1308C160.6152-111.7513 164.4453-109.9393 167.3361-107.0137L405.6639 131.3244 606.7179-69.7383C613.6096-76.6359 622.9679-80.4992 632.7181-80.4716 643.864-80.4976 654.4145-75.4441 661.3807-66.7429 722.036 9.1429 749.9832 106.0566 739.0484 202.5888L917.3054 380.8536C931.5649 395.1576 931.5649 418.3024 917.3054 432.6065ZM682.5968 258.7099L655.515 231.5854 659.6751 193.5195C666.2791 134.6395 654.5399 75.1566 626.0621 23.2007L235.3941 414.1352C287.2991 442.7083 346.792 454.4679 405.6639 447.7913L443.7282 443.5895 470.8515 470.6724 618.782 618.6093 830.6521 406.73 682.5968 258.6683 682.5968 258.7099Z" horiz-adv-x="1024" vert-adv-y="1024" />
822
+
823
+
824
+ <glyph glyph-name="uniE212" unicode="&#xE212;" d="M618.6572 715.9999C628.4074 716.0273 637.7658 712.164 644.6574 705.2664L917.3054 432.6065C931.5649 418.3024 931.5649 395.1576 917.3054 380.8535L739.0484 202.5887C749.9832 106.0565 722.036 9.1427 661.3807-66.7431 654.4145-75.4443 643.864-80.4977 632.7181-80.4718 622.9679-80.4994 613.6096-76.6361 606.7179-69.7384L405.6639 131.3243 167.3361-107.0139C164.4453-109.9395 160.6152-111.7515 156.52-112.1309L115.3358-115.8751C114.7534-116.0001 114.2126-116.0001 113.6718-116.0001 108.7058-116.0093 103.966-113.9247 100.6164-110.2583 97.2669-106.5919 95.6181-101.6833 96.0748-96.7382L99.8189-55.5521C100.1871-51.4622 101.9839-47.6327 104.8941-44.7356L343.2635 193.3946 142.2095 394.4574C134.8284 401.8479 130.938 412.0286 131.5094 422.4583 132.0809 432.888 137.0603 442.5827 145.2047 449.1225 210.0308 501.0265 290.63 529.2492 373.6733 529.1232 387.2806 529.1505 400.8783 528.4004 414.4 526.8767L592.6571 705.2664C599.5487 712.164 608.907 716.0273 618.6572 715.9999Z" horiz-adv-x="1024" vert-adv-y="1024" />
825
+
826
+
800
827
 
801
828
  </font>
802
829
  </defs>
Binary file
Binary file
package/lib/cascade.js CHANGED
@@ -5201,7 +5201,7 @@
5201
5201
  for (var j = 0; j < _this.list.length; j++) {
5202
5202
  if (valueList[i] === _this.list[j].id) {
5203
5203
  _this.handleItemFn(_this.list[j], true);
5204
- valueList.splice(0, 1);
5204
+ valueList.splice(i, 1);
5205
5205
  _this.$nextTick(function () {
5206
5206
  _this.broadcast('bkCaspanel', 'change-selected', {
5207
5207
  idList: valueList
@@ -5670,11 +5670,6 @@
5670
5670
  }
5671
5671
  }
5672
5672
  },
5673
- selectedName: function selectedName() {
5674
- if (this.filterable && !this.multiple) {
5675
- this.searchContent = this.selectedName;
5676
- }
5677
- },
5678
5673
  list: {
5679
5674
  handler: function handler(newValue) {
5680
5675
  var _this = this;
@@ -5781,14 +5776,21 @@
5781
5776
  });
5782
5777
  },
5783
5778
  mounted: function mounted() {
5779
+ var _this3 = this;
5784
5780
  this.initValue();
5785
5781
  if (this.isRemote) {
5786
5782
  this.filterable = false;
5787
5783
  }
5784
+ if (this.filterable && !this.multiple) {
5785
+ this.searchContent = this.selectedName;
5786
+ this.$nextTick(function () {
5787
+ _this3.tippyInstance();
5788
+ });
5789
+ }
5788
5790
  },
5789
5791
  methods: {
5790
5792
  recurrenceNodes: function recurrenceNodes(list) {
5791
- var _this3 = this;
5793
+ var _this4 = this;
5792
5794
  if (!isArray$1(list) || !list.length) {
5793
5795
  return [];
5794
5796
  }
@@ -5797,11 +5799,11 @@
5797
5799
  nameKey = _this$nodeOptions.nameKey,
5798
5800
  childrenKey = _this$nodeOptions.childrenKey;
5799
5801
  list.forEach(function (item, index) {
5800
- item.id = _this3.multiple ? String(item[idKey]) : item[idKey];
5802
+ item.id = _this4.multiple ? String(item[idKey]) : item[idKey];
5801
5803
  item.name = item[nameKey] || '';
5802
5804
  var children = item[childrenKey];
5803
5805
  if (isArray$1(children)) {
5804
- item.children = _this3.recurrenceNodes(children);
5806
+ item.children = _this4.recurrenceNodes(children);
5805
5807
  }
5806
5808
  });
5807
5809
  return list;
@@ -5842,6 +5844,7 @@
5842
5844
  this.selectedList = [];
5843
5845
  this.tmpSelected = [];
5844
5846
  this.exposedId(this.currentList, _oldId);
5847
+ this.searchContent = '';
5845
5848
  }
5846
5849
  this.broadcast('bkCaspanel', 'on-clear');
5847
5850
  this.tippyInstance();
@@ -5907,28 +5910,28 @@
5907
5910
  });
5908
5911
  },
5909
5912
  getSearchList: function getSearchList() {
5910
- var _this4 = this;
5913
+ var _this5 = this;
5911
5914
  var selections = this.changeList();
5912
5915
  this.searchList = selections.filter(function (item) {
5913
- return item.name && item.name.indexOf(_this4.searchContent) > -1;
5916
+ return item.name && item.name.indexOf(_this5.searchContent) > -1;
5914
5917
  });
5915
5918
  if (!this.multiple) {
5916
5919
  this.searchList.forEach(function (item) {
5917
- item.isSelected = _this4.currentList.join(',') === item.id.join(',');
5920
+ item.isSelected = _this5.currentList.join(',') === item.id.join(',');
5918
5921
  });
5919
5922
  }
5920
5923
  },
5921
5924
  changeList: function changeList() {
5922
- var _this5 = this;
5925
+ var _this6 = this;
5923
5926
  var listInfo = JSON.parse(stringify$1(this.cascadeList));
5924
5927
  var selections = [];
5925
5928
  var getSelections = function getSelections(arr, id, name) {
5926
5929
  arr.forEach(function (item) {
5927
- item.id = id ? id + _this5.separator + item.id : item.id;
5928
- item.name = name ? name + _this5.separator + item.name : item.name;
5929
- if (_this5.checkAnyLevel) {
5930
+ item.id = id ? id + _this6.separator + item.id : item.id;
5931
+ item.name = name ? name + _this6.separator + item.name : item.name;
5932
+ if (_this6.checkAnyLevel) {
5930
5933
  selections.push({
5931
- id: String(item.id).split(_this5.separator),
5934
+ id: String(item.id).split(_this6.separator),
5932
5935
  name: item.name,
5933
5936
  disabled: !!item.disabled,
5934
5937
  isSelected: !!item.isSelected
@@ -5946,7 +5949,7 @@
5946
5949
  return false;
5947
5950
  }
5948
5951
  selections.push({
5949
- id: item.id.split(_this5.separator),
5952
+ id: item.id.split(_this6.separator),
5950
5953
  name: item.name,
5951
5954
  disabled: !!item.disabled,
5952
5955
  isSelected: !!item.isSelected
@@ -5976,18 +5979,18 @@
5976
5979
  });
5977
5980
  },
5978
5981
  recursiveList: function recursiveList(arr, valueList, type) {
5979
- var _this6 = this;
5982
+ var _this7 = this;
5980
5983
  arr.forEach(function (arrItem) {
5981
5984
  if (type === 'init') {
5982
- _this6.$set(arrItem, 'isSelected', false);
5983
- _this6.$set(arrItem, 'isIndeterminate', false);
5985
+ _this7.$set(arrItem, 'isSelected', false);
5986
+ _this7.$set(arrItem, 'isIndeterminate', false);
5984
5987
  }
5985
5988
  valueList.forEach(function (item) {
5986
5989
  if (isArray$1(item)) {
5987
5990
  if (item[item.length - 1] === arrItem.id) {
5988
5991
  arrItem.isSelected = true;
5989
5992
  }
5990
- if (!_this6.checkAnyLevel) {
5993
+ if (!_this7.checkAnyLevel) {
5991
5994
  item.forEach(function (child) {
5992
5995
  if (child === arrItem.id) {
5993
5996
  arrItem.isIndeterminate = true;
@@ -5997,12 +6000,12 @@
5997
6000
  }
5998
6001
  });
5999
6002
  if (arrItem.children && arrItem.children.length) {
6000
- _this6.recursiveList(arrItem.children, valueList, type);
6003
+ _this7.recursiveList(arrItem.children, valueList, type);
6001
6004
  }
6002
6005
  });
6003
6006
  },
6004
6007
  checkListStatus: function checkListStatus(currentValue) {
6005
- var _this7 = this;
6008
+ var _this8 = this;
6006
6009
  if (!this.checkAnyLevel) {
6007
6010
  var valueList = [];
6008
6011
  currentValue.forEach(function (item) {
@@ -6023,7 +6026,7 @@
6023
6026
  }
6024
6027
  });
6025
6028
  };
6026
- checkInfo(_this7.cascadeList);
6029
+ checkInfo(_this8.cascadeList);
6027
6030
  };
6028
6031
  for (var i = 0; i <= value; i++) {
6029
6032
  _loop(i);
@@ -6031,7 +6034,7 @@
6031
6034
  }
6032
6035
  },
6033
6036
  handleSelectItem: function handleSelectItem(item, index) {
6034
- var _this8 = this;
6037
+ var _this9 = this;
6035
6038
  if (item.disabled) {
6036
6039
  return;
6037
6040
  }
@@ -6065,19 +6068,19 @@
6065
6068
  this.selectedList = [];
6066
6069
  this.updateSelected();
6067
6070
  setTimeout(function () {
6068
- _this8.searchContent = _this8.selectedName;
6069
- _this8.exposedId(_this8.currentList, oldVal);
6070
- _this8.tippyInstance();
6071
+ _this9.searchContent = _this9.selectedName;
6072
+ _this9.exposedId(_this9.currentList, oldVal);
6073
+ _this9.tippyInstance();
6071
6074
  }, 0);
6072
6075
  }
6073
6076
  },
6074
6077
  handleScrollToRight: function handleScrollToRight() {
6075
- var _this9 = this;
6078
+ var _this10 = this;
6076
6079
  if (/^\d+(px|vh|vm|re?m)?$/.test(this.maxWidth)) {
6077
6080
  if (this.$refs.refDropdownContent && this.$refs.refDropdownContent.$el) {
6078
6081
  this.$nextTick(function () {
6079
- var wrapper = _this9.$refs.refDropContentWrapper;
6080
- var target = _this9.$refs.refDropdownContent.$el;
6082
+ var wrapper = _this10.$refs.refDropContentWrapper;
6083
+ var target = _this10.$refs.refDropdownContent.$el;
6081
6084
  var scrollWidth = target.clientWidth;
6082
6085
  var parentWidth = wrapper.clientWidth;
6083
6086
  var left = scrollWidth > parentWidth ? scrollWidth - parentWidth : 0;
@@ -145,7 +145,11 @@
145
145
  },
146
146
  message: {
147
147
  copy: 'copy',
148
- copied: 'copied'
148
+ copied: 'copied',
149
+ assistant: 'Assistant',
150
+ details: 'Details',
151
+ copySuccess: 'Successfully',
152
+ copyFailed: 'Copy Failed'
149
153
  },
150
154
  image: {
151
155
  zoomIn: 'zoom in',
@@ -145,7 +145,11 @@
145
145
  },
146
146
  message: {
147
147
  copy: '复制',
148
- copied: '已复制'
148
+ copied: '已复制',
149
+ assistant: '助手',
150
+ details: '详情',
151
+ copySuccess: '复制成功',
152
+ copyFailed: '复制失败'
149
153
  },
150
154
  image: {
151
155
  zoomIn: '放大',