@uxland/primary-shell 7.20.0 → 7.21.0
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/{component-D0BI_Ste.js → component-DhiYlRUr.js} +2 -2
- package/dist/{component-D0BI_Ste.js.map → component-DhiYlRUr.js.map} +1 -1
- package/dist/{index-BClgiJgh.js → index-DFUx37wx.js} +353 -321
- package/dist/index-DFUx37wx.js.map +1 -0
- package/dist/index.js +14 -13
- package/dist/index.umd.cjs +16 -18
- package/dist/index.umd.cjs.map +1 -1
- package/dist/primary/shell/src/api/broker/broker-events.d.ts +12 -2
- package/dist/primary/shell/src/api/region-manager/region-manager.d.ts +2 -1
- package/dist/primary/shell/src/api/region-manager/regions.d.ts +4 -1
- package/package.json +1 -1
- package/src/api/broker/broker-events.ts +12 -2
- package/src/api/region-manager/region-manager.ts +3 -1
- package/src/api/region-manager/regions.ts +6 -1
- package/dist/index-BClgiJgh.js.map +0 -1
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Diccionari centralitzat d'events del broker.
|
|
3
|
+
* Events agrupats per plugin/iniciativa per facilitar l'organització i escalabilitat.
|
|
3
4
|
*/
|
|
4
5
|
export declare const BROKER_EVENTS: {
|
|
5
|
-
readonly
|
|
6
|
-
|
|
6
|
+
readonly activityHistory: {
|
|
7
|
+
readonly refreshDataRequested: "refresh_history_data_requested";
|
|
8
|
+
readonly errorLoadingData: "error_loading_activity_history_data";
|
|
9
|
+
readonly searched: "activity_history_searched";
|
|
10
|
+
readonly filtersCleaned: "activity_history_filters_cleaned";
|
|
11
|
+
readonly diagnosticFilterDeactivated: "activity_history_diagnostic_filter_deactivated";
|
|
12
|
+
readonly injectAsyncHistoryItemsRequest: "inject_async_history_items_request";
|
|
13
|
+
readonly addHistoryItemRequest: "add_history_item_request";
|
|
14
|
+
readonly addHistoryItemsRequest: "add_history_items_request";
|
|
15
|
+
readonly updateHistoryItemRequest: "update_history_item_request";
|
|
16
|
+
};
|
|
7
17
|
};
|
|
8
18
|
export type BrokerEvents = typeof BROKER_EVENTS;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { HarmonixRegionManager, IRegionManager, HarmonixViewDefinition } from '@uxland/harmonix';
|
|
2
2
|
import { PluginInfo } from '../../handle-plugins';
|
|
3
|
-
import { shellRegions, clinicalMonitoringRegions } from './regions';
|
|
3
|
+
import { shellRegions, clinicalMonitoringRegions, activityHistoryRegions } from './regions';
|
|
4
4
|
import { PrimariaBroker } from '../broker/primaria-broker';
|
|
5
5
|
export interface PrimariaRegionManager extends HarmonixRegionManager {
|
|
6
6
|
regions: {
|
|
7
7
|
shell: typeof shellRegions;
|
|
8
8
|
clinicalMonitoring: typeof clinicalMonitoringRegions;
|
|
9
|
+
activityHistory: typeof activityHistoryRegions;
|
|
9
10
|
};
|
|
10
11
|
registerQuickAction(view: HarmonixViewDefinition): Promise<void>;
|
|
11
12
|
registerNavigationMenu(view: HarmonixViewDefinition): Promise<void>;
|
|
@@ -15,4 +15,7 @@ export declare const clinicalMonitoringRegions: {
|
|
|
15
15
|
header: string;
|
|
16
16
|
content: string;
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export declare const activityHistoryRegions: {
|
|
19
|
+
customFilters: string;
|
|
20
|
+
};
|
|
21
|
+
export type PrimariaRegionNames = (typeof shellRegions)[keyof typeof shellRegions] | (typeof clinicalMonitoringRegions)[keyof typeof clinicalMonitoringRegions] | (typeof activityHistoryRegions)[keyof typeof activityHistoryRegions];
|
package/package.json
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Diccionari centralitzat d'events del broker.
|
|
3
|
+
* Events agrupats per plugin/iniciativa per facilitar l'organització i escalabilitat.
|
|
3
4
|
*/
|
|
4
5
|
export const BROKER_EVENTS = {
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
activityHistory: {
|
|
7
|
+
refreshDataRequested: "refresh_history_data_requested",
|
|
8
|
+
errorLoadingData: "error_loading_activity_history_data",
|
|
9
|
+
searched: "activity_history_searched",
|
|
10
|
+
filtersCleaned: "activity_history_filters_cleaned",
|
|
11
|
+
diagnosticFilterDeactivated: "activity_history_diagnostic_filter_deactivated",
|
|
12
|
+
injectAsyncHistoryItemsRequest: "inject_async_history_items_request",
|
|
13
|
+
addHistoryItemRequest: "add_history_item_request",
|
|
14
|
+
addHistoryItemsRequest: "add_history_items_request",
|
|
15
|
+
updateHistoryItemRequest: "update_history_item_request",
|
|
16
|
+
},
|
|
7
17
|
} as const;
|
|
8
18
|
|
|
9
19
|
export type BrokerEvents = typeof BROKER_EVENTS;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HarmonixRegionManager, IRegionManager, HarmonixViewDefinition } from "@uxland/harmonix";
|
|
2
2
|
import { PluginInfo } from "../../handle-plugins";
|
|
3
3
|
import { IRegion } from "@uxland/regions";
|
|
4
|
-
import { shellRegions, clinicalMonitoringRegions } from "./regions";
|
|
4
|
+
import { shellRegions, clinicalMonitoringRegions, activityHistoryRegions } from "./regions";
|
|
5
5
|
import { PrimariaBroker } from "../broker/primaria-broker";
|
|
6
6
|
import { shellEvents } from "../../events";
|
|
7
7
|
|
|
@@ -9,6 +9,7 @@ export interface PrimariaRegionManager extends HarmonixRegionManager {
|
|
|
9
9
|
regions: {
|
|
10
10
|
shell: typeof shellRegions;
|
|
11
11
|
clinicalMonitoring: typeof clinicalMonitoringRegions;
|
|
12
|
+
activityHistory: typeof activityHistoryRegions;
|
|
12
13
|
};
|
|
13
14
|
registerQuickAction(view: HarmonixViewDefinition): Promise<void>;
|
|
14
15
|
registerNavigationMenu(view: HarmonixViewDefinition): Promise<void>;
|
|
@@ -22,6 +23,7 @@ class RegionManagerProxy implements PrimariaRegionManager {
|
|
|
22
23
|
regions = {
|
|
23
24
|
shell: shellRegions,
|
|
24
25
|
clinicalMonitoring: clinicalMonitoringRegions,
|
|
26
|
+
activityHistory: activityHistoryRegions,
|
|
25
27
|
};
|
|
26
28
|
|
|
27
29
|
constructor(
|
|
@@ -17,6 +17,11 @@ export const clinicalMonitoringRegions = {
|
|
|
17
17
|
content: "clinical-monitoring-content-widgets-region",
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
+
export const activityHistoryRegions = {
|
|
21
|
+
customFilters: "clinical-monitoring-activity-history-filters-region",
|
|
22
|
+
};
|
|
23
|
+
|
|
20
24
|
export type PrimariaRegionNames =
|
|
21
25
|
| (typeof shellRegions)[keyof typeof shellRegions]
|
|
22
|
-
| (typeof clinicalMonitoringRegions)[keyof typeof clinicalMonitoringRegions]
|
|
26
|
+
| (typeof clinicalMonitoringRegions)[keyof typeof clinicalMonitoringRegions]
|
|
27
|
+
| (typeof activityHistoryRegions)[keyof typeof activityHistoryRegions];
|