identity-admin-ui 1.11.24 → 1.11.26
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 +1 -1
- package/lib/cjs/types/components/Dialog/ActionDialog.d.ts +26 -0
- package/lib/cjs/types/components/index.d.ts +1 -0
- package/lib/esm/index.js +1 -1
- package/lib/esm/types/components/Dialog/ActionDialog.d.ts +26 -0
- package/lib/esm/types/components/index.d.ts +1 -0
- package/lib/index.d.ts +28 -1
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface ActionDialogProps {
|
|
2
|
+
open: boolean;
|
|
3
|
+
/** Title to display when isSecondaryAction is false */
|
|
4
|
+
title: string;
|
|
5
|
+
/** Message to display when isSecondaryAction is false */
|
|
6
|
+
message?: string;
|
|
7
|
+
/** Title to display when isSecondaryAction is true */
|
|
8
|
+
secondaryTitle?: string;
|
|
9
|
+
/** Message to display when isSecondaryAction is true */
|
|
10
|
+
secondaryMessage?: string;
|
|
11
|
+
/** Determines which action to perform */
|
|
12
|
+
isSecondaryAction?: boolean;
|
|
13
|
+
/** Function to call when the dialog is closed */
|
|
14
|
+
onClose: () => void;
|
|
15
|
+
/** Function to call when isSecondaryAction is false */
|
|
16
|
+
onAction?: () => void;
|
|
17
|
+
/** Function to call when isSecondaryAction is true */
|
|
18
|
+
onSecondaryAction?: () => void;
|
|
19
|
+
/** Button text for primary action */
|
|
20
|
+
buttonText?: string;
|
|
21
|
+
/** Button text for secondary action */
|
|
22
|
+
secondaryButtonText?: string;
|
|
23
|
+
/** Loading indicator for action button */
|
|
24
|
+
loading?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export declare function ActionDialog({ open, title, message, secondaryTitle, secondaryMessage, isSecondaryAction, onClose, onAction, onSecondaryAction, secondaryButtonText, buttonText, loading, }: ActionDialogProps): import("react/jsx-runtime").JSX.Element;
|
package/lib/index.d.ts
CHANGED
|
@@ -743,6 +743,33 @@ declare function DashBoardRouter(props: any): {
|
|
|
743
743
|
|
|
744
744
|
declare function NotificationsPopover(): react_jsx_runtime.JSX.Element;
|
|
745
745
|
|
|
746
|
+
interface ActionDialogProps {
|
|
747
|
+
open: boolean;
|
|
748
|
+
/** Title to display when isSecondaryAction is false */
|
|
749
|
+
title: string;
|
|
750
|
+
/** Message to display when isSecondaryAction is false */
|
|
751
|
+
message?: string;
|
|
752
|
+
/** Title to display when isSecondaryAction is true */
|
|
753
|
+
secondaryTitle?: string;
|
|
754
|
+
/** Message to display when isSecondaryAction is true */
|
|
755
|
+
secondaryMessage?: string;
|
|
756
|
+
/** Determines which action to perform */
|
|
757
|
+
isSecondaryAction?: boolean;
|
|
758
|
+
/** Function to call when the dialog is closed */
|
|
759
|
+
onClose: () => void;
|
|
760
|
+
/** Function to call when isSecondaryAction is false */
|
|
761
|
+
onAction?: () => void;
|
|
762
|
+
/** Function to call when isSecondaryAction is true */
|
|
763
|
+
onSecondaryAction?: () => void;
|
|
764
|
+
/** Button text for primary action */
|
|
765
|
+
buttonText?: string;
|
|
766
|
+
/** Button text for secondary action */
|
|
767
|
+
secondaryButtonText?: string;
|
|
768
|
+
/** Loading indicator for action button */
|
|
769
|
+
loading?: boolean;
|
|
770
|
+
}
|
|
771
|
+
declare function ActionDialog({ open, title, message, secondaryTitle, secondaryMessage, isSecondaryAction, onClose, onAction, onSecondaryAction, secondaryButtonText, buttonText, loading, }: ActionDialogProps): react_jsx_runtime.JSX.Element;
|
|
772
|
+
|
|
746
773
|
/**
|
|
747
774
|
* Props for the IdentityShow component, providing information
|
|
748
775
|
* about the user record, paths, and additional configuration.
|
|
@@ -799,4 +826,4 @@ interface DumpServiceActionProps {
|
|
|
799
826
|
*/
|
|
800
827
|
declare function DumpServiceAction({ baseUrl }: DumpServiceActionProps): react_jsx_runtime.JSX.Element;
|
|
801
828
|
|
|
802
|
-
export { ApiContext, ApiContextConfig, ApiContextProps, ApiContextProvider, AppConfigurationsContext, AppConfigurationsContextProvider, CredentialKeys, CredentialsContext, CredentialsContextProvider, DashboardLayout, DialogContext, DialogContextProvider, IAction, IActionMin, IDialogProps, IExtarAction, IExtras, IFilter, IMainProperty, IOptionalResource, IParent, IProperty, ISchemaObject, ISnackMessageProps, IState, IdentityModelConfigurationPage as IdenityModelConfiguration, IdentityClient, DumpServiceAction as IdentityDumpServiceAction, CreateEdit as IdentityEdit, DataGridd as IdentityGrid, ListRecords as IdentityList, IdentityPage, IdentityPageProps, Permissions as IdentityPermissionPage, DashBoardRouter as IdentityRouter, ShowRecord as IdentityShow, NextPreviousButtons, NotificationContext, NotificationsPopover as NotificationPopover, NotificationsContextConfig, NotificationsContextProvider, PageVariant, PathsContext, PathsContextConfig, PathsContextProvider, RequestConfig, RequestState, ResourcePaths, ResourceResponse, ResourcesContext, ResourcesContextConfig, ResourcesContextProvider, SettingsValueProps, Severity, IdentityShow as ShowRecord, SnackAlertContext, SnackAlertProvider, State, ThemeProps, ThemeProvider, orderTypes, path, useApi, useAppConfigurations, useCredentials, useDialogs, useNavData, useNotifications, usePaths, useResources, useSnackAlert };
|
|
829
|
+
export { ActionDialog, ActionDialogProps, ApiContext, ApiContextConfig, ApiContextProps, ApiContextProvider, AppConfigurationsContext, AppConfigurationsContextProvider, CredentialKeys, CredentialsContext, CredentialsContextProvider, DashboardLayout, DialogContext, DialogContextProvider, IAction, IActionMin, IDialogProps, IExtarAction, IExtras, IFilter, IMainProperty, IOptionalResource, IParent, IProperty, ISchemaObject, ISnackMessageProps, IState, IdentityModelConfigurationPage as IdenityModelConfiguration, IdentityClient, DumpServiceAction as IdentityDumpServiceAction, CreateEdit as IdentityEdit, DataGridd as IdentityGrid, ListRecords as IdentityList, IdentityPage, IdentityPageProps, Permissions as IdentityPermissionPage, DashBoardRouter as IdentityRouter, ShowRecord as IdentityShow, NextPreviousButtons, NotificationContext, NotificationsPopover as NotificationPopover, NotificationsContextConfig, NotificationsContextProvider, PageVariant, PathsContext, PathsContextConfig, PathsContextProvider, RequestConfig, RequestState, ResourcePaths, ResourceResponse, ResourcesContext, ResourcesContextConfig, ResourcesContextProvider, SettingsValueProps, Severity, IdentityShow as ShowRecord, SnackAlertContext, SnackAlertProvider, State, ThemeProps, ThemeProvider, orderTypes, path, useApi, useAppConfigurations, useCredentials, useDialogs, useNavData, useNotifications, usePaths, useResources, useSnackAlert };
|