vue-devui 1.0.0-rc.14 → 1.0.0-rc.15

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 (109) hide show
  1. package/README.md +1 -0
  2. package/alert/index.umd.js +1 -1
  3. package/auto-complete/index.es.js +90 -81
  4. package/auto-complete/index.umd.js +24 -13
  5. package/auto-complete/style.css +1 -1
  6. package/avatar/index.umd.js +1 -1
  7. package/badge/index.umd.js +1 -1
  8. package/button/index.es.js +21 -42
  9. package/button/index.umd.js +9 -9
  10. package/card/index.umd.js +1 -1
  11. package/checkbox/index.es.js +94 -77
  12. package/checkbox/index.umd.js +26 -15
  13. package/collapse/index.es.js +3 -21
  14. package/collapse/index.umd.js +1 -1
  15. package/countdown/index.umd.js +1 -1
  16. package/date-picker-pro/index.es.js +118 -103
  17. package/date-picker-pro/index.umd.js +23 -12
  18. package/drawer/index.es.js +4 -17
  19. package/drawer/index.umd.js +1 -1
  20. package/dropdown/index.es.js +4 -22
  21. package/dropdown/index.umd.js +1 -1
  22. package/editable-select/index.es.js +104 -99
  23. package/editable-select/index.umd.js +1 -1
  24. package/editable-select/style.css +1 -1
  25. package/form/index.es.js +85 -71
  26. package/form/index.umd.js +22 -11
  27. package/fullscreen/index.umd.js +1 -1
  28. package/grid/index.es.js +7 -20
  29. package/grid/index.umd.js +1 -1
  30. package/icon/index.umd.js +1 -1
  31. package/image-preview/index.es.js +12 -23
  32. package/image-preview/index.umd.js +1 -1
  33. package/input/index.es.js +86 -72
  34. package/input/index.umd.js +24 -13
  35. package/input-number/index.es.js +1 -16
  36. package/input-number/index.umd.js +1 -1
  37. package/layout/index.umd.js +1 -1
  38. package/loading/index.es.js +15 -38
  39. package/loading/index.umd.js +1 -1
  40. package/message/index.d.ts +7 -0
  41. package/message/index.es.js +534 -0
  42. package/message/index.umd.js +1 -0
  43. package/message/package.json +7 -0
  44. package/message/style.css +1 -0
  45. package/modal/index.es.js +11 -43
  46. package/modal/index.umd.js +1 -1
  47. package/notification/index.es.js +16 -22
  48. package/notification/index.umd.js +1 -1
  49. package/nuxt/components/Message.js +3 -0
  50. package/nuxt/components/animationInjectionKey.js +3 -0
  51. package/nuxt/components/messageProps.js +3 -0
  52. package/nuxt/components/roundInjectionKey.js +3 -0
  53. package/nuxt/components/skeletonItemProps.js +3 -0
  54. package/overlay/index.es.js +1 -1
  55. package/overlay/index.umd.js +1 -1
  56. package/package.json +2 -2
  57. package/pagination/index.umd.js +1 -1
  58. package/panel/index.umd.js +1 -1
  59. package/popover/index.es.js +1 -1
  60. package/popover/index.umd.js +4 -4
  61. package/progress/index.umd.js +3 -3
  62. package/radio/index.es.js +91 -75
  63. package/radio/index.umd.js +28 -17
  64. package/radio/style.css +1 -1
  65. package/rate/index.umd.js +1 -1
  66. package/result/index.umd.js +1 -1
  67. package/ripple/index.es.js +5 -18
  68. package/ripple/index.umd.js +1 -1
  69. package/search/index.es.js +102 -75
  70. package/search/index.umd.js +26 -15
  71. package/search/style.css +1 -1
  72. package/select/index.es.js +130 -111
  73. package/select/index.umd.js +26 -15
  74. package/select/style.css +1 -1
  75. package/skeleton/index.es.js +87 -261
  76. package/skeleton/index.umd.js +1 -1
  77. package/skeleton/style.css +1 -1
  78. package/slider/index.umd.js +1 -1
  79. package/splitter/index.es.js +22 -29
  80. package/splitter/index.umd.js +9 -9
  81. package/statistic/index.es.js +0 -21
  82. package/statistic/index.umd.js +1 -1
  83. package/status/index.umd.js +1 -1
  84. package/steps/index.umd.js +1 -1
  85. package/style.css +1 -1
  86. package/switch/index.es.js +85 -71
  87. package/switch/index.umd.js +25 -14
  88. package/table/index.es.js +145 -92
  89. package/table/index.umd.js +22 -11
  90. package/table/style.css +1 -1
  91. package/tabs/index.umd.js +1 -1
  92. package/tag/index.umd.js +1 -1
  93. package/textarea/index.es.js +89 -74
  94. package/textarea/index.umd.js +26 -15
  95. package/time-picker/index.es.js +97 -88
  96. package/time-picker/index.umd.js +25 -14
  97. package/time-select/index.es.js +130 -111
  98. package/time-select/index.umd.js +25 -14
  99. package/time-select/style.css +1 -1
  100. package/timeline/index.umd.js +1 -1
  101. package/tooltip/index.es.js +1 -1
  102. package/tooltip/index.umd.js +4 -4
  103. package/tree/index.es.js +130 -95
  104. package/tree/index.umd.js +20 -9
  105. package/tree/style.css +1 -1
  106. package/upload/index.es.js +17 -48
  107. package/upload/index.umd.js +1 -1
  108. package/vue-devui.es.js +889 -628
  109. package/vue-devui.umd.js +32 -21
