bk-magic-vue 2.3.2-beta.4 → 2.3.2-beta.6

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 (111) hide show
  1. package/dist/bk-magic-vue.css +4 -4
  2. package/dist/bk-magic-vue.js +1507 -2471
  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/alert.js +5 -11
  10. package/lib/animate-number.js +2 -9
  11. package/lib/badge.js +7 -25
  12. package/lib/big-tree.js +2549 -2788
  13. package/lib/breadcrumb-item.js +3 -10
  14. package/lib/breadcrumb.js +1 -9
  15. package/lib/button.js +1 -9
  16. package/lib/card.js +41 -70
  17. package/lib/cascade.js +442 -698
  18. package/lib/checkbox-group.js +2 -16
  19. package/lib/checkbox.js +972 -1179
  20. package/lib/col.js +9 -17
  21. package/lib/collapse-item.js +1 -10
  22. package/lib/collapse.js +1 -9
  23. package/lib/color-picker.js +38 -96
  24. package/lib/compose-form-item.js +1 -4
  25. package/lib/container.js +3 -11
  26. package/lib/date-picker.js +202 -330
  27. package/lib/dialog.js +2572 -2782
  28. package/lib/diff.js +2 -10
  29. package/lib/directives/clickoutside.js +2 -2
  30. package/lib/directives/overflow-tips.js +57 -73
  31. package/lib/directives/tooltips.js +65 -79
  32. package/lib/directives/transfer-dom.js +1 -4
  33. package/lib/divider.js +1 -9
  34. package/lib/dropdown-menu.js +7 -17
  35. package/lib/exception.js +5 -14
  36. package/lib/fixed-navbar.js +2 -13
  37. package/lib/form-item.js +253 -483
  38. package/lib/form.js +5 -22
  39. package/lib/icon.js +4 -5
  40. package/lib/image-viewer.js +22 -35
  41. package/lib/image.js +45 -72
  42. package/lib/info-box.js +2701 -2918
  43. package/lib/input.js +10 -33
  44. package/lib/link.js +1 -9
  45. package/lib/loading.js +9 -21
  46. package/lib/locale/index.js +5 -11
  47. package/lib/message.js +10 -22
  48. package/lib/navigation-menu-group.js +0 -4
  49. package/lib/navigation-menu-item.js +6 -19
  50. package/lib/navigation-menu.js +1046 -1252
  51. package/lib/navigation.js +34 -39
  52. package/lib/notify.js +20 -34
  53. package/lib/option-group.js +5 -10
  54. package/lib/option.js +15 -20
  55. package/lib/pagination.js +6706 -7013
  56. package/lib/popconfirm.js +66 -83
  57. package/lib/popover.js +55 -66
  58. package/lib/process.js +2 -17
  59. package/lib/progress.js +4 -10
  60. package/lib/radio-button.js +6 -13
  61. package/lib/radio-group.js +2 -9
  62. package/lib/radio.js +6 -13
  63. package/lib/rate.js +5 -21
  64. package/lib/resize-layout.js +11 -20
  65. package/lib/round-progress.js +1 -9
  66. package/lib/row.js +5 -18
  67. package/lib/search-select.js +409 -635
  68. package/lib/select.js +5989 -6261
  69. package/lib/sideslider.js +1560 -1769
  70. package/lib/slider.js +78 -127
  71. package/lib/star.js +3 -11
  72. package/lib/steps.js +1754 -1961
  73. package/lib/swiper.js +20 -33
  74. package/lib/switcher.js +3 -12
  75. package/lib/tab-panel.js +2 -9
  76. package/lib/tab.js +2330 -2536
  77. package/lib/table-column.js +328 -547
  78. package/lib/table-setting-content.js +321 -558
  79. package/lib/table.js +566 -917
  80. package/lib/tag-input.js +397 -649
  81. package/lib/tag.js +2 -10
  82. package/lib/time-picker.js +144 -219
  83. package/lib/timeline.js +23 -35
  84. package/lib/transfer.js +111 -161
  85. package/lib/transition.js +1 -9
  86. package/lib/tree.js +31 -75
  87. package/lib/ui/bk-magic-vue.css +4 -4
  88. package/lib/ui/bk-magic-vue.min.css +1 -1
  89. package/lib/ui/bk-magic-vue.min.css.gz +0 -0
  90. package/lib/ui/bk-magic-vue.min.css.map +1 -1
  91. package/lib/ui/button.css +1 -1
  92. package/lib/ui/button.min.css +1 -1
  93. package/lib/ui/button.min.css.map +1 -1
  94. package/lib/ui/dialog.css +2 -2
  95. package/lib/ui/dialog.min.css +1 -1
  96. package/lib/ui/dialog.min.css.map +1 -1
  97. package/lib/ui/info-box.css +2 -2
  98. package/lib/ui/info-box.min.css +1 -1
  99. package/lib/ui/info-box.min.css.map +1 -1
  100. package/lib/ui/popconfirm.css +1 -1
  101. package/lib/ui/popconfirm.min.css +1 -1
  102. package/lib/ui/popconfirm.min.css.map +1 -1
  103. package/lib/upload.js +63 -87
  104. package/lib/utils/deepmerge.js +5 -11
  105. package/lib/utils/pinyin.js +5 -11
  106. package/lib/utils/pop-manager.js +2 -2
  107. package/lib/utils/tippy.js +48 -49
  108. package/lib/version-detail.js +5854 -6081
  109. package/lib/virtual-scroll.js +17 -23
  110. package/lib/zoom-image.js +3 -11
  111. package/package.json +1 -1
package/lib/form-item.js CHANGED
@@ -1042,173 +1042,115 @@
1042
1042
 
1043
1043
  var isArray$1 = isArray;
1044
1044
 
