@influenzanet/case-web-app-core 2.8.0 → 2.8.2-staging

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.
@@ -22,3 +22,4 @@ export declare const revokeAllRefreshTokensReq: () => Promise<import("axios").Ax
22
22
  export declare const deleteAccountReq: (userId: string) => Promise<import("axios").AxiosResponse<ServiceStatus, any>>;
23
23
  export declare const deletePhoneReq: () => Promise<import("axios").AxiosResponse<User, any>>;
24
24
  export declare const verifyWhatsAppCodeReq: (code: string) => Promise<import("axios").AxiosResponse<User, any>>;
25
+ export declare const resendWhatsAppCodeReq: () => Promise<import("axios").AxiosResponse<ServiceStatus, any>>;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ export declare const COUNTRY_CODES: {
3
+ code: string;
4
+ country: string;
5
+ name: string;
6
+ }[];
7
+ interface PhoneNumberInputProps {
8
+ value: string;
9
+ onChange: (fullPhoneNumber: string) => void;
10
+ label?: string;
11
+ placeholder?: string;
12
+ className?: string;
13
+ autoFocus?: boolean;
14
+ disabled?: boolean;
15
+ error?: string;
16
+ onBlur?: () => void;
17
+ }
18
+ declare const PhoneNumberInput: React.FC<PhoneNumberInputProps>;
19
+ export default PhoneNumberInput;
@@ -0,0 +1 @@
1
+ export { default as PhoneNumberInput } from './PhoneNumberInput';
package/build/index.d.ts CHANGED
@@ -11,6 +11,9 @@ import { HeaderConfig } from './types/headerConfig';
11
11
  import { FooterConfig } from './types/footerConfig';
12
12
  import { NavbarConfig } from './types/navbarConfig';
13
13
  import { PageConfig, PagesConfig } from './types/pagesConfig';
14
+ import AccountSettings from './components/settings/AccountSettings';
15
+ import CommunicationSettings from './components/settings/CommunicationSettings';
16
+ import { PhoneNumberInput } from './components/inputs';
14
17
  declare const coreReduxActions: {
15
18
  appActions: import("@reduxjs/toolkit").CaseReducerActions<{
16
19
  reset: (state: import("immer/dist/internal").WritableDraft<import("./store/appSlice").AppState>) => import("immer/dist/internal").WritableDraft<import("./store/appSlice").AppState>;
@@ -89,4 +92,4 @@ declare const coreReduxActions: {
89
92
  declare const coreReduxThunks: {
90
93
  enterStudiesThunk: import("@reduxjs/toolkit").AsyncThunk<import("./store/actions/studiesActions").EnterStudiesPayload, import("./store/thunks/studiesThunks").EnterStudiesRequest, {}>;
91
94
  };
92
- export { AppCore, initI18n, store, reducersManager, localStorageManager, studyAPI, userAPI, coreReduxActions, coreReduxThunks, useAuthTokenCheck, PreventAccidentalNavigationPrompt, InternalNavigator, type AppConfig, type HeaderConfig, type FooterConfig, type NavbarConfig, type PageConfig, type PagesConfig };
95
+ export { AppCore, initI18n, store, reducersManager, localStorageManager, studyAPI, userAPI, coreReduxActions, coreReduxThunks, useAuthTokenCheck, PreventAccidentalNavigationPrompt, InternalNavigator, AccountSettings, CommunicationSettings, PhoneNumberInput, type AppConfig, type HeaderConfig, type FooterConfig, type NavbarConfig, type PageConfig, type PagesConfig };