@uxland/primary-shell 7.1.3 → 7.2.0-rc.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/index.css +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9975 -10055
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +210 -210
- package/dist/index.umd.cjs.map +1 -1
- package/dist/primary/shell/src/UI/components/communication-action-menu/communication-action-menu.d.ts +0 -1
- package/dist/primary/shell/src/UI/components/communication-action-menu/template.d.ts +0 -1
- package/dist/primary/shell/src/UI/components/error-view/component.d.ts +0 -1
- package/dist/primary/shell/src/UI/components/error-view/template.d.ts +0 -1
- package/dist/primary/shell/src/UI/components/poc-events-ecap/poc-events-ecap.d.ts +0 -1
- package/dist/primary/shell/src/UI/components/primaria-accordion/primaria-accordion.d.ts +0 -1
- package/dist/primary/shell/src/UI/components/primaria-shell/primaria-shell.d.ts +0 -1
- package/dist/primary/shell/src/UI/components/primaria-shell/shell-header/header-divider/header-divider.d.ts +0 -1
- package/dist/primary/shell/src/UI/components/primaria-shell/shell-header/header-divider/template.d.ts +0 -1
- package/dist/primary/shell/src/UI/components/primaria-shell/shell-header/shell-header.d.ts +0 -1
- package/dist/primary/shell/src/UI/components/primaria-shell/shell-header/template.d.ts +0 -1
- package/dist/primary/shell/src/UI/components/primaria-shell/template.d.ts +0 -1
- package/dist/primary/shell/src/UI/components/quick-actions-menu/quick-actions-menu.d.ts +0 -1
- package/dist/primary/shell/src/UI/components/quick-actions-menu/template.d.ts +0 -1
- package/dist/primary/shell/src/UI/shared-components/primaria-character-limit-badge/primaria-character-limit-badge.d.ts +0 -1
- package/dist/primary/shell/src/UI/shared-components/primaria-content-switcher/primaria-content-switcher.d.ts +0 -1
- package/dist/primary/shell/src/UI/shared-components/primaria-nav-item/template.d.ts +0 -1
- package/dist/primary/shell/src/UI/shared-components/primaria-nav-tree-menu/primaria-nav-tree-menu.d.ts +0 -1
- package/dist/primary/shell/src/UI/shared-components/primaria-nav-tree-menu/template.d.ts +0 -1
- package/dist/primary/shell/src/UI/shared-components/primaria-text-editor/primaria-rich-text-editor.d.ts +0 -1
- package/dist/primary/shell/src/UI/shared-components/quick-action-item/quick-action-item.d.ts +0 -1
- package/dist/primary/shell/src/UI/shared-components/quick-action-item/template.d.ts +0 -1
- package/dist/primary/shell/src/api/api.d.ts +0 -1
- package/dist/primary/shell/src/api/broker/factory.d.ts +0 -1
- package/dist/primary/shell/src/api/broker/primaria-broker.d.ts +0 -1
- package/dist/primary/shell/src/api/global-state/global-state.d.ts +0 -1
- package/dist/primary/shell/src/api/http-client/http-client.d.ts +0 -1
- package/dist/primary/shell/src/api/interaction-service/confirmation-message.d.ts +0 -1
- package/dist/primary/shell/src/api/interaction-service/interaction-service-impl.d.ts +0 -1
- package/dist/primary/shell/src/api/notification-service/notification.service-impl.d.ts +0 -1
- package/dist/primary/shell/src/api/pdf-viewer-manager/pdf-viewer-manager.d.ts +0 -1
- package/dist/primary/shell/src/api/pdf-viewer-manager/pdf-visor/pdf-selector/pdf-selector.d.ts +0 -1
- package/dist/primary/shell/src/api/pdf-viewer-manager/pdf-visor/pdf-selector/template.d.ts +0 -1
- package/dist/primary/shell/src/api/pdf-viewer-manager/pdf-visor/pdf-visor.d.ts +0 -1
- package/dist/primary/shell/src/api/plugin-busy-manager/plugin-busy-list/component.d.ts +0 -1
- package/dist/primary/shell/src/api/plugin-busy-manager/plugin-busy-list/template.d.ts +0 -1
- package/dist/primary/shell/src/api/plugin-busy-manager/plugin-busy-manager.d.ts +0 -1
- package/dist/primary/shell/src/api/region-manager/region-manager.d.ts +0 -1
- package/dist/primary/shell/src/disposer.d.ts +0 -1
- package/dist/primary/shell/src/features/bootstrapper.d.ts +0 -1
- package/dist/primary/shell/src/features/exit/bootstrapper.d.ts +0 -1
- package/dist/primary/shell/src/features/exit/handler.d.ts +0 -1
- package/dist/primary/shell/src/features/exit/request.d.ts +0 -1
- package/dist/primary/shell/src/features/get-patient-cip/action.d.ts +0 -1
- package/dist/primary/shell/src/features/get-user-info/backend-adapter.d.ts +0 -1
- package/dist/primary/shell/src/features/get-user-info/bootstrapper.d.ts +0 -1
- package/dist/primary/shell/src/features/get-user-info/handler.d.ts +0 -1
- package/dist/primary/shell/src/features/get-user-info/request.d.ts +0 -1
- package/dist/primary/shell/src/features/utils.d.ts +0 -1
- package/dist/primary/shell/src/features/visit/finalize-visit/bootstrapper.d.ts +0 -1
- package/dist/primary/shell/src/features/visit/finalize-visit/component/finalize-visit-button.d.ts +0 -1
- package/dist/primary/shell/src/features/visit/finalize-visit/component/template.d.ts +0 -1
- package/dist/primary/shell/src/features/visit/finalize-visit/handler.d.ts +0 -1
- package/dist/primary/shell/src/features/visit/get-visit-id/bootstrapper.d.ts +0 -1
- package/dist/primary/shell/src/features/visit/get-visit-id/handler.d.ts +0 -1
- package/dist/primary/shell/src/handle-plugins.d.ts +0 -1
- package/dist/primary/shell/src/index.d.ts +0 -1
- package/dist/primary/shell/src/infrastructure/ioc/container.d.ts +0 -1
- package/dist/primary/shell/src/locales.d.ts +0 -1
- package/package.json +12 -15
- package/src/index.ts +1 -0
- package/src/styles.css +7 -0
- package/dist/style.css +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { IRegion } from '@uxland/regions';
|
|
2
2
|
import { IUserInfo } from '../../../../features/get-user-info/model';
|
|
3
|
-
|
|
4
3
|
declare const PrimariaShellHeader_base: any;
|
|
5
4
|
export declare class PrimariaShellHeader extends PrimariaShellHeader_base {
|
|
6
5
|
render(): import('lit').TemplateResult<1>;
|
|
@@ -9,7 +9,6 @@ import { PdfViewerManager } from './pdf-viewer-manager/pdf-viewer-manager';
|
|
|
9
9
|
import { PluginBusyManager } from './plugin-busy-manager/plugin-busy-manager';
|
|
10
10
|
import { PrimariaRegionManager } from './region-manager/region-manager';
|
|
11
11
|
import { TokenManager } from './token-manager/token-manager';
|
|
12
|
-
|
|
13
12
|
export interface PrimariaApi extends HarmonixApi {
|
|
14
13
|
httpClient: HttpClient;
|
|
15
14
|
interactionService: PrimariaInteractionService;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import { TokenManager } from '../token-manager/token-manager';
|
|
3
3
|
import { PrimariaBroker } from '../broker/primaria-broker';
|
|
4
|
-
|
|
5
4
|
export declare class MissingMpidHeaderError extends Error {
|
|
6
5
|
constructor(message: string);
|
|
7
6
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ConfirmationOptions, ConfirmationResult, ConfirmComponentUI, PrimariaInteractionService } from './interaction-service';
|
|
2
|
-
|
|
3
2
|
export declare class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
|
|
4
3
|
confirm<TData = undefined, TResult = undefined>(data: TData | undefined, componentUI: ConfirmComponentUI<TData, TResult>, options?: ConfirmationOptions | undefined): Promise<ConfirmationResult<TResult | undefined>>;
|
|
5
4
|
confirmMessage(message: string, options?: ConfirmationOptions | undefined): Promise<ConfirmationResult>;
|
package/dist/primary/shell/src/api/pdf-viewer-manager/pdf-visor/pdf-selector/pdf-selector.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
import { IPdfDocument } from '../../../../../src/api/pdf-viewer-manager/pdf-viewer-manager';
|
|
3
|
-
|
|
4
3
|
export declare class PdfSelector extends LitElement {
|
|
5
4
|
render(): import('lit').TemplateResult<1>;
|
|
6
5
|
static styles: import('lit').CSSResult;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
import { PrimariaApi } from '../../../api/api';
|
|
3
3
|
import { IPdfDocument } from '../../../api/pdf-viewer-manager/pdf-viewer-manager';
|
|
4
|
-
|
|
5
4
|
export declare class PdfVisor extends LitElement {
|
|
6
5
|
static styles: import('lit').CSSResult;
|
|
7
6
|
api: PrimariaApi;
|
|
@@ -2,7 +2,6 @@ import { HarmonixRegionManager, IRegionManager, HarmonixViewDefinition } from '@
|
|
|
2
2
|
import { PluginInfo } from '../../handle-plugins';
|
|
3
3
|
import { shellRegions, clinicalMonitoringRegions } from './regions';
|
|
4
4
|
import { PrimariaBroker } from '../broker/primaria-broker';
|
|
5
|
-
|
|
6
5
|
export interface PrimariaRegionManager extends HarmonixRegionManager {
|
|
7
6
|
regions: {
|
|
8
7
|
shell: typeof shellRegions;
|
|
@@ -2,7 +2,6 @@ import { GetUserInfo } from './request';
|
|
|
2
2
|
import { IUserInfo } from './model';
|
|
3
3
|
import { UserInfoBackendAdapter } from './backend-adapter';
|
|
4
4
|
import { PrimariaApi } from '../../api/api';
|
|
5
|
-
|
|
6
5
|
export declare class GetUserInfoHandler {
|
|
7
6
|
private api;
|
|
8
7
|
private backendAdapter;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Container, interfaces } from 'inversify';
|
|
2
2
|
import { IRequestClass } from '..';
|
|
3
3
|
import { PrimariaApi } from '../api/api';
|
|
4
|
-
|
|
5
4
|
export declare const registerRequest: (api: PrimariaApi, container: Container) => (command: IRequestClass<any>, handler: interfaces.Newable<any>) => {
|
|
6
5
|
dispose: () => void;
|
|
7
6
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PluginDefinition, Plugin as PluginType } from '@uxland/harmonix';
|
|
2
2
|
import { PrimariaApi } from './api/api';
|
|
3
|
-
|
|
4
3
|
export type { PluginDefinition, PluginInfo } from '@uxland/harmonix';
|
|
5
4
|
export declare const bootstrapPlugins: (plugins: PluginDefinition[], userRole?: string) => Promise<void>;
|
|
6
5
|
export declare const disposePlugins: () => Promise<void[]>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Container } from 'inversify';
|
|
2
|
-
|
|
3
2
|
declare const container: Container;
|
|
4
3
|
declare const lazyInject: (serviceIdentifier: string | symbol | import("inversify").interfaces.Newable<any> | import("inversify").interfaces.Abstract<any>) => (proto: any, key: string) => void;
|
|
5
4
|
export { container, lazyInject };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uxland/primary-shell",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0-rc.0",
|
|
4
4
|
"description": "Primaria Shell",
|
|
5
5
|
"author": "UXLand <dev@uxland.es>",
|
|
6
6
|
"homepage": "https://github.com/uxland/harmonix/tree/app#readme",
|
|
@@ -9,10 +9,7 @@
|
|
|
9
9
|
"main": "src/index.ts",
|
|
10
10
|
"types": "dist/index.d.ts",
|
|
11
11
|
"module": "dist/index.js",
|
|
12
|
-
"files": [
|
|
13
|
-
"dist",
|
|
14
|
-
"src"
|
|
15
|
-
],
|
|
12
|
+
"files": ["dist", "src"],
|
|
16
13
|
"publishConfig": {
|
|
17
14
|
"access": "public",
|
|
18
15
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -21,6 +18,14 @@
|
|
|
21
18
|
"type": "git",
|
|
22
19
|
"url": "git+https://github.com/uxland/harmonix.git"
|
|
23
20
|
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"serve": "vite",
|
|
23
|
+
"start": "ng serve --host 0.0.0.0",
|
|
24
|
+
"build": "vite build",
|
|
25
|
+
"preview": "vite preview",
|
|
26
|
+
"publish-rc": "npm publish --tag rc",
|
|
27
|
+
"test": "vitest"
|
|
28
|
+
},
|
|
24
29
|
"bugs": {
|
|
25
30
|
"url": "https://github.com/uxland/harmonix/issues"
|
|
26
31
|
},
|
|
@@ -48,14 +53,6 @@
|
|
|
48
53
|
"reflect-metadata": "^0.2.2",
|
|
49
54
|
"tslib": "^2.3.0",
|
|
50
55
|
"uxl-quill": "^1.0.1",
|
|
51
|
-
"vite": "^
|
|
52
|
-
},
|
|
53
|
-
"scripts": {
|
|
54
|
-
"serve": "vite",
|
|
55
|
-
"start": "ng serve --host 0.0.0.0",
|
|
56
|
-
"build": "vite build",
|
|
57
|
-
"preview": "vite preview",
|
|
58
|
-
"publish-rc": "npm publish --tag rc",
|
|
59
|
-
"test": "vitest"
|
|
56
|
+
"vite": "^7.0.0"
|
|
60
57
|
}
|
|
61
|
-
}
|
|
58
|
+
}
|
package/src/index.ts
CHANGED