@ukpc-lib/react 0.15.0 → 0.15.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ukpc-lib/react",
3
3
  "private": false,
4
- "version": "0.15.0",
4
+ "version": "0.15.1",
5
5
  "type": "module",
6
6
  "main": "./dist/",
7
7
  "module": "./dist/",
@@ -30,7 +30,7 @@
30
30
  ],
31
31
  "scripts": {
32
32
  "dev": "vite --open --port 3000",
33
- "build": "npm run build-react",
33
+ "build": "npm run build-react && npm run build-wc",
34
34
  "build-react": "tsc && vite build --config vite.config.react.ts",
35
35
  "build-wc": "tsc && vite build --config vite.config.wc.ts --mode production",
36
36
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
@@ -0,0 +1,5 @@
1
+ import "../react-to-web-component-w5r1Fs9q.js";
2
+ import { U as e } from "../index-BMcWYdph.js";
3
+ export {
4
+ e as UnauthorizedPage
5
+ };
@@ -0,0 +1,5 @@
1
+ import "../react-to-web-component-w5r1Fs9q.js";
2
+ import { ae as m } from "../index-BU5SX9Tl.js";
3
+ export {
4
+ m as BaseBreadcrumbs
5
+ };
@@ -0,0 +1,22 @@
1
+ function a(r) {
2
+ var f, n, t = "";
3
+ if (typeof r == "string" || typeof r == "number")
4
+ t += r;
5
+ else if (typeof r == "object")
6
+ if (Array.isArray(r)) {
7
+ var o = r.length;
8
+ for (f = 0; f < o; f++)
9
+ r[f] && (n = a(r[f])) && (t && (t += " "), t += n);
10
+ } else
11
+ for (n in r)
12
+ r[n] && (t && (t += " "), t += n);
13
+ return t;
14
+ }
15
+ function i() {
16
+ for (var r, f, n = 0, t = "", o = arguments.length; n < o; n++)
17
+ (r = arguments[n]) && (f = a(r)) && (t && (t += " "), t += f);
18
+ return t;
19
+ }
20
+ export {
21
+ i as c
22
+ };
@@ -0,0 +1,8 @@
1
+ import "../react-to-web-component-w5r1Fs9q.js";
2
+ import { F as i, u as m } from "../index-2BgEDqwI.js";
3
+ import "../index-DwRBe0O9.js";
4
+ import "../index-BU5SX9Tl.js";
5
+ export {
6
+ i as FavoriteMenu,
7
+ m as updateFavoriteItems
8
+ };
@@ -0,0 +1,7 @@
1
+ import "../react-to-web-component-w5r1Fs9q.js";
2
+ import { G as i } from "../index-2BgEDqwI.js";
3
+ import "../index-DwRBe0O9.js";
4
+ import "../index-BU5SX9Tl.js";
5
+ export {
6
+ i as GlobalMenu
7
+ };
@@ -0,0 +1,12 @@
1
+ import "../react-to-web-component-w5r1Fs9q.js";
2
+ import { L as n, T as s } from "../index-2BgEDqwI.js";
3
+ import "../index-DwRBe0O9.js";
4
+ import "../index-BMcWYdph.js";
5
+ import "../index-BU5SX9Tl.js";
6
+ import "../react-toastify.esm-H_Xdunfj.js";
7
+ import "../toast-config/index.js";
8
+ import "../toast-config-notification/index.js";
9
+ export {
10
+ n as LanguageDropdown,
11
+ s as TopBar
12
+ };
@@ -0,0 +1,7 @@
1
+ import "../react-to-web-component-w5r1Fs9q.js";
2
+ import { H as e, g as m } from "../index-2BgEDqwI.js";
3
+ import "../index-BU5SX9Tl.js";
4
+ export {
5
+ e as HasPermission,
6
+ m as getUseHasPermission
7
+ };
@@ -0,0 +1,14 @@
1
+ function s(r, e, o) {
2
+ return o.some((t) => {
3
+ const n = r[t];
4
+ return String(n).toLowerCase().includes(e.toLowerCase());
5
+ });
6
+ }
7
+ function c(r) {
8
+ var e, o;
9
+ (o = (e = window.top) == null ? void 0 : e.HostBridge) == null || o.openBackdrop(r);
10
+ }
11
+ export {
12
+ s as search,
13
+ c as setShellBackdrop
14
+ };