@uxland/primary-shell 4.2.0 → 4.3.1
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.js +19452 -19117
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1681 -1549
- package/dist/index.umd.cjs.map +1 -1
- package/dist/primary/shell/src/UI/components/shell-header/shell-header.d.ts +1 -0
- package/dist/primary/shell/src/api/api.d.ts +2 -0
- package/dist/primary/shell/src/api/http-client/http-client.d.ts +3 -2
- package/dist/primary/shell/src/api/plugin-busy-manager/plugin-busy-list/component.d.ts +12 -0
- package/dist/primary/shell/src/api/plugin-busy-manager/plugin-busy-list/template.d.ts +3 -0
- package/dist/primary/shell/src/api/plugin-busy-manager/plugin-busy-manager.d.ts +19 -0
- package/dist/primary/shell/src/api/plugin-busy-manager/plugin-busy-manager.test.d.ts +1 -0
- package/dist/primary/shell/src/api/token-manager/token-manager.d.ts +1 -1
- package/dist/primary/shell/src/events.d.ts +1 -0
- package/dist/primary/shell/src/features/exit/bootstrapper.d.ts +2 -0
- package/dist/primary/shell/src/features/exit/handler.d.ts +10 -0
- package/dist/primary/shell/src/features/exit/request.d.ts +4 -0
- package/dist/primary/shell/src/handle-plugins.d.ts +2 -2
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/add/add-async-history-items/validate-add-async-items-command.d.ts +4 -0
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/add/add-history-items/reducer.d.ts +1 -1
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/domain/model.d.ts +3 -0
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-badges/active-filters-badges.d.ts +4 -1
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-header/active-filters-header.d.ts +1 -2
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/filter/common-filters/selectors.d.ts +152 -0
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/filter/utils.d.ts +2 -0
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/list/UI/timeline/activity-history-timeline.d.ts +2 -0
- package/dist/primary/shell/src/internal-plugins/activity-history/handle-views.d.ts +4 -0
- package/dist/primary/shell/src/internal-plugins/activity-history/infrastructure/ioc/container.d.ts +1 -0
- package/dist/primary/shell/src/internal-plugins/activity-history/infrastructure/ioc/types.d.ts +0 -1
- package/dist/primary/shell/src/internal-plugins/activity-history/localization.d.ts +1 -0
- package/dist/primary/shell/src/internal-plugins/activity-history/main.d.ts +0 -1
- package/dist/primary/shell/src/locales.d.ts +4 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/UI/components/index.ts +3 -2
- package/src/UI/components/shell-header/shell-header.ts +5 -0
- package/src/UI/components/shell-header/template.ts +2 -2
- package/src/api/api.ts +10 -3
- package/src/api/broker/factory.ts +1 -1
- package/src/api/http-client/http-client.test.ts +60 -6
- package/src/api/http-client/http-client.ts +17 -10
- package/src/api/plugin-busy-manager/plugin-busy-list/component.ts +19 -0
- package/src/api/plugin-busy-manager/plugin-busy-list/styles.css +20 -0
- package/src/api/plugin-busy-manager/plugin-busy-list/template.ts +13 -0
- package/src/api/plugin-busy-manager/plugin-busy-manager.test.ts +49 -0
- package/src/api/plugin-busy-manager/plugin-busy-manager.ts +38 -0
- package/src/api/token-manager/token-manager.test.ts +0 -12
- package/src/api/token-manager/token-manager.ts +12 -7
- package/src/disposer.ts +0 -1
- package/src/events.ts +1 -0
- package/src/features/bootstrapper.ts +3 -0
- package/src/features/exit/bootstrapper.ts +17 -0
- package/src/features/exit/handler.ts +51 -0
- package/src/features/exit/request.ts +3 -0
- package/src/handle-plugins.ts +7 -6
- package/src/handle-views.ts +4 -1
- package/src/internal-plugins/activity-history/activity-history-item/add/add-async-history-items/handler.ts +2 -0
- package/src/internal-plugins/activity-history/activity-history-item/add/add-async-history-items/validate-add-async-items-command.ts +15 -0
- package/src/internal-plugins/activity-history/activity-history-item/add/add-history-items/reducer.ts +10 -7
- package/src/internal-plugins/activity-history/activity-history-item/domain/model.ts +4 -0
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-badges/active-filters-badges.ts +13 -5
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-badges/template.ts +26 -2
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-header/active-filters-header.ts +5 -8
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-header/template.ts +6 -1
- package/src/internal-plugins/activity-history/activity-history-item/filter/common-filters/selectors.ts +10 -0
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-value/reducer.ts +7 -1
- package/src/internal-plugins/activity-history/activity-history-item/filter/utils.ts +9 -0
- package/src/internal-plugins/activity-history/activity-history-item/list/UI/timeline/activity-history-timeline.ts +30 -0
- package/src/internal-plugins/activity-history/activity-history-item/list/UI/timeline/template.ts +7 -4
- package/src/internal-plugins/activity-history/handle-views.ts +17 -0
- package/src/internal-plugins/activity-history/infrastructure/ioc/container.ts +5 -0
- package/src/internal-plugins/activity-history/infrastructure/ioc/types.ts +0 -1
- package/src/internal-plugins/activity-history/localization.ts +7 -8
- package/src/internal-plugins/activity-history/main.ts +4 -10
- package/src/locales.ts +8 -4
- package/dist/primary/shell/src/internal-plugins/activity-history/utils/get-locale-manager-dependency.d.ts +0 -1
- package/src/internal-plugins/activity-history/utils/get-locale-manager-dependency.ts +0 -7
|
@@ -6,6 +6,7 @@ import { HttpClient } from './http-client/http-client';
|
|
|
6
6
|
import { PrimariaInteractionManager } from './interaction-manager/interaction';
|
|
7
7
|
import { TokenManager } from './token-manager/token-manager';
|
|
8
8
|
import { EcapEventManager } from './ecap-event-manager/ecap-event-manager';
|
|
9
|
+
import { PluginBusyManager } from './plugin-busy-manager/plugin-busy-manager';
|
|
9
10
|
|
|
10
11
|
export interface PrimariaApi extends HarmonixApi {
|
|
11
12
|
httpClient: HttpClient;
|
|
@@ -15,6 +16,7 @@ export interface PrimariaApi extends HarmonixApi {
|
|
|
15
16
|
globalStateManager: PrimariaGlobalStateManager;
|
|
16
17
|
tokenManager: TokenManager;
|
|
17
18
|
ecapEventManager: EcapEventManager;
|
|
19
|
+
pluginBusyManager: PluginBusyManager;
|
|
18
20
|
}
|
|
19
21
|
export declare const PrimariaRegionHost: any;
|
|
20
22
|
/**
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import { TokenManager } from '../token-manager/token-manager';
|
|
3
|
+
import { PrimariaBroker } from '../broker/primaria-broker';
|
|
3
4
|
|
|
4
|
-
export declare const createAxiosInstance: (tokenManager: TokenManager) => import('axios').AxiosInstance;
|
|
5
|
+
export declare const createAxiosInstance: (tokenManager: TokenManager, broker: PrimariaBroker) => import('axios').AxiosInstance;
|
|
5
6
|
export interface HttpClient {
|
|
6
7
|
request<T = any, R = AxiosResponse<T>, D = any>(config: AxiosRequestConfig<D>): Promise<R>;
|
|
7
8
|
}
|
|
8
|
-
export declare const createHttpClient: (tokenManager: TokenManager) => HttpClient;
|
|
9
|
+
export declare const createHttpClient: (tokenManager: TokenManager, broker: PrimariaBroker) => HttpClient;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { PluginBusyTask } from '../plugin-busy-manager';
|
|
3
|
+
|
|
4
|
+
declare const PluginBusyList_base: import('../../..').Constructor<import('../../..').ConfirmMixinBase> & typeof LitElement;
|
|
5
|
+
export declare class PluginBusyList extends PluginBusyList_base {
|
|
6
|
+
static styles: import('lit').CSSResult;
|
|
7
|
+
render(): import('lit').TemplateResult<1>;
|
|
8
|
+
model: {
|
|
9
|
+
busyTasks: PluginBusyTask[];
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface PluginBusyTask {
|
|
2
|
+
taskId: string;
|
|
3
|
+
taskDescription: string;
|
|
4
|
+
}
|
|
5
|
+
export declare abstract class PluginBusyManager {
|
|
6
|
+
abstract addBusyPluginTask(busyTask: PluginBusyTask): void;
|
|
7
|
+
abstract removeBusyPluginTask(taskId: string): any;
|
|
8
|
+
abstract clearAllBusyPlugins(): void;
|
|
9
|
+
abstract isAnyPluginBusy(): boolean;
|
|
10
|
+
abstract getBusyPluginTasks(): PluginBusyTask[];
|
|
11
|
+
}
|
|
12
|
+
export declare class PluginBusyManagerImpl implements PluginBusyManager {
|
|
13
|
+
private busyPluginTasks;
|
|
14
|
+
addBusyPluginTask(busyTask: PluginBusyTask): void;
|
|
15
|
+
removeBusyPluginTask(taskId: string): any;
|
|
16
|
+
isAnyPluginBusy(): boolean;
|
|
17
|
+
clearAllBusyPlugins(): void;
|
|
18
|
+
getBusyPluginTasks(): PluginBusyTask[];
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,7 +2,7 @@ export interface TokenManager {
|
|
|
2
2
|
getToken: () => string;
|
|
3
3
|
refreshToken: () => Promise<string>;
|
|
4
4
|
}
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class TokenManagerImpl implements TokenManager {
|
|
6
6
|
getUrlParams: () => URLSearchParams;
|
|
7
7
|
initToken: () => string;
|
|
8
8
|
getToken: () => string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PrimariaApi } from '../..';
|
|
2
|
+
import { ExitShell } from './request';
|
|
3
|
+
|
|
4
|
+
export declare class ExitShellHandler {
|
|
5
|
+
private api;
|
|
6
|
+
constructor(api: PrimariaApi);
|
|
7
|
+
handle(message: ExitShell): Promise<void>;
|
|
8
|
+
private askForClose;
|
|
9
|
+
private timeout;
|
|
10
|
+
}
|
|
@@ -2,6 +2,6 @@ import { PluginDefinition, Plugin as PluginType } from '@uxland/harmonix';
|
|
|
2
2
|
import { PrimariaApi } from './api/api';
|
|
3
3
|
|
|
4
4
|
export type { PluginDefinition, PluginInfo } from '@uxland/harmonix';
|
|
5
|
-
export declare const bootstrapPlugins: (plugins: PluginDefinition[]) => Promise<
|
|
6
|
-
export declare const disposePlugins: (
|
|
5
|
+
export declare const bootstrapPlugins: (plugins: PluginDefinition[]) => Promise<void>;
|
|
6
|
+
export declare const disposePlugins: () => Promise<void[]>;
|
|
7
7
|
export type Plugin = PluginType<PrimariaApi>;
|
|
@@ -22,6 +22,9 @@ export interface IActivityHistoryItem {
|
|
|
22
22
|
searchPredicate: TSearchActivityHistoryItemPredicate;
|
|
23
23
|
type?: string;
|
|
24
24
|
}
|
|
25
|
+
export interface IActivityHistoryItemWithComponent extends IActivityHistoryItem {
|
|
26
|
+
component: HTMLElement;
|
|
27
|
+
}
|
|
25
28
|
export interface IActivityHistoryItemCollection {
|
|
26
29
|
id: string;
|
|
27
30
|
items: IActivityHistoryItem[];
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
import { PrimariaApi } from '../../../../../../api/api';
|
|
3
|
-
import { IActivityHistoryCustomFilterGroup } from '../../model';
|
|
3
|
+
import { IActivityHistoryCustomFilterGroup, IActivityHistoryFilterGroup } from '../../model';
|
|
4
4
|
|
|
5
5
|
export declare class ActiveFiltersBadges extends LitElement {
|
|
6
6
|
render(): import('lit').TemplateResult<1>;
|
|
7
7
|
static styles: import('lit').CSSResult;
|
|
8
8
|
api: PrimariaApi;
|
|
9
|
+
activityHistoryCommonFiltersSelector: any;
|
|
10
|
+
enabledCommonFilters: IActivityHistoryFilterGroup[];
|
|
9
11
|
enabledFilters: IActivityHistoryCustomFilterGroup[];
|
|
10
12
|
_onDeleteFilterValue(filterGroupId: string, filterId: string, optionId: string, value: boolean): void;
|
|
13
|
+
_onDeleteCommonFilterValue(filterId: string): void;
|
|
11
14
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
-
import { IActivityHistoryCustomFilterGroup } from '../../model';
|
|
3
2
|
|
|
4
3
|
export declare class ActiveFiltersHeader extends LitElement {
|
|
5
4
|
render(): import('lit').TemplateResult<1>;
|
|
6
5
|
static styles: import('lit').CSSResult;
|
|
7
6
|
searchString: string;
|
|
8
|
-
filters: IActivityHistoryCustomFilterGroup[];
|
|
9
7
|
areCustomFiltersActive: boolean;
|
|
8
|
+
areCommonFiltersActive: boolean;
|
|
10
9
|
}
|
|
@@ -90,3 +90,155 @@ export declare const isEnabledCommonFilterSelector: (filterId: string) => ((stat
|
|
|
90
90
|
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
91
91
|
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
92
92
|
};
|
|
93
|
+
export declare const activityHistoryEnabledCommonFiltersSelector: ((state: {
|
|
94
|
+
activityHistoryCollections: {
|
|
95
|
+
busy: import('../../..').IBusyHistoryItem[];
|
|
96
|
+
error: import('../../..').IErrorHistoryItem[];
|
|
97
|
+
collections: Record<string, import('../../..').IActivityHistoryItemCollection>;
|
|
98
|
+
};
|
|
99
|
+
activityHistoryFilters: {
|
|
100
|
+
searchString: string;
|
|
101
|
+
filters: import('..').IActivityHistoryFilterGroup[];
|
|
102
|
+
};
|
|
103
|
+
}) => (import('..').IActivityHistoryCommonFilter | import('..').IActivityHistoryCustomFilter)[]) & {
|
|
104
|
+
clearCache: () => void;
|
|
105
|
+
resultsCount: () => number;
|
|
106
|
+
resetResultsCount: () => void;
|
|
107
|
+
} & {
|
|
108
|
+
resultFunc: (resultFuncArgs_0: import('..').IActivityHistoryCommonFilter[] | import('..').IActivityHistoryCustomFilter[]) => (import('..').IActivityHistoryCommonFilter | import('..').IActivityHistoryCustomFilter)[];
|
|
109
|
+
memoizedResultFunc: ((resultFuncArgs_0: import('..').IActivityHistoryCommonFilter[] | import('..').IActivityHistoryCustomFilter[]) => (import('..').IActivityHistoryCommonFilter | import('..').IActivityHistoryCustomFilter)[]) & {
|
|
110
|
+
clearCache: () => void;
|
|
111
|
+
resultsCount: () => number;
|
|
112
|
+
resetResultsCount: () => void;
|
|
113
|
+
};
|
|
114
|
+
lastResult: () => (import('..').IActivityHistoryCommonFilter | import('..').IActivityHistoryCustomFilter)[];
|
|
115
|
+
dependencies: [((state: {
|
|
116
|
+
activityHistoryCollections: {
|
|
117
|
+
busy: import('../../..').IBusyHistoryItem[];
|
|
118
|
+
error: import('../../..').IErrorHistoryItem[];
|
|
119
|
+
collections: Record<string, import('../../..').IActivityHistoryItemCollection>;
|
|
120
|
+
};
|
|
121
|
+
activityHistoryFilters: {
|
|
122
|
+
searchString: string;
|
|
123
|
+
filters: import('..').IActivityHistoryFilterGroup[];
|
|
124
|
+
};
|
|
125
|
+
}) => import('..').IActivityHistoryCommonFilter[] | import('..').IActivityHistoryCustomFilter[]) & {
|
|
126
|
+
clearCache: () => void;
|
|
127
|
+
resultsCount: () => number;
|
|
128
|
+
resetResultsCount: () => void;
|
|
129
|
+
} & {
|
|
130
|
+
resultFunc: (resultFuncArgs_0: import('..').IActivityHistoryFilterGroup[]) => import('..').IActivityHistoryCommonFilter[] | import('..').IActivityHistoryCustomFilter[];
|
|
131
|
+
memoizedResultFunc: ((resultFuncArgs_0: import('..').IActivityHistoryFilterGroup[]) => import('..').IActivityHistoryCommonFilter[] | import('..').IActivityHistoryCustomFilter[]) & {
|
|
132
|
+
clearCache: () => void;
|
|
133
|
+
resultsCount: () => number;
|
|
134
|
+
resetResultsCount: () => void;
|
|
135
|
+
};
|
|
136
|
+
lastResult: () => import('..').IActivityHistoryCommonFilter[] | import('..').IActivityHistoryCustomFilter[];
|
|
137
|
+
dependencies: [(state: import('../../../infrastructure/state/store').RootState) => import('..').IActivityHistoryFilterGroup[]];
|
|
138
|
+
recomputations: () => number;
|
|
139
|
+
resetRecomputations: () => void;
|
|
140
|
+
dependencyRecomputations: () => number;
|
|
141
|
+
resetDependencyRecomputations: () => void;
|
|
142
|
+
} & {
|
|
143
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
144
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
145
|
+
}];
|
|
146
|
+
recomputations: () => number;
|
|
147
|
+
resetRecomputations: () => void;
|
|
148
|
+
dependencyRecomputations: () => number;
|
|
149
|
+
resetDependencyRecomputations: () => void;
|
|
150
|
+
} & {
|
|
151
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
152
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
153
|
+
};
|
|
154
|
+
export declare const areCommonFiltersActive: ((state: {
|
|
155
|
+
activityHistoryCollections: {
|
|
156
|
+
busy: import('../../..').IBusyHistoryItem[];
|
|
157
|
+
error: import('../../..').IErrorHistoryItem[];
|
|
158
|
+
collections: Record<string, import('../../..').IActivityHistoryItemCollection>;
|
|
159
|
+
};
|
|
160
|
+
activityHistoryFilters: {
|
|
161
|
+
searchString: string;
|
|
162
|
+
filters: import('..').IActivityHistoryFilterGroup[];
|
|
163
|
+
};
|
|
164
|
+
}) => boolean) & {
|
|
165
|
+
clearCache: () => void;
|
|
166
|
+
resultsCount: () => number;
|
|
167
|
+
resetResultsCount: () => void;
|
|
168
|
+
} & {
|
|
169
|
+
resultFunc: (resultFuncArgs_0: (import('..').IActivityHistoryCommonFilter | import('..').IActivityHistoryCustomFilter)[]) => boolean;
|
|
170
|
+
memoizedResultFunc: ((resultFuncArgs_0: (import('..').IActivityHistoryCommonFilter | import('..').IActivityHistoryCustomFilter)[]) => boolean) & {
|
|
171
|
+
clearCache: () => void;
|
|
172
|
+
resultsCount: () => number;
|
|
173
|
+
resetResultsCount: () => void;
|
|
174
|
+
};
|
|
175
|
+
lastResult: () => boolean;
|
|
176
|
+
dependencies: [((state: {
|
|
177
|
+
activityHistoryCollections: {
|
|
178
|
+
busy: import('../../..').IBusyHistoryItem[];
|
|
179
|
+
error: import('../../..').IErrorHistoryItem[];
|
|
180
|
+
collections: Record<string, import('../../..').IActivityHistoryItemCollection>;
|
|
181
|
+
};
|
|
182
|
+
activityHistoryFilters: {
|
|
183
|
+
searchString: string;
|
|
184
|
+
filters: import('..').IActivityHistoryFilterGroup[];
|
|
185
|
+
};
|
|
186
|
+
}) => (import('..').IActivityHistoryCommonFilter | import('..').IActivityHistoryCustomFilter)[]) & {
|
|
187
|
+
clearCache: () => void;
|
|
188
|
+
resultsCount: () => number;
|
|
189
|
+
resetResultsCount: () => void;
|
|
190
|
+
} & {
|
|
191
|
+
resultFunc: (resultFuncArgs_0: import('..').IActivityHistoryCommonFilter[] | import('..').IActivityHistoryCustomFilter[]) => (import('..').IActivityHistoryCommonFilter | import('..').IActivityHistoryCustomFilter)[];
|
|
192
|
+
memoizedResultFunc: ((resultFuncArgs_0: import('..').IActivityHistoryCommonFilter[] | import('..').IActivityHistoryCustomFilter[]) => (import('..').IActivityHistoryCommonFilter | import('..').IActivityHistoryCustomFilter)[]) & {
|
|
193
|
+
clearCache: () => void;
|
|
194
|
+
resultsCount: () => number;
|
|
195
|
+
resetResultsCount: () => void;
|
|
196
|
+
};
|
|
197
|
+
lastResult: () => (import('..').IActivityHistoryCommonFilter | import('..').IActivityHistoryCustomFilter)[];
|
|
198
|
+
dependencies: [((state: {
|
|
199
|
+
activityHistoryCollections: {
|
|
200
|
+
busy: import('../../..').IBusyHistoryItem[];
|
|
201
|
+
error: import('../../..').IErrorHistoryItem[];
|
|
202
|
+
collections: Record<string, import('../../..').IActivityHistoryItemCollection>;
|
|
203
|
+
};
|
|
204
|
+
activityHistoryFilters: {
|
|
205
|
+
searchString: string;
|
|
206
|
+
filters: import('..').IActivityHistoryFilterGroup[];
|
|
207
|
+
};
|
|
208
|
+
}) => import('..').IActivityHistoryCommonFilter[] | import('..').IActivityHistoryCustomFilter[]) & {
|
|
209
|
+
clearCache: () => void;
|
|
210
|
+
resultsCount: () => number;
|
|
211
|
+
resetResultsCount: () => void;
|
|
212
|
+
} & {
|
|
213
|
+
resultFunc: (resultFuncArgs_0: import('..').IActivityHistoryFilterGroup[]) => import('..').IActivityHistoryCommonFilter[] | import('..').IActivityHistoryCustomFilter[];
|
|
214
|
+
memoizedResultFunc: ((resultFuncArgs_0: import('..').IActivityHistoryFilterGroup[]) => import('..').IActivityHistoryCommonFilter[] | import('..').IActivityHistoryCustomFilter[]) & {
|
|
215
|
+
clearCache: () => void;
|
|
216
|
+
resultsCount: () => number;
|
|
217
|
+
resetResultsCount: () => void;
|
|
218
|
+
};
|
|
219
|
+
lastResult: () => import('..').IActivityHistoryCommonFilter[] | import('..').IActivityHistoryCustomFilter[];
|
|
220
|
+
dependencies: [(state: import('../../../infrastructure/state/store').RootState) => import('..').IActivityHistoryFilterGroup[]];
|
|
221
|
+
recomputations: () => number;
|
|
222
|
+
resetRecomputations: () => void;
|
|
223
|
+
dependencyRecomputations: () => number;
|
|
224
|
+
resetDependencyRecomputations: () => void;
|
|
225
|
+
} & {
|
|
226
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
227
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
228
|
+
}];
|
|
229
|
+
recomputations: () => number;
|
|
230
|
+
resetRecomputations: () => void;
|
|
231
|
+
dependencyRecomputations: () => number;
|
|
232
|
+
resetDependencyRecomputations: () => void;
|
|
233
|
+
} & {
|
|
234
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
235
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
236
|
+
}];
|
|
237
|
+
recomputations: () => number;
|
|
238
|
+
resetRecomputations: () => void;
|
|
239
|
+
dependencyRecomputations: () => number;
|
|
240
|
+
resetDependencyRecomputations: () => void;
|
|
241
|
+
} & {
|
|
242
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
243
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
244
|
+
};
|
|
@@ -10,6 +10,8 @@ export declare class ActivityHistoryTimeline extends LitElement {
|
|
|
10
10
|
searchString: string;
|
|
11
11
|
_hasUpdatedOnce: boolean;
|
|
12
12
|
firstUpdated(): void;
|
|
13
|
+
updated(changedProperties: any): Promise<void>;
|
|
14
|
+
prepareComponents(historyGroups: any): Promise<void>;
|
|
13
15
|
highlightMatch(text: string, searchString: string): string;
|
|
14
16
|
_scrollIntoDate(selectedDate: number): void;
|
|
15
17
|
}
|
package/dist/primary/shell/src/internal-plugins/activity-history/infrastructure/ioc/container.d.ts
CHANGED
|
@@ -5,3 +5,4 @@ declare const container: Container;
|
|
|
5
5
|
declare const lazyInject: (serviceIdentifier: string | symbol | import("inversify").interfaces.Newable<any> | import("inversify").interfaces.Abstract<any>) => (proto: any, key: string) => void;
|
|
6
6
|
export { container, lazyInject };
|
|
7
7
|
export declare const bindDeps: (api: PrimariaApi) => void;
|
|
8
|
+
export declare const unbindDeps: () => void;
|
|
@@ -17,6 +17,7 @@ export declare const locales: {
|
|
|
17
17
|
create: string;
|
|
18
18
|
toggleMenuClose: string;
|
|
19
19
|
toggleMenuOpen: string;
|
|
20
|
+
askExit: string;
|
|
20
21
|
};
|
|
21
22
|
clinicalMonitoring: {
|
|
22
23
|
title: string;
|
|
@@ -26,6 +27,9 @@ export declare const locales: {
|
|
|
26
27
|
role: string;
|
|
27
28
|
speciality: string;
|
|
28
29
|
};
|
|
30
|
+
busyManager: {
|
|
31
|
+
title: string;
|
|
32
|
+
};
|
|
29
33
|
};
|
|
30
34
|
};
|
|
31
35
|
};
|