@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.
- package/dist/components/index.cjs +8 -8
- package/dist/components/index.js +5 -5
- package/package.json +1 -1
- package/web-components-bundle/access-denied/index.js +2 -2
- package/web-components-bundle/base-breadcrumbs/index.js +2 -2
- package/web-components-bundle/favorite-menu/index.js +4 -4
- package/web-components-bundle/global-menu/index.js +4 -4
- package/web-components-bundle/global-topbar/index.js +6 -6
- package/web-components-bundle/has-permission/index.js +3 -3
- package/web-components-bundle/{index-T58UE-6b.js → index-B2-j-GrO.js} +1 -1
- package/web-components-bundle/{index-BziS9Had.js → index-B8-7QZsi.js} +593 -593
- package/web-components-bundle/{index-BlIndJgm.js → index-BzG1EbDy.js} +10 -10
- package/web-components-bundle/{index-BSe1av43.js → index-Cx0zTfOC.js} +1 -1
- package/web-components-bundle/page-not-found/index.js +2 -2
- package/web-components-bundle/{react-to-web-component-CXwKHjZr.js → react-to-web-component-D7SoYMky.js} +1535 -1527
- package/web-components-bundle/{react-toastify.esm-CrTD7cpE.js → react-toastify.esm-Y1WvK90L.js} +1 -1
- package/web-components-bundle/toast-config/index.js +2 -2
- package/web-components-bundle/toast-config-notification/index.js +2 -2
package/dist/components/index.js
CHANGED
|
@@ -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}/
|
|
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}/
|
|
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 + "/
|
|
2096
|
+
document.location.href = o + "/SiteManagement/page/Zone/Details/" + $;
|
|
2097
2097
|
return;
|
|
2098
2098
|
case "Location":
|
|
2099
|
-
document.location.href = o + "/
|
|
2099
|
+
document.location.href = o + "/SiteManagement/page/Location/Details/" + $;
|
|
2100
2100
|
return;
|
|
2101
2101
|
case "Company":
|
|
2102
|
-
document.location.href = o + "/
|
|
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
|
-
import "../react-to-web-component-
|
|
2
|
-
import { F as i, u as m } from "../index-
|
|
3
|
-
import "../index-
|
|
4
|
-
import "../index-
|
|
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-
|
|
2
|
-
import { G as i } from "../index-
|
|
3
|
-
import "../index-
|
|
4
|
-
import "../index-
|
|
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-
|
|
2
|
-
import { L as n, T as s } from "../index-
|
|
3
|
-
import "../index-
|
|
4
|
-
import "../index-
|
|
5
|
-
import "../index-
|
|
6
|
-
import "../react-toastify.esm-
|
|
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-
|
|
2
|
-
import { H as e, g as m } from "../index-
|
|
3
|
-
import "../index-
|
|
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-
|
|
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++) {
|