@yklyklpackages/message-card 0.6.1 → 0.6.2
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/layout/MultipleColumnLayout.d.ts.map +1 -1
- package/dist/index.cjs +112 -93
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +112 -93
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +108 -89
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2030,7 +2030,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
|
2030
2030
|
var ys = arrObjKeys(obj, inspect2);
|
|
2031
2031
|
var isPlainObject2 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
2032
2032
|
var protoTag = obj instanceof Object ? "" : "null prototype";
|
|
2033
|
-
var stringTag = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr
|
|
2033
|
+
var stringTag = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
|
|
2034
2034
|
var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
|
|
2035
2035
|
var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat$1.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
|
|
2036
2036
|
if (ys.length === 0) {
|
|
@@ -2055,25 +2055,25 @@ function canTrustToString(obj) {
|
|
|
2055
2055
|
return !toStringTag$1 || !(typeof obj === "object" && (toStringTag$1 in obj || typeof obj[toStringTag$1] !== "undefined"));
|
|
2056
2056
|
}
|
|
2057
2057
|
function isArray$4(obj) {
|
|
2058
|
-
return toStr
|
|
2058
|
+
return toStr(obj) === "[object Array]" && canTrustToString(obj);
|
|
2059
2059
|
}
|
|
2060
2060
|
function isDate$1(obj) {
|
|
2061
|
-
return toStr
|
|
2061
|
+
return toStr(obj) === "[object Date]" && canTrustToString(obj);
|
|
2062
2062
|
}
|
|
2063
2063
|
function isRegExp$2(obj) {
|
|
2064
|
-
return toStr
|
|
2064
|
+
return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
|
|
2065
2065
|
}
|
|
2066
2066
|
function isError(obj) {
|
|
2067
|
-
return toStr
|
|
2067
|
+
return toStr(obj) === "[object Error]" && canTrustToString(obj);
|
|
2068
2068
|
}
|
|
2069
2069
|
function isString$2(obj) {
|
|
2070
|
-
return toStr
|
|
2070
|
+
return toStr(obj) === "[object String]" && canTrustToString(obj);
|
|
2071
2071
|
}
|
|
2072
2072
|
function isNumber$1(obj) {
|
|
2073
|
-
return toStr
|
|
2073
|
+
return toStr(obj) === "[object Number]" && canTrustToString(obj);
|
|
2074
2074
|
}
|
|
2075
2075
|
function isBoolean$1(obj) {
|
|
2076
|
-
return toStr
|
|
2076
|
+
return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
|
|
2077
2077
|
}
|
|
2078
2078
|
function isSymbol(obj) {
|
|
2079
2079
|
if (hasShammedSymbols) {
|
|
@@ -2109,7 +2109,7 @@ var hasOwn$1 = Object.prototype.hasOwnProperty || function(key) {
|
|
|
2109
2109
|
function has$3(obj, key) {
|
|
2110
2110
|
return hasOwn$1.call(obj, key);
|
|
2111
2111
|
}
|
|
2112
|
-
function toStr
|
|
2112
|
+
function toStr(obj) {
|
|
2113
2113
|
return objectToString.call(obj);
|
|
2114
2114
|
}
|
|
2115
2115
|
function nameOf(f) {
|
|
@@ -2418,7 +2418,7 @@ var syntax = SyntaxError;
|
|
|
2418
2418
|
var uri = URIError;
|
|
2419
2419
|
var abs$2 = Math.abs;
|
|
2420
2420
|
var floor$1 = Math.floor;
|
|
2421
|
-
var max$
|
|
2421
|
+
var max$1 = Math.max;
|
|
2422
2422
|
var min$1 = Math.min;
|
|
2423
2423
|
var pow$1 = Math.pow;
|
|
2424
2424
|
var round$2 = Math.round;
|
|
@@ -2547,78 +2547,99 @@ function requireObject_getPrototypeOf() {
|
|
|
2547
2547
|
Object_getPrototypeOf = $Object2.getPrototypeOf || null;
|
|
2548
2548
|
return Object_getPrototypeOf;
|
|
2549
2549
|
}
|
|
2550
|
-
var
|
|
2551
|
-
var
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
var
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
arr
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
};
|
|
2564
|
-
var slicy = function slicy2(arrLike, offset) {
|
|
2565
|
-
var arr = [];
|
|
2566
|
-
for (var i = offset, j2 = 0; i < arrLike.length; i += 1, j2 += 1) {
|
|
2567
|
-
arr[j2] = arrLike[i];
|
|
2568
|
-
}
|
|
2569
|
-
return arr;
|
|
2570
|
-
};
|
|
2571
|
-
var joiny = function(arr, joiner) {
|
|
2572
|
-
var str = "";
|
|
2573
|
-
for (var i = 0; i < arr.length; i += 1) {
|
|
2574
|
-
str += arr[i];
|
|
2575
|
-
if (i + 1 < arr.length) {
|
|
2576
|
-
str += joiner;
|
|
2550
|
+
var implementation;
|
|
2551
|
+
var hasRequiredImplementation;
|
|
2552
|
+
function requireImplementation() {
|
|
2553
|
+
if (hasRequiredImplementation) return implementation;
|
|
2554
|
+
hasRequiredImplementation = 1;
|
|
2555
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
2556
|
+
var toStr2 = Object.prototype.toString;
|
|
2557
|
+
var max2 = Math.max;
|
|
2558
|
+
var funcType = "[object Function]";
|
|
2559
|
+
var concatty = function concatty2(a, b) {
|
|
2560
|
+
var arr = [];
|
|
2561
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
2562
|
+
arr[i] = a[i];
|
|
2577
2563
|
}
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
}
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
if (
|
|
2595
|
-
|
|
2564
|
+
for (var j2 = 0; j2 < b.length; j2 += 1) {
|
|
2565
|
+
arr[j2 + a.length] = b[j2];
|
|
2566
|
+
}
|
|
2567
|
+
return arr;
|
|
2568
|
+
};
|
|
2569
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
2570
|
+
var arr = [];
|
|
2571
|
+
for (var i = offset, j2 = 0; i < arrLike.length; i += 1, j2 += 1) {
|
|
2572
|
+
arr[j2] = arrLike[i];
|
|
2573
|
+
}
|
|
2574
|
+
return arr;
|
|
2575
|
+
};
|
|
2576
|
+
var joiny = function(arr, joiner) {
|
|
2577
|
+
var str = "";
|
|
2578
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
2579
|
+
str += arr[i];
|
|
2580
|
+
if (i + 1 < arr.length) {
|
|
2581
|
+
str += joiner;
|
|
2596
2582
|
}
|
|
2597
|
-
return this;
|
|
2598
2583
|
}
|
|
2599
|
-
return
|
|
2600
|
-
that,
|
|
2601
|
-
concatty(args, arguments)
|
|
2602
|
-
);
|
|
2584
|
+
return str;
|
|
2603
2585
|
};
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
var
|
|
2586
|
+
implementation = function bind2(that) {
|
|
2587
|
+
var target = this;
|
|
2588
|
+
if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
|
|
2589
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
2590
|
+
}
|
|
2591
|
+
var args = slicy(arguments, 1);
|
|
2592
|
+
var bound;
|
|
2593
|
+
var binder = function() {
|
|
2594
|
+
if (this instanceof bound) {
|
|
2595
|
+
var result = target.apply(
|
|
2596
|
+
this,
|
|
2597
|
+
concatty(args, arguments)
|
|
2598
|
+
);
|
|
2599
|
+
if (Object(result) === result) {
|
|
2600
|
+
return result;
|
|
2601
|
+
}
|
|
2602
|
+
return this;
|
|
2603
|
+
}
|
|
2604
|
+
return target.apply(
|
|
2605
|
+
that,
|
|
2606
|
+
concatty(args, arguments)
|
|
2607
|
+
);
|
|
2612
2608
|
};
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
};
|
|
2619
|
-
|
|
2620
|
-
var
|
|
2621
|
-
|
|
2609
|
+
var boundLength = max2(0, target.length - args.length);
|
|
2610
|
+
var boundArgs = [];
|
|
2611
|
+
for (var i = 0; i < boundLength; i++) {
|
|
2612
|
+
boundArgs[i] = "$" + i;
|
|
2613
|
+
}
|
|
2614
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
2615
|
+
if (target.prototype) {
|
|
2616
|
+
var Empty2 = function Empty3() {
|
|
2617
|
+
};
|
|
2618
|
+
Empty2.prototype = target.prototype;
|
|
2619
|
+
bound.prototype = new Empty2();
|
|
2620
|
+
Empty2.prototype = null;
|
|
2621
|
+
}
|
|
2622
|
+
return bound;
|
|
2623
|
+
};
|
|
2624
|
+
return implementation;
|
|
2625
|
+
}
|
|
2626
|
+
var functionBind;
|
|
2627
|
+
var hasRequiredFunctionBind;
|
|
2628
|
+
function requireFunctionBind() {
|
|
2629
|
+
if (hasRequiredFunctionBind) return functionBind;
|
|
2630
|
+
hasRequiredFunctionBind = 1;
|
|
2631
|
+
var implementation2 = requireImplementation();
|
|
2632
|
+
functionBind = Function.prototype.bind || implementation2;
|
|
2633
|
+
return functionBind;
|
|
2634
|
+
}
|
|
2635
|
+
var functionCall;
|
|
2636
|
+
var hasRequiredFunctionCall;
|
|
2637
|
+
function requireFunctionCall() {
|
|
2638
|
+
if (hasRequiredFunctionCall) return functionCall;
|
|
2639
|
+
hasRequiredFunctionCall = 1;
|
|
2640
|
+
functionCall = Function.prototype.call;
|
|
2641
|
+
return functionCall;
|
|
2642
|
+
}
|
|
2622
2643
|
var functionApply;
|
|
2623
2644
|
var hasRequiredFunctionApply;
|
|
2624
2645
|
function requireFunctionApply() {
|
|
@@ -2628,14 +2649,14 @@ function requireFunctionApply() {
|
|
|
2628
2649
|
return functionApply;
|
|
2629
2650
|
}
|
|
2630
2651
|
var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
2631
|
-
var bind$3 =
|
|
2652
|
+
var bind$3 = requireFunctionBind();
|
|
2632
2653
|
var $apply$1 = requireFunctionApply();
|
|
2633
|
-
var $call$2 =
|
|
2654
|
+
var $call$2 = requireFunctionCall();
|
|
2634
2655
|
var $reflectApply = reflectApply;
|
|
2635
2656
|
var actualApply = $reflectApply || bind$3.call($call$2, $apply$1);
|
|
2636
|
-
var bind$2 =
|
|
2657
|
+
var bind$2 = requireFunctionBind();
|
|
2637
2658
|
var $TypeError$4 = type$2;
|
|
2638
|
-
var $call$1 =
|
|
2659
|
+
var $call$1 = requireFunctionCall();
|
|
2639
2660
|
var $actualApply = actualApply;
|
|
2640
2661
|
var callBindApplyHelpers = function callBindBasic(args) {
|
|
2641
2662
|
if (args.length < 1 || typeof args[0] !== "function") {
|
|
@@ -2701,8 +2722,8 @@ function requireHasown() {
|
|
|
2701
2722
|
hasRequiredHasown = 1;
|
|
2702
2723
|
var call2 = Function.prototype.call;
|
|
2703
2724
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
2704
|
-
var
|
|
2705
|
-
hasown =
|
|
2725
|
+
var bind2 = requireFunctionBind();
|
|
2726
|
+
hasown = bind2.call(call2, $hasOwn);
|
|
2706
2727
|
return hasown;
|
|
2707
2728
|
}
|
|
2708
2729
|
var undefined$1;
|
|
@@ -2716,7 +2737,7 @@ var $TypeError$3 = type$2;
|
|
|
2716
2737
|
var $URIError = uri;
|
|
2717
2738
|
var abs$1 = abs$2;
|
|
2718
2739
|
var floor = floor$1;
|
|
2719
|
-
var max = max$
|
|
2740
|
+
var max = max$1;
|
|
2720
2741
|
var min = min$1;
|
|
2721
2742
|
var pow = pow$1;
|
|
2722
2743
|
var round$1 = round$2;
|
|
@@ -2750,7 +2771,7 @@ var getProto = requireGetProto();
|
|
|
2750
2771
|
var $ObjectGPO = requireObject_getPrototypeOf();
|
|
2751
2772
|
var $ReflectGPO = requireReflect_getPrototypeOf();
|
|
2752
2773
|
var $apply = requireFunctionApply();
|
|
2753
|
-
var $call =
|
|
2774
|
+
var $call = requireFunctionCall();
|
|
2754
2775
|
var needsEval = {};
|
|
2755
2776
|
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
|
|
2756
2777
|
var INTRINSICS = {
|
|
@@ -2921,7 +2942,7 @@ var LEGACY_ALIASES = {
|
|
|
2921
2942
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
2922
2943
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
2923
2944
|
};
|
|
2924
|
-
var bind$1 =
|
|
2945
|
+
var bind$1 = requireFunctionBind();
|
|
2925
2946
|
var hasOwn = requireHasown();
|
|
2926
2947
|
var $concat = bind$1.call($call, Array.prototype.concat);
|
|
2927
2948
|
var $spliceApply = bind$1.call($apply, Array.prototype.splice);
|
|
@@ -4849,16 +4870,14 @@ const MultipleColumnLayout = ({
|
|
|
4849
4870
|
});
|
|
4850
4871
|
const itemContainerStyle = (child, idx) => {
|
|
4851
4872
|
return __spreadProps$m(__spreadValues$o({}, buildItemContainerStyle(idx, count, props, true, scale)), {
|
|
4852
|
-
flexShrink: itemFlexShrink(
|
|
4873
|
+
flexShrink: itemFlexShrink(),
|
|
4853
4874
|
width: void 0
|
|
4854
4875
|
});
|
|
4855
4876
|
};
|
|
4856
4877
|
const items = React__default.Children.toArray(children);
|
|
4857
4878
|
const count = items.length;
|
|
4858
4879
|
const itemFlexShrink = (child) => {
|
|
4859
|
-
|
|
4860
|
-
if (((_b = (_a = child == null ? void 0 : child.props) == null ? void 0 : _a.node) == null ? void 0 : _b.props.flexShrink) == 0) return 0;
|
|
4861
|
-
return 1;
|
|
4880
|
+
return 0;
|
|
4862
4881
|
};
|
|
4863
4882
|
const handleClick = (e) => {
|
|
4864
4883
|
if (props.actions) {
|
|
@@ -30497,7 +30516,7 @@ class CacheStorage {
|
|
|
30497
30516
|
}
|
|
30498
30517
|
}
|
|
30499
30518
|
}
|
|
30500
|
-
function
|
|
30519
|
+
function bind(fn, thisArg) {
|
|
30501
30520
|
return function wrap() {
|
|
30502
30521
|
return fn.apply(thisArg, arguments);
|
|
30503
30522
|
};
|
|
@@ -30635,7 +30654,7 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
|
|
|
30635
30654
|
forEach(b, (val, key) => {
|
|
30636
30655
|
if (thisArg && isFunction$1(val)) {
|
|
30637
30656
|
Object.defineProperty(a, key, {
|
|
30638
|
-
value:
|
|
30657
|
+
value: bind(val, thisArg),
|
|
30639
30658
|
writable: true,
|
|
30640
30659
|
enumerable: true,
|
|
30641
30660
|
configurable: true
|
|
@@ -32952,7 +32971,7 @@ Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
|
|
|
32952
32971
|
});
|
|
32953
32972
|
function createInstance(defaultConfig2) {
|
|
32954
32973
|
const context = new Axios$1(defaultConfig2);
|
|
32955
|
-
const instance =
|
|
32974
|
+
const instance = bind(Axios$1.prototype.request, context);
|
|
32956
32975
|
utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
|
|
32957
32976
|
utils$1.extend(instance, context, null, { allOwnKeys: true });
|
|
32958
32977
|
instance.create = function create(instanceConfig) {
|