@yklyklpackages/message-card 0.6.0 → 0.6.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/components/MessageCard.d.ts +1 -0
- package/dist/components/MessageCard.d.ts.map +1 -1
- package/dist/components/utils/styleHelpers.d.ts.map +1 -1
- package/dist/index.cjs +90 -110
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +90 -110
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +86 -106
- 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(obj), 8, -1) : protoTag ? "Object" : "";
|
|
2033
|
+
var stringTag = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr$1(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(obj) === "[object Array]" && canTrustToString(obj);
|
|
2058
|
+
return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
|
|
2059
2059
|
}
|
|
2060
2060
|
function isDate$1(obj) {
|
|
2061
|
-
return toStr(obj) === "[object Date]" && canTrustToString(obj);
|
|
2061
|
+
return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
|
|
2062
2062
|
}
|
|
2063
2063
|
function isRegExp$2(obj) {
|
|
2064
|
-
return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
|
|
2064
|
+
return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
|
|
2065
2065
|
}
|
|
2066
2066
|
function isError(obj) {
|
|
2067
|
-
return toStr(obj) === "[object Error]" && canTrustToString(obj);
|
|
2067
|
+
return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
|
|
2068
2068
|
}
|
|
2069
2069
|
function isString$2(obj) {
|
|
2070
|
-
return toStr(obj) === "[object String]" && canTrustToString(obj);
|
|
2070
|
+
return toStr$1(obj) === "[object String]" && canTrustToString(obj);
|
|
2071
2071
|
}
|
|
2072
2072
|
function isNumber$1(obj) {
|
|
2073
|
-
return toStr(obj) === "[object Number]" && canTrustToString(obj);
|
|
2073
|
+
return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
|
|
2074
2074
|
}
|
|
2075
2075
|
function isBoolean$1(obj) {
|
|
2076
|
-
return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
|
|
2076
|
+
return toStr$1(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(obj) {
|
|
2112
|
+
function toStr$1(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$2 = Math.max;
|
|
2422
2422
|
var min$1 = Math.min;
|
|
2423
2423
|
var pow$1 = Math.pow;
|
|
2424
2424
|
var round$2 = Math.round;
|
|
@@ -2547,99 +2547,78 @@ 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
|
-
var
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
var
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
}
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2550
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
2551
|
+
var toStr = Object.prototype.toString;
|
|
2552
|
+
var max$1 = Math.max;
|
|
2553
|
+
var funcType = "[object Function]";
|
|
2554
|
+
var concatty = function concatty2(a, b) {
|
|
2555
|
+
var arr = [];
|
|
2556
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
2557
|
+
arr[i] = a[i];
|
|
2558
|
+
}
|
|
2559
|
+
for (var j2 = 0; j2 < b.length; j2 += 1) {
|
|
2560
|
+
arr[j2 + a.length] = b[j2];
|
|
2561
|
+
}
|
|
2562
|
+
return arr;
|
|
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;
|
|
2573
2577
|
}
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2578
|
+
}
|
|
2579
|
+
return str;
|
|
2580
|
+
};
|
|
2581
|
+
var implementation$1 = function bind(that) {
|
|
2582
|
+
var target = this;
|
|
2583
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
2584
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
2585
|
+
}
|
|
2586
|
+
var args = slicy(arguments, 1);
|
|
2587
|
+
var bound;
|
|
2588
|
+
var binder = function() {
|
|
2589
|
+
if (this instanceof bound) {
|
|
2590
|
+
var result = target.apply(
|
|
2591
|
+
this,
|
|
2592
|
+
concatty(args, arguments)
|
|
2593
|
+
);
|
|
2594
|
+
if (Object(result) === result) {
|
|
2595
|
+
return result;
|
|
2582
2596
|
}
|
|
2597
|
+
return this;
|
|
2583
2598
|
}
|
|
2584
|
-
return
|
|
2599
|
+
return target.apply(
|
|
2600
|
+
that,
|
|
2601
|
+
concatty(args, arguments)
|
|
2602
|
+
);
|
|
2585
2603
|
};
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
var
|
|
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
|
-
);
|
|
2604
|
+
var boundLength = max$1(0, target.length - args.length);
|
|
2605
|
+
var boundArgs = [];
|
|
2606
|
+
for (var i = 0; i < boundLength; i++) {
|
|
2607
|
+
boundArgs[i] = "$" + i;
|
|
2608
|
+
}
|
|
2609
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
2610
|
+
if (target.prototype) {
|
|
2611
|
+
var Empty2 = function Empty3() {
|
|
2608
2612
|
};
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
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
|
-
}
|
|
2613
|
+
Empty2.prototype = target.prototype;
|
|
2614
|
+
bound.prototype = new Empty2();
|
|
2615
|
+
Empty2.prototype = null;
|
|
2616
|
+
}
|
|
2617
|
+
return bound;
|
|
2618
|
+
};
|
|
2619
|
+
var implementation = implementation$1;
|
|
2620
|
+
var functionBind = Function.prototype.bind || implementation;
|
|
2621
|
+
var functionCall = Function.prototype.call;
|
|
2643
2622
|
var functionApply;
|
|
2644
2623
|
var hasRequiredFunctionApply;
|
|
2645
2624
|
function requireFunctionApply() {
|
|
@@ -2649,14 +2628,14 @@ function requireFunctionApply() {
|
|
|
2649
2628
|
return functionApply;
|
|
2650
2629
|
}
|
|
2651
2630
|
var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
2652
|
-
var bind$3 =
|
|
2631
|
+
var bind$3 = functionBind;
|
|
2653
2632
|
var $apply$1 = requireFunctionApply();
|
|
2654
|
-
var $call$2 =
|
|
2633
|
+
var $call$2 = functionCall;
|
|
2655
2634
|
var $reflectApply = reflectApply;
|
|
2656
2635
|
var actualApply = $reflectApply || bind$3.call($call$2, $apply$1);
|
|
2657
|
-
var bind$2 =
|
|
2636
|
+
var bind$2 = functionBind;
|
|
2658
2637
|
var $TypeError$4 = type$2;
|
|
2659
|
-
var $call$1 =
|
|
2638
|
+
var $call$1 = functionCall;
|
|
2660
2639
|
var $actualApply = actualApply;
|
|
2661
2640
|
var callBindApplyHelpers = function callBindBasic(args) {
|
|
2662
2641
|
if (args.length < 1 || typeof args[0] !== "function") {
|
|
@@ -2722,8 +2701,8 @@ function requireHasown() {
|
|
|
2722
2701
|
hasRequiredHasown = 1;
|
|
2723
2702
|
var call2 = Function.prototype.call;
|
|
2724
2703
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
2725
|
-
var
|
|
2726
|
-
hasown =
|
|
2704
|
+
var bind3 = functionBind;
|
|
2705
|
+
hasown = bind3.call(call2, $hasOwn);
|
|
2727
2706
|
return hasown;
|
|
2728
2707
|
}
|
|
2729
2708
|
var undefined$1;
|
|
@@ -2737,7 +2716,7 @@ var $TypeError$3 = type$2;
|
|
|
2737
2716
|
var $URIError = uri;
|
|
2738
2717
|
var abs$1 = abs$2;
|
|
2739
2718
|
var floor = floor$1;
|
|
2740
|
-
var max = max$
|
|
2719
|
+
var max = max$2;
|
|
2741
2720
|
var min = min$1;
|
|
2742
2721
|
var pow = pow$1;
|
|
2743
2722
|
var round$1 = round$2;
|
|
@@ -2771,7 +2750,7 @@ var getProto = requireGetProto();
|
|
|
2771
2750
|
var $ObjectGPO = requireObject_getPrototypeOf();
|
|
2772
2751
|
var $ReflectGPO = requireReflect_getPrototypeOf();
|
|
2773
2752
|
var $apply = requireFunctionApply();
|
|
2774
|
-
var $call =
|
|
2753
|
+
var $call = functionCall;
|
|
2775
2754
|
var needsEval = {};
|
|
2776
2755
|
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
|
|
2777
2756
|
var INTRINSICS = {
|
|
@@ -2942,7 +2921,7 @@ var LEGACY_ALIASES = {
|
|
|
2942
2921
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
2943
2922
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
2944
2923
|
};
|
|
2945
|
-
var bind$1 =
|
|
2924
|
+
var bind$1 = functionBind;
|
|
2946
2925
|
var hasOwn = requireHasown();
|
|
2947
2926
|
var $concat = bind$1.call($call, Array.prototype.concat);
|
|
2948
2927
|
var $spliceApply = bind$1.call($apply, Array.prototype.splice);
|
|
@@ -4635,6 +4614,7 @@ const fractionWidth = (percent) => ({
|
|
|
4635
4614
|
const buildItemContainerStyle = (index2, count, props, horizontal = false, scale = 1) => {
|
|
4636
4615
|
const style2 = __spreadValues$q({
|
|
4637
4616
|
width: (props == null ? void 0 : props.flexDirection) === "row" ? "auto" : "100%",
|
|
4617
|
+
flexDirection: props.direction || "column",
|
|
4638
4618
|
height: "auto",
|
|
4639
4619
|
boxSizing: "border-box",
|
|
4640
4620
|
display: "flex",
|
|
@@ -30517,7 +30497,7 @@ class CacheStorage {
|
|
|
30517
30497
|
}
|
|
30518
30498
|
}
|
|
30519
30499
|
}
|
|
30520
|
-
function
|
|
30500
|
+
function bind2(fn, thisArg) {
|
|
30521
30501
|
return function wrap() {
|
|
30522
30502
|
return fn.apply(thisArg, arguments);
|
|
30523
30503
|
};
|
|
@@ -30655,7 +30635,7 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
|
|
|
30655
30635
|
forEach(b, (val, key) => {
|
|
30656
30636
|
if (thisArg && isFunction$1(val)) {
|
|
30657
30637
|
Object.defineProperty(a, key, {
|
|
30658
|
-
value:
|
|
30638
|
+
value: bind2(val, thisArg),
|
|
30659
30639
|
writable: true,
|
|
30660
30640
|
enumerable: true,
|
|
30661
30641
|
configurable: true
|
|
@@ -32972,7 +32952,7 @@ Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
|
|
|
32972
32952
|
});
|
|
32973
32953
|
function createInstance(defaultConfig2) {
|
|
32974
32954
|
const context = new Axios$1(defaultConfig2);
|
|
32975
|
-
const instance =
|
|
32955
|
+
const instance = bind2(Axios$1.prototype.request, context);
|
|
32976
32956
|
utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
|
|
32977
32957
|
utils$1.extend(instance, context, null, { allOwnKeys: true });
|
|
32978
32958
|
instance.create = function create(instanceConfig) {
|