hayun-vite 0.0.0 → 0.0.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/assets/Daco_1154502.png +0 -0
- package/assets/ear-logo-1.png +0 -0
- package/assets/fonts/Vazirmatn-Regular.woff2 +0 -0
- package/assets/hearing-aid-computer-icons-sound-ears-.png +0 -0
- package/assets/logo.svg +1 -0
- package/assets/logo192.png +0 -0
- package/assets/rasa.png +0 -0
- package/assets/styles-test.css +90 -0
- package/assets/styles.css +90 -0
- package/data/formData1.js +42 -0
- package/data/officesObjStore.js +57 -0
- package/data/patientsObjStore.js +74 -0
- package/data/sampleData.js +95 -0
- package/index.js +9 -3
- package/package.json +1 -1
- package/src/{Audiogram.js → Audiogram/Audiogram.js} +6 -4
- package/src/Form/Form.js +277 -0
- package/src/Form/Form_N.js +159 -0
- package/src/Form/Forms-Test.html +125 -0
- package/src/Form/Forms.js +135 -0
- package/src/Form/Header.js +92 -0
- package/src/Form/Reflex.js +142 -0
- package/src/Form/Sections.js +72 -0
- package/src/Form/Speech.js +133 -0
- package/src/Form/TextBox.js +81 -0
- package/src/Form/Tympanogram.js +356 -0
- package/src/Form/formStyles.css +122 -0
- package/src/Form/globalinfo.js +68 -0
- package/src/Form/grid/drawGrid.js +84 -0
- package/src/Form/grid/hideGrid.js +9 -0
- package/src/Form/printForm.js +76 -0
- package/src/Form/rasa-audio-208-293.png +0 -0
- package/src/Form/templates/combo.js +248 -0
- package/src/Form/templates/dims.js +204 -0
- package/src/Form/templates/rasaAud.js +287 -0
- package/src/Form/templates/rasaAud.png +0 -0
- package/src/Form/templates/rasaTymp.jpg +0 -0
- package/src/fonts/Vazirmatn-Regular.woff2 +0 -0
- package/src/main.js +87 -74
- package/src/note.html +1 -0
- package/src/style.css +157 -96
- package/src/AudiogramChart-Test.html +0 -56
- /package/src/{dims.js → Audiogram/dims.js} +0 -0
package/src/style.css
CHANGED
|
@@ -1,96 +1,157 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
3
|
-
line-height: 1.5;
|
|
4
|
-
font-weight: 400;
|
|
5
|
-
|
|
6
|
-
color-scheme: light dark;
|
|
7
|
-
color: rgba(255, 255, 255, 0.87);
|
|
8
|
-
background-color: #242424;
|
|
9
|
-
|
|
10
|
-
font-synthesis: none;
|
|
11
|
-
text-rendering: optimizeLegibility;
|
|
12
|
-
-webkit-font-smoothing: antialiased;
|
|
13
|
-
-moz-osx-font-smoothing: grayscale;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
a {
|
|
17
|
-
font-weight: 500;
|
|
18
|
-
color: #646cff;
|
|
19
|
-
text-decoration: inherit;
|
|
20
|
-
}
|
|
21
|
-
a:hover {
|
|
22
|
-
color: #535bf2;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
body {
|
|
26
|
-
margin: 0;
|
|
27
|
-
display: flex;
|
|
28
|
-
place-items: center;
|
|
29
|
-
min-width: 320px;
|
|
30
|
-
min-height: 100vh;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
h1 {
|
|
34
|
-
font-size: 3.2em;
|
|
35
|
-
line-height: 1.1;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
#app {
|
|
39
|
-
max-width: 1280px;
|
|
40
|
-
margin: 0 auto;
|
|
41
|
-
padding: 2rem;
|
|
42
|
-
text-align: center;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.logo {
|
|
46
|
-
height: 6em;
|
|
47
|
-
padding: 1.5em;
|
|
48
|
-
will-change: filter;
|
|
49
|
-
transition: filter 300ms;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
font-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
button:
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
:
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
color: #
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
1
|
+
/* :root {
|
|
2
|
+
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
3
|
+
line-height: 1.5;
|
|
4
|
+
font-weight: 400;
|
|
5
|
+
|
|
6
|
+
color-scheme: light dark;
|
|
7
|
+
color: rgba(255, 255, 255, 0.87);
|
|
8
|
+
background-color: #242424;
|
|
9
|
+
|
|
10
|
+
font-synthesis: none;
|
|
11
|
+
text-rendering: optimizeLegibility;
|
|
12
|
+
-webkit-font-smoothing: antialiased;
|
|
13
|
+
-moz-osx-font-smoothing: grayscale;
|
|
14
|
+
} */
|
|
15
|
+
|
|
16
|
+
/* a {
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
color: #646cff;
|
|
19
|
+
text-decoration: inherit;
|
|
20
|
+
}
|
|
21
|
+
a:hover {
|
|
22
|
+
color: #535bf2;
|
|
23
|
+
} */
|
|
24
|
+
|
|
25
|
+
/* body {
|
|
26
|
+
margin: 0;
|
|
27
|
+
display: flex;
|
|
28
|
+
place-items: center;
|
|
29
|
+
min-width: 320px;
|
|
30
|
+
min-height: 100vh;
|
|
31
|
+
} */
|
|
32
|
+
|
|
33
|
+
/* h1 {
|
|
34
|
+
font-size: 3.2em;
|
|
35
|
+
line-height: 1.1;
|
|
36
|
+
} */
|
|
37
|
+
|
|
38
|
+
/* #app {
|
|
39
|
+
max-width: 1280px;
|
|
40
|
+
margin: 0 auto;
|
|
41
|
+
padding: 2rem;
|
|
42
|
+
text-align: center;
|
|
43
|
+
} */
|
|
44
|
+
|
|
45
|
+
.logo {
|
|
46
|
+
height: 6em;
|
|
47
|
+
padding: 1.5em;
|
|
48
|
+
will-change: filter;
|
|
49
|
+
transition: filter 300ms;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.logo:hover {
|
|
53
|
+
filter: drop-shadow(0 0 2em #646cffaa);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.logo.vanilla:hover {
|
|
57
|
+
filter: drop-shadow(0 0 2em #f7df1eaa);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.card {
|
|
61
|
+
padding: 2em;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.read-the-docs {
|
|
65
|
+
color: #888;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
button {
|
|
69
|
+
border-radius: 8px;
|
|
70
|
+
border: 1px solid transparent;
|
|
71
|
+
padding: 0.6em 1.2em;
|
|
72
|
+
font-size: 1em;
|
|
73
|
+
font-weight: 500;
|
|
74
|
+
font-family: inherit;
|
|
75
|
+
background-color: #1a1a1a;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
transition: border-color 0.25s;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
button:hover {
|
|
81
|
+
border-color: #646cff;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
button:focus,
|
|
85
|
+
button:focus-visible {
|
|
86
|
+
outline: 4px auto -webkit-focus-ring-color;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@media (prefers-color-scheme: light) {
|
|
90
|
+
:root {
|
|
91
|
+
color: #213547;
|
|
92
|
+
background-color: #ffffff;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
a:hover {
|
|
96
|
+
color: #747bff;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
button {
|
|
100
|
+
background-color: #f9f9f9;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* hayun Styles */
|
|
105
|
+
|
|
106
|
+
@font-face {
|
|
107
|
+
/* src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2"); */
|
|
108
|
+
src:
|
|
109
|
+
/* Path to the font file */
|
|
110
|
+
url("./fonts/Vazirmatn-Regular.woff2") format("woff2"),
|
|
111
|
+
/* Fallback font file */
|
|
112
|
+
url('./fonts/Vazirmatn-Regular.woff') format('woff');
|
|
113
|
+
|
|
114
|
+
font-family: vazirmatn;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
body {
|
|
118
|
+
font-family: vazirmatn;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
button {
|
|
123
|
+
background-color: #4CAF50;
|
|
124
|
+
/* Green background */
|
|
125
|
+
border: none;
|
|
126
|
+
/* Remove borders */
|
|
127
|
+
color: white;
|
|
128
|
+
/* White text */
|
|
129
|
+
padding: 15px 32px;
|
|
130
|
+
/* Some padding */
|
|
131
|
+
text-align: center;
|
|
132
|
+
/* Centered text */
|
|
133
|
+
text-decoration: none;
|
|
134
|
+
/* Remove underline */
|
|
135
|
+
display: inline-block;
|
|
136
|
+
/* Make the button inline */
|
|
137
|
+
font-size: 16px;
|
|
138
|
+
/* Increase font size */
|
|
139
|
+
margin: 4px 2px;
|
|
140
|
+
/* Add some margin */
|
|
141
|
+
cursor: pointer;
|
|
142
|
+
/* Pointer cursor on hover */
|
|
143
|
+
border-radius: 8px;
|
|
144
|
+
/* Rounded corners */
|
|
145
|
+
transition: background-color 0.3s;
|
|
146
|
+
/* Smooth transition */
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
button:hover {
|
|
150
|
+
background-color: #45a049;
|
|
151
|
+
/* Darker green on hover */
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
button:active {
|
|
155
|
+
background-color: #3e8e41;
|
|
156
|
+
/* Even darker green when clicked */
|
|
157
|
+
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
-
<title>Audiogram Test</title>
|
|
8
|
-
</head>
|
|
9
|
-
|
|
10
|
-
<body>
|
|
11
|
-
<div id="audiogram-div"></div>
|
|
12
|
-
<script type="module">
|
|
13
|
-
|
|
14
|
-
import AudiogramChart from './Audiogram.js'
|
|
15
|
-
import dims from './dims.js'
|
|
16
|
-
const RAudiogram = new AudiogramChart({
|
|
17
|
-
container: document.getElementById('audiogram-div'),
|
|
18
|
-
dims: dims.display,
|
|
19
|
-
side: 'R', x: 0, y: 0,
|
|
20
|
-
width: 700, height: 800, events: true
|
|
21
|
-
});
|
|
22
|
-
const LAudiogram = new AudiogramChart({
|
|
23
|
-
container: document.getElementById('audiogram-div'),
|
|
24
|
-
dims: dims.display,
|
|
25
|
-
side: 'L', x: 0, y: 0,
|
|
26
|
-
width: 700, height: 800, events: true
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
RAudiogram.update({
|
|
30
|
-
data: {
|
|
31
|
-
// R_AC_M: { 8000: 25, 2000: 5, 1500: 0, },
|
|
32
|
-
R_AC: { 1000: 25, 500: 15, 750: 20, 250: 10, 6000: 35, 2000: 45 },
|
|
33
|
-
R_AC_NR: { 1500: 85 },
|
|
34
|
-
R_BC_M: { 2000: 25, 6000: 25 },
|
|
35
|
-
R_BC_M_NR: { 3000: 85 },
|
|
36
|
-
R_BC: { 1000: 20, 500: 10, 750: 15, 250: 5, 4000: 20 },
|
|
37
|
-
},
|
|
38
|
-
side: 'R',
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
LAudiogram.update({
|
|
42
|
-
data: {
|
|
43
|
-
// R_AC_M: { 8000: 25, 2000: 5, 1500: 0, },
|
|
44
|
-
L_AC: { 1000: 25, 500: 15, 750: 20, 250: 10, 6000: 35, 2000: 45 },
|
|
45
|
-
L_AC_NR: { 1500: 85 },
|
|
46
|
-
L_BC_M: { 2000: 25, 6000: 25 },
|
|
47
|
-
L_BC_M_NR: { 3000: 85 },
|
|
48
|
-
L_BC: { 1000: 20, 500: 10, 750: 15, 250: 5, 4000: 20 },
|
|
49
|
-
},
|
|
50
|
-
side: 'L',
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
</script>
|
|
54
|
-
</body>
|
|
55
|
-
|
|
56
|
-
</html>
|
|
File without changes
|