Skip to content

Commit 59888cd

Browse files
authored
Merge pull request #7 from it-at-m/MUXDBS-94-checklist-detail-loggedin-state
my-checklists initial implementation
2 parents 131aac4 + e123f47 commit 59888cd

20 files changed

+727
-115
lines changed
Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,42 @@
11
<!doctype html>
22
<html lang="en">
3-
<head>
3+
<head>
44
<meta charset="UTF-8" />
55
<meta
6-
name="robots"
7-
content="noindex"
6+
name="robots"
7+
content="noindex"
88
/>
99
<link
10-
href="/favicon.ico"
11-
rel="icon"
10+
href="/favicon.ico"
11+
rel="icon"
1212
/>
1313
<meta
14-
content="width=device-width, initial-scale=1.0"
15-
name="viewport"
14+
content="width=device-width, initial-scale=1.0"
15+
name="viewport"
1616
/>
1717
<title>personalization-webcomponent</title>
1818

1919
<!-- Muenchen.de Fontfaces -->
2020
<link
21-
href="https://assets.muenchen.de/mde/1.0.10/css/fonts.css"
22-
rel="stylesheet"
21+
href="https://assets.muenchen.de/mde/1.0.10/css/fonts.css"
22+
rel="stylesheet"
2323
/>
2424

2525
<!-- built files will be auto injected -->
26-
<script src="src/checklist-detail-webcomponent.ts" type="module"></script>
27-
</head>
28-
<body>
29-
<noscript>
30-
<strong>
26+
<script
27+
src="src/checklist-detail-webcomponent.ts"
28+
type="module"
29+
></script>
30+
</head>
31+
<body>
32+
<noscript>
33+
<strong>
3134
In order for the development page to work correctly, JavaScript needs to
3235
be activated.
33-
</strong>
34-
</noscript>
35-
<div>
36-
<checklist-detail first-name="Julia"></checklist-detail>
37-
</div>
38-
</body>
36+
</strong>
37+
</noscript>
38+
<div>
39+
<checklist-detail first-name="Julia"></checklist-detail>
40+
</div>
41+
</body>
3942
</html>
Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,42 @@
11
<!doctype html>
22
<html lang="en">
3-
<head>
3+
<head>
44
<meta charset="UTF-8" />
55
<meta
6-
name="robots"
7-
content="noindex"
6+
name="robots"
7+
content="noindex"
88
/>
99
<link
10-
href="/favicon.ico"
11-
rel="icon"
10+
href="/favicon.ico"
11+
rel="icon"
1212
/>
1313
<meta
14-
content="width=device-width, initial-scale=1.0"
15-
name="viewport"
14+
content="width=device-width, initial-scale=1.0"
15+
name="viewport"
1616
/>
1717
<title>personalization-webcomponent</title>
1818

1919
<!-- Muenchen.de Fontfaces -->
2020
<link
21-
href="https://assets.muenchen.de/mde/1.0.10/css/fonts.css"
22-
rel="stylesheet"
21+
href="https://assets.muenchen.de/mde/1.0.10/css/fonts.css"
22+
rel="stylesheet"
2323
/>
2424

2525
<!-- built files will be auto injected -->
26-
<script src="src/checklist-overview-webcomponent.ts" type="module"></script>
27-
</head>
28-
<body>
29-
<noscript>
30-
<strong>
26+
<script
27+
src="src/checklist-overview-webcomponent.ts"
28+
type="module"
29+
></script>
30+
</head>
31+
<body>
32+
<noscript>
33+
<strong>
3134
In order for the development page to work correctly, JavaScript needs to
3235
be activated.
33-
</strong>
34-
</noscript>
35-
<div>
36-
<checklist-overview first-name="Simon"/>
37-
</div>
38-
</body>
36+
</strong>
37+
</noscript>
38+
<div>
39+
<checklist-overview first-name="Simon" />
40+
</div>
41+
</body>
3942
</html>
Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,44 @@
11
<!doctype html>
22
<html lang="en">
3-
<head>
3+
<head>
44
<meta charset="UTF-8" />
55
<meta
6-
name="robots"
7-
content="noindex"
6+
name="robots"
7+
content="noindex"
88
/>
99
<link
10-
href="/favicon.ico"
11-
rel="icon"
10+
href="/favicon.ico"
11+
rel="icon"
1212
/>
1313
<meta
14-
content="width=device-width, initial-scale=1.0"
15-
name="viewport"
14+
content="width=device-width, initial-scale=1.0"
15+
name="viewport"
1616
/>
1717
<title>personalization-webcomponent</title>
1818

