@ukpc-lib/react 0.12.1-dev.9 → 0.12.2
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/FavoriteMenu/components/MenuItem.d.ts +2 -5
- package/dist/components/FavoriteMenu/data.json.d.ts +2414 -0
- package/dist/components/FavoriteMenu/models/MenuItemDto.d.ts +1 -0
- package/dist/components/GlobalMenu/components/MenuItem.d.ts +1 -2
- package/dist/components/GlobalMenu/data.json.d.ts +1146 -1982
- package/dist/components/index.cjs +22 -18
- package/dist/components/index.js +1792 -2059
- package/dist/components/main.d.ts +0 -1
- package/dist/index.esm2017-4ce16521.js +40621 -0
- package/dist/index.esm2017-7c341ab3.cjs +1101 -0
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +1 -1
- package/package.json +6 -8
- package/web-components-bundle/access-denied/index.js +3 -2
- package/web-components-bundle/favorite-menu/index.js +8 -6
- package/web-components-bundle/global-menu/index.js +7 -5
- package/web-components-bundle/global-topbar/index.js +6 -8
- package/web-components-bundle/has-permission/index.js +7 -4
- package/web-components-bundle/index-57de9f86.js +44172 -0
- package/web-components-bundle/{index-T58UE-6b.js → index-c91ec106.js} +393 -378
- package/web-components-bundle/react-to-web-component-d5889290.js +6388 -0
- package/web-components-bundle/react-toastify.esm-d8df41b8.js +339 -0
- package/web-components-bundle/toast-config/index.js +2 -2
- package/web-components-bundle/toast-config-notification/index.js +4 -3
- package/dist/components/BaseBreadcrumb/index.d.ts +0 -17
- package/dist/index.esm2017-D13q7k3i.js +0 -41293
- package/dist/index.esm2017-DIs_XI9p.cjs +0 -1078
- package/web-components-bundle/base-breadcrumbs/index.js +0 -5
- package/web-components-bundle/clsx-DB4S2d7J.js +0 -22
- package/web-components-bundle/index-BSe1av43.js +0 -48
- package/web-components-bundle/index-BziS9Had.js +0 -5410
- package/web-components-bundle/index-DSZn86FM.js +0 -39978
- package/web-components-bundle/page-not-found/index.js +0 -6
- package/web-components-bundle/react-to-web-component-CXwKHjZr.js +0 -6388
- package/web-components-bundle/react-toastify.esm-CrTD7cpE.js +0 -320
- package/web-components-bundle/setPrototypeOf-BVKdEITT.js +0 -14
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { j as e, s as a } from "./react-to-web-component-CXwKHjZr.js";
|
|
2
|
-
const l = "*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}";
|
|
3
|
-
function s({ children: t, styles: o = [], ...i }) {
|
|
4
|
-
return /* @__PURE__ */ e.jsxs("div", { ...i, children: [
|
|
5
|
-
[l, ...o].map((n, r) => /* @__PURE__ */ e.jsx("style", { type: "text/css", children: n }, r)),
|
|
6
|
-
t
|
|
7
|
-
] });
|
|
8
|
-
}
|
|
9
|
-
const d = ".pnf-button-primary{font-size:14px;background-color:var(--primary300);color:var(--buttonText);padding:8px 24px;border-radius:4px;border:none;cursor:pointer;transition:background-color .25s cubic-bezier(.4,0,.2,1),box-shadow .25s cubic-bezier(.4,0,.2,1),border-color .25s cubic-bezier(.4,0,.2,1),color .25s cubic-bezier(.4,0,.2,1)}.pnf-button-primary:hover{background-color:var(--buttonHover)}.pnf-container{padding-top:16px;padding-bottom:16px;gap:16px;display:flex;flex-direction:column;align-items:center;font-family:inherit}.pnf-content-wrapper{display:flex;flex-direction:column;gap:8px;align-items:center}.pnf-title{text-align:center;font-size:1.25rem;font-weight:500;margin:0}.pnf-description{text-align:center;color:#85858a;font-size:.875rem;font-weight:400;margin:0}", c = () => {
|
|
10
|
-
const t = () => {
|
|
11
|
-
window.location.href = `${window.location.origin}/home`;
|
|
12
|
-
};
|
|
13
|
-
return console.log("window.location.origin", window.location.origin), /* @__PURE__ */ e.jsx(s, { styles: [d], children: /* @__PURE__ */ e.jsxs("div", { className: "pnf-container", children: [
|
|
14
|
-
/* @__PURE__ */ e.jsx(
|
|
15
|
-
"img",
|
|
16
|
-
{
|
|
17
|
-
width: 120,
|
|
18
|
-
height: 120,
|
|
19
|
-
src: "https://ukpcsaprod.blob.core.windows.net/lib/images/page-not-found.png",
|
|
20
|
-
alt: "Page not found"
|
|
21
|
-
}
|
|
22
|
-
),
|
|
23
|
-
/* @__PURE__ */ e.jsxs("div", { className: "pnf-content-wrapper", children: [
|
|
24
|
-
/* @__PURE__ */ e.jsx("h4", { className: "pnf-title", children: "Page Not Found" }),
|
|
25
|
-
/* @__PURE__ */ e.jsxs("p", { className: "pnf-description", children: [
|
|
26
|
-
"We’re sorry. The page you requested could not be found. ",
|
|
27
|
-
/* @__PURE__ */ e.jsx("br", {}),
|
|
28
|
-
"Please go back to the home page"
|
|
29
|
-
] }),
|
|
30
|
-
/* @__PURE__ */ e.jsx(
|
|
31
|
-
"button",
|
|
32
|
-
{
|
|
33
|
-
className: "pnf-button-primary",
|
|
34
|
-
onClick: t,
|
|
35
|
-
children: "Go to homepage"
|
|
36
|
-
}
|
|
37
|
-
)
|
|
38
|
-
] })
|
|
39
|
-
] }) });
|
|
40
|
-
}, p = () => /* @__PURE__ */ e.jsx(c, {});
|
|
41
|
-
{
|
|
42
|
-
const t = a(p);
|
|
43
|
-
customElements.define("page-not-found", t);
|
|
44
|
-
}
|
|
45
|
-
export {
|
|
46
|
-
c as P,
|
|
47
|
-
s as S
|
|
48
|
-
};
|