@smart-factor/gem-ui-components 0.0.149 → 0.0.151
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/{Drawer-DbJg-t8M.js → Drawer-hW8oGQEc.js} +14 -14
- package/dist/SignEditor.js +9 -5
- package/dist/{Stack-Bsa5WF4E.js → Stack-BKtw4ken.js} +26 -24
- package/dist/{Tree-BScJ4KG_.js → Tree-D9ZVXqFc.js} +2 -2
- package/dist/components/ContextualSearchClient/ClientContextualSearch.d.ts +2 -0
- package/dist/components/ContextualSearchClient/ClientContextualSearch.stories.d.ts +7 -0
- package/dist/components/ContextualSearchClient/ContextualSearchClient.d.ts +13 -0
- package/dist/components/ContextualSearchClient/DrawerClient.d.ts +9 -0
- package/dist/components/ContextualSearchClient/index.d.ts +5 -0
- package/dist/components/ContextualSearchClient/types.d.ts +2 -0
- package/dist/components/ContextualSearchInspector/InspectorContextualSearch.d.ts +14 -0
- package/dist/components/ContextualSearchInspector/InspectorContextualSearch.stories.d.ts +6 -0
- package/dist/components/ContextualSearchInspector/index.d.ts +1 -0
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/FormComponents/RadioChips/RadioChips.styles.d.ts +1 -1
- package/dist/components/SessionModal/SessionService.d.ts +2 -0
- package/dist/components/Tree/index.js +1 -1
- package/dist/{index-BUxi-hQu.js → index-BASTfYDt.js} +59509 -57070
- package/dist/licenses.txt +553 -553
- package/dist/main.d.ts +2 -0
- package/dist/main.js +3013 -2186
- package/dist/services/auth/useTokenExpiredWhenOffline.d.ts +1 -0
- package/dist/services/generated/api.d.ts +8800 -4194
- package/dist/services/mutations/clients/useCreateClient.d.ts +7 -0
- package/dist/services/mutations/clients/useUpdateClient.d.ts +7 -0
- package/dist/services/queries/address/useGetCities.d.ts +4 -0
- package/dist/services/queries/address/useGetFullAddress.d.ts +4 -0
- package/dist/services/queries/address/useGetStreetNumbers.d.ts +4 -0
- package/dist/services/queries/address/useGetStreets.d.ts +4 -0
- package/dist/services/queries/clients/useClientsContextualSearch.d.ts +11 -0
- package/dist/services/queries/clients/useGetClientById.d.ts +5 -0
- package/dist/services/queries/clients/useGetClientsContextual.d.ts +9 -0
- package/dist/services/queries/inspectors/useGetInspectorsContextual.d.ts +4 -0
- package/dist/services/queries/inspectors/useInspectorsContextualSearch.d.ts +12 -0
- package/dist/services/queries/useContextual.d.ts +9 -0
- package/dist/services/queryKeys.d.ts +1 -0
- package/dist/{warning-BcYeNKLQ.js → warning-VtsM1Gb2.js} +1 -1
- package/package.json +2 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as R, jsxs as se } from "react/jsx-runtime";
|
|
2
2
|
import * as d from "react";
|
|
3
|
-
import { t as ie, P as e, v as W, g as ae, c as ce, e as le, i as de, s as K, w as xe, k as _, x as Pe, l as ue, o as pe, u as J, y as Re, h as De, n as ne, z as Ie, A as U, B as we, C as Ge, D as Je, E as Qe, F as X, G as Ze,
|
|
3
|
+
import { t as ie, P as e, v as W, g as ae, c as ce, e as le, i as de, s as K, w as xe, k as _, x as Pe, l as ue, o as pe, u as J, y as Re, h as De, n as ne, z as Ie, A as U, B as we, C as Ge, D as Je, E as Qe, F as X, G as Ze, H as et, I as tt, S as ye, q as nt, J as ot, K as rt } from "./Stack-BKtw4ken.js";
|
|
4
4
|
import * as st from "react-dom";
|
|
5
5
|
function it(t) {
|
|
6
6
|
const {
|
|
@@ -1968,9 +1968,7 @@ process.env.NODE_ENV !== "production" && (_e.propTypes = {
|
|
|
1968
1968
|
*/
|
|
1969
1969
|
variant: e.oneOf(["permanent", "persistent", "temporary"])
|
|
1970
1970
|
});
|
|
1971
|
-
const _t =
|
|
1972
|
-
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
1973
|
-
}), "Close"), Wt = ({
|
|
1971
|
+
const _t = ({
|
|
1974
1972
|
size: t = 36,
|
|
1975
1973
|
...n
|
|
1976
1974
|
}) => /* @__PURE__ */ R(
|
|
@@ -1979,9 +1977,11 @@ const _t = et(/* @__PURE__ */ R("path", {
|
|
|
1979
1977
|
...n,
|
|
1980
1978
|
sx: { position: "absolute", backgroundColor: "rgba(0, 0, 0, 0.3)" },
|
|
1981
1979
|
"data-testid": "loading-backdrop",
|
|
1982
|
-
children: /* @__PURE__ */ R(
|
|
1980
|
+
children: /* @__PURE__ */ R(et, { color: "secondary", size: t })
|
|
1983
1981
|
}
|
|
1984
|
-
),
|
|
1982
|
+
), Wt = ({ children: t }) => /* @__PURE__ */ R(tt, { flex: 1, children: t }), Kt = ({ children: t }) => /* @__PURE__ */ R(ye, { direction: "row", justifyContent: "end", columnGap: 1, pb: 2, children: t }), Yt = nt(/* @__PURE__ */ R("path", {
|
|
1983
|
+
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
1984
|
+
}), "Close"), Xt = ({ children: t, onClose: n }) => /* @__PURE__ */ se(
|
|
1985
1985
|
ye,
|
|
1986
1986
|
{
|
|
1987
1987
|
direction: "row",
|
|
@@ -1990,7 +1990,7 @@ const _t = et(/* @__PURE__ */ R("path", {
|
|
|
1990
1990
|
pb: 2,
|
|
1991
1991
|
children: [
|
|
1992
1992
|
/* @__PURE__ */ R(ot, { fontSize: 16, fontWeight: "bold", children: t }),
|
|
1993
|
-
/* @__PURE__ */ R(rt, { size: "small", onClick: n, "data-testid": "drawer-close", children: /* @__PURE__ */ R(
|
|
1993
|
+
/* @__PURE__ */ R(rt, { size: "small", onClick: n, "data-testid": "drawer-close", children: /* @__PURE__ */ R(Yt, { fontSize: "inherit" }) })
|
|
1994
1994
|
]
|
|
1995
1995
|
}
|
|
1996
1996
|
), Ee = ({
|
|
@@ -2001,22 +2001,22 @@ const _t = et(/* @__PURE__ */ R("path", {
|
|
|
2001
2001
|
...s
|
|
2002
2002
|
}) => /* @__PURE__ */ R(_e, { anchor: t, "data-testid": "drawer", ...s, children: /* @__PURE__ */ se(ye, { height: "100%", p: 2, width: r, position: "relative", children: [
|
|
2003
2003
|
n,
|
|
2004
|
-
/* @__PURE__ */ R(
|
|
2004
|
+
/* @__PURE__ */ R(_t, { open: o })
|
|
2005
2005
|
] }) });
|
|
2006
2006
|
Ee.Header = Xt;
|
|
2007
|
-
Ee.Content =
|
|
2008
|
-
Ee.Footer =
|
|
2007
|
+
Ee.Content = Wt;
|
|
2008
|
+
Ee.Footer = Kt;
|
|
2009
2009
|
export {
|
|
2010
2010
|
ve as B,
|
|
2011
|
-
|
|
2011
|
+
Yt as C,
|
|
2012
2012
|
Ee as D,
|
|
2013
2013
|
Le as F,
|
|
2014
2014
|
ge as H,
|
|
2015
|
-
|
|
2015
|
+
_t as L,
|
|
2016
2016
|
Ve as M,
|
|
2017
2017
|
Be as P,
|
|
2018
|
-
|
|
2019
|
-
|
|
2018
|
+
Q as a,
|
|
2019
|
+
oe as b,
|
|
2020
2020
|
lt as c,
|
|
2021
2021
|
ct as d,
|
|
2022
2022
|
Fe as e,
|
package/dist/SignEditor.js
CHANGED
|
@@ -2,12 +2,12 @@ import './assets/SignEditor.css';var N4 = Object.defineProperty;
|
|
|
2
2
|
var I4 = (o, e, t) => e in o ? N4(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
|
|
3
3
|
var Eu = (o, e, t) => I4(o, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import { jsx as Vt, jsxs as ia, Fragment as o_ } from "react/jsx-runtime";
|
|
5
|
-
import { G as Ib, u as i_, a as rA, Q as uc, b as hs, c as Lp, D as KE, B as sp, d as ow, e as M4, z as Dc, f as a_, s as $E, I as Of, A as WE, F as O4, U as Ax, g as q4, h as R4, i as Q4, j as G4, T as V4, K as D4, k as H4 } from "./index-
|
|
6
|
-
import { q as XE, s as Di, I as tu, J as r_, H as YE, S as lp } from "./Stack-
|
|
5
|
+
import { G as Ib, u as i_, a as rA, Q as uc, b as hs, c as Lp, D as KE, B as sp, d as ow, e as M4, z as Dc, f as a_, s as $E, I as Of, A as WE, F as O4, U as Ax, g as q4, h as R4, i as Q4, j as G4, T as V4, K as D4, k as H4 } from "./index-BASTfYDt.js";
|
|
6
|
+
import { q as XE, s as Di, I as tu, J as r_, H as YE, S as lp } from "./Stack-BKtw4ken.js";
|
|
7
7
|
import { createContext as U4, useContext as z4, useState as vl, useCallback as zu, useEffect as oc, useMemo as cp, useRef as K4 } from "react";
|
|
8
8
|
import "react-dom";
|
|
9
9
|
import "react-router-dom";
|
|
10
|
-
import "./Drawer-
|
|
10
|
+
import "./Drawer-hW8oGQEc.js";
|
|
11
11
|
import "@mui/x-data-grid-pro";
|
|
12
12
|
const $4 = XE(/* @__PURE__ */ Vt("path", {
|
|
13
13
|
d: "m14.06 9.02.92.92L5.92 19H5v-.92zM17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29m-3.6 3.19L3 17.25V21h3.75L17.81 9.94z"
|
|
@@ -109,7 +109,10 @@ const sI = Di("button")`
|
|
|
109
109
|
"useSignEditor must be used within SignEditorContext.Provider"
|
|
110
110
|
);
|
|
111
111
|
return o;
|
|
112
|
-
}, lI = async (o, e) => (await hs.roadSigns.saveFile1(
|
|
112
|
+
}, lI = async (o, e) => (await hs.roadSigns.saveFile1(
|
|
113
|
+
o,
|
|
114
|
+
e
|
|
115
|
+
)).data.response, cI = (o) => {
|
|
113
116
|
const e = i_();
|
|
114
117
|
return rA({
|
|
115
118
|
mutationFn: ({ templateId: t, payload: n }) => lI(t, n),
|
|
@@ -4292,6 +4295,7 @@ const R3 = Di("img")`
|
|
|
4292
4295
|
payload: {
|
|
4293
4296
|
name: f.name,
|
|
4294
4297
|
symbol: f.symbol,
|
|
4298
|
+
basic: !1,
|
|
4295
4299
|
road_sign_group: A.find(
|
|
4296
4300
|
(E) => E.uuid === f.roadSignGroupId
|
|
4297
4301
|
)
|
|
@@ -42444,7 +42448,7 @@ const a8 = ({
|
|
|
42444
42448
|
getOptionLabel: (h) => typeof h == "string" ? h : `${h.name} - ${h.description}`
|
|
42445
42449
|
}
|
|
42446
42450
|
) }) });
|
|
42447
|
-
}, E8 = async (o = { size: 2e3 }) => (await hs.stencils.findAll(o)).data.response, j8 = (o, e) => Lp({
|
|
42451
|
+
}, E8 = async (o = { pageRequest: { page: 0, size: 2e3 } }) => (await hs.stencils.findAll(o)).data.response, j8 = (o, e) => Lp({
|
|
42448
42452
|
...o,
|
|
42449
42453
|
queryKey: [uc.stencils],
|
|
42450
42454
|
queryFn: () => E8(e)
|
|
@@ -7452,30 +7452,32 @@ export {
|
|
|
7452
7452
|
Zr as a3,
|
|
7453
7453
|
xt as a4,
|
|
7454
7454
|
tl as a5,
|
|
7455
|
-
|
|
7456
|
-
|
|
7457
|
-
|
|
7458
|
-
|
|
7459
|
-
|
|
7460
|
-
|
|
7461
|
-
|
|
7462
|
-
|
|
7463
|
-
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
7468
|
-
|
|
7469
|
-
|
|
7470
|
-
|
|
7471
|
-
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
-
|
|
7478
|
-
|
|
7455
|
+
Ci as a6,
|
|
7456
|
+
Ur as a7,
|
|
7457
|
+
On as a8,
|
|
7458
|
+
lc as a9,
|
|
7459
|
+
ni as aa,
|
|
7460
|
+
za as ab,
|
|
7461
|
+
Va as ac,
|
|
7462
|
+
fr as ad,
|
|
7463
|
+
Yr as ae,
|
|
7464
|
+
lr as af,
|
|
7465
|
+
uc as ag,
|
|
7466
|
+
Wo as ah,
|
|
7467
|
+
Xc as ai,
|
|
7468
|
+
Ju as aj,
|
|
7469
|
+
Be as ak,
|
|
7470
|
+
zt as al,
|
|
7471
|
+
ge as am,
|
|
7472
|
+
zc as an,
|
|
7473
|
+
qt as ao,
|
|
7474
|
+
Wu as ap,
|
|
7475
|
+
Uu as aq,
|
|
7476
|
+
an as ar,
|
|
7477
|
+
kr as as,
|
|
7478
|
+
Xe as at,
|
|
7479
|
+
Je as au,
|
|
7480
|
+
Ze as av,
|
|
7479
7481
|
Ua as b,
|
|
7480
7482
|
Ge as c,
|
|
7481
7483
|
on as d,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as Ce, jsx as E } from "react/jsx-runtime";
|
|
2
2
|
import * as x from "react";
|
|
3
3
|
import { createElement as qt } from "react";
|
|
4
|
-
import { g as Te, c as we, A as Ae, s as _, F as le, l as Ee, L as Xt, G as rt, P as o, M as Jt, q as ce, e as Wt, E as Gt, k as $e, o as Yt, w as W, N as et, _ as C, O as G, u as ye, B as U, v as Qt, D as Zt, y as Ht, Q as Ne, r as te, C as tt, p as en, I as tn, S as nn, J as on, K as rn } from "./Stack-
|
|
5
|
-
import { u as sn, a as ln, b as an, w as xe, c as se, C as cn, d as dn, V as un, e as pn } from "./warning-
|
|
4
|
+
import { g as Te, c as we, A as Ae, s as _, F as le, l as Ee, L as Xt, G as rt, P as o, M as Jt, q as ce, e as Wt, E as Gt, k as $e, o as Yt, w as W, N as et, _ as C, O as G, u as ye, B as U, v as Qt, D as Zt, y as Ht, Q as Ne, r as te, C as tt, p as en, I as tn, S as nn, J as on, K as rn } from "./Stack-BKtw4ken.js";
|
|
5
|
+
import { u as sn, a as ln, b as an, w as xe, c as se, C as cn, d as dn, V as un, e as pn } from "./warning-VtsM1Gb2.js";
|
|
6
6
|
function fn(e) {
|
|
7
7
|
return Te("PrivateSwitchBase", e);
|
|
8
8
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ContextualSearchClientProps } from './ContextualSearchClient';
|
|
3
|
+
type StoryProps = ContextualSearchClientProps;
|
|
4
|
+
declare const meta: Meta<StoryProps>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof meta>;
|
|
7
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ContextualSearchProps } from '../FormComponents/ContextualSearch/ContextualSearch';
|
|
2
|
+
import { ContextualSearchClientOption } from './types';
|
|
3
|
+
type SingleContextualSearchClientProps = Extract<ContextualSearchProps<ContextualSearchClientOption>, {
|
|
4
|
+
multiple: false;
|
|
5
|
+
listboxType: 'default';
|
|
6
|
+
}>;
|
|
7
|
+
export type ContextualSearchClientProps = Omit<SingleContextualSearchClientProps, 'options' | 'loading' | 'onInputChange' | 'onLastOptionInView' | 'renderOption' | 'getOptionKey' | 'getOptionLabel' | 'isOptionEqualToValue' | 'onAddNewEntry'> & {
|
|
8
|
+
disabledFetch?: boolean;
|
|
9
|
+
disabledAddNewEntry?: boolean;
|
|
10
|
+
editClientId?: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const ContextualSearchClient: React.FC<ContextualSearchClientProps>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ContextualSearchClientOption } from './types';
|
|
2
|
+
interface DrawerClientProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
editClientId?: number;
|
|
6
|
+
onClientSaved: (client: ContextualSearchClientOption) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const DrawerClient: React.FC<DrawerClientProps>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { ContextualSearchClientProps } from './ContextualSearchClient';
|
|
2
|
+
export { ContextualSearchClient } from './ContextualSearchClient';
|
|
3
|
+
export type { ContextualSearchClientOption } from './types';
|
|
4
|
+
export type { ClientContextualSearchProps, ClientOption, } from './ClientContextualSearch';
|
|
5
|
+
export { ClientContextualSearch } from './ClientContextualSearch';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Control, FieldValues, Path } from 'react-hook-form';
|
|
2
|
+
interface ContextualSearchInspectorProps<T extends FieldValues> {
|
|
3
|
+
control: Control<T>;
|
|
4
|
+
name: Path<T>;
|
|
5
|
+
controllingInspector: boolean;
|
|
6
|
+
label: string;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
fullWidth?: boolean;
|
|
9
|
+
disabledFetch?: boolean;
|
|
10
|
+
errorMessage?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function ContextualSearchInspector<T extends FieldValues>(props: ContextualSearchInspectorProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const InspectorContextualSearch: typeof ContextualSearchInspector;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ContextualSearchInspector } from './InspectorContextualSearch';
|
|
3
|
+
declare const meta: Meta<typeof ContextualSearchInspector>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ContextualSearchInspector, InspectorContextualSearch, } from './InspectorContextualSearch';
|
|
@@ -3,7 +3,7 @@ export declare const StyledFormLabel: import('@emotion/styled').StyledComponent<
|
|
|
3
3
|
}, "form" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | keyof import('@mui/material/OverridableComponent').CommonProps | "disabled" | "required" | "htmlFor" | "error" | "filled" | "focused"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
4
4
|
export declare const StyledChip: import('@emotion/styled').StyledComponent<import('@mui/material').ChipOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
5
|
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
6
|
-
}, "label" | "style" | "className" | "tabIndex" | "color" | "children" | "sx" | "classes" | "disabled" | "size" | "variant" | "icon" | "
|
|
6
|
+
}, "label" | "style" | "className" | "tabIndex" | "color" | "children" | "sx" | "classes" | "disabled" | "size" | "variant" | "icon" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
7
7
|
isFirst: boolean;
|
|
8
8
|
isActive: boolean;
|
|
9
9
|
}, {}, {}>;
|
|
@@ -4,6 +4,8 @@ export declare class SessionService {
|
|
|
4
4
|
static readonly SESSION_TERMINATED_REASON = "session-terminated";
|
|
5
5
|
static normalizeSession(session: SessionStorageObject): NormalizedSession;
|
|
6
6
|
static getSession(): NormalizedSession;
|
|
7
|
+
static hasLicense(license: string | string[]): boolean;
|
|
8
|
+
static hasRole(role: string | string[]): boolean;
|
|
7
9
|
static buildLoginUrl(loginUrl: string): string;
|
|
8
10
|
static getLoginPathname(loginUrl: string): string;
|
|
9
11
|
static wasOpenedDueToSessionTermination(): boolean;
|