jamespot-react-core 1.1.78 → 1.1.86
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/build/898.bundle.js +1 -1
- package/build/898.bundle.js.map +1 -1
- package/build/ReactCore.d.ts +0 -2
- package/build/app.bundle.js +414 -357
- package/build/app.bundle.js.map +1 -1
- package/build/components/TwoColLayout.d.ts +1 -0
- package/build/displayer/list/formatter.d.ts +11 -11
- package/build/displayer/types.d.ts +1 -76
- package/build/displayer/useDisplay.d.ts +1 -1
- package/build/redux/slice/Article.slice.d.ts +10 -3
- package/build/redux/slice/User.slice.d.ts +10 -3
- package/build/redux/store.d.ts +27 -12
- package/build/registry/ext-component-list.d.ts +46 -41
- package/build/utils/types.d.ts +6 -46
- package/package.json +5 -6
- package/script/checkDependencies.js +6 -3
- package/build/redux/slice/Application.slice.d.ts +0 -60
- package/build/redux/slice/Model.slice.d.ts +0 -60
- package/build/redux/slice/Toast.slice.d.ts +0 -50
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { Application } from '../../utils/types';
|
|
2
|
-
export declare const applicationAdapter: import("@reduxjs/toolkit").EntityAdapter<Application>;
|
|
3
|
-
export declare const applicationSlice: import("@reduxjs/toolkit").Slice<import("@reduxjs/toolkit").EntityState<Application>, {
|
|
4
|
-
addOne: {
|
|
5
|
-
<S extends import("@reduxjs/toolkit").EntityState<Application>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S, import("@reduxjs/toolkit").EntityState<Application>, S>, entity: Application): S;
|
|
6
|
-
<S_1 extends import("@reduxjs/toolkit").EntityState<Application>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_1, import("@reduxjs/toolkit").EntityState<Application>, S_1>, action: {
|
|
7
|
-
payload: Application;
|
|
8
|
-
type: string;
|
|
9
|
-
}): S_1;
|
|
10
|
-
};
|
|
11
|
-
addMany: {
|
|
12
|
-
<S_2 extends import("@reduxjs/toolkit").EntityState<Application>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_2, import("@reduxjs/toolkit").EntityState<Application>, S_2>, entities: readonly Application[] | Record<import("@reduxjs/toolkit").EntityId, Application>): S_2;
|
|
13
|
-
<S_3 extends import("@reduxjs/toolkit").EntityState<Application>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_3, import("@reduxjs/toolkit").EntityState<Application>, S_3>, entities: {
|
|
14
|
-
payload: readonly Application[] | Record<import("@reduxjs/toolkit").EntityId, Application>;
|
|
15
|
-
type: string;
|
|
16
|
-
}): S_3;
|
|
17
|
-
};
|
|
18
|
-
setAll: {
|
|
19
|
-
<S_4 extends import("@reduxjs/toolkit").EntityState<Application>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_4, import("@reduxjs/toolkit").EntityState<Application>, S_4>, entities: readonly Application[] | Record<import("@reduxjs/toolkit").EntityId, Application>): S_4;
|
|
20
|
-
<S_5 extends import("@reduxjs/toolkit").EntityState<Application>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_5, import("@reduxjs/toolkit").EntityState<Application>, S_5>, entities: {
|
|
21
|
-
payload: readonly Application[] | Record<import("@reduxjs/toolkit").EntityId, Application>;
|
|
22
|
-
type: string;
|
|
23
|
-
}): S_5;
|
|
24
|
-
};
|
|
25
|
-
}, "applications">;
|
|
26
|
-
export declare const applicationSelector: import("@reduxjs/toolkit").EntitySelectors<Application, import("redux").CombinedState<{
|
|
27
|
-
entities: import("redux").CombinedState<{
|
|
28
|
-
applications: import("@reduxjs/toolkit").EntityState<Application>;
|
|
29
|
-
models: import("@reduxjs/toolkit").EntityState<import("../../utils/types").Model<string>>;
|
|
30
|
-
users: import("@reduxjs/toolkit").EntityState<import("./User.slice").User>;
|
|
31
|
-
articles: import("@reduxjs/toolkit").EntityState<import("./Article.slice").Article>;
|
|
32
|
-
}>;
|
|
33
|
-
form: import("redux-form").FormStateMap;
|
|
34
|
-
toasts: import("@reduxjs/toolkit").EntityState<import("./Toast.slice").ToastEntity>;
|
|
35
|
-
}>>;
|
|
36
|
-
export declare type ApplicationSelectorType = typeof applicationSelector;
|
|
37
|
-
export declare const applicationActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
38
|
-
addOne: {
|
|
39
|
-
<S extends import("@reduxjs/toolkit").EntityState<Application>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S, import("@reduxjs/toolkit").EntityState<Application>, S>, entity: Application): S;
|
|
40
|
-
<S_1 extends import("@reduxjs/toolkit").EntityState<Application>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_1, import("@reduxjs/toolkit").EntityState<Application>, S_1>, action: {
|
|
41
|
-
payload: Application;
|
|
42
|
-
type: string;
|
|
43
|
-
}): S_1;
|
|
44
|
-
};
|
|
45
|
-
addMany: {
|
|
46
|
-
<S_2 extends import("@reduxjs/toolkit").EntityState<Application>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_2, import("@reduxjs/toolkit").EntityState<Application>, S_2>, entities: readonly Application[] | Record<import("@reduxjs/toolkit").EntityId, Application>): S_2;
|
|
47
|
-
<S_3 extends import("@reduxjs/toolkit").EntityState<Application>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_3, import("@reduxjs/toolkit").EntityState<Application>, S_3>, entities: {
|
|
48
|
-
payload: readonly Application[] | Record<import("@reduxjs/toolkit").EntityId, Application>;
|
|
49
|
-
type: string;
|
|
50
|
-
}): S_3;
|
|
51
|
-
};
|
|
52
|
-
setAll: {
|
|
53
|
-
<S_4 extends import("@reduxjs/toolkit").EntityState<Application>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_4, import("@reduxjs/toolkit").EntityState<Application>, S_4>, entities: readonly Application[] | Record<import("@reduxjs/toolkit").EntityId, Application>): S_4;
|
|
54
|
-
<S_5 extends import("@reduxjs/toolkit").EntityState<Application>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_5, import("@reduxjs/toolkit").EntityState<Application>, S_5>, entities: {
|
|
55
|
-
payload: readonly Application[] | Record<import("@reduxjs/toolkit").EntityId, Application>;
|
|
56
|
-
type: string;
|
|
57
|
-
}): S_5;
|
|
58
|
-
};
|
|
59
|
-
}, "applications">;
|
|
60
|
-
export declare type ApplicationActionsType = typeof applicationActions;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { Model } from '../../utils/types';
|
|
2
|
-
export declare const modelAdapter: import("@reduxjs/toolkit").EntityAdapter<Model<string>>;
|
|
3
|
-
export declare const modelSlice: import("@reduxjs/toolkit").Slice<import("@reduxjs/toolkit").EntityState<Model<string>>, {
|
|
4
|
-
addOne: {
|
|
5
|
-
<S extends import("@reduxjs/toolkit").EntityState<Model<string>>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S, import("@reduxjs/toolkit").EntityState<Model<string>>, S>, entity: Model<string>): S;
|
|
6
|
-
<S_1 extends import("@reduxjs/toolkit").EntityState<Model<string>>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_1, import("@reduxjs/toolkit").EntityState<Model<string>>, S_1>, action: {
|
|
7
|
-
payload: Model<string>;
|
|
8
|
-
type: string;
|
|
9
|
-
}): S_1;
|
|
10
|
-
};
|
|
11
|
-
addMany: {
|
|
12
|
-
<S_2 extends import("@reduxjs/toolkit").EntityState<Model<string>>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_2, import("@reduxjs/toolkit").EntityState<Model<string>>, S_2>, entities: readonly Model<string>[] | Record<import("@reduxjs/toolkit").EntityId, Model<string>>): S_2;
|
|
13
|
-
<S_3 extends import("@reduxjs/toolkit").EntityState<Model<string>>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_3, import("@reduxjs/toolkit").EntityState<Model<string>>, S_3>, entities: {
|
|
14
|
-
payload: readonly Model<string>[] | Record<import("@reduxjs/toolkit").EntityId, Model<string>>;
|
|
15
|
-
type: string;
|
|
16
|
-
}): S_3;
|
|
17
|
-
};
|
|
18
|
-
setAll: {
|
|
19
|
-
<S_4 extends import("@reduxjs/toolkit").EntityState<Model<string>>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_4, import("@reduxjs/toolkit").EntityState<Model<string>>, S_4>, entities: readonly Model<string>[] | Record<import("@reduxjs/toolkit").EntityId, Model<string>>): S_4;
|
|
20
|
-
<S_5 extends import("@reduxjs/toolkit").EntityState<Model<string>>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_5, import("@reduxjs/toolkit").EntityState<Model<string>>, S_5>, entities: {
|
|
21
|
-
payload: readonly Model<string>[] | Record<import("@reduxjs/toolkit").EntityId, Model<string>>;
|
|
22
|
-
type: string;
|
|
23
|
-
}): S_5;
|
|
24
|
-
};
|
|
25
|
-
}, "models">;
|
|
26
|
-
export declare const modelSelector: import("@reduxjs/toolkit").EntitySelectors<Model<string>, import("redux").CombinedState<{
|
|
27
|
-
entities: import("redux").CombinedState<{
|
|
28
|
-
applications: import("@reduxjs/toolkit").EntityState<import("../../utils/types").Application>;
|
|
29
|
-
models: import("@reduxjs/toolkit").EntityState<Model<string>>;
|
|
30
|
-
users: import("@reduxjs/toolkit").EntityState<import("./User.slice").User>;
|
|
31
|
-
articles: import("@reduxjs/toolkit").EntityState<import("./Article.slice").Article>;
|
|
32
|
-
}>;
|
|
33
|
-
form: import("redux-form").FormStateMap;
|
|
34
|
-
toasts: import("@reduxjs/toolkit").EntityState<import("./Toast.slice").ToastEntity>;
|
|
35
|
-
}>>;
|
|
36
|
-
export declare type ModelSelectorType = typeof modelSelector;
|
|
37
|
-
export declare const modelActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
38
|
-
addOne: {
|
|
39
|
-
<S extends import("@reduxjs/toolkit").EntityState<Model<string>>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S, import("@reduxjs/toolkit").EntityState<Model<string>>, S>, entity: Model<string>): S;
|
|
40
|
-
<S_1 extends import("@reduxjs/toolkit").EntityState<Model<string>>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_1, import("@reduxjs/toolkit").EntityState<Model<string>>, S_1>, action: {
|
|
41
|
-
payload: Model<string>;
|
|
42
|
-
type: string;
|
|
43
|
-
}): S_1;
|
|
44
|
-
};
|
|
45
|
-
addMany: {
|
|
46
|
-
<S_2 extends import("@reduxjs/toolkit").EntityState<Model<string>>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_2, import("@reduxjs/toolkit").EntityState<Model<string>>, S_2>, entities: readonly Model<string>[] | Record<import("@reduxjs/toolkit").EntityId, Model<string>>): S_2;
|
|
47
|
-
<S_3 extends import("@reduxjs/toolkit").EntityState<Model<string>>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_3, import("@reduxjs/toolkit").EntityState<Model<string>>, S_3>, entities: {
|
|
48
|
-
payload: readonly Model<string>[] | Record<import("@reduxjs/toolkit").EntityId, Model<string>>;
|
|
49
|
-
type: string;
|
|
50
|
-
}): S_3;
|
|
51
|
-
};
|
|
52
|
-
setAll: {
|
|
53
|
-
<S_4 extends import("@reduxjs/toolkit").EntityState<Model<string>>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_4, import("@reduxjs/toolkit").EntityState<Model<string>>, S_4>, entities: readonly Model<string>[] | Record<import("@reduxjs/toolkit").EntityId, Model<string>>): S_4;
|
|
54
|
-
<S_5 extends import("@reduxjs/toolkit").EntityState<Model<string>>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_5, import("@reduxjs/toolkit").EntityState<Model<string>>, S_5>, entities: {
|
|
55
|
-
payload: readonly Model<string>[] | Record<import("@reduxjs/toolkit").EntityId, Model<string>>;
|
|
56
|
-
type: string;
|
|
57
|
-
}): S_5;
|
|
58
|
-
};
|
|
59
|
-
}, "models">;
|
|
60
|
-
export declare type ModelActionsType = typeof modelActions;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { Dispatch } from '@reduxjs/toolkit';
|
|
2
|
-
import type { MessageType } from 'jamespot-react-components';
|
|
3
|
-
export declare type Toast = {
|
|
4
|
-
id?: string;
|
|
5
|
-
label: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare type ToastEntity = {
|
|
9
|
-
id: string;
|
|
10
|
-
label: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
timeout: number;
|
|
13
|
-
type: MessageType;
|
|
14
|
-
};
|
|
15
|
-
export declare const toastAdapter: import("@reduxjs/toolkit").EntityAdapter<ToastEntity>;
|
|
16
|
-
export declare const toastSlice: import("@reduxjs/toolkit").Slice<import("@reduxjs/toolkit").EntityState<ToastEntity>, {
|
|
17
|
-
addOne: {
|
|
18
|
-
<S extends import("@reduxjs/toolkit").EntityState<ToastEntity>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S, import("@reduxjs/toolkit").EntityState<ToastEntity>, S>, entity: ToastEntity): S;
|
|
19
|
-
<S_1 extends import("@reduxjs/toolkit").EntityState<ToastEntity>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_1, import("@reduxjs/toolkit").EntityState<ToastEntity>, S_1>, action: {
|
|
20
|
-
payload: ToastEntity;
|
|
21
|
-
type: string;
|
|
22
|
-
}): S_1;
|
|
23
|
-
};
|
|
24
|
-
removeOne: {
|
|
25
|
-
<S_2 extends import("@reduxjs/toolkit").EntityState<ToastEntity>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_2, import("@reduxjs/toolkit").EntityState<ToastEntity>, S_2>, key: import("@reduxjs/toolkit").EntityId): S_2;
|
|
26
|
-
<S_3 extends import("@reduxjs/toolkit").EntityState<ToastEntity>>(state: import("@reduxjs/toolkit/dist/tsHelpers").IsAny<S_3, import("@reduxjs/toolkit").EntityState<ToastEntity>, S_3>, key: {
|
|
27
|
-
payload: import("@reduxjs/toolkit").EntityId;
|
|
28
|
-
type: string;
|
|
29
|
-
}): S_3;
|
|
30
|
-
};
|
|
31
|
-
}, "toasts">;
|
|
32
|
-
declare function addMessage({ id, ...toast }: Toast, type?: MessageType, timeout?: number): (dispatch: Dispatch) => string;
|
|
33
|
-
export declare const toasts: {
|
|
34
|
-
addMessage: typeof addMessage;
|
|
35
|
-
success: (toast: Toast, timeout?: number | undefined) => (dispatch: Dispatch) => string;
|
|
36
|
-
warning: (toast: Toast, timeout?: number | undefined) => (dispatch: Dispatch) => string;
|
|
37
|
-
error: (toast: Toast, timeout?: number | undefined) => (dispatch: Dispatch) => string;
|
|
38
|
-
};
|
|
39
|
-
export declare const toastSelector: import("@reduxjs/toolkit").EntitySelectors<ToastEntity, import("redux").CombinedState<{
|
|
40
|
-
entities: import("redux").CombinedState<{
|
|
41
|
-
applications: import("@reduxjs/toolkit").EntityState<import("../../types").Application>;
|
|
42
|
-
models: import("@reduxjs/toolkit").EntityState<import("../../types").Model<string>>;
|
|
43
|
-
users: import("@reduxjs/toolkit").EntityState<import("./User.slice").User>;
|
|
44
|
-
articles: import("@reduxjs/toolkit").EntityState<import("./Article.slice").Article>;
|
|
45
|
-
}>;
|
|
46
|
-
form: import("redux-form").FormStateMap;
|
|
47
|
-
toasts: import("@reduxjs/toolkit").EntityState<ToastEntity>;
|
|
48
|
-
}>>;
|
|
49
|
-
export declare const addOne: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToastEntity, "toasts/addOne">, removeOne: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("@reduxjs/toolkit").EntityId, "toasts/removeOne">;
|
|
50
|
-
export {};
|