@ukpc-lib/react 0.10.29-dev.2 → 0.10.29-dev.4
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 +4 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/{index.esm2017-7b80133e.cjs → index.esm2017-78c58f43.cjs} +127 -127
- package/dist/{index.esm2017-fb7717a2.js → index.esm2017-b5881e5e.js} +9967 -9864
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +1 -1
- package/package.json +1 -1
- package/web-components-bundle/favorite-menu/index.js +1 -1
- package/web-components-bundle/global-menu/index.js +1 -1
- package/web-components-bundle/global-topbar/index.js +1 -1
- package/web-components-bundle/has-permission/index.js +1 -1
- package/web-components-bundle/{index-ec9d43e3.js → index-b161957e.js} +22918 -22817
- package/dist/components/FavoriteMenu/data.json.d.ts +0 -2414
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { Identity, MenuItemDto } from '../models';
|
|
3
3
|
import { ColorsType } from '../../../theme/Colors';
|
|
4
|
+
import { NodeModel, RenderParams } from '@minoru/react-dnd-treeview';
|
|
4
5
|
|
|
5
6
|
export type OwnMenuItemProps = {
|
|
6
7
|
replacePath?(path: string): string;
|
|
@@ -11,9 +12,11 @@ type MenuItemProps = {
|
|
|
11
12
|
baseUrl: string;
|
|
12
13
|
item: MenuItemDto;
|
|
13
14
|
level?: number;
|
|
14
|
-
isActive(id: Identity): boolean;
|
|
15
15
|
onSetFavoriteSuccess?(id: Identity, checked: boolean): void;
|
|
16
16
|
children?: ReactNode;
|
|
17
|
+
node?: NodeModel<MenuItemDto>;
|
|
18
|
+
params?: RenderParams;
|
|
19
|
+
nodes?: NodeModel<MenuItemDto>[];
|
|
17
20
|
} & OwnMenuItemProps;
|
|
18
21
|
export default function MenuItem({ ...props }: MenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
19
22
|
export type FavoriteIconProps = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),T=require("react"),m=require("../index.esm2017-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),T=require("react"),m=require("../index.esm2017-78c58f43.cjs"),X=require("moment"),$=require("@mui/material");require("axios");require("@r2wc/react-to-web-component");const gn=require("react-router-dom");require("react-query");require("react-dom");function bo(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const W=bo(T),vo=e=>{var n,o;const{tabs:t}=e,r=s=>{e.setCurrentTab(s.target.id)};return console.log("🚀 ~ brandColors:",e.currentTab),c.jsxs(c.Fragment,{children:[c.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 A, Fragment as de, jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import * as W from "react";
|
|
3
3
|
import pe, { useState as H, useContext as Oe, useEffect as q, useRef as ve, useCallback as kt, forwardRef as Vo, createElement as or, PureComponent as Wo } from "react";
|
|
4
|
-
import { c as Le, a as gt, C as Fe, t as ct, p as Uo, L as Ur, u as Yo, b as Ko, S as Go, d as qo, e as Zo, Q as Bn, f as Et, g as Ir, h as Xo, s as Ct, _ as V, P as N, i as we, j as Jo, o as Qo, k as $e, l as ei, m as ti, n as Yr, q as At, r as Kr, I as ri, v as ni, w as Gr, D as oi, x as Hn, y as Vn, z as ii, A as ai, B as si } from "../index.esm2017-
|
|
5
|
-
import { H as B1, G as H1, K as V1, E as W1, F as U1, J as Y1 } from "../index.esm2017-
|
|
4
|
+
import { c as Le, a as gt, C as Fe, t as ct, p as Uo, L as Ur, u as Yo, b as Ko, S as Go, d as qo, e as Zo, Q as Bn, f as Et, g as Ir, h as Xo, s as Ct, _ as V, P as N, i as we, j as Jo, o as Qo, k as $e, l as ei, m as ti, n as Yr, q as At, r as Kr, I as ri, v as ni, w as Gr, D as oi, x as Hn, y as Vn, z as ii, A as ai, B as si } from "../index.esm2017-b5881e5e.js";
|
|
5
|
+
import { H as B1, G as H1, K as V1, E as W1, F as U1, J as Y1 } from "../index.esm2017-b5881e5e.js";
|
|
6
6
|
import Q from "moment";
|
|
7
7
|
import { Stack as ie, Dialog as li, DialogTitle as ci, Typography as Ee, DialogContent as ui, DialogActions as di, Button as Lt, Box as fi, ClickAwayListener as hi, TextField as Wn, IconButton as mi, CircularProgress as pi, Fade as gi, Paper as yi, Checkbox as bi } from "@mui/material";
|
|
8
8
|
import "axios";
|