architwin 1.8.2 → 1.8.4
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 +21 -0
- package/lib/architwin.d.ts +61 -2
- package/lib/architwin.js +6563 -1
- package/lib/atwinui/components/toolbar/i18n.js +47 -2
- package/lib/atwinui/components/toolbar/index.js +9 -1
- package/lib/atwinui/components/toolbar/menuBar.d.ts +3 -0
- package/lib/atwinui/components/toolbar/menuBar.js +32 -16
- package/lib/atwinui/components/toolbar/objectListPane.js +1 -1
- package/lib/atwinui/components/toolbar/roomCreation/roomFormPane.d.ts +12 -0
- package/lib/atwinui/components/toolbar/roomCreation/roomFormPane.js +586 -0
- package/lib/atwinui/components/toolbar/roomCreation/roomLayerListPane.d.ts +33 -0
- package/lib/atwinui/components/toolbar/roomCreation/roomLayerListPane.js +448 -0
- package/lib/atwinui/components/toolbar/tagListPane.js +1 -2
- package/lib/atwinui/components/toolbar/themePane.js +1 -1
- package/lib/atwinui/events.d.ts +3 -1
- package/lib/atwinui/events.js +245 -5
- package/lib/atwinui/index.js +3 -1
- package/lib/convert.d.ts +1 -14
- package/lib/convert.js +6 -63
- package/lib/loaders/index.d.ts +2 -1
- package/lib/loaders/index.js +2 -1
- package/lib/loaders/polydrawerLoader.d.ts +148 -0
- package/lib/loaders/polydrawerLoader.js +771 -0
- package/lib/types.d.ts +88 -1
- package/lib/types.js +16 -0
- package/lib/utils.d.ts +2 -0
- package/lib/utils.js +16 -0
- package/lib/vertexPlacer.d.ts +18 -0
- package/lib/vertexPlacer.js +69 -0
- package/lib/zoom.d.ts +6 -1
- package/lib/zoom.js +10 -1
- package/package.json +4 -2
- package/static/atwinui.css +431 -2
- package/static/utility.css +39 -1
- package/lib/atwinui/components/toolbar/menu-bar.d.ts +0 -4
- package/lib/atwinui/components/toolbar/menu-bar.js +0 -35
- package/lib/atwinui/components/toolbar/sidebar-container.d.ts +0 -5
- package/lib/atwinui/components/toolbar/sidebar-container.js +0 -27
package/static/atwinui.css
CHANGED
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
border-radius: var(--container-border-radius);
|
|
402
402
|
padding: var(--container-padding);
|
|
403
403
|
justify-content: var(--container-justify-content);
|
|
404
|
-
flex-wrap:
|
|
404
|
+
flex-wrap: nowrap;
|
|
405
405
|
gap: 16px;
|
|
406
406
|
flex-direction: column;
|
|
407
407
|
margin: 6px;
|
|
@@ -707,12 +707,27 @@
|
|
|
707
707
|
|
|
708
708
|
.at_ghost:hover {
|
|
709
709
|
background-color: var(--bg-secondary);
|
|
710
|
+
/* background-color: var(--bg-accent); */
|
|
710
711
|
}
|
|
711
712
|
|
|
712
713
|
.at_ghost_active {
|
|
713
714
|
background-color: var(--bg-secondary);
|
|
714
715
|
}
|
|
715
716
|
|
|
717
|
+
.at_accent {
|
|
718
|
+
border: solid white 2px;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.at_accent:hover {
|
|
722
|
+
background-color: var(--bg-accent);
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
.at_accent_active {
|
|
726
|
+
background-color: var(--bg-accent);
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
716
731
|
/*Card classes*/
|
|
717
732
|
|
|
718
733
|
/* Equivalent CSS Classes */
|
|
@@ -1005,6 +1020,308 @@
|
|
|
1005
1020
|
border: 1px solid #4E56EE;
|
|
1006
1021
|
}
|
|
1007
1022
|
|
|
1023
|
+
/* Room */
|
|
1024
|
+
|
|
1025
|
+
.at_empty-display {
|
|
1026
|
+
display: var(--container-display);
|
|
1027
|
+
justify-content: center;
|
|
1028
|
+
align-items: center;
|
|
1029
|
+
height: 100vh;
|
|
1030
|
+
margin-top: -10px;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
.at_draw_partition_btn {
|
|
1034
|
+
background-color: black;
|
|
1035
|
+
border: solid white 2px;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
.at_draw_partition_btn_active {
|
|
1039
|
+
background-color: var(--bg-accent);
|
|
1040
|
+
border: solid white 2px;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.at_delete_room_btn {
|
|
1044
|
+
background-color: #E52424;
|
|
1045
|
+
border: solid white 2px;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
.at_partition_list_container {
|
|
1049
|
+
display: var(--container-display);
|
|
1050
|
+
border-radius: var(--border-radius);
|
|
1051
|
+
background-color: black;
|
|
1052
|
+
flex-direction: column;
|
|
1053
|
+
padding: 8px 6px 8px 6px;
|
|
1054
|
+
height: 100%;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
.at_partition_item_container {
|
|
1058
|
+
display: var(--container-display);
|
|
1059
|
+
flex-direction: column;
|
|
1060
|
+
gap: 4px;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
.at_face_title,
|
|
1064
|
+
.at_partition_title {
|
|
1065
|
+
display: var(--container-display);
|
|
1066
|
+
background-color: hsla(0,0%,19%,1);
|
|
1067
|
+
border-radius: 4px;
|
|
1068
|
+
align-items: center;
|
|
1069
|
+
justify-content: space-between;
|
|
1070
|
+
margin-bottom: 10px;
|
|
1071
|
+
font-size: 12px;
|
|
1072
|
+
font-family: Arial, sans-serif;
|
|
1073
|
+
padding-left: 2px;
|
|
1074
|
+
padding-right: 18px;
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
.at_face_title .mdi-chevron-left {
|
|
1078
|
+
cursor: pointer;
|
|
1079
|
+
background-color: hsla(0, 3%, 6%, 0.8);
|
|
1080
|
+
line-height: 1;
|
|
1081
|
+
padding: 2px;
|
|
1082
|
+
border-radius: 4px;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
.at_partition_item {
|
|
1086
|
+
display: var(--container-display);
|
|
1087
|
+
background-color: hsla(0,0%,19%,1);
|
|
1088
|
+
border-radius: 4px;
|
|
1089
|
+
justify-content: space-between;
|
|
1090
|
+
align-items: center;
|
|
1091
|
+
padding: 2px 5px 2px 5px;
|
|
1092
|
+
margin: 0 4px 0 4px;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
.at_partition_name {
|
|
1096
|
+
display: flex;
|
|
1097
|
+
background-color: hsla(0, 3%, 6%, 0.8);
|
|
1098
|
+
border-radius: 4px;
|
|
1099
|
+
justify-content: space-between;
|
|
1100
|
+
flex: 1;
|
|
1101
|
+
padding: 0 5px 0 5px;
|
|
1102
|
+
margin: 0 20px 0 20px;
|
|
1103
|
+
font-size: 12px;
|
|
1104
|
+
font-family: Arial, sans-serif;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
.at_icon_left {
|
|
1108
|
+
line-height: 1;
|
|
1109
|
+
background-color: hsla(173,75%,58%,1);
|
|
1110
|
+
color: black;
|
|
1111
|
+
border-radius: 4px;
|
|
1112
|
+
padding: 1px;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
.at_icon_right {
|
|
1116
|
+
cursor: pointer;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
.at_face_vertex_container {
|
|
1120
|
+
display: none;
|
|
1121
|
+
flex-direction: column;
|
|
1122
|
+
margin: 4px;
|
|
1123
|
+
gap: 6px;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
.at_face_vertex_item {
|
|
1127
|
+
display: var(--container-display);
|
|
1128
|
+
background-color: hsla(0,0%,19%,1);
|
|
1129
|
+
flex-direction: column;
|
|
1130
|
+
border-radius: 4px;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
.at_face_list {
|
|
1134
|
+
display: var(--container-display);
|
|
1135
|
+
border-radius: var(--border-radius);
|
|
1136
|
+
border-style: dotted;
|
|
1137
|
+
flex-direction: column;
|
|
1138
|
+
padding: 8px 6px 6px 6px;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
.at_face_item {
|
|
1142
|
+
display: var(--container-display);
|
|
1143
|
+
flex-direction: row;
|
|
1144
|
+
justify-content: space-between;
|
|
1145
|
+
align-items: center;
|
|
1146
|
+
padding: 2px 5px 2px 5px;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
.at_face_name {
|
|
1150
|
+
background-color: hsla(0, 3%, 6%, 0.8);
|
|
1151
|
+
border-radius: 4px;
|
|
1152
|
+
cursor: pointer;
|
|
1153
|
+
margin: 2px;
|
|
1154
|
+
font-size: 12px;
|
|
1155
|
+
font-family: Arial, sans-serif;
|
|
1156
|
+
text-align: center;
|
|
1157
|
+
width:100px;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
.at_face_icon_left {
|
|
1161
|
+
display: inline-block;
|
|
1162
|
+
line-height: 1;
|
|
1163
|
+
background-color: hsla(173,75%,58%,1);
|
|
1164
|
+
color: black;
|
|
1165
|
+
border-radius: 4px;
|
|
1166
|
+
padding: 2px;
|
|
1167
|
+
cursor: default;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
.at_face_icon_right {
|
|
1171
|
+
cursor: pointer;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
.at_face_icon_right:hover {
|
|
1175
|
+
color: var(--bg-accent-azusa)
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
.at_face_icon_rotate_90 {
|
|
1179
|
+
display: inline-block;
|
|
1180
|
+
transform: rotate(90deg);
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
.at_face_icon_rotate_180 {
|
|
1184
|
+
display: inline-block;
|
|
1185
|
+
transform: rotate(180deg);
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
.at_face_icon_rotate_270 {
|
|
1189
|
+
display: inline-block;
|
|
1190
|
+
transform: rotate(270deg);
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
.at_edit_name {
|
|
1194
|
+
display: none;
|
|
1195
|
+
flex-direction: column;
|
|
1196
|
+
align-items: center;
|
|
1197
|
+
justify-content: center;
|
|
1198
|
+
padding-bottom: 6px;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
.at_edit_name_text {
|
|
1202
|
+
display: flex;
|
|
1203
|
+
font-family: Arial, sans-serif;
|
|
1204
|
+
font-size: 10px;
|
|
1205
|
+
text-align: center;
|
|
1206
|
+
cursor: pointer;
|
|
1207
|
+
gap: 5px;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
.at_edit_name_input {
|
|
1211
|
+
display: none;
|
|
1212
|
+
align-items: center;
|
|
1213
|
+
padding-bottom: 4px;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.at_edit_face_name_input {
|
|
1217
|
+
background-color: hsla(0,0%,19%,1);
|
|
1218
|
+
font-family: Arial, sans-serif;
|
|
1219
|
+
font-size: 10px;
|
|
1220
|
+
box-sizing: border-box;
|
|
1221
|
+
text-align: center;
|
|
1222
|
+
color: white;
|
|
1223
|
+
border:none;
|
|
1224
|
+
border-bottom: 1px solid;
|
|
1225
|
+
outline: none;
|
|
1226
|
+
padding-bottom: 2px;
|
|
1227
|
+
height: 20px;
|
|
1228
|
+
max-width: 85px;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
.at_edit_partition_name_input {
|
|
1232
|
+
display:flex;
|
|
1233
|
+
background-color: black;
|
|
1234
|
+
font-family: Arial, sans-serif;
|
|
1235
|
+
font-size: 10px;
|
|
1236
|
+
box-sizing: border-box;
|
|
1237
|
+
color: white;
|
|
1238
|
+
border:none;
|
|
1239
|
+
border-bottom: 1px solid;
|
|
1240
|
+
outline: none;
|
|
1241
|
+
padding-bottom: 2px;
|
|
1242
|
+
height: 20px;
|
|
1243
|
+
width: 100%;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
.at_edit_name_input .mdi-check {
|
|
1247
|
+
display: inline-flex;
|
|
1248
|
+
align-items: center;
|
|
1249
|
+
cursor: pointer;
|
|
1250
|
+
border-bottom: 1px solid;
|
|
1251
|
+
height: 20px;
|
|
1252
|
+
padding-bottom: 3px;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
.at_vertex_list {
|
|
1256
|
+
display: none;
|
|
1257
|
+
flex-direction: column;
|
|
1258
|
+
border-radius: 4px;
|
|
1259
|
+
margin-bottom: 6px;
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
.at_vertex_list.show {
|
|
1263
|
+
display: var(--container-display);
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
.at_vertex_item {
|
|
1267
|
+
display: var(--container-display);
|
|
1268
|
+
background-color: hsla(0, 3%, 6%, 0.8);
|
|
1269
|
+
border-radius: 4px;
|
|
1270
|
+
flex-direction: row;
|
|
1271
|
+
justify-content: space-between;
|
|
1272
|
+
align-items: center;
|
|
1273
|
+
padding: 2px 5px 2px 5px;
|
|
1274
|
+
margin: 0px 14px 4px 15px;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
.at_vertex_center {
|
|
1278
|
+
display: flex;
|
|
1279
|
+
flex-direction: row;
|
|
1280
|
+
justify-content: space-between;;
|
|
1281
|
+
align-items: center;
|
|
1282
|
+
gap: 6px;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
.at_vertex_distance {
|
|
1286
|
+
background-color:hsla(0,0%,100%,0.8) ;
|
|
1287
|
+
border-radius: 4px;
|
|
1288
|
+
color: black;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
.at_vertex_name,
|
|
1292
|
+
.at_vertex_distance {
|
|
1293
|
+
font-size: 12px;
|
|
1294
|
+
font-family: Arial, sans-serif;
|
|
1295
|
+
white-space: nowrap;
|
|
1296
|
+
text-align: center;
|
|
1297
|
+
width: 50px;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
.at_vertex_icon_left {
|
|
1301
|
+
display: inline-block;
|
|
1302
|
+
line-height: 1;
|
|
1303
|
+
background-color: hsla(71,96%,62%,1);
|
|
1304
|
+
color: black;
|
|
1305
|
+
border-radius: 4px;
|
|
1306
|
+
padding: 2px;
|
|
1307
|
+
cursor: default;
|
|
1308
|
+
margin: 2px;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
.at_vertex_icon_right {
|
|
1312
|
+
cursor: pointer;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
.at_vertex_icon_right:hover {
|
|
1316
|
+
color: var(--bg-accent-azusa)
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
.at_invisible {
|
|
1320
|
+
opacity: 0;
|
|
1321
|
+
pointer-events: none;
|
|
1322
|
+
cursor: default;
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1008
1325
|
@media screen and (max-width: 540px) {
|
|
1009
1326
|
|
|
1010
1327
|
.at_modal {
|
|
@@ -1026,4 +1343,116 @@
|
|
|
1026
1343
|
.at_disabled {
|
|
1027
1344
|
pointer-events: none;
|
|
1028
1345
|
opacity: 0.4;
|
|
1029
|
-
}
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
/* Basic styling for the tree */
|
|
1349
|
+
/* .at_tree {
|
|
1350
|
+
list-style-type: none;
|
|
1351
|
+
margin: 0;
|
|
1352
|
+
padding: 0;
|
|
1353
|
+
}
|
|
1354
|
+
.at_tree li {
|
|
1355
|
+
margin: 0;
|
|
1356
|
+
padding: 5px 0 5px 20px;
|
|
1357
|
+
position: relative;
|
|
1358
|
+
}
|
|
1359
|
+
.at_tree li::before {
|
|
1360
|
+
content: "";
|
|
1361
|
+
position: absolute;
|
|
1362
|
+
top: 0;
|
|
1363
|
+
left: 0;
|
|
1364
|
+
width: 10px;
|
|
1365
|
+
height: 1px;
|
|
1366
|
+
background: #ccc;
|
|
1367
|
+
}
|
|
1368
|
+
.at_tree li::after {
|
|
1369
|
+
content: "";
|
|
1370
|
+
position: absolute;
|
|
1371
|
+
top: 0;
|
|
1372
|
+
left: 0;
|
|
1373
|
+
width: 1px;
|
|
1374
|
+
height: 100%;
|
|
1375
|
+
background: #ccc;
|
|
1376
|
+
}
|
|
1377
|
+
.at_tree li:last-child::after {
|
|
1378
|
+
height: 10px;
|
|
1379
|
+
}
|
|
1380
|
+
.at_tree ul {
|
|
1381
|
+
margin-left: 20px;
|
|
1382
|
+
padding-left: 0;
|
|
1383
|
+
}
|
|
1384
|
+
.at_tree .toggle {
|
|
1385
|
+
cursor: pointer;
|
|
1386
|
+
}
|
|
1387
|
+
.at_tree .hidden {
|
|
1388
|
+
display: none;
|
|
1389
|
+
} */
|
|
1390
|
+
|
|
1391
|
+
/* Simplified tree styles */
|
|
1392
|
+
.at_room_tree {
|
|
1393
|
+
list-style-type: none;
|
|
1394
|
+
margin: 0;
|
|
1395
|
+
padding: 0;
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
.at_room_tree li {
|
|
1399
|
+
margin: 5px 0;
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
.at_room_tree_parent {
|
|
1403
|
+
padding-left: 0 !important;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
.at_room_tree_parent span {
|
|
1407
|
+
padding-left: 5px;
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
.at_room_tree .toggle {
|
|
1411
|
+
cursor: pointer;
|
|
1412
|
+
/* padding-right: 5px;
|
|
1413
|
+
border-radius: 4px; */
|
|
1414
|
+
display: flex;
|
|
1415
|
+
justify-content: space-between;
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
.at_room_tree_child{
|
|
1419
|
+
/* cursor: pointer; */
|
|
1420
|
+
display: block;
|
|
1421
|
+
padding-left: 5px;
|
|
1422
|
+
margin-left: 20px !important;
|
|
1423
|
+
border-radius: 4px;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
.at_room_tree_child li {
|
|
1427
|
+
margin: 5px 0;
|
|
1428
|
+
padding-left: 30px;
|
|
1429
|
+
padding-right: 5px;
|
|
1430
|
+
display: flex;
|
|
1431
|
+
justify-content: space-between;
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
.at_room_tree .selectable {
|
|
1435
|
+
cursor: pointer;
|
|
1436
|
+
display: block;
|
|
1437
|
+
border-radius: 4px;
|
|
1438
|
+
display: flex;
|
|
1439
|
+
justify-content: space-between;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
.at_room_tree .selected {
|
|
1443
|
+
background-color: #0F0E0E;
|
|
1444
|
+
padding-right: 5px;
|
|
1445
|
+
border-radius: 4px;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
.at_room_tree .hidden {
|
|
1449
|
+
display: none;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
.at_room_edit_btn, .at_room_visible_btn {
|
|
1453
|
+
cursor: pointer;
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
.at_toggle {
|
|
1457
|
+
padding-right: 5px;
|
|
1458
|
+
}
|
package/static/utility.css
CHANGED
|
@@ -126,6 +126,22 @@ width: 100vw;
|
|
|
126
126
|
height: 100vh;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
+
.at_h-min-15 {
|
|
130
|
+
min-height: 15vh;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.at_h-min-20 {
|
|
134
|
+
min-height: 20vh;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.at_h-min-25 {
|
|
138
|
+
min-height: 25vh;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.at_h-min-40 {
|
|
142
|
+
min-height: 40vh;
|
|
143
|
+
}
|
|
144
|
+
|
|
129
145
|
.at_h-min-45 {
|
|
130
146
|
min-height: 45vh;
|
|
131
147
|
}
|
|
@@ -191,6 +207,10 @@ width: 100vw;
|
|
|
191
207
|
font-weight: bolder;
|
|
192
208
|
}
|
|
193
209
|
|
|
210
|
+
.at_text_xxs {
|
|
211
|
+
font-size: 0.65em
|
|
212
|
+
}
|
|
213
|
+
|
|
194
214
|
.at_text_xs {
|
|
195
215
|
font-size: 0.75rem;
|
|
196
216
|
}
|
|
@@ -209,4 +229,22 @@ width: 100vw;
|
|
|
209
229
|
|
|
210
230
|
.at_text_xl {
|
|
211
231
|
font-size: 1.25rem;
|
|
212
|
-
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.at_text_white {
|
|
235
|
+
color: white;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.at_opacity_5 {
|
|
239
|
+
opacity: 50%
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.at_rotate_minus_90 {
|
|
243
|
+
display: inline-block;
|
|
244
|
+
transform: rotate(-90deg);
|
|
245
|
+
transition: transform 0.3s ease;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.at_pull_right {
|
|
249
|
+
float: right;
|
|
250
|
+
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { html, LitElement } from 'lit';
|
|
8
|
-
import { customElement } from 'lit/decorators.js';
|
|
9
|
-
let Menubar = class Menubar extends LitElement {
|
|
10
|
-
render() {
|
|
11
|
-
return html `
|
|
12
|
-
<div class="at_toolbar_container" id="at-menu-bar">
|
|
13
|
-
<div class="at_sidebar_button_icon">
|
|
14
|
-
<span class="mdi mdi-bullseye" id="at-expand-btn"></span>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="at_sidebar_button_icon">
|
|
17
|
-
<span class="mdi mdi-cube-outline" id="at-object-list-btn"></span>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="at_sidebar_button_icon">
|
|
20
|
-
<span class="mdi mdi-map" id="at-minimap-btn" target-pane="at-map"></span>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="at_sidebar_button_icon">
|
|
23
|
-
<span class="mdi mdi-message-video" id="at-videocall-btn"></span>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="at_sidebar_button_icon">
|
|
26
|
-
<span class="mdi mdi-monitor-screenshot" id="at-screenshot-btn"></span>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
`;
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
Menubar = __decorate([
|
|
33
|
-
customElement('at-menubar')
|
|
34
|
-
], Menubar);
|
|
35
|
-
export { Menubar };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { html, LitElement } from 'lit';
|
|
8
|
-
import { customElement, property } from 'lit/decorators.js';
|
|
9
|
-
let SidebarContainer = class SidebarContainer extends LitElement {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.checked = false;
|
|
13
|
-
}
|
|
14
|
-
render() {
|
|
15
|
-
return html `
|
|
16
|
-
<div class="at_sidebar_container at_topRight" id="at-sidebar-container">
|
|
17
|
-
</div>
|
|
18
|
-
`;
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
__decorate([
|
|
22
|
-
property()
|
|
23
|
-
], SidebarContainer.prototype, "checked", void 0);
|
|
24
|
-
SidebarContainer = __decorate([
|
|
25
|
-
customElement('at-sidebar-container')
|
|
26
|
-
], SidebarContainer);
|
|
27
|
-
export { SidebarContainer };
|