@uxland/primary-shell 1.0.15 → 1.0.17
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/README.md +231 -0
- package/dist/UI/components/clinical-monitoring/clinical-monitoring.d.ts +11 -0
- package/dist/UI/components/clinical-monitoring/template.d.ts +3 -0
- package/dist/UI/components/index.d.ts +1 -0
- package/dist/UI/components/primaria-breadcumbs/primaria-breadcumbs.d.ts +9 -0
- package/dist/UI/components/primaria-breadcumbs/template.d.ts +3 -0
- package/dist/UI/components/primaria-shell/primaria-shell.d.ts +14 -0
- package/dist/UI/components/primaria-shell/template.d.ts +3 -0
- package/dist/UI/components/title-view/template.d.ts +3 -0
- package/dist/UI/components/title-view/title-view.d.ts +9 -0
- package/dist/UI/index.d.ts +2 -0
- package/dist/UI/shared-components/dss-container/dss-container.d.ts +7 -0
- package/dist/UI/shared-components/index.d.ts +2 -0
- package/dist/UI/shared-components/primaria-content-switcher/primaria-content-switcher.d.ts +14 -0
- package/dist/UI/shared-components/primaria-interaction/components/dialog-component.d.ts +20 -0
- package/dist/UI/shared-components/primaria-interaction/components/notifier-component.d.ts +12 -0
- package/dist/UI/shared-components/primaria-interaction/confirm-mixin.d.ts +16 -0
- package/dist/UI/shared-components/primaria-interaction/confirm.d.ts +3 -0
- package/dist/UI/shared-components/primaria-interaction/index.d.ts +4 -0
- package/dist/UI/shared-components/primaria-interaction/notify.d.ts +4 -0
- package/dist/UI/shared-components/primaria-interaction/typings.d.ts +28 -0
- package/dist/UI/shared-components/primaria-menu-item/primaria-menu-item.d.ts +10 -0
- package/dist/UI/shared-components/primaria-menu-item/template.d.ts +3 -0
- package/dist/UI/shared-components/primaria-text-editor/primaria-rich-text-editor.d.ts +57 -0
- package/dist/UI/shared-components/primaria-text-editor/template.d.ts +1 -0
- package/dist/UI/shared-components/primaria-text-editor/utils.d.ts +1 -0
- package/dist/UI/styles/theme/apply-theme.d.ts +1 -0
- package/dist/{api.d.ts → api/api.d.ts} +9 -16
- package/dist/api/broker/factory.d.ts +3 -0
- package/dist/api/broker/factory.test.d.ts +1 -0
- package/dist/api/broker/primaria-broker.d.ts +5 -0
- package/dist/api/global-state/global-state.d.ts +35 -0
- package/dist/api/global-state/global-state.test.d.ts +1 -0
- package/dist/api/interaction-manager/interaction.d.ts +8 -0
- package/dist/api/localization/localization.test.d.ts +1 -0
- package/dist/constants.d.ts +2 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +26240 -326
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +8627 -43
- package/dist/index.umd.cjs.map +1 -1
- package/dist/initializer.d.ts +1 -1
- package/dist/locales.d.ts +15 -0
- package/dist/plugin.d.ts +3 -3
- package/dist/region-manager.d.ts +16 -1
- package/dist/regions.d.ts +10 -4
- package/dist/style.css +3 -0
- package/package.json +12 -7
- package/src/UI/components/clinical-monitoring/clinical-monitoring.ts +28 -0
- package/src/UI/components/clinical-monitoring/styles.scss +29 -0
- package/src/UI/components/clinical-monitoring/template.ts +12 -0
- package/src/UI/components/index.ts +5 -0
- package/src/UI/components/primaria-breadcumbs/primaria-breadcumbs.ts +27 -0
- package/src/UI/components/primaria-breadcumbs/styles.scss +25 -0
- package/src/UI/components/primaria-breadcumbs/template.ts +15 -0
- package/src/UI/components/primaria-shell/primaria-shell.ts +37 -0
- package/src/UI/components/primaria-shell/styles.scss +68 -0
- package/src/UI/components/primaria-shell/template.ts +94 -0
- package/src/UI/components/title-view/styles.scss +5 -0
- package/src/UI/components/title-view/template.ts +6 -0
- package/src/UI/components/title-view/title-view.ts +23 -0
- package/src/UI/images/Gencat_Logotip.svg +70 -0
- package/src/UI/images/Salut_Logotip.svg +8 -0
- package/src/UI/index.ts +2 -0
- package/src/UI/shared-components/design-system.css +1 -0
- package/src/UI/shared-components/dss-container/dss-container.ts +32 -0
- package/src/UI/shared-components/dss-container/styles.scss +21 -0
- package/src/UI/shared-components/index.ts +5 -0
- package/src/UI/shared-components/primaria-content-switcher/primaria-content-switcher.ts +79 -0
- package/src/UI/shared-components/primaria-interaction/components/dialog-component-styles.scss +155 -0
- package/src/UI/shared-components/primaria-interaction/components/dialog-component.ts +119 -0
- package/src/UI/shared-components/primaria-interaction/components/notifier-component-styles.scss +128 -0
- package/src/UI/shared-components/primaria-interaction/components/notifier-component.ts +73 -0
- package/src/UI/shared-components/primaria-interaction/confirm-mixin.ts +39 -0
- package/src/UI/shared-components/primaria-interaction/confirm.ts +26 -0
- package/src/UI/shared-components/primaria-interaction/index.ts +4 -0
- package/src/UI/shared-components/primaria-interaction/notify.ts +153 -0
- package/src/UI/shared-components/primaria-interaction/typings.ts +32 -0
- package/src/UI/shared-components/primaria-menu-item/primaria-menu-item.ts +25 -0
- package/src/UI/shared-components/primaria-menu-item/styles.scss +10 -0
- package/src/UI/shared-components/primaria-menu-item/template.ts +8 -0
- package/src/UI/shared-components/primaria-text-editor/primaria-rich-text-editor.ts +230 -0
- package/src/UI/shared-components/primaria-text-editor/styles.scss +972 -0
- package/src/UI/shared-components/primaria-text-editor/template.ts +8 -0
- package/src/UI/shared-components/primaria-text-editor/utils.ts +39 -0
- package/src/UI/styles/_flex-layout.scss +203 -0
- package/src/UI/styles/_normalize.scss +3 -0
- package/src/UI/styles/_variables.scss +40 -0
- package/src/UI/styles/styles.scss +3 -0
- package/src/UI/styles/theme/apply-theme.ts +11 -0
- package/src/api/api.ts +63 -0
- package/src/api/broker/factory.test.ts +124 -0
- package/src/api/broker/factory.ts +122 -0
- package/src/api/broker/primaria-broker.ts +11 -0
- package/src/api/global-state/global-state.test.ts +53 -0
- package/src/api/global-state/global-state.ts +49 -0
- package/src/api/interaction-manager/interaction.ts +21 -0
- package/src/api/localization/localization.test.ts +61 -0
- package/src/api/localization/localization.ts +54 -0
- package/src/constants.ts +2 -0
- package/src/index.ts +5 -1
- package/src/initializer.ts +36 -2
- package/src/locales.ts +24 -0
- package/src/plugin.ts +4 -4
- package/src/region-manager.ts +120 -3
- package/src/regions.ts +14 -5
- package/dist/primaria-shell.d.ts +0 -12
- package/src/api.ts +0 -102
- package/src/primaria-shell.ts +0 -77
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uxland/primary-shell",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"description": "Framework Integració modular",
|
|
5
5
|
"author": "UXLand <dev@uxland.es>",
|
|
6
|
-
"homepage": "https://github.com/uxland/
|
|
6
|
+
"homepage": "https://github.com/uxland/harmonix/tree/app#readme",
|
|
7
7
|
"license": "UNLICENSED",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "src/index.ts",
|
|
@@ -19,19 +19,24 @@
|
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/uxland/
|
|
22
|
+
"url": "git+https://github.com/uxland/harmonix.git"
|
|
23
23
|
},
|
|
24
24
|
"bugs": {
|
|
25
|
-
"url": "https://github.com/uxland/
|
|
25
|
+
"url": "https://github.com/uxland/harmonix/issues"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@uxland/
|
|
29
|
-
"@uxland/primaria-ui-components": "^1.0.0",
|
|
28
|
+
"@uxland/harmonix": "^1.0.0",
|
|
30
29
|
"@uxland/regions": "^1.0.0",
|
|
31
30
|
"@uxland/utilities": "^1.0.5",
|
|
31
|
+
"@uxland/localization": "^1.0.3",
|
|
32
|
+
"@salut/design-system-salut": "1.6.0",
|
|
33
|
+
"uxl-quill": "^1.0.1",
|
|
34
|
+
"@uxland/lit-utilities": "^1.0.0",
|
|
35
|
+
"mediatr-ts": "^1.2.1",
|
|
32
36
|
"tslib": "^2.3.0",
|
|
33
37
|
"lit": "^3.1.0",
|
|
34
|
-
"vite": "^5.2.8"
|
|
38
|
+
"vite": "^5.2.8",
|
|
39
|
+
"sass": "^1.62.1"
|
|
35
40
|
},
|
|
36
41
|
"devDependencies": {},
|
|
37
42
|
"scripts": {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { LitElement, css, html, unsafeCSS } from "lit";
|
|
2
|
+
import { customElement } from "lit/decorators.js";
|
|
3
|
+
import styles from "./styles.scss?inline";
|
|
4
|
+
import { template } from "./template";
|
|
5
|
+
import { PrimariaRegionHost } from "../../../api/api";
|
|
6
|
+
import { IRegion, region } from "@uxland/regions";
|
|
7
|
+
import { clinicalMonitoringRegions } from "../../../regions";
|
|
8
|
+
|
|
9
|
+
//@ts-ignore
|
|
10
|
+
@customElement("clinical-monitoring")
|
|
11
|
+
export class ClinicalMonitoring extends PrimariaRegionHost(LitElement) {
|
|
12
|
+
render() {
|
|
13
|
+
return html`${template(this)}`;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
static styles = css`
|
|
17
|
+
${unsafeCSS(styles)}
|
|
18
|
+
`;
|
|
19
|
+
|
|
20
|
+
@region({ targetId: "widgets-sidebar-region", name: clinicalMonitoringRegions.sidebar })
|
|
21
|
+
sidebarRegion: IRegion | undefined;
|
|
22
|
+
|
|
23
|
+
@region({ targetId: "header-widgets-region", name: clinicalMonitoringRegions.header })
|
|
24
|
+
headerRegion: IRegion | undefined;
|
|
25
|
+
|
|
26
|
+
@region({ targetId: "content-widgets-region", name: clinicalMonitoringRegions.content })
|
|
27
|
+
contentRegion: IRegion | undefined;
|
|
28
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
min-height: 1px;
|
|
3
|
+
height: 100%;
|
|
4
|
+
width: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.wrapper {
|
|
8
|
+
position: relative;
|
|
9
|
+
min-height: 1px;
|
|
10
|
+
height: 100%;
|
|
11
|
+
@include layout-horizontal;
|
|
12
|
+
#widgets-sidebar-region {
|
|
13
|
+
width: 25%;
|
|
14
|
+
border-left: 1px solid rgb(189, 189, 189);
|
|
15
|
+
}
|
|
16
|
+
.content {
|
|
17
|
+
@include layout-flex;
|
|
18
|
+
@include layout-vertical;
|
|
19
|
+
#header-widgets-region {
|
|
20
|
+
height: 10%;
|
|
21
|
+
border-bottom: 1px solid rgb(189, 189, 189);
|
|
22
|
+
}
|
|
23
|
+
#content-widgets-region {
|
|
24
|
+
@include layout-flex;
|
|
25
|
+
min-height: 1px;
|
|
26
|
+
height: 100%;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { ClinicalMonitoring } from "./clinical-monitoring";
|
|
3
|
+
|
|
4
|
+
export const template = (props: ClinicalMonitoring) => html`
|
|
5
|
+
<div class="wrapper">
|
|
6
|
+
<div class="content">
|
|
7
|
+
<div id="header-widgets-region"></div>
|
|
8
|
+
<div id="content-widgets-region"></div>
|
|
9
|
+
</div>
|
|
10
|
+
<div id="widgets-sidebar-region"></div>
|
|
11
|
+
</div>
|
|
12
|
+
`;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LitElement, css, html, unsafeCSS } from "lit";
|
|
2
|
+
import { customElement, property } from "lit/decorators.js";
|
|
3
|
+
import styles from "./styles.scss?inline";
|
|
4
|
+
import { template } from "./template";
|
|
5
|
+
import { shellApi } from "../../../api/api";
|
|
6
|
+
|
|
7
|
+
@customElement("primaria-breadcumbs")
|
|
8
|
+
export class PrimariaBreadcumbs extends LitElement {
|
|
9
|
+
render() {
|
|
10
|
+
return html`${template(this)}`;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
static styles = css`
|
|
14
|
+
${unsafeCSS(styles)}
|
|
15
|
+
`;
|
|
16
|
+
|
|
17
|
+
@property()
|
|
18
|
+
breadcumbs: any[] = [];
|
|
19
|
+
|
|
20
|
+
@property()
|
|
21
|
+
callbackFn: () => void;
|
|
22
|
+
|
|
23
|
+
_breadcumbClick(breadcumb) {
|
|
24
|
+
//shellApi.regionManager.activateMainView(breadcumb.view);
|
|
25
|
+
this.callbackFn();
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
@include layout-horizontal;
|
|
3
|
+
gap: 8px;
|
|
4
|
+
background: #dedede;
|
|
5
|
+
padding: 8px 12px;
|
|
6
|
+
.breadcumb {
|
|
7
|
+
@include horizontal-center;
|
|
8
|
+
.label {
|
|
9
|
+
color: black;
|
|
10
|
+
}
|
|
11
|
+
&:hover {
|
|
12
|
+
font-weight: bold;
|
|
13
|
+
.label {
|
|
14
|
+
color: var(--color-primary-500);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
&[selected] {
|
|
18
|
+
pointer-events: none;
|
|
19
|
+
.label {
|
|
20
|
+
font-weight: bold;
|
|
21
|
+
color: var(--color-primary-500);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { PrimariaBreadcumbs } from "./primaria-breadcumbs";
|
|
3
|
+
import { repeat } from "lit/directives/repeat.js";
|
|
4
|
+
|
|
5
|
+
export const template = (props: PrimariaBreadcumbs) => html`
|
|
6
|
+
<div class="container">
|
|
7
|
+
${repeat(
|
|
8
|
+
props.breadcumbs,
|
|
9
|
+
(breadcumb, index) => html`
|
|
10
|
+
<div class="breadcumb" @click=${() => props._breadcumbClick(breadcumb)} ?selected=${index === props.breadcumbs.length - 1}>
|
|
11
|
+
<div class="label">${breadcumb.label}</div>
|
|
12
|
+
<span ?hidden=${index === props.breadcumbs.length - 1}>></span>
|
|
13
|
+
</div> `,
|
|
14
|
+
)}
|
|
15
|
+
</div>`;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IRegion, region } from "@uxland/regions";
|
|
2
|
+
import { LitElement, css, html, unsafeCSS } from "lit";
|
|
3
|
+
import { PrimariaRegionHost } from "../../../api/api";
|
|
4
|
+
import { customElement } from "lit/decorators.js";
|
|
5
|
+
import { shellRegions } from "../../../regions";
|
|
6
|
+
import styles from "./styles.scss?inline";
|
|
7
|
+
import { template } from "./template";
|
|
8
|
+
|
|
9
|
+
//@ts-ignore
|
|
10
|
+
@customElement("primaria-shell")
|
|
11
|
+
export class PrimariaShell extends PrimariaRegionHost(LitElement) {
|
|
12
|
+
render() {
|
|
13
|
+
return html`${template(this)}`;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
static styles = css`
|
|
17
|
+
${unsafeCSS(styles)}
|
|
18
|
+
`;
|
|
19
|
+
|
|
20
|
+
@region({ targetId: "header-region-container", name: shellRegions.header })
|
|
21
|
+
headerRegion: IRegion | undefined;
|
|
22
|
+
|
|
23
|
+
@region({ targetId: "header-actions-region-container", name: shellRegions.headerActions })
|
|
24
|
+
headerActionsRegion: IRegion | undefined;
|
|
25
|
+
|
|
26
|
+
@region({ targetId: "menu-region-container", name: shellRegions.menu })
|
|
27
|
+
menuRegion: IRegion | undefined;
|
|
28
|
+
|
|
29
|
+
@region({ targetId: "main-region-container", name: shellRegions.main })
|
|
30
|
+
mainRegion: IRegion | undefined;
|
|
31
|
+
|
|
32
|
+
@region({ targetId: "quick-actions-region-container", name: shellRegions.quickActions })
|
|
33
|
+
quickActionsRegion: IRegion | undefined;
|
|
34
|
+
|
|
35
|
+
@region({ targetId: "floating-region-container", name: shellRegions.floating })
|
|
36
|
+
floatingRegion: IRegion | undefined;
|
|
37
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
width: 100%;
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
}
|
|
5
|
+
.container {
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
@include layout-vertical;
|
|
9
|
+
background: white;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.header {
|
|
13
|
+
@include horizontal-center-justified;
|
|
14
|
+
padding: 0 16px;
|
|
15
|
+
height: 60px;
|
|
16
|
+
background-color: white;
|
|
17
|
+
color: black;
|
|
18
|
+
z-index: 1;
|
|
19
|
+
box-shadow:
|
|
20
|
+
rgba(0, 0, 0, 0.12) 4px -1px 3px,
|
|
21
|
+
rgba(0, 0, 0, 0.24) 0px 1px 2px;
|
|
22
|
+
&__left {
|
|
23
|
+
@include horizontal-center;
|
|
24
|
+
gap: 24px;
|
|
25
|
+
}
|
|
26
|
+
.header-logo {
|
|
27
|
+
align-self: center;
|
|
28
|
+
}
|
|
29
|
+
#actions-toolbar-region-container {
|
|
30
|
+
@include layout-horizontal;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.main-container {
|
|
35
|
+
min-height: 1px;
|
|
36
|
+
height: 100%;
|
|
37
|
+
display: flex;
|
|
38
|
+
.sidebar {
|
|
39
|
+
@include layout-vertical;
|
|
40
|
+
@include layout-justified;
|
|
41
|
+
background: var(--color-primary-800);
|
|
42
|
+
width: 15%;
|
|
43
|
+
height: 100%;
|
|
44
|
+
color: white;
|
|
45
|
+
}
|
|
46
|
+
.content {
|
|
47
|
+
display: flex;
|
|
48
|
+
height: 100%;
|
|
49
|
+
width: 85%;
|
|
50
|
+
}
|
|
51
|
+
#main-region-container {
|
|
52
|
+
min-height: 1px;
|
|
53
|
+
height: 100%;
|
|
54
|
+
@include layout-flex;
|
|
55
|
+
}
|
|
56
|
+
#floating-region-container {
|
|
57
|
+
position: fixed;
|
|
58
|
+
z-index: 200;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
.footer {
|
|
62
|
+
display: flex;
|
|
63
|
+
height: 50px;
|
|
64
|
+
padding: 0 16px;
|
|
65
|
+
.footer-logo {
|
|
66
|
+
align-self: center;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
//import "@uxland/primaria-ui-components";
|
|
2
|
+
import "@salut/design-system-salut";
|
|
3
|
+
import "@salut/design-system-salut/css/main.css";
|
|
4
|
+
import { html } from "lit";
|
|
5
|
+
import gencatLogo from "../../../UI/images/Gencat_Logotip.svg";
|
|
6
|
+
import salutLogo from "../../../UI/images/Salut_Logotip.svg";
|
|
7
|
+
import { PrimariaShell } from "./primaria-shell";
|
|
8
|
+
import { shellApi } from "../../../api/api";
|
|
9
|
+
|
|
10
|
+
const handleInteraction = () => {
|
|
11
|
+
shellApi.interactionManager.notify({
|
|
12
|
+
message: "Prova Toast!!",
|
|
13
|
+
type: "danger",
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
// const handleBasicConfirmation = () => {
|
|
18
|
+
// shellApi.interactionManager
|
|
19
|
+
// .doConfirm({
|
|
20
|
+
// title: "Confirmation title",
|
|
21
|
+
// type: "success",
|
|
22
|
+
// message: "Això és missatge de confirmacio",
|
|
23
|
+
// acceptLabel: "Acceptar",
|
|
24
|
+
// cancelLabel: "Cancelar",
|
|
25
|
+
// })
|
|
26
|
+
// .then((r) => console.log(r));
|
|
27
|
+
// };
|
|
28
|
+
|
|
29
|
+
// const handleComponentConfirmation = () => {
|
|
30
|
+
// shellApi.interactionManager
|
|
31
|
+
// .doCustomConfirm({
|
|
32
|
+
// title: "Confirmation title",
|
|
33
|
+
// type: "danger",
|
|
34
|
+
// componentConstructor: TitleView,
|
|
35
|
+
// acceptLabel: "Acceptar",
|
|
36
|
+
// cancelLabel: "Cancelar",
|
|
37
|
+
// properties: { title: "HOLAAA" },
|
|
38
|
+
// })
|
|
39
|
+
// .then((r) => console.log(r));
|
|
40
|
+
// };
|
|
41
|
+
// const handleComponentConfirmation = () => {
|
|
42
|
+
// shellApi.interactionManager
|
|
43
|
+
// .doCustomConfirm({
|
|
44
|
+
// title: "Exportar a PDF",
|
|
45
|
+
// type: "success",
|
|
46
|
+
// componentConstructor: ExportPdfModal,
|
|
47
|
+
// acceptLabel: "Acceptar",
|
|
48
|
+
// cancelLabel: "Cancelar",
|
|
49
|
+
// properties: { text: "Hola custom text" },
|
|
50
|
+
// })
|
|
51
|
+
// .then((r) => console.log(r));
|
|
52
|
+
// };
|
|
53
|
+
// const handleComponentConfirmation2 = () => {
|
|
54
|
+
// shellApi.interactionManager
|
|
55
|
+
// .doCustomConfirm({
|
|
56
|
+
// title: "Eliminar curs clínic",
|
|
57
|
+
// type: "danger",
|
|
58
|
+
// componentConstructor: DeleteClinicalCourseModal,
|
|
59
|
+
// acceptLabel: "Eliminar",
|
|
60
|
+
// cancelLabel: "Cancelar",
|
|
61
|
+
// properties: { text: "Hola custom text" },
|
|
62
|
+
// })
|
|
63
|
+
// .then((r) => console.log(r));
|
|
64
|
+
// };
|
|
65
|
+
|
|
66
|
+
export const template = (props: PrimariaShell) => html`
|
|
67
|
+
<div class="container">
|
|
68
|
+
<div class="header">
|
|
69
|
+
<div class="header__left">
|
|
70
|
+
<div class="header-logo">
|
|
71
|
+
<img src=${salutLogo} alt="logo" />
|
|
72
|
+
</div>
|
|
73
|
+
<primaria-content-switcher id="header-region-container"></primaria-content-switcher>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="header__right">
|
|
76
|
+
<div id="header-actions-region-container"></div>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
<div class="main-container">
|
|
80
|
+
<div class="sidebar">
|
|
81
|
+
<div id="menu-region-container"></div>
|
|
82
|
+
<div id="quick-actions-region-container"></div>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="content">
|
|
85
|
+
<div id="floating-region-container"></div>
|
|
86
|
+
<primaria-content-switcher id="main-region-container"></primaria-content-switcher>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="footer">
|
|
90
|
+
<div class="footer-logo">
|
|
91
|
+
<img src=${gencatLogo} alt="logo" />
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
</div>`;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LitElement, css, html, unsafeCSS } from "lit";
|
|
2
|
+
import { customElement, property } from "lit/decorators.js";
|
|
3
|
+
import styles from "./styles.scss?inline";
|
|
4
|
+
import { template } from "./template";
|
|
5
|
+
|
|
6
|
+
@customElement("title-view")
|
|
7
|
+
export class TitleView extends LitElement {
|
|
8
|
+
constructor(private titleText: string) {
|
|
9
|
+
super();
|
|
10
|
+
this.title = titleText;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
render() {
|
|
14
|
+
return html`${template(this)}`;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static styles = css`
|
|
18
|
+
${unsafeCSS(styles)}
|
|
19
|
+
`;
|
|
20
|
+
|
|
21
|
+
@property()
|
|
22
|
+
title: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<svg width="94" height="24" viewBox="0 0 94 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M9.36109 0.0906219C4.28803 0.0906219 0.175049 4.88609 0.175049 10.8006C0.175049 16.7148 4.28803 21.5103 9.36109 21.5103C14.4341 21.5103 18.5471 16.7148 18.5471 10.8006C18.5471 4.88609 14.4341 0.0906219 9.36109 0.0906219Z" fill="#ED192D"/>
|
|
3
|
+
<path d="M2.94731 16.1348C2.06504 14.6225 1.54761 12.784 1.54761 10.8007C1.54761 8.81751 2.06504 6.97893 2.94731 5.46631V16.1348Z" fill="white"/>
|
|
4
|
+
<path d="M4.92041 3.11644C5.42915 2.69532 5.98132 2.34559 6.56749 2.07705V19.5234C5.98132 19.2553 5.42915 18.9048 4.92041 18.4844V3.11644Z" fill="white"/>
|
|
5
|
+
<path d="M8.54004 1.5129C8.81008 1.47928 9.08354 1.46191 9.36076 1.46191C9.63986 1.46191 9.91557 1.47966 10.1871 1.51365V20.087C9.91557 20.121 9.63986 20.1392 9.36076 20.1392C9.08354 20.1392 8.81008 20.1214 8.54004 20.0882V1.5129Z" fill="white"/>
|
|
6
|
+
<path d="M12.1604 2.07993C12.7469 2.34884 13.2991 2.70008 13.8075 3.12119V18.4797C13.2991 18.9012 12.7469 19.2521 12.1604 19.521V2.07993Z" fill="white"/>
|
|
7
|
+
<path d="M15.7808 5.47645C16.6596 6.98681 17.1752 8.82161 17.1752 10.8007C17.1752 12.7797 16.6596 14.6142 15.7808 16.1245V5.47645Z" fill="white"/>
|
|
8
|
+
<path d="M0.944824 10.8007C0.944824 8.34538 1.69906 6.09853 2.94769 4.36383V4.94963C1.89848 6.56989 1.27454 8.59843 1.27454 10.8007C1.27454 13.0026 1.89848 15.0311 2.94769 16.6514V17.2368C1.69906 15.5025 0.944824 13.2557 0.944824 10.8007Z" fill="white"/>
|
|
9
|
+
<path d="M15.7808 16.6428C16.8266 15.0241 17.4486 12.9989 17.4486 10.8008C17.4486 8.6027 16.8266 6.57755 15.7808 4.9588V4.37226C17.0264 6.10545 17.7776 8.34928 17.7776 10.8008C17.7776 13.252 17.0264 15.4958 15.7808 17.229V16.6428Z" fill="white"/>
|
|
10
|
+
<path d="M18.3143 20.3882C18.377 20.1193 18.5042 19.844 18.6523 19.6241C18.4623 19.5309 18.3022 19.4606 18.1371 19.3175C18.5012 18.7675 18.5919 18.391 18.6515 17.7289L18.6259 13.9857C18.3856 15.0742 17.8044 16.5018 17.3025 17.2481C17.1559 17.4664 17.0913 17.6047 17.0007 17.7501C16.9486 17.8343 16.6536 18.3204 16.6611 18.9156C16.4553 18.9571 16.2665 18.9496 16.0274 18.9318C16.0569 19.1909 16.0727 19.2276 16.0047 19.6521C15.0972 19.7223 14.8328 20.2666 13.7571 20.8482C13.2314 21.1326 12.8903 21.2621 12.104 21.5492C13.9324 21.5273 15.275 21.7871 16.4243 21.0144C16.555 21.1874 16.6521 21.3554 16.7382 21.559C16.8964 21.4348 17.2069 21.2814 17.4649 21.2149C17.7606 21.5061 18.1568 21.6209 18.6644 21.5752C18.7361 21.1666 18.6345 20.6643 18.3143 20.3882Z" fill="#ED192D"/>
|
|
11
|
+
<path d="M18.4518 19.6968C18.3101 19.7546 17.6431 20.0008 17.6431 20.0008L17.6341 20.0103C17.6307 19.9517 17.6167 19.8939 17.5922 19.8395L17.5884 19.8271C17.8456 19.6734 18.0072 19.4558 18.011 19.4222C18.0091 19.4195 18.008 19.4177 18.0095 19.418C18.0106 19.4184 18.011 19.4199 18.011 19.4222C18.0329 19.452 18.2524 19.6556 18.4518 19.6968Z" fill="white"/>
|
|
12
|
+
<path d="M17.9002 16.5344C18.5691 15.055 18.4116 15.1192 18.5596 14.5051C18.54 14.8008 18.5211 15.174 18.4792 15.4444C18.1876 17.0563 17.7687 18.2506 17.2653 19.5683C17.2653 19.5683 17.1271 19.5566 17.0576 19.5698C16.9356 19.4293 16.8974 19.2348 16.8974 19.2348C16.6633 18.2634 17.3918 17.6584 17.9002 16.5344Z" fill="white"/>
|
|
13
|
+
<path d="M16.2266 19.1308L16.8509 19.652L16.8528 19.6569C16.8339 19.6709 16.8154 19.6868 16.798 19.7038C16.7667 19.7355 16.7402 19.7699 16.7195 19.8069L16.7157 19.8159C16.3977 19.6614 16.1851 19.655 16.1851 19.655C16.2651 19.3106 16.2266 19.1308 16.2266 19.1308Z" fill="white"/>
|
|
14
|
+
<path d="M13.3914 21.3775C13.0776 21.4493 12.8241 21.4459 12.6262 21.4546L13.2909 21.2487C14.7314 20.7087 15.0982 19.8725 16.0711 19.8532C16.2988 19.8551 16.4854 19.9148 16.6542 20.0096L16.6561 20.0356C16.6493 20.0979 16.655 20.1614 16.6731 20.2222L16.6735 20.2313C16.0016 20.5648 14.4655 21.1313 13.3914 21.3775Z" fill="white"/>
|
|
15
|
+
<path d="M16.8149 21.334C16.7764 21.2309 16.7228 21.0643 16.574 20.8996C16.7745 20.7297 16.8157 20.6383 16.8829 20.4721L16.8878 20.4744C16.9509 20.5118 17.0208 20.5333 17.0914 20.539L17.0997 20.5378L16.8149 21.334Z" fill="white"/>
|
|
16
|
+
<path d="M16.9431 20.2505C16.8324 20.1391 16.8328 19.9589 16.9442 19.8479C17.0556 19.7372 17.2354 19.7376 17.3464 19.8494C17.4571 19.9604 17.4567 20.1406 17.3453 20.2512C17.2339 20.3619 17.0537 20.3615 16.9431 20.2505Z" fill="white"/>
|
|
17
|
+
<path d="M17.5617 21.0476C17.4147 20.8765 17.3517 20.7443 17.2961 20.5128C17.369 20.4916 17.4548 20.4474 17.5061 20.3757L18.5032 21.3883C18.1248 21.4234 17.7973 21.3342 17.5617 21.0476Z" fill="white"/>
|
|
18
|
+
<path d="M18.6644 0.00993252C18.1568 -0.0361447 17.7606 0.0786629 17.4649 0.369858C17.2069 0.303385 16.8964 0.150051 16.7382 0.0257921C16.6521 0.229364 16.555 0.397053 16.4243 0.57041C15.275 -0.202332 13.9324 0.057518 12.104 0.0352345C12.8903 0.322652 13.2314 0.452191 13.7571 0.736588C14.8328 1.31822 15.0972 1.86208 16.0047 1.93271C16.0727 2.35723 16.0569 2.39349 16.0274 2.65334C16.2665 2.63521 16.4553 2.62765 16.6611 2.6692C16.6536 3.26405 16.9486 3.75051 17.0007 3.83436C17.0913 3.98014 17.1559 4.11839 17.3025 4.33669C17.8044 5.08299 18.3856 6.51026 18.6259 7.59912L18.6515 3.8559C18.5919 3.19382 18.5012 2.81726 18.1371 2.26735C18.3022 2.12421 18.4623 2.05396 18.6523 1.96067C18.5042 1.74086 18.377 1.46515 18.3143 1.19661C18.6345 0.920149 18.7361 0.41821 18.6644 0.00993252Z" fill="#ED192D"/>
|
|
19
|
+
<path d="M18.4518 1.88761C18.3101 1.82982 17.6431 1.58358 17.6431 1.58358L17.6341 1.57414C17.6307 1.6323 17.6167 1.69047 17.5922 1.74485L17.5884 1.75732C17.8456 1.91104 18.0072 2.12857 18.011 2.16219C18.0091 2.16521 18.008 2.16709 18.0095 2.16634C18.0106 2.16558 18.011 2.16445 18.011 2.16219C18.0329 2.13273 18.2524 1.92878 18.4518 1.88761Z" fill="white"/>
|
|
20
|
+
<path d="M17.9002 5.05029C18.5691 6.52968 18.4116 6.46547 18.5596 7.07959C18.54 6.78386 18.5211 6.41034 18.4792 6.14067C18.1876 4.52834 17.7687 3.33408 17.2653 2.01596C17.2653 2.01596 17.1271 2.02806 17.0576 2.01484C16.9356 2.15534 16.8974 2.34985 16.8974 2.34985C16.6633 3.32125 17.3918 3.9263 17.9002 5.05029Z" fill="white"/>
|
|
21
|
+
<path d="M16.2266 2.45361L16.8509 1.9324L16.8528 1.92749C16.8339 1.91352 16.8154 1.89766 16.798 1.88067C16.7667 1.84932 16.7402 1.81419 16.7195 1.77793L16.7157 1.76812C16.3977 1.92297 16.1851 1.929 16.1851 1.929C16.2651 2.27345 16.2266 2.45361 16.2266 2.45361Z" fill="white"/>
|
|
22
|
+
<path d="M13.3914 0.207236C13.0776 0.135476 12.8241 0.138873 12.6262 0.130187L13.2909 0.336013C14.7314 0.876102 15.0982 1.71229 16.0711 1.73193C16.2988 1.72967 16.4854 1.67 16.6542 1.5752L16.6561 1.54914C16.6493 1.48682 16.655 1.42337 16.6731 1.36257L16.6735 1.35351C16.0016 1.01964 14.4655 0.453108 13.3914 0.207236Z" fill="white"/>
|
|
23
|
+
<path d="M16.8149 0.250924C16.7764 0.354032 16.7228 0.52059 16.574 0.685261C16.7745 0.855219 16.8157 0.946612 16.8829 1.11279L16.8878 1.11091C16.9509 1.07314 17.0208 1.05162 17.0914 1.04557L17.0997 1.04709L16.8149 0.250924Z" fill="white"/>
|
|
24
|
+
<path d="M16.9431 1.3342C16.8324 1.446 16.8328 1.62577 16.9442 1.73643C17.0556 1.84747 17.2354 1.84672 17.3464 1.73568C17.4571 1.62388 17.4567 1.44411 17.3453 1.33345C17.2339 1.22279 17.0537 1.22316 16.9431 1.3342Z" fill="white"/>
|
|
25
|
+
<path d="M17.5617 0.537082C17.4147 0.708173 17.3517 0.84035 17.2961 1.07187C17.369 1.09302 17.4548 1.13722 17.5061 1.20898L18.5032 0.19641C18.1248 0.161286 17.7973 0.25042 17.5617 0.537082Z" fill="white"/>
|
|
26
|
+
<path d="M0.0217433 21.5752C0.529351 21.6209 0.925543 21.5061 1.22127 21.2149C1.47923 21.2814 1.78968 21.4348 1.94831 21.559C2.03405 21.3554 2.13149 21.1874 2.26217 21.0144C3.41146 21.7871 4.75375 21.5273 6.58213 21.5492C5.79579 21.2621 5.45474 21.1326 4.929 20.8482C3.85335 20.2666 3.58935 19.7223 2.6814 19.6521C2.61379 19.2276 2.62927 19.1909 2.65873 18.9318C2.42004 18.9496 2.2312 18.9571 2.02536 18.9156C2.03291 18.3204 1.73794 17.8343 1.68545 17.7501C1.5948 17.6047 1.5306 17.4664 1.38368 17.2481C0.882111 16.5018 0.300853 15.0742 0.0602679 13.9857L0.0345879 17.7289C0.0942621 18.391 0.185284 18.7675 0.549372 19.3175C0.383946 19.4606 0.224185 19.5309 0.0342099 19.6241C0.181884 19.844 0.30954 20.1193 0.372236 20.3882C0.0515815 20.6643 -0.049639 21.1666 0.0217433 21.5752Z" fill="#ED192D"/>
|
|
27
|
+
<path d="M0.234375 19.6968C0.376007 19.7546 1.04338 20.0008 1.04338 20.0008L1.05244 20.0103C1.05546 19.9517 1.06981 19.8939 1.09436 19.8395L1.09777 19.8271C0.84094 19.6734 0.678912 19.4558 0.675512 19.4222C0.677401 19.4195 0.678535 19.4177 0.676647 19.418C0.675514 19.4184 0.675135 19.4199 0.675512 19.4222C0.653229 19.452 0.43417 19.6556 0.234375 19.6968Z" fill="white"/>
|
|
28
|
+
<path d="M0.785417 16.5344C0.116538 15.055 0.274029 15.1192 0.125977 14.5051C0.145238 14.8008 0.164123 15.174 0.206424 15.4444C0.497996 17.0563 0.916471 18.2506 1.4203 19.5683C1.4203 19.5683 1.55816 19.5566 1.62765 19.5698C1.74964 19.4293 1.78779 19.2348 1.78779 19.2348C2.02195 18.2634 1.29378 17.6584 0.785417 16.5344Z" fill="white"/>
|
|
29
|
+
<path d="M2.45945 19.1308L1.83552 19.652L1.83325 19.6569C1.85251 19.6709 1.87064 19.6868 1.88801 19.7038C1.91936 19.7355 1.9458 19.7699 1.96657 19.8069L1.97035 19.8159C2.28836 19.6614 2.50137 19.655 2.50137 19.655C2.42093 19.3106 2.45945 19.1308 2.45945 19.1308Z" fill="white"/>
|
|
30
|
+
<path d="M5.29439 21.3775C5.60825 21.4493 5.86167 21.4459 6.05958 21.4546L5.39524 21.2487C3.95437 20.7087 3.58764 19.8725 2.61472 19.8532C2.38736 19.8551 2.2004 19.9148 2.03158 20.0096L2.03007 20.0356C2.03649 20.0979 2.03082 20.1614 2.01307 20.2222L2.0127 20.2313C2.68422 20.5648 4.22063 21.1313 5.29439 21.3775Z" fill="white"/>
|
|
31
|
+
<path d="M1.8712 21.334C1.90973 21.2309 1.96336 21.0643 2.11254 20.8996C1.91199 20.7297 1.87044 20.6383 1.80359 20.4721L1.79831 20.4744C1.73561 20.5118 1.66574 20.5333 1.59473 20.539L1.58643 20.5378L1.8712 21.334Z" fill="white"/>
|
|
32
|
+
<path d="M1.74254 20.2505C1.85358 20.1391 1.85282 19.9589 1.74178 19.8479C1.63037 19.7372 1.45021 19.7376 1.33955 19.8494C1.22889 19.9604 1.22927 20.1406 1.34068 20.2512C1.4521 20.3619 1.63188 20.3615 1.74254 20.2505Z" fill="white"/>
|
|
33
|
+
<path d="M1.1243 21.0476C1.27122 20.8765 1.33429 20.7443 1.39019 20.5128C1.31729 20.4916 1.23156 20.4474 1.17982 20.3757L0.183105 21.3883C0.561545 21.4234 0.888999 21.3342 1.1243 21.0476Z" fill="white"/>
|
|
34
|
+
<path d="M0.372236 1.19661C0.30954 1.46515 0.181884 1.74086 0.0342099 1.96067C0.224185 2.05396 0.383946 2.12421 0.549372 2.26735C0.185284 2.81726 0.0942621 3.19382 0.0345879 3.8559L0.0602679 7.59912C0.300853 6.51026 0.882111 5.08299 1.38368 4.33669C1.5306 4.11839 1.5948 3.98014 1.68545 3.83436C1.73794 3.75051 2.03291 3.26405 2.02536 2.6692C2.2312 2.62765 2.42004 2.63521 2.65873 2.65334C2.62927 2.39349 2.61379 2.35723 2.6814 1.93271C3.58935 1.86208 3.85335 1.31822 4.929 0.736588C5.45474 0.452191 5.79579 0.322652 6.58213 0.0352345C4.75375 0.057518 3.41146 -0.202332 2.26217 0.57041C2.13149 0.397053 2.03405 0.229364 1.94831 0.0257921C1.78968 0.150051 1.47923 0.303385 1.22127 0.369858C0.925543 0.0786629 0.529351 -0.0361447 0.0217433 0.00993252C-0.049639 0.41821 0.0515815 0.920149 0.372236 1.19661Z" fill="#ED192D"/>
|
|
35
|
+
<path d="M0.234375 1.88761C0.376007 1.82982 1.04338 1.58358 1.04338 1.58358L1.05244 1.57414C1.05546 1.6323 1.06981 1.69047 1.09436 1.74485L1.09777 1.75732C0.84094 1.91104 0.678912 2.12857 0.675512 2.16219C0.677401 2.16521 0.678535 2.16709 0.676647 2.16634C0.675514 2.16558 0.675135 2.16445 0.675512 2.16219C0.653229 2.13273 0.43417 1.92878 0.234375 1.88761Z" fill="white"/>
|
|
36
|
+
<path d="M0.785417 5.05029C0.116538 6.52968 0.274029 6.46547 0.125977 7.07959C0.145238 6.78386 0.164123 6.41034 0.206424 6.14067C0.497996 4.52834 0.916471 3.33408 1.4203 2.01596C1.4203 2.01596 1.55816 2.02806 1.62765 2.01484C1.74964 2.15534 1.78779 2.34985 1.78779 2.34985C2.02195 3.32125 1.29378 3.9263 0.785417 5.05029Z" fill="white"/>
|
|
37
|
+
<path d="M2.45945 2.45361L1.83552 1.9324L1.83325 1.92749C1.85251 1.91352 1.87064 1.89766 1.88801 1.88067C1.91936 1.84932 1.9458 1.81419 1.96657 1.77793L1.97035 1.76812C2.28836 1.92297 2.50137 1.929 2.50137 1.929C2.42093 2.27345 2.45945 2.45361 2.45945 2.45361Z" fill="white"/>
|
|
38
|
+
<path d="M5.29439 0.207236C5.60825 0.135476 5.86167 0.138873 6.05958 0.130187L5.39524 0.336013C3.95437 0.876102 3.58764 1.71229 2.61472 1.73193C2.38736 1.72967 2.2004 1.67 2.03158 1.5752L2.03007 1.54914C2.03649 1.48682 2.03082 1.42337 2.01307 1.36257L2.0127 1.35351C2.68422 1.01964 4.22063 0.453108 5.29439 0.207236Z" fill="white"/>
|
|
39
|
+
<path d="M1.8712 0.250924C1.90973 0.354032 1.96336 0.52059 2.11254 0.685261C1.91199 0.855219 1.87044 0.946612 1.80359 1.11279L1.79831 1.11091C1.73561 1.07314 1.66574 1.05162 1.59473 1.04557L1.58643 1.04709L1.8712 0.250924Z" fill="white"/>
|
|
40
|
+
<path d="M1.74254 1.3342C1.85358 1.446 1.85282 1.62577 1.74178 1.73643C1.63037 1.84747 1.45021 1.84672 1.33955 1.73568C1.22889 1.62388 1.22927 1.44411 1.34068 1.33345C1.4521 1.22279 1.63188 1.22316 1.74254 1.3342Z" fill="white"/>
|
|
41
|
+
<path d="M1.1243 0.537082C1.27122 0.708173 1.33429 0.84035 1.39019 1.07187C1.31729 1.09302 1.23156 1.13722 1.17982 1.20898L0.183105 0.19641C0.561545 0.161286 0.888999 0.25042 1.1243 0.537082Z" fill="white"/>
|
|
42
|
+
<path d="M13.8075 2.35891V2.77588C13.2961 2.37516 12.7443 2.04129 12.1604 1.7856V1.42263C12.7417 1.66473 13.2931 1.98047 13.8075 2.35891Z" fill="white"/>
|
|
43
|
+
<path d="M9.36076 0.858693C9.63949 0.858693 9.91519 0.875302 10.1871 0.906272V1.24316C9.91557 1.21068 9.63986 1.19369 9.36076 1.19369C9.08391 1.19369 8.81008 1.21031 8.54004 1.2428V0.905904C8.81046 0.874933 9.08391 0.858693 9.36076 0.858693Z" fill="white"/>
|
|
44
|
+
<path d="M6.56749 1.42051V1.78309C5.98396 2.03802 5.43217 2.37152 4.92041 2.77148V2.35454C5.43519 1.97648 5.98699 1.66185 6.56749 1.42051Z" fill="white"/>
|
|
45
|
+
<path d="M4.92041 19.2462V18.8296C5.43217 19.2295 5.98396 19.5626 6.56749 19.818V20.1802C5.98699 19.9388 5.43519 19.6246 4.92041 19.2462Z" fill="white"/>
|
|
46
|
+
<path d="M9.36076 20.7427C9.08391 20.7427 8.81046 20.7264 8.54004 20.6955V20.3582C8.81008 20.3907 9.08391 20.4073 9.36076 20.4073C9.63986 20.4073 9.91557 20.3903 10.1871 20.3574V20.6947C9.91519 20.7261 9.63949 20.7427 9.36076 20.7427Z" fill="white"/>
|
|
47
|
+
<path d="M12.1604 20.1777V19.8152C12.7443 19.5598 13.2961 19.226 13.8075 18.8252V19.2415C13.2931 19.6206 12.7417 19.936 12.1604 20.1777Z" fill="white"/>
|
|
48
|
+
<path d="M28.4893 5.86063H31.8881V10.2455H30.7554L30.5855 9.22543C30.1545 9.72398 29.5317 10.4604 28.0474 10.4604C26.0876 10.4604 24.3083 9.05546 24.3083 6.20054C24.3083 3.98014 25.5434 1.884 28.2854 1.89533C30.7781 1.89533 31.7635 3.51559 31.8541 4.63693H30.1545C30.1545 4.31968 29.577 3.29994 28.376 3.29994C27.1636 3.29994 26.0423 4.13839 26.0423 6.22321C26.0423 8.44399 27.2547 9.02185 28.41 9.02185C28.7839 9.02185 30.0303 8.87418 30.3815 7.23163H28.4893V5.86063Z" fill="#231F20"/>
|
|
49
|
+
<path d="M36.9077 8.47762C36.7831 8.90856 36.3298 9.13517 35.888 9.13517C34.6076 9.13517 34.517 8.11505 34.4716 7.6622H38.6069V7.37894C38.6069 4.62562 36.9644 4.05946 35.7746 4.05946C33.135 4.05946 32.8857 6.38184 32.8857 7.107C32.8857 9.58839 34.1884 10.4038 35.888 10.4038C36.9187 10.4038 38.1201 9.9283 38.5389 8.47762H36.9077ZM34.517 6.63113C34.6076 5.83799 35.0042 5.36211 35.752 5.36211C36.2619 5.36211 36.885 5.65671 36.9757 6.63113H34.517Z" fill="#231F20"/>
|
|
50
|
+
<path d="M45.1106 10.2456H43.5243V6.58585C43.5243 6.14396 43.5017 5.39614 42.4933 5.39614C41.7908 5.39614 41.2469 5.87202 41.2469 6.78979V10.2456H39.6606V4.21776H41.1793V5.10155H41.2016C41.4172 4.73898 41.8701 4.05951 43.0145 4.05951C44.1928 4.05951 45.1106 4.7503 45.1106 6.07597V10.2456Z" fill="#231F20"/>
|
|
51
|
+
<path d="M50.1294 8.47762C50.0047 8.90856 49.5515 9.13517 49.1096 9.13517C47.8293 9.13517 47.7386 8.11505 47.6933 7.6622H51.829V7.37894C51.829 4.62562 50.186 4.05946 48.9963 4.05946C46.3567 4.05946 46.1074 6.38184 46.1074 7.107C46.1074 9.58839 47.4104 10.4038 49.1096 10.4038C50.1407 10.4038 51.3417 9.9283 51.7606 8.47762H50.1294ZM47.7386 6.63113C47.8293 5.83799 48.2258 5.36211 48.9737 5.36211C49.4835 5.36211 50.1063 5.65671 50.1974 6.63113H47.7386Z" fill="#231F20"/>
|
|
52
|
+
<path d="M52.8713 4.21776H54.3893V5.26017H54.4123C54.7405 4.64832 55.1031 4.05951 56.0662 4.05951C56.1681 4.05951 56.2701 4.07047 56.3721 4.08217V5.69073C56.2361 5.66807 56.0662 5.66808 55.9189 5.66808C54.6842 5.66808 54.4572 6.43854 54.4572 7.10704V10.2456H52.8713V4.21776Z" fill="#231F20"/>
|
|
53
|
+
<path d="M62.1731 5.80399C62.1731 4.31969 60.6208 4.05946 59.771 4.05946C58.5363 4.05946 57.256 4.31969 57.0747 6.16657H58.6039C58.6496 5.81532 58.7856 5.32849 59.5787 5.32849C59.9866 5.32849 60.6208 5.3621 60.6208 6.0306C60.6208 6.37051 60.3152 6.47249 60.066 6.50648L58.6379 6.72177C57.6295 6.86907 56.8821 7.46959 56.8821 8.64796C56.8821 9.89394 57.8112 10.4038 58.7172 10.4038C59.794 10.4038 60.3035 9.90526 60.6661 9.53135C60.7001 9.87165 60.7227 9.9623 60.8134 10.2456H62.5243V10.0072C62.3317 9.93926 62.1731 9.78101 62.1731 9.06681V5.80399ZM60.6208 8.08144C60.6208 8.81792 59.9073 9.27076 59.2045 9.27076C58.8989 9.27076 58.4684 9.10118 58.4684 8.54598C58.4684 7.88881 58.9552 7.74151 59.5448 7.63954C60.2015 7.53756 60.4622 7.4356 60.6208 7.31096V8.08144Z" fill="#231F20"/>
|
|
54
|
+
<path d="M65.2206 10.2456H63.6343V2.11066H65.2206V10.2456Z" fill="#231F20"/>
|
|
55
|
+
<path d="M68.371 3.50394H66.7852V2.03136H68.371V3.50394ZM68.371 4.21776V10.2456H66.7852V4.21776H68.371Z" fill="#231F20"/>
|
|
56
|
+
<path d="M71.6672 4.21763H72.653V5.35069H71.6672V8.62522C71.6672 8.97609 71.6785 9.11243 72.3244 9.11243C72.426 9.11243 72.5397 9.1011 72.653 9.0894V10.2904C72.4037 10.3018 72.154 10.3135 71.9052 10.3135H71.7012C70.3302 10.3135 70.0809 9.79189 70.0809 9.01047V5.35069H69.2651V4.21763H70.0809V2.58642H71.6672V4.21763Z" fill="#231F20"/>
|
|
57
|
+
<path d="M78.5445 5.80399C78.5445 4.31969 76.9926 4.05946 76.1428 4.05946C74.9078 4.05946 73.6278 4.31969 73.4461 6.16657H74.9758C75.0211 5.81532 75.1574 5.32849 75.9502 5.32849C76.3581 5.32849 76.9926 5.3621 76.9926 6.0306C76.9926 6.37051 76.6867 6.47249 76.4374 6.50648L75.0098 6.72177C74.0013 6.86907 73.2539 7.46959 73.2539 8.64796C73.2539 9.89394 74.1826 10.4038 75.0891 10.4038C76.1655 10.4038 76.6753 9.90526 77.0379 9.53135C77.0719 9.87165 77.0942 9.9623 77.1852 10.2456H78.8961V10.0072C78.7031 9.93926 78.5445 9.78101 78.5445 9.06681V5.80399ZM76.9926 8.08144C76.9926 8.81792 76.2788 9.27076 75.5763 9.27076C75.2704 9.27076 74.8398 9.10118 74.8398 8.54598C74.8398 7.88881 75.327 7.74151 75.9162 7.63954C76.5734 7.53756 76.834 7.4356 76.9926 7.31096V8.08144Z" fill="#231F20"/>
|
|
58
|
+
<path d="M81.7398 4.21763H82.7256V5.35069H81.7398V8.62522C81.7398 8.97609 81.7515 9.11243 82.3974 9.11243C82.499 9.11243 82.6123 9.1011 82.7256 9.0894V10.2904C82.4759 10.3018 82.227 10.3135 81.9778 10.3135H81.7738C80.4028 10.3135 80.1536 9.79189 80.1536 9.01047V5.35069H79.3381V4.21763H80.1536V2.58642H81.7398V4.21763Z" fill="#231F20"/>
|
|
59
|
+
<path d="M30.0527 13.4412H28.4664V16.3301H28.4438C28.1945 15.9449 27.7186 15.39 26.6989 15.39C25.3732 15.39 24.1948 16.4094 24.1948 18.4938C24.1948 20.1485 24.943 21.7344 26.7329 21.7344C27.39 21.7344 28.0925 21.4968 28.4778 20.817H28.5004V21.5761H30.0527V13.4412ZM25.8264 18.6075C25.8264 17.6558 26.1663 16.7607 27.1751 16.7607C28.2625 16.7607 28.5344 17.7351 28.5344 18.6978C28.5344 19.5933 28.1378 20.4318 27.1294 20.4318C26.1097 20.4318 25.8264 19.3213 25.8264 18.6075Z" fill="#231F20"/>
|
|
60
|
+
<path d="M35.0151 19.8082C34.8905 20.2387 34.4373 20.4657 33.9954 20.4657C32.7154 20.4657 32.6244 19.4456 32.5791 18.9928H36.7143V18.7095C36.7143 15.9562 35.0718 15.39 33.8821 15.39C31.2421 15.39 30.9932 17.7124 30.9932 18.4376C30.9932 20.919 32.2958 21.7344 33.9954 21.7344C35.0265 21.7344 36.2271 21.2589 36.6467 19.8082H35.0151ZM32.6244 17.9617C32.7154 17.1686 33.1116 16.6927 33.8594 16.6927C34.3693 16.6927 34.9925 16.9873 35.0831 17.9617H32.6244Z" fill="#231F20"/>
|
|
61
|
+
<path d="M46.2321 16.1035C46.0958 15.6163 45.8356 14.6985 44.4306 14.6985C43.6148 14.6985 42.4137 15.2427 42.4137 17.5425C42.4137 19.0041 42.9916 20.3184 44.4306 20.3184C45.3706 20.3184 46.0282 19.7859 46.2321 18.7888H47.9313C47.5914 20.556 46.4361 21.791 44.3962 21.791C42.2325 21.791 40.6802 20.3298 40.6802 17.5198C40.6802 14.6762 42.3231 13.2259 44.4193 13.2259C46.8549 13.2259 47.8407 14.9024 47.9313 16.1035H46.2321Z" fill="#231F20"/>
|
|
62
|
+
<path d="M53.9813 17.1346C53.9813 15.6503 52.429 15.39 51.5792 15.39C50.3442 15.39 49.0642 15.6503 48.8826 17.4971H50.4122C50.4575 17.1459 50.5935 16.6591 51.3866 16.6591C51.7945 16.6591 52.429 16.6927 52.429 17.3612C52.429 17.7011 52.1231 17.8031 51.8738 17.8371L50.4466 18.0523C49.4381 18.1996 48.6899 18.8002 48.6899 19.9785C48.6899 21.2245 49.619 21.7344 50.5259 21.7344C51.6019 21.7344 52.1118 21.2358 52.4743 20.8619C52.5083 21.2022 52.531 21.2929 52.6216 21.5761H54.3326V21.3378C54.1399 21.2698 53.9813 21.1116 53.9813 20.3974V17.1346ZM52.429 19.412C52.429 20.1485 51.7152 20.6013 51.0131 20.6013C50.7068 20.6013 50.2766 20.4317 50.2766 19.8765C50.2766 19.2194 50.7638 19.0721 51.3526 18.9701C52.0098 18.8681 52.2704 18.7662 52.429 18.6415V19.412Z" fill="#231F20"/>
|
|
63
|
+
<path d="M57.1766 15.5482H58.1627V16.6813H57.1766V19.9558C57.1766 20.3067 57.1879 20.443 57.8338 20.443C57.9357 20.443 58.0494 20.4317 58.1627 20.42V21.621C57.9131 21.6323 57.6638 21.644 57.4145 21.644H57.211C55.84 21.644 55.5907 21.1225 55.5907 20.341V16.6813H54.7749V15.5482H55.5907V13.917H57.1766V15.5482Z" fill="#231F20"/>
|
|
64
|
+
<path d="M64.0532 17.1346C64.0532 15.6503 62.5013 15.39 61.6515 15.39C60.4165 15.39 59.1361 15.6503 58.9548 17.4971H60.4844C60.5298 17.1459 60.6654 16.6591 61.4589 16.6591C61.8668 16.6591 62.5013 16.6927 62.5013 17.3612C62.5013 17.7011 62.195 17.8031 61.9461 17.8371L60.5184 18.0523C59.51 18.1996 58.7622 18.8002 58.7622 19.9785C58.7622 21.2245 59.6913 21.7344 60.5977 21.7344C61.6738 21.7344 62.184 21.2358 62.5466 20.8619C62.5806 21.2022 62.6029 21.2929 62.6939 21.5761H64.4044V21.3378C64.2118 21.2698 64.0532 21.1116 64.0532 20.3974V17.1346ZM62.5013 19.412C62.5013 20.1485 61.7875 20.6013 61.085 20.6013C60.779 20.6013 60.3485 20.4317 60.3485 19.8765C60.3485 19.2194 60.8357 19.0721 61.4249 18.9701C62.0817 18.8681 62.3427 18.7662 62.5013 18.6415V19.412Z" fill="#231F20"/>
|
|
65
|
+
<path d="M67.1014 21.5762H65.5151V13.4412H67.1014V21.5762Z" fill="#231F20"/>
|
|
66
|
+
<path d="M74.0578 21.5761H72.5395V20.7263H72.5169C72.1543 21.3718 71.5201 21.7344 70.6817 21.7344C69.492 21.7344 68.6309 21.0545 68.6309 19.514V15.5483H70.2168V19.2874C70.2168 20.2165 70.761 20.3974 71.2478 20.3974C71.769 20.3974 72.4715 20.1028 72.4715 19.0268V15.5483H74.0578V21.5761Z" fill="#231F20"/>
|
|
67
|
+
<path d="M80.9916 21.5762H79.4053V17.9164C79.4053 17.4745 79.3827 16.7267 78.3742 16.7267C77.6721 16.7267 77.1279 17.2026 77.1279 18.1204V21.5762H75.542V15.5483H77.0603V16.4321H77.0826C77.2982 16.0695 77.7514 15.3901 78.8955 15.3901C80.0738 15.3901 80.9916 16.0809 80.9916 17.4065V21.5762Z" fill="#231F20"/>
|
|
68
|
+
<path d="M85.5378 21.4741C84.7896 23.7058 84.586 24 83.2037 24C82.9884 24 82.7165 23.989 82.4903 23.9777V22.7091C82.5579 22.72 82.6598 22.7317 82.7958 22.7317C83.3737 22.7317 83.6909 22.652 83.8382 21.8253L81.6174 15.5482H83.385L84.6767 19.9894H84.6993L85.9344 15.5482H87.6109L85.5378 21.4741Z" fill="#231F20"/>
|
|
69
|
+
<path d="M93.0864 17.1346C93.0864 15.6503 91.5345 15.39 90.6847 15.39C89.4493 15.39 88.1693 15.6503 87.988 17.4971H89.5173C89.563 17.1459 89.6989 16.6591 90.4917 16.6591C90.8996 16.6591 91.5345 16.6927 91.5345 17.3612C91.5345 17.7011 91.2282 17.8031 90.9789 17.8371L89.5516 18.0523C88.5432 18.1996 87.7954 18.8002 87.7954 19.9785C87.7954 21.2245 88.7241 21.7344 89.631 21.7344C90.707 21.7344 91.2168 21.2358 91.5794 20.8619C91.6138 21.2022 91.6361 21.2929 91.7271 21.5761H93.4376V21.3378C93.245 21.2698 93.0864 21.1116 93.0864 20.3974V17.1346ZM91.5345 19.412C91.5345 20.1485 90.8203 20.6013 90.1182 20.6013C89.8119 20.6013 89.3817 20.4317 89.3817 19.8765C89.3817 19.2194 89.8689 19.0721 90.4577 18.9701C91.1152 18.8681 91.3755 18.7662 91.5345 18.6415V19.412Z" fill="#231F20"/>
|
|
70
|
+
</svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg width="80" height="24" viewBox="0 0 80 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M2.51539 23.4832H0L8.22624 0.518679H10.7412L2.51539 23.4832Z" fill="#6AAAE4"/>
|
|
3
|
+
<path d="M20.1573 24C17.1695 24 14.8372 23.3218 13.1604 21.9659C11.4836 20.6095 10.633 18.5906 10.6094 15.9092H13.4169C13.4812 19.6737 15.7275 21.5563 20.1573 21.5563C22.0287 21.5563 23.4647 21.1901 24.4642 20.4587C25.4641 19.7269 25.9643 18.6581 25.9643 17.2522C26.0073 16.2425 25.5399 15.2791 24.7212 14.6874C23.8941 14.0743 22.449 13.5427 20.3853 13.091L18.3511 12.6389C16.028 12.0994 14.2875 11.3204 13.128 10.3019C11.969 9.28302 11.393 7.84942 11.4004 6.00159C11.35 4.28135 12.1493 2.64663 13.5381 1.63049C14.9439 0.544998 16.844 0.00226593 19.2383 0.00226593C20.6576 -0.0236225 22.0722 0.172396 23.4314 0.582922C24.4817 0.885733 25.4406 1.44557 26.2209 2.21115C26.858 2.86207 27.3573 3.63505 27.6883 4.48384C28.0096 5.35251 28.1797 6.26925 28.1908 7.19525H25.4156C25.2875 5.55869 24.7554 4.35948 23.8197 3.59668C22.8835 2.83434 21.3566 2.4534 19.2383 2.4534C17.623 2.4534 16.3808 2.76592 15.5116 3.39049C14.6573 3.97947 14.1645 4.96464 14.2038 6.00159C14.1492 6.99831 14.5612 7.96359 15.3193 8.61313C16.0484 9.2377 17.4732 9.78646 19.5943 10.2589L21.6289 10.7115C24.1651 11.2718 25.9925 12.0721 27.1113 13.1127C28.2301 14.1529 28.7881 15.5352 28.7858 17.2596C28.7858 19.3446 28.0235 20.9895 26.4988 22.1938C24.9736 23.3976 22.86 24 20.1573 24Z" fill="#6AAAE4"/>
|
|
4
|
+
<path d="M36.6945 21.677C38.0098 21.6978 39.2894 21.2521 40.3074 20.4195C41.3356 19.6026 41.8515 18.4302 41.8538 16.9033V14.9366C41.1997 15.3647 40.4434 15.6107 39.6625 15.6495L37.2437 15.938C35.8434 16.1123 34.8495 16.4331 34.2582 16.907C33.6558 17.4039 33.3262 18.1579 33.371 18.9374C33.3313 19.7025 33.6401 20.444 34.212 20.954C34.7783 21.4348 35.6261 21.677 36.6945 21.677ZM45.2841 21.3779H46.2175V23.4763C45.746 23.5438 45.2693 23.5757 44.7927 23.5725C43.0498 23.5725 42.1146 22.7768 41.9893 21.1856C40.8345 22.9766 39.0305 23.8716 36.5776 23.8716C34.7464 23.8716 33.3142 23.4444 32.2703 22.5965C31.2264 21.7487 30.7063 20.5476 30.7063 19.0017C30.7063 15.9879 32.7594 14.2668 36.866 13.8396L39.2529 13.583C40.9935 13.3884 41.864 12.6246 41.864 11.2923C41.864 10.3658 41.5792 9.69872 41.0092 9.29005C40.4392 8.88368 39.4771 8.67749 38.1235 8.67749C36.6982 8.67749 35.6298 8.91975 35.0099 9.38991C34.3899 9.86007 34.0159 10.7292 33.941 11.9548H31.3512C31.5648 8.27807 33.8213 6.43995 38.1198 6.43995C42.2907 6.43995 44.3762 8.05292 44.3762 11.278V20.58C44.3794 21.1176 44.6822 21.3779 45.2841 21.3779Z" fill="#6AAAE4"/>
|
|
5
|
+
<path d="M50.8951 23.4832H48.3159V0.518679H50.8951V23.4832Z" fill="#6AAAE4"/>
|
|
6
|
+
<path d="M65.7337 16.2584V6.83891H68.3129V23.4832H65.8618V20.9896C64.5937 22.9109 62.8517 23.8716 60.6359 23.8716C58.7876 23.8716 57.3471 23.3658 56.3143 22.3543C55.281 21.3423 54.7642 19.9175 54.7642 18.0789V6.83891H57.3581V17.8403C57.3581 20.3127 58.6262 21.549 61.1629 21.549C62.3718 21.5531 63.5304 21.0631 64.3694 20.1916C65.2788 19.2915 65.7337 17.9804 65.7337 16.2584Z" fill="#6AAAE4"/>
|
|
7
|
+
<path d="M79.4708 6.83878V9.09759H76.0544V19.903C76.0544 20.8507 76.6882 21.3279 77.9568 21.3279H79.4708V23.4905C78.7584 23.5548 78.1459 23.5867 77.6323 23.5867C74.8607 23.5867 73.4748 22.436 73.4748 20.1346V9.09066H70.7314V6.83878H73.4748V2.13992H76.0544V6.83878H79.4708Z" fill="#6AAAE4"/>
|
|
8
|
+
</svg>
|
package/src/UI/index.ts
ADDED