ryugi-artifacts 1.101.2 → 1.102.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/dist/cli.cjs +6 -33
- package/dist/server.cjs +259 -259
- package/dist/viewer/{ActionBar-GEbMi4TD.js → ActionBar-DFtKepA7.js} +1 -1
- package/dist/viewer/{ActionIcon-RLJErXaL.js → ActionIcon-BmG7lBfd.js} +1 -1
- package/dist/viewer/{AgentStatusPill-DyrlWEmW.js → AgentStatusPill-Dr0IG63t.js} +1 -1
- package/dist/viewer/ArtboardLayout-Csu2pQ-T.js +14 -0
- package/dist/viewer/{ArtifactList-BWJ45-uL.js → ArtifactList-DsM43F_P.js} +1 -1
- package/dist/viewer/{ArtifactModal-Qn47mKCN.js → ArtifactModal-DjgA_mk-.js} +1 -1
- package/dist/viewer/{Avatar-A1oAz1XR.js → Avatar-OGhW38pt.js} +1 -1
- package/dist/viewer/{BottomSheet-BN9gyx7S.js → BottomSheet-wczv_s4I.js} +1 -1
- package/dist/viewer/{Canvas-B89LEvKt.js → Canvas-C9BgB5Vk.js} +1 -1
- package/dist/viewer/{CloudLegalNotice-BCTyYAWa.js → CloudLegalNotice-9Jrnaiz1.js} +1 -1
- package/dist/viewer/{CompositeItem-CSvIO8uB.js → CompositeItem-BLrDOuic.js} +1 -1
- package/dist/viewer/{DocumentExportMenu-DXxjkRFA.js → DocumentExportMenu-CxdmnnnP.js} +1 -1
- package/dist/viewer/DocumentLayout-Byaaj0lf.js +2 -0
- package/dist/viewer/{DocumentPage-B2UKgse3.js → DocumentPage-CrVLG3xw.js} +1 -1
- package/dist/viewer/{DraggablePanel-GGPnqMPs.js → DraggablePanel-D2U_w1Mh.js} +1 -1
- package/dist/viewer/{DropdownMenu-SGAC8XYI.js → DropdownMenu-D8PSw8rX.js} +1 -1
- package/dist/viewer/GroupVerdict-B4YWlFtx.js +1 -0
- package/dist/viewer/{HtmlLayout-CkyPc8Q7.js → HtmlLayout-p52oMbkD.js} +1 -1
- package/dist/viewer/{Input-CNcWZmH8.js → Input-BPP1bIR7.js} +1 -1
- package/dist/viewer/{MenuTrigger-OHGsk3Iu.js → MenuTrigger-CJXtjCtF.js} +1 -1
- package/dist/viewer/{PhoneArtboardBar-CdMJseRN.js → PhoneArtboardBar-BLmC5n92.js} +1 -1
- package/dist/viewer/{PhoneSheet-DHZCV8bd.js → PhoneSheet-RzYP9raH.js} +1 -1
- package/dist/viewer/{Popover-SE4RXx2B.js → Popover-CI2fBO-6.js} +1 -1
- package/dist/viewer/{PreviewArtifactLayout-BsIOQy80.js → PreviewArtifactLayout-BKcZov33.js} +1 -1
- package/dist/viewer/{PreviewLayout-DTAIcv0H.js → PreviewLayout-h2V6IEPR.js} +2 -2
- package/dist/viewer/{PublishMenu-D-u3yCNM.js → PublishMenu-I7yHr3IR.js} +1 -1
- package/dist/viewer/{ReportLayout-SZVzfC0J.js → ReportLayout-C1A2NXor.js} +1 -1
- package/dist/viewer/{RyugiMark-E1gFKvlG.js → RyugiMark-D6HsF-eP.js} +1 -1
- package/dist/viewer/{Segmented-Dd4wqUb4.js → Segmented-DWi3WMbI.js} +1 -1
- package/dist/viewer/{Select-BO3NR7PD.js → Select-C3XqBQ1N.js} +1 -1
- package/dist/viewer/{SelectScrollUpArrow-CGM1ElW0.js → SelectScrollUpArrow-DccpygLx.js} +1 -1
- package/dist/viewer/{SideDrawer-D9oZAAPW.js → SideDrawer-DtqMHMZa.js} +1 -1
- package/dist/viewer/{SlidesLayout-D1Sjqz7W.js → SlidesLayout-_aL_Wmn0.js} +3 -3
- package/dist/viewer/{SnapshotDocument-D0ymuHac.js → SnapshotDocument-BmyM7kKr.js} +1 -1
- package/dist/viewer/{SplitFrame-sFi3srWj.js → SplitFrame-DY4Pomig.js} +1 -1
- package/dist/viewer/{StoryboardLayout-BOCBT0dT.js → StoryboardLayout-DWmYoJbh.js} +1 -1
- package/dist/viewer/{StoryboardRender-DvDujY6-.js → StoryboardRender-Bz4HnHfj.js} +1 -1
- package/dist/viewer/{ThreadView-DgoYNafB.js → ThreadView-uYestFjK.js} +1 -1
- package/dist/viewer/VerifyLayout-B9e4RHAZ.css +1 -0
- package/dist/viewer/VerifyLayout-D3L_Nyhx.js +1 -0
- package/dist/viewer/{VirtualizedEditor-uWe43zaI-JDpZ-UaE.js → VirtualizedEditor-uWe43zaI-BRjchUcR.js} +1 -1
- package/dist/viewer/{VirtualizedRenderer-C_d95FXi-DpRLDZzT.js → VirtualizedRenderer-C_d95FXi-BiKuicf_.js} +1 -1
- package/dist/viewer/{WarningsBadge-B_8vwkt1.js → WarningsBadge-t_H3hA4c.js} +1 -1
- package/dist/viewer/{WhiteboardEditor-cZ32fLqJ-ZVWL_tx_.js → WhiteboardEditor-cZ32fLqJ-DHGUDfT6.js} +1 -1
- package/dist/viewer/{WhiteboardLayout-CXcVyWLf.js → WhiteboardLayout-BwzWcl_v.js} +1 -1
- package/dist/viewer/{WritingCursor-Tz_0Kzrp.js → WritingCursor-BgZ_CXA8.js} +1 -1
- package/dist/viewer/{api-C8atBssM.js → api-DnU71xnS.js} +1 -1
- package/dist/viewer/{artifact-list-DYdFYJaa.js → artifact-list-DLC6w9uW.js} +1 -1
- package/dist/viewer/{auto-publish-B0M98Fca.js → auto-publish-I637YfTf.js} +1 -1
- package/dist/viewer/{channel-BO955bMH.js → channel-BzQy5yb9.js} +3 -3
- package/dist/viewer/{crop-encode-B86CUhHc.js → crop-encode-DKOXrrBx.js} +1 -1
- package/dist/viewer/{dist-BODFR1Jr.js → dist-B4EO2CPv.js} +1 -1
- package/dist/viewer/{dist-C2M3_G3-.js → dist-B8JYmYN_.js} +1 -1
- package/dist/viewer/{dist-CpFhTJdQ.js → dist-BHAJ5J6a.js} +1 -1
- package/dist/viewer/{dist-w46wmgZp.js → dist-BI7tUIez.js} +1 -1
- package/dist/viewer/{dist-CZGkzFCv.js → dist-BL7gVqxi.js} +1 -1
- package/dist/viewer/{dist-C01DUxTi.js → dist-BP8ay-gZ.js} +1 -1
- package/dist/viewer/{dist-P_tj0_YM.js → dist-Bo83M38T.js} +1 -1
- package/dist/viewer/{dist-DWXSGLTE.js → dist-CO1p9q1Z.js} +1 -1
- package/dist/viewer/{dist-DaPsw--V.js → dist-CVt5MFeC.js} +1 -1
- package/dist/viewer/{dist-kTp8pZMq.js → dist-CaBa68Xm.js} +1 -1
- package/dist/viewer/{dist-DznRRxrn.js → dist-Cdwc8_lc.js} +1 -1
- package/dist/viewer/{dist-BDu6AHeP.js → dist-ChnAy31A.js} +1 -1
- package/dist/viewer/{dist-CDlrNMXS.js → dist-Ckvl87v1.js} +1 -1
- package/dist/viewer/{dist-BpYfPdi5.js → dist-DBpGO_S5.js} +1 -1
- package/dist/viewer/{dist-DNL6Um7a.js → dist-DCj5-otB.js} +1 -1
- package/dist/viewer/{dist-4HoMYeED.js → dist-DJbqyYbr.js} +1 -1
- package/dist/viewer/{dist-YyMYbSB-.js → dist-DSiP1sno.js} +1 -1
- package/dist/viewer/{dist-HTuDq_aa.js → dist-DrVA7ut5.js} +1 -1
- package/dist/viewer/{dist-tObrbDpE.js → dist-DxrXYjGy.js} +1 -1
- package/dist/viewer/{dist-fjhXjUom.js → dist-EEnCrnE5.js} +1 -1
- package/dist/viewer/{dist-CRRvcFM-.js → dist-UhLZmzFt.js} +1 -1
- package/dist/viewer/{dist-BXm5Rfgj.js → dist-j0019Ujc.js} +1 -1
- package/dist/viewer/{dist-a0u-2S_l.js → dist-jEPSRJix.js} +2 -2
- package/dist/viewer/{dist-DUF2tfCf.js → dist-r4fmjkHw.js} +1 -1
- package/dist/viewer/{editor-BpnTfMcC.js → editor-2avuG1le.js} +4 -4
- package/dist/viewer/{icons-yzuVhXUP.js → icons-DWimed9E.js} +1 -1
- package/dist/viewer/index.html +3 -3
- package/dist/viewer/index.js +2 -2
- package/dist/viewer/index5.css +151 -76
- package/dist/viewer/{labels-BlxZjLTh.js → labels-6JqNXprT.js} +1 -1
- package/dist/viewer/{local-split-host-C2RW7m9m.js → local-split-host-kaL99YNI.js} +1 -1
- package/dist/viewer/{parseTrigger-fuIDIBGR.js → parseTrigger-dhvXKZoS.js} +1 -1
- package/dist/viewer/preview.html +5 -5
- package/dist/viewer/preview.js +1 -1
- package/dist/viewer/{printDocument-SgAybSS9.js → printDocument-Bob6oDU4.js} +1 -1
- package/dist/viewer/{read-resolutions-D1nnXtlv.js → read-resolutions-iX7kD7Xz.js} +1 -1
- package/dist/viewer/{ref-oE9hXZLB.js → ref-CG33owdM.js} +1 -1
- package/dist/viewer/{route-CmBbNmVb.js → route-CkVEiakc.js} +2 -2
- package/dist/viewer/{route-messages-CAzxmUWF.js → route-messages-BblikCub.js} +1 -1
- package/dist/viewer/{settings-BU73kkrW.js → settings-i1xE8pA8.js} +1 -1
- package/dist/viewer/{snap-C_E1z6AY.js → snap-BoMEN-8e.js} +1 -1
- package/dist/viewer/{split-DvTDpgJW.js → split-C-_Iw2K0.js} +2 -2
- package/dist/viewer/{stable-C9ggSXF9.js → stable-DqmWGuUk.js} +1 -1
- package/dist/viewer/{tokens.stylex-zG8haNmJ.js → tokens.stylex-No4bA13s.js} +1 -1
- package/dist/viewer/{url-Brz_p3MH.js → url-64-774qp.js} +1 -1
- package/dist/viewer/{useArtifactFeed-Vqt5fAyB.js → useArtifactFeed-CojHZEow.js} +1 -1
- package/dist/viewer/{useCloudStatus-DvxxuOq7.js → useCloudStatus-BngR4Pm7.js} +1 -1
- package/dist/viewer/{useLayerZIndex-CuKgxp6B.js → useLayerZIndex-t4BgGwYi.js} +1 -1
- package/dist/viewer/{useStoryboardData-CPlKQjJu.js → useStoryboardData-B1gfG0bU.js} +1 -1
- package/dist/viewer/{useTranslation-BGQ-vF4X.js → useTranslation-ByuUeDLl.js} +1 -1
- package/dist/viewer/{view-aVq9gyhB.js → view-BnFGOXLi.js} +1 -1
- package/dist/viewer/{viewport-CFJHn_Y6-CeUex0Or.js → viewport-CFJHn_Y6-NgtbO-g_.js} +1 -1
- package/package.json +1 -1
- package/dist/viewer/ArtboardLayout-BTX9NX6v.js +0 -14
- package/dist/viewer/DocumentLayout-Bc3IfTlz.js +0 -2
- package/dist/viewer/GroupVerdict-BbSPek24.js +0 -1
- package/dist/viewer/VerifyLayout-B3HHzVWF.js +0 -1
- package/dist/viewer/VerifyLayout-BH4hYui6.css +0 -1
package/dist/viewer/index5.css
CHANGED
|
@@ -71,6 +71,18 @@
|
|
|
71
71
|
font: inherit;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
+
.xupfkzh {
|
|
75
|
+
grid-area: body;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.xnyuz70 {
|
|
79
|
+
grid-area: title;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.x1rop5rj {
|
|
83
|
+
grid-area: verdict;
|
|
84
|
+
}
|
|
85
|
+
|
|
74
86
|
.x10a8y8t {
|
|
75
87
|
inset: 0;
|
|
76
88
|
}
|
|
@@ -623,10 +635,19 @@
|
|
|
623
635
|
grid-column: 2;
|
|
624
636
|
}
|
|
625
637
|
|
|
638
|
+
.xm5moh1 {
|
|
639
|
+
grid-column: auto;
|
|
640
|
+
}
|
|
641
|
+
|
|
626
642
|
.x623te4 {
|
|
627
643
|
grid-column: span 2;
|
|
628
644
|
}
|
|
629
645
|
|
|
646
|
+
.x1okplp4 {
|
|
647
|
+
grid-template-areas: "title verdict"
|
|
648
|
+
"body body";
|
|
649
|
+
}
|
|
650
|
+
|
|
630
651
|
.x10no89f {
|
|
631
652
|
inset-block: 0;
|
|
632
653
|
}
|
|
@@ -775,10 +796,6 @@
|
|
|
775
796
|
padding-block: 2.5px;
|
|
776
797
|
}
|
|
777
798
|
|
|
778
|
-
.xqp6ajr {
|
|
779
|
-
padding-block: 20px;
|
|
780
|
-
}
|
|
781
|
-
|
|
782
799
|
.xr9q8rw {
|
|
783
800
|
padding-block: 24px;
|
|
784
801
|
}
|
|
@@ -831,6 +848,10 @@
|
|
|
831
848
|
padding-inline: 10px;
|
|
832
849
|
}
|
|
833
850
|
|
|
851
|
+
.xfoe8qy {
|
|
852
|
+
padding-inline: 11px;
|
|
853
|
+
}
|
|
854
|
+
|
|
834
855
|
.xaope02 {
|
|
835
856
|
padding-inline: 12px;
|
|
836
857
|
}
|
|
@@ -903,6 +924,10 @@
|
|
|
903
924
|
padding-inline: 5px;
|
|
904
925
|
}
|
|
905
926
|
|
|
927
|
+
.x1dao9b2 {
|
|
928
|
+
padding-inline: 64px;
|
|
929
|
+
}
|
|
930
|
+
|
|
906
931
|
.xv2tywg {
|
|
907
932
|
padding-inline: 6px 8px;
|
|
908
933
|
}
|
|
@@ -963,6 +988,10 @@
|
|
|
963
988
|
transition: opacity .3s;
|
|
964
989
|
}
|
|
965
990
|
|
|
991
|
+
.x14sdrxx {
|
|
992
|
+
transition: transform .15s;
|
|
993
|
+
}
|
|
994
|
+
|
|
966
995
|
.x1pagzdl {
|
|
967
996
|
transition: transform .18s cubic-bezier(.2, 0, 0, 1);
|
|
968
997
|
}
|
|
@@ -1023,6 +1052,20 @@
|
|
|
1023
1052
|
}
|
|
1024
1053
|
}
|
|
1025
1054
|
|
|
1055
|
+
@media (width <= 760px) {
|
|
1056
|
+
.x1tabp5x.x1tabp5x {
|
|
1057
|
+
grid-column: 2;
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
@media (width <= 639px) {
|
|
1062
|
+
.xa0mrdo.xa0mrdo {
|
|
1063
|
+
grid-template-areas: "title"
|
|
1064
|
+
"body"
|
|
1065
|
+
"verdict";
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1026
1069
|
@media (width <= 720px) {
|
|
1027
1070
|
.x11gk8ij.x11gk8ij {
|
|
1028
1071
|
inset-inline: 0;
|
|
@@ -1045,6 +1088,12 @@
|
|
|
1045
1088
|
}
|
|
1046
1089
|
}
|
|
1047
1090
|
|
|
1091
|
+
@media (width <= 760px) {
|
|
1092
|
+
.xny03uy.xny03uy {
|
|
1093
|
+
padding-inline: 20px;
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1048
1097
|
@media (width <= 700px) {
|
|
1049
1098
|
.xjevy5k.xjevy5k {
|
|
1050
1099
|
padding-inline: 10px;
|
|
@@ -1119,6 +1168,10 @@
|
|
|
1119
1168
|
align-items: stretch;
|
|
1120
1169
|
}
|
|
1121
1170
|
|
|
1171
|
+
.xamitd3 {
|
|
1172
|
+
align-self: center;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1122
1175
|
.xqcrz7y {
|
|
1123
1176
|
align-self: flex-start;
|
|
1124
1177
|
}
|
|
@@ -1716,6 +1769,10 @@
|
|
|
1716
1769
|
border-inline-start-color: #0000;
|
|
1717
1770
|
}
|
|
1718
1771
|
|
|
1772
|
+
.x1awn4rw {
|
|
1773
|
+
border-inline-start-color: var(--lobe-color-border);
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1719
1776
|
.xq73ly0 {
|
|
1720
1777
|
border-inline-start-color: var(--lobe-color-text);
|
|
1721
1778
|
}
|
|
@@ -1724,6 +1781,10 @@
|
|
|
1724
1781
|
border-inline-start-style: solid;
|
|
1725
1782
|
}
|
|
1726
1783
|
|
|
1784
|
+
.xpilrb4 {
|
|
1785
|
+
border-inline-start-width: 1px;
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1727
1788
|
.xyumdvf {
|
|
1728
1789
|
border-inline-start-width: 2px;
|
|
1729
1790
|
}
|
|
@@ -2149,6 +2210,10 @@
|
|
|
2149
2210
|
}
|
|
2150
2211
|
}
|
|
2151
2212
|
|
|
2213
|
+
.x1o1pmfc {
|
|
2214
|
+
column-gap: 0;
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2152
2217
|
.xtqikln {
|
|
2153
2218
|
column-gap: 12px;
|
|
2154
2219
|
}
|
|
@@ -2165,10 +2230,6 @@
|
|
|
2165
2230
|
column-gap: 4px;
|
|
2166
2231
|
}
|
|
2167
2232
|
|
|
2168
|
-
.xfex06f {
|
|
2169
|
-
column-gap: 8px;
|
|
2170
|
-
}
|
|
2171
|
-
|
|
2172
2233
|
.x41o525 {
|
|
2173
2234
|
contain: inline-size;
|
|
2174
2235
|
}
|
|
@@ -2293,10 +2354,6 @@
|
|
|
2293
2354
|
filter: none;
|
|
2294
2355
|
}
|
|
2295
2356
|
|
|
2296
|
-
.x1r8uery {
|
|
2297
|
-
flex-basis: 0;
|
|
2298
|
-
}
|
|
2299
|
-
|
|
2300
2357
|
.x3ieub6 {
|
|
2301
2358
|
flex-direction: column-reverse;
|
|
2302
2359
|
}
|
|
@@ -2397,10 +2454,6 @@
|
|
|
2397
2454
|
font-size: 17px;
|
|
2398
2455
|
}
|
|
2399
2456
|
|
|
2400
|
-
.x1q7jzdg {
|
|
2401
|
-
font-size: 19px;
|
|
2402
|
-
}
|
|
2403
|
-
|
|
2404
2457
|
.x17h412 {
|
|
2405
2458
|
font-size: 2.2cqw;
|
|
2406
2459
|
}
|
|
@@ -2417,8 +2470,8 @@
|
|
|
2417
2470
|
font-size: 22px;
|
|
2418
2471
|
}
|
|
2419
2472
|
|
|
2420
|
-
.
|
|
2421
|
-
font-size:
|
|
2473
|
+
.x1ewwscv {
|
|
2474
|
+
font-size: 26px;
|
|
2422
2475
|
}
|
|
2423
2476
|
|
|
2424
2477
|
.xnq45mz {
|
|
@@ -2477,12 +2530,16 @@
|
|
|
2477
2530
|
grid-template-columns: 18px minmax(0, 1fr) auto;
|
|
2478
2531
|
}
|
|
2479
2532
|
|
|
2480
|
-
.
|
|
2481
|
-
grid-template-columns: 1fr
|
|
2533
|
+
.xo6auh3 {
|
|
2534
|
+
grid-template-columns: 18px minmax(0, 1fr) minmax(0, 280px) minmax(0, 200px);
|
|
2482
2535
|
}
|
|
2483
2536
|
|
|
2484
|
-
.
|
|
2485
|
-
grid-template-columns:
|
|
2537
|
+
.x15qpbca {
|
|
2538
|
+
grid-template-columns: 18px minmax(0, 1fr);
|
|
2539
|
+
}
|
|
2540
|
+
|
|
2541
|
+
.x1o61qjw {
|
|
2542
|
+
grid-template-columns: 1fr 1fr;
|
|
2486
2543
|
}
|
|
2487
2544
|
|
|
2488
2545
|
.xc94fvo {
|
|
@@ -2513,12 +2570,12 @@
|
|
|
2513
2570
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
2514
2571
|
}
|
|
2515
2572
|
|
|
2516
|
-
.
|
|
2517
|
-
grid-template-columns: minmax(0, 1fr);
|
|
2573
|
+
.xju1xpo {
|
|
2574
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
2518
2575
|
}
|
|
2519
2576
|
|
|
2520
|
-
.
|
|
2521
|
-
grid-template-columns: minmax(0,
|
|
2577
|
+
.x1mkdm3x {
|
|
2578
|
+
grid-template-columns: minmax(0, 1fr);
|
|
2522
2579
|
}
|
|
2523
2580
|
|
|
2524
2581
|
.x10vl0y4 {
|
|
@@ -2621,10 +2678,6 @@
|
|
|
2621
2678
|
line-height: 1.2;
|
|
2622
2679
|
}
|
|
2623
2680
|
|
|
2624
|
-
.x132q4wb {
|
|
2625
|
-
line-height: 1.25;
|
|
2626
|
-
}
|
|
2627
|
-
|
|
2628
2681
|
.xwn7fz2 {
|
|
2629
2682
|
line-height: 1.3;
|
|
2630
2683
|
}
|
|
@@ -2653,10 +2706,6 @@
|
|
|
2653
2706
|
line-height: 1.6;
|
|
2654
2707
|
}
|
|
2655
2708
|
|
|
2656
|
-
.x11m8ghp {
|
|
2657
|
-
line-height: 1.65;
|
|
2658
|
-
}
|
|
2659
|
-
|
|
2660
2709
|
.xa7kkou {
|
|
2661
2710
|
line-height: 1.7;
|
|
2662
2711
|
}
|
|
@@ -2749,10 +2798,6 @@
|
|
|
2749
2798
|
margin-inline-start: -12px;
|
|
2750
2799
|
}
|
|
2751
2800
|
|
|
2752
|
-
.x45gse5 {
|
|
2753
|
-
margin-inline-start: -18px;
|
|
2754
|
-
}
|
|
2755
|
-
|
|
2756
2801
|
.x4h0osi {
|
|
2757
2802
|
margin-inline-start: -3px;
|
|
2758
2803
|
}
|
|
@@ -3067,14 +3112,14 @@
|
|
|
3067
3112
|
padding-inline-start: 20px;
|
|
3068
3113
|
}
|
|
3069
3114
|
|
|
3070
|
-
.xzm8p2n {
|
|
3071
|
-
padding-inline-start: 26px;
|
|
3072
|
-
}
|
|
3073
|
-
|
|
3074
3115
|
.x110972j {
|
|
3075
3116
|
padding-inline-start: 28px;
|
|
3076
3117
|
}
|
|
3077
3118
|
|
|
3119
|
+
.x162tt16 {
|
|
3120
|
+
padding-inline-start: 30px;
|
|
3121
|
+
}
|
|
3122
|
+
|
|
3078
3123
|
.x135b78x {
|
|
3079
3124
|
padding-inline-start: 4px;
|
|
3080
3125
|
}
|
|
@@ -3127,6 +3172,14 @@
|
|
|
3127
3172
|
resize: vertical;
|
|
3128
3173
|
}
|
|
3129
3174
|
|
|
3175
|
+
.x1dbijih {
|
|
3176
|
+
row-gap: 2px;
|
|
3177
|
+
}
|
|
3178
|
+
|
|
3179
|
+
.x1r0jzty {
|
|
3180
|
+
row-gap: 4px;
|
|
3181
|
+
}
|
|
3182
|
+
|
|
3130
3183
|
.x3pnbk8 {
|
|
3131
3184
|
row-gap: 8px;
|
|
3132
3185
|
}
|
|
@@ -3606,6 +3659,10 @@
|
|
|
3606
3659
|
outline-color: var(--x1uxlckq);
|
|
3607
3660
|
}
|
|
3608
3661
|
|
|
3662
|
+
.x1bqaal:focus-visible {
|
|
3663
|
+
outline-offset: -2px;
|
|
3664
|
+
}
|
|
3665
|
+
|
|
3609
3666
|
.x13iak60:focus-visible {
|
|
3610
3667
|
outline-offset: 1px;
|
|
3611
3668
|
}
|
|
@@ -3630,6 +3687,10 @@
|
|
|
3630
3687
|
color: var(--lobe-color-text-quaternary);
|
|
3631
3688
|
}
|
|
3632
3689
|
|
|
3690
|
+
.x1y7ed73:disabled {
|
|
3691
|
+
color: var(--lobe-color-text-tertiary);
|
|
3692
|
+
}
|
|
3693
|
+
|
|
3633
3694
|
.xtgyt42:disabled {
|
|
3634
3695
|
cursor: default;
|
|
3635
3696
|
}
|
|
@@ -3670,6 +3731,10 @@
|
|
|
3670
3731
|
background-color: #0000;
|
|
3671
3732
|
}
|
|
3672
3733
|
|
|
3734
|
+
.x32h952:hover {
|
|
3735
|
+
background-color: var(--lobe-color-error-bg);
|
|
3736
|
+
}
|
|
3737
|
+
|
|
3673
3738
|
.x9jwiqo:hover {
|
|
3674
3739
|
background-color: var(--lobe-color-fill-quaternary);
|
|
3675
3740
|
}
|
|
@@ -3682,6 +3747,10 @@
|
|
|
3682
3747
|
background-color: var(--lobe-color-fill-tertiary);
|
|
3683
3748
|
}
|
|
3684
3749
|
|
|
3750
|
+
.x1f58tss:hover {
|
|
3751
|
+
background-color: var(--lobe-color-success-bg);
|
|
3752
|
+
}
|
|
3753
|
+
|
|
3685
3754
|
.x1et1poy:hover {
|
|
3686
3755
|
background-color: var(--lobe-color-text-secondary);
|
|
3687
3756
|
}
|
|
@@ -3794,8 +3863,8 @@
|
|
|
3794
3863
|
}
|
|
3795
3864
|
}
|
|
3796
3865
|
|
|
3797
|
-
@media (width <=
|
|
3798
|
-
.
|
|
3866
|
+
@media (width <= 760px) {
|
|
3867
|
+
.xy0uqqd.xy0uqqd {
|
|
3799
3868
|
display: none;
|
|
3800
3869
|
}
|
|
3801
3870
|
}
|
|
@@ -3880,9 +3949,9 @@
|
|
|
3880
3949
|
}
|
|
3881
3950
|
}
|
|
3882
3951
|
|
|
3883
|
-
@media (width <=
|
|
3884
|
-
.
|
|
3885
|
-
grid-template-columns: minmax(0,
|
|
3952
|
+
@media (width <= 760px) {
|
|
3953
|
+
.x1ib1cvv.x1ib1cvv {
|
|
3954
|
+
grid-template-columns: 18px minmax(0, 1fr);
|
|
3886
3955
|
}
|
|
3887
3956
|
}
|
|
3888
3957
|
|
|
@@ -3890,7 +3959,15 @@
|
|
|
3890
3959
|
.xytjzp3.xytjzp3 {
|
|
3891
3960
|
grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
|
|
3892
3961
|
}
|
|
3962
|
+
}
|
|
3963
|
+
|
|
3964
|
+
@media (width <= 639px) {
|
|
3965
|
+
.xb2s05o.xb2s05o {
|
|
3966
|
+
grid-template-columns: minmax(0, 1fr);
|
|
3967
|
+
}
|
|
3968
|
+
}
|
|
3893
3969
|
|
|
3970
|
+
@media (width <= 700px) {
|
|
3894
3971
|
.x1bp5zzb.x1bp5zzb {
|
|
3895
3972
|
margin-inline-start: 0;
|
|
3896
3973
|
}
|
|
@@ -3902,12 +3979,6 @@
|
|
|
3902
3979
|
}
|
|
3903
3980
|
}
|
|
3904
3981
|
|
|
3905
|
-
@media (width <= 1100px) {
|
|
3906
|
-
.x1ywm5vj.x1ywm5vj {
|
|
3907
|
-
position: static;
|
|
3908
|
-
}
|
|
3909
|
-
}
|
|
3910
|
-
|
|
3911
3982
|
@media (width <= 720px) {
|
|
3912
3983
|
.xi6u617.xi6u617 {
|
|
3913
3984
|
position: fixed;
|
|
@@ -3952,6 +4023,10 @@
|
|
|
3952
4023
|
border-bottom-color: var(--lobe-color-text);
|
|
3953
4024
|
}
|
|
3954
4025
|
|
|
4026
|
+
.x10g653c {
|
|
4027
|
+
border-bottom-color: var(--xz9b1o7);
|
|
4028
|
+
}
|
|
4029
|
+
|
|
3955
4030
|
.x1bqy6mi {
|
|
3956
4031
|
border-bottom-left-radius: 6px;
|
|
3957
4032
|
}
|
|
@@ -4572,10 +4647,18 @@
|
|
|
4572
4647
|
margin-top: 24px;
|
|
4573
4648
|
}
|
|
4574
4649
|
|
|
4650
|
+
.xjv05ge {
|
|
4651
|
+
margin-top: 28px;
|
|
4652
|
+
}
|
|
4653
|
+
|
|
4575
4654
|
.xr9ek0c {
|
|
4576
4655
|
margin-top: 2px;
|
|
4577
4656
|
}
|
|
4578
4657
|
|
|
4658
|
+
.xg87l8a {
|
|
4659
|
+
margin-top: 32px;
|
|
4660
|
+
}
|
|
4661
|
+
|
|
4579
4662
|
.x7r5mf7 {
|
|
4580
4663
|
margin-top: 3px;
|
|
4581
4664
|
}
|
|
@@ -4584,10 +4667,6 @@
|
|
|
4584
4667
|
margin-top: 40px;
|
|
4585
4668
|
}
|
|
4586
4669
|
|
|
4587
|
-
.x7y0ge5 {
|
|
4588
|
-
margin-top: 44px;
|
|
4589
|
-
}
|
|
4590
|
-
|
|
4591
4670
|
.x1gslohp {
|
|
4592
4671
|
margin-top: 4px;
|
|
4593
4672
|
}
|
|
@@ -4680,6 +4759,10 @@
|
|
|
4680
4759
|
max-width: 1080px;
|
|
4681
4760
|
}
|
|
4682
4761
|
|
|
4762
|
+
.x11jghpn {
|
|
4763
|
+
max-width: 1208px;
|
|
4764
|
+
}
|
|
4765
|
+
|
|
4683
4766
|
.x1ncir08 {
|
|
4684
4767
|
max-width: 200px;
|
|
4685
4768
|
}
|
|
@@ -4784,6 +4867,10 @@
|
|
|
4784
4867
|
min-height: 32px;
|
|
4785
4868
|
}
|
|
4786
4869
|
|
|
4870
|
+
.xu97haq {
|
|
4871
|
+
min-height: 34px;
|
|
4872
|
+
}
|
|
4873
|
+
|
|
4787
4874
|
.x1rj1pf4 {
|
|
4788
4875
|
min-height: 35px;
|
|
4789
4876
|
}
|
|
@@ -4792,10 +4879,6 @@
|
|
|
4792
4879
|
min-height: 36px;
|
|
4793
4880
|
}
|
|
4794
4881
|
|
|
4795
|
-
.x1ba4aug {
|
|
4796
|
-
min-height: 40px;
|
|
4797
|
-
}
|
|
4798
|
-
|
|
4799
4882
|
.x1gg8mnh {
|
|
4800
4883
|
min-height: 44px;
|
|
4801
4884
|
}
|
|
@@ -4936,10 +5019,6 @@
|
|
|
4936
5019
|
padding-bottom: 13px;
|
|
4937
5020
|
}
|
|
4938
5021
|
|
|
4939
|
-
.x1g2khh7 {
|
|
4940
|
-
padding-bottom: 14px;
|
|
4941
|
-
}
|
|
4942
|
-
|
|
4943
5022
|
.x1l90r2v {
|
|
4944
5023
|
padding-bottom: 16px;
|
|
4945
5024
|
}
|
|
@@ -5048,10 +5127,6 @@
|
|
|
5048
5127
|
padding-top: 40px;
|
|
5049
5128
|
}
|
|
5050
5129
|
|
|
5051
|
-
.x4i7bpe {
|
|
5052
|
-
padding-top: 48px;
|
|
5053
|
-
}
|
|
5054
|
-
|
|
5055
5130
|
.x1iorvi4 {
|
|
5056
5131
|
padding-top: 4px;
|
|
5057
5132
|
}
|
|
@@ -5240,10 +5315,6 @@
|
|
|
5240
5315
|
top: 46px;
|
|
5241
5316
|
}
|
|
5242
5317
|
|
|
5243
|
-
.x1ym02ve {
|
|
5244
|
-
top: 48px;
|
|
5245
|
-
}
|
|
5246
|
-
|
|
5247
5318
|
.xndqk7f {
|
|
5248
5319
|
top: 4px;
|
|
5249
5320
|
}
|
|
@@ -5600,6 +5671,10 @@
|
|
|
5600
5671
|
padding-left: 0;
|
|
5601
5672
|
}
|
|
5602
5673
|
|
|
5674
|
+
.x1l74h88:disabled {
|
|
5675
|
+
border-bottom-style: dashed;
|
|
5676
|
+
}
|
|
5677
|
+
|
|
5603
5678
|
@media (width <= 700px) {
|
|
5604
5679
|
.xgmhl2p.xgmhl2p {
|
|
5605
5680
|
border-bottom-color: var(--lobe-color-border-secondary);
|
|
@@ -5662,9 +5737,9 @@
|
|
|
5662
5737
|
}
|
|
5663
5738
|
}
|
|
5664
5739
|
|
|
5665
|
-
@media (width <=
|
|
5666
|
-
.
|
|
5667
|
-
margin-top:
|
|
5740
|
+
@media (width <= 639px) {
|
|
5741
|
+
.x1lhp8rt.x1lhp8rt {
|
|
5742
|
+
margin-top: 14px;
|
|
5668
5743
|
}
|
|
5669
5744
|
}
|
|
5670
5745
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{S as t,m as n}from"./route-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{S as t,m as n}from"./route-CkVEiakc.js";/* empty css */import{n as r,r as i}from"./bem-vbke-3KC.js";import{t as a}from"./react-DlmbjZJV.js";import{yr as o}from"./url-64-774qp.js";import{t as s}from"./jsx-runtime-LKYXHABd.js";import{at as c,n as l}from"./mergeRefs-BoWyGCK7.js";import{t as u}from"./arrow-up-kdcWAnXX.js";import{a as d,c as f,i as p,l as m,o as h,r as g,s as _}from"./stable-DqmWGuUk.js";import{n as v,t as y}from"./icons-DWimed9E.js";var b=e(a(),1),x=s(),S=e=>e==null?0:Array.from(String(e)).length,C=(0,b.memo)(({ref:e,className:n,classNames:a,styles:o,style:s,variant:u,shadow:v,autoSize:y,resize:C=!1,disabled:w,readOnly:T,allowClear:E,onClear:D,onPressEnter:O,onKeyDown:k,onChange:A,showCount:j,maxLength:M,value:N,defaultValue:P,...F})=>{let{isDarkMode:I}=t(),L=u||(I?`filled`:`outlined`),R=(0,b.useRef)(null),z=l([e,R]),[B,V]=(0,b.useState)(()=>S(N??P)),H=N===void 0?B:S(N),U=E&&H>0&&!w&&!T,W=M!==void 0&&H>M,G=(0,b.useMemo)(()=>typeof y==`object`?{"--textarea-max-height":y.maxRows?`calc(1.5em * ${y.maxRows})`:void 0,"--textarea-min-rows":y.minRows}:{},[y]);return(0,x.jsxs)(`div`,{"data-disabled":w?``:void 0,"data-variant":L,...r({shadow:v}),...c([..._({shadow:v,variant:L}),f.textarea,j&&f.textareaWithCount],i(g(),n),{...G,...s}),children:[(0,x.jsx)(m,{disabled:w,...c([f.input,f.textareaControl,y&&f.textareaAutoSize,C&&f.textareaResize],i(g(`input`),a?.input),o?.input),render:(0,x.jsx)(`textarea`,{defaultValue:P,maxLength:M,readOnly:T,ref:z,value:N,onChange:e=>{V(S(e.currentTarget.value)),A?.(e)},onKeyDown:e=>{p(e)&&O?.(e),k?.(e)},...F})}),U&&(0,x.jsx)(h,{className:g(`clear`),xstyle:f.textareaClear,onClear:()=>{d(R.current),D?.()}}),j&&(0,x.jsx)(`span`,{"data-over":W?``:void 0,...c(f.count,g(`count`)),children:M===void 0?H:`${H} / ${M}`})]})});C.displayName=`TextArea`;var w=Object.assign(C,{formBinding:{emptyValue:``}}),T=e=>e.blockIds??[e.blockId],E=()=>({version:1,threads:[]}),D=e=>typeof e==`object`&&!!e;function O(e){if(e.status===`resolved`)return null;let t=e.messages.filter(e=>!e.deleted).at(-1);return t?t.author===`human`?`agent`:`human`:null}var k=e=>e.isComposing||e.keyCode===229,A=20;function j({human:e,initial:t,name:r,src:i}){let[a,o]=(0,b.useState)(null),s=!e&&r?v(r):void 0;if(s){let e=y[s];return(0,x.jsx)(e.Avatar,{shape:`circle`,size:A,style:{flexShrink:0}})}return i&&a!==i?(0,x.jsx)(`img`,{alt:``,height:A,src:i,width:A,onError:()=>o(i),className:`xw4jnvo x1qx5ct2 x2lah0s x16rqkct xl1xv1r`}):(0,x.jsx)(`span`,{...{0:{className:`xw4jnvo x1qx5ct2 x2lah0s x16rqkct xrvj5dj x1ku5rj1 x6l8oc8 x1k6wstc xhbn7t3`},1:{className:`xw4jnvo x1qx5ct2 x2lah0s x16rqkct xrvj5dj x1ku5rj1 x6l8oc8 x1k6wstc xqlfmzi`}}[!!e|0],children:t??(e?[...n(`common.you`)][0]:`A`)})}var M={minHeight:44,padding:0,paddingInlineEnd:36,fontSize:`inherit`,lineHeight:1.6};function N({placeholder:e,initial:t=``,autoFocus:r,focusKey:i,onSubmit:a,onCancel:s,onChange:c}){let[l,d]=(0,b.useState)(t),[f,p]=(0,b.useState)(!1),m=(0,b.useRef)(null);(0,b.useEffect)(()=>{i&&m.current?.focus({preventScroll:!0})},[i]);let h=e=>{d(e),c?.(e)},g=()=>{let e=l.trim();if(!e)return;let t=a(e);h(``),p(!1),t?.then(t=>{t||(h(e),p(!0))})};return(0,x.jsxs)(`div`,{className:`x1n2onr6 x1nn3v0j xqin4a2 xsag5q8 xfifm61 xf2x79s`,onClick:e=>e.stopPropagation(),children:[f?(0,x.jsx)(`div`,{className:`xzueoph x7zghnd xqfszdh x1j6dyjg`,children:n(`document.unsent`)}):null,(0,x.jsx)(w,{autoFocus:r,autoSize:{minRows:1,maxRows:12},placeholder:e,ref:m,style:M,value:l,variant:`borderless`,onChange:e=>h(e.target.value),onKeyDown:e=>{e.key===`Enter`&&(e.metaKey||e.ctrlKey)&&g(),e.key===`Escape`&&!k(e.nativeEvent)&&s?.()}}),(0,x.jsx)(o,{"aria-label":n(`common.send`),disabled:!l.trim(),icon:(0,x.jsx)(u,{size:15,strokeWidth:2.4}),shape:`circle`,size:`small`,title:n(`common.sendShortcut`),type:`primary`,onClick:g,className:`x10l6tqk x131sewu x1jn9clo`})]})}var P={working:`comments.agentWorking`,approval:`comments.agentNeedsApproval`,seen:`comments.agentSeen`};export{T as a,O as c,k as i,w as l,N as n,E as o,j as r,D as s,P as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./rolldown-runtime-XKyaHtl9.js";import{a as t}from"./ref-
|
|
1
|
+
import{n as e}from"./rolldown-runtime-XKyaHtl9.js";import{a as t}from"./ref-CG33owdM.js";import{r as n}from"./index.js";import{t as r}from"./api-DnU71xnS.js";var i=e({localSplitHost:()=>o}),a=async(e,t)=>{let n=await fetch(e,{cache:`no-store`,...t}).catch(()=>null);return n?.ok?await n.json().catch(()=>null):null},o={path:(e,t)=>`/${e}/${t}`,refId:e=>t(e)||void 0,frameSrc:(e,t)=>r(`/embed/${e}/${t}`),aloneHref:(e,t)=>r(`/${e}/${t}`),carry:e=>r(e),async loadLinks(e,t=`artboard`){let n=await a(r(`/api/artifacts/${t}/${e}`));if(!n)return null;let i=n.canvas;return{backlinks:n.backlinks??null,groups:Object.keys(i?.groups??{})}},onArtboardChange:(e,t,r=`artboard`)=>n(n=>{n.type===`change`&&n.artifact===`${r}/${e}`&&t()})};export{i as n,o as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{w as t}from"./route-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{w as t}from"./route-CkVEiakc.js";import{t as n}from"./react-DlmbjZJV.js";import{B as r,F as i,_ as a,l as o,nt as s}from"./mergeRefs-BoWyGCK7.js";import{Bn as c,Bt as l,Dn as u,Ft as d,Rn as f,Rt as p,Vn as m,Vt as h,_n as g,an as _,dn as v,it as y,mn as b,on as x,rn as S,rt as C,tt as w,wn as T,x as E}from"./useLayerZIndex-t4BgGwYi.js";import{Tt as D}from"./MotionConfigContext-B3czw3wn.js";var O={name:`chevron-down`,size:24,node:[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]};O.node;var k=D(O),A={name:`chevron-up`,size:24,node:[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]};A.node;var j=D(A),M=e(n(),1),N=E();function P(e){let t=M.useCallback(t=>e===void 0?s:e.subscribeStore(t),[e]),n=M.useCallback(()=>e===void 0?void 0:e.store,[e]);return(0,N.useSyncExternalStore)(t,n,()=>e?.serverStore)}var F=g&&b;function I(e,t={}){let{enabled:n=!0,delay:a}=t,{events:s,dataRef:g}=e.context,v=M.useRef(!1),y=M.useRef(null),b=M.useRef(!0),C=o();M.useEffect(()=>{let t=e.select(`domReferenceElement`);if(!n)return;let r=f(t);function i(){let t=e.select(`domReferenceElement`);!e.select(`open`)&&m(t)&&t===S(u(t))&&(v.current=!0,y.current=t)}function a(){b.current=!0}function o(){b.current=!1}return d(T(r,`blur`,i),F&&T(r,`keydown`,a,!0),F&&T(r,`pointerdown`,o,!0))},[e,n]),M.useEffect(()=>{if(!n)return;function t(t){if(t.reason===`trigger-press`||t.reason===`escape-key`){let t=e.select(`domReferenceElement`);c(t)&&(y.current=t,v.current=!0)}}return s.on(`openchange`,t),()=>{s.off(`openchange`,t)}},[s,n,e]);let E=M.useMemo(()=>{function t(){v.current=!1,y.current=null}return{onMouseLeave(){t()},onFocus(n){let o=n.currentTarget;if(v.current){if(y.current===o)return;t()}let s=x(n.nativeEvent);if(c(s)){if(F&&!n.relatedTarget){if(!b.current&&!l(s))return}else if(!h(s))return}let u=p(n.relatedTarget,e.context.triggerElements),{nativeEvent:d,currentTarget:f}=n;e.select(`open`)&&u||!a?e.setOpen(!0,r(i,d,f)):C.start(a,()=>{v.current||e.setOpen(!0,r(i,d,f))})},onBlur(n){t();let a=n.relatedTarget,o=n.nativeEvent,s=c(a)&&a.hasAttribute(w(`focus-guard`))&&a.getAttribute(`data-type`)===`outside`;C.start(0,()=>{let t=e.select(`domReferenceElement`),n=S(u(t));!a&&n===t||_(g.current.floatingContext?.refs.floating.current,n)||_(t,n)||s||p(a??n,e.context.triggerElements)||e.setOpen(!1,r(i,o))})}}},[g,a,e,C]);return M.useMemo(()=>n?{reference:E,trigger:E}:{},[n,E])}var L={A:!1,ActionIcon:!1,ActionIconGroup:!1,Alert:!1,Avatar:!1,AvatarGroup:!1,BaseActionIcon:!0,BaseButton:!0,Block:!1,BottomGradientButton:!0,Burger:!1,Button:!0,Center:!1,Checkbox:!1,CheckboxGroup:!1,Collapse:!1,ColorSwatches:!1,CopyButton:!1,DownloadButton:!1,EditableText:!1,Empty:!1,FileTypeIcon:!1,Flexbox:!1,FluentEmoji:!1,GradientButton:!0,Highlighter:!1,Hotkey:!1,Icon:!1,Image:!1,Img:!1,Input:!1,InputNumber:!1,InputPassword:!1,List:!1,ListItem:!1,Select:!1,Switch:!1,Markdown:!1,MaterialFileTypeIcon:!1,Segmented:!1,Skeleton:!1,SkeletonAvatar:!1,SkeletonBlock:!1,SkeletonButton:!1,SkeletonParagraph:!1,SkeletonTags:!1,SkeletonText:!1,SkeletonTitle:!1,Snippet:!1,Tag:!1,Text:!1,TextArea:!1,ThemeSwitch:!1,Video:!1};function R(e){let t=e.type;if(typeof t!=`string`){if(typeof t==`function`)return t.displayName||t.name;if(typeof t==`object`&&t)return t.displayName||t.render?.displayName||t.render?.name||t.type?.displayName||t.type?.name}}function z({children:e,nativeButton:t,triggerNativeButton:n}){let r=(0,M.useMemo)(()=>(0,M.isValidElement)(e)?typeof e.type==`string`&&e.type===`button`:!1,[e]);return{isNativeButtonTriggerElement:r,resolvedNativeButton:(0,M.useMemo)(()=>{if(t!==void 0)return t;if(n!==void 0)return n;if(r)return!0;if(!(0,M.isValidElement)(e))return;if(typeof e.type==`string`||e.props?.href!==void 0)return!1;let i=R(e);return i&&i in L?L[i]:!1},[e,r,t,n])}}var B=Number.parseInt(M.version,10)>=19,V=e=>{if((0,M.isValidElement)(e))return B?e.props?.ref:e.ref},H=(0,M.createContext)(null),U=()=>(0,M.use)(H),W=H.Provider,G={align:`center`,side:`top`},K={align:`start`,side:`top`},q={align:`end`,side:`top`},J={align:`center`,side:`bottom`},Y={bottom:J,bottomCenter:J,bottomLeft:{align:`start`,side:`bottom`},bottomRight:{align:`end`,side:`bottom`},left:{align:`center`,side:`left`},leftBottom:{align:`end`,side:`left`},leftTop:{align:`start`,side:`left`},right:{align:`center`,side:`right`},rightBottom:{align:`end`,side:`right`},rightTop:{align:`start`,side:`right`},top:G,topCenter:G,topLeft:K,topRight:q},X=5;function Z(e,t){let n=Q(t);return e.clientX>=n.left-X&&e.clientX<=n.right+X&&e.clientY>=n.top-X&&e.clientY<=n.bottom+X}function Q(e){let t=e.getBoundingClientRect(),n=f(e);if(v)return t;let r=n.getComputedStyle(e,`::before`),i=n.getComputedStyle(e,`::after`);if(r.content===`none`&&i.content===`none`)return t;let a=parseFloat(r.width)||0,o=parseFloat(r.height)||0,s=parseFloat(i.width)||0,c=parseFloat(i.height)||0,l=Math.max(t.width,a,s),u=Math.max(t.height,o,c),d=l-t.width,p=u-t.height;return{left:t.left-d/2,right:t.right+d/2,top:t.top-p/2,bottom:t.bottom+p/2}}var $=e(t(),1);function ee(e,t){function n(n,i,o){let s=n.currentTarget;$.flushSync(()=>{e.setOpen(!1,r(a,n.nativeEvent,s))}),C(s.isConnected?s:t.current,i,o)?.focus()}function i(t){n(t,-1,e.select(`positionerElement`))}function o(t){let r=e.select(`positionerElement`);r&&y(t,r)?e.context.beforeContentFocusGuardRef.current?.focus():n(t,1,r)}return{handlePreFocusGuardFocus:i,handleFocusTargetFocus:o}}function te(e){let t=new Set((Array.isArray(e)?e:[e]).flatMap(e=>e===`both`?[`hover`,`click`]:[e]));return{openOnClick:t.has(`click`),openOnHover:t.has(`hover`)}}export{W as a,z as c,j as d,k as f,Y as i,I as l,ee as n,U as o,Z as r,V as s,te as t,P as u};
|
package/dist/viewer/preview.html
CHANGED
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
<link rel="modulepreload" crossorigin href="/react-DlmbjZJV.js">
|
|
14
14
|
<link rel="modulepreload" crossorigin href="/jsx-runtime-LKYXHABd.js">
|
|
15
15
|
<link rel="modulepreload" crossorigin href="/types-DAs-xbqr.js">
|
|
16
|
-
<link rel="modulepreload" crossorigin href="/route-
|
|
17
|
-
<link rel="modulepreload" crossorigin href="/api-
|
|
18
|
-
<link rel="modulepreload" crossorigin href="/view-
|
|
19
|
-
<link rel="modulepreload" crossorigin href="/useTranslation-
|
|
20
|
-
<link rel="modulepreload" crossorigin href="/PreviewLayout-
|
|
16
|
+
<link rel="modulepreload" crossorigin href="/route-CkVEiakc.js">
|
|
17
|
+
<link rel="modulepreload" crossorigin href="/api-DnU71xnS.js">
|
|
18
|
+
<link rel="modulepreload" crossorigin href="/view-BnFGOXLi.js">
|
|
19
|
+
<link rel="modulepreload" crossorigin href="/useTranslation-ByuUeDLl.js">
|
|
20
|
+
<link rel="modulepreload" crossorigin href="/PreviewLayout-h2V6IEPR.js">
|
|
21
21
|
<link rel="stylesheet" crossorigin href="/index2.css">
|
|
22
22
|
</head>
|
|
23
23
|
<body>
|
package/dist/viewer/preview.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,f as t,n,p as r,v as i,y as a}from"./route-
|
|
1
|
+
import{_ as e,f as t,n,p as r,v as i,y as a}from"./route-CkVEiakc.js";import{r as o,t as s}from"./PreviewLayout-h2V6IEPR.js";import{t as c}from"./jsx-runtime-LKYXHABd.js";var l=i(),u=c();document.documentElement.lang=a[r.language];function d(){e();let i=n(location.pathname);return i.kind===`preview`?(0,u.jsx)(s,{id:document.documentElement.dataset.ryugiArtifactId??i.id,type:i.type}):(0,u.jsx)(`div`,{...t(o.message),children:r.t(`preview.unavailable`)})}(0,l.createRoot)(document.getElementById(`root`)).render((0,u.jsx)(d,{}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{t}from"./react-DlmbjZJV.js";import{m as n,v as r,w as i}from"./route-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{t}from"./react-DlmbjZJV.js";import{m as n,v as r,w as i}from"./route-CkVEiakc.js";import"./shims-s-YVfIlz.js";import{C as a,D as o,T as s,a as c,b as l,gt as u,h as d,k as f,l as p,m,p as h,s as g,u as _,vt as v,w as y,y as b}from"./editor-2avuG1le.js";import{n as x,t as S}from"./dist-jEPSRJix.js";import{R as C}from"./WhiteboardEditor-cZ32fLqJ-DHGUDfT6.js";import{a as w,t as T}from"./ref-CG33owdM.js";import{t as E}from"./katex-DuZJ-tFh.js";import{c as D,s as O,t as k}from"./channel-BzQy5yb9.js";import{t as A}from"./jsx-runtime-LKYXHABd.js";var j=e(t(),1),M=e(i(),1),N=r(),P=`@page{size:A4;margin:16mm}[data-document-print-root]{color:#242424;width:178mm;font-family:var(--lobe-font-family,system-ui, sans-serif);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;pointer-events:none;background:#fff;font-size:14px;line-height:1.75;position:absolute;top:0;left:-100000px}[data-document-print-root] .rich-content{max-width:none;padding:0}.document-print-image{margin:16px 0}.document-print-image img,.document-print-diagram{max-width:100%;height:auto;margin-inline:auto;display:block}.document-print-image figcaption{color:#666;text-align:center;margin-top:8px;font-size:12px}.document-print-state{color:#555;font-size:12px}.document-print-pending{color:#666;border-inline-start:2px solid #aaa;padding-inline-start:12px}.document-print-reference{color:#245d88;text-decoration:underline}@media print{html[data-document-printing],html[data-document-printing] body{background:#fff!important;height:auto!important;margin:0!important;overflow:visible!important}html[data-document-printing] body>:not([data-document-print-root]){display:none!important}html[data-document-printing] [data-document-print-root]{pointer-events:auto;width:auto;position:static}[data-document-print-root] h1,[data-document-print-root] h2,[data-document-print-root] h3{break-after:avoid}[data-document-print-root] img,[data-document-print-root] svg{object-fit:contain;max-width:100%;max-height:250mm}[data-document-print-root] pre,[data-document-print-root] pre code{white-space:pre-wrap!important;overflow-wrap:anywhere!important}[data-document-print-root] [data-chrome]{overflow:visible!important}[data-document-print-root] .rich-table-scrollable-wrapper{width:100%!important;max-width:100%!important;overflow:visible!important}[data-document-print-root] table{table-layout:fixed!important;width:100%!important;min-width:0!important}[data-document-print-root] th,[data-document-print-root] td{overflow-wrap:anywhere;white-space:normal!important;min-width:0!important}[data-document-print-root] tr{break-inside:avoid}[data-document-print-root] thead{display:table-header-group}[data-document-print-root] .rich-spoiler{color:inherit!important;filter:none!important;background:0 0!important}[data-document-print-root] .rich-heading-anchor,[data-document-print-root] figure>div>button[aria-pressed]{display:none!important}}`,F=A(),I=(0,j.createContext)(null),L=[o,s,...S,g,c,f,h],R=e=>(0,F.jsx)(C,{...e,collapsible:!1,showCopyButton:!1});function z({equation:e,displayMode:t}){let n=(0,j.useMemo)(()=>E.renderToString(e,{displayMode:t,throwOnError:!1}),[e,t]);return(0,F.jsx)(`span`,{dangerouslySetInnerHTML:{__html:n}})}function B({src:e,altText:t,caption:n,width:r,height:i,fixedWidth:a,displayWidth:o}){return(0,F.jsxs)(`figure`,{className:`document-print-image`,children:[(0,F.jsx)(`img`,{alt:t,height:i,loading:`eager`,src:e,width:a??o??r}),n?(0,F.jsx)(`figcaption`,{children:n}):null]})}function V({content:e}){let t=b(e,`light`);return t?(0,F.jsx)(`img`,{alt:n(`mermaid.diagram`),className:`document-print-diagram`,height:t.height,loading:`eager`,src:t.src,width:t.width}):(0,F.jsx)(`p`,{"data-print-error":n(`documentExport.diagramFailed`),children:n(`documentExport.diagramFailed`)})}function H({node:e}){let t=(0,j.useContext)(I),r=u([v(e,``)],t.comments.threads)[0],i=r.text??r.options.find(e=>e.value===r.choice)?.label,a=r.state===`settled`?`askSettled`:r.state===`submitted`?`askSubmitted`:r.byRecommendation?`askRecommended`:i?`askDraft`:`askUnanswered`;return(0,F.jsxs)(`span`,{className:`document-print-state`,children:[n(`documentExport.${a}`),i?`: ${i}`:``,r.note?` · ${r.note}`:``]})}function U({node:e}){let t=(0,j.useContext)(I),n=D(e,t),r=e.label??[w(e),e.group??e.board??e.frame??e.page].filter(Boolean).join(` · `);return n?(0,F.jsx)(`a`,{className:`document-print-reference`,href:n,children:r}):(0,F.jsx)(`span`,{className:`document-print-reference`,children:r})}function W({node:e}){let t=(0,j.useContext)(I).embeds?.[O(e)],n=t&&`scene`in t?d(t.scene.elements,e.frame):null,r=[w(e),e.frame??e.page].filter(Boolean).join(` · `);return!t||!(`scene`in t)||!n||!(`box`in n)?(0,F.jsx)(`p`,{className:`document-print-reference`,"data-print-embed":`missing`,children:r}):(0,F.jsx)(`figure`,{className:`document-print-whiteboard`,style:{aspectRatio:`${n.box.w} / ${n.box.h}`,maxHeight:640,margin:0},children:(0,F.jsx)(m,{light:!0,files:t.scene.files??{},label:r,view:n})})}function G({node:e}){let t=(0,j.useContext)(I),[r,i]=(0,j.useState)(!1),[a,o]=(0,j.useState)(null),s=(0,j.useMemo)(()=>({artifact:`document-print`,contentBase:t.contentBase,channel:k(),send:e=>{let t=e;t.type===`loaded`&&i(!0),t.type===`runtime-error`&&o(t.message??n(`documentExport.blockFailed`))}}),[t.contentBase]);return(0,F.jsx)(`div`,{"data-print-error":a??void 0,"data-print-loading":r?void 0:``,children:(0,F.jsx)(_,{value:s,children:(0,F.jsx)(p,{componentProps:e.props,initialHeight:e.initialHeight,url:e.url})})})}var K={ask:e=>(0,F.jsx)(H,{node:e}),ref:e=>T(e)?(0,F.jsx)(W,{node:e}):(0,F.jsx)(U,{node:e}),pending:e=>(0,F.jsxs)(`p`,{className:`document-print-pending`,children:[n(`documentExport.inProgress`),`:`,` `,e.intent||n(`document.pending`)]}),dynamic:e=>(0,F.jsx)(G,{node:e})},q={Alert:a,CodeBlock:R,Image:B,KaTeX:z,Mermaid:V,Whiteboard:y};function J({snapshot:e}){return(0,F.jsx)(I,{value:e,children:(0,F.jsx)(l,{children:(0,F.jsx)(x,{builtinNodeOverrides:K,extraNodes:L,rendererConfig:q,theme:`light`,value:e.state,variant:`article`})})})}async function Y(e,{signal:t,timeoutMs:n=2e4}={}){e.querySelectorAll(`details`).forEach(e=>{e.open=!0}),e.querySelectorAll(`img[src]`).forEach(e=>{e.loading=`eager`}),e.querySelectorAll(`table`).forEach(e=>{let t=e.querySelector(`tr`);!e.tHead&&t?.cells.length&&[...t.cells].every(e=>e.tagName===`TH`)&&e.createTHead().append(t)}),await new Promise((r,i)=>{let a=Date.now()+n,o=Date.now(),s=!document.fonts,c=null,l=0,u,d=new WeakSet,f=new MutationObserver(()=>{o=Date.now()});f.observe(e,{childList:!0,subtree:!0,attributes:!0,characterData:!0});let p=e=>{clearTimeout(u),f.disconnect(),t?.removeEventListener(`abort`,m),e?i(e):r()},m=()=>p(new DOMException(`Print cancelled`,`AbortError`));if(t?.addEventListener(`abort`,m,{once:!0}),t?.aborted){m();return}document.fonts&&document.fonts.ready.then(()=>{s=!0},()=>{c=Error(`A document font failed to load`)});let h=()=>{if(t?.aborted){m();return}let n=e.querySelector(`[data-print-error], [role="alert"]`);if(n){p(Error(n.dataset.printError||n.textContent||`A document block failed to render`));return}let r=!s||document.fonts?.status===`loading`||e.querySelector(`[data-print-loading], [aria-busy="true"]`)!==null;e.querySelectorAll(`details:not([open])`).forEach(e=>{e.open=!0});for(let t of e.querySelectorAll(`img[src]`))if(t.getAttribute(`src`)){if(t.loading!==`eager`&&(t.loading=`eager`),t.complete&&t.naturalWidth===0){p(Error(`Document image failed to load: ${t.alt||`image`}`));return}t.complete?!d.has(t)&&typeof t.decode==`function`&&(d.add(t),l++,t.decode().then(()=>{l--},()=>{l--,c=Error(`A document image failed to decode`)})):r=!0}c?p(c):!r&&l===0&&Date.now()-o>=100?p():Date.now()>=a?p(Error(`Document resources timed out`)):u=setTimeout(h,25)};h()})}var X=class extends j.Component{state={error:null};static getDerivedStateFromError(e){return{error:e}}render(){return this.state.error?(0,F.jsx)(`p`,{"data-print-error":this.state.error.message,children:this.state.error.message}):this.props.children}};async function Z(e,{signal:t,timeoutMs:n}={}){if(document.querySelector(`[data-document-print-root]`))throw Error(`A document export is already open`);if(t?.aborted)throw new DOMException(`Print cancelled`,`AbortError`);let r=document.createElement(`div`);r.dataset.documentPrintRoot=``,r.dataset.theme=`light`,r.setAttribute(`aria-hidden`,`true`);let i=document.createElement(`style`);i.nonce=document.querySelector(`style[nonce]`)?.nonce??``,i.textContent=P,document.head.append(i),document.body.append(r);let a=(0,N.createRoot)(r),o=document.title;try{(0,M.flushSync)(()=>a.render((0,F.jsx)(X,{children:(0,F.jsx)(J,{snapshot:e})}))),await Y(r,{signal:t,timeoutMs:n}),r.removeAttribute(`aria-hidden`),document.documentElement.dataset.documentPrinting=``,document.title=e.title,await new Promise((e,n)=>{let r=()=>{window.removeEventListener(`afterprint`,i),t?.removeEventListener(`abort`,a)},i=()=>{r(),e()},a=()=>{r(),n(new DOMException(`Print cancelled`,`AbortError`))};if(window.addEventListener(`afterprint`,i,{once:!0}),t?.addEventListener(`abort`,a,{once:!0}),t?.aborted)a();else try{window.print()}catch(e){r(),n(e)}})}finally{a.unmount(),r.remove(),i.remove(),delete document.documentElement.dataset.documentPrinting,document.title===e.title&&(document.title=o)}}export{Z as printDocument};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as e}from"./route-
|
|
1
|
+
import{m as e}from"./route-CkVEiakc.js";import{a as t}from"./labels-6JqNXprT.js";var n=(e,t)=>e.kind===`node`?t.kind===`node`&&e.id===t.id:t.kind===`edge`&&e.from===t.from&&e.to===t.to&&e.index===t.index;function r(e,t,r){let i=e.find(e=>n(e.target,t));return!i||t.kind===`edge`&&r&&i.label!==r?null:i}function i(e,t){return e.kind===`node`?t||e.id:`${e.from} → ${e.to}${t?` · ${t}`:``}`}function a(n){if(n.diagram)return i(n.diagram,n.quote);if(n.quote)return n.quote;let r=t(n).length;return r>1?e(`document.wholeBlocks`,{count:r}):e(`document.wholeBlock`)}function o(e,t,n){if(!t)return`block`;let r=n!==void 0&&e.slice(n,n+t.length)===t?n:e.indexOf(t);return r===-1?`block`:{start:r,end:r+t.length}}function s(e,t){return new Set(e.filter(e=>e.status===`open`||e.id===t).map(e=>e.id))}var c=`ryugi:read-resolutions`,l=500;function u(){try{let e=JSON.parse(globalThis.localStorage?.getItem(c)??`null`);return e&&typeof e==`object`?e:{}}catch{return{}}}var d=e=>e.status===`resolved`&&e.statusBy===`agent`&&u()[e.id]!==e.statusAt;function f(e){let t=u();delete t[e.id],t[e.id]=e.statusAt;let n=Object.keys(t);for(let e of n.slice(0,Math.max(0,n.length-l)))delete t[e];try{globalThis.localStorage?.setItem(c,JSON.stringify(t))}catch{return}}export{s as a,o as i,f as n,r as o,a as r,i as s,d as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e,s as t}from"./url-
|
|
1
|
+
import{o as e,s as t}from"./url-64-774qp.js";var n=e=>e.type===`ref`,r=e=>e.embed===`true`,i=t=>e.filter(e=>t[e]!==void 0),a=n=>{let r={};for(let t of e)n[t]!==void 0&&(r[t]=n[t]);n.to&&(r.to=n.to);for(let e of t)n[e]&&(r[e]=n[e]);return n.embed!==void 0&&(r.embed=n.embed),n.label&&(r.label=n.label),r},o=e=>i(e)[0]??`artboard`,s=e=>e[o(e)]??``,c=e=>e.frame??(e.page?`page:${e.page}`:void 0)??e.group??e.board??e.slide??e.block??e.shot??``;function l(e){let t=[],r=(e,i)=>{n(e)&&t.push({blockId:i,...a(e)});for(let t of e.children??[])r(t,i)};for(let t of e.root.children)r(t,t.$?.blockId??``);return t}export{s as a,i,c as n,l as o,o as r,r as t};
|