1045
- var runtime_1 = createCommonjsModule(function (module) {
1046
- var runtime = (function (exports) {
1047
- var Op = Object.prototype;
1048
- var hasOwn = Op.hasOwnProperty;
1049
- var undefined$1;
1050
- var $Symbol = typeof Symbol === "function" ? Symbol : {};
1051
- var iteratorSymbol = $Symbol.iterator || "@@iterator";
1052
- var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
1053
- var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
1045
+ function _regeneratorRuntime() {
1046
+ _regeneratorRuntime = function () {
1047
+ return exports;
1048
+ };
1049
+ var exports = {},
1050
+ Op = Object.prototype,
1051
+ hasOwn = Op.hasOwnProperty,
1052
+ defineProperty = Object.defineProperty || function (obj, key, desc) {
1053
+ obj[key] = desc.value;
1054
+ },
1055
+ $Symbol = "function" == typeof Symbol ? Symbol : {},
1056
+ iteratorSymbol = $Symbol.iterator || "@@iterator",
1057
+ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
1058
+ toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
1054
1059
  function define(obj, key, value) {
1055
- Object.defineProperty(obj, key, {
1060
+ return Object.defineProperty(obj, key, {
1056
1061
  value: value,
1057
- enumerable: true,
1058
- configurable: true,
1059
- writable: true
1060
- });
1061
- return obj[key];
1062
+ enumerable: !0,
1063
+ configurable: !0,
1064
+ writable: !0
1065
+ }), obj[key];
1062
1066
  }
1063
1067
  try {
1064
1068
  define({}, "");
1065
1069
  } catch (err) {
1066
- define = function(obj, key, value) {
1070
+ define = function (obj, key, value) {
1067
1071
  return obj[key] = value;
1068
1072
  };
1069
1073
  }
1070
1074
  function wrap(innerFn, outerFn, self, tryLocsList) {
1071
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
1072
- var generator = Object.create(protoGenerator.prototype);
1073
- var context = new Context(tryLocsList || []);
1074
- generator._invoke = makeInvokeMethod(innerFn, self, context);
1075
- return generator;
1075
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
1076
+ generator = Object.create(protoGenerator.prototype),
1077
+ context = new Context(tryLocsList || []);
1078
+ return defineProperty(generator, "_invoke", {
1079
+ value: makeInvokeMethod(innerFn, self, context)
1080
+ }), generator;
1076
1081
  }
1077
- exports.wrap = wrap;
1078
1082
  function tryCatch(fn, obj, arg) {
1079
1083
  try {
1080
- return { type: "normal", arg: fn.call(obj, arg) };
1084
+ return {
1085
+ type: "normal",
1086
+ arg: fn.call(obj, arg)
1087
+ };
1081
1088
  } catch (err) {
1082
- return { type: "throw", arg: err };
1089
+ return {
1090
+ type: "throw",
1091
+ arg: err
1092
+ };
1083
1093
  }
1084
1094
  }
1085
- var GenStateSuspendedStart = "suspendedStart";
1086
- var GenStateSuspendedYield = "suspendedYield";
1087
- var GenStateExecuting = "executing";
1088
- var GenStateCompleted = "completed";
1095
+ exports.wrap = wrap;
1089
1096
  var ContinueSentinel = {};
1090
1097
  function Generator() {}
1091
1098
  function GeneratorFunction() {}
1092
1099
  function GeneratorFunctionPrototype() {}
1093
1100
  var IteratorPrototype = {};
1094
- IteratorPrototype[iteratorSymbol] = function () {
1101
+ define(IteratorPrototype, iteratorSymbol, function () {
1095
1102
  return this;
1096
- };
1097
- var getProto = Object.getPrototypeOf;
1098
- var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
1099
- if (NativeIteratorPrototype &&
1100
- NativeIteratorPrototype !== Op &&
1101
- hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
1102
- IteratorPrototype = NativeIteratorPrototype;
1103
- }
1104
- var Gp = GeneratorFunctionPrototype.prototype =
1105
- Generator.prototype = Object.create(IteratorPrototype);
1106
- GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
1107
- GeneratorFunctionPrototype.constructor = GeneratorFunction;
1108
- GeneratorFunction.displayName = define(
1109
- GeneratorFunctionPrototype,
1110
- toStringTagSymbol,
1111
- "GeneratorFunction"
1112
- );
1103
+ });
1104
+ var getProto = Object.getPrototypeOf,
1105
+ NativeIteratorPrototype = getProto && getProto(getProto(values([])));
1106
+ NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
1107
+ var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
1113
1108
  function defineIteratorMethods(prototype) {
1114
- ["next", "throw", "return"].forEach(function(method) {
1115
- define(prototype, method, function(arg) {
1109
+ ["next", "throw", "return"].forEach(function (method) {
1110
+ define(prototype, method, function (arg) {
1116
1111
  return this._invoke(method, arg);
1117
1112
  });
1118
1113
  });
1119
1114
  }
1120
- exports.isGeneratorFunction = function(genFun) {
1121
- var ctor = typeof genFun === "function" && genFun.constructor;
1122
- return ctor
1123
- ? ctor === GeneratorFunction ||
1124
- (ctor.displayName || ctor.name) === "GeneratorFunction"
1125
- : false;
1126
- };
1127
- exports.mark = function(genFun) {
1128
- if (Object.setPrototypeOf) {
1129
- Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
1130
- } else {
1131
- genFun.__proto__ = GeneratorFunctionPrototype;
1132
- define(genFun, toStringTagSymbol, "GeneratorFunction");
1133
- }
1134
- genFun.prototype = Object.create(Gp);
1135
- return genFun;
1136
- };
1137
- exports.awrap = function(arg) {
1138
- return { __await: arg };
1139
- };
1140
1115
  function AsyncIterator(generator, PromiseImpl) {
1141
1116
  function invoke(method, arg, resolve, reject) {
1142
1117
  var record = tryCatch(generator[method], generator, arg);
1143
- if (record.type === "throw") {
1144
- reject(record.arg);
1145
- } else {
1146
- var result = record.arg;
1147
- var value = result.value;
1148
- if (value &&
1149
- typeof value === "object" &&
1150
- hasOwn.call(value, "__await")) {
1151
- return PromiseImpl.resolve(value.__await).then(function(value) {
1152
- invoke("next", value, resolve, reject);
1153
- }, function(err) {
1154
- invoke("throw", err, resolve, reject);
1155
- });
1156
- }
1157
- return PromiseImpl.resolve(value).then(function(unwrapped) {
1158
- result.value = unwrapped;
1159
- resolve(result);
1160
- }, function(error) {
1118
+ if ("throw" !== record.type) {
1119
+ var result = record.arg,
1120
+ value = result.value;
1121
+ return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
1122
+ invoke("next", value, resolve, reject);
1123
+ }, function (err) {
1124
+ invoke("throw", err, resolve, reject);
1125
+ }) : PromiseImpl.resolve(value).then(function (unwrapped) {
1126
+ result.value = unwrapped, resolve(result);
1127
+ }, function (error) {
1161
1128
  return invoke("throw", error, resolve, reject);
1162
1129
  });
1163
1130
  }
1131
+ reject(record.arg);
1164
1132
  }
1165
1133
  var previousPromise;
1166
- function enqueue(method, arg) {
1167
- function callInvokeWithMethodAndArg() {
1168
- return new PromiseImpl(function(resolve, reject) {
1169
- invoke(method, arg, resolve, reject);
1170
- });
1134
+ defineProperty(this, "_invoke", {
1135
+ value: function (method, arg) {
1136
+ function callInvokeWithMethodAndArg() {
1137
+ return new PromiseImpl(function (resolve, reject) {
1138
+ invoke(method, arg, resolve, reject);
1139
+ });
1140
+ }
1141
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
1171
1142
  }
1172
- return previousPromise =
1173
- previousPromise ? previousPromise.then(
1174
- callInvokeWithMethodAndArg,
1175
- callInvokeWithMethodAndArg
1176
- ) : callInvokeWithMethodAndArg();
1177
- }
1178
- this._invoke = enqueue;
1143
+ });
1179
1144
  }
1180
- defineIteratorMethods(AsyncIterator.prototype);
1181
- AsyncIterator.prototype[asyncIteratorSymbol] = function () {
1182
- return this;
1183
- };
1184
- exports.AsyncIterator = AsyncIterator;
1185
- exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
1186
- if (PromiseImpl === void 0) PromiseImpl = Promise;
1187
- var iter = new AsyncIterator(
1188
- wrap(innerFn, outerFn, self, tryLocsList),
1189
- PromiseImpl
1190
- );
1191
- return exports.isGeneratorFunction(outerFn)
1192
- ? iter
1193
- : iter.next().then(function(result) {
1194
- return result.done ? result.value : iter.next();
1195
- });
1196
- };
1197
1145
  function makeInvokeMethod(innerFn, self, context) {
1198
- var state = GenStateSuspendedStart;
1199
- return function invoke(method, arg) {
1200
- if (state === GenStateExecuting) {
1201
- throw new Error("Generator is already running");
1202
- }
1203
- if (state === GenStateCompleted) {
1204
- if (method === "throw") {
1205
- throw arg;
1206
- }
1146
+ var state = "suspendedStart";
1147
+ return function (method, arg) {
1148
+ if ("executing" === state) throw new Error("Generator is already running");
1149
+ if ("completed" === state) {
1150
+ if ("throw" === method) throw arg;
1207
1151
  return doneResult();
1208
1152
  }
1209
- context.method = method;
1210
- context.arg = arg;
1211
- while (true) {
1153
+ for (context.method = method, context.arg = arg;;) {
1212
1154
  var delegate = context.delegate;
1213
1155
  if (delegate) {
1214
1156
  var delegateResult = maybeInvokeDelegate(delegate, context);
@@ -1217,297 +1159,178 @@
1217
1159
  return delegateResult;
1218
1160
  }
1219
1161
  }
1220
- if (context.method === "next") {
1221
- context.sent = context._sent = context.arg;
1222
- } else if (context.method === "throw") {
1223
- if (state === GenStateSuspendedStart) {
1224
- state = GenStateCompleted;
1225
- throw context.arg;
1226
- }
1162
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
1163
+ if ("suspendedStart" === state) throw state = "completed", context.arg;
1227
1164
  context.dispatchException(context.arg);
1228
- } else if (context.method === "return") {
1229
- context.abrupt("return", context.arg);
1230
- }
1231
- state = GenStateExecuting;
1165
+ } else "return" === context.method && context.abrupt("return", context.arg);
1166
+ state = "executing";
1232
1167
  var record = tryCatch(innerFn, self, context);
1233
- if (record.type === "normal") {
1234
- state = context.done
1235
- ? GenStateCompleted
1236
- : GenStateSuspendedYield;
1237
- if (record.arg === ContinueSentinel) {
1238
- continue;
1239
- }
1168
+ if ("normal" === record.type) {
1169
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
1240
1170
  return {
1241
1171
  value: record.arg,
1242
1172
  done: context.done
1243
1173
  };
1244
- } else if (record.type === "throw") {
1245
- state = GenStateCompleted;
1246
- context.method = "throw";
1247
- context.arg = record.arg;
1248
1174
  }
1175
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
1249
1176
  }
1250
1177
  };
1251
1178
  }
1252
1179
  function maybeInvokeDelegate(delegate, context) {
1253
1180
  var method = delegate.iterator[context.method];
1254
- if (method === undefined$1) {
1255
- context.delegate = null;
1256
- if (context.method === "throw") {
1257
- if (delegate.iterator["return"]) {
1258
- context.method = "return";
1259
- context.arg = undefined$1;
1260
- maybeInvokeDelegate(delegate, context);
1261
- if (context.method === "throw") {
1262
- return ContinueSentinel;
1263
- }
1264
- }
1265
- context.method = "throw";
1266
- context.arg = new TypeError(
1267
- "The iterator does not provide a 'throw' method");
1181
+ if (undefined === method) {
1182
+ if (context.delegate = null, "throw" === context.method) {
1183
+ if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
1184
+ context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
1268
1185
  }
1269
1186
  return ContinueSentinel;
1270
1187
  }
1271
1188
  var record = tryCatch(method, delegate.iterator, context.arg);
1272
- if (record.type === "throw") {
1273
- context.method = "throw";
1274
- context.arg = record.arg;
1275
- context.delegate = null;
1276
- return ContinueSentinel;
1277
- }
1189
+ if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
1278
1190
  var info = record.arg;
1279
- if (! info) {
1280
- context.method = "throw";
1281
- context.arg = new TypeError("iterator result is not an object");
1282
- context.delegate = null;
1283
- return ContinueSentinel;
1284
- }
1285
- if (info.done) {
1286
- context[delegate.resultName] = info.value;
1287
- context.next = delegate.nextLoc;
1288
- if (context.method !== "return") {
1289
- context.method = "next";
1290
- context.arg = undefined$1;
1291
- }
1292
- } else {
1293
- return info;
1294
- }
1295
- context.delegate = null;
1296
- return ContinueSentinel;
1191
+ return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
1297
1192
  }
1298
- defineIteratorMethods(Gp);
1299
- define(Gp, toStringTagSymbol, "Generator");
1300
- Gp[iteratorSymbol] = function() {
1301
- return this;
1302
- };
1303
- Gp.toString = function() {
1304
- return "[object Generator]";
1305
- };
1306
1193
  function pushTryEntry(locs) {
1307
- var entry = { tryLoc: locs[0] };
1308
- if (1 in locs) {
1309
- entry.catchLoc = locs[1];
1310
- }
1311
- if (2 in locs) {
1312
- entry.finallyLoc = locs[2];
1313
- entry.afterLoc = locs[3];
1314
- }
1315
- this.tryEntries.push(entry);
1194
+ var entry = {
1195
+ tryLoc: locs[0]
1196
+ };
1197
+ 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
1316
1198
  }
1317
1199
  function resetTryEntry(entry) {
1318
1200
  var record = entry.completion || {};
1319
- record.type = "normal";
1320
- delete record.arg;
1321
- entry.completion = record;
1201
+ record.type = "normal", delete record.arg, entry.completion = record;
1322
1202
  }
1323
1203
  function Context(tryLocsList) {
1324
- this.tryEntries = [{ tryLoc: "root" }];
1325
- tryLocsList.forEach(pushTryEntry, this);
1326
- this.reset(true);
1327
- }
1328
- exports.keys = function(object) {
1329
- var keys = [];
1330
- for (var key in object) {
1331
- keys.push(key);
1332
- }
1333
- keys.reverse();
1334
- return function next() {
1335
- while (keys.length) {
1336
- var key = keys.pop();
1337
- if (key in object) {
1338
- next.value = key;
1339
- next.done = false;
1340
- return next;
1341
- }
1342
- }
1343
- next.done = true;
1344
- return next;
1345
- };
1346
- };
1204
+ this.tryEntries = [{
1205
+ tryLoc: "root"
1206
+ }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
1207
+ }
1347
1208
  function values(iterable) {
1348
1209
  if (iterable) {
1349
1210
  var iteratorMethod = iterable[iteratorSymbol];
1350
- if (iteratorMethod) {
1351
- return iteratorMethod.call(iterable);
1352
- }
1353
- if (typeof iterable.next === "function") {
1354
- return iterable;
1355
- }
1211
+ if (iteratorMethod) return iteratorMethod.call(iterable);
1212
+ if ("function" == typeof iterable.next) return iterable;
1356
1213
  if (!isNaN(iterable.length)) {
1357
- var i = -1, next = function next() {
1358
- while (++i < iterable.length) {
1359
- if (hasOwn.call(iterable, i)) {
1360
- next.value = iterable[i];
1361
- next.done = false;
1362
- return next;
1363
- }
1364
- }
1365
- next.value = undefined$1;
1366
- next.done = true;
1367
- return next;
1368
- };
1214
+ var i = -1,
1215
+ next = function next() {
1216
+ for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
1217
+ return next.value = undefined, next.done = !0, next;
1218
+ };
1369
1219
  return next.next = next;
1370
1220
  }
1371
1221
  }
1372
- return { next: doneResult };
1222
+ return {
1223
+ next: doneResult
1224
+ };
1373
1225
  }
1374
- exports.values = values;
1375
1226
  function doneResult() {
1376
- return { value: undefined$1, done: true };
1227
+ return {
1228
+ value: undefined,
1229
+ done: !0
1230
+ };
1377
1231
  }
1378
- Context.prototype = {
1379
- constructor: Context,
1380
- reset: function(skipTempReset) {
1381
- this.prev = 0;
1382
- this.next = 0;
1383
- this.sent = this._sent = undefined$1;
1384
- this.done = false;
1385
- this.delegate = null;
1386
- this.method = "next";
1387
- this.arg = undefined$1;
1388
- this.tryEntries.forEach(resetTryEntry);
1389
- if (!skipTempReset) {
1390
- for (var name in this) {
1391
- if (name.charAt(0) === "t" &&
1392
- hasOwn.call(this, name) &&
1393
- !isNaN(+name.slice(1))) {
1394
- this[name] = undefined$1;
1395
- }
1396
- }
1232
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
1233
+ value: GeneratorFunctionPrototype,
1234
+ configurable: !0
1235
+ }), defineProperty(GeneratorFunctionPrototype, "constructor", {
1236
+ value: GeneratorFunction,
1237
+ configurable: !0
1238
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
1239
+ var ctor = "function" == typeof genFun && genFun.constructor;
1240
+ return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
1241
+ }, exports.mark = function (genFun) {
1242
+ return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
1243
+ }, exports.awrap = function (arg) {
1244
+ return {
1245
+ __await: arg
1246
+ };
1247
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
1248
+ return this;
1249
+ }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
1250
+ void 0 === PromiseImpl && (PromiseImpl = Promise);
1251
+ var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
1252
+ return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
1253
+ return result.done ? result.value : iter.next();
1254
+ });
1255
+ }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
1256
+ return this;
1257
+ }), define(Gp, "toString", function () {
1258
+ return "[object Generator]";
1259
+ }), exports.keys = function (val) {
1260
+ var object = Object(val),
1261
+ keys = [];
1262
+ for (var key in object) keys.push(key);
1263
+ return keys.reverse(), function next() {
1264
+ for (; keys.length;) {
1265
+ var key = keys.pop();
1266
+ if (key in object) return next.value = key, next.done = !1, next;
1397
1267
  }
1268
+ return next.done = !0, next;
1269
+ };
1270
+ }, exports.values = values, Context.prototype = {
1271
+ constructor: Context,
1272
+ reset: function (skipTempReset) {
1273
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
1398
1274
  },
1399
- stop: function() {
1400
- this.done = true;
1401
- var rootEntry = this.tryEntries[0];
1402
- var rootRecord = rootEntry.completion;
1403
- if (rootRecord.type === "throw") {
1404
- throw rootRecord.arg;
1405
- }
1275
+ stop: function () {
1276
+ this.done = !0;
1277
+ var rootRecord = this.tryEntries[0].completion;
1278
+ if ("throw" === rootRecord.type) throw rootRecord.arg;
1406
1279
  return this.rval;
1407
1280
  },
1408
- dispatchException: function(exception) {
1409
- if (this.done) {
1410
- throw exception;
1411
- }
1281
+ dispatchException: function (exception) {
1282
+ if (this.done) throw exception;
1412
1283
  var context = this;
1413
1284
  function handle(loc, caught) {
1414
- record.type = "throw";
1415
- record.arg = exception;
1416
- context.next = loc;
1417
- if (caught) {
1418
- context.method = "next";
1419
- context.arg = undefined$1;
1420
- }
1421
- return !! caught;
1285
+ return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
1422
1286
  }
1423
1287
  for (var i = this.tryEntries.length - 1; i >= 0; --i) {
1424
- var entry = this.tryEntries[i];
1425
- var record = entry.completion;
1426
- if (entry.tryLoc === "root") {
1427
- return handle("end");
1428
- }
1288
+ var entry = this.tryEntries[i],
1289
+ record = entry.completion;
1290
+ if ("root" === entry.tryLoc) return handle("end");
1429
1291
  if (entry.tryLoc <= this.prev) {
1430
- var hasCatch = hasOwn.call(entry, "catchLoc");
1431
- var hasFinally = hasOwn.call(entry, "finallyLoc");
1292
+ var hasCatch = hasOwn.call(entry, "catchLoc"),
1293
+ hasFinally = hasOwn.call(entry, "finallyLoc");
1432
1294
  if (hasCatch && hasFinally) {
1433
- if (this.prev < entry.catchLoc) {
1434
- return handle(entry.catchLoc, true);
1435
- } else if (this.prev < entry.finallyLoc) {
1436
- return handle(entry.finallyLoc);
1437
- }
1295
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
1296
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
1438
1297
  } else if (hasCatch) {
1439
- if (this.prev < entry.catchLoc) {
1440
- return handle(entry.catchLoc, true);
1441
- }
1442
- } else if (hasFinally) {
1443
- if (this.prev < entry.finallyLoc) {
1444
- return handle(entry.finallyLoc);
1445
- }
1298
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
1446
1299
  } else {
1447
- throw new Error("try statement without catch or finally");
1300
+ if (!hasFinally) throw new Error("try statement without catch or finally");
1301
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
1448
1302
  }
1449
1303
  }
1450
1304
  }
1451
1305
  },
1452
- abrupt: function(type, arg) {
1306
+ abrupt: function (type, arg) {
1453
1307
  for (var i = this.tryEntries.length - 1; i >= 0; --i) {
1454
1308
  var entry = this.tryEntries[i];
1455
- if (entry.tryLoc <= this.prev &&
1456
- hasOwn.call(entry, "finallyLoc") &&
1457
- this.prev < entry.finallyLoc) {
1309
+ if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
1458
1310
  var finallyEntry = entry;
1459
1311
  break;
1460
1312
  }
1461
1313
  }
1462
- if (finallyEntry &&
1463
- (type === "break" ||
1464
- type === "continue") &&
1465
- finallyEntry.tryLoc <= arg &&
1466
- arg <= finallyEntry.finallyLoc) {
1467
- finallyEntry = null;
1468
- }
1314
+ finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
1469
1315
  var record = finallyEntry ? finallyEntry.completion : {};
1470
- record.type = type;
1471
- record.arg = arg;
1472
- if (finallyEntry) {
1473
- this.method = "next";
1474
- this.next = finallyEntry.finallyLoc;
1475
- return ContinueSentinel;
1476
- }
1477
- return this.complete(record);
1316
+ return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
1478
1317
  },
1479
- complete: function(record, afterLoc) {
1480
- if (record.type === "throw") {
1481
- throw record.arg;
1482
- }
1483
- if (record.type === "break" ||
1484
- record.type === "continue") {
1485
- this.next = record.arg;
1486
- } else if (record.type === "return") {
1487
- this.rval = this.arg = record.arg;
1488
- this.method = "return";
1489
- this.next = "end";
1490
- } else if (record.type === "normal" && afterLoc) {
1491
- this.next = afterLoc;
1492
- }
1493
- return ContinueSentinel;
1318
+ complete: function (record, afterLoc) {
1319
+ if ("throw" === record.type) throw record.arg;
1320
+ return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
1494
1321
  },
1495
- finish: function(finallyLoc) {
1322
+ finish: function (finallyLoc) {
1496
1323
  for (var i = this.tryEntries.length - 1; i >= 0; --i) {
1497
1324
  var entry = this.tryEntries[i];
1498
- if (entry.finallyLoc === finallyLoc) {
1499
- this.complete(entry.completion, entry.afterLoc);
1500
- resetTryEntry(entry);
1501
- return ContinueSentinel;
1502
- }
1325
+ if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
1503
1326
  }
1504
1327
  },
1505
- "catch": function(tryLoc) {
1328
+ catch: function (tryLoc) {
1506
1329
  for (var i = this.tryEntries.length - 1; i >= 0; --i) {
1507
1330
  var entry = this.tryEntries[i];
1508
1331
  if (entry.tryLoc === tryLoc) {
1509
1332
  var record = entry.completion;
1510
- if (record.type === "throw") {
1333
+ if ("throw" === record.type) {
1511
1334
  var thrown = record.arg;
1512
1335
  resetTryEntry(entry);
1513
1336
  }
@@ -1516,47 +1339,24 @@
1516
1339
  }
1517
1340
  throw new Error("illegal catch attempt");
1518
1341
  },
1519
- delegateYield: function(iterable, resultName, nextLoc) {
1520
- this.delegate = {
1342
+ delegateYield: function (iterable, resultName, nextLoc) {
1343
+ return this.delegate = {
1521
1344
  iterator: values(iterable),
1522
1345
  resultName: resultName,
1523
1346
  nextLoc: nextLoc
1524
- };
1525
- if (this.method === "next") {
1526
- this.arg = undefined$1;
1527
- }
1528
- return ContinueSentinel;
1347
+ }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
1529
1348
  }
1530
- };
1531
- return exports;
1532
- }(
1533
- module.exports
1534
- ));
1535
- try {
1536
- regeneratorRuntime = runtime;
1537
- } catch (accidentalStrictMode) {
1538
- Function("r", "regeneratorRuntime = r")(runtime);
1349
+ }, exports;
1539
1350
  }
1540
- });
1541
-
1542
- var regenerator = runtime_1;
1543
-
1544
1351
  function _typeof(obj) {
1545
1352
  "@babel/helpers - typeof";
1546
1353
 
1547
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
1548
- _typeof = function (obj) {
1549
- return typeof obj;
1550
- };
1551
- } else {
1552
- _typeof = function (obj) {
1553
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
1554
- };
1555
- }
1556
-
1557
- return _typeof(obj);
1354
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
1355
+ return typeof obj;
1356
+ } : function (obj) {
1357
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
1358
+ }, _typeof(obj);
1558
1359
  }
1559
-
1560
1360
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
1561
1361
  try {
1562
1362
  var info = gen[key](arg);
@@ -1565,40 +1365,33 @@
1565
1365
  reject(error);
1566
1366
  return;
1567
1367
  }
1568
-
1569
1368
  if (info.done) {
1570
1369
  resolve(value);
1571
1370
  } else {
1572
1371
  Promise.resolve(value).then(_next, _throw);
1573
1372
  }
1574
1373
  }
1575
-
1576
1374
  function _asyncToGenerator(fn) {
1577
1375
  return function () {
1578
1376
  var self = this,
1579
- args = arguments;
1377
+ args = arguments;
1580
1378
  return new Promise(function (resolve, reject) {
1581
1379
  var gen = fn.apply(self, args);
1582
-
1583
1380
  function _next(value) {
1584
1381
  asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
1585
1382
  }
1586
-
1587
1383
  function _throw(err) {
1588
1384
  asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
1589
1385
  }
1590
-
1591
1386
  _next(undefined);
1592
1387
  });
1593
1388
  };
1594
1389
  }
1595
-
1596
1390
  function _classCallCheck(instance, Constructor) {
1597
1391
  if (!(instance instanceof Constructor)) {
1598
1392
  throw new TypeError("Cannot call a class as a function");
1599
1393
  }
1600
1394
  }
1601
-
1602
1395
  function _defineProperties(target, props) {
1603
1396
  for (var i = 0; i < props.length; i++) {
1604
1397
  var descriptor = props[i];
@@ -1608,13 +1401,14 @@
1608
1401
  Object.defineProperty(target, descriptor.key, descriptor);
1609
1402
  }
1610
1403
  }
1611
-
1612
1404
  function _createClass(Constructor, protoProps, staticProps) {
1613
1405
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
1614
1406
  if (staticProps) _defineProperties(Constructor, staticProps);
1407
+ Object.defineProperty(Constructor, "prototype", {
1408
+ writable: false
1409
+ });
1615
1410
  return Constructor;
1616
1411
  }
1617
-
1618
1412
  function _defineProperty(obj, key, value) {
1619
1413
  if (key in obj) {
1620
1414
  Object.defineProperty(obj, key, {
@@ -1626,47 +1420,37 @@
1626
1420
  } else {
1627
1421
  obj[key] = value;
1628
1422
  }
1629
-
1630
1423
  return obj;
1631
1424
  }
1632
-
1633
1425
  function _extends() {
1634
- _extends = Object.assign || function (target) {
1426
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
1635
1427
  for (var i = 1; i < arguments.length; i++) {
1636
1428
  var source = arguments[i];
1637
-
1638
1429
  for (var key in source) {
1639
1430
  if (Object.prototype.hasOwnProperty.call(source, key)) {
1640
1431
  target[key] = source[key];
1641
1432
  }
1642
1433
  }
1643
1434
  }
1644
-
1645
1435
  return target;
1646
1436
  };
1647
-
1648
1437
  return _extends.apply(this, arguments);
1649
1438
  }
1650
-
1651
1439
  function _objectSpread(target) {
1652
1440
  for (var i = 1; i < arguments.length; i++) {
1653
1441
  var source = arguments[i] != null ? Object(arguments[i]) : {};
1654
1442
  var ownKeys = Object.keys(source);
1655
-
1656
1443
  if (typeof Object.getOwnPropertySymbols === 'function') {
1657
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
1444
+ ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function (sym) {
1658
1445
  return Object.getOwnPropertyDescriptor(source, sym).enumerable;
1659
1446
  }));
1660
1447
  }
1661
-
1662
1448
  ownKeys.forEach(function (key) {
1663
1449
  _defineProperty(target, key, source[key]);
1664
1450
  });
1665
1451
  }
1666
-
1667
1452
  return target;
1668
1453
  }
1669
-
1670
1454
  function _unsupportedIterableToArray(o, minLen) {
1671
1455
  if (!o) return;
1672
1456
  if (typeof o === "string") return _arrayLikeToArray(o, minLen);
@@ -1675,25 +1459,18 @@
1675
1459
  if (n === "Map" || n === "Set") return Array.from(o);
1676
1460
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
1677
1461
  }
1678
-
1679
1462
  function _arrayLikeToArray(arr, len) {
1680
1463
  if (len == null || len > arr.length) len = arr.length;
1681
-
1682
1464
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1683
-
1684
1465
  return arr2;
1685
1466
  }
1686
-
1687
1467
  function _createForOfIteratorHelper(o, allowArrayLike) {
1688
1468
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
1689
-
1690
1469
  if (!it) {
1691
1470
  if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
1692
1471
  if (it) o = it;
1693
1472
  var i = 0;
1694
-
1695
1473
  var F = function () {};
1696
-
1697
1474
  return {
1698
1475
  s: F,
1699
1476
  n: function () {
@@ -1711,13 +1488,11 @@
1711
1488
  f: F
1712
1489
  };
1713
1490
  }
1714
-
1715
1491
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1716
1492
  }
1717
-
1718
1493
  var normalCompletion = true,
1719
- didErr = false,
1720
- err;
1494
+ didErr = false,
1495
+ err;
1721
1496
  return {
1722
1497
  s: function () {
1723
1498
  it = it.call(o);
@@ -1938,9 +1713,9 @@
1938
1713
  return element.body;
1939
1714
  }
1940
1715
  var _getStyleComputedProp = getStyleComputedProperty(element),
1941
- overflow = _getStyleComputedProp.overflow,
1942
- overflowX = _getStyleComputedProp.overflowX,
1943
- overflowY = _getStyleComputedProp.overflowY;
1716
+ overflow = _getStyleComputedProp.overflow,
1717
+ overflowX = _getStyleComputedProp.overflowX,
1718
+ overflowY = _getStyleComputedProp.overflowY;
1944
1719
  if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {
1945
1720
  return element;
1946
1721
  }
@@ -2204,8 +1979,8 @@
2204
1979
  var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition);
2205
1980
  if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) {
2206
1981
  var _getWindowSizes = getWindowSizes(popper.ownerDocument),
2207
- height = _getWindowSizes.height,
2208
- width = _getWindowSizes.width;
1982
+ height = _getWindowSizes.height,
1983
+ width = _getWindowSizes.width;
2209
1984
  boundaries.top += offsets.top - offsets.marginTop;
2210
1985
  boundaries.bottom = height + offsets.top;
2211
1986
  boundaries.left += offsets.left - offsets.marginLeft;
@@ -2224,7 +1999,7 @@
2224
1999
  }
2225
2000
  function getArea(_ref) {
2226
2001
  var width = _ref.width,
2227
- height = _ref.height;
2002
+ height = _ref.height;
2228
2003
  return width * height;
2229
2004
  }
2230
2005
  function computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) {
@@ -2262,7 +2037,7 @@
2262
2037
  });
2263
2038
  var filteredAreas = sortedAreas.filter(function (_ref2) {
2264
2039
  var width = _ref2.width,
2265
- height = _ref2.height;
2040
+ height = _ref2.height;
2266
2041
  return width >= popper.clientWidth && height >= popper.clientHeight;
2267
2042
  });
2268
2043
  var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key;
@@ -2377,7 +2152,7 @@
2377
2152
  function isModifierEnabled(modifiers, modifierName) {
2378
2153
  return modifiers.some(function (_ref3) {
2379
2154
  var name = _ref3.name,
2380
- enabled = _ref3.enabled;
2155
+ enabled = _ref3.enabled;
2381
2156
  return enabled && name === modifierName;
2382
2157
  });
2383
2158
  }
@@ -2500,10 +2275,10 @@
2500
2275
  }
2501
2276
  function getRoundedOffsets(data, shouldRound) {
2502
2277
  var _data$offsets = data.offsets,
2503
- popper = _data$offsets.popper,
2504
- reference = _data$offsets.reference;
2278
+ popper = _data$offsets.popper,
2279
+ reference = _data$offsets.reference;
2505
2280
  var round = Math.round,
2506
- floor = Math.floor;
2281
+ floor = Math.floor;
2507
2282
  var noRound = function noRound(v) {
2508
2283
  return v;
2509
2284
  };
@@ -2525,7 +2300,7 @@
2525
2300
  var isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent);
2526
2301
  function computeStyle(data, options) {
2527
2302
  var x = options.x,
2528
- y = options.y;
2303
+ y = options.y;
2529
2304
  var popper = data.offsets.popper;
2530
2305
  var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) {
2531
2306
  return modifier.name === 'applyStyle';
@@ -2616,8 +2391,8 @@
2616
2391
  }
2617
2392
  var placement = data.placement.split('-')[0];
2618
2393
  var _data$offsets2 = data.offsets,
2619
- popper = _data$offsets2.popper,
2620
- reference = _data$offsets2.reference;
2394
+ popper = _data$offsets2.popper,
2395
+ reference = _data$offsets2.reference;
2621
2396
  var isVertical = ['left', 'right'].indexOf(placement) !== -1;
2622
2397
  var len = isVertical ? 'height' : 'width';
2623
2398
  var sideCapitalized = isVertical ? 'Top' : 'Left';
@@ -2724,8 +2499,8 @@
2724
2499
  }
2725
2500
  function keepTogether(data) {
2726
2501
  var _data$offsets3 = data.offsets,
2727
- popper = _data$offsets3.popper,
2728
- reference = _data$offsets3.reference;
2502
+ popper = _data$offsets3.popper,
2503
+ reference = _data$offsets3.reference;
2729
2504
  var placement = data.placement.split('-')[0];
2730
2505
  var floor = Math.floor;
2731
2506
  var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;
@@ -2819,9 +2594,9 @@
2819
2594
  function offset(data, _ref5) {
2820
2595
  var offset = _ref5.offset;
2821
2596
  var placement = data.placement,
2822
- _data$offsets4 = data.offsets,
2823
- popper = _data$offsets4.popper,
2824
- reference = _data$offsets4.reference;
2597
+ _data$offsets4 = data.offsets,
2598
+ popper = _data$offsets4.popper,
2599
+ reference = _data$offsets4.reference;
2825
2600
  var basePlacement = placement.split('-')[0];
2826
2601
  var offsets;
2827
2602
  if (isNumeric(+offset)) {
@@ -2853,8 +2628,8 @@
2853
2628
  var transformProp = getSupportedPropertyName('transform');
2854
2629
  var popperStyles = data.instance.popper.style;
2855
2630
  var top = popperStyles.top,
2856
- left = popperStyles.left,
2857
- transform = popperStyles[transformProp];
2631
+ left = popperStyles.left,
2632
+ transform = popperStyles[transformProp];
2858
2633
  popperStyles.top = '';
2859
2634
  popperStyles.left = '';
2860
2635
  popperStyles[transformProp] = '';
@@ -2895,8 +2670,8 @@
2895
2670
  var shiftvariation = placement.split('-')[1];
2896
2671
  if (shiftvariation) {
2897
2672
  var _data$offsets5 = data.offsets,
2898
- reference = _data$offsets5.reference,
2899
- popper = _data$offsets5.popper;
2673
+ reference = _data$offsets5.reference,
2674
+ popper = _data$offsets5.popper;
2900
2675
  var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1;
2901
2676
  var side = isVertical ? 'left' : 'top';
2902
2677
  var measurement = isVertical ? 'width' : 'height';
@@ -2935,8 +2710,8 @@
2935
2710
  var placement = data.placement;
2936
2711
  var basePlacement = placement.split('-')[0];
2937
2712
  var _data$offsets6 = data.offsets,
2938
- popper = _data$offsets6.popper,
2939
- reference = _data$offsets6.reference;
2713
+ popper = _data$offsets6.popper,
2714
+ reference = _data$offsets6.reference;
2940
2715
  var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1;
2941
2716
  var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1;
2942
2717
  popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0);
@@ -3110,7 +2885,7 @@
3110
2885
  var isIOS = isBrowser$1 && /iPhone|iPad|iPod/.test(navigator.platform) && !window.MSStream;
3111
2886
  var defaultProps = {
3112
2887
  a11y: true,
3113
- allowHTML: true,
2888
+ allowHTML: false,
3114
2889
  animateFill: true,
3115
2890
  animation: 'shift-away',
3116
2891
  appendTo: function appendTo() {
@@ -3229,7 +3004,7 @@
3229
3004
  }
3230
3005
  function onWindowBlur() {
3231
3006
  var _document = document,
3232
- activeElement = _document.activeElement;
3007
+ activeElement = _document.activeElement;
3233
3008
  if (activeElement && activeElement.blur && activeElement._tippy) {
3234
3009
  activeElement.blur();
3235
3010
  }
@@ -3515,10 +3290,10 @@
3515
3290
  }
3516
3291
  function updatePopperElement(popper, prevProps, nextProps) {
3517
3292
  var _getChildren = getChildren(popper),
3518
- tooltip = _getChildren.tooltip,
3519
- content = _getChildren.content,
3520
- backdrop = _getChildren.backdrop,
3521
- arrow = _getChildren.arrow;
3293
+ tooltip = _getChildren.tooltip,
3294
+ content = _getChildren.content,
3295
+ backdrop = _getChildren.backdrop,
3296
+ arrow = _getChildren.arrow;
3522
3297
  popper.style.zIndex = '' + nextProps.zIndex;
3523
3298
  tooltip.setAttribute('data-size', nextProps.size);
3524
3299
  tooltip.setAttribute('data-animation', nextProps.animation);
@@ -3563,8 +3338,8 @@
3563
3338
  }
3564
3339
  function hideAll() {
3565
3340
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
3566
- excludedReferenceOrInstance = _ref.exclude,
3567
- duration = _ref.duration;
3341
+ excludedReferenceOrInstance = _ref.exclude,
3342
+ duration = _ref.duration;
3568
3343
  arrayFrom(document.querySelectorAll(POPPER_SELECTOR)).forEach(function (popper) {
3569
3344
  var instance = popper._tippy;
3570
3345
  if (instance) {
@@ -3583,9 +3358,9 @@
3583
3358
  return true;
3584
3359
  }
3585
3360
  var x = event.clientX,
3586
- y = event.clientY;
3361
+ y = event.clientY;
3587
3362
  var interactiveBorder = props.interactiveBorder,
3588
- distance = props.distance;
3363
+ distance = props.distance;
3589
3364
  var exceedsTop = popperRect.top - y > (popperPlacement === 'top' ? interactiveBorder + distance : interactiveBorder);
3590
3365
  var exceedsBottom = y - popperRect.bottom > (popperPlacement === 'bottom' ? interactiveBorder + distance : interactiveBorder);
3591
3366
  var exceedsLeft = popperRect.left - x > (popperPlacement === 'left' ? interactiveBorder + distance : interactiveBorder);
@@ -3779,16 +3554,16 @@
3779
3554
  function removeTriggersFromReference() {
3780
3555
  listeners.forEach(function (_ref) {
3781
3556
  var eventType = _ref.eventType,
3782
- handler = _ref.handler,
3783
- options = _ref.options;
3557
+ handler = _ref.handler,
3558
+ options = _ref.options;
3784
3559
  getEventListenersTarget().removeEventListener(eventType, handler, options);
3785
3560
  });
3786
3561
  listeners = [];
3787
3562
  }
3788
3563
  function positionVirtualReferenceNearCursor(event) {
3789
3564
  var _lastMouseMoveEvent = lastMouseMoveEvent = event,
3790
- x = _lastMouseMoveEvent.clientX,
3791
- y = _lastMouseMoveEvent.clientY;
3565
+ x = _lastMouseMoveEvent.clientX,
3566
+ y = _lastMouseMoveEvent.clientY;
3792
3567
  if (!currentComputedPadding) {
3793
3568
  return;
3794
3569
  }
@@ -3919,8 +3694,8 @@
3919
3694
  function createPopperInstance() {
3920
3695
  var popperOptions = instance.props.popperOptions;
3921
3696
  var _instance$popperChild = instance.popperChildren,
3922
- tooltip = _instance$popperChild.tooltip,
3923
- arrow = _instance$popperChild.arrow;
3697
+ tooltip = _instance$popperChild.tooltip,
3698
+ arrow = _instance$popperChild.arrow;
3924
3699
  var preventOverflowModifier = getModifier(popperOptions, 'preventOverflow');
3925
3700
  function applyMutations(data) {
3926
3701
  if (instance.props.flip && !instance.props.flipOnUpdate) {
@@ -4247,10 +4022,10 @@
4247
4022
  }
4248
4023
  function group(instances) {
4249
4024
  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
4250
- _ref$delay = _ref.delay,
4251
- delay = _ref$delay === void 0 ? instances[0].props.delay : _ref$delay,
4252
- _ref$duration = _ref.duration,
4253
- duration = _ref$duration === void 0 ? 0 : _ref$duration;
4025
+ _ref$delay = _ref.delay,
4026
+ delay = _ref$delay === void 0 ? instances[0].props.delay : _ref$delay,
4027
+ _ref$duration = _ref.duration,
4028
+ duration = _ref$duration === void 0 ? 0 : _ref$duration;
4254
4029
  var isAnyTippyOpen = false;
4255
4030
  instances.forEach(function (instance) {
4256
4031
  if (instance._originalProps) {
@@ -4357,14 +4132,18 @@
4357
4132
  trigger: 'mouseenter focus',
4358
4133
  theme: 'dark',
4359
4134
  interactive: true,
4135
+ boundary: 'window',
4360
4136
  content: '',
4361
- allowHtml: false,
4137
+ allowHTML: false,
4362
4138
  extCls: ''
4363
4139
  };
4364
4140
  var validPlacements$1 = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start'];
4365
4141
  var createTippy$1 = function createTippy(el, binding) {
4366
4142
  var value = binding.value;
4367
4143
  var options = _objectSpread({}, defaultOptions);
4144
+ if (value.allowHtml || value.allowHTML) {
4145
+ value.allowHTML = true;
4146
+ }
4368
4147
  if (_typeof(value) === 'object') {
4369
4148
  _extends(options, value);
4370
4149
  } else {
@@ -4375,23 +4154,21 @@
4375
4154
  });
4376
4155
  options.placement = options.placement || placement || (options.placements || ['top'])[0];
4377
4156
  var _binding$modifiers = binding.modifiers,
4378
- click = _binding$modifiers.click,
4379
- light = _binding$modifiers.light;
4157
+ click = _binding$modifiers.click,
4158
+ light = _binding$modifiers.light;
4380
4159
  if (click) {
4381
4160
  options.trigger = 'click';
4382
4161
  }
4383
4162
  if (light) {
4384
4163
  options.theme = 'light';
4385
4164
  }
4386
- if (options.allowHtml) {
4165
+ if (options.allowHTML) {
4387
4166
  var selector = options.content;
4388
4167
  if (selector instanceof Vue) {
4389
4168
  options.content = selector.$el;
4390
4169
  } else if (typeof selector === 'string') {
4391
- var element = document.querySelector(selector);
4392
- if (element) {
4393
- options.content = element;
4394
- }
4170
+ var element = document.createElement('div');
4171
+ element.innerHTML = selector;
4395
4172
  }
4396
4173
  }
4397
4174
  if (options.html) {
@@ -4580,7 +4357,7 @@
4580
4357
  var paths = this.property.split('.');
4581
4358
  var data = formModel;
4582
4359
  var _iterator = _createForOfIteratorHelper(paths),
4583
- _step;
4360
+ _step;
4584
4361
  try {
4585
4362
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
4586
4363
  var path = _step.value;
@@ -4638,9 +4415,9 @@
4638
4415
  this.validator.content = '';
4639
4416
  },
4640
4417
  checkRule: function checkRule(rule, model) {
4641
- return _asyncToGenerator( regenerator.mark(function _callee() {
4418
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
4642
4419
  var result;
4643
- return regenerator.wrap(function _callee$(_context) {
4420
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
4644
4421
  while (1) {
4645
4422
  switch (_context.prev = _context.next) {
4646
4423
  case 0:
@@ -4729,9 +4506,9 @@
4729
4506
  rules.forEach(function (rule) {
4730
4507
  promises.push(function () {
4731
4508
  return new promise$1( function () {
4732
- var _ref = _asyncToGenerator( regenerator.mark(function _callee2(resolve, reject) {
4509
+ var _ref = _asyncToGenerator( _regeneratorRuntime().mark(function _callee2(resolve, reject) {
4733
4510
  var curRule, result;
4734
- return regenerator.wrap(function _callee2$(_context2) {
4511
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
4735
4512
  while (1) {
4736
4513
  switch (_context2.prev = _context2.next) {
4737
4514
  case 0:
@@ -4843,15 +4620,12 @@
4843
4620
 
4844
4621
  /* script */
4845
4622
  var __vue_script__ = script;
4846
- /* template */
4847
4623
 
4624
+ /* template */
4848
4625
  var __vue_render__ = function __vue_render__() {
4849
4626
  var _vm = this;
4850
-
4851
4627
  var _h = _vm.$createElement;
4852
-
4853
4628
  var _c = _vm._self._c || _h;
4854
-
4855
4629
  return _c('div', {
4856
4630
  class: ['bk-form-item', {
4857
4631
  'is-required': _vm.required,
@@ -4925,19 +4699,15 @@
4925
4699
  staticClass: "form-error-tip"
4926
4700
  }, [_vm._v(_vm._s(_vm.validator.content))])] : _vm._e(), _vm._t("tip")], 2)]);
4927
4701
  };
4928
-
4929
4702
  var __vue_staticRenderFns__ = [];
4930
- /* style */
4931
4703
 
4704
+ /* style */
4932
4705
  var __vue_inject_styles__ = undefined;
4933
4706
  /* scoped */
4934
-
4935
4707
  var __vue_scope_id__ = undefined;
4936
4708
  /* module identifier */
4937
-
4938
4709
  var __vue_module_identifier__ = undefined;
4939
4710
  /* functional template */
4940
-
4941
4711
  var __vue_is_functional_template__ = false;
4942
4712
  /* style inject */
4943
4713