hayun-vite 0.0.2 → 0.1.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/assets/styles-test.css +90 -90
- package/assets/styles.css +90 -90
- package/data/formData1.js +42 -42
- package/data/officesObjStore.js +56 -56
- package/data/patientsObjStore.js +73 -73
- package/data/sampleData.js +94 -94
- package/index.js +11 -11
- package/package.json +1 -1
- package/src/Audiogram/Audiogram.js +194 -197
- package/src/Audiogram/dims.js +83 -83
- package/src/Form/Form.js +268 -276
- package/src/Form/Form_N.js +158 -158
- package/src/Form/Forms-Test.html +124 -124
- package/src/Form/Forms.js +121 -134
- package/src/Form/Header.js +91 -91
- package/src/Form/Reflex.js +141 -141
- package/src/Form/Sections.js +71 -71
- package/src/Form/Speech.js +132 -132
- package/src/Form/TextBox.js +66 -80
- package/src/Form/Tympanogram.js +355 -355
- package/src/Form/formStyles.css +122 -122
- package/src/Form/globalinfo.js +68 -68
- package/src/Form/grid/drawGrid.js +84 -84
- package/src/Form/grid/hideGrid.js +8 -8
- package/src/Form/printForm.js +122 -75
- package/src/Form/templates/combo.js +248 -248
- package/src/Form/templates/dims.js +204 -204
- package/src/Form/templates/rasaAud.js +287 -287
- package/src/Symbol/Symbols.js +29 -29
- package/src/Symbol/createSymbolSVG.js +240 -240
- package/src/Symbol/getAllSymbolsSVG.js +21 -21
- package/src/Symbol/insertSymbol.js +10 -10
- package/src/Symbol/symbolChart.js +47 -47
- package/src/common/putLine.js +16 -16
- package/src/common/putPoint.js +12 -12
- package/src/common/putRect.js +13 -13
- package/src/common/putText.js +17 -16
- package/src/common/putTopLayer.js +17 -17
- package/src/main.js +88 -87
- package/src/note.css +62 -0
- package/src/style.css +189 -156
- package/src/note.html +0 -1
package/src/style.css
CHANGED
@@ -1,157 +1,190 @@
|
|
1
|
-
|
2
|
-
font-family:
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
font-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
}
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
}
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
}
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
1
|
+
@font-face {
|
2
|
+
font-family: vazirmatn;
|
3
|
+
src:
|
4
|
+
url("./fonts/Vazirmatn-Regular.woff2") format("woff2"),
|
5
|
+
url('./fonts/Vazirmatn-Regular.woff') format('woff');
|
6
|
+
|
7
|
+
}
|
8
|
+
|
9
|
+
.text-box {
|
10
|
+
/* font-family: Arial, Helvetica, sans-serif !important; */
|
11
|
+
font-size: 0.8mm;
|
12
|
+
/* font-weight: bold; */
|
13
|
+
direction: rtl !important;
|
14
|
+
user-select: none;
|
15
|
+
/* dominant-baseline: middle; /* تراز عمودی*/
|
16
|
+
}
|
17
|
+
|
18
|
+
.persian {
|
19
|
+
font-family: vazirmatn;
|
20
|
+
/* font-size: 0.8mm; */
|
21
|
+
/* text-anchor: start; */
|
22
|
+
|
23
|
+
|
24
|
+
}
|
25
|
+
|
26
|
+
/*تراز افقی*/
|
27
|
+
.align {
|
28
|
+
text-anchor: start;
|
29
|
+
}
|
30
|
+
|
31
|
+
.bold {
|
32
|
+
font-weight: bold;
|
33
|
+
}
|
34
|
+
|
35
|
+
/* :root {
|
36
|
+
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
37
|
+
line-height: 1.5;
|
38
|
+
font-weight: 400;
|
39
|
+
|
40
|
+
color-scheme: light dark;
|
41
|
+
color: rgba(255, 255, 255, 0.87);
|
42
|
+
background-color: #242424;
|
43
|
+
|
44
|
+
font-synthesis: none;
|
45
|
+
text-rendering: optimizeLegibility;
|
46
|
+
-webkit-font-smoothing: antialiased;
|
47
|
+
-moz-osx-font-smoothing: grayscale;
|
48
|
+
} */
|
49
|
+
|
50
|
+
/* a {
|
51
|
+
font-weight: 500;
|
52
|
+
color: #646cff;
|
53
|
+
text-decoration: inherit;
|
54
|
+
}
|
55
|
+
a:hover {
|
56
|
+
color: #535bf2;
|
57
|
+
} */
|
58
|
+
|
59
|
+
/* body {
|
60
|
+
margin: 0;
|
61
|
+
display: flex;
|
62
|
+
place-items: center;
|
63
|
+
min-width: 320px;
|
64
|
+
min-height: 100vh;
|
65
|
+
} */
|
66
|
+
|
67
|
+
/* h1 {
|
68
|
+
font-size: 3.2em;
|
69
|
+
line-height: 1.1;
|
70
|
+
} */
|
71
|
+
|
72
|
+
/* #app {
|
73
|
+
max-width: 1280px;
|
74
|
+
margin: 0 auto;
|
75
|
+
padding: 2rem;
|
76
|
+
text-align: center;
|
77
|
+
} */
|
78
|
+
|
79
|
+
/* .logo {
|
80
|
+
height: 6em;
|
81
|
+
padding: 1.5em;
|
82
|
+
will-change: filter;
|
83
|
+
transition: filter 300ms;
|
84
|
+
} */
|
85
|
+
|
86
|
+
/* .logo:hover {
|
87
|
+
filter: drop-shadow(0 0 2em #646cffaa);
|
88
|
+
} */
|
89
|
+
/*
|
90
|
+
.logo.vanilla:hover {
|
91
|
+
filter: drop-shadow(0 0 2em #f7df1eaa);
|
92
|
+
} */
|
93
|
+
|
94
|
+
/* .card {
|
95
|
+
padding: 2em;
|
96
|
+
} */
|
97
|
+
|
98
|
+
/* .read-the-docs {
|
99
|
+
color: #888;
|
100
|
+
} */
|
101
|
+
|
102
|
+
button {
|
103
|
+
border-radius: 8px;
|
104
|
+
border: 1px solid transparent;
|
105
|
+
padding: 0.6em 1.2em;
|
106
|
+
font-size: 1em;
|
107
|
+
font-weight: 500;
|
108
|
+
font-family: inherit;
|
109
|
+
background-color: #7472e2;
|
110
|
+
color: #ffffff;
|
111
|
+
cursor: pointer;
|
112
|
+
transition: border-color 0.25s;
|
113
|
+
border-color: #fefefe;
|
114
|
+
|
115
|
+
}
|
116
|
+
|
117
|
+
button:hover {
|
118
|
+
background-color: #1c15e1;
|
119
|
+
|
120
|
+
border-color: #fefefe;
|
121
|
+
}
|
122
|
+
|
123
|
+
/* button:focus,
|
124
|
+
button:focus-visible {
|
125
|
+
outline: 4px auto -webkit-focus-ring-color;
|
126
|
+
background-color: #1c15e1;
|
127
|
+
|
128
|
+
} */
|
129
|
+
|
130
|
+
/* @media (prefers-color-scheme: light) {
|
131
|
+
:root {
|
132
|
+
color: #213547;
|
133
|
+
background-color: #ffffff;
|
134
|
+
}
|
135
|
+
|
136
|
+
a:hover {
|
137
|
+
color: #747bff;
|
138
|
+
}
|
139
|
+
|
140
|
+
button {
|
141
|
+
background-color: #f9f9f9;
|
142
|
+
}
|
143
|
+
} */
|
144
|
+
|
145
|
+
/* hayun Styles */
|
146
|
+
/* @import './fonts/Vazirmatn-Regular.woff2'; */
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
/* body {
|
151
|
+
font-family: vazirmatn;
|
152
|
+
} */
|
153
|
+
|
154
|
+
|
155
|
+
button1 {
|
156
|
+
background-color: #4CAF50;
|
157
|
+
/* Green background */
|
158
|
+
border: none;
|
159
|
+
/* Remove borders */
|
160
|
+
color: white;
|
161
|
+
/* White text */
|
162
|
+
padding: 15px 32px;
|
163
|
+
/* Some padding */
|
164
|
+
text-align: center;
|
165
|
+
/* Centered text */
|
166
|
+
text-decoration: none;
|
167
|
+
/* Remove underline */
|
168
|
+
display: inline-block;
|
169
|
+
/* Make the button inline */
|
170
|
+
font-size: 16px;
|
171
|
+
/* Increase font size */
|
172
|
+
margin: 4px 2px;
|
173
|
+
/* Add some margin */
|
174
|
+
cursor: pointer;
|
175
|
+
/* Pointer cursor on hover */
|
176
|
+
border-radius: 8px;
|
177
|
+
/* Rounded corners */
|
178
|
+
transition: background-color 0.3s;
|
179
|
+
/* Smooth transition */
|
180
|
+
}
|
181
|
+
|
182
|
+
button1:hover {
|
183
|
+
background-color: #45a049;
|
184
|
+
/* Darker green on hover */
|
185
|
+
}
|
186
|
+
|
187
|
+
button1:active {
|
188
|
+
background-color: #3e8e41;
|
189
|
+
/* Even darker green when clicked */
|
157
190
|
}
|
package/src/note.html
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
<div id="forms"></div>
|