bk-magic-vue 2.5.4-beta.9 → 2.5.4

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.
@@ -15091,97 +15091,91 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15091
15091
  border-radius:3px;
15092
15092
  background-color:#dcdee5;
15093
15093
  }
15094
- .bk-version .markdown-theme-style{
15094
+ .bk-version-markdown-theme{
15095
15095
  font-size:14px;
15096
15096
  color:#313238;
15097
15097
  }
15098
- .bk-version .markdown-theme-style h1,
15099
- .bk-version .markdown-theme-style h2,
15100
- .bk-version .markdown-theme-style h3,
15101
- .bk-version .markdown-theme-style h4,
15102
- .bk-version .markdown-theme-style h5{
15098
+ .bk-version-markdown-theme h1,
15099
+ .bk-version-markdown-theme h2,
15100
+ .bk-version-markdown-theme h3,
15101
+ .bk-version-markdown-theme h4,
15102
+ .bk-version-markdown-theme h5{
15103
15103
  height:auto;
15104
15104
  margin:10px 0;
15105
15105
  font:normal 14px/1.5
15106
- "Helvetica Neue",
15107
- Helvetica,
15108
- Arial,
15109
- "Lantinghei SC",
15110
- "Hiragino Sans GB",
15111
- "Microsoft Yahei",
15112
- sans-serif;
15106
+ -apple-system,Helvetica Neue,Helvetica,Arial,PingFang SC,Microsoft YaHei,SimSun,sans-serif;
15113
15107
  font-weight:bold;
15114
15108
  color:#34383e;
15115
15109
  }
15116
- .bk-version .markdown-theme-style h1{
15110
+ .bk-version-markdown-theme h1{
15117
15111
  font-size:30px;
15118
15112
  }
15119
- .bk-version .markdown-theme-style h2{
15113
+ .bk-version-markdown-theme h2{
15120
15114
  font-size:24px;
15121
15115
  }
15122
- .bk-version .markdown-theme-style h3{
15116
+ .bk-version-markdown-theme h3{
15123
15117
  font-size:18px;
15124
15118
  }
15125
- .bk-version .markdown-theme-style h4{
15119
+ .bk-version-markdown-theme h4{
15126
15120
  font-size:16px;
15127
15121
  }
15128
- .bk-version .markdown-theme-style h5{
15122
+ .bk-version-markdown-theme h5{
15129
15123
  font-size:14px;
15130
15124
  }
15131
- .bk-version .markdown-theme-style em{
15125
+ .bk-version-markdown-theme em{
15132
15126
  font-style:italic;
15133
15127
  }
15134
- .bk-version .markdown-theme-style div,
15135
- .bk-version .markdown-theme-style p,
15136
- .bk-version .markdown-theme-style font,
15137
- .bk-version .markdown-theme-style span,
15138
- .bk-version .markdown-theme-style li{
15128
+ .bk-version-markdown-theme div,
15129
+ .bk-version-markdown-theme p,
15130
+ .bk-version-markdown-theme font,
15131
+ .bk-version-markdown-theme span,
15132
+ .bk-version-markdown-theme li{
15139
15133
  line-height:1.3;
15140
15134
  }
15141
- .bk-version .markdown-theme-style p{
15135
+ .bk-version-markdown-theme p{
15142
15136
  margin:0 0 1em;
15143
15137
  }
15144
- .bk-version .markdown-theme-style table,
15145
- .bk-version .markdown-theme-style table p{
15138
+ .bk-version-markdown-theme table,
15139
+ .bk-version-markdown-theme table p{
15146
15140
  margin:0;
15147
15141
  }
15148
- .bk-version .markdown-theme-style ul,
15149
- .bk-version .markdown-theme-style ol{
15142
+ .bk-version-markdown-theme ul,
15143
+ .bk-version-markdown-theme ol{
15150
15144
  padding-left:40px;
15151
15145
  margin:10px 0 10px;
15152
15146
  text-indent:0;
15153
15147
  }
15154
- .bk-version .markdown-theme-style ul{
15148
+ .bk-version-markdown-theme ul{
15155
15149
  list-style:disc
15156
15150
  }
15157
- .bk-version .markdown-theme-style ul > li{
15151
+ .bk-version-markdown-theme ul > li{
15158
15152
  line-height:1.8;
15159
15153
  white-space:normal;
15160
15154
  list-style:disc;
15161
15155
  }
15162
- .bk-version .markdown-theme-style ol{
15156
+ .bk-version-markdown-theme ol{
15163
15157
  list-style:decimal
15164
15158
  }
15165
- .bk-version .markdown-theme-style ol > li{
15159
+ .bk-version-markdown-theme ol > li{
15166
15160
  line-height:1.8;
15167
15161
  white-space:normal;
15168
15162
  list-style:decimal;
15169
15163
  }
15170
- .bk-version .markdown-theme-style li > ul{
15164
+ .bk-version-markdown-theme li > ul{
15171
15165
  margin-bottom:10px;
15172
15166
  }
15173
- .bk-version .markdown-theme-style li ol{
15167
+ .bk-version-markdown-theme li ol{
15174
15168
  padding-left:20px !important;
15175
15169
  }
15176
- .bk-version .markdown-theme-style ul ul,
15177
- .bk-version .markdown-theme-style ul ol,
15178
- .bk-version .markdown-theme-style ol ol,
15179
- .bk-version .markdown-theme-style ol ul{
15170
+ .bk-version-markdown-theme ul ul,
15171
+ .bk-version-markdown-theme ul ol,
15172
+ .bk-version-markdown-theme ol ol,
15173
+ .bk-version-markdown-theme ol ul{
15180
15174
  margin-bottom:0;
15181
15175
  margin-left:20px;
15182
15176
  }
15183
- .bk-version .markdown-theme-style pre,
15184
- .bk-version .markdown-theme-style code{
15177
+ .bk-version-markdown-theme pre,
15178
+ .bk-version-markdown-theme code{
15185
15179
  width:95%;
15186
15180
  padding:0 3px 2px;
15187
15181
  font-family:Monaco, Menlo, Consolas, "Courier New", monospace;
@@ -15189,13 +15183,13 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15189
15183
  color:#333;
15190
15184
  border-radius:3px;
15191
15185
  }
15192
- .bk-version .markdown-theme-style code{
15186
+ .bk-version-markdown-theme code{
15193
15187
  padding:2px 4px;
15194
15188
  font-family:Consolas, monospace, tahoma, Arial;
15195
15189
  color:#d14;
15196
15190
  border:1px solid #e1e1e8;
15197
15191
  }
15198
- .bk-version .markdown-theme-style pre{
15192
+ .bk-version-markdown-theme pre{
15199
15193
  display:block;
15200
15194
  padding:9.5px;
15201
15195
  margin:0 0 10px;
@@ -15209,32 +15203,32 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15209
15203
  border:1px solid rgba(0,0,0,0.15);
15210
15204
  border-radius:2px;
15211
15205
  }
15212
- .bk-version .markdown-theme-style pre code{
15206
+ .bk-version-markdown-theme pre code{
15213
15207
  padding:0;
15214
15208
  white-space:pre-wrap;
15215
15209
  border:0;
15216
15210
  }
15217
- .bk-version .markdown-theme-style blockquote{
15211
+ .bk-version-markdown-theme blockquote{
15218
15212
  padding:0 0 0 14px;
15219
15213
  margin:0 0 20px;
15220
15214
  border-left:5px solid #dfdfdf;
15221
15215
  }
15222
- .bk-version .markdown-theme-style blockquote ::before,
15223
- .bk-version .markdown-theme-style blockquote ::after{
15216
+ .bk-version-markdown-theme blockquote ::before,
15217
+ .bk-version-markdown-theme blockquote ::after{
15224
15218
  content:"";
15225
15219
  }
15226
- .bk-version .markdown-theme-style blockquote p{
15220
+ .bk-version-markdown-theme blockquote p{
15227
15221
  margin-bottom:0;
15228
15222
  font-size:14px;
15229
15223
  font-weight:300;
15230
15224
  line-height:25px;
15231
15225
  }
15232
- .bk-version .markdown-theme-style blockquote small{
15226
+ .bk-version-markdown-theme blockquote small{
15233
15227
  display:block;
15234
15228
  line-height:20px;
15235
15229
  color:#999;
15236
15230
  }
15237
- .bk-version .markdown-theme-style blockquote small ::before{
15231
+ .bk-version-markdown-theme blockquote small ::before{
15238
15232
  content:"\2014 \00A0";
15239
15233
  }
15240
15234
  .version-detail-dialog .bk-dialog-tool .bk-dialog-close{
@@ -10042,6 +10042,45 @@
10042
10042
  }
10043
10043
  return isOverflow;
10044
10044
  }
10045
+ function addWheelListener(elem, callback, useCapture) {
10046
+ var prefix = '';
10047
+ var _addEventListener;
10048
+ if (window.addEventListener) {
10049
+ _addEventListener = 'addEventListener';
10050
+ } else {
10051
+ _addEventListener = 'attachEvent';
10052
+ prefix = 'on';
10053
+ }
10054
+ var support = 'onwheel' in document.createElement('div') ? 'wheel' : document.onmousewheel !== undefined ? 'mousewheel' : 'DOMMouseScroll';
10055
+ function _addWheelListener(elem, eventName, callback, useCapture) {
10056
+ elem[_addEventListener](prefix + eventName, support === 'wheel' ? callback : function (originalEvent) {
10057
+ !originalEvent && (originalEvent = window.event);
10058
+ var event = {
10059
+ originalEvent: originalEvent,
10060
+ target: originalEvent.target || originalEvent.srcElement,
10061
+ type: 'wheel',
10062
+ deltaMode: originalEvent.type === 'MozMousePixelScroll' ? 0 : 1,
10063
+ deltaX: 0,
10064
+ deltaZ: 0,
10065
+ preventDefault: function preventDefault() {
10066
+ originalEvent.preventDefault ? originalEvent.preventDefault() : originalEvent.returnValue = false;
10067
+ }
10068
+ };
10069
+ if (support === 'mousewheel') {
10070
+ event.deltaY = -1 / 40 * originalEvent.wheelDelta;
10071
+ originalEvent.wheelDeltaX && (event.deltaX = -1 / 40 * originalEvent.wheelDeltaX);
10072
+ } else {
10073
+ event.deltaY = originalEvent.detail;
10074
+ }
10075
+ return callback(event);
10076
+ }, useCapture || false);
10077
+ }
10078
+ if (support === 'DOMMouseScroll') {
10079
+ _addWheelListener(elem, 'MozMousePixelScroll', callback, useCapture);
10080
+ } else {
10081
+ _addWheelListener(elem, support, callback, useCapture);
10082
+ }
10083
+ }
10045
10084
 
10046
10085
  var timeMixins = {
10047
10086
  props: {
@@ -27700,6 +27739,11 @@
27700
27739
  document.addEventListener('mousemove', debouncedOnMouseMove);
27701
27740
  }
27702
27741
  });
27742
+ addWheelListener(popper, function (event) {
27743
+ var ev = event || window.event;
27744
+ ev.stopPropagation && ev.stopPropagation();
27745
+ ev.preventDefault && ev.preventDefault();
27746
+ }, false);
27703
27747
  return instance;
27704
27748
  function removeFollowCursorListener() {
27705
27749
  document.removeEventListener('mousemove', positionVirtualReferenceNearCursor);
@@ -28399,10 +28443,10 @@
28399
28443
  var createTippy$1 = function createTippy(el, binding) {
28400
28444
  var value = binding.value;
28401
28445
  var options = _objectSpread({}, defaultOptions);
28402
- if (value.allowHtml || value.allowHTML) {
28403
- value.allowHTML = true;
28404
- }
28405
28446
  if (_typeof(value) === 'object') {
28447
+ if (value.allowHtml || value.allowHTML) {
28448
+ value.allowHTML = true;
28449
+ }
28406
28450
  _extends(options, value);
28407
28451
  } else {
28408
28452
  options.content = value;
@@ -51076,7 +51120,7 @@
51076
51120
  }
51077
51121
  }, [_vm._t("default", function () {
51078
51122
  return [_vm.mdMode ? _c('div', {
51079
- staticClass: "markdown-theme-style",
51123
+ staticClass: "bk-version-markdown-theme",
51080
51124
  domProps: {
51081
51125
  "innerHTML": _vm._s(_vm.logContent)
51082
51126
  }