@ukpc-lib/react 0.16.3 → 0.16.5-sandbox.poms-1875.patch-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/dist/components/index.cjs +16 -16
- package/dist/components/index.js +1636 -1725
- package/dist/{index.esm2017-mJf-YmWA.cjs → index.esm2017-DEvwglYk.cjs} +111 -111
- package/dist/{index.esm2017-BRCPWxNQ.js → index.esm2017-Dwmyl50e.js} +6941 -6824
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +83 -76
- package/dist/share/interceptor/index.d.ts +2 -1
- package/dist/share/permissions/HasPermission.d.ts +1 -1
- package/dist/share/permissions/PermissionRoute.d.ts +1 -2
- package/package.json +1 -1
- package/web-components-bundle/SaasThemeProvider-A_eMJWqw.js +242 -0
- package/web-components-bundle/access-denied/index.js +2 -2
- package/web-components-bundle/base-breadcrumbs/index.js +4 -3
- package/web-components-bundle/favorite-menu/index.js +11 -6
- package/web-components-bundle/global-menu/index.js +7 -5
- package/web-components-bundle/global-topbar/index.js +9 -8
- package/web-components-bundle/has-permission/index.js +4 -5
- package/web-components-bundle/{index-BU5SX9Tl.js → index-760z9lEs.js} +1804 -2041
- package/web-components-bundle/{index-DqxmsDJs.js → index-BwEhsh9S.js} +11 -9
- package/web-components-bundle/{index-Ch-015PG.js → index-CiYHK3Rq.js} +1 -1
- package/web-components-bundle/{index-B7_MDkQm.js → index-DaCSdxEj.js} +7280 -7257
- package/web-components-bundle/page-not-found/index.js +4 -3
- package/web-components-bundle/{react-to-web-component-w5r1Fs9q.js → react-to-web-component-BOygDorD.js} +1535 -1527
- package/web-components-bundle/{react-toastify.esm-H_Xdunfj.js → react-toastify.esm-DnABvuky.js} +1 -1
- package/web-components-bundle/toast-config/index.js +2 -2
- package/web-components-bundle/toast-config-notification/index.js +2 -2
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { j as e, s as a } from "./react-to-web-component-
|
|
1
|
+
import { j as e, s as a } from "./react-to-web-component-BOygDorD.js";
|
|
2
|
+
import { u as s } from "./SaasThemeProvider-A_eMJWqw.js";
|
|
2
3
|
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
|
|
4
|
+
function d({ children: t, styles: o = [], ...i }) {
|
|
4
5
|
return /* @__PURE__ */ e.jsxs("div", { ...i, children: [
|
|
5
6
|
[l, ...o].map((n, r) => /* @__PURE__ */ e.jsx("style", { type: "text/css", children: n }, r)),
|
|
6
7
|
t
|
|
7
8
|
] });
|
|
8
9
|
}
|
|
9
|
-
const
|
|
10
|
+
const c = ".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}", p = () => {
|
|
10
11
|
const t = () => {
|
|
11
12
|
window.top && (window.top.location.href = "/app/home");
|
|
12
|
-
};
|
|
13
|
-
return
|
|
13
|
+
}, { colors: o } = s();
|
|
14
|
+
return /* @__PURE__ */ e.jsx(d, { styles: [c], children: /* @__PURE__ */ e.jsxs("div", { className: "pnf-container", children: [
|
|
14
15
|
/* @__PURE__ */ e.jsx(
|
|
15
16
|
"img",
|
|
16
17
|
{
|
|
@@ -31,18 +32,19 @@ const d = ".pnf-button-primary{font-size:14px;background-color:var(--primary300)
|
|
|
31
32
|
"button",
|
|
32
33
|
{
|
|
33
34
|
className: "pnf-button-primary",
|
|
35
|
+
style: { backgroundColor: `${o.primary300}` },
|
|
34
36
|
onClick: t,
|
|
35
37
|
children: "Go to homepage"
|
|
36
38
|
}
|
|
37
39
|
)
|
|
38
40
|
] })
|
|
39
41
|
] }) });
|
|
40
|
-
},
|
|
42
|
+
}, h = () => /* @__PURE__ */ e.jsx(p, {});
|
|
41
43
|
{
|
|
42
|
-
const t = a(
|
|
44
|
+
const t = a(h);
|
|
43
45
|
customElements.define("page-not-found", t);
|
|
44
46
|
}
|
|
45
47
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
p as P,
|
|
49
|
+
d as S
|
|
48
50
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as M, c as ce, g as Jt, s as Xt, j as E } from "./react-to-web-component-
|
|
1
|
+
import { r as M, c as ce, g as Jt, s as Xt, j as E } from "./react-to-web-component-BOygDorD.js";
|
|
2
2
|
import { a as Wt, _ as Z } from "./setPrototypeOf-CP0c5ut2.js";
|
|
3
3
|
function Gt(i, e) {
|
|
4
4
|
for (var t = 0; t < e.length; t++) {
|