@ukpc-lib/react 0.12.1-dev.10 → 0.12.1-dev.11

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.
@@ -1900,7 +1900,7 @@ function Ba({
1900
1900
  if ((_ != null ? _.shadowRoot : document).getElementById("selectedSearch") === null) {
1901
1901
  console.log("enter", x);
1902
1902
  const E = x.currentTarget.value;
1903
- window.location.href = `${h}/stella/page/Search/Index?Term=${E}`;
1903
+ window.location.href = `${h}/GlobalSearch/page/Index?Term=${E}`;
1904
1904
  return;
1905
1905
  }
1906
1906
  }
@@ -2080,7 +2080,7 @@ function Ua({ classNames: e = "", ...t }) {
2080
2080
  s.length >= 3 ? E(s) : _([]);
2081
2081
  }, [s]);
2082
2082
  const E = async (O) => {
2083
- await fetch(`${o}/stella/page/Search/Suggestions?term=${O}`).then((C) => C.json()).then((C) => {
2083
+ await fetch(`${o}/GlobalSearch/page/Suggestions?term=${O}`).then((C) => C.json()).then((C) => {
2084
2084
  _(C), console.log(C);
2085
2085
  }).catch((C) => {
2086
2086
  console.error(C);
@@ -2093,13 +2093,13 @@ function Ua({ classNames: e = "", ...t }) {
2093
2093
  const C = O.entityType, $ = O.entityId;
2094
2094
  switch (C) {
2095
2095
  case "Zone":
2096
- document.location.href = o + "/stella/page/SiteManagement/Zone/Details/" + $;
2096
+ document.location.href = o + "/SiteManagement/page/Zone/Details/" + $;
2097
2097
  return;
2098
2098
  case "Location":
2099
- document.location.href = o + "/stella/page/SiteManagement/Location/Details/" + $;
2099
+ document.location.href = o + "/SiteManagement/page/Location/Details/" + $;
2100
2100
  return;
2101
2101
  case "Company":
2102
- document.location.href = o + "/stella/page/SiteManagement/Company/Details/" + $;
2102
+ document.location.href = o + "/SiteManagement/page/Company/Details/" + $;
2103
2103
  return;
2104
2104
  default:
2105
2105
  console.log(`Unsure how to navigate to ${C} ${$}`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ukpc-lib/react",
3
3
  "private": false,
4
- "version": "0.12.1-dev.10",
4
+ "version": "0.12.1-dev.11",
5
5
  "type": "module",
6
6
  "main": "./dist/",
7
7
  "module": "./dist/",
@@ -1,5 +1,5 @@
1
- import "../react-to-web-component-CXwKHjZr.js";
2
- import { U as e } from "../index-T58UE-6b.js";
1
+ import "../react-to-web-component-D7SoYMky.js";
2
+ import { U as e } from "../index-B2-j-GrO.js";
3
3
  export {
4
4
  e as UnauthorizedPage
5
5
  };
@@ -1,5 +1,5 @@
1
- import "../react-to-web-component-CXwKHjZr.js";
2
- import { aa as m } from "../index-BziS9Had.js";
1
+ import "../react-to-web-component-D7SoYMky.js";
2
+ import { aa as m } from "../index-B8-7QZsi.js";
3
3
  export {
4
4
  m as BaseBreadcrumbs
5
5
  };
@@ -1,7 +1,7 @@
1
- import "../react-to-web-component-CXwKHjZr.js";
2
- import { F as i, u as m } from "../index-BlIndJgm.js";
3
- import "../index-BSe1av43.js";
4
- import "../index-BziS9Had.js";
1
+ import "../react-to-web-component-D7SoYMky.js";
2
+ import { F as i, u as m } from "../index-BzG1EbDy.js";
3
+ import "../index-Cx0zTfOC.js";
4
+ import "../index-B8-7QZsi.js";
5
5
  export {
6
6
  i as FavoriteMenu,
7
7
  m as updateFavoriteItems
@@ -1,7 +1,7 @@
1
- import "../react-to-web-component-CXwKHjZr.js";
2
- import { G as i } from "../index-BlIndJgm.js";
3
- import "../index-BSe1av43.js";
4
- import "../index-BziS9Had.js";
1
+ import "../react-to-web-component-D7SoYMky.js";
2
+ import { G as i } from "../index-BzG1EbDy.js";
3
+ import "../index-Cx0zTfOC.js";
4
+ import "../index-B8-7QZsi.js";
5
5
  export {
6
6
  i as GlobalMenu
7
7
  };
@@ -1,9 +1,9 @@
1
- import "../react-to-web-component-CXwKHjZr.js";
2
- import { L as n, T as s } from "../index-BlIndJgm.js";
3
- import "../index-BSe1av43.js";
4
- import "../index-T58UE-6b.js";
5
- import "../index-BziS9Had.js";
6
- import "../react-toastify.esm-CrTD7cpE.js";
1
+ import "../react-to-web-component-D7SoYMky.js";
2
+ import { L as n, T as s } from "../index-BzG1EbDy.js";
3
+ import "../index-Cx0zTfOC.js";
4
+ import "../index-B2-j-GrO.js";
5
+ import "../index-B8-7QZsi.js";
6
+ import "../react-toastify.esm-Y1WvK90L.js";
7
7
  import "../toast-config/index.js";
8
8
  import "../toast-config-notification/index.js";
9
9
  export {
@@ -1,6 +1,6 @@
1
- import "../react-to-web-component-CXwKHjZr.js";
2
- import { H as e, g as m } from "../index-BlIndJgm.js";
3
- import "../index-BziS9Had.js";
1
+ import "../react-to-web-component-D7SoYMky.js";
2
+ import { H as e, g as m } from "../index-BzG1EbDy.js";
3
+ import "../index-B8-7QZsi.js";
4
4
  export {
5
5
  e as HasPermission,
6
6
  m as getUseHasPermission
@@ -1,4 +1,4 @@
1
- import { r as $, c as ce, g as Jt, s as Xt, j as E } from "./react-to-web-component-CXwKHjZr.js";
1
+ import { r as $, c as ce, g as Jt, s as Xt, j as E } from "./react-to-web-component-D7SoYMky.js";
2
2
  import { _ as Wt, a as Y } from "./setPrototypeOf-BVKdEITT.js";
3
3
  function Gt(i, e) {
4
4
  for (var t = 0; t < e.length; t++) {