@tealca/core-components 1.0.15 → 1.0.17
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/dist/index.d.ts +18 -0
- package/dist/tealca-core-components.cjs.js +27 -56
- package/dist/tealca-core-components.es.js +7937 -8566
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { AnchorHTMLAttributes } from 'react';
|
|
2
|
+
import { AuthState } from './slices/authSlice';
|
|
2
3
|
import { AxiosInstance } from 'axios';
|
|
3
4
|
import { ButtonHTMLAttributes } from 'react';
|
|
4
5
|
import { Context } from 'react';
|
|
5
6
|
import { default as default_2 } from 'react';
|
|
7
|
+
import { EnhancedStore } from '@reduxjs/toolkit';
|
|
6
8
|
import { FC } from 'react';
|
|
7
9
|
import { FormikHelpers } from 'formik';
|
|
8
10
|
import { FormikProps } from 'formik';
|
|
@@ -14,6 +16,10 @@ import { InputHTMLAttributes } from 'react';
|
|
|
14
16
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
15
17
|
import { ReactNode } from 'react';
|
|
16
18
|
import { RefAttributes } from 'react';
|
|
19
|
+
import { StoreEnhancer } from 'redux';
|
|
20
|
+
import { ThunkDispatch } from 'redux-thunk';
|
|
21
|
+
import { Tuple } from '@reduxjs/toolkit';
|
|
22
|
+
import { UnknownAction } from 'redux';
|
|
17
23
|
|
|
18
24
|
export declare interface Account {
|
|
19
25
|
id: string;
|
|
@@ -132,6 +138,8 @@ export declare interface AppContextProps {
|
|
|
132
138
|
basicApi: AxiosInstance;
|
|
133
139
|
}
|
|
134
140
|
|
|
141
|
+
export declare type AppDispatch = typeof store.dispatch;
|
|
142
|
+
|
|
135
143
|
export declare interface Application {
|
|
136
144
|
applicationId: number;
|
|
137
145
|
applicationCode: string;
|
|
@@ -1103,6 +1111,8 @@ declare interface Response_2<_TModelType> {
|
|
|
1103
1111
|
}
|
|
1104
1112
|
export { Response_2 as Response }
|
|
1105
1113
|
|
|
1114
|
+
export declare type RootState = ReturnType<typeof store.getState>;
|
|
1115
|
+
|
|
1106
1116
|
/**
|
|
1107
1117
|
* A secondary button component with predefined styles.
|
|
1108
1118
|
* Inherits all props from the standard HTML button element.
|
|
@@ -1502,6 +1512,14 @@ export declare interface Store {
|
|
|
1502
1512
|
address: Address;
|
|
1503
1513
|
}
|
|
1504
1514
|
|
|
1515
|
+
export declare const store: EnhancedStore< {
|
|
1516
|
+
auth: AuthState;
|
|
1517
|
+
}, UnknownAction, Tuple<[StoreEnhancer< {
|
|
1518
|
+
dispatch: ThunkDispatch< {
|
|
1519
|
+
auth: AuthState;
|
|
1520
|
+
}, undefined, UnknownAction>;
|
|
1521
|
+
}>, StoreEnhancer]>>;
|
|
1522
|
+
|
|
1505
1523
|
/**
|
|
1506
1524
|
* A base switch (toggle) component.
|
|
1507
1525
|
* Inherits all props from the standard HTML input[type="checkbox"] element.
|