@uxland/primary-shell 8.0.0-rc.0 → 8.0.0-rc.2
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-BQj4158z.js +68 -0
- package/dist/component-BQj4158z.js.map +1 -0
- package/dist/{index-8n9_rIYI.js → index-BwN0QusL.js} +19320 -19795
- package/dist/index-BwN0QusL.js.map +1 -0
- package/dist/index.js +28 -17
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +2667 -2694
- package/dist/index.umd.cjs.map +1 -1
- package/dist/{plugin-B5E6LZ4X.js → plugin-BE23BSP6.js} +5817 -5685
- package/dist/plugin-BE23BSP6.js.map +1 -0
- package/dist/primary/shell/src/UI/components/clinical-pathways-action-menu/clinical-pathways-action-menu.d.ts +4 -12
- package/dist/primary/shell/src/UI/components/communication-action-menu/communication-action-menu.d.ts +4 -12
- package/dist/primary/shell/src/UI/components/petitioner-action-menu/petitioner-action-menu.d.ts +4 -12
- package/dist/primary/shell/src/UI/components/sidenav-action-menu/sidenav-action-menu.d.ts +27 -0
- package/dist/primary/shell/src/UI/components/sidenav-action-menu/template.d.ts +2 -0
- package/dist/primary/shell/src/UI/shared-components/primaria-text-editor/primaria-rich-text-editor.d.ts +7 -1
- package/dist/primary/shell/src/api/broker/broker-events.d.ts +15 -0
- package/dist/primary/shell/src/api/broker/broker-requests.d.ts +20 -0
- package/dist/primary/shell/src/api/broker/primaria-broker.d.ts +4 -0
- package/dist/primary/shell/src/api/ecap-event-manager/ecap-event-manager.d.ts +2 -2
- package/dist/primary/shell/src/api/import-data-manager/component/component.d.ts +1 -0
- package/dist/primary/shell/src/api/region-manager/region-manager.d.ts +10 -3
- package/dist/primary/shell/src/api/region-manager/remove-view-idempotency.test.d.ts +1 -0
- package/dist/primary/shell/src/disposer.d.ts +1 -1
- package/dist/primary/shell/src/features/bootstrapper.d.ts +1 -1
- package/dist/primary/shell/src/features/exit/handler.d.ts +12 -0
- package/dist/primary/shell/src/features/get-user-info/backend-adapter.d.ts +4 -2
- package/dist/primary/shell/src/features/get-user-info/pds-token.d.ts +26 -0
- package/dist/primary/shell/src/features/get-visi-id/action.d.ts +2 -0
- package/dist/primary/shell/src/index.d.ts +5 -0
- package/dist/primary/shell/src/locales.d.ts +1 -0
- package/package.json +5 -8
- package/src/UI/components/clinical-pathways-action-menu/clinical-pathways-action-menu.ts +6 -41
- package/src/UI/components/communication-action-menu/communication-action-menu.ts +6 -41
- package/src/UI/components/petitioner-action-menu/petitioner-action-menu.ts +6 -41
- package/src/UI/components/primaria-shell/primaria-shell.ts +3 -1
- package/src/UI/components/sidenav-action-menu/sidenav-action-menu.ts +62 -0
- package/src/UI/components/{petitioner-action-menu → sidenav-action-menu}/template.ts +3 -3
- package/src/UI/internal-views/doctor-nav-menu.ts +9 -2
- package/src/UI/shared-components/bootstrapper.ts +3 -1
- package/src/UI/shared-components/primaria-nav-item/primaria-nav-item.ts +3 -1
- package/src/UI/shared-components/primaria-text-editor/primaria-rich-text-editor.ts +34 -21
- package/src/api/activity-monitor/activity-monitor.test.ts +1 -1
- package/src/api/broker/broker-events.ts +9 -0
- package/src/api/broker/broker-requests.ts +20 -0
- package/src/api/broker/factory.ts +2 -0
- package/src/api/broker/primaria-broker.ts +4 -0
- package/src/api/ecap-event-manager/ecap-event-manager.test.ts +12 -4
- package/src/api/ecap-event-manager/ecap-event-manager.ts +5 -1
- package/src/api/http-client/http-client.test.ts +12 -31
- package/src/api/import-data-manager/component/component.ts +3 -0
- package/src/api/import-data-manager/component/styles.css +25 -32
- package/src/api/import-data-manager/component/template.ts +16 -0
- package/src/api/import-data-manager/import-data-manager-impl.test.ts +2 -0
- package/src/api/interaction-service/interaction-service-impl.tsx +19 -8
- package/src/api/localization/localization.ts +44 -40
- package/src/api/notification-service/notification-service-impl.test.ts +2 -1
- package/src/api/region-manager/region-manager.test.ts +112 -3
- package/src/api/region-manager/region-manager.ts +85 -10
- package/src/api/region-manager/remove-view-idempotency.test.ts +98 -0
- package/src/api/token-manager/token-manager.test.ts +3 -6
- package/src/disposer.ts +2 -2
- package/src/features/bootstrapper.ts +2 -2
- package/src/features/exit/handler.test.ts +60 -0
- package/src/features/exit/handler.ts +19 -3
- package/src/features/get-user-info/backend-adapter.ts +30 -18
- package/src/features/get-user-info/handler.test.ts +8 -2
- package/src/features/get-user-info/pds-token.ts +28 -0
- package/src/features/get-visi-id/action.ts +11 -0
- package/src/index.ts +40 -1
- package/src/locales.ts +1 -0
- package/src/types/custom.d.ts +30 -0
- package/dist/component-Bt_gBs5e.js +0 -52
- package/dist/component-Bt_gBs5e.js.map +0 -1
- package/dist/index-8n9_rIYI.js.map +0 -1
- package/dist/plugin-B5E6LZ4X.js.map +0 -1
- package/dist/primary/shell/src/UI/components/clinical-pathways-action-menu/template.d.ts +0 -2
- package/dist/primary/shell/src/UI/components/communication-action-menu/template.d.ts +0 -2
- package/dist/primary/shell/src/UI/components/petitioner-action-menu/template.d.ts +0 -2
- package/src/UI/components/clinical-pathways-action-menu/template.ts +0 -24
- package/src/UI/components/communication-action-menu/styles.css +0 -29
- package/src/UI/components/communication-action-menu/template.ts +0 -24
- package/src/UI/components/petitioner-action-menu/styles.css +0 -29
- /package/src/UI/components/{clinical-pathways-action-menu → sidenav-action-menu}/styles.css +0 -0
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { html, nothing } from "lit";
|
|
2
|
-
import { ClinicalPathwaysActionMenu } from "./clinical-pathways-action-menu";
|
|
3
|
-
|
|
4
|
-
export const template = (props: ClinicalPathwaysActionMenu) => {
|
|
5
|
-
return html`
|
|
6
|
-
<div class="item" ?expanded=${props.showText}>
|
|
7
|
-
<div class="icon-label">
|
|
8
|
-
<dss-icon icon=${props.icon} size="md"></dss-icon>
|
|
9
|
-
${props.showText ? html`<span>${props.label}</span>` : ""}
|
|
10
|
-
${
|
|
11
|
-
!props.showText
|
|
12
|
-
? html`
|
|
13
|
-
<dss-tooltip position="right">
|
|
14
|
-
${props.label}
|
|
15
|
-
</dss-tooltip>`
|
|
16
|
-
: nothing
|
|
17
|
-
}
|
|
18
|
-
</div>
|
|
19
|
-
<dss-action-menu id="clinical-pathways-sidenav-region-container" slot="content" >
|
|
20
|
-
</dss-action-menu>
|
|
21
|
-
${props.showText ? html`<dss-icon icon="chevron_right" size="md"></dss-icon>` : nothing}
|
|
22
|
-
</div>
|
|
23
|
-
`;
|
|
24
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
.item {
|
|
2
|
-
display: flex;
|
|
3
|
-
cursor: pointer;
|
|
4
|
-
border-radius: 8px;
|
|
5
|
-
padding: 8px;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
transition: background-color 0.3s ease;
|
|
8
|
-
&[expanded] {
|
|
9
|
-
justify-content: space-between;
|
|
10
|
-
}
|
|
11
|
-
&:hover {
|
|
12
|
-
background-color: var(--color-primary-900);
|
|
13
|
-
color: white;
|
|
14
|
-
}
|
|
15
|
-
.icon-label {
|
|
16
|
-
display: flex;
|
|
17
|
-
gap: 8px;
|
|
18
|
-
transition: background-color 0.3s;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.item.active{
|
|
23
|
-
outline: 2px solid white;
|
|
24
|
-
outline-offset: -2px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
dss-tooltip {
|
|
28
|
-
pointer-events: none;
|
|
29
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { html, nothing } from "lit";
|
|
2
|
-
import { CommunicationActionMenu } from "./communication-action-menu";
|
|
3
|
-
|
|
4
|
-
export const template = (props: CommunicationActionMenu) => {
|
|
5
|
-
return html`
|
|
6
|
-
<div class="item" ?expanded=${props.showText}>
|
|
7
|
-
<div class="icon-label">
|
|
8
|
-
<dss-icon icon=${props.icon} size="md"></dss-icon>
|
|
9
|
-
${props.showText ? html`<span>${props.label}</span>` : ""}
|
|
10
|
-
${
|
|
11
|
-
!props.showText
|
|
12
|
-
? html`
|
|
13
|
-
<dss-tooltip position="right">
|
|
14
|
-
${props.label}
|
|
15
|
-
</dss-tooltip>`
|
|
16
|
-
: nothing
|
|
17
|
-
}
|
|
18
|
-
</div>
|
|
19
|
-
<dss-action-menu id="communication-sidenav-region-container" slot="content" >
|
|
20
|
-
</dss-action-menu>
|
|
21
|
-
${props.showText ? html`<dss-icon icon="chevron_right" size="md"></dss-icon>` : nothing}
|
|
22
|
-
</div>
|
|
23
|
-
`;
|
|
24
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
.item {
|
|
2
|
-
display: flex;
|
|
3
|
-
cursor: pointer;
|
|
4
|
-
border-radius: 8px;
|
|
5
|
-
padding: 8px;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
transition: background-color 0.3s ease;
|
|
8
|
-
&[expanded] {
|
|
9
|
-
justify-content: space-between;
|
|
10
|
-
}
|
|
11
|
-
&:hover {
|
|
12
|
-
background-color: var(--color-primary-900);
|
|
13
|
-
color: white;
|
|
14
|
-
}
|
|
15
|
-
.icon-label {
|
|
16
|
-
display: flex;
|
|
17
|
-
gap: 8px;
|
|
18
|
-
transition: background-color 0.3s;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.item.active{
|
|
23
|
-
outline: 2px solid white;
|
|
24
|
-
outline-offset: -2px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
dss-tooltip {
|
|
28
|
-
pointer-events: none;
|
|
29
|
-
}
|
|
File without changes
|