isite 2021.11.17 → 2021.11.28
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 +486 -475
- package/apps/client-side/app.js +27 -1
- package/apps/client-side/site_files/css/btn.css +98 -0
- package/apps/client-side/site_files/css/checkbox.css +10 -7
- package/apps/client-side/site_files/css/dropdown.css +61 -0
- package/apps/client-side/site_files/css/effect.css +283 -280
- package/apps/client-side/site_files/css/font-awesome.css +4615 -3
- package/apps/client-side/site_files/css/font-awesome.min.css +5 -0
- package/apps/client-side/site_files/css/form.css +31 -131
- package/apps/client-side/site_files/css/layout.css +27 -13
- package/apps/client-side/site_files/css/modal.css +184 -164
- package/apps/client-side/site_files/css/tabs.css +3 -3
- package/apps/client-side/site_files/css/theme.css +2 -2
- package/apps/client-side/site_files/css/theme_dark.css +1 -1
- package/apps/client-side/site_files/css/theme_paper.css +175 -151
- package/apps/client-side/site_files/html/sub/i-date2.content.html +64 -0
- package/apps/client-side/site_files/html/sub/i-list.content.html +31 -0
- package/apps/client-side/site_files/html/sub/i-list2.content.html +22 -0
- package/apps/client-side/site_files/js/directive.js +1570 -1650
- package/apps/client-side/site_files/js/directive.min.js +2 -2
- package/apps/client-side/site_files/js/site.js +6 -0
- package/apps/client-side/site_files/js/site.min.js +1 -1
- package/apps/client-side/site_files/webfonts/fa-brands-400.eot +0 -0
- package/apps/client-side/site_files/webfonts/fa-brands-400.svg +3717 -0
- package/apps/client-side/site_files/webfonts/fa-brands-400.ttf +0 -0
- package/apps/client-side/site_files/webfonts/fa-brands-400.woff +0 -0
- package/apps/client-side/site_files/webfonts/fa-brands-400.woff2 +0 -0
- package/apps/client-side/site_files/webfonts/fa-regular-400.eot +0 -0
- package/apps/client-side/site_files/webfonts/fa-regular-400.svg +801 -0
- package/apps/client-side/site_files/webfonts/fa-regular-400.ttf +0 -0
- package/apps/client-side/site_files/webfonts/fa-regular-400.woff +0 -0
- package/apps/client-side/site_files/webfonts/fa-regular-400.woff2 +0 -0
- package/apps/client-side/site_files/webfonts/fa-solid-900.eot +0 -0
- package/apps/client-side/site_files/webfonts/fa-solid-900.svg +5034 -0
- package/apps/client-side/site_files/webfonts/fa-solid-900.ttf +0 -0
- package/apps/client-side/site_files/webfonts/fa-solid-900.woff +0 -0
- package/apps/client-side/site_files/webfonts/fa-solid-900.woff2 +0 -0
- package/index.js +2 -2
- package/lib/mongodb.js +3 -4
- package/lib/parser.js +24 -12
- package/lib/routing.js +21 -2
- package/lib/security.js +2 -2
- package/lib/session.js +2 -8
- package/lib/sessions.js +4 -4
- package/lib/ws.js +3 -0
- package/object-options/index.js +3 -3
- package/object-options/lib/fn.js +1 -1
- package/package.json +1 -1
|
@@ -1,224 +1,244 @@
|
|
|
1
1
|
.modal {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
display: none;
|
|
3
|
+
position: fixed;
|
|
4
|
+
z-index: 999999;
|
|
5
|
+
padding-top: 20px;
|
|
6
|
+
padding-bottom: 20px;
|
|
7
|
+
left: 0;
|
|
8
|
+
top: 0;
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
background-color: var(--modal-background);
|
|
12
|
+
overflow: auto;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
.modal-content {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
animation-duration: var(--modal-animation-duration);
|
|
16
|
+
border: var(---modal-content-border);
|
|
17
|
+
position: relative;
|
|
18
|
+
color: var(--modal-color);
|
|
19
|
+
background-color: var(--modal-content-background);
|
|
20
|
+
margin: auto;
|
|
21
|
+
padding: 0;
|
|
22
|
+
width: 90%;
|
|
23
|
+
box-shadow: 0 4px 8px 0 var(--modal-box-shadow-color), 0 6px 20px 0 var(--modal-box-shadow-color);
|
|
24
|
+
-webkit-animation-name: var(--modal-animation-name);
|
|
25
|
+
-webkit-animation-duration: var(--modal-animation-duration);
|
|
26
|
+
animation-name: var(--modal-animation-name);
|
|
27
|
+
animation-duration: var(--modal-animation-duration);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.modal.small .modal-content
|
|
31
|
-
|
|
30
|
+
.modal.small .modal-content,
|
|
31
|
+
.modal-content.small {
|
|
32
|
+
width: 50%;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
.modal-header {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
padding: 8px 16px;
|
|
37
|
+
background-color: var(--modal-header-background-color);
|
|
38
|
+
color: var(--modal-header-color);
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
.modal-body {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
display: contents;
|
|
43
|
+
padding: 2px 16px;
|
|
44
|
+
color: var(--modal-color);
|
|
45
|
+
overflow: overlay;
|
|
46
|
+
max-height: 85vh;
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
.modal-footer {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
+
padding: 2px 16px;
|
|
51
|
+
color: var(--modal-footer-color);
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
@-webkit-keyframes animatetop {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
55
|
+
from {
|
|
56
|
+
top: -300px;
|
|
57
|
+
opacity: 0;
|
|
58
|
+
}
|
|
59
|
+
to {
|
|
60
|
+
top: 0;
|
|
61
|
+
opacity: 1;
|
|
62
|
+
}
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
@keyframes animatetop {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
from {
|
|
67
|
+
top: -300px;
|
|
68
|
+
opacity: 0;
|
|
69
|
+
}
|
|
70
|
+
to {
|
|
71
|
+
top: 0;
|
|
72
|
+
opacity: 1;
|
|
73
|
+
}
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
@-webkit-keyframes animatebottom {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
77
|
+
from {
|
|
78
|
+
top: 1000px;
|
|
79
|
+
opacity: 0;
|
|
80
|
+
}
|
|
81
|
+
to {
|
|
82
|
+
top: 0;
|
|
83
|
+
opacity: 1;
|
|
84
|
+
}
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
@keyframes animatebottom {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
88
|
+
from {
|
|
89
|
+
top: 1000px;
|
|
90
|
+
opacity: 0;
|
|
91
|
+
}
|
|
92
|
+
to {
|
|
93
|
+
top: 0;
|
|
94
|
+
opacity: 1;
|
|
95
|
+
}
|
|
94
96
|
}
|
|
95
97
|
|
|
96
98
|
@-webkit-keyframes animateleft {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
99
|
+
from {
|
|
100
|
+
left: -300px;
|
|
101
|
+
opacity: 0;
|
|
102
|
+
}
|
|
103
|
+
to {
|
|
104
|
+
left: 0;
|
|
105
|
+
opacity: 1;
|
|
106
|
+
}
|
|
105
107
|
}
|
|
106
108
|
|
|
107
109
|
@keyframes animateleft {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
110
|
+
from {
|
|
111
|
+
left: -300px;
|
|
112
|
+
opacity: 0;
|
|
113
|
+
}
|
|
114
|
+
to {
|
|
115
|
+
left: 0;
|
|
116
|
+
opacity: 1;
|
|
117
|
+
}
|
|
116
118
|
}
|
|
117
119
|
|
|
118
|
-
|
|
119
|
-
|
|
120
120
|
@-webkit-keyframes animateopacity {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
121
|
+
from {
|
|
122
|
+
opacity: 0;
|
|
123
|
+
}
|
|
124
|
+
to {
|
|
125
|
+
opacity: 1;
|
|
126
|
+
}
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
@keyframes animateopacity {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
130
|
+
from {
|
|
131
|
+
opacity: 0;
|
|
132
|
+
}
|
|
133
|
+
to {
|
|
134
|
+
opacity: 1;
|
|
135
|
+
}
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.modal-header .close {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
139
|
+
color: var(--modal-color);
|
|
140
|
+
float: right;
|
|
141
|
+
font-size: 26px;
|
|
142
|
+
margin-top: -10px;
|
|
143
|
+
font-weight: bold;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.modal-header .close:hover,
|
|
147
147
|
.modal-header .close:focus {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
148
|
+
color: rgb(221, 17, 17);
|
|
149
|
+
text-decoration: none;
|
|
150
|
+
cursor: pointer;
|
|
151
151
|
}
|
|
152
152
|
.modal-header h2 {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
153
|
+
font-size: 16px;
|
|
154
|
+
text-align: center;
|
|
155
|
+
padding: 0px;
|
|
156
|
+
margin: 0px;
|
|
157
|
+
color: #ffffff;
|
|
158
|
+
font-weight: bold;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.popup {
|
|
162
|
+
overflow: auto;
|
|
163
|
+
display: block;
|
|
164
|
+
padding: 5px;
|
|
165
|
+
box-shadow: 1px 1px 10px 1px #000;
|
|
166
|
+
z-index: 4000;
|
|
167
|
+
max-height: 250px;
|
|
168
|
+
position: fixed;
|
|
169
|
+
background: var(--modal-content-background);
|
|
170
|
+
min-width: 250px;
|
|
171
|
+
-webkit-animation-name: animatepopup;
|
|
172
|
+
-webkit-animation-duration: 0.5s;
|
|
173
|
+
animation-name: animatepopup;
|
|
174
|
+
animation-duration: 0.5s;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.popup item {
|
|
178
|
+
display: block;
|
|
179
|
+
padding: 5px;
|
|
180
|
+
color: var(--input-color);
|
|
181
|
+
font-weight: bold;
|
|
182
|
+
cursor: pointer;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.popup item:hover {
|
|
186
|
+
background: var(--theme-color);
|
|
187
|
+
color: #ffffff;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.popup .search-box {
|
|
191
|
+
background-color: var(--modal-header-background-color);
|
|
192
|
+
border: var(--border);
|
|
193
|
+
overflow: hidden;
|
|
194
|
+
position: relative;
|
|
195
|
+
width: 100%;
|
|
196
|
+
}
|
|
197
|
+
.popup .search-box .icon-close {
|
|
198
|
+
height: 100%;
|
|
199
|
+
width: inherit;
|
|
200
|
+
position: absolute;
|
|
201
|
+
background: red;
|
|
185
202
|
}
|
|
186
203
|
|
|
187
|
-
.popup
|
|
188
|
-
|
|
189
|
-
|
|
204
|
+
.popup .search-box .icon-close i{
|
|
205
|
+
height: 100%;
|
|
206
|
+
position: absolute;
|
|
207
|
+
left: 35%;
|
|
208
|
+
top: 25%;
|
|
209
|
+
color: #ffffff;
|
|
190
210
|
}
|
|
191
211
|
|
|
192
|
-
.popup .search-box{
|
|
193
|
-
|
|
194
|
-
|
|
212
|
+
.popup .search-box .icon-search {
|
|
213
|
+
height: 100%;
|
|
214
|
+
width: inherit;
|
|
215
|
+
position: absolute;
|
|
216
|
+
background: red;
|
|
195
217
|
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
218
|
+
.popup .search-box .icon-search i{
|
|
219
|
+
height: 100%;
|
|
220
|
+
position: absolute;
|
|
221
|
+
left: 35%;
|
|
222
|
+
top: 25%;
|
|
223
|
+
color: #ffffff;
|
|
224
|
+
background: green;
|
|
202
225
|
}
|
|
203
226
|
|
|
204
|
-
.popup .search-box .fa-times{
|
|
205
|
-
color : #f44336;
|
|
206
|
-
}
|
|
207
227
|
|
|
208
228
|
@-webkit-keyframes animatepopup {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
229
|
+
from {
|
|
230
|
+
opacity: 0;
|
|
231
|
+
}
|
|
232
|
+
to {
|
|
233
|
+
opacity: 1;
|
|
234
|
+
}
|
|
215
235
|
}
|
|
216
236
|
|
|
217
237
|
@keyframes animatepopup {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
}
|
|
238
|
+
from {
|
|
239
|
+
opacity: 0;
|
|
240
|
+
}
|
|
241
|
+
to {
|
|
242
|
+
opacity: 1;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
cursor: pointer;
|
|
31
31
|
padding: 10px 12px;
|
|
32
32
|
transition: 0.3s;
|
|
33
|
-
font-size:
|
|
34
|
-
font-weight:
|
|
33
|
+
font-size: var(--tabs-header-link-font-size);
|
|
34
|
+
font-weight: var(--tabs-header-link-font-weight);
|
|
35
35
|
color: var(--tabs-header-link-color);
|
|
36
36
|
margin: 10px;
|
|
37
37
|
display: block;
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
.tabs .tabs-header .tab-link:hover {
|
|
42
42
|
background-color: var(--tabs-background-color2);
|
|
43
43
|
color: var(--tabs-header-link-color2);
|
|
44
|
-
padding-right: 30px;
|
|
45
44
|
}
|
|
46
45
|
|
|
47
46
|
.tabs .tabs-header .tab-link.active {
|
|
@@ -58,6 +57,7 @@
|
|
|
58
57
|
display: none;
|
|
59
58
|
padding: 6px 12px;
|
|
60
59
|
width: 100%;
|
|
60
|
+
overflow: visible;
|
|
61
61
|
-webkit-animation-name: var( --tab-animation-name);
|
|
62
62
|
-webkit-animation-duration: var( --tab-animation-duration);
|
|
63
63
|
animation-name: var( --tab-animation-name);
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
--select-height : 33px;
|
|
76
76
|
|
|
77
77
|
--btn-color: #ffffff;
|
|
78
|
-
--btn-background
|
|
78
|
+
--btn-background: #283e4a;
|
|
79
79
|
--btn-add-color: #ffffff;
|
|
80
80
|
--btn-add-background-color: #118011;
|
|
81
81
|
--btn-update-color: #ffffff;
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
--modal-background : rgba(0,0,0,0.6);
|
|
114
114
|
--modal-content-background: #607D8B;
|
|
115
115
|
--modal-content-border: none;
|
|
116
|
-
--modal-color: #
|
|
116
|
+
--modal-color: #000;
|
|
117
117
|
--modal-animation-name: animatetop;
|
|
118
118
|
--modal-animation-duration: 0.4s;
|
|
119
119
|
--modal-header-color: #000000;
|