identity-admin-ui 1.6.2 → 1.6.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/lib/cjs/index.js +11 -11
- package/lib/cjs/types/helpers/CrudHelper/List/PaginationSearchParams.d.ts +13 -0
- package/lib/cjs/types/index.d.ts +2 -1
- package/lib/esm/index.js +8 -8
- package/lib/esm/types/helpers/CrudHelper/List/PaginationSearchParams.d.ts +13 -0
- package/lib/esm/types/index.d.ts +2 -1
- package/lib/index.d.ts +7 -1
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare class PaginationSearchParams {
|
|
2
|
+
private searchParams;
|
|
3
|
+
private defaultrowsPerPage;
|
|
4
|
+
constructor(searchParams: URLSearchParams, defaultrowsPerPage: number);
|
|
5
|
+
get(): {
|
|
6
|
+
page: number;
|
|
7
|
+
pageSize: number;
|
|
8
|
+
};
|
|
9
|
+
private getPageSize;
|
|
10
|
+
private getPageNumber;
|
|
11
|
+
private getDefaultPageSize;
|
|
12
|
+
private getDefaultPageNumber;
|
|
13
|
+
}
|
package/lib/esm/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './pages';
|
|
2
2
|
export * from './hooks';
|
|
3
3
|
export * from './context';
|
|
4
4
|
export * from './ApiClient';
|
|
@@ -6,3 +6,4 @@ export * from './layout/dashboard';
|
|
|
6
6
|
export * from './theme';
|
|
7
7
|
export { default as ThemeProvider } from './theme';
|
|
8
8
|
export * from './routes';
|
|
9
|
+
export { NextPreviousButtons } from './components/Buttons/NextPreviousButtons';
|
package/lib/index.d.ts
CHANGED
|
@@ -103,6 +103,12 @@ interface INextpreviousExtras {
|
|
|
103
103
|
onClickNext?: (currentRecordId?: string) => void;
|
|
104
104
|
onClickPrevious?: (currentRecordId?: string) => void;
|
|
105
105
|
}
|
|
106
|
+
interface INextPrevious extends INextpreviousExtras {
|
|
107
|
+
recordId: string;
|
|
108
|
+
modelPath: string;
|
|
109
|
+
navigateTo: (recordId: string) => void;
|
|
110
|
+
}
|
|
111
|
+
declare function NextPreviousButtons({ modelPath, onNoNextText, onNoPreviousText, recordId, nextButtonTitle, previousButtonTitle, navigateTo, onClickNext, onClickPrevious, }: INextPrevious): react_jsx_runtime.JSX.Element;
|
|
106
112
|
|
|
107
113
|
interface ShowRecordProps extends INextpreviousExtras {
|
|
108
114
|
key?: string;
|
|
@@ -515,4 +521,4 @@ declare function DashBoardRouter(props: any): {
|
|
|
515
521
|
}[];
|
|
516
522
|
};
|
|
517
523
|
|
|
518
|
-
export { ApiContext, ApiContextConfig, ApiContextProps, ApiContextProvider, AppConfigurationsContext, AppConfigurationsContextProvider, CredentialKeys, CredentialsContext, CredentialsContextProvider, DashboardLayout, IAction, IActionMin, IExtarAction, IExtras, IFilter, IMainProperty, IParent, IProperty, ISchemaObject, ISnackMessageProps, IState, IdentityModelConfigurationPage as IdenityModelConfiguration, IdentityClient, CreateEdit as IdentityEdit, ListRecords as IdentityList, IdentityPage, IdentityPageProps, DashBoardRouter as IdentityRouter, ShowRecord as IdentityShow, PageVariant, PathsContext, PathsContextConfig, PathsContextProvider, RequestConfig, RequestState, ResourcePaths, ResourceResponse, ResourcesContext, ResourcesContextConfig, ResourcesContextProvider, SettingsValueProps, Severity, SnackAlertContext, SnackAlertProvider, State, ThemeProps, ThemeProvider, orderTypes, path, useApi, useAppConfigurations, useCredentials, useNavData, usePaths, useResources, useSnackAlert };
|
|
524
|
+
export { ApiContext, ApiContextConfig, ApiContextProps, ApiContextProvider, AppConfigurationsContext, AppConfigurationsContextProvider, CredentialKeys, CredentialsContext, CredentialsContextProvider, DashboardLayout, IAction, IActionMin, IExtarAction, IExtras, IFilter, IMainProperty, IParent, IProperty, ISchemaObject, ISnackMessageProps, IState, IdentityModelConfigurationPage as IdenityModelConfiguration, IdentityClient, CreateEdit as IdentityEdit, ListRecords as IdentityList, IdentityPage, IdentityPageProps, DashBoardRouter as IdentityRouter, ShowRecord as IdentityShow, NextPreviousButtons, PageVariant, PathsContext, PathsContextConfig, PathsContextProvider, RequestConfig, RequestState, ResourcePaths, ResourceResponse, ResourcesContext, ResourcesContextConfig, ResourcesContextProvider, SettingsValueProps, Severity, SnackAlertContext, SnackAlertProvider, State, ThemeProps, ThemeProvider, orderTypes, path, useApi, useAppConfigurations, useCredentials, useNavData, usePaths, useResources, useSnackAlert };
|