identity-admin-ui 1.12.26 → 1.12.28
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/lib/cjs/index.js +3 -3
- package/lib/cjs/types/actions/DumpServiceAction.d.ts +1 -1
- package/lib/cjs/types/actions/types.d.ts +4 -0
- package/lib/cjs/types/context/auth/AuthReducer.d.ts +3 -3
- package/lib/esm/index.js +1 -1
- package/lib/esm/types/actions/DumpServiceAction.d.ts +1 -1
- package/lib/esm/types/actions/types.d.ts +4 -0
- package/lib/esm/types/context/auth/AuthReducer.d.ts +3 -3
- package/lib/index.d.ts +11 -7
- package/package.json +1 -1
|
@@ -3,4 +3,4 @@ import { DumpServiceActionProps } from './types';
|
|
|
3
3
|
* DumpServiceAction: is a button with custom dialog where to unselect the model where didn't meant to be included in the dump
|
|
4
4
|
* @param DumpServiceActionProps
|
|
5
5
|
*/
|
|
6
|
-
export default function DumpServiceAction({ baseUrl }: DumpServiceActionProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default function DumpServiceAction({ baseUrl, buttonText }: DumpServiceActionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,4 +6,8 @@ export interface DumpServiceActionProps {
|
|
|
6
6
|
* @param baseUrl is the base url for dump service where deployed ex: http:localhost:3000/api
|
|
7
7
|
*/
|
|
8
8
|
baseUrl: string;
|
|
9
|
+
/**
|
|
10
|
+
* @param buttonText is the the text for the dump button default=Restore Database
|
|
11
|
+
*/
|
|
12
|
+
buttonText?: string;
|
|
9
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Reducer } from 'react';
|
|
2
2
|
import { User } from './types';
|
|
3
|
-
export declare enum
|
|
3
|
+
export declare enum AuthActionTypes {
|
|
4
4
|
LOGIN = "LOGIN",
|
|
5
5
|
LOGOUT = "LOGOUT"
|
|
6
6
|
}
|
|
@@ -9,10 +9,10 @@ export interface State {
|
|
|
9
9
|
isAuthenticated: boolean;
|
|
10
10
|
}
|
|
11
11
|
export type Action = {
|
|
12
|
-
type:
|
|
12
|
+
type: AuthActionTypes.LOGIN;
|
|
13
13
|
payload: User;
|
|
14
14
|
} | {
|
|
15
|
-
type:
|
|
15
|
+
type: AuthActionTypes.LOGOUT;
|
|
16
16
|
};
|
|
17
17
|
declare const AuthReducer: Reducer<State, Action>;
|
|
18
18
|
export default AuthReducer;
|
package/lib/index.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ declare enum ActionNames {
|
|
|
100
100
|
NEW = "NEW",
|
|
101
101
|
EDIT = "EDIT"
|
|
102
102
|
}
|
|
103
|
-
declare enum ActionTypes
|
|
103
|
+
declare enum ActionTypes {
|
|
104
104
|
RECORD = "RECORD",
|
|
105
105
|
Resource = "RESOUCRE"
|
|
106
106
|
}
|
|
@@ -261,7 +261,7 @@ interface IExtras {
|
|
|
261
261
|
};
|
|
262
262
|
}
|
|
263
263
|
interface IExtarAction {
|
|
264
|
-
actionType: ActionTypes
|
|
264
|
+
actionType: ActionTypes;
|
|
265
265
|
guard?: string;
|
|
266
266
|
icon: string;
|
|
267
267
|
key: string;
|
|
@@ -471,7 +471,7 @@ interface User {
|
|
|
471
471
|
photo?: string;
|
|
472
472
|
}
|
|
473
473
|
|
|
474
|
-
declare enum
|
|
474
|
+
declare enum AuthActionTypes {
|
|
475
475
|
LOGIN = "LOGIN",
|
|
476
476
|
LOGOUT = "LOGOUT"
|
|
477
477
|
}
|
|
@@ -480,10 +480,10 @@ interface State {
|
|
|
480
480
|
isAuthenticated: boolean;
|
|
481
481
|
}
|
|
482
482
|
type Action = {
|
|
483
|
-
type:
|
|
483
|
+
type: AuthActionTypes.LOGIN;
|
|
484
484
|
payload: User;
|
|
485
485
|
} | {
|
|
486
|
-
type:
|
|
486
|
+
type: AuthActionTypes.LOGOUT;
|
|
487
487
|
};
|
|
488
488
|
declare const AuthReducer: Reducer<State, Action>;
|
|
489
489
|
|
|
@@ -1098,13 +1098,17 @@ interface DumpServiceActionProps {
|
|
|
1098
1098
|
* @param baseUrl is the base url for dump service where deployed ex: http:localhost:3000/api
|
|
1099
1099
|
*/
|
|
1100
1100
|
baseUrl: string;
|
|
1101
|
+
/**
|
|
1102
|
+
* @param buttonText is the the text for the dump button default=Restore Database
|
|
1103
|
+
*/
|
|
1104
|
+
buttonText?: string;
|
|
1101
1105
|
}
|
|
1102
1106
|
|
|
1103
1107
|
/**
|
|
1104
1108
|
* DumpServiceAction: is a button with custom dialog where to unselect the model where didn't meant to be included in the dump
|
|
1105
1109
|
* @param DumpServiceActionProps
|
|
1106
1110
|
*/
|
|
1107
|
-
declare function DumpServiceAction({ baseUrl }: DumpServiceActionProps): react_jsx_runtime.JSX.Element;
|
|
1111
|
+
declare function DumpServiceAction({ baseUrl, buttonText }: DumpServiceActionProps): react_jsx_runtime.JSX.Element;
|
|
1108
1112
|
|
|
1109
1113
|
declare class UniqueFieldHelper {
|
|
1110
1114
|
private resource;
|
|
@@ -1602,4 +1606,4 @@ declare const palette: {
|
|
|
1602
1606
|
};
|
|
1603
1607
|
};
|
|
1604
1608
|
|
|
1605
|
-
export { ActionDialog, ActionDialogProps, ActionNames, ActionTypes
|
|
1609
|
+
export { ActionDialog, ActionDialogProps, ActionNames, ActionTypes, ApiContext, ApiContextConfig, ApiContextProps, ApiContextProvider, AppConfigurationsContext, AppConfigurationsContextProvider, AuthProvider as AuthContextProvider, AuthReducer, CollapseDrawerContext, CollapseDrawerContextProps, CollapseDrawerProvider, CredentialKeys, CredentialsContext, CredentialsContextProvider, DashboardLayout, DialogContext, DialogContextProvider, FieldTypes, FileTypes, FormProvider, HandlerStrategy, IAction, IActionMin, IActionsProps, IDialogProps, IExtarAction, IExtras, IFilter, IListProps, IListRecordsProps, IMainProperty, IOptionalResource, IParent, IProperty, IResource as IResouce, ISchemaObject, ISnackMessageProps, IState, IdentityModelConfigurationPage as IdenityModelConfiguration, Page404 as Identity404, IdentityClient, DumpServiceAction as IdentityDumpServiceAction, CreateEdit as IdentityEdit, DataGridd as IdentityGrid, ListRecords as IdentityList, LoadingScreen as IdentityLoadingScreen, IdentityPage, IdentityPageProps, palette as IdentityPalette, Permissions as IdentityPermissionPage, AdminRouter as IdentityRouter, ShowRecord as IdentityShow, ShowMailLog as IdentityShowMailLog, ImageOptimizingCategories, RHFJSONRichText as JSONRichText, JSONRichTextShow, LocalizedStringForm as LocalizationStringForm, MotionLazyContainer, NextPreviousButtons, NotificationContext, NotificationsPopover as NotificationPopover, NotificationsContextConfig, NotificationsContextProvider, PageVariant, PathsContext, PathsContextConfig, PathsContextProvider, PermissionDefaultKeys, RHFCheckbox, RHFCreatableSelect, RHFDatePicker, RHFEditor, RHFGooglePlaces, RHFGroupedTextFields, RHFLazySelect, RHFMultiCheckbox, RHFRadioGroup, RHFSelect, RHFTagsField, RHFTextField, RHFUploadAvatar, RHFUploadFileButton, RHFUploadFileButton2, RHFUploadImage, RHFUploadMultiFile, RHFUploadSingleFile, RequestConfig, RequestState, ResourcePaths, ResourceResponse, ResourcesContext, ResourcesContextConfig, ResourcesContextProvider, SettingsContext, SettingsProvider, Severity, IdentityShow as ShowRecord, SizeType, SnackAlertContext, SnackAlertProvider, State$1 as State, SvgIconStyle, ThemeProvider, ThemeSettings, UniqueFieldHelper, UploadRsult, checkPermission, fCurrency, fData, fNumber, fPercent, fShortenNumber, getFilterValues, getUrlFilters, orderTypes, path, useApi, useAppConfigurations, useAuth, useCredentials, useDialogs, useLocales, useNavData, useNotifications, usePaths, useResources, useSettings, useSnackAlert };
|