vdesign-ui 0.2.5 → 0.2.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.
- package/dist/components/toast/index.js +61 -72
- package/dist/vdesign-ui.common.js +61 -471
- package/dist/vdesign-ui.umd.js +61 -471
- package/dist/vdesign-ui.umd.min.js +3 -3
- package/package.json +1 -1
|
@@ -210,30 +210,6 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
210
210
|
});
|
|
211
211
|
|
|
212
212
|
|
|
213
|
-
/***/ }),
|
|
214
|
-
|
|
215
|
-
/***/ "0d26":
|
|
216
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
217
|
-
|
|
218
|
-
"use strict";
|
|
219
|
-
|
|
220
|
-
var uncurryThis = __webpack_require__("e330");
|
|
221
|
-
|
|
222
|
-
var $Error = Error;
|
|
223
|
-
var replace = uncurryThis(''.replace);
|
|
224
|
-
|
|
225
|
-
var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
|
|
226
|
-
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
227
|
-
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
|
|
228
|
-
var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
|
|
229
|
-
|
|
230
|
-
module.exports = function (stack, dropEntries) {
|
|
231
|
-
if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
|
|
232
|
-
while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
|
|
233
|
-
} return stack;
|
|
234
|
-
};
|
|
235
|
-
|
|
236
|
-
|
|
237
213
|
/***/ }),
|
|
238
214
|
|
|
239
215
|
/***/ "0d51":
|
|
@@ -445,20 +421,6 @@ module.exports = typeof documentAll == 'undefined' && documentAll !== undefined
|
|
|
445
421
|
|
|
446
422
|
// extracted by mini-css-extract-plugin
|
|
447
423
|
|
|
448
|
-
/***/ }),
|
|
449
|
-
|
|
450
|
-
/***/ "1787":
|
|
451
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
452
|
-
|
|
453
|
-
"use strict";
|
|
454
|
-
|
|
455
|
-
var isObject = __webpack_require__("861d");
|
|
456
|
-
|
|
457
|
-
module.exports = function (argument) {
|
|
458
|
-
return isObject(argument) || argument === null;
|
|
459
|
-
};
|
|
460
|
-
|
|
461
|
-
|
|
462
424
|
/***/ }),
|
|
463
425
|
|
|
464
426
|
/***/ "1a2d":
|
|
@@ -8964,25 +8926,6 @@ if (inBrowser) {
|
|
|
8964
8926
|
/* unused harmony reexport * */
|
|
8965
8927
|
|
|
8966
8928
|
|
|
8967
|
-
/***/ }),
|
|
8968
|
-
|
|
8969
|
-
/***/ "2ba4":
|
|
8970
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
8971
|
-
|
|
8972
|
-
"use strict";
|
|
8973
|
-
|
|
8974
|
-
var NATIVE_BIND = __webpack_require__("40d5");
|
|
8975
|
-
|
|
8976
|
-
var FunctionPrototype = Function.prototype;
|
|
8977
|
-
var apply = FunctionPrototype.apply;
|
|
8978
|
-
var call = FunctionPrototype.call;
|
|
8979
|
-
|
|
8980
|
-
// eslint-disable-next-line es/no-reflect -- safe
|
|
8981
|
-
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
|
8982
|
-
return call.apply(apply, arguments);
|
|
8983
|
-
});
|
|
8984
|
-
|
|
8985
|
-
|
|
8986
8929
|
/***/ }),
|
|
8987
8930
|
|
|
8988
8931
|
/***/ "2c81":
|
|
@@ -9142,24 +9085,6 @@ var uncurryThis = __webpack_require__("e330");
|
|
|
9142
9085
|
module.exports = uncurryThis({}.isPrototypeOf);
|
|
9143
9086
|
|
|
9144
9087
|
|
|
9145
|
-
/***/ }),
|
|
9146
|
-
|
|
9147
|
-
/***/ "3bbe":
|
|
9148
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9149
|
-
|
|
9150
|
-
"use strict";
|
|
9151
|
-
|
|
9152
|
-
var isPossiblePrototype = __webpack_require__("1787");
|
|
9153
|
-
|
|
9154
|
-
var $String = String;
|
|
9155
|
-
var $TypeError = TypeError;
|
|
9156
|
-
|
|
9157
|
-
module.exports = function (argument) {
|
|
9158
|
-
if (isPossiblePrototype(argument)) return argument;
|
|
9159
|
-
throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
|
9160
|
-
};
|
|
9161
|
-
|
|
9162
|
-
|
|
9163
9088
|
/***/ }),
|
|
9164
9089
|
|
|
9165
9090
|
/***/ "3c69":
|
|
@@ -9964,28 +9889,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUkAAADsCAMAAADO
|
|
|
9964
9889
|
|
|
9965
9890
|
// extracted by mini-css-extract-plugin
|
|
9966
9891
|
|
|
9967
|
-
/***/ }),
|
|
9968
|
-
|
|
9969
|
-
/***/ "6f19":
|
|
9970
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9971
|
-
|
|
9972
|
-
"use strict";
|
|
9973
|
-
|
|
9974
|
-
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
9975
|
-
var clearErrorStack = __webpack_require__("0d26");
|
|
9976
|
-
var ERROR_STACK_INSTALLABLE = __webpack_require__("b980");
|
|
9977
|
-
|
|
9978
|
-
// non-standard V8
|
|
9979
|
-
var captureStackTrace = Error.captureStackTrace;
|
|
9980
|
-
|
|
9981
|
-
module.exports = function (error, C, stack, dropEntries) {
|
|
9982
|
-
if (ERROR_STACK_INSTALLABLE) {
|
|
9983
|
-
if (captureStackTrace) captureStackTrace(error, C);
|
|
9984
|
-
else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));
|
|
9985
|
-
}
|
|
9986
|
-
};
|
|
9987
|
-
|
|
9988
|
-
|
|
9989
9892
|
/***/ }),
|
|
9990
9893
|
|
|
9991
9894
|
/***/ "6fa5":
|
|
@@ -10004,33 +9907,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUkAAADsCAMAAADO
|
|
|
10004
9907
|
/* unused harmony reexport * */
|
|
10005
9908
|
|
|
10006
9909
|
|
|
10007
|
-
/***/ }),
|
|
10008
|
-
|
|
10009
|
-
/***/ "7156":
|
|
10010
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
10011
|
-
|
|
10012
|
-
"use strict";
|
|
10013
|
-
|
|
10014
|
-
var isCallable = __webpack_require__("1626");
|
|
10015
|
-
var isObject = __webpack_require__("861d");
|
|
10016
|
-
var setPrototypeOf = __webpack_require__("d2bb");
|
|
10017
|
-
|
|
10018
|
-
// makes subclassing work correct for wrapped built-ins
|
|
10019
|
-
module.exports = function ($this, dummy, Wrapper) {
|
|
10020
|
-
var NewTarget, NewTargetPrototype;
|
|
10021
|
-
if (
|
|
10022
|
-
// it can work only with native `setPrototypeOf`
|
|
10023
|
-
setPrototypeOf &&
|
|
10024
|
-
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
10025
|
-
isCallable(NewTarget = dummy.constructor) &&
|
|
10026
|
-
NewTarget !== Wrapper &&
|
|
10027
|
-
isObject(NewTargetPrototype = NewTarget.prototype) &&
|
|
10028
|
-
NewTargetPrototype !== Wrapper.prototype
|
|
10029
|
-
) setPrototypeOf($this, NewTargetPrototype);
|
|
10030
|
-
return $this;
|
|
10031
|
-
};
|
|
10032
|
-
|
|
10033
|
-
|
|
10034
9910
|
/***/ }),
|
|
10035
9911
|
|
|
10036
9912
|
/***/ "7234":
|
|
@@ -10045,24 +9921,6 @@ module.exports = function (it) {
|
|
|
10045
9921
|
};
|
|
10046
9922
|
|
|
10047
9923
|
|
|
10048
|
-
/***/ }),
|
|
10049
|
-
|
|
10050
|
-
/***/ "7282":
|
|
10051
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
10052
|
-
|
|
10053
|
-
"use strict";
|
|
10054
|
-
|
|
10055
|
-
var uncurryThis = __webpack_require__("e330");
|
|
10056
|
-
var aCallable = __webpack_require__("59ed");
|
|
10057
|
-
|
|
10058
|
-
module.exports = function (object, key, method) {
|
|
10059
|
-
try {
|
|
10060
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
10061
|
-
return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
10062
|
-
} catch (error) { /* empty */ }
|
|
10063
|
-
};
|
|
10064
|
-
|
|
10065
|
-
|
|
10066
9924
|
/***/ }),
|
|
10067
9925
|
|
|
10068
9926
|
/***/ "7284":
|
|
@@ -10767,43 +10625,6 @@ module.exports = function (METHOD_NAME, argument) {
|
|
|
10767
10625
|
|
|
10768
10626
|
// extracted by mini-css-extract-plugin
|
|
10769
10627
|
|
|
10770
|
-
/***/ }),
|
|
10771
|
-
|
|
10772
|
-
/***/ "ab36":
|
|
10773
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
10774
|
-
|
|
10775
|
-
"use strict";
|
|
10776
|
-
|
|
10777
|
-
var isObject = __webpack_require__("861d");
|
|
10778
|
-
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
10779
|
-
|
|
10780
|
-
// `InstallErrorCause` abstract operation
|
|
10781
|
-
// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
|
|
10782
|
-
module.exports = function (O, options) {
|
|
10783
|
-
if (isObject(options) && 'cause' in options) {
|
|
10784
|
-
createNonEnumerableProperty(O, 'cause', options.cause);
|
|
10785
|
-
}
|
|
10786
|
-
};
|
|
10787
|
-
|
|
10788
|
-
|
|
10789
|
-
/***/ }),
|
|
10790
|
-
|
|
10791
|
-
/***/ "aeb0":
|
|
10792
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
10793
|
-
|
|
10794
|
-
"use strict";
|
|
10795
|
-
|
|
10796
|
-
var defineProperty = __webpack_require__("9bf2").f;
|
|
10797
|
-
|
|
10798
|
-
module.exports = function (Target, Source, key) {
|
|
10799
|
-
key in Target || defineProperty(Target, key, {
|
|
10800
|
-
configurable: true,
|
|
10801
|
-
get: function () { return Source[key]; },
|
|
10802
|
-
set: function (it) { Source[key] = it; }
|
|
10803
|
-
});
|
|
10804
|
-
};
|
|
10805
|
-
|
|
10806
|
-
|
|
10807
10628
|
/***/ }),
|
|
10808
10629
|
|
|
10809
10630
|
/***/ "aeb7":
|
|
@@ -10910,25 +10731,6 @@ module.exports = function (name) {
|
|
|
10910
10731
|
};
|
|
10911
10732
|
|
|
10912
10733
|
|
|
10913
|
-
/***/ }),
|
|
10914
|
-
|
|
10915
|
-
/***/ "b980":
|
|
10916
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
10917
|
-
|
|
10918
|
-
"use strict";
|
|
10919
|
-
|
|
10920
|
-
var fails = __webpack_require__("d039");
|
|
10921
|
-
var createPropertyDescriptor = __webpack_require__("5c6c");
|
|
10922
|
-
|
|
10923
|
-
module.exports = !fails(function () {
|
|
10924
|
-
var error = new Error('a');
|
|
10925
|
-
if (!('stack' in error)) return true;
|
|
10926
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
10927
|
-
Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
|
|
10928
|
-
return error.stack !== 7;
|
|
10929
|
-
});
|
|
10930
|
-
|
|
10931
|
-
|
|
10932
10734
|
/***/ }),
|
|
10933
10735
|
|
|
10934
10736
|
/***/ "ba39":
|
|
@@ -11524,43 +11326,6 @@ function createNamespace(name) {
|
|
|
11524
11326
|
return [createComponent(name), createBEM(name), createI18N(name)];
|
|
11525
11327
|
}
|
|
11526
11328
|
|
|
11527
|
-
/***/ }),
|
|
11528
|
-
|
|
11529
|
-
/***/ "d2bb":
|
|
11530
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
11531
|
-
|
|
11532
|
-
"use strict";
|
|
11533
|
-
|
|
11534
|
-
/* eslint-disable no-proto -- safe */
|
|
11535
|
-
var uncurryThisAccessor = __webpack_require__("7282");
|
|
11536
|
-
var isObject = __webpack_require__("861d");
|
|
11537
|
-
var requireObjectCoercible = __webpack_require__("1d80");
|
|
11538
|
-
var aPossiblePrototype = __webpack_require__("3bbe");
|
|
11539
|
-
|
|
11540
|
-
// `Object.setPrototypeOf` method
|
|
11541
|
-
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
11542
|
-
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
11543
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
11544
|
-
module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
11545
|
-
var CORRECT_SETTER = false;
|
|
11546
|
-
var test = {};
|
|
11547
|
-
var setter;
|
|
11548
|
-
try {
|
|
11549
|
-
setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
11550
|
-
setter(test, []);
|
|
11551
|
-
CORRECT_SETTER = test instanceof Array;
|
|
11552
|
-
} catch (error) { /* empty */ }
|
|
11553
|
-
return function setPrototypeOf(O, proto) {
|
|
11554
|
-
requireObjectCoercible(O);
|
|
11555
|
-
aPossiblePrototype(proto);
|
|
11556
|
-
if (!isObject(O)) return O;
|
|
11557
|
-
if (CORRECT_SETTER) setter(O, proto);
|
|
11558
|
-
else O.__proto__ = proto;
|
|
11559
|
-
return O;
|
|
11560
|
-
};
|
|
11561
|
-
}() : undefined);
|
|
11562
|
-
|
|
11563
|
-
|
|
11564
11329
|
/***/ }),
|
|
11565
11330
|
|
|
11566
11331
|
/***/ "d2f8":
|
|
@@ -11677,72 +11442,6 @@ module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
11677
11442
|
};
|
|
11678
11443
|
|
|
11679
11444
|
|
|
11680
|
-
/***/ }),
|
|
11681
|
-
|
|
11682
|
-
/***/ "d9e2":
|
|
11683
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
11684
|
-
|
|
11685
|
-
"use strict";
|
|
11686
|
-
|
|
11687
|
-
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
11688
|
-
var $ = __webpack_require__("23e7");
|
|
11689
|
-
var global = __webpack_require__("da84");
|
|
11690
|
-
var apply = __webpack_require__("2ba4");
|
|
11691
|
-
var wrapErrorConstructorWithCause = __webpack_require__("e5cb");
|
|
11692
|
-
|
|
11693
|
-
var WEB_ASSEMBLY = 'WebAssembly';
|
|
11694
|
-
var WebAssembly = global[WEB_ASSEMBLY];
|
|
11695
|
-
|
|
11696
|
-
// eslint-disable-next-line es/no-error-cause -- feature detection
|
|
11697
|
-
var FORCED = new Error('e', { cause: 7 }).cause !== 7;
|
|
11698
|
-
|
|
11699
|
-
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
11700
|
-
var O = {};
|
|
11701
|
-
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);
|
|
11702
|
-
$({ global: true, constructor: true, arity: 1, forced: FORCED }, O);
|
|
11703
|
-
};
|
|
11704
|
-
|
|
11705
|
-
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
11706
|
-
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
11707
|
-
var O = {};
|
|
11708
|
-
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);
|
|
11709
|
-
$({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O);
|
|
11710
|
-
}
|
|
11711
|
-
};
|
|
11712
|
-
|
|
11713
|
-
// https://tc39.es/ecma262/#sec-nativeerror
|
|
11714
|
-
exportGlobalErrorCauseWrapper('Error', function (init) {
|
|
11715
|
-
return function Error(message) { return apply(init, this, arguments); };
|
|
11716
|
-
});
|
|
11717
|
-
exportGlobalErrorCauseWrapper('EvalError', function (init) {
|
|
11718
|
-
return function EvalError(message) { return apply(init, this, arguments); };
|
|
11719
|
-
});
|
|
11720
|
-
exportGlobalErrorCauseWrapper('RangeError', function (init) {
|
|
11721
|
-
return function RangeError(message) { return apply(init, this, arguments); };
|
|
11722
|
-
});
|
|
11723
|
-
exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
|
|
11724
|
-
return function ReferenceError(message) { return apply(init, this, arguments); };
|
|
11725
|
-
});
|
|
11726
|
-
exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
|
|
11727
|
-
return function SyntaxError(message) { return apply(init, this, arguments); };
|
|
11728
|
-
});
|
|
11729
|
-
exportGlobalErrorCauseWrapper('TypeError', function (init) {
|
|
11730
|
-
return function TypeError(message) { return apply(init, this, arguments); };
|
|
11731
|
-
});
|
|
11732
|
-
exportGlobalErrorCauseWrapper('URIError', function (init) {
|
|
11733
|
-
return function URIError(message) { return apply(init, this, arguments); };
|
|
11734
|
-
});
|
|
11735
|
-
exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
|
|
11736
|
-
return function CompileError(message) { return apply(init, this, arguments); };
|
|
11737
|
-
});
|
|
11738
|
-
exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
|
|
11739
|
-
return function LinkError(message) { return apply(init, this, arguments); };
|
|
11740
|
-
});
|
|
11741
|
-
exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
|
|
11742
|
-
return function RuntimeError(message) { return apply(init, this, arguments); };
|
|
11743
|
-
});
|
|
11744
|
-
|
|
11745
|
-
|
|
11746
11445
|
/***/ }),
|
|
11747
11446
|
|
|
11748
11447
|
/***/ "da84":
|
|
@@ -11871,20 +11570,6 @@ module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
|
11871
11570
|
};
|
|
11872
11571
|
|
|
11873
11572
|
|
|
11874
|
-
/***/ }),
|
|
11875
|
-
|
|
11876
|
-
/***/ "e391":
|
|
11877
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
11878
|
-
|
|
11879
|
-
"use strict";
|
|
11880
|
-
|
|
11881
|
-
var toString = __webpack_require__("577e");
|
|
11882
|
-
|
|
11883
|
-
module.exports = function (argument, $default) {
|
|
11884
|
-
return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
|
|
11885
|
-
};
|
|
11886
|
-
|
|
11887
|
-
|
|
11888
11573
|
/***/ }),
|
|
11889
11574
|
|
|
11890
11575
|
/***/ "e3b3":
|
|
@@ -11903,79 +11588,6 @@ module.exports = function (argument, $default) {
|
|
|
11903
11588
|
/* unused harmony reexport * */
|
|
11904
11589
|
|
|
11905
11590
|
|
|
11906
|
-
/***/ }),
|
|
11907
|
-
|
|
11908
|
-
/***/ "e5cb":
|
|
11909
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
11910
|
-
|
|
11911
|
-
"use strict";
|
|
11912
|
-
|
|
11913
|
-
var getBuiltIn = __webpack_require__("d066");
|
|
11914
|
-
var hasOwn = __webpack_require__("1a2d");
|
|
11915
|
-
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
11916
|
-
var isPrototypeOf = __webpack_require__("3a9b");
|
|
11917
|
-
var setPrototypeOf = __webpack_require__("d2bb");
|
|
11918
|
-
var copyConstructorProperties = __webpack_require__("e893");
|
|
11919
|
-
var proxyAccessor = __webpack_require__("aeb0");
|
|
11920
|
-
var inheritIfRequired = __webpack_require__("7156");
|
|
11921
|
-
var normalizeStringArgument = __webpack_require__("e391");
|
|
11922
|
-
var installErrorCause = __webpack_require__("ab36");
|
|
11923
|
-
var installErrorStack = __webpack_require__("6f19");
|
|
11924
|
-
var DESCRIPTORS = __webpack_require__("83ab");
|
|
11925
|
-
var IS_PURE = __webpack_require__("c430");
|
|
11926
|
-
|
|
11927
|
-
module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
|
|
11928
|
-
var STACK_TRACE_LIMIT = 'stackTraceLimit';
|
|
11929
|
-
var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
|
|
11930
|
-
var path = FULL_NAME.split('.');
|
|
11931
|
-
var ERROR_NAME = path[path.length - 1];
|
|
11932
|
-
var OriginalError = getBuiltIn.apply(null, path);
|
|
11933
|
-
|
|
11934
|
-
if (!OriginalError) return;
|
|
11935
|
-
|
|
11936
|
-
var OriginalErrorPrototype = OriginalError.prototype;
|
|
11937
|
-
|
|
11938
|
-
// V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
|
|
11939
|
-
if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
|
|
11940
|
-
|
|
11941
|
-
if (!FORCED) return OriginalError;
|
|
11942
|
-
|
|
11943
|
-
var BaseError = getBuiltIn('Error');
|
|
11944
|
-
|
|
11945
|
-
var WrappedError = wrapper(function (a, b) {
|
|
11946
|
-
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
|
|
11947
|
-
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
|
|
11948
|
-
if (message !== undefined) createNonEnumerableProperty(result, 'message', message);
|
|
11949
|
-
installErrorStack(result, WrappedError, result.stack, 2);
|
|
11950
|
-
if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
|
|
11951
|
-
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
|
|
11952
|
-
return result;
|
|
11953
|
-
});
|
|
11954
|
-
|
|
11955
|
-
WrappedError.prototype = OriginalErrorPrototype;
|
|
11956
|
-
|
|
11957
|
-
if (ERROR_NAME !== 'Error') {
|
|
11958
|
-
if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);
|
|
11959
|
-
else copyConstructorProperties(WrappedError, BaseError, { name: true });
|
|
11960
|
-
} else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {
|
|
11961
|
-
proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
|
|
11962
|
-
proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
|
|
11963
|
-
}
|
|
11964
|
-
|
|
11965
|
-
copyConstructorProperties(WrappedError, OriginalError);
|
|
11966
|
-
|
|
11967
|
-
if (!IS_PURE) try {
|
|
11968
|
-
// Safari 13- bug: WebAssembly errors does not have a proper `.name`
|
|
11969
|
-
if (OriginalErrorPrototype.name !== ERROR_NAME) {
|
|
11970
|
-
createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);
|
|
11971
|
-
}
|
|
11972
|
-
OriginalErrorPrototype.constructor = WrappedError;
|
|
11973
|
-
} catch (error) { /* empty */ }
|
|
11974
|
-
|
|
11975
|
-
return WrappedError;
|
|
11976
|
-
};
|
|
11977
|
-
|
|
11978
|
-
|
|
11979
11591
|
/***/ }),
|
|
11980
11592
|
|
|
11981
11593
|
/***/ "e624":
|
|
@@ -21066,9 +20678,6 @@ var headnav_component = normalizeComponent(
|
|
|
21066
20678
|
)
|
|
21067
20679
|
|
|
21068
20680
|
/* harmony default export */ var headnav = (headnav_component.exports);
|
|
21069
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
|
|
21070
|
-
var es_error_cause = __webpack_require__("d9e2");
|
|
21071
|
-
|
|
21072
20681
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"75d8bda1-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/toast/index.vue?vue&type=template&id=7c605e5b
|
|
21073
20682
|
var toastvue_type_template_id_7c605e5b_render = function render() {
|
|
21074
20683
|
var _vm = this,
|
|
@@ -21164,95 +20773,76 @@ var toast_component = normalizeComponent(
|
|
|
21164
20773
|
|
|
21165
20774
|
|
|
21166
20775
|
|
|
21167
|
-
|
|
21168
20776
|
let timer = null;
|
|
21169
|
-
|
|
21170
|
-
|
|
21171
|
-
* 使用新类继承 VUE 扩展组件
|
|
21172
|
-
*/
|
|
21173
|
-
class toast_Toast extends vue_runtime_esm["a" /* default */].extend(components_toast) {
|
|
20777
|
+
let currentToast = null;
|
|
20778
|
+
class toast_VdToast extends vue_runtime_esm["a" /* default */].extend(components_toast) {
|
|
21174
20779
|
constructor(options) {
|
|
21175
20780
|
super();
|
|
21176
|
-
const type = Object.prototype.toString.call(options);
|
|
21177
|
-
/**
|
|
21178
|
-
* 赋值虚拟节点
|
|
21179
|
-
*/
|
|
21180
20781
|
this.vm = this.$mount();
|
|
21181
|
-
|
|
21182
|
-
|
|
21183
|
-
|
|
21184
|
-
if (type === '[object String]' || type === '[object Number]') {
|
|
20782
|
+
|
|
20783
|
+
// 支持字符串或对象传入
|
|
20784
|
+
if (typeof options === 'string' || typeof options === 'number') {
|
|
21185
20785
|
this.message = options;
|
|
21186
|
-
} else if (
|
|
21187
|
-
|
|
21188
|
-
* 循环遍历,设置该类属性
|
|
21189
|
-
*/
|
|
21190
|
-
Object.keys(options).forEach(elem => {
|
|
21191
|
-
this[elem] = options[elem];
|
|
21192
|
-
});
|
|
21193
|
-
} else {
|
|
21194
|
-
/**
|
|
21195
|
-
* 抛出错误
|
|
21196
|
-
*/
|
|
21197
|
-
throw new Error(`${JSON.stringify(options)} is not Number, String or Object`);
|
|
20786
|
+
} else if (typeof options === 'object') {
|
|
20787
|
+
Object.assign(this, options);
|
|
21198
20788
|
}
|
|
21199
|
-
|
|
21200
|
-
// // 设置具名插槽内容
|
|
21201
|
-
// if (options.slotContent) {
|
|
21202
|
-
// const slotContent = options.slotContent;
|
|
21203
|
-
// this.$slots.icon = slotContent.icon ? [this.$createElement('div', { domProps: { innerHTML: slotContent.icon } })] : [];
|
|
21204
|
-
// this.$slots.content = slotContent.content ? [this.$createElement('div', { domProps: { innerHTML: slotContent.content } })] : [];
|
|
21205
|
-
// }
|
|
21206
|
-
|
|
21207
20789
|
this.init();
|
|
21208
20790
|
}
|
|
21209
|
-
|
|
21210
|
-
/**
|
|
21211
|
-
* 初始化方法
|
|
21212
|
-
*/
|
|
21213
20791
|
init() {
|
|
21214
|
-
/**
|
|
21215
|
-
* 把虚拟 DOM 插入到真实 DOM 树中
|
|
21216
|
-
*/
|
|
21217
20792
|
if (inBrowser) {
|
|
21218
|
-
document.body.appendChild(this.vm.$el);
|
|
20793
|
+
document.body.appendChild(this.vm.$el);
|
|
21219
20794
|
this.start();
|
|
21220
20795
|
}
|
|
21221
20796
|
}
|
|
21222
|
-
|
|
21223
|
-
/**
|
|
21224
|
-
* 开始此组件
|
|
21225
|
-
*/
|
|
21226
20797
|
start() {
|
|
21227
20798
|
clearTimeout(timer);
|
|
21228
|
-
/**
|
|
21229
|
-
* 在挂载真实 DOM 树后显示过渡效果
|
|
21230
|
-
*/
|
|
21231
20799
|
timer = setTimeout(() => {
|
|
21232
20800
|
this.isShow = true;
|
|
21233
|
-
this.
|
|
20801
|
+
if (this.duration > 0) {
|
|
20802
|
+
this.end();
|
|
20803
|
+
}
|
|
21234
20804
|
}, 100);
|
|
21235
20805
|
}
|
|
21236
|
-
|
|
21237
|
-
/**
|
|
21238
|
-
* 结束此组件
|
|
21239
|
-
*/
|
|
21240
20806
|
end() {
|
|
21241
|
-
|
|
21242
|
-
|
|
21243
|
-
|
|
21244
|
-
|
|
21245
|
-
|
|
21246
|
-
|
|
21247
|
-
|
|
21248
|
-
|
|
21249
|
-
|
|
21250
|
-
|
|
21251
|
-
|
|
20807
|
+
clearTimeout(timer);
|
|
20808
|
+
if (this.duration > 0) {
|
|
20809
|
+
timer = setTimeout(() => {
|
|
20810
|
+
this.isShow = false;
|
|
20811
|
+
setTimeout(() => {
|
|
20812
|
+
// 检查元素是否仍在 DOM 中
|
|
20813
|
+
if (inBrowser && document.body.contains(this.vm.$el)) {
|
|
20814
|
+
document.body.removeChild(this.vm.$el);
|
|
20815
|
+
}
|
|
20816
|
+
}, 500);
|
|
20817
|
+
}, this.duration);
|
|
20818
|
+
}
|
|
20819
|
+
}
|
|
20820
|
+
clear() {
|
|
20821
|
+
this.isShow = false;
|
|
20822
|
+
clearTimeout(timer);
|
|
20823
|
+
// 检查元素是否仍在 DOM 中
|
|
20824
|
+
if (inBrowser && document.body.contains(this.vm.$el)) {
|
|
20825
|
+
document.body.removeChild(this.vm.$el);
|
|
20826
|
+
}
|
|
21252
20827
|
}
|
|
21253
20828
|
}
|
|
21254
|
-
|
|
21255
|
-
|
|
20829
|
+
|
|
20830
|
+
// 创建静态方法以支持直接调用
|
|
20831
|
+
const showToast = options => {
|
|
20832
|
+
currentToast && currentToast.clear(); // 清除现有的 toast
|
|
20833
|
+
currentToast = new toast_VdToast(options); // 创建新的 toast 实例
|
|
20834
|
+
return currentToast;
|
|
20835
|
+
};
|
|
20836
|
+
|
|
20837
|
+
// 添加静态方法,支持手动清除
|
|
20838
|
+
showToast.clear = () => {
|
|
20839
|
+
currentToast && currentToast.clear();
|
|
20840
|
+
currentToast = null;
|
|
20841
|
+
};
|
|
20842
|
+
|
|
20843
|
+
// 在 Vue 的原型上挂载,方便全局调用
|
|
20844
|
+
vue_runtime_esm["a" /* default */].prototype.$VdToast = showToast;
|
|
20845
|
+
/* harmony default export */ var packages_components_toast = (showToast);
|
|
21256
20846
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"75d8bda1-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/footer/index.vue?vue&type=template&id=2c9567c1
|
|
21257
20847
|
var footervue_type_template_id_2c9567c1_render = function render() {
|
|
21258
20848
|
var _vm = this,
|
|
@@ -24987,7 +24577,7 @@ var Toast_createNamespace = Object(create["a" /* createNamespace */])('toast'),
|
|
|
24987
24577
|
Toast_createComponent = Toast_createNamespace[0],
|
|
24988
24578
|
Toast_bem = Toast_createNamespace[1];
|
|
24989
24579
|
|
|
24990
|
-
/* harmony default export */ var
|
|
24580
|
+
/* harmony default export */ var Toast = (Toast_createComponent({
|
|
24991
24581
|
mixins: [PopupMixin()],
|
|
24992
24582
|
props: {
|
|
24993
24583
|
icon: String,
|
|
@@ -25189,7 +24779,7 @@ function createInstance() {
|
|
|
25189
24779
|
});
|
|
25190
24780
|
|
|
25191
24781
|
if (!queue.length || multiple) {
|
|
25192
|
-
var toast = new (vue_runtime_esm["a" /* default */].extend(
|
|
24782
|
+
var toast = new (vue_runtime_esm["a" /* default */].extend(Toast))({
|
|
25193
24783
|
el: document.createElement('div')
|
|
25194
24784
|
});
|
|
25195
24785
|
toast.$on('input', function (value) {
|
|
@@ -25210,7 +24800,7 @@ function transformOptions(options) {
|
|
|
25210
24800
|
});
|
|
25211
24801
|
}
|
|
25212
24802
|
|
|
25213
|
-
function
|
|
24803
|
+
function toast_Toast(options) {
|
|
25214
24804
|
if (options === void 0) {
|
|
25215
24805
|
options = {};
|
|
25216
24806
|
}
|
|
@@ -25261,17 +24851,17 @@ function vant_es_toast_Toast(options) {
|
|
|
25261
24851
|
|
|
25262
24852
|
var toast_createMethod = function createMethod(type) {
|
|
25263
24853
|
return function (options) {
|
|
25264
|
-
return
|
|
24854
|
+
return toast_Toast(_extends({
|
|
25265
24855
|
type: type
|
|
25266
24856
|
}, parseOptions(options)));
|
|
25267
24857
|
};
|
|
25268
24858
|
};
|
|
25269
24859
|
|
|
25270
24860
|
['loading', 'success', 'fail'].forEach(function (method) {
|
|
25271
|
-
|
|
24861
|
+
toast_Toast[method] = toast_createMethod(method);
|
|
25272
24862
|
});
|
|
25273
24863
|
|
|
25274
|
-
|
|
24864
|
+
toast_Toast.clear = function (all) {
|
|
25275
24865
|
if (queue.length) {
|
|
25276
24866
|
if (all) {
|
|
25277
24867
|
queue.forEach(function (toast) {
|
|
@@ -25286,7 +24876,7 @@ vant_es_toast_Toast.clear = function (all) {
|
|
|
25286
24876
|
}
|
|
25287
24877
|
};
|
|
25288
24878
|
|
|
25289
|
-
|
|
24879
|
+
toast_Toast.setDefaultOptions = function (type, options) {
|
|
25290
24880
|
if (typeof type === 'string') {
|
|
25291
24881
|
defaultOptionsMap[type] = options;
|
|
25292
24882
|
} else {
|
|
@@ -25294,7 +24884,7 @@ vant_es_toast_Toast.setDefaultOptions = function (type, options) {
|
|
|
25294
24884
|
}
|
|
25295
24885
|
};
|
|
25296
24886
|
|
|
25297
|
-
|
|
24887
|
+
toast_Toast.resetDefaultOptions = function (type) {
|
|
25298
24888
|
if (typeof type === 'string') {
|
|
25299
24889
|
defaultOptionsMap[type] = null;
|
|
25300
24890
|
} else {
|
|
@@ -25303,7 +24893,7 @@ vant_es_toast_Toast.resetDefaultOptions = function (type) {
|
|
|
25303
24893
|
}
|
|
25304
24894
|
};
|
|
25305
24895
|
|
|
25306
|
-
|
|
24896
|
+
toast_Toast.allowMultiple = function (value) {
|
|
25307
24897
|
if (value === void 0) {
|
|
25308
24898
|
value = true;
|
|
25309
24899
|
}
|
|
@@ -25311,12 +24901,12 @@ vant_es_toast_Toast.allowMultiple = function (value) {
|
|
|
25311
24901
|
multiple = value;
|
|
25312
24902
|
};
|
|
25313
24903
|
|
|
25314
|
-
|
|
25315
|
-
vue_runtime_esm["a" /* default */].use(
|
|
24904
|
+
toast_Toast.install = function () {
|
|
24905
|
+
vue_runtime_esm["a" /* default */].use(Toast);
|
|
25316
24906
|
};
|
|
25317
24907
|
|
|
25318
|
-
vue_runtime_esm["a" /* default */].prototype.$toast =
|
|
25319
|
-
/* harmony default export */ var vant_es_toast = (
|
|
24908
|
+
vue_runtime_esm["a" /* default */].prototype.$toast = toast_Toast;
|
|
24909
|
+
/* harmony default export */ var vant_es_toast = (toast_Toast);
|
|
25320
24910
|
// CONCATENATED MODULE: ./node_modules/vant/es/calendar/components/Month.js
|
|
25321
24911
|
|
|
25322
24912
|
|