architwin 1.5.2 → 1.5.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/lib/actionHistory.d.ts +24 -0
- package/lib/actionHistory.js +71 -0
- package/lib/architwin.d.ts +5 -2
- package/lib/architwin.js +1 -1
- package/lib/atwinui/components/toolbar/actionBar.d.ts +6 -0
- package/lib/atwinui/components/toolbar/actionBar.js +50 -1
- package/lib/atwinui/components/toolbar/card.js +1 -1
- package/lib/atwinui/components/toolbar/i18n.js +6 -2
- package/lib/atwinui/components/toolbar/index.d.ts +2 -2
- package/lib/atwinui/components/toolbar/index.js +2 -2
- package/lib/atwinui/components/toolbar/modelControlsPane.js +2 -0
- package/lib/atwinui/components/toolbar/objectListPane.js +27 -2
- package/lib/atwinui/events.js +76 -50
- package/lib/loaders/viewpointLoader.js +19 -18
- package/lib/minimap.js +1 -1
- package/lib/utils.js +1 -1
- package/package.json +2 -1
- package/static/atwinui.css +109 -97
package/static/atwinui.css
CHANGED
|
@@ -18,20 +18,20 @@
|
|
|
18
18
|
|
|
19
19
|
/* Color Themes */
|
|
20
20
|
--bg-azusa: hsla(191, 22%, 10%, var(--container-opacity));
|
|
21
|
-
--bg-light: hsl(0,0%,100%, var(--container-opacity));
|
|
21
|
+
--bg-light: hsl(0, 0%, 100%, var(--container-opacity));
|
|
22
22
|
--bg-retro: hsl(45, 47%, 80%, var(--container-opacity));
|
|
23
23
|
--bg-forest: hsl(0, 12%, 8%, var(--container-opacity));
|
|
24
24
|
--bg-aqua: hsl(219, 53%, 43%, var(--container-opacity));
|
|
25
25
|
--bg-night: hsl(222, 46%, 11%, var(--container-opacity));
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
|
|
28
28
|
--bg-secondary-azusa: hsl(191, 22%, 10%);
|
|
29
29
|
--bg-secondary-light: hsl(213, 22%, 80%);
|
|
30
30
|
--bg-secondary-retro: hsl(45, 31%, 67%);
|
|
31
31
|
--bg-secondary-forest: hsl(161, 37%, 15%);
|
|
32
32
|
--bg-secondary-aqua: hsl(205, 54%, 50%);
|
|
33
33
|
--bg-secondary-night: hsl(217, 33%, 17%);
|
|
34
|
-
|
|
34
|
+
|
|
35
35
|
--bg-accent-azusa: hsla(329, 77%, 68%, 0.721);
|
|
36
36
|
--bg-accent-light: hsl(180, 2%, 90%);
|
|
37
37
|
--bg-accent-retro: hsl(44, 47%, 68%);
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
|
|
58
58
|
/* Container.js */
|
|
59
59
|
--container-border-radius: var(--border-radius);
|
|
60
|
-
--container-bg-color: hsl(191,21,10);
|
|
60
|
+
--container-bg-color: hsl(191, 21, 10);
|
|
61
61
|
--container-opacity: 0.755;
|
|
62
62
|
--container-padding: 10px;
|
|
63
63
|
--container-margin: 6px;
|
|
@@ -145,16 +145,20 @@
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.at_scrollable_container::-webkit-scrollbar {
|
|
148
|
-
width: 3px;
|
|
148
|
+
width: 3px;
|
|
149
|
+
/* width of the entire scrollbar */
|
|
149
150
|
}
|
|
150
151
|
|
|
151
152
|
.at_scrollable_container::-webkit-scrollbar-track {
|
|
152
|
-
background: transparent;
|
|
153
|
+
background: transparent;
|
|
154
|
+
/* color of the tracking area */
|
|
153
155
|
}
|
|
154
156
|
|
|
155
157
|
.at_scrollable_container::-webkit-scrollbar-thumb {
|
|
156
|
-
background-color: var(--bg-secondary);
|
|
157
|
-
|
|
158
|
+
background-color: var(--bg-secondary);
|
|
159
|
+
/* color of the scroll thumb */
|
|
160
|
+
border-radius: 1px;
|
|
161
|
+
/* roundness of the scroll thumb */
|
|
158
162
|
}
|
|
159
163
|
|
|
160
164
|
.at_flex_tiles {
|
|
@@ -321,7 +325,7 @@
|
|
|
321
325
|
color: var(--text-color-light);
|
|
322
326
|
border-radius: var(--container-border-radius);
|
|
323
327
|
padding: var(--container-padding);
|
|
324
|
-
justify-content: var(--container-justify-content);
|
|
328
|
+
justify-content: var(--container-justify-content);
|
|
325
329
|
flex-wrap: var(--container-wrap);
|
|
326
330
|
gap: 16px;
|
|
327
331
|
flex-direction: column;
|
|
@@ -345,7 +349,7 @@
|
|
|
345
349
|
border-radius: var(--container-border-radius);
|
|
346
350
|
padding: 8px 4px;
|
|
347
351
|
background-color: var(--bg-highlight);
|
|
348
|
-
color:
|
|
352
|
+
color: var(--text-color-light);
|
|
349
353
|
text-align: center;
|
|
350
354
|
font-weight: bold;
|
|
351
355
|
font-size: 1em;
|
|
@@ -396,7 +400,9 @@
|
|
|
396
400
|
border: 0;
|
|
397
401
|
font-weight: bolder;
|
|
398
402
|
color: white;
|
|
399
|
-
padding:
|
|
403
|
+
padding:
|
|
404
|
+
/*8px*/
|
|
405
|
+
0px 6px;
|
|
400
406
|
/* margin-top: 4px; */
|
|
401
407
|
margin-bottom: 2px;
|
|
402
408
|
border-radius: var(--border-radius);
|
|
@@ -496,6 +502,7 @@
|
|
|
496
502
|
border-color: #ffffff;
|
|
497
503
|
/* Change to the desired focus color */
|
|
498
504
|
}
|
|
505
|
+
|
|
499
506
|
/*Alert*/
|
|
500
507
|
|
|
501
508
|
.at_alert {
|
|
@@ -516,7 +523,7 @@
|
|
|
516
523
|
/*Color classes*/
|
|
517
524
|
/* Primary Background Colors */
|
|
518
525
|
.at_primary_azusa {
|
|
519
|
-
background-color:var(--bg-primary);
|
|
526
|
+
background-color: var(--bg-primary);
|
|
520
527
|
color: var(--text-color-light);
|
|
521
528
|
}
|
|
522
529
|
|
|
@@ -742,114 +749,117 @@
|
|
|
742
749
|
|
|
743
750
|
.at_css3DElement {
|
|
744
751
|
opacity: 0;
|
|
745
|
-
|
|
752
|
+
transition: opacity 1000ms;
|
|
746
753
|
}
|
|
747
754
|
|
|
748
755
|
/* CSS Class for Chat Bubble Container */
|
|
749
756
|
.at_chat_container {
|
|
750
757
|
display: flex;
|
|
751
758
|
flex-direction: column;
|
|
752
|
-
margin: 0 auto;
|
|
759
|
+
margin: 0 auto;
|
|
753
760
|
padding: 10px;
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/* CSS Class for Chat Bubble */
|
|
764
|
+
.at_chat_bubble {
|
|
758
765
|
display: flex;
|
|
759
|
-
max-width: 70%;
|
|
766
|
+
max-width: 70%;
|
|
760
767
|
margin: 2px 10px 10px 10px;
|
|
761
768
|
padding: 10px;
|
|
762
769
|
border-radius: 15px;
|
|
763
|
-
word-wrap: break-word;
|
|
770
|
+
word-wrap: break-word;
|
|
771
|
+
/* Wrap long words */
|
|
764
772
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
background-color: var(--bg-highlight);
|
|
770
|
-
color: var(--text-color-light);
|
|
771
|
-
align-self: flex-end;
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
background-color: var(--bg-accent);
|
|
777
|
-
color: var(--text-color-light);
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
/* CSS Class for Sent Chat Bubble */
|
|
776
|
+
.at_chat_bubble_sent {
|
|
777
|
+
background-color: var(--bg-highlight);
|
|
778
|
+
color: var(--text-color-light);
|
|
779
|
+
align-self: flex-end;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
/* CSS Class for Received Chat Bubble */
|
|
783
|
+
.at_chat_bubble_received {
|
|
784
|
+
background-color: var(--bg-accent);
|
|
785
|
+
color: var(--text-color-light);
|
|
778
786
|
align-self: flex-start;
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
/* CSS Class for Chat Avatar */
|
|
790
|
+
.at_chat_avatar {
|
|
783
791
|
max-width: 30px;
|
|
784
792
|
max-height: 30px;
|
|
785
|
-
border: 2px solid #fff;
|
|
786
|
-
border-radius: 12px;
|
|
793
|
+
border: 2px solid #fff;
|
|
794
|
+
border-radius: 12px;
|
|
787
795
|
margin: 2px;
|
|
788
796
|
padding: 4px 8px;
|
|
789
797
|
font-weight: bolder;
|
|
790
798
|
text-align: center;
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
background-color: var(--bg-highlight);
|
|
795
|
-
color: var(--text-color-light);
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
background-color: var(--bg-accent);
|
|
800
|
-
color: var(--text-color-light);
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
.at_chat_avatar_received {
|
|
802
|
+
background-color: var(--bg-highlight);
|
|
803
|
+
color: var(--text-color-light);
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.at_chat_avatar_sender {
|
|
807
|
+
background-color: var(--bg-accent);
|
|
808
|
+
color: var(--text-color-light);
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.at_chat_media {
|
|
804
812
|
max-width: 60%;
|
|
805
|
-
|
|
813
|
+
}
|
|
806
814
|
|
|
807
|
-
|
|
815
|
+
.at_chat_textarea {
|
|
808
816
|
background-color: white;
|
|
809
817
|
color: black;
|
|
810
818
|
border: none;
|
|
811
819
|
resize: none;
|
|
812
820
|
outline: none;
|
|
813
821
|
padding: 10px;
|
|
814
|
-
font-size: 1em;
|
|
815
|
-
|
|
822
|
+
font-size: 1em;
|
|
823
|
+
/* Adjust font size as needed */
|
|
824
|
+
}
|
|
816
825
|
|
|
817
|
-
|
|
826
|
+
.at_send_chat_button {
|
|
818
827
|
padding: 4px 8px;
|
|
819
828
|
cursor: pointer;
|
|
820
829
|
font-size: 25px;
|
|
821
|
-
|
|
830
|
+
}
|
|
822
831
|
|
|
823
|
-
|
|
832
|
+
.at_send_chat_button:hover {
|
|
824
833
|
background-color: var(--bg-accent);
|
|
825
834
|
color: var(--text-color-light);
|
|
826
|
-
|
|
835
|
+
}
|
|
827
836
|
|
|
828
|
-
|
|
837
|
+
/* MODAL CLASSES */
|
|
829
838
|
|
|
830
|
-
|
|
831
|
-
display: none;
|
|
839
|
+
#at-modal-overlay {
|
|
840
|
+
display: none;
|
|
832
841
|
position: fixed;
|
|
833
842
|
top: 0;
|
|
834
843
|
left: 0;
|
|
835
844
|
width: 100%;
|
|
836
845
|
height: 100%;
|
|
837
|
-
background: rgba(0,0,0,0.8);
|
|
846
|
+
background: rgba(0, 0, 0, 0.8);
|
|
838
847
|
animation: slide-down 0.3s ease;
|
|
839
848
|
animation-fill-mode: forwards;
|
|
840
849
|
transform: translateY(-100%);
|
|
841
|
-
|
|
850
|
+
}
|
|
842
851
|
|
|
843
|
-
|
|
852
|
+
@keyframes slide-down {
|
|
844
853
|
from {
|
|
845
854
|
transform: translateY(-100%);
|
|
846
855
|
}
|
|
856
|
+
|
|
847
857
|
to {
|
|
848
858
|
transform: translateY(0);
|
|
849
859
|
}
|
|
850
|
-
|
|
860
|
+
}
|
|
851
861
|
|
|
852
|
-
|
|
862
|
+
.at_modal {
|
|
853
863
|
max-width: 480px;
|
|
854
864
|
height: 260px;
|
|
855
865
|
max-height: 300px;
|
|
@@ -857,27 +867,28 @@
|
|
|
857
867
|
background-color: #ffff;
|
|
858
868
|
border-radius: 5px;
|
|
859
869
|
padding: 0rem 1rem;
|
|
860
|
-
animation:scale-up-center .4s cubic-bezier(.39
|
|
861
|
-
|
|
870
|
+
animation: scale-up-center .4s cubic-bezier(.39, .575, .565, 1.000) both
|
|
871
|
+
}
|
|
862
872
|
|
|
863
|
-
|
|
873
|
+
@keyframes scale-up-center {
|
|
864
874
|
0% {
|
|
865
|
-
|
|
875
|
+
transform: scale(.5)
|
|
866
876
|
}
|
|
877
|
+
|
|
867
878
|
100% {
|
|
868
|
-
|
|
879
|
+
transform: scale(1)
|
|
869
880
|
}
|
|
870
|
-
|
|
881
|
+
}
|
|
871
882
|
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
883
|
+
.at_close-icon {
|
|
884
|
+
font-size: 2rem;
|
|
885
|
+
text-align: right;
|
|
886
|
+
cursor: pointer;
|
|
876
887
|
}
|
|
877
888
|
|
|
878
889
|
.at_modal-content {
|
|
879
|
-
|
|
880
|
-
|
|
890
|
+
text-align: center;
|
|
891
|
+
padding-top: 10px;
|
|
881
892
|
}
|
|
882
893
|
|
|
883
894
|
.at_modal-content-heading {
|
|
@@ -905,38 +916,39 @@
|
|
|
905
916
|
border: none;
|
|
906
917
|
text-transform: uppercase;
|
|
907
918
|
font-weight: 600;
|
|
908
|
-
|
|
919
|
+
}
|
|
909
920
|
|
|
910
|
-
|
|
921
|
+
.at_close-button:hover {
|
|
911
922
|
background-color: #c73259;
|
|
912
923
|
outline: #fff;
|
|
913
|
-
|
|
924
|
+
}
|
|
914
925
|
|
|
915
|
-
|
|
916
|
-
|
|
926
|
+
.at_open-modal-btn:hover,
|
|
927
|
+
.at_open-modal-btn:focus {
|
|
917
928
|
background-color: #ffff;
|
|
918
929
|
color: #4E56EE;
|
|
919
930
|
border: 1px solid #4E56EE;
|
|
920
|
-
|
|
931
|
+
}
|
|
921
932
|
|
|
922
|
-
|
|
933
|
+
@media screen and (max-width: 540px) {
|
|
923
934
|
|
|
924
|
-
.at_modal {
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
935
|
+
.at_modal {
|
|
936
|
+
max-width: 300px;
|
|
937
|
+
height: 320px;
|
|
938
|
+
padding: 0rem 1rem;
|
|
928
939
|
}
|
|
929
940
|
|
|
930
|
-
|
|
941
|
+
}
|
|
931
942
|
|
|
932
943
|
|
|
933
|
-
|
|
934
|
-
|
|
944
|
+
/* CUSTOM CLASSES */
|
|
945
|
+
.at_tag_list_pane {
|
|
935
946
|
margin: 6px 6px 0px 6px !important;
|
|
936
947
|
gap: 0px !important;
|
|
937
948
|
padding: 10px 10px 5px 10px !important;
|
|
938
|
-
|
|
949
|
+
}
|
|
939
950
|
|
|
940
|
-
|
|
951
|
+
.at_disabled {
|
|
941
952
|
pointer-events: none;
|
|
942
|
-
|
|
953
|
+
opacity: 0.4;
|
|
954
|
+
}
|