@webex/cc-components 1.28.0-ccwidgets.68 → 1.28.0-ccwidgets.69
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.
|
@@ -15,6 +15,10 @@ export declare const StationLoginLabels: {
|
|
|
15
15
|
IS_REQUIRED: string;
|
|
16
16
|
DN_FORMAT_ERROR: string;
|
|
17
17
|
DEFAULT_ERROR: string;
|
|
18
|
+
CONFIRM: string;
|
|
19
|
+
CONFIRM_INTERACTION_PREFERENCE_CHANGES_TITLE: string;
|
|
20
|
+
CONFIRM_INTERACTION_PREFERENCE_CHANGES_MESSAGE: string;
|
|
21
|
+
SAVE: string;
|
|
18
22
|
};
|
|
19
23
|
export declare const SignInErrors: {
|
|
20
24
|
DUPLICATE_LOCATION: string;
|
|
@@ -98,5 +98,46 @@ export interface IStationLoginProps {
|
|
|
98
98
|
* Handler to set team Id
|
|
99
99
|
*/
|
|
100
100
|
setTeamId: (teamId: string) => void;
|
|
101
|
+
/**
|
|
102
|
+
* Indicates if the agent login is in profile mode.
|
|
103
|
+
*/
|
|
104
|
+
profileMode: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* The original login options state.
|
|
107
|
+
*/
|
|
108
|
+
originalLoginOptions: LoginOptionsState;
|
|
109
|
+
/**
|
|
110
|
+
* The current login options state.
|
|
111
|
+
*/
|
|
112
|
+
currentLoginOptions: LoginOptionsState;
|
|
113
|
+
/**
|
|
114
|
+
* Handler to set the current login options state.
|
|
115
|
+
*/
|
|
116
|
+
setCurrentLoginOptions: React.Dispatch<React.SetStateAction<LoginOptionsState>>;
|
|
117
|
+
/**
|
|
118
|
+
* Flag to indicate if the login options have changed.
|
|
119
|
+
*/
|
|
120
|
+
isLoginOptionsChanged: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Handler to save the login options.
|
|
123
|
+
*/
|
|
124
|
+
saveLoginOptions: () => void;
|
|
125
|
+
/**
|
|
126
|
+
* Error message when saving login options fails.
|
|
127
|
+
*/
|
|
128
|
+
saveError: string;
|
|
129
|
+
/**
|
|
130
|
+
* Called when save starts (after confirm)
|
|
131
|
+
*/
|
|
132
|
+
onSaveStart?: () => void;
|
|
133
|
+
/**
|
|
134
|
+
* Called when save ends (true=success, false=error)
|
|
135
|
+
*/
|
|
136
|
+
onSaveEnd?: (isComplete: boolean) => void;
|
|
137
|
+
}
|
|
138
|
+
export interface LoginOptionsState {
|
|
139
|
+
deviceType: string;
|
|
140
|
+
dialNumber: string;
|
|
141
|
+
teamId: string;
|
|
101
142
|
}
|
|
102
|
-
export type StationLoginComponentProps = Pick<IStationLoginProps, 'teams' | 'loginOptions' | 'login' | 'logout' | 'loginSuccess' | 'loginFailure' | 'logoutSuccess' | 'setDeviceType' | 'setDialNumber' | 'setTeam' | 'isAgentLoggedIn' | 'handleContinue' | 'deviceType' | 'dialNumber' | 'dialNumberRegex' | 'showMultipleLoginAlert' | 'onCCSignOut' | 'teamId' | 'setTeamId' | 'logger'>;
|
|
143
|
+
export type StationLoginComponentProps = Pick<IStationLoginProps, 'teams' | 'loginOptions' | 'login' | 'logout' | 'loginSuccess' | 'loginFailure' | 'logoutSuccess' | 'setDeviceType' | 'setDialNumber' | 'setTeam' | 'isAgentLoggedIn' | 'handleContinue' | 'deviceType' | 'dialNumber' | 'dialNumberRegex' | 'showMultipleLoginAlert' | 'onCCSignOut' | 'teamId' | 'setTeamId' | 'logger' | 'profileMode' | 'originalLoginOptions' | 'currentLoginOptions' | 'setCurrentLoginOptions' | 'isLoginOptionsChanged' | 'saveLoginOptions' | 'saveError'>;
|