@ukpc-lib/react 0.8.4 → 0.8.5
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 +1 -1
- package/dist/components/index.js +2 -2
- package/dist/{index.module-ac25c380.js → index.module-054b4163.js} +2 -1
- package/dist/{index.module-5d0f8ab4.cjs → index.module-24a2eb1c.cjs} +1 -1
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +1 -1
- package/package.json +1 -1
- package/web-components-bundle/access-denied/index.js +1 -1
- package/web-components-bundle/favorite-menu/index.js +2 -2
- package/web-components-bundle/global-menu/index.js +2 -2
- package/web-components-bundle/global-topbar/index.js +2 -2
- package/web-components-bundle/has-permission/index.js +2 -2
- package/web-components-bundle/{index-a1290462.js → index-70f8381f.js} +9405 -9408
- package/web-components-bundle/{index-72ffbbfa.js → index-ef16a9d3.js} +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),C=require("react"),h=require("../index.module-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),C=require("react"),h=require("../index.module-24a2eb1c.cjs"),Z=require("moment"),N=require("@mui/material");require("@r2wc/react-to-web-component");require("axios");const gt=require("react-router-dom");require("react-query");const eo=require("react-dom");function to(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const F=to(C),no=e=>{var r,o;const{tabs:t}=e,n=i=>{e.setCurrentTab(i.target.id)};return console.log("🚀 ~ brandColors:",e.currentTab),s.jsxs(s.Fragment,{children:[s.jsx("style",{children:`
|
|
2
2
|
.tab-title {
|
|
3
3
|
min-width: 90px;
|
|
4
4
|
padding: 5px 16px;
|
package/dist/components/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as N, Fragment as xe, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import * as j from "react";
|
|
3
3
|
import Se, { useState as L, useContext as Oe, useEffect as Q, useCallback as Ye, useRef as ue, useLayoutEffect as Io, createElement as St, forwardRef as Mo, PureComponent as $o } from "react";
|
|
4
|
-
import { c as Ee, a as Pe, C as $e, p as $r, L as Dn, u as Ao, b as Po, S as Ar, d as Ro, e as Do, Q as Pr, f as vt, g as zo, m as Fo, h as it, I as Lo, i as jo, j as Vo, k as Ho, s as Bo, l as pn, n as Wo, o as bt, _ as F, q as Te, P as I, r as _e, t as Uo, v as Yo, w as qo, x as Go, y as zn, z as Fn, A as Ko, B as Zo, D as Ln, E as Jo, F as Rr, G as Dr, H as Xo, J as Qo, K as Me, M as ei, N as xt } from "../index.module-
|
|
5
|
-
import { O as c1, T as d1, R as u1 } from "../index.module-
|
|
4
|
+
import { c as Ee, a as Pe, C as $e, p as $r, L as Dn, u as Ao, b as Po, S as Ar, d as Ro, e as Do, Q as Pr, f as vt, g as zo, m as Fo, h as it, I as Lo, i as jo, j as Vo, k as Ho, s as Bo, l as pn, n as Wo, o as bt, _ as F, q as Te, P as I, r as _e, t as Uo, v as Yo, w as qo, x as Go, y as zn, z as Fn, A as Ko, B as Zo, D as Ln, E as Jo, F as Rr, G as Dr, H as Xo, J as Qo, K as Me, M as ei, N as xt } from "../index.module-054b4163.js";
|
|
5
|
+
import { O as c1, T as d1, R as u1 } from "../index.module-054b4163.js";
|
|
6
6
|
import J from "moment";
|
|
7
7
|
import { Stack as oe, Dialog as ti, DialogTitle as ni, Typography as Ce, DialogContent as ri, DialogActions as oi, Button as Mt, Box as ii, Tooltip as jn, ClickAwayListener as ai, TextField as zr, IconButton as si, CircularProgress as li, Fade as ci, Paper as di, Checkbox as ui } from "@mui/material";
|
|
8
8
|
import "@r2wc/react-to-web-component";
|
|
@@ -4233,8 +4233,9 @@ gi.use(J1).use(lM).use(Y1).init({
|
|
|
4233
4233
|
backends: [iT],
|
|
4234
4234
|
backendOptions: [
|
|
4235
4235
|
{
|
|
4236
|
+
// loadPath: 'https://ukpcsaprod.blob.core.windows.net/lib/translations/{{lng}}/{{ns}}.json',
|
|
4236
4237
|
loadPath: () => {
|
|
4237
|
-
const e =
|
|
4238
|
+
const e = location.protocol + "//" + location.host;
|
|
4238
4239
|
return console.log("url", e), `${e}/translations/{{lng}}`;
|
|
4239
4240
|
},
|
|
4240
4241
|
crossDomain: !0,
|