js-dos 7.2.5 → 7.2.6
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 +2 -2
- package/dist/js-dos.css +155 -13
- package/dist/js-dos.js +2 -2
- package/dist/js-dos.js.map +1 -1
- package/dist/types/src/backend/jj/jj-config.d.ts +5 -3
- package/dist/types/src/backend/jj/latency.d.ts +8 -1
- package/dist/types/src/backend/v7/v7-config.d.ts +5 -0
- package/dist/types/src/components/sidebar/active-token.d.ts +2 -0
- package/dist/types/src/components/sidebar/create-token.d.ts +2 -0
- package/dist/types/src/components/sidebar/latency-info.d.ts +7 -0
- package/dist/types/src/components/sidebar/main.d.ts +2 -0
- package/dist/types/src/components/sidebar/networking.d.ts +2 -0
- package/dist/types/src/components/tip.d.ts +2 -0
- package/dist/types/src/hardware-transport-layer.d.ts +3 -1
- package/dist/types/src/icons.d.ts +18 -0
- package/dist/types/src/player-app.d.ts +15 -0
- package/dist/types/src/player.d.ts +2 -1
- package/dist/types/src/xhr.d.ts +1 -0
- package/dist/types/{sls → v7-services}/src/personal.d.ts +0 -0
- package/dist/wdosbox.js +1 -1
- package/dist/wdosbox.js.symbols +3132 -3071
- package/dist/wdosbox.wasm +0 -0
- package/examples/digger/index.html +1 -0
- package/package.json +6 -3
- package/v7-services/.env +6 -0
- package/v7-services/ok.yaml +24 -0
- package/v7-services/package.json +17 -0
- package/v7-services/redeploy-ok.sh +25 -0
- package/v7-services/serverless.yml +140 -0
- package/v7-services/src/networking/day.ts +5 -0
- package/v7-services/src/networking/get-free-token.ts +33 -0
- package/v7-services/src/networking/get-token-cost.ts +31 -0
- package/v7-services/src/networking/get-token-info.ts +16 -0
- package/v7-services/src/networking/ipx/put-ipx-ip.ts +20 -0
- package/v7-services/src/networking/ipx/start-ipx.ts +16 -0
- package/v7-services/src/networking/ipx/stop-ipx.ts +19 -0
- package/v7-services/src/networking/limits.ts +3 -0
- package/v7-services/src/networking/token.ts +238 -0
- package/v7-services/src/ok.ts +7 -0
- package/v7-services/src/personal-acl.ts +33 -0
- package/v7-services/src/personal-put.ts +35 -0
- package/v7-services/src/personal.ts +18 -0
- package/v7-services/src/responses.ts +28 -0
- package/v7-services/src/user.ts +3 -0
- package/v7-services/yarn.lock +4400 -0
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ yarn
|
|
|
17
17
|
NODE_ENV=production yarn run gulp
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
Also you can build js and css separately:
|
|
20
|
+
Also, you can build js and css separately:
|
|
21
21
|
|
|
22
22
|
```
|
|
23
23
|
yarn run gulp js
|
|
@@ -26,7 +26,7 @@ yarn run gulp css
|
|
|
26
26
|
|
|
27
27
|
## Example
|
|
28
28
|
|
|
29
|
-
To run
|
|
29
|
+
To run built-in example do:
|
|
30
30
|
|
|
31
31
|
```
|
|
32
32
|
hs .
|
package/dist/js-dos.css
CHANGED
|
@@ -809,8 +809,12 @@ video {
|
|
|
809
809
|
top: 0px;
|
|
810
810
|
}
|
|
811
811
|
|
|
812
|
-
.top-
|
|
813
|
-
top: 0.
|
|
812
|
+
.top-2 {
|
|
813
|
+
top: 0.5rem;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.top-5 {
|
|
817
|
+
top: 1.25rem;
|
|
814
818
|
}
|
|
815
819
|
|
|
816
820
|
.top-1\/2 {
|
|
@@ -821,20 +825,24 @@ video {
|
|
|
821
825
|
right: 0px;
|
|
822
826
|
}
|
|
823
827
|
|
|
824
|
-
.
|
|
825
|
-
|
|
828
|
+
.right-2 {
|
|
829
|
+
right: 0.5rem;
|
|
826
830
|
}
|
|
827
831
|
|
|
828
|
-
.
|
|
829
|
-
|
|
832
|
+
.right-5 {
|
|
833
|
+
right: 1.25rem;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
.bottom-0 {
|
|
837
|
+
bottom: 0px;
|
|
830
838
|
}
|
|
831
839
|
|
|
832
840
|
.left-0 {
|
|
833
841
|
left: 0px;
|
|
834
842
|
}
|
|
835
843
|
|
|
836
|
-
.left-
|
|
837
|
-
left: 0.
|
|
844
|
+
.left-2 {
|
|
845
|
+
left: 0.5rem;
|
|
838
846
|
}
|
|
839
847
|
|
|
840
848
|
.left-10 {
|
|
@@ -845,6 +853,14 @@ video {
|
|
|
845
853
|
z-index: 50;
|
|
846
854
|
}
|
|
847
855
|
|
|
856
|
+
.col-span-2 {
|
|
857
|
+
grid-column: span 2 / span 2;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
.float-left {
|
|
861
|
+
float: left;
|
|
862
|
+
}
|
|
863
|
+
|
|
848
864
|
.mx-2 {
|
|
849
865
|
margin-left: 0.5rem;
|
|
850
866
|
margin-right: 0.5rem;
|
|
@@ -863,8 +879,8 @@ video {
|
|
|
863
879
|
margin-top: 0.5rem;
|
|
864
880
|
}
|
|
865
881
|
|
|
866
|
-
|
|
867
|
-
margin-top:
|
|
882
|
+
.-mt-1 {
|
|
883
|
+
margin-top: -0.25rem;
|
|
868
884
|
}
|
|
869
885
|
|
|
870
886
|
.-mt-6 {
|
|
@@ -891,6 +907,14 @@ video {
|
|
|
891
907
|
margin-left: 0.5rem;
|
|
892
908
|
}
|
|
893
909
|
|
|
910
|
+
.inline-block {
|
|
911
|
+
display: inline-block;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
.inline {
|
|
915
|
+
display: inline;
|
|
916
|
+
}
|
|
917
|
+
|
|
894
918
|
.flex {
|
|
895
919
|
display: flex;
|
|
896
920
|
}
|
|
@@ -899,6 +923,10 @@ video {
|
|
|
899
923
|
display: table;
|
|
900
924
|
}
|
|
901
925
|
|
|
926
|
+
.grid {
|
|
927
|
+
display: grid;
|
|
928
|
+
}
|
|
929
|
+
|
|
902
930
|
.hidden {
|
|
903
931
|
display: none;
|
|
904
932
|
}
|
|
@@ -923,6 +951,10 @@ video {
|
|
|
923
951
|
height: 100%;
|
|
924
952
|
}
|
|
925
953
|
|
|
954
|
+
.max-h-72 {
|
|
955
|
+
max-height: 18rem;
|
|
956
|
+
}
|
|
957
|
+
|
|
926
958
|
.w-4 {
|
|
927
959
|
width: 1rem;
|
|
928
960
|
}
|
|
@@ -943,6 +975,14 @@ video {
|
|
|
943
975
|
width: 2.5rem;
|
|
944
976
|
}
|
|
945
977
|
|
|
978
|
+
.w-24 {
|
|
979
|
+
width: 6rem;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.w-64 {
|
|
983
|
+
width: 16rem;
|
|
984
|
+
}
|
|
985
|
+
|
|
946
986
|
.w-full {
|
|
947
987
|
width: 100%;
|
|
948
988
|
}
|
|
@@ -1055,6 +1095,14 @@ video {
|
|
|
1055
1095
|
cursor: pointer;
|
|
1056
1096
|
}
|
|
1057
1097
|
|
|
1098
|
+
.cursor-not-allowed {
|
|
1099
|
+
cursor: not-allowed;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
.grid-cols-2 {
|
|
1103
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1058
1106
|
.flex-row {
|
|
1059
1107
|
flex-direction: row;
|
|
1060
1108
|
}
|
|
@@ -1063,6 +1111,10 @@ video {
|
|
|
1063
1111
|
flex-direction: column;
|
|
1064
1112
|
}
|
|
1065
1113
|
|
|
1114
|
+
.flex-wrap {
|
|
1115
|
+
flex-wrap: wrap;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1066
1118
|
.items-center {
|
|
1067
1119
|
align-items: center;
|
|
1068
1120
|
}
|
|
@@ -1075,18 +1127,38 @@ video {
|
|
|
1075
1127
|
justify-content: space-between;
|
|
1076
1128
|
}
|
|
1077
1129
|
|
|
1130
|
+
.justify-around {
|
|
1131
|
+
justify-content: space-around;
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1078
1134
|
.justify-evenly {
|
|
1079
1135
|
justify-content: space-evenly;
|
|
1080
1136
|
}
|
|
1081
1137
|
|
|
1138
|
+
.gap-4 {
|
|
1139
|
+
gap: 1rem;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1082
1142
|
.self-center {
|
|
1083
1143
|
align-self: center;
|
|
1084
1144
|
}
|
|
1085
1145
|
|
|
1146
|
+
.overflow-auto {
|
|
1147
|
+
overflow: auto;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1086
1150
|
.overflow-hidden {
|
|
1087
1151
|
overflow: hidden;
|
|
1088
1152
|
}
|
|
1089
1153
|
|
|
1154
|
+
.overflow-y-auto {
|
|
1155
|
+
overflow-y: auto;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
.overflow-x-hidden {
|
|
1159
|
+
overflow-x: hidden;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1090
1162
|
.overflow-ellipsis {
|
|
1091
1163
|
text-overflow: ellipsis;
|
|
1092
1164
|
}
|
|
@@ -1095,6 +1167,10 @@ video {
|
|
|
1095
1167
|
white-space: nowrap;
|
|
1096
1168
|
}
|
|
1097
1169
|
|
|
1170
|
+
.break-words {
|
|
1171
|
+
overflow-wrap: break-word;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1098
1174
|
.rounded {
|
|
1099
1175
|
border-radius: 0.25rem;
|
|
1100
1176
|
}
|
|
@@ -1125,6 +1201,10 @@ video {
|
|
|
1125
1201
|
border-bottom-width: 2px;
|
|
1126
1202
|
}
|
|
1127
1203
|
|
|
1204
|
+
.border-b {
|
|
1205
|
+
border-bottom-width: 1px;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1128
1208
|
.border-l-2 {
|
|
1129
1209
|
border-left-width: 2px;
|
|
1130
1210
|
}
|
|
@@ -1134,6 +1214,11 @@ video {
|
|
|
1134
1214
|
border-color: rgba(156, 163, 175, var(--tw-border-opacity));
|
|
1135
1215
|
}
|
|
1136
1216
|
|
|
1217
|
+
.border-gray-800 {
|
|
1218
|
+
--tw-border-opacity: 1;
|
|
1219
|
+
border-color: rgba(31, 41, 55, var(--tw-border-opacity));
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1137
1222
|
.border-green-200 {
|
|
1138
1223
|
--tw-border-opacity: 1;
|
|
1139
1224
|
border-color: rgba(167, 243, 208, var(--tw-border-opacity));
|
|
@@ -1154,6 +1239,20 @@ video {
|
|
|
1154
1239
|
background-color: rgba(229, 231, 235, var(--tw-bg-opacity));
|
|
1155
1240
|
}
|
|
1156
1241
|
|
|
1242
|
+
.bg-red-200 {
|
|
1243
|
+
--tw-bg-opacity: 1;
|
|
1244
|
+
background-color: rgba(254, 202, 202, var(--tw-bg-opacity));
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
.bg-green-200 {
|
|
1248
|
+
--tw-bg-opacity: 1;
|
|
1249
|
+
background-color: rgba(167, 243, 208, var(--tw-bg-opacity));
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
.p-2 {
|
|
1253
|
+
padding: 0.5rem;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1157
1256
|
.px-2 {
|
|
1158
1257
|
padding-left: 0.5rem;
|
|
1159
1258
|
padding-right: 0.5rem;
|
|
@@ -1169,6 +1268,11 @@ video {
|
|
|
1169
1268
|
padding-right: 2rem;
|
|
1170
1269
|
}
|
|
1171
1270
|
|
|
1271
|
+
.py-1 {
|
|
1272
|
+
padding-top: 0.25rem;
|
|
1273
|
+
padding-bottom: 0.25rem;
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1172
1276
|
.pt-6 {
|
|
1173
1277
|
padding-top: 1.5rem;
|
|
1174
1278
|
}
|
|
@@ -1193,8 +1297,23 @@ video {
|
|
|
1193
1297
|
text-align: center;
|
|
1194
1298
|
}
|
|
1195
1299
|
|
|
1196
|
-
.
|
|
1197
|
-
|
|
1300
|
+
.text-right {
|
|
1301
|
+
text-align: right;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
.text-xs {
|
|
1305
|
+
font-size: 0.75rem;
|
|
1306
|
+
line-height: 1rem;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
.text-sm {
|
|
1310
|
+
font-size: 0.875rem;
|
|
1311
|
+
line-height: 1.25rem;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
.text-lg {
|
|
1315
|
+
font-size: 1.125rem;
|
|
1316
|
+
line-height: 1.75rem;
|
|
1198
1317
|
}
|
|
1199
1318
|
|
|
1200
1319
|
.font-bold {
|
|
@@ -1245,6 +1364,11 @@ video {
|
|
|
1245
1364
|
color: rgba(96, 165, 250, var(--tw-text-opacity));
|
|
1246
1365
|
}
|
|
1247
1366
|
|
|
1367
|
+
.text-blue-600 {
|
|
1368
|
+
--tw-text-opacity: 1;
|
|
1369
|
+
color: rgba(37, 99, 235, var(--tw-text-opacity));
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1248
1372
|
.hover\:text-gray-800:hover {
|
|
1249
1373
|
--tw-text-opacity: 1;
|
|
1250
1374
|
color: rgba(31, 41, 55, var(--tw-text-opacity));
|
|
@@ -1267,6 +1391,11 @@ video {
|
|
|
1267
1391
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1268
1392
|
}
|
|
1269
1393
|
|
|
1394
|
+
.shadow-lg {
|
|
1395
|
+
--tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
1396
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1270
1399
|
*, ::before, ::after {
|
|
1271
1400
|
--tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
|
|
1272
1401
|
--tw-ring-offset-width: 0px;
|
|
@@ -1303,6 +1432,19 @@ video {
|
|
|
1303
1432
|
transition-duration: 1000ms;
|
|
1304
1433
|
}
|
|
1305
1434
|
|
|
1435
|
+
.sidebar-header {
|
|
1436
|
+
margin-top: 2rem;
|
|
1437
|
+
margin-bottom: 0.5rem;
|
|
1438
|
+
border-bottom-width: 2px;
|
|
1439
|
+
--tw-border-opacity: 1;
|
|
1440
|
+
border-color: rgba(167, 243, 208, var(--tw-border-opacity));
|
|
1441
|
+
padding-bottom: 0.5rem;
|
|
1442
|
+
text-align: center;
|
|
1443
|
+
text-transform: uppercase;
|
|
1444
|
+
--tw-text-opacity: 1;
|
|
1445
|
+
color: rgba(75, 85, 99, var(--tw-text-opacity));
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1306
1448
|
@media (min-width: 640px) {
|
|
1307
1449
|
.sm\:w-80 {
|
|
1308
1450
|
width: 20rem;
|
|
@@ -1319,4 +1461,4 @@ video {
|
|
|
1319
1461
|
}
|
|
1320
1462
|
|
|
1321
1463
|
@media (min-width: 1536px) {
|
|
1322
|
-
}
|
|
1464
|
+
}
|