@mjhls/mjh-framework 1.0.114 → 1.0.115
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/README.md +1 -1
- package/dist/index.es.js +94 -90
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +94 -90
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -11408,6 +11408,98 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
11408
11408
|
);
|
|
11409
11409
|
};
|
|
11410
11410
|
|
|
11411
|
+
var DefaultContext = {
|
|
11412
|
+
color: undefined,
|
|
11413
|
+
size: undefined,
|
|
11414
|
+
className: undefined,
|
|
11415
|
+
style: undefined,
|
|
11416
|
+
attr: undefined
|
|
11417
|
+
};
|
|
11418
|
+
var IconContext = createContext && createContext(DefaultContext);
|
|
11419
|
+
|
|
11420
|
+
var __assign$1 = undefined && undefined.__assign || function () {
|
|
11421
|
+
__assign$1 = Object.assign || function (t) {
|
|
11422
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
11423
|
+
s = arguments[i];
|
|
11424
|
+
|
|
11425
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
11426
|
+
}
|
|
11427
|
+
|
|
11428
|
+
return t;
|
|
11429
|
+
};
|
|
11430
|
+
|
|
11431
|
+
return __assign$1.apply(this, arguments);
|
|
11432
|
+
};
|
|
11433
|
+
|
|
11434
|
+
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
11435
|
+
var t = {};
|
|
11436
|
+
|
|
11437
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
11438
|
+
|
|
11439
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0) t[p[i]] = s[p[i]];
|
|
11440
|
+
return t;
|
|
11441
|
+
};
|
|
11442
|
+
|
|
11443
|
+
function Tree2Element(tree) {
|
|
11444
|
+
return tree && tree.map(function (node, i) {
|
|
11445
|
+
return createElement(node.tag, __assign$1({
|
|
11446
|
+
key: i
|
|
11447
|
+
}, node.attr), Tree2Element(node.child));
|
|
11448
|
+
});
|
|
11449
|
+
}
|
|
11450
|
+
|
|
11451
|
+
function GenIcon(data) {
|
|
11452
|
+
return function (props) {
|
|
11453
|
+
return createElement(IconBase, __assign$1({
|
|
11454
|
+
attr: __assign$1({}, data.attr)
|
|
11455
|
+
}, props), Tree2Element(data.child));
|
|
11456
|
+
};
|
|
11457
|
+
}
|
|
11458
|
+
function IconBase(props) {
|
|
11459
|
+
var elem = function (conf) {
|
|
11460
|
+
var computedSize = props.size || conf.size || "1em";
|
|
11461
|
+
var className;
|
|
11462
|
+
if (conf.className) className = conf.className;
|
|
11463
|
+
if (props.className) className = (className ? className + ' ' : '') + props.className;
|
|
11464
|
+
|
|
11465
|
+
var attr = props.attr,
|
|
11466
|
+
title = props.title,
|
|
11467
|
+
svgProps = __rest(props, ["attr", "title"]);
|
|
11468
|
+
|
|
11469
|
+
return createElement("svg", __assign$1({
|
|
11470
|
+
stroke: "currentColor",
|
|
11471
|
+
fill: "currentColor",
|
|
11472
|
+
strokeWidth: "0"
|
|
11473
|
+
}, conf.attr, attr, svgProps, {
|
|
11474
|
+
className: className,
|
|
11475
|
+
style: __assign$1({
|
|
11476
|
+
color: props.color || conf.color
|
|
11477
|
+
}, conf.style, props.style),
|
|
11478
|
+
height: computedSize,
|
|
11479
|
+
width: computedSize,
|
|
11480
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11481
|
+
}), title && createElement("title", null, title), props.children);
|
|
11482
|
+
};
|
|
11483
|
+
|
|
11484
|
+
return IconContext !== undefined ? createElement(IconContext.Consumer, null, function (conf) {
|
|
11485
|
+
return elem(conf);
|
|
11486
|
+
}) : elem(DefaultContext);
|
|
11487
|
+
}
|
|
11488
|
+
|
|
11489
|
+
// THIS FILE IS AUTO GENERATED
|
|
11490
|
+
var IoIosArrowForward = function (props) {
|
|
11491
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M294.1 256L167 129c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.3 34 0L345 239c9.1 9.1 9.3 23.7.7 33.1L201.1 417c-4.7 4.7-10.9 7-17 7s-12.3-2.3-17-7c-9.4-9.4-9.4-24.6 0-33.9l127-127.1z"}}]})(props);
|
|
11492
|
+
};
|
|
11493
|
+
IoIosArrowForward.displayName = "IoIosArrowForward";
|
|
11494
|
+
var IoIosHome = function (props) {
|
|
11495
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M258.5 104.1c-1.5-1.2-3.5-1.2-5 0l-156 124.8c-.9.8-1.5 1.9-1.5 3.1v230c0 1.1.9 2 2 2h108c1.1 0 2-.9 2-2V322c0-1.1.9-2 2-2h92c1.1 0 2 .9 2 2v140c0 1.1.9 2 2 2h108c1.1 0 2-.9 2-2V232c0-1.2-.6-2.4-1.5-3.1l-156-124.8z"}},{"tag":"path","attr":{"d":"M458.7 204.2l-189-151.4C265.9 49.7 261 48 256 48s-9.9 1.7-13.7 4.8L160 119.7V77.5c0-1.1-.9-2-2-2H98c-1.1 0-2 .9-2 2v92.2l-42.7 35.1c-3.1 2.5-5.1 6.2-5.3 10.2-.2 4 1.3 7.9 4.1 10.7 2.6 2.6 6.1 4.1 9.9 4.1 3.2 0 6.3-1.1 8.8-3.1l183.9-148c.5-.4.9-.4 1.3-.4s.8.1 1.3.4l183.9 147.4c2.5 2 5.6 3.1 8.8 3.1 3.7 0 7.2-1.4 9.9-4.1 2.9-2.8 4.4-6.7 4.2-10.7-.3-4-2.2-7.7-5.4-10.2z"}}]})(props);
|
|
11496
|
+
};
|
|
11497
|
+
IoIosHome.displayName = "IoIosHome";
|
|
11498
|
+
var IoMdArrowDropdown = function (props) {
|
|
11499
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M128 192l128 128 128-128z"}}]})(props);
|
|
11500
|
+
};
|
|
11501
|
+
IoMdArrowDropdown.displayName = "IoMdArrowDropdown";
|
|
11502
|
+
|
|
11411
11503
|
var VideoSeriesListing = function (_React$Component) {
|
|
11412
11504
|
inherits(VideoSeriesListing, _React$Component);
|
|
11413
11505
|
|
|
@@ -11584,8 +11676,8 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
11584
11676
|
docSeries.title,
|
|
11585
11677
|
React__default.createElement(
|
|
11586
11678
|
'span',
|
|
11587
|
-
{ style: { fontSize: '.9rem', color: 'grey', marginLeft: '1rem' } },
|
|
11588
|
-
|
|
11679
|
+
{ style: { fontSize: '.9rem', color: 'grey', marginLeft: '1rem', transform: 'translateY(-2px)' } },
|
|
11680
|
+
React__default.createElement(IoIosArrowForward, null)
|
|
11589
11681
|
)
|
|
11590
11682
|
)
|
|
11591
11683
|
)
|
|
@@ -11984,94 +12076,6 @@ var Header = function Header(props) {
|
|
|
11984
12076
|
);
|
|
11985
12077
|
};
|
|
11986
12078
|
|
|
11987
|
-
var DefaultContext = {
|
|
11988
|
-
color: undefined,
|
|
11989
|
-
size: undefined,
|
|
11990
|
-
className: undefined,
|
|
11991
|
-
style: undefined,
|
|
11992
|
-
attr: undefined
|
|
11993
|
-
};
|
|
11994
|
-
var IconContext = createContext && createContext(DefaultContext);
|
|
11995
|
-
|
|
11996
|
-
var __assign$1 = undefined && undefined.__assign || function () {
|
|
11997
|
-
__assign$1 = Object.assign || function (t) {
|
|
11998
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
11999
|
-
s = arguments[i];
|
|
12000
|
-
|
|
12001
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
12002
|
-
}
|
|
12003
|
-
|
|
12004
|
-
return t;
|
|
12005
|
-
};
|
|
12006
|
-
|
|
12007
|
-
return __assign$1.apply(this, arguments);
|
|
12008
|
-
};
|
|
12009
|
-
|
|
12010
|
-
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
12011
|
-
var t = {};
|
|
12012
|
-
|
|
12013
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
12014
|
-
|
|
12015
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0) t[p[i]] = s[p[i]];
|
|
12016
|
-
return t;
|
|
12017
|
-
};
|
|
12018
|
-
|
|
12019
|
-
function Tree2Element(tree) {
|
|
12020
|
-
return tree && tree.map(function (node, i) {
|
|
12021
|
-
return createElement(node.tag, __assign$1({
|
|
12022
|
-
key: i
|
|
12023
|
-
}, node.attr), Tree2Element(node.child));
|
|
12024
|
-
});
|
|
12025
|
-
}
|
|
12026
|
-
|
|
12027
|
-
function GenIcon(data) {
|
|
12028
|
-
return function (props) {
|
|
12029
|
-
return createElement(IconBase, __assign$1({
|
|
12030
|
-
attr: __assign$1({}, data.attr)
|
|
12031
|
-
}, props), Tree2Element(data.child));
|
|
12032
|
-
};
|
|
12033
|
-
}
|
|
12034
|
-
function IconBase(props) {
|
|
12035
|
-
var elem = function (conf) {
|
|
12036
|
-
var computedSize = props.size || conf.size || "1em";
|
|
12037
|
-
var className;
|
|
12038
|
-
if (conf.className) className = conf.className;
|
|
12039
|
-
if (props.className) className = (className ? className + ' ' : '') + props.className;
|
|
12040
|
-
|
|
12041
|
-
var attr = props.attr,
|
|
12042
|
-
title = props.title,
|
|
12043
|
-
svgProps = __rest(props, ["attr", "title"]);
|
|
12044
|
-
|
|
12045
|
-
return createElement("svg", __assign$1({
|
|
12046
|
-
stroke: "currentColor",
|
|
12047
|
-
fill: "currentColor",
|
|
12048
|
-
strokeWidth: "0"
|
|
12049
|
-
}, conf.attr, attr, svgProps, {
|
|
12050
|
-
className: className,
|
|
12051
|
-
style: __assign$1({
|
|
12052
|
-
color: props.color || conf.color
|
|
12053
|
-
}, conf.style, props.style),
|
|
12054
|
-
height: computedSize,
|
|
12055
|
-
width: computedSize,
|
|
12056
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
12057
|
-
}), title && createElement("title", null, title), props.children);
|
|
12058
|
-
};
|
|
12059
|
-
|
|
12060
|
-
return IconContext !== undefined ? createElement(IconContext.Consumer, null, function (conf) {
|
|
12061
|
-
return elem(conf);
|
|
12062
|
-
}) : elem(DefaultContext);
|
|
12063
|
-
}
|
|
12064
|
-
|
|
12065
|
-
// THIS FILE IS AUTO GENERATED
|
|
12066
|
-
var IoIosHome = function (props) {
|
|
12067
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M258.5 104.1c-1.5-1.2-3.5-1.2-5 0l-156 124.8c-.9.8-1.5 1.9-1.5 3.1v230c0 1.1.9 2 2 2h108c1.1 0 2-.9 2-2V322c0-1.1.9-2 2-2h92c1.1 0 2 .9 2 2v140c0 1.1.9 2 2 2h108c1.1 0 2-.9 2-2V232c0-1.2-.6-2.4-1.5-3.1l-156-124.8z"}},{"tag":"path","attr":{"d":"M458.7 204.2l-189-151.4C265.9 49.7 261 48 256 48s-9.9 1.7-13.7 4.8L160 119.7V77.5c0-1.1-.9-2-2-2H98c-1.1 0-2 .9-2 2v92.2l-42.7 35.1c-3.1 2.5-5.1 6.2-5.3 10.2-.2 4 1.3 7.9 4.1 10.7 2.6 2.6 6.1 4.1 9.9 4.1 3.2 0 6.3-1.1 8.8-3.1l183.9-148c.5-.4.9-.4 1.3-.4s.8.1 1.3.4l183.9 147.4c2.5 2 5.6 3.1 8.8 3.1 3.7 0 7.2-1.4 9.9-4.1 2.9-2.8 4.4-6.7 4.2-10.7-.3-4-2.2-7.7-5.4-10.2z"}}]})(props);
|
|
12068
|
-
};
|
|
12069
|
-
IoIosHome.displayName = "IoIosHome";
|
|
12070
|
-
var IoMdArrowDropdown = function (props) {
|
|
12071
|
-
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M128 192l128 128 128-128z"}}]})(props);
|
|
12072
|
-
};
|
|
12073
|
-
IoMdArrowDropdown.displayName = "IoMdArrowDropdown";
|
|
12074
|
-
|
|
12075
12079
|
var AccordionPanel = function AccordionPanel(props) {
|
|
12076
12080
|
var accordionClassName = props.accordionClassName,
|
|
12077
12081
|
data = props.data;
|