@bigbinary/neeto-molecules 1.0.24 → 1.0.26

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.
@@ -35535,7 +35535,7 @@ var Footer = function Footer(_ref) {
35535
35535
 
35536
35536
  function cov_17k34ad0bz() {
35537
35537
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/Header.jsx";
35538
- var hash = "fff7fb107aeb6ef1908194eb0afb1951e6504740";
35538
+ var hash = "c1f927311f5d22150d89fd74d94931189bdccf83";
35539
35539
  var global = new Function("return this")();
35540
35540
  var gcv = "__coverage__";
35541
35541
  var coverageData = {
@@ -35620,6 +35620,39 @@ function cov_17k34ad0bz() {
35620
35620
  },
35621
35621
  branchMap: {
35622
35622
  "0": {
35623
+ loc: {
35624
+ start: {
35625
+ line: 18,
35626
+ column: 4
35627
+ },
35628
+ end: {
35629
+ line: 21,
35630
+ column: 36
35631
+ }
35632
+ },
35633
+ type: "binary-expr",
35634
+ locations: [{
35635
+ start: {
35636
+ line: 18,
35637
+ column: 4
35638
+ },
35639
+ end: {
35640
+ line: 21,
35641
+ column: 10
35642
+ }
35643
+ }, {
35644
+ start: {
35645
+ line: 21,
35646
+ column: 14
35647
+ },
35648
+ end: {
35649
+ line: 21,
35650
+ column: 36
35651
+ }
35652
+ }],
35653
+ line: 18
35654
+ },
35655
+ "1": {
35623
35656
  loc: {
35624
35657
  start: {
35625
35658
  line: 31,
@@ -35664,10 +35697,11 @@ function cov_17k34ad0bz() {
35664
35697
  "0": 0
35665
35698
  },
35666
35699
  b: {
35667
- "0": [0, 0]
35700
+ "0": [0, 0],
35701
+ "1": [0, 0]
35668
35702
  },
35669
35703
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
35670
- hash: "fff7fb107aeb6ef1908194eb0afb1951e6504740"
35704
+ hash: "c1f927311f5d22150d89fd74d94931189bdccf83"
35671
35705
  };
35672
35706
  var coverage = global[gcv] || (global[gcv] = {});
35673
35707
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -35685,12 +35719,13 @@ function cov_17k34ad0bz() {
35685
35719
  cov_17k34ad0bz();
35686
35720
  cov_17k34ad0bz().s[0]++;
35687
35721
  var Header = function Header() {
35722
+ var _ref, _findBy2;
35688
35723
  cov_17k34ad0bz().f[0]++;
35689
35724
  var logoName = (cov_17k34ad0bz().s[1]++, "Neeto".concat(pure.capitalize(globalProps.appName.substr(5).toLowerCase())));
35690
35725
  var ProductLogo = (cov_17k34ad0bz().s[2]++, ProductLogos__namespace[logoName]);
35691
- var homeUrl = (cov_17k34ad0bz().s[3]++, new URL(pure.findBy({
35726
+ var homeUrl = (cov_17k34ad0bz().s[3]++, new URL((_ref = (cov_17k34ad0bz().b[0][0]++, (_findBy2 = pure._findBy({
35692
35727
  name: globalProps.appName.split("neeto")[1]
35693
- }, globalProps.neetoApps).url));
35728
+ }, globalProps.neetoApps)) === null || _findBy2 === void 0 ? void 0 : _findBy2.url)) !== null && _ref !== void 0 ? _ref : (cov_17k34ad0bz().b[0][1]++, window.location.origin)));
35694
35729
  cov_17k34ad0bz().s[4]++;
35695
35730
  return /*#__PURE__*/React__default["default"].createElement("div", {
35696
35731
  className: "neeto-ui-flex neeto-ui-items-center neeto-molecules-sidebar__header",
@@ -35699,7 +35734,7 @@ var Header = function Header() {
35699
35734
  className: "neeto-molecules-sidebar__logo flex flex-shrink-0 items-center justify-center"
35700
35735
  }, /*#__PURE__*/React__default["default"].createElement(reactRouterDom.Link, {
35701
35736
  to: homeUrl.pathname
35702
- }, ProductLogo ? (cov_17k34ad0bz().b[0][0]++, /*#__PURE__*/React__default["default"].createElement(ProductLogo, null)) : (cov_17k34ad0bz().b[0][1]++, /*#__PURE__*/React__default["default"].createElement(ProductLogos.Neeto, null)))));
35737
+ }, ProductLogo ? (cov_17k34ad0bz().b[1][0]++, /*#__PURE__*/React__default["default"].createElement(ProductLogo, null)) : (cov_17k34ad0bz().b[1][1]++, /*#__PURE__*/React__default["default"].createElement(ProductLogos.Neeto, null)))));
35703
35738
  };
35704
35739
 
35705
35740
  var _excluded = ["label", "to", "icon", "description"];