@smart-factor/gem-ui-components 0.0.128 → 0.0.130
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/SignEditor.js +1 -1
- package/dist/components/SessionModal/SessionModal.d.ts +9 -0
- package/dist/components/SessionModal/SessionModal.stories.d.ts +6 -0
- package/dist/components/SessionModal/SessionModal.styled.d.ts +1 -0
- package/dist/components/SessionModal/SessionService.d.ts +32 -0
- package/dist/components/SessionModal/index.d.ts +4 -0
- package/dist/components/SessionModal/useSessionInit.d.ts +14 -0
- package/dist/components/SessionModal/useSessionModalOpen.d.ts +1 -0
- package/dist/hooks/useDidUpdate.d.ts +6 -0
- package/dist/{index-17nbsih3.js → index-CsH3Q6kI.js} +3833 -3679
- package/dist/main.d.ts +1 -0
- package/dist/main.js +17 -14
- package/dist/services/mutations/auth/loginWithPassword.d.ts +6 -0
- package/package.json +1 -1
- package/dist/services/mutations/auth/useLoginWithPassword.d.ts +0 -10
package/dist/main.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export { LoginModal } from './components/LoginModal/LoginModal';
|
|
|
17
17
|
export { MuiLikeWrapper } from './components/MuiLikeWrapper';
|
|
18
18
|
export { PaginatedPopover } from './components/PaginatedPopover/PaginatedPopover';
|
|
19
19
|
export { ResizableWrapper } from './components/ResizableWrapper/ResizableWrapper';
|
|
20
|
+
export { SessionModal, SessionService, useSessionInit, } from './components/SessionModal';
|
|
20
21
|
export type { SidebarProps } from './components/Sidebar';
|
|
21
22
|
export { Sidebar } from './components/Sidebar';
|
|
22
23
|
export { SimpleAutocomplete } from './components/SimpleAutocomplete';
|
package/dist/main.js
CHANGED
|
@@ -3,18 +3,18 @@ var to = (e, t, n) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var rt = (e, t, n) => to(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import { jsx as d, jsxs as I, Fragment as Ke } from "react/jsx-runtime";
|
|
5
5
|
import { P as l, R as ro, U as no, V as oo, W as so, y as ao, X as io, q as se, T as $e, Y as co, Z as lo, $ as uo, c as wt, g as Mt, e as Te, A as De, k as Ie, s as ae, l as je, o as le, t as fo, a0 as tn, D as po, F as Q, N as Le, a1 as ho, a2 as mo, a3 as Zt, a4 as Xt, J as Ee, a5 as yr, a6 as go, L as bo, w as Se, K as Ge, H as rn, i as Ot, I as de, a7 as yo, S as Qt, a8 as Je, _ as vo } from "./Stack-Bsa5WF4E.js";
|
|
6
|
-
import { l as So, r as To, L as Co, m as xo, n as nt, S as wo, o as Mo, p as Oo, q as Po, t as Eo, v as Dt, w as Ao, x as $o, B as Ue, j as Do, d as vr, y as Lo, C as nn, E as He, H as Ze, J as Ce, M as on, N as Io, O as oe, P as xe, R as jo, V as ue, W as er, X as yt, Y as sn, Z as Ne, _ as vt, $ as No, a0 as tr, a1 as an, a2 as _o, a3 as ko, a4 as D, a5 as Pe, z as cn, b as zo, e as Ro, G as Bo, a6 as Yo, K as Fo, a7 as Uo, a8 as ie, a9 as ln, aa as rr, i as dn, ab as _e, ac as Vo, ad as Go, ae as Ho, af as Wo, F as qo, ag as Pt, ah as Ko, ai as Jo, aj as Zo, ak as un, al as Xo, am as fn, an as pn, ao as Qo, ap as es, aq as ts, ar as hn, as as rs, at as ns, au as os, av as ss, aw as as, ax as is, ay as cs, az as ls, aA as ds, aB as us, h as fs, aC as ps, aD as mn, aE as gn, aF as bn, aG as ot, aH as hs, aI as ms, aJ as gs } from "./index-
|
|
7
|
-
import {
|
|
6
|
+
import { l as So, r as To, L as Co, m as xo, n as nt, S as wo, o as Mo, p as Oo, q as Po, t as Eo, v as Dt, w as Ao, x as $o, B as Ue, j as Do, d as vr, y as Lo, C as nn, E as He, H as Ze, J as Ce, M as on, N as Io, O as oe, P as xe, R as jo, V as ue, W as er, X as yt, Y as sn, Z as Ne, _ as vt, $ as No, a0 as tr, a1 as an, a2 as _o, a3 as ko, a4 as D, a5 as Pe, z as cn, b as zo, e as Ro, G as Bo, a6 as Yo, K as Fo, a7 as Uo, a8 as ie, a9 as ln, aa as rr, i as dn, ab as _e, ac as Vo, ad as Go, ae as Ho, af as Wo, F as qo, ag as Pt, ah as Ko, ai as Jo, aj as Zo, ak as un, al as Xo, am as fn, an as pn, ao as Qo, ap as es, aq as ts, ar as hn, as as rs, at as ns, au as os, av as ss, aw as as, ax as is, ay as cs, az as ls, aA as ds, aB as us, h as fs, aC as ps, aD as mn, aE as gn, aF as bn, aG as ot, aH as hs, aI as ms, aJ as gs } from "./index-CsH3Q6kI.js";
|
|
7
|
+
import { aU as ip, A as cp, D as lp, aV as dp, g as up, aW as fp, aK as pp, I as hp, aL as mp, aM as gp, aN as bp, aO as yp, aP as vp, aQ as Sp, aS as Tp, T as Cp, U as xp, aX as wp, aZ as Mp, aT as Op, aY as Pp, aR as Ep } from "./index-CsH3Q6kI.js";
|
|
8
8
|
import * as E from "react";
|
|
9
9
|
import { useState as F, useCallback as fe, useEffect as ee, useLayoutEffect as We, useMemo as re } from "react";
|
|
10
10
|
import { e as yn, P as vn, i as bs } from "./Drawer-DbJg-t8M.js";
|
|
11
|
-
import { D as
|
|
11
|
+
import { D as $p, L as Dp } from "./Drawer-DbJg-t8M.js";
|
|
12
12
|
import ys, { createPortal as vs } from "react-dom";
|
|
13
13
|
import { useSearchParams as nr, Link as Ss } from "react-router-dom";
|
|
14
14
|
import { GridLogicOperator as Ts, getGridBooleanOperators as Cs, getGridNumericOperators as xs, getGridStringOperators as ws, GridToolbarContainer as Ms, GridToolbarColumnsButton as Os, GridToolbarFilterButton as Ps, GridToolbarDensitySelector as Es, DataGridPro as Sn, useGridApiRef as As } from "@mui/x-data-grid-pro";
|
|
15
15
|
export * from "@mui/x-data-grid-pro";
|
|
16
16
|
import { C as $s } from "./Tree-BScJ4KG_.js";
|
|
17
|
-
import { T as
|
|
17
|
+
import { T as jp } from "./Tree-BScJ4KG_.js";
|
|
18
18
|
import { u as Ds, C as Ls, w as Is } from "./warning-BcYeNKLQ.js";
|
|
19
19
|
const or = /* @__PURE__ */ E.createContext(null);
|
|
20
20
|
process.env.NODE_ENV !== "production" && (or.displayName = "ThemeContext");
|
|
@@ -5233,7 +5233,7 @@ export {
|
|
|
5233
5233
|
kf as DatePicker,
|
|
5234
5234
|
zf as DateTimePicker,
|
|
5235
5235
|
lp as Dialog,
|
|
5236
|
-
|
|
5236
|
+
$p as Drawer,
|
|
5237
5237
|
dp as Dropzone,
|
|
5238
5238
|
up as DropzoneField,
|
|
5239
5239
|
fp as ElementsPicker,
|
|
@@ -5247,7 +5247,7 @@ export {
|
|
|
5247
5247
|
Ff as Grid,
|
|
5248
5248
|
Uf as GridInitialState,
|
|
5249
5249
|
hp as Input,
|
|
5250
|
-
|
|
5250
|
+
Dp as LoadingBackdrop,
|
|
5251
5251
|
mp as Login,
|
|
5252
5252
|
gp as LoginModal,
|
|
5253
5253
|
Vf as MuiLikeWrapper,
|
|
@@ -5258,7 +5258,9 @@ export {
|
|
|
5258
5258
|
yp as ResizableWrapper,
|
|
5259
5259
|
Cu as SearchInput,
|
|
5260
5260
|
Bf as Select,
|
|
5261
|
-
vp as
|
|
5261
|
+
vp as SessionModal,
|
|
5262
|
+
Sp as SessionService,
|
|
5263
|
+
Tp as Sidebar,
|
|
5262
5264
|
Gf as SimpleAutocomplete,
|
|
5263
5265
|
Hf as SimpleInput,
|
|
5264
5266
|
Wf as SimpleSelect,
|
|
@@ -5268,14 +5270,14 @@ export {
|
|
|
5268
5270
|
Zn as TableCustomToolbar,
|
|
5269
5271
|
Qf as TableRecord,
|
|
5270
5272
|
ep as TableWithPagination,
|
|
5271
|
-
|
|
5273
|
+
Cp as TabsPanel,
|
|
5272
5274
|
yf as ThemeProvider,
|
|
5273
5275
|
Yf as TimePicker,
|
|
5274
|
-
|
|
5276
|
+
jp as Tree,
|
|
5275
5277
|
Ee as Typography,
|
|
5276
|
-
|
|
5278
|
+
xp as UPLOADED_FILE_MAX_SIZE,
|
|
5277
5279
|
$a as downloadFileFromUrl,
|
|
5278
|
-
|
|
5280
|
+
wp as errorToast,
|
|
5279
5281
|
$f as exportDataGridToExcel,
|
|
5280
5282
|
Ud as formatDate,
|
|
5281
5283
|
Gn as formatDateTime,
|
|
@@ -5283,7 +5285,7 @@ export {
|
|
|
5283
5285
|
wf as getBooleanColumn,
|
|
5284
5286
|
Mf as getDateColumn,
|
|
5285
5287
|
Of as getDateTimeColumn,
|
|
5286
|
-
|
|
5288
|
+
Mp as getErrorMessage,
|
|
5287
5289
|
Aa as getFileExtension,
|
|
5288
5290
|
Pf as getNumericColumn,
|
|
5289
5291
|
Ef as getStaticColumn,
|
|
@@ -5295,13 +5297,14 @@ export {
|
|
|
5295
5297
|
Df as sortColumns,
|
|
5296
5298
|
ae as styled,
|
|
5297
5299
|
rp as successToast,
|
|
5298
|
-
|
|
5300
|
+
Op as theme,
|
|
5299
5301
|
Cf as useContextMenu,
|
|
5300
5302
|
xf as useDataGridInitialState,
|
|
5301
5303
|
Ya as useDataGridState,
|
|
5302
|
-
|
|
5304
|
+
Pp as useGetFileUrl,
|
|
5303
5305
|
Ld as useMemoByValue,
|
|
5304
5306
|
Id as useScrollPosition,
|
|
5307
|
+
Ep as useSessionInit,
|
|
5305
5308
|
If as useTableQuery,
|
|
5306
5309
|
Ot as useTheme,
|
|
5307
5310
|
Lf as zodTransforms
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { LoginWithPasswordParams } from '../../generated/api';
|
|
2
|
-
import { MutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
3
|
-
type Variables = LoginWithPasswordParams;
|
|
4
|
-
type LoginResult = {
|
|
5
|
-
login: string;
|
|
6
|
-
token: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const loginWithPassword: (params: Variables) => Promise<LoginResult>;
|
|
9
|
-
declare const useLoginWithPassword: (mutationOptions?: MutationOptions<LoginResult, Error, Variables, MutationOptions>) => UseMutationResult<LoginResult, Error, Variables, MutationOptions>;
|
|
10
|
-
export default useLoginWithPassword;
|