@@ -1,10 +1,4 @@
1
- var __defProp = Object.defineProperty;
2
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => {
4
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
- return value;
6
- };
7
- import { watch, onUnmounted, defineComponent, toRefs, createVNode, Transition, mergeProps, ref, unref, nextTick, Comment, Text, h, Fragment, inject, withDirectives, cloneVNode, computed, onMounted, provide, Teleport, reactive, getCurrentInstance, resolveComponent, onUpdated } from "vue";
1
+ import { watch, onUnmounted, defineComponent, toRefs, createVNode, Transition, mergeProps, ref, nextTick, unref, Comment, Text, Fragment, h, inject, withDirectives, cloneVNode, computed, onMounted, provide, Teleport, reactive, getCurrentInstance, resolveComponent, onUpdated } from "vue";
8
2
  import { offset, autoPlacement, arrow, shift, computePosition } from "@floating-ui/dom";
9
3
  const fixedOverlayProps = {
10
4
  modelValue: {
@@ -1064,7 +1058,7 @@ var lodash = { exports: {} };
1064
1058
  }
1065
1059
  var runInContext = function runInContext2(context) {
1066
1060
  context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
1067
- var Array2 = context.Array, Date = context.Date, Error2 = context.Error, Function2 = context.Function, Math2 = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String2 = context.String, TypeError2 = context.TypeError;
1061
+ var Array2 = context.Array, Date = context.Date, Error2 = context.Error, Function2 = context.Function, Math2 = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String2 = context.String, TypeError = context.TypeError;
1068
1062
  var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
1069
1063
  var coreJsData = context["__core-js_shared__"];
1070
1064
  var funcToString = funcProto.toString;
@@ -1078,7 +1072,7 @@ var lodash = { exports: {} };
1078
1072
  var objectCtorString = funcToString.call(Object2);
1079
1073
  var oldDash = root._;
1080
1074
  var reIsNative = RegExp2("^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
1081
- var Buffer2 = moduleExports ? context.Buffer : undefined$1, Symbol2 = context.Symbol, Uint8Array2 = context.Uint8Array, allocUnsafe = Buffer2 ? Buffer2.allocUnsafe : undefined$1, getPrototype = overArg(Object2.getPrototypeOf, Object2), objectCreate = Object2.create, propertyIsEnumerable = objectProto.propertyIsEnumerable, splice = arrayProto.splice, spreadableSymbol = Symbol2 ? Symbol2.isConcatSpreadable : undefined$1, symIterator = Symbol2 ? Symbol2.iterator : undefined$1, symToStringTag = Symbol2 ? Symbol2.toStringTag : undefined$1;
1075
+ var Buffer = moduleExports ? context.Buffer : undefined$1, Symbol2 = context.Symbol, Uint8Array = context.Uint8Array, allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined$1, getPrototype = overArg(Object2.getPrototypeOf, Object2), objectCreate = Object2.create, propertyIsEnumerable = objectProto.propertyIsEnumerable, splice = arrayProto.splice, spreadableSymbol = Symbol2 ? Symbol2.isConcatSpreadable : undefined$1, symIterator = Symbol2 ? Symbol2.iterator : undefined$1, symToStringTag = Symbol2 ? Symbol2.toStringTag : undefined$1;
1082
1076
  var defineProperty = function() {
1083
1077
  try {
1084
1078
  var func = getNative(Object2, "defineProperty");
@@ -1088,11 +1082,11 @@ var lodash = { exports: {} };
1088
1082
  }
1089
1083
  }();
1090
1084
  var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, ctxNow = Date && Date.now !== root.Date.now && Date.now, ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;
1091
- var nativeCeil = Math2.ceil, nativeFloor = Math2.floor, nativeGetSymbols = Object2.getOwnPropertySymbols, nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : undefined$1, nativeIsFinite = context.isFinite, nativeJoin = arrayProto.join, nativeKeys = overArg(Object2.keys, Object2), nativeMax = Math2.max, nativeMin = Math2.min, nativeNow = Date.now, nativeParseInt = context.parseInt, nativeRandom = Math2.random, nativeReverse = arrayProto.reverse;
1092
- var DataView = getNative(context, "DataView"), Map = getNative(context, "Map"), Promise2 = getNative(context, "Promise"), Set2 = getNative(context, "Set"), WeakMap2 = getNative(context, "WeakMap"), nativeCreate = getNative(Object2, "create");
1093
- var metaMap = WeakMap2 && new WeakMap2();
1085
+ var nativeCeil = Math2.ceil, nativeFloor = Math2.floor, nativeGetSymbols = Object2.getOwnPropertySymbols, nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined$1, nativeIsFinite = context.isFinite, nativeJoin = arrayProto.join, nativeKeys = overArg(Object2.keys, Object2), nativeMax = Math2.max, nativeMin = Math2.min, nativeNow = Date.now, nativeParseInt = context.parseInt, nativeRandom = Math2.random, nativeReverse = arrayProto.reverse;
1086
+ var DataView = getNative(context, "DataView"), Map = getNative(context, "Map"), Promise = getNative(context, "Promise"), Set2 = getNative(context, "Set"), WeakMap = getNative(context, "WeakMap"), nativeCreate = getNative(Object2, "create");
1087
+ var metaMap = WeakMap && new WeakMap();
1094
1088
  var realNames = {};
1095
- var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise2), setCtorString = toSource(Set2), weakMapCtorString = toSource(WeakMap2);
1089
+ var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise), setCtorString = toSource(Set2), weakMapCtorString = toSource(WeakMap);
1096
1090
  var symbolProto = Symbol2 ? Symbol2.prototype : undefined$1, symbolValueOf = symbolProto ? symbolProto.valueOf : undefined$1, symbolToString = symbolProto ? symbolProto.toString : undefined$1;
1097
1091
  function lodash2(value) {
1098
1092
  if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {
@@ -1545,7 +1539,7 @@ var lodash = { exports: {} };
1545
1539
  }
1546
1540
  function baseDelay(func, wait, args) {
1547
1541
  if (typeof func != "function") {
1548
- throw new TypeError2(FUNC_ERROR_TEXT);
1542
+ throw new TypeError(FUNC_ERROR_TEXT);
1549
1543
  }
1550
1544
  return setTimeout2(function() {
1551
1545
  func.apply(undefined$1, args);
@@ -2340,7 +2334,7 @@ var lodash = { exports: {} };
2340
2334
  }
2341
2335
  function cloneArrayBuffer(arrayBuffer) {
2342
2336
  var result2 = new arrayBuffer.constructor(arrayBuffer.byteLength);
2343
- new Uint8Array2(result2).set(new Uint8Array2(arrayBuffer));
2337
+ new Uint8Array(result2).set(new Uint8Array(arrayBuffer));
2344
2338
  return result2;
2345
2339
  }
2346
2340
  function cloneDataView(dataView, isDeep) {
@@ -2589,7 +2583,7 @@ var lodash = { exports: {} };
2589
2583
  while (index2--) {
2590
2584
  var func = funcs[index2];
2591
2585
  if (typeof func != "function") {
2592
- throw new TypeError2(FUNC_ERROR_TEXT);
2586
+ throw new TypeError(FUNC_ERROR_TEXT);
2593
2587
  }
2594
2588
  if (prereq && !wrapper && getFuncName(func) == "wrapper") {
2595
2589
  var wrapper = new LodashWrapper([], true);
@@ -2802,7 +2796,7 @@ var lodash = { exports: {} };
2802
2796
  function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary2, arity) {
2803
2797
  var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;
2804
2798
  if (!isBindKey && typeof func != "function") {
2805
- throw new TypeError2(FUNC_ERROR_TEXT);
2799
+ throw new TypeError(FUNC_ERROR_TEXT);
2806
2800
  }
2807
2801
  var length = partials ? partials.length : 0;
2808
2802
  if (!length) {
@@ -2922,7 +2916,7 @@ var lodash = { exports: {} };
2922
2916
  object = object.buffer;
2923
2917
  other = other.buffer;
2924
2918
  case arrayBufferTag:
2925
- if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array2(object), new Uint8Array2(other))) {
2919
+ if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
2926
2920
  return false;
2927
2921
  }
2928
2922
  return true;
@@ -3084,7 +3078,7 @@ var lodash = { exports: {} };
3084
3078
  return result2;
3085
3079
  };
3086
3080
  var getTag = baseGetTag;
3087
- if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set2 && getTag(new Set2()) != setTag || WeakMap2 && getTag(new WeakMap2()) != weakMapTag) {
3081
+ if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise && getTag(Promise.resolve()) != promiseTag || Set2 && getTag(new Set2()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {
3088
3082
  getTag = function(value) {
3089
3083
  var result2 = baseGetTag(value), Ctor = result2 == objectTag ? value.constructor : undefined$1, ctorString = Ctor ? toSource(Ctor) : "";
3090
3084
  if (ctorString) {
@@ -4069,7 +4063,7 @@ var lodash = { exports: {} };
4069
4063
  };
4070
4064
  function after(n, func) {
4071
4065
  if (typeof func != "function") {
4072
- throw new TypeError2(FUNC_ERROR_TEXT);
4066
+ throw new TypeError(FUNC_ERROR_TEXT);
4073
4067
  }
4074
4068
  n = toInteger(n);
4075
4069
  return function() {
@@ -4086,7 +4080,7 @@ var lodash = { exports: {} };
4086
4080
  function before(n, func) {
4087
4081
  var result2;
4088
4082
  if (typeof func != "function") {
4089
- throw new TypeError2(FUNC_ERROR_TEXT);
4083
+ throw new TypeError(FUNC_ERROR_TEXT);
4090
4084
  }
4091
4085
  n = toInteger(n);
4092
4086
  return function() {
@@ -4130,7 +4124,7 @@ var lodash = { exports: {} };
4130
4124
  function debounce(func, wait, options) {
4131
4125
  var lastArgs, lastThis, maxWait, result2, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
4132
4126
  if (typeof func != "function") {
4133
- throw new TypeError2(FUNC_ERROR_TEXT);
4127
+ throw new TypeError(FUNC_ERROR_TEXT);
4134
4128
  }
4135
4129
  wait = toNumber(wait) || 0;
4136
4130
  if (isObject2(options)) {
@@ -4219,7 +4213,7 @@ var lodash = { exports: {} };
4219
4213
  }
4220
4214
  function memoize(func, resolver) {
4221
4215
  if (typeof func != "function" || resolver != null && typeof resolver != "function") {
4222
- throw new TypeError2(FUNC_ERROR_TEXT);
4216
+ throw new TypeError(FUNC_ERROR_TEXT);
4223
4217
  }
4224
4218
  var memoized = function() {
4225
4219
  var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
@@ -4236,7 +4230,7 @@ var lodash = { exports: {} };
4236
4230
  memoize.Cache = MapCache;
4237
4231
  function negate(predicate) {
4238
4232
  if (typeof predicate != "function") {
4239
- throw new TypeError2(FUNC_ERROR_TEXT);
4233
+ throw new TypeError(FUNC_ERROR_TEXT);
4240
4234
  }
4241
4235
  return function() {
4242
4236
  var args = arguments;
@@ -4280,14 +4274,14 @@ var lodash = { exports: {} };
4280
4274
  });
4281
4275
  function rest(func, start) {
4282
4276
  if (typeof func != "function") {
4283
- throw new TypeError2(FUNC_ERROR_TEXT);
4277
+ throw new TypeError(FUNC_ERROR_TEXT);
4284
4278
  }
4285
4279
  start = start === undefined$1 ? start : toInteger(start);
4286
4280
  return baseRest(func, start);
4287
4281
  }
4288
4282
  function spread(func, start) {
4289
4283
  if (typeof func != "function") {
4290
- throw new TypeError2(FUNC_ERROR_TEXT);
4284
+ throw new TypeError(FUNC_ERROR_TEXT);
4291
4285
  }
4292
4286
  start = start == null ? 0 : nativeMax(toInteger(start), 0);
4293
4287
  return baseRest(function(args) {
@@ -4301,7 +4295,7 @@ var lodash = { exports: {} };
4301
4295
  function throttle(func, wait, options) {
4302
4296
  var leading = true, trailing = true;
4303
4297
  if (typeof func != "function") {
4304
- throw new TypeError2(FUNC_ERROR_TEXT);
4298
+ throw new TypeError(FUNC_ERROR_TEXT);
4305
4299
  }
4306
4300
  if (isObject2(options)) {
4307
4301
  leading = "leading" in options ? !!options.leading : leading;
@@ -5114,7 +5108,7 @@ var lodash = { exports: {} };
5114
5108
  var length = pairs == null ? 0 : pairs.length, toIteratee = getIteratee();
5115
5109
  pairs = !length ? [] : arrayMap(pairs, function(pair) {
5116
5110
  if (typeof pair[1] != "function") {
5117
- throw new TypeError2(FUNC_ERROR_TEXT);
5111
+ throw new TypeError(FUNC_ERROR_TEXT);
5118
5112
  }
5119
5113
  return [toIteratee(pair[0]), pair[1]];
5120
5114
  });
@@ -6397,7 +6391,6 @@ var DSplitterBar = defineComponent({
6397
6391
  });
6398
6392
  class SplitterStore {
6399
6393
  constructor() {
6400
- __publicField(this, "state");
6401
6394
  this.state = reactive({
6402
6395
  panes: [],
6403
6396
  splitterContainerSize: 0,