@yklyklpackages/message-card 0.10.0 → 0.10.1

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/index.umd.js CHANGED
@@ -2982,7 +2982,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
2982
2982
  var ys = arrObjKeys(obj, inspect2);
2983
2983
  var isPlainObject2 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
2984
2984
  var protoTag = obj instanceof Object ? "" : "null prototype";
2985
- var stringTag = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
2985
+ var stringTag = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? "Object" : "";
2986
2986
  var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
2987
2987
  var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat$1.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
2988
2988
  if (ys.length === 0) {
@@ -3007,25 +3007,25 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
3007
3007
  return !toStringTag$1 || !(typeof obj === "object" && (toStringTag$1 in obj || typeof obj[toStringTag$1] !== "undefined"));
3008
3008
  }
3009
3009
  function isArray$4(obj) {
3010
- return toStr(obj) === "[object Array]" && canTrustToString(obj);
3010
+ return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
3011
3011
  }
3012
3012
  function isDate$1(obj) {
3013
- return toStr(obj) === "[object Date]" && canTrustToString(obj);
3013
+ return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
3014
3014
  }
3015
3015
  function isRegExp$2(obj) {
3016
- return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
3016
+ return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
3017
3017
  }
3018
3018
  function isError(obj) {
3019
- return toStr(obj) === "[object Error]" && canTrustToString(obj);
3019
+ return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
3020
3020
  }
3021
3021
  function isString$1(obj) {
3022
- return toStr(obj) === "[object String]" && canTrustToString(obj);
3022
+ return toStr$1(obj) === "[object String]" && canTrustToString(obj);
3023
3023
  }
3024
3024
  function isNumber$1(obj) {
3025
- return toStr(obj) === "[object Number]" && canTrustToString(obj);
3025
+ return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
3026
3026
  }
3027
3027
  function isBoolean$1(obj) {
3028
- return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
3028
+ return toStr$1(obj) === "[object Boolean]" && canTrustToString(obj);
3029
3029
  }
3030
3030
  function isSymbol(obj) {
3031
3031
  if (hasShammedSymbols) {
@@ -3061,7 +3061,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
3061
3061
  function has$3(obj, key) {
3062
3062
  return hasOwn$1.call(obj, key);
3063
3063
  }
3064
- function toStr(obj) {
3064
+ function toStr$1(obj) {
3065
3065
  return objectToString.call(obj);
3066
3066
  }
3067
3067
  function nameOf(f) {
@@ -3370,7 +3370,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
3370
3370
  var uri = URIError;
3371
3371
  var abs$1 = Math.abs;
3372
3372
  var floor$1 = Math.floor;
3373
- var max$1 = Math.max;
3373
+ var max$2 = Math.max;
3374
3374
  var min$1 = Math.min;
3375
3375
  var pow$1 = Math.pow;
3376
3376
  var round$1 = Math.round;
@@ -3499,99 +3499,78 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
3499
3499
  Object_getPrototypeOf = $Object2.getPrototypeOf || null;
3500
3500
  return Object_getPrototypeOf;
3501
3501
  }
3502
- var implementation;
3503
- var hasRequiredImplementation;
3504
- function requireImplementation() {
3505
- if (hasRequiredImplementation) return implementation;
3506
- hasRequiredImplementation = 1;
3507
- var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
3508
- var toStr2 = Object.prototype.toString;
3509
- var max2 = Math.max;
3510
- var funcType = "[object Function]";
3511
- var concatty = function concatty2(a, b2) {
3512
- var arr = [];
3513
- for (var i = 0; i < a.length; i += 1) {
3514
- arr[i] = a[i];
3515
- }
3516
- for (var j2 = 0; j2 < b2.length; j2 += 1) {
3517
- arr[j2 + a.length] = b2[j2];
3518
- }
3519
- return arr;
3520
- };
3521
- var slicy = function slicy2(arrLike, offset) {
3522
- var arr = [];
3523
- for (var i = offset, j2 = 0; i < arrLike.length; i += 1, j2 += 1) {
3524
- arr[j2] = arrLike[i];
3525
- }
3526
- return arr;
3527
- };
3528
- var joiny = function(arr, joiner) {
3529
- var str = "";
3530
- for (var i = 0; i < arr.length; i += 1) {
3531
- str += arr[i];
3532
- if (i + 1 < arr.length) {
3533
- str += joiner;
3534
- }
3502
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
3503
+ var toStr = Object.prototype.toString;
3504
+ var max$1 = Math.max;
3505
+ var funcType = "[object Function]";
3506
+ var concatty = function concatty2(a, b2) {
3507
+ var arr = [];
3508
+ for (var i = 0; i < a.length; i += 1) {
3509
+ arr[i] = a[i];
3510
+ }
3511
+ for (var j2 = 0; j2 < b2.length; j2 += 1) {
3512
+ arr[j2 + a.length] = b2[j2];
3513
+ }
3514
+ return arr;
3515
+ };
3516
+ var slicy = function slicy2(arrLike, offset) {
3517
+ var arr = [];
3518
+ for (var i = offset, j2 = 0; i < arrLike.length; i += 1, j2 += 1) {
3519
+ arr[j2] = arrLike[i];
3520
+ }
3521
+ return arr;
3522
+ };
3523
+ var joiny = function(arr, joiner) {
3524
+ var str = "";
3525
+ for (var i = 0; i < arr.length; i += 1) {
3526
+ str += arr[i];
3527
+ if (i + 1 < arr.length) {
3528
+ str += joiner;
3535
3529
  }
3536
- return str;
3537
- };
3538
- implementation = function bind2(that) {
3539
- var target = this;
3540
- if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
3541
- throw new TypeError(ERROR_MESSAGE + target);
3542
- }
3543
- var args = slicy(arguments, 1);
3544
- var bound;
3545
- var binder = function() {
3546
- if (this instanceof bound) {
3547
- var result = target.apply(
3548
- this,
3549
- concatty(args, arguments)
3550
- );
3551
- if (Object(result) === result) {
3552
- return result;
3553
- }
3554
- return this;
3555
- }
3556
- return target.apply(
3557
- that,
3530
+ }
3531
+ return str;
3532
+ };
3533
+ var implementation$1 = function bind2(that) {
3534
+ var target = this;
3535
+ if (typeof target !== "function" || toStr.apply(target) !== funcType) {
3536
+ throw new TypeError(ERROR_MESSAGE + target);
3537
+ }
3538
+ var args = slicy(arguments, 1);
3539
+ var bound;
3540
+ var binder = function() {
3541
+ if (this instanceof bound) {
3542
+ var result = target.apply(
3543
+ this,
3558
3544
  concatty(args, arguments)
3559
3545
  );
3560
- };
3561
- var boundLength = max2(0, target.length - args.length);
3562
- var boundArgs = [];
3563
- for (var i = 0; i < boundLength; i++) {
3564
- boundArgs[i] = "$" + i;
3565
- }
3566
- bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
3567
- if (target.prototype) {
3568
- var Empty = function Empty2() {
3569
- };
3570
- Empty.prototype = target.prototype;
3571
- bound.prototype = new Empty();
3572
- Empty.prototype = null;
3546
+ if (Object(result) === result) {
3547
+ return result;
3548
+ }
3549
+ return this;
3573
3550
  }
3574
- return bound;
3551
+ return target.apply(
3552
+ that,
3553
+ concatty(args, arguments)
3554
+ );
3575
3555
  };
3576
- return implementation;
3577
- }
3578
- var functionBind;
3579
- var hasRequiredFunctionBind;
3580
- function requireFunctionBind() {
3581
- if (hasRequiredFunctionBind) return functionBind;
3582
- hasRequiredFunctionBind = 1;
3583
- var implementation2 = requireImplementation();
3584
- functionBind = Function.prototype.bind || implementation2;
3585
- return functionBind;
3586
- }
3587
- var functionCall;
3588
- var hasRequiredFunctionCall;
3589
- function requireFunctionCall() {
3590
- if (hasRequiredFunctionCall) return functionCall;
3591
- hasRequiredFunctionCall = 1;
3592
- functionCall = Function.prototype.call;
3593
- return functionCall;
3594
- }
3556
+ var boundLength = max$1(0, target.length - args.length);
3557
+ var boundArgs = [];
3558
+ for (var i = 0; i < boundLength; i++) {
3559
+ boundArgs[i] = "$" + i;
3560
+ }
3561
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
3562
+ if (target.prototype) {
3563
+ var Empty = function Empty2() {
3564
+ };
3565
+ Empty.prototype = target.prototype;
3566
+ bound.prototype = new Empty();
3567
+ Empty.prototype = null;
3568
+ }
3569
+ return bound;
3570
+ };
3571
+ var implementation = implementation$1;
3572
+ var functionBind = Function.prototype.bind || implementation;
3573
+ var functionCall = Function.prototype.call;
3595
3574
  var functionApply;
3596
3575
  var hasRequiredFunctionApply;
3597
3576
  function requireFunctionApply() {
@@ -3601,14 +3580,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
3601
3580
  return functionApply;
3602
3581
  }
3603
3582
  var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
3604
- var bind$3 = requireFunctionBind();
3583
+ var bind$3 = functionBind;
3605
3584
  var $apply$1 = requireFunctionApply();
3606
- var $call$2 = requireFunctionCall();
3585
+ var $call$2 = functionCall;
3607
3586
  var $reflectApply = reflectApply;
3608
3587
  var actualApply = $reflectApply || bind$3.call($call$2, $apply$1);
3609
- var bind$2 = requireFunctionBind();
3588
+ var bind$2 = functionBind;
3610
3589
  var $TypeError$4 = type;
3611
- var $call$1 = requireFunctionCall();
3590
+ var $call$1 = functionCall;
3612
3591
  var $actualApply = actualApply;
3613
3592
  var callBindApplyHelpers = function callBindBasic2(args) {
3614
3593
  if (args.length < 1 || typeof args[0] !== "function") {
@@ -3674,7 +3653,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
3674
3653
  hasRequiredHasown = 1;
3675
3654
  var call = Function.prototype.call;
3676
3655
  var $hasOwn = Object.prototype.hasOwnProperty;
3677
- var bind2 = requireFunctionBind();
3656
+ var bind2 = functionBind;
3678
3657
  hasown = bind2.call(call, $hasOwn);
3679
3658
  return hasown;
3680
3659
  }
@@ -3689,7 +3668,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
3689
3668
  var $URIError = uri;
3690
3669
  var abs = abs$1;
3691
3670
  var floor = floor$1;
3692
- var max = max$1;
3671
+ var max = max$2;
3693
3672
  var min = min$1;
3694
3673
  var pow = pow$1;
3695
3674
  var round = round$1;
@@ -3723,7 +3702,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
3723
3702
  var $ObjectGPO = requireObject_getPrototypeOf();
3724
3703
  var $ReflectGPO = requireReflect_getPrototypeOf();
3725
3704
  var $apply = requireFunctionApply();
3726
- var $call = requireFunctionCall();
3705
+ var $call = functionCall;
3727
3706
  var needsEval = {};
3728
3707
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
3729
3708
  var INTRINSICS = {
@@ -3894,7 +3873,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
3894
3873
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
3895
3874
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
3896
3875
  };
3897
- var bind$1 = requireFunctionBind();
3876
+ var bind$1 = functionBind;
3898
3877
  var hasOwn = requireHasown();
3899
3878
  var $concat = bind$1.call($call, Array.prototype.concat);
3900
3879
  var $spliceApply = bind$1.call($apply, Array.prototype.splice);
@@ -5233,6 +5212,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5233
5212
  } else {
5234
5213
  console.error(`请求返回异常:${JSON.stringify(json)}`);
5235
5214
  }
5215
+ return json;
5236
5216
  } else {
5237
5217
  console.error(`请求异常:${json}`);
5238
5218
  }