izen-react-starter 2.2.0 → 2.2.2
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/README.md +2 -1
- package/dist/{MIMHJGAX-D6lE7oii.js → MIMHJGAX-VtITUURj.js} +1 -1
- package/dist/{Q7LWSL4U-v0l_umPn.js → Q7LWSL4U-AOif19BX.js} +2 -2
- package/dist/{VLTTJS3N-BqFxuU2V.js → VLTTJS3N-DJEnO5wx.js} +2 -2
- package/dist/components/ui/input-otp.d.ts +2 -2
- package/dist/{index-BVgl5TkI.js → index-5a4S-xuA.js} +14594 -14573
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/utils.d.ts +32 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/react-starter.js +98 -96
- package/dist/react-starter.umd.cjs +121 -121
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export type { FileUploadButtonProps, DatePickerProps, TimeInputProps, TextInputP
|
|
|
17
17
|
export { LayoutProvider, useLayout } from './contexts/LayoutContext';
|
|
18
18
|
export type { LayoutContextType } from './contexts/LayoutContext';
|
|
19
19
|
export { useIsMobile } from './hooks';
|
|
20
|
-
export { cn, capitalize, convertToHourMinuteString, formatErrorToList, formatDate, appendFormData, debounce, throttle, handleEditCache, handleSingleEditCache, createAxiosInstance, createAuthAxiosInstance, onDelete, useRefreshToken, useAxiosAuth, useAxiosHeadersUrl, useFetchSingleAxios, useGet, useGetSingle, useUploadFile, useSendEmail, } from './lib';
|
|
20
|
+
export { cn, capitalize, convertToHourMinuteString, formatErrorToList, formatDate, dateFromat, createChangeEvent, appendFormData, debounce, throttle, handleEditCache, handleSingleEditCache, createAxiosInstance, createAuthAxiosInstance, onDelete, useRefreshToken, useAxiosAuth, useAxiosHeadersUrl, useFetchSingleAxios, useGet, useGetSingle, useUploadFile, useSendEmail, } from './lib';
|
|
21
21
|
export type { CacheEditOptions, AxiosConfig, DeleteOptions, RefreshTokenResponse, UseRefreshTokenOptions, UseAxiosAuthOptions, AxiosHeadersConfig, UseFetchSingleAxiosOptions, UseFetchSingleAxiosReturn, UseGetOptions, FileUploadResponse, FileUploadParams, UseUploadFileOptions, SendEmailResponse, SendEmailParams, UseSendEmailOptions, } from './lib';
|
|
22
22
|
export { CommonActions, userCan, useAccessControl, AccessControlWrapper, withAccessControl, UpdateAccessControlWrapper, RBACProvider, useRBAC } from './rbac';
|
|
23
23
|
export type { Action, Resource, Role, RoleLabel, Rule, RoleRules, Rules, RBACConfig, UseAccessControlReturn, AccessControlWrapperProps, WithAccessControlProps, UpdateAccessControlWrapperProps, RBACProviderProps, RBACContextType } from './rbac';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,CAAC;AAGrB,cAAc,iBAAiB,CAAC;AAGhC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAGzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AAGpC,OAAO,EACL,OAAO,EACP,YAAY,EACZ,OAAO,IAAI,UAAU,EACrB,aAAa,EACd,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,YAAY,EACZ,iBAAiB,EACjB,YAAY,IAAI,eAAe,EAC/B,mBAAmB,IAAI,kBAAkB,EAC1C,MAAM,yBAAyB,CAAC;AAGjC,OAA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,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { cn, capitalize, convertToHourMinuteString, formatErrorToList, formatDate, appendFormData, debounce, throttle } from './utils';
|
|
1
|
+
export { cn, capitalize, convertToHourMinuteString, formatErrorToList, formatDate, dateFromat, createChangeEvent, appendFormData, debounce, throttle } from './utils';
|
|
2
2
|
export { handleEditCache, handleSingleEditCache } from './cache-util';
|
|
3
3
|
export type { CacheEditOptions } from './cache-util';
|
|
4
4
|
export * from './api';
|
package/dist/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,UAAU,EAAE,UAAU,EAAE,iBAAiB,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACtK,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACtE,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGrD,cAAc,OAAO,CAAC"}
|
package/dist/lib/utils.d.ts
CHANGED
|
@@ -1,9 +1,41 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
|
+
import { ChangeEvent } from 'react';
|
|
2
3
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
3
4
|
export declare function capitalize(str: string): string;
|
|
4
5
|
export declare function convertToHourMinuteString(hours: number): string;
|
|
5
6
|
export declare function formatErrorToList(str: string[] | string): string;
|
|
6
7
|
export declare function formatDate(date: Date | string, formatStr?: string): string;
|
|
8
|
+
/**
|
|
9
|
+
* Format date using date-fns format
|
|
10
|
+
* Note: This is named 'dateFromat' to match the original typo in the codebase
|
|
11
|
+
*
|
|
12
|
+
* @param date - Date string or Date object
|
|
13
|
+
* @returns Formatted date string or empty string if date is null/empty
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* dateFromat(new Date()) // "Jan 01, 2026 12:30"
|
|
18
|
+
* dateFromat("2026-01-01") // "Jan 01, 2026 00:00"
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare const dateFromat: (date: string | Date) => string;
|
|
22
|
+
/**
|
|
23
|
+
* Create a synthetic change event for form inputs
|
|
24
|
+
* Useful for programmatic form updates when working with custom components
|
|
25
|
+
*
|
|
26
|
+
* @param name - Input name attribute
|
|
27
|
+
* @param value - Input value
|
|
28
|
+
* @returns Synthetic React ChangeEvent
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```tsx
|
|
32
|
+
* const handleSelect = (selectedValue: string) => {
|
|
33
|
+
* const syntheticEvent = createChangeEvent<HTMLSelectElement>('category', selectedValue);
|
|
34
|
+
* onChange(syntheticEvent);
|
|
35
|
+
* };
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare const createChangeEvent: <T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>(name: string, value: string) => ChangeEvent<T>;
|
|
7
39
|
export declare function appendFormData(data: Record<string, any>): FormData;
|
|
8
40
|
export declare function debounce<T extends (...args: any[]) => any>(func: T, wait: number): (...args: Parameters<T>) => void;
|
|
9
41
|
export declare function throttle<T extends (...args: any[]) => any>(func: T, limit: number): (...args: Parameters<T>) => void;
|
package/dist/lib/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC;AAED,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,UAErC;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,UAMtD;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,UAcvD;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,EAAE,SAAS,GAAE,MAAqB,GAAG,MAAM,CAYxF;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,QAAQ,CAclE;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EACxD,IAAI,EAAE,CAAC,EACP,IAAI,EAAE,MAAM,GACX,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,IAAI,CAclC;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EACxD,IAAI,EAAE,CAAC,EACP,KAAK,EAAE,MAAM,GACZ,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,IAAI,CAUlC"}
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM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
1
|
-
import {
|
|
1
|
+
import { aG as r, a$ as o, b2 as t, b0 as n, b1 as i, eS as d, b3 as l, b5 as u, b6 as b, bf as c, bg as g, ba as p, be as C, bc as S, bb as m, b8 as M, b7 as T, bd as D, b9 as h, f6 as A, b4 as v, aT as I, a0 as P, bh as w, aL as x, bi as F, bk as G, bj as f, bl as B, bn as L, bt as R, bp as y, bq as H, bo as k, br as N, bs as O, X as E, bv as U, Y as V, bA as z, bz as W, bx as q, bw as X, by as Y, bB as Z, bC as _, bD as j, bF as J, bE as K, eP as Q, bG as $, bJ as aa, bK as ea, bL as sa, bH as ra, bI as oa, bM as ta, a6 as na, bN as ia, bP as da, bO as la, aa as ua, bQ as ba, bR as ca, bU as ga, bV as pa, bS as Ca, bW as Sa, bT as ma, bY as Ma, bX as Ta, aD as Da, bZ as ha, c1 as Aa, b$ as va, c6 as Ia, c0 as Pa, c3 as wa, c7 as xa, cb as Fa, c2 as Ga, c4 as fa, c5 as Ba, c8 as La, c9 as Ra, ca as ya, b_ as Ha, f5 as ka, _ as Na, eV as Oa, eX as Ea, a3 as Ua, f9 as Va, fa as za, f7 as Wa, cc as qa, cg as Xa, ch as Ya, cl as Za, cj as _a, ci as ja, ce as Ja, cd as Ka, ck as Qa, cf as $a, cm as ae, cq as ee, cr as se, cv as re, ct as oe, cs as te, co as ne, cn as ie, cu as de, cp as le, cw as ue, cA as be, cy as ce, cF as ge, cz as pe, cC as Ce, cG as Se, cK as me, cB as Me, cD as Te, cE as De, cH as he, cI as Ae, cJ as ve, cx as Ie, a2 as Pe, cM as we, ab as xe, cP as Fe, cQ as Ge, cS as fe, a8 as Be, cN as Le, cO as Re, ac as ye, cR as He, a9 as ke, e_ as Ne, ff as Oe, fc as Ee, cT as Ue, cV as Ve, cU as ze, cW as We, cX as qe, cY as Xe, cZ as Ye, c$ as Ze, c_ as _e, d0 as je, ad as Je, d1 as Ke, d8 as Qe, d4 as $e, de as as, d5 as es, d7 as ss, d2 as rs, db as os, d9 as ts, da as ns, d6 as is, dg as ds, df as ls, dc as us, dd as bs, d3 as cs, a1 as gs, dh as ps, aN as Cs, f4 as Ss, f1 as ms, f2 as Ms, f3 as Ts, dj as Ds, dm as hs, dq as As, dl as vs, dp as Is, dk as Ps, dn as ws, dr as xs, e$ as Fs, aP as Gs, fd as fs, eQ as Bs, eY as Ls, ds as Rs, dv as ys, du as Hs, dt as ks, f8 as Ns, dw as Os, dy as Es, dx as Us, dz as Vs, aJ as zs, a7 as Ws, dA as qs, aV as Xs, dD as Ys, dC as Zs, dB as _s, dE as js, dF as Js, dG as Ks, dK as Qs, dH as $s, dM as ar, dL as er, dP as sr, dO as rr, dN as or, dJ as tr, dI as nr, dQ as ir, eZ as dr, dR as lr, dV as ur, dW as br, d_ as cr, dY as gr, dX as pr, dT as Cr, dS as Sr, dZ as mr, dU as Mr, d$ as Tr, e0 as Dr, e1 as hr, e2 as Ar, e3 as vr, e4 as Ir, e5 as Pr, e6 as wr, e7 as xr, e8 as Fr, e9 as Gr, ea as fr, eb as Br, ec as Lr, ed as Rr, ee as yr, ef as Hr, eg as kr, eh as Nr, ei as Or, ej as Er, ek as Ur, el as Vr, f0 as zr, en as Wr, eo as qr, ep as Xr, er as Yr, eU as Zr, eR as _r, eT as jr, fb as Jr, es as Kr, ev as Qr, et as $r, eu as ao, a5 as eo, ew as so, aR as ro, fe as oo, a4 as to, ez as no, eD as io, eC as lo, eB as uo, ex as bo, eA as co, a_ as go, ey as po, eq as Co, eE as So, eG as mo, eH as Mo, eI as To, eK as Do, eL as ho, eJ as Ao, aI as vo, Z as Io, aY as Po, an as wo, bm as xo, bu as Fo, ah as Go, ag as fo, ai as Bo, at as Lo, as as Ro, am as yo, eW as Ho, al as ko, ao as No, ak as Oo, aj as Eo, aq as Uo, ar as Vo, di as zo, au as Wo, aZ as qo, aU as Xo, eM as Yo, ap as Zo, eO as _o, eF as jo, aF as Jo, aM as Ko, aw as Qo, ax as $o, ay as at, cL as et, az as st, aA as rt, af as ot, ae as tt, aO as nt, aQ as it, aW as dt, aK as lt, av as ut, aX as bt, aC as ct, em as gt, aS as pt, eN as Ct, aB as St, aE as mt, aH as Mt } from "./index-5a4S-xuA.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
export {
|
|
4
4
|
r as AccessControlWrapper,
|
|
@@ -13,14 +13,14 @@ export {
|
|
|
13
13
|
c as AlertDialogAction,
|
|
14
14
|
g as AlertDialogCancel,
|
|
15
15
|
p as AlertDialogContent,
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
C as AlertDialogDescription,
|
|
17
|
+
S as AlertDialogFooter,
|
|
18
18
|
m as AlertDialogHeader,
|
|
19
19
|
M as AlertDialogOverlay,
|
|
20
20
|
T as AlertDialogPortal,
|
|
21
21
|
D as AlertDialogTitle,
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
h as AlertDialogTrigger,
|
|
23
|
+
A as AlertModal,
|
|
24
24
|
v as AlertTitle,
|
|
25
25
|
I as AppProvider,
|
|
26
26
|
P as AppSidebar,
|
|
@@ -28,17 +28,17 @@ export {
|
|
|
28
28
|
x as AuthProvider,
|
|
29
29
|
F as Avatar,
|
|
30
30
|
G as AvatarFallback,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
f as AvatarImage,
|
|
32
|
+
B as Badge,
|
|
33
|
+
L as Breadcrumb,
|
|
34
|
+
R as BreadcrumbEllipsis,
|
|
35
35
|
y as BreadcrumbItem,
|
|
36
36
|
H as BreadcrumbLink,
|
|
37
37
|
k as BreadcrumbList,
|
|
38
38
|
N as BreadcrumbPage,
|
|
39
39
|
O as BreadcrumbSeparator,
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
E as Button,
|
|
41
|
+
U as Calendar,
|
|
42
42
|
V as Card,
|
|
43
43
|
z as CardContent,
|
|
44
44
|
W as CardDescription,
|
|
@@ -67,14 +67,14 @@ export {
|
|
|
67
67
|
ca as CommandDialog,
|
|
68
68
|
ga as CommandEmpty,
|
|
69
69
|
pa as CommandGroup,
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
Ca as CommandInput,
|
|
71
|
+
Sa as CommandItem,
|
|
72
72
|
ma as CommandList,
|
|
73
73
|
Ma as CommandSeparator,
|
|
74
74
|
Ta as CommandShortcut,
|
|
75
75
|
Da as CommonActions,
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
ha as ContextMenu,
|
|
77
|
+
Aa as ContextMenuCheckboxItem,
|
|
78
78
|
va as ContextMenuContent,
|
|
79
79
|
Ia as ContextMenuGroup,
|
|
80
80
|
Pa as ContextMenuItem,
|
|
@@ -82,17 +82,17 @@ export {
|
|
|
82
82
|
xa as ContextMenuPortal,
|
|
83
83
|
Fa as ContextMenuRadioGroup,
|
|
84
84
|
Ga as ContextMenuRadioItem,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
fa as ContextMenuSeparator,
|
|
86
|
+
Ba as ContextMenuShortcut,
|
|
87
|
+
La as ContextMenuSub,
|
|
88
|
+
Ra as ContextMenuSubContent,
|
|
89
89
|
ya as ContextMenuSubTrigger,
|
|
90
90
|
Ha as ContextMenuTrigger,
|
|
91
91
|
ka as DashboardLayout,
|
|
92
92
|
Na as DashboardNav,
|
|
93
93
|
Oa as DataTable,
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
Ea as DataTableSkeleton,
|
|
95
|
+
Ua as DatePicker,
|
|
96
96
|
Va as DatePickerWithRange,
|
|
97
97
|
za as DateRangeFilter,
|
|
98
98
|
Wa as DeleteDialog,
|
|
@@ -121,14 +121,14 @@ export {
|
|
|
121
121
|
ce as DropdownMenuContent,
|
|
122
122
|
ge as DropdownMenuGroup,
|
|
123
123
|
pe as DropdownMenuItem,
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
Ce as DropdownMenuLabel,
|
|
125
|
+
Se as DropdownMenuPortal,
|
|
126
126
|
me as DropdownMenuRadioGroup,
|
|
127
127
|
Me as DropdownMenuRadioItem,
|
|
128
128
|
Te as DropdownMenuSeparator,
|
|
129
129
|
De as DropdownMenuShortcut,
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
he as DropdownMenuSub,
|
|
131
|
+
Ae as DropdownMenuSubContent,
|
|
132
132
|
ve as DropdownMenuSubTrigger,
|
|
133
133
|
Ie as DropdownMenuTrigger,
|
|
134
134
|
Pe as FileUploadButton,
|
|
@@ -136,17 +136,17 @@ export {
|
|
|
136
136
|
xe as FormButtons,
|
|
137
137
|
Fe as FormControl,
|
|
138
138
|
Ge as FormDescription,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
139
|
+
fe as FormField,
|
|
140
|
+
Be as FormInput,
|
|
141
|
+
Le as FormItem,
|
|
142
|
+
Re as FormLabel,
|
|
143
143
|
ye as FormLayout,
|
|
144
144
|
He as FormMessage,
|
|
145
145
|
ke as FormSelect,
|
|
146
146
|
Ne as GenericTab,
|
|
147
147
|
Oe as Header,
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
Ee as Heading,
|
|
149
|
+
Ue as HoverCard,
|
|
150
150
|
Ve as HoverCardContent,
|
|
151
151
|
ze as HoverCardTrigger,
|
|
152
152
|
We as Icons,
|
|
@@ -175,14 +175,14 @@ export {
|
|
|
175
175
|
cs as MenubarTrigger,
|
|
176
176
|
gs as MobileSidebar,
|
|
177
177
|
ps as Modal,
|
|
178
|
-
|
|
179
|
-
|
|
178
|
+
Cs as ModalProvider,
|
|
179
|
+
Ss as NavDocuments,
|
|
180
180
|
ms as NavMain,
|
|
181
181
|
Ms as NavSecondary,
|
|
182
182
|
Ts as NavUser,
|
|
183
183
|
Ds as NavigationMenu,
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
hs as NavigationMenuContent,
|
|
185
|
+
As as NavigationMenuIndicator,
|
|
186
186
|
vs as NavigationMenuItem,
|
|
187
187
|
Is as NavigationMenuLink,
|
|
188
188
|
Ps as NavigationMenuList,
|
|
@@ -190,17 +190,17 @@ export {
|
|
|
190
190
|
xs as NavigationMenuViewport,
|
|
191
191
|
Fs as Overlay,
|
|
192
192
|
Gs as OverlayProvider,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
193
|
+
fs as PageHead,
|
|
194
|
+
Bs as Pagination,
|
|
195
|
+
Ls as PaginationSection,
|
|
196
|
+
Rs as Popover,
|
|
197
197
|
ys as PopoverAnchor,
|
|
198
198
|
Hs as PopoverContent,
|
|
199
199
|
ks as PopoverTrigger,
|
|
200
200
|
Ns as PopupModal,
|
|
201
201
|
Os as Progress,
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
Es as ProtectedButton,
|
|
203
|
+
Us as ProtectedDropdownMenuItem,
|
|
204
204
|
Vs as ProtectedLink,
|
|
205
205
|
zs as RBACProvider,
|
|
206
206
|
Ws as RadioGroup,
|
|
@@ -229,14 +229,14 @@ export {
|
|
|
229
229
|
cr as SheetDescription,
|
|
230
230
|
gr as SheetFooter,
|
|
231
231
|
pr as SheetHeader,
|
|
232
|
-
|
|
233
|
-
|
|
232
|
+
Cr as SheetOverlay,
|
|
233
|
+
Sr as SheetPortal,
|
|
234
234
|
mr as SheetTitle,
|
|
235
235
|
Mr as SheetTrigger,
|
|
236
236
|
Tr as Sidebar,
|
|
237
237
|
Dr as SidebarContent,
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
hr as SidebarFooter,
|
|
239
|
+
Ar as SidebarGroup,
|
|
240
240
|
vr as SidebarGroupAction,
|
|
241
241
|
Ir as SidebarGroupContent,
|
|
242
242
|
Pr as SidebarGroupLabel,
|
|
@@ -244,17 +244,17 @@ export {
|
|
|
244
244
|
xr as SidebarInput,
|
|
245
245
|
Fr as SidebarInset,
|
|
246
246
|
Gr as SidebarMenu,
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
247
|
+
fr as SidebarMenuAction,
|
|
248
|
+
Br as SidebarMenuBadge,
|
|
249
|
+
Lr as SidebarMenuButton,
|
|
250
|
+
Rr as SidebarMenuItem,
|
|
251
251
|
yr as SidebarMenuSkeleton,
|
|
252
252
|
Hr as SidebarMenuSub,
|
|
253
253
|
kr as SidebarMenuSubButton,
|
|
254
254
|
Nr as SidebarMenuSubItem,
|
|
255
255
|
Or as SidebarProvider,
|
|
256
|
-
|
|
257
|
-
|
|
256
|
+
Er as SidebarRail,
|
|
257
|
+
Ur as SidebarSeparator,
|
|
258
258
|
Vr as SidebarTrigger,
|
|
259
259
|
zr as SiteHeader,
|
|
260
260
|
Wr as Skeleton,
|
|
@@ -282,14 +282,14 @@ export {
|
|
|
282
282
|
co as ToastTitle,
|
|
283
283
|
go as ToastToaster,
|
|
284
284
|
po as ToastViewport,
|
|
285
|
-
|
|
286
|
-
|
|
285
|
+
Co as Toaster,
|
|
286
|
+
So as Toggle,
|
|
287
287
|
mo as ToggleGroup,
|
|
288
288
|
Mo as ToggleGroupItem,
|
|
289
289
|
To as Tooltip,
|
|
290
290
|
Do as TooltipContent,
|
|
291
|
-
|
|
292
|
-
|
|
291
|
+
ho as TooltipProvider,
|
|
292
|
+
Ao as TooltipTrigger,
|
|
293
293
|
vo as UpdateAccessControlWrapper,
|
|
294
294
|
Io as UserNav,
|
|
295
295
|
Po as apiService,
|
|
@@ -297,45 +297,47 @@ export {
|
|
|
297
297
|
xo as badgeVariants,
|
|
298
298
|
Fo as buttonVariants,
|
|
299
299
|
Go as capitalize,
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
yo as
|
|
305
|
-
Ho as
|
|
306
|
-
ko as
|
|
307
|
-
No as
|
|
308
|
-
Oo as
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
Vo as
|
|
312
|
-
zo as
|
|
313
|
-
Wo as
|
|
314
|
-
qo as
|
|
315
|
-
Xo as
|
|
316
|
-
Yo as
|
|
317
|
-
Zo as
|
|
318
|
-
_o as
|
|
319
|
-
jo as
|
|
320
|
-
Jo as
|
|
321
|
-
Ko as
|
|
322
|
-
Qo as
|
|
323
|
-
$o as
|
|
324
|
-
at as
|
|
325
|
-
et as
|
|
326
|
-
st as
|
|
327
|
-
rt as
|
|
328
|
-
ot as
|
|
329
|
-
tt as
|
|
330
|
-
nt as
|
|
331
|
-
it as
|
|
332
|
-
dt as
|
|
333
|
-
lt as
|
|
334
|
-
ut as
|
|
335
|
-
bt as
|
|
336
|
-
ct as
|
|
337
|
-
gt as
|
|
338
|
-
pt as
|
|
339
|
-
|
|
340
|
-
|
|
300
|
+
fo as cn,
|
|
301
|
+
Bo as convertToHourMinuteString,
|
|
302
|
+
Lo as createAuthAxiosInstance,
|
|
303
|
+
Ro as createAxiosInstance,
|
|
304
|
+
yo as createChangeEvent,
|
|
305
|
+
Ho as dataTableSchema,
|
|
306
|
+
ko as dateFromat,
|
|
307
|
+
No as debounce,
|
|
308
|
+
Oo as formatDate,
|
|
309
|
+
Eo as formatErrorToList,
|
|
310
|
+
Uo as handleEditCache,
|
|
311
|
+
Vo as handleSingleEditCache,
|
|
312
|
+
zo as navigationMenuTriggerStyle,
|
|
313
|
+
Wo as onDelete,
|
|
314
|
+
qo as pageTitles,
|
|
315
|
+
Xo as queryClient,
|
|
316
|
+
Yo as reducer,
|
|
317
|
+
Zo as throttle,
|
|
318
|
+
_o as toast,
|
|
319
|
+
jo as toggleVariants,
|
|
320
|
+
Jo as useAccessControl,
|
|
321
|
+
Ko as useAuth,
|
|
322
|
+
Qo as useAxiosAuth,
|
|
323
|
+
$o as useAxiosHeadersUrl,
|
|
324
|
+
at as useFetchSingleAxios,
|
|
325
|
+
et as useFormField,
|
|
326
|
+
st as useGet,
|
|
327
|
+
rt as useGetSingle,
|
|
328
|
+
ot as useIsMobile,
|
|
329
|
+
tt as useLayout,
|
|
330
|
+
nt as useModal,
|
|
331
|
+
it as useOverlay,
|
|
332
|
+
dt as usePathname,
|
|
333
|
+
lt as useRBAC,
|
|
334
|
+
ut as useRefreshToken,
|
|
335
|
+
bt as useRouter,
|
|
336
|
+
ct as useSendEmail,
|
|
337
|
+
gt as useSidebar,
|
|
338
|
+
pt as useTheme,
|
|
339
|
+
Ct as useToast,
|
|
340
|
+
St as useUploadFile,
|
|
341
|
+
mt as userCan,
|
|
342
|
+
Mt as withAccessControl
|
|
341
343
|
};
|