1919
<!-- Muenchen.de Fontfaces -->
2020
<link
21-
href="https://assets.muenchen.de/mde/1.0.10/css/fonts.css"
22-
rel="stylesheet"
21+
href="https://assets.muenchen.de/mde/1.0.10/css/fonts.css"
22+
rel="stylesheet"
2323
/>
2424

2525
<!-- built files will be auto injected -->
26-
<script src="src/my-checklists-webcomponent.ts" type="module"></script>
27-
</head>
28-
<body>
29-
<noscript>
30-
<strong>
26+
<script
27+
src="src/my-checklists-webcomponent.ts"
28+
type="module"
29+
></script>
30+
</head>
31+
<body>
32+
<noscript>
33+
<strong>
3134
In order for the development page to work correctly, JavaScript needs to
3235
be activated.
33-
</strong>
34-
</noscript>
35-
<div>
36-
<my-checklists first-name="Fabi"/>
37-
</div>
38-
</body>
36+
</strong>
37+
</noscript>
38+
<div>
39+
<my-checklists
40+
checklist-detail-url="./index-checklist-detail.html"
41+
></my-checklists>
42+
</div>
43+
</body>
3944
</html>

personalization-webcomponents/index.html

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
href="https://assets.muenchen.de/mde/1.0.10/css/fonts.css"
2222
rel="stylesheet"
2323
/>
24-
2524
</head>
2625
<body>
2726
<noscript>
@@ -31,18 +30,18 @@
3130
</strong>
3231
</noscript>
3332
<div>
34-
<h1>The following webcomponents are available:</h1>
35-
<ul>
36-
<li>
37-
<a href="index-checklist-detail.html">checklist-detail webcomp</a>
38-
</li>
39-
<li>
40-
<a href="index-checklist-overview.html">checklist-overview webcomp</a>
41-
</li>
42-
<li>
43-
<a href="index-my-checklists.html">my-checklists webcomp</a>
44-
</li>
45-
</ul>
33+
<h1>The following webcomponents are available:</h1>
34+
<ul>
35+
<li>
36+
<a href="index-checklist-detail.html">checklist-detail webcomp</a>
37+
</li>
38+
<li>
39+
<a href="index-checklist-overview.html">checklist-overview webcomp</a>
40+
</li>
41+
<li>
42+
<a href="index-my-checklists.html">my-checklists webcomp</a>
43+
</li>
44+
</ul>
4645
</div>
4746
</body>
4847
</html>

personalization-webcomponents/package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

personalization-webcomponents/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"fix": "prettier . --write && eslint . --fix"
1818
},
1919
"dependencies": {
20-
"@muenchen/muc-patternlab-vue": "5.2.0",
20+
"@muenchen/muc-patternlab-vue": "5.3.0-beta.1",
2121
"@vueuse/core": "13.3.0",
2222
"vue": "3.5.16"
2323
},
2.43 KB
Loading
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import type DummyChecklistItem from "@/api/dummyservice/DummyChecklistItem.ts";
2+
3+
export default interface DummyChecklist {
4+
id: string;
5+
title: string;
6+
lhmExtId: string;
7+
items: DummyChecklistItem[];
8+
lastUpdated: Date;
9+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export default interface DummyChecklistItem {
2+
serviceID: string;
3+
checked: Date | null;
4+
title: string;
5+
note: string;
6+
required: boolean;
7+
}

0 commit comments

Comments
 (0)