democut 1.0.196 → 1.0.198
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.js +99 -58
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -6916,7 +6916,7 @@ import { realpathSync } from "fs";
|
|
|
6916
6916
|
import { fileURLToPath } from "url";
|
|
6917
6917
|
|
|
6918
6918
|
// src/version.ts
|
|
6919
|
-
var VERSION = "1.0.
|
|
6919
|
+
var VERSION = "1.0.198";
|
|
6920
6920
|
|
|
6921
6921
|
// src/device-flow.ts
|
|
6922
6922
|
var DeviceFlowError = class extends Error {
|
|
@@ -7625,7 +7625,7 @@ var GENERATED_TOOLS = [
|
|
|
7625
7625
|
},
|
|
7626
7626
|
"annotations": {
|
|
7627
7627
|
"readOnlyHint": false,
|
|
7628
|
-
"destructiveHint":
|
|
7628
|
+
"destructiveHint": true,
|
|
7629
7629
|
"idempotentHint": true,
|
|
7630
7630
|
"openWorldHint": false
|
|
7631
7631
|
}
|
|
@@ -7974,7 +7974,7 @@ var GENERATED_TOOLS = [
|
|
|
7974
7974
|
"readOnlyHint": false,
|
|
7975
7975
|
"destructiveHint": false,
|
|
7976
7976
|
"idempotentHint": false,
|
|
7977
|
-
"openWorldHint":
|
|
7977
|
+
"openWorldHint": true
|
|
7978
7978
|
}
|
|
7979
7979
|
},
|
|
7980
7980
|
{
|
|
@@ -8049,9 +8049,9 @@ var GENERATED_TOOLS = [
|
|
|
8049
8049
|
]
|
|
8050
8050
|
},
|
|
8051
8051
|
"annotations": {
|
|
8052
|
-
"readOnlyHint":
|
|
8052
|
+
"readOnlyHint": true,
|
|
8053
8053
|
"destructiveHint": false,
|
|
8054
|
-
"idempotentHint":
|
|
8054
|
+
"idempotentHint": true,
|
|
8055
8055
|
"openWorldHint": false
|
|
8056
8056
|
}
|
|
8057
8057
|
},
|
|
@@ -8113,9 +8113,9 @@ var GENERATED_TOOLS = [
|
|
|
8113
8113
|
},
|
|
8114
8114
|
"annotations": {
|
|
8115
8115
|
"readOnlyHint": false,
|
|
8116
|
-
"destructiveHint":
|
|
8116
|
+
"destructiveHint": true,
|
|
8117
8117
|
"idempotentHint": false,
|
|
8118
|
-
"openWorldHint":
|
|
8118
|
+
"openWorldHint": true
|
|
8119
8119
|
}
|
|
8120
8120
|
},
|
|
8121
8121
|
{
|
|
@@ -8481,7 +8481,7 @@ var GENERATED_TOOLS = [
|
|
|
8481
8481
|
},
|
|
8482
8482
|
"annotations": {
|
|
8483
8483
|
"readOnlyHint": false,
|
|
8484
|
-
"destructiveHint":
|
|
8484
|
+
"destructiveHint": true,
|
|
8485
8485
|
"idempotentHint": false,
|
|
8486
8486
|
"openWorldHint": false
|
|
8487
8487
|
}
|
|
@@ -8956,7 +8956,7 @@ var GENERATED_TOOLS = [
|
|
|
8956
8956
|
},
|
|
8957
8957
|
"annotations": {
|
|
8958
8958
|
"readOnlyHint": false,
|
|
8959
|
-
"destructiveHint":
|
|
8959
|
+
"destructiveHint": true,
|
|
8960
8960
|
"idempotentHint": true,
|
|
8961
8961
|
"openWorldHint": false
|
|
8962
8962
|
}
|
|
@@ -9097,9 +9097,9 @@ var GENERATED_TOOLS = [
|
|
|
9097
9097
|
]
|
|
9098
9098
|
},
|
|
9099
9099
|
"annotations": {
|
|
9100
|
-
"readOnlyHint":
|
|
9100
|
+
"readOnlyHint": true,
|
|
9101
9101
|
"destructiveHint": false,
|
|
9102
|
-
"idempotentHint":
|
|
9102
|
+
"idempotentHint": true,
|
|
9103
9103
|
"openWorldHint": false
|
|
9104
9104
|
}
|
|
9105
9105
|
},
|
|
@@ -9185,7 +9185,7 @@ var GENERATED_TOOLS = [
|
|
|
9185
9185
|
},
|
|
9186
9186
|
"annotations": {
|
|
9187
9187
|
"readOnlyHint": false,
|
|
9188
|
-
"destructiveHint":
|
|
9188
|
+
"destructiveHint": true,
|
|
9189
9189
|
"idempotentHint": false,
|
|
9190
9190
|
"openWorldHint": false
|
|
9191
9191
|
}
|
|
@@ -9873,7 +9873,7 @@ var GENERATED_TOOLS = [
|
|
|
9873
9873
|
},
|
|
9874
9874
|
"annotations": {
|
|
9875
9875
|
"readOnlyHint": false,
|
|
9876
|
-
"destructiveHint":
|
|
9876
|
+
"destructiveHint": true,
|
|
9877
9877
|
"idempotentHint": true,
|
|
9878
9878
|
"openWorldHint": false
|
|
9879
9879
|
}
|
|
@@ -10052,7 +10052,7 @@ var GENERATED_TOOLS = [
|
|
|
10052
10052
|
},
|
|
10053
10053
|
"annotations": {
|
|
10054
10054
|
"readOnlyHint": false,
|
|
10055
|
-
"destructiveHint":
|
|
10055
|
+
"destructiveHint": true,
|
|
10056
10056
|
"idempotentHint": true,
|
|
10057
10057
|
"openWorldHint": false
|
|
10058
10058
|
}
|
|
@@ -10224,9 +10224,9 @@ var GENERATED_TOOLS = [
|
|
|
10224
10224
|
]
|
|
10225
10225
|
},
|
|
10226
10226
|
"annotations": {
|
|
10227
|
-
"readOnlyHint":
|
|
10227
|
+
"readOnlyHint": true,
|
|
10228
10228
|
"destructiveHint": false,
|
|
10229
|
-
"idempotentHint":
|
|
10229
|
+
"idempotentHint": true,
|
|
10230
10230
|
"openWorldHint": false
|
|
10231
10231
|
}
|
|
10232
10232
|
},
|
|
@@ -10314,7 +10314,7 @@ var GENERATED_TOOLS = [
|
|
|
10314
10314
|
},
|
|
10315
10315
|
"annotations": {
|
|
10316
10316
|
"readOnlyHint": false,
|
|
10317
|
-
"destructiveHint":
|
|
10317
|
+
"destructiveHint": true,
|
|
10318
10318
|
"idempotentHint": false,
|
|
10319
10319
|
"openWorldHint": false
|
|
10320
10320
|
}
|
|
@@ -10580,7 +10580,7 @@ var GENERATED_TOOLS = [
|
|
|
10580
10580
|
},
|
|
10581
10581
|
"annotations": {
|
|
10582
10582
|
"readOnlyHint": false,
|
|
10583
|
-
"destructiveHint":
|
|
10583
|
+
"destructiveHint": true,
|
|
10584
10584
|
"idempotentHint": true,
|
|
10585
10585
|
"openWorldHint": false
|
|
10586
10586
|
}
|
|
@@ -11051,7 +11051,7 @@ var GENERATED_TOOLS = [
|
|
|
11051
11051
|
},
|
|
11052
11052
|
"annotations": {
|
|
11053
11053
|
"readOnlyHint": false,
|
|
11054
|
-
"destructiveHint":
|
|
11054
|
+
"destructiveHint": true,
|
|
11055
11055
|
"idempotentHint": true,
|
|
11056
11056
|
"openWorldHint": false
|
|
11057
11057
|
}
|
|
@@ -11165,7 +11165,7 @@ var GENERATED_TOOLS = [
|
|
|
11165
11165
|
},
|
|
11166
11166
|
"annotations": {
|
|
11167
11167
|
"readOnlyHint": false,
|
|
11168
|
-
"destructiveHint":
|
|
11168
|
+
"destructiveHint": true,
|
|
11169
11169
|
"idempotentHint": true,
|
|
11170
11170
|
"openWorldHint": false
|
|
11171
11171
|
}
|
|
@@ -11273,7 +11273,7 @@ var GENERATED_TOOLS = [
|
|
|
11273
11273
|
},
|
|
11274
11274
|
"annotations": {
|
|
11275
11275
|
"readOnlyHint": false,
|
|
11276
|
-
"destructiveHint":
|
|
11276
|
+
"destructiveHint": true,
|
|
11277
11277
|
"idempotentHint": true,
|
|
11278
11278
|
"openWorldHint": false
|
|
11279
11279
|
}
|
|
@@ -11390,7 +11390,7 @@ var GENERATED_TOOLS = [
|
|
|
11390
11390
|
},
|
|
11391
11391
|
"annotations": {
|
|
11392
11392
|
"readOnlyHint": false,
|
|
11393
|
-
"destructiveHint":
|
|
11393
|
+
"destructiveHint": true,
|
|
11394
11394
|
"idempotentHint": true,
|
|
11395
11395
|
"openWorldHint": false
|
|
11396
11396
|
}
|
|
@@ -11666,9 +11666,9 @@ var GENERATED_TOOLS = [
|
|
|
11666
11666
|
]
|
|
11667
11667
|
},
|
|
11668
11668
|
"annotations": {
|
|
11669
|
-
"readOnlyHint":
|
|
11669
|
+
"readOnlyHint": true,
|
|
11670
11670
|
"destructiveHint": false,
|
|
11671
|
-
"idempotentHint":
|
|
11671
|
+
"idempotentHint": true,
|
|
11672
11672
|
"openWorldHint": false
|
|
11673
11673
|
}
|
|
11674
11674
|
},
|
|
@@ -11790,7 +11790,7 @@ var GENERATED_TOOLS = [
|
|
|
11790
11790
|
},
|
|
11791
11791
|
"annotations": {
|
|
11792
11792
|
"readOnlyHint": false,
|
|
11793
|
-
"destructiveHint":
|
|
11793
|
+
"destructiveHint": true,
|
|
11794
11794
|
"idempotentHint": false,
|
|
11795
11795
|
"openWorldHint": false
|
|
11796
11796
|
}
|
|
@@ -11855,9 +11855,9 @@ var GENERATED_TOOLS = [
|
|
|
11855
11855
|
]
|
|
11856
11856
|
},
|
|
11857
11857
|
"annotations": {
|
|
11858
|
-
"readOnlyHint":
|
|
11858
|
+
"readOnlyHint": true,
|
|
11859
11859
|
"destructiveHint": false,
|
|
11860
|
-
"idempotentHint":
|
|
11860
|
+
"idempotentHint": true,
|
|
11861
11861
|
"openWorldHint": false
|
|
11862
11862
|
}
|
|
11863
11863
|
},
|
|
@@ -11920,7 +11920,7 @@ var GENERATED_TOOLS = [
|
|
|
11920
11920
|
},
|
|
11921
11921
|
"annotations": {
|
|
11922
11922
|
"readOnlyHint": false,
|
|
11923
|
-
"destructiveHint":
|
|
11923
|
+
"destructiveHint": true,
|
|
11924
11924
|
"idempotentHint": true,
|
|
11925
11925
|
"openWorldHint": false
|
|
11926
11926
|
}
|
|
@@ -11986,7 +11986,7 @@ var GENERATED_TOOLS = [
|
|
|
11986
11986
|
},
|
|
11987
11987
|
"annotations": {
|
|
11988
11988
|
"readOnlyHint": false,
|
|
11989
|
-
"destructiveHint":
|
|
11989
|
+
"destructiveHint": true,
|
|
11990
11990
|
"idempotentHint": true,
|
|
11991
11991
|
"openWorldHint": false
|
|
11992
11992
|
}
|
|
@@ -12047,7 +12047,7 @@ var GENERATED_TOOLS = [
|
|
|
12047
12047
|
},
|
|
12048
12048
|
"annotations": {
|
|
12049
12049
|
"readOnlyHint": false,
|
|
12050
|
-
"destructiveHint":
|
|
12050
|
+
"destructiveHint": true,
|
|
12051
12051
|
"idempotentHint": true,
|
|
12052
12052
|
"openWorldHint": false
|
|
12053
12053
|
}
|
|
@@ -12118,7 +12118,7 @@ var GENERATED_TOOLS = [
|
|
|
12118
12118
|
},
|
|
12119
12119
|
"annotations": {
|
|
12120
12120
|
"readOnlyHint": false,
|
|
12121
|
-
"destructiveHint":
|
|
12121
|
+
"destructiveHint": true,
|
|
12122
12122
|
"idempotentHint": true,
|
|
12123
12123
|
"openWorldHint": false
|
|
12124
12124
|
}
|
|
@@ -12229,7 +12229,7 @@ var GENERATED_TOOLS = [
|
|
|
12229
12229
|
},
|
|
12230
12230
|
"annotations": {
|
|
12231
12231
|
"readOnlyHint": false,
|
|
12232
|
-
"destructiveHint":
|
|
12232
|
+
"destructiveHint": true,
|
|
12233
12233
|
"idempotentHint": true,
|
|
12234
12234
|
"openWorldHint": false
|
|
12235
12235
|
}
|
|
@@ -12400,10 +12400,10 @@ var GENERATED_TOOLS = [
|
|
|
12400
12400
|
]
|
|
12401
12401
|
},
|
|
12402
12402
|
"annotations": {
|
|
12403
|
-
"readOnlyHint":
|
|
12403
|
+
"readOnlyHint": true,
|
|
12404
12404
|
"destructiveHint": false,
|
|
12405
|
-
"idempotentHint":
|
|
12406
|
-
"openWorldHint":
|
|
12405
|
+
"idempotentHint": true,
|
|
12406
|
+
"openWorldHint": true
|
|
12407
12407
|
}
|
|
12408
12408
|
},
|
|
12409
12409
|
{
|
|
@@ -12461,9 +12461,9 @@ var GENERATED_TOOLS = [
|
|
|
12461
12461
|
},
|
|
12462
12462
|
"annotations": {
|
|
12463
12463
|
"readOnlyHint": false,
|
|
12464
|
-
"destructiveHint":
|
|
12464
|
+
"destructiveHint": true,
|
|
12465
12465
|
"idempotentHint": false,
|
|
12466
|
-
"openWorldHint":
|
|
12466
|
+
"openWorldHint": true
|
|
12467
12467
|
}
|
|
12468
12468
|
},
|
|
12469
12469
|
{
|
|
@@ -12570,7 +12570,7 @@ var GENERATED_TOOLS = [
|
|
|
12570
12570
|
},
|
|
12571
12571
|
"annotations": {
|
|
12572
12572
|
"readOnlyHint": false,
|
|
12573
|
-
"destructiveHint":
|
|
12573
|
+
"destructiveHint": true,
|
|
12574
12574
|
"idempotentHint": false,
|
|
12575
12575
|
"openWorldHint": false
|
|
12576
12576
|
}
|
|
@@ -12647,10 +12647,10 @@ var GENERATED_TOOLS = [
|
|
|
12647
12647
|
]
|
|
12648
12648
|
},
|
|
12649
12649
|
"annotations": {
|
|
12650
|
-
"readOnlyHint":
|
|
12650
|
+
"readOnlyHint": true,
|
|
12651
12651
|
"destructiveHint": false,
|
|
12652
|
-
"idempotentHint":
|
|
12653
|
-
"openWorldHint":
|
|
12652
|
+
"idempotentHint": true,
|
|
12653
|
+
"openWorldHint": true
|
|
12654
12654
|
}
|
|
12655
12655
|
},
|
|
12656
12656
|
{
|
|
@@ -12712,9 +12712,9 @@ var GENERATED_TOOLS = [
|
|
|
12712
12712
|
},
|
|
12713
12713
|
"annotations": {
|
|
12714
12714
|
"readOnlyHint": false,
|
|
12715
|
-
"destructiveHint":
|
|
12715
|
+
"destructiveHint": true,
|
|
12716
12716
|
"idempotentHint": false,
|
|
12717
|
-
"openWorldHint":
|
|
12717
|
+
"openWorldHint": true
|
|
12718
12718
|
}
|
|
12719
12719
|
},
|
|
12720
12720
|
{
|
|
@@ -12810,7 +12810,7 @@ var GENERATED_TOOLS = [
|
|
|
12810
12810
|
"readOnlyHint": true,
|
|
12811
12811
|
"destructiveHint": false,
|
|
12812
12812
|
"idempotentHint": true,
|
|
12813
|
-
"openWorldHint":
|
|
12813
|
+
"openWorldHint": true
|
|
12814
12814
|
}
|
|
12815
12815
|
},
|
|
12816
12816
|
{
|
|
@@ -12877,9 +12877,9 @@ var GENERATED_TOOLS = [
|
|
|
12877
12877
|
]
|
|
12878
12878
|
},
|
|
12879
12879
|
"annotations": {
|
|
12880
|
-
"readOnlyHint":
|
|
12880
|
+
"readOnlyHint": true,
|
|
12881
12881
|
"destructiveHint": false,
|
|
12882
|
-
"idempotentHint":
|
|
12882
|
+
"idempotentHint": true,
|
|
12883
12883
|
"openWorldHint": false
|
|
12884
12884
|
}
|
|
12885
12885
|
},
|
|
@@ -12934,7 +12934,7 @@ var GENERATED_TOOLS = [
|
|
|
12934
12934
|
},
|
|
12935
12935
|
"annotations": {
|
|
12936
12936
|
"readOnlyHint": false,
|
|
12937
|
-
"destructiveHint":
|
|
12937
|
+
"destructiveHint": true,
|
|
12938
12938
|
"idempotentHint": false,
|
|
12939
12939
|
"openWorldHint": false
|
|
12940
12940
|
}
|
|
@@ -13171,7 +13171,7 @@ var GENERATED_TOOLS = [
|
|
|
13171
13171
|
},
|
|
13172
13172
|
"annotations": {
|
|
13173
13173
|
"readOnlyHint": false,
|
|
13174
|
-
"destructiveHint":
|
|
13174
|
+
"destructiveHint": true,
|
|
13175
13175
|
"idempotentHint": false,
|
|
13176
13176
|
"openWorldHint": false
|
|
13177
13177
|
}
|
|
@@ -13247,7 +13247,7 @@ var GENERATED_TOOLS = [
|
|
|
13247
13247
|
},
|
|
13248
13248
|
"annotations": {
|
|
13249
13249
|
"readOnlyHint": false,
|
|
13250
|
-
"destructiveHint":
|
|
13250
|
+
"destructiveHint": true,
|
|
13251
13251
|
"idempotentHint": true,
|
|
13252
13252
|
"openWorldHint": false
|
|
13253
13253
|
}
|
|
@@ -13403,7 +13403,7 @@ var GENERATED_TOOLS = [
|
|
|
13403
13403
|
},
|
|
13404
13404
|
"annotations": {
|
|
13405
13405
|
"readOnlyHint": false,
|
|
13406
|
-
"destructiveHint":
|
|
13406
|
+
"destructiveHint": true,
|
|
13407
13407
|
"idempotentHint": false,
|
|
13408
13408
|
"openWorldHint": false
|
|
13409
13409
|
}
|
|
@@ -13480,7 +13480,7 @@ var GENERATED_TOOLS = [
|
|
|
13480
13480
|
},
|
|
13481
13481
|
"annotations": {
|
|
13482
13482
|
"readOnlyHint": false,
|
|
13483
|
-
"destructiveHint":
|
|
13483
|
+
"destructiveHint": true,
|
|
13484
13484
|
"idempotentHint": true,
|
|
13485
13485
|
"openWorldHint": false
|
|
13486
13486
|
}
|
|
@@ -13532,9 +13532,9 @@ var GENERATED_TOOLS = [
|
|
|
13532
13532
|
},
|
|
13533
13533
|
"annotations": {
|
|
13534
13534
|
"readOnlyHint": false,
|
|
13535
|
-
"destructiveHint":
|
|
13535
|
+
"destructiveHint": true,
|
|
13536
13536
|
"idempotentHint": false,
|
|
13537
|
-
"openWorldHint":
|
|
13537
|
+
"openWorldHint": true
|
|
13538
13538
|
}
|
|
13539
13539
|
},
|
|
13540
13540
|
{
|
|
@@ -13592,9 +13592,9 @@ var GENERATED_TOOLS = [
|
|
|
13592
13592
|
},
|
|
13593
13593
|
"annotations": {
|
|
13594
13594
|
"readOnlyHint": false,
|
|
13595
|
-
"destructiveHint":
|
|
13595
|
+
"destructiveHint": true,
|
|
13596
13596
|
"idempotentHint": false,
|
|
13597
|
-
"openWorldHint":
|
|
13597
|
+
"openWorldHint": true
|
|
13598
13598
|
}
|
|
13599
13599
|
},
|
|
13600
13600
|
{
|
|
@@ -13920,7 +13920,7 @@ var GENERATED_TOOLS = [
|
|
|
13920
13920
|
},
|
|
13921
13921
|
"annotations": {
|
|
13922
13922
|
"readOnlyHint": false,
|
|
13923
|
-
"destructiveHint":
|
|
13923
|
+
"destructiveHint": true,
|
|
13924
13924
|
"idempotentHint": true,
|
|
13925
13925
|
"openWorldHint": false
|
|
13926
13926
|
}
|
|
@@ -17474,6 +17474,29 @@ var TONE_NAMES = { light: "\uBC1D\uC740 \uBC14\uD0D5", dark: "\uC5B4\uB450\uC6B4
|
|
|
17474
17474
|
var WEIGHT_NAMES = { regular: "\uBCF4\uD1B5", bold: "\uAD75\uAC8C", heavy: "\uC544\uC8FC \uAD75\uAC8C" };
|
|
17475
17475
|
var RADIUS_NAMES = { none: "\uAC01\uC9C4", small: "\uC870\uAE08 \uB465\uADFC", large: "\uB9CE\uC774 \uB465\uADFC" };
|
|
17476
17476
|
var ratio = (v) => (Math.floor(v * 100 + 0.5) / 100).toFixed(2);
|
|
17477
|
+
function motionEffect(e) {
|
|
17478
|
+
const move = [e.distance != null ? `\uC774\uB3D9 ${ratio(e.distance)}` : "", e.direction ?? ""].filter(Boolean).join(" ");
|
|
17479
|
+
const parts = [
|
|
17480
|
+
`${e.system} (\uB0B1\uB9D0 ${e.anchor}, ${e.at_ms}ms)` + (e.what ? `: ${e.what}` : ""),
|
|
17481
|
+
...e.duration_ms != null ? [`\uC9C0\uC18D ${e.duration_ms}ms`] : [],
|
|
17482
|
+
...e.delay_ms != null ? [`\uC9C0\uC5F0 ${e.delay_ms}ms`] : [],
|
|
17483
|
+
...e.easing ? [e.easing] : [],
|
|
17484
|
+
...move ? [move] : [],
|
|
17485
|
+
...e.stagger_ms != null ? [`\uC2A4\uD0DC\uAC70 ${e.stagger_ms}ms`] : []
|
|
17486
|
+
];
|
|
17487
|
+
return ` - ${parts.join(", ")}`;
|
|
17488
|
+
}
|
|
17489
|
+
function motionCamera(c) {
|
|
17490
|
+
let zoom = "";
|
|
17491
|
+
if (c.zoom_from != null && c.zoom_to != null) {
|
|
17492
|
+
zoom = `\uBC30\uC728 ${ratio(c.zoom_from)}\u2192${ratio(c.zoom_to)}`;
|
|
17493
|
+
} else if (c.zoom_from != null || c.zoom_to != null) {
|
|
17494
|
+
zoom = `\uBC30\uC728 ${ratio(c.zoom_from ?? c.zoom_to)}`;
|
|
17495
|
+
}
|
|
17496
|
+
const pan = [c.pan_x != null ? `x ${ratio(c.pan_x)}` : "", c.pan_y != null ? `y ${ratio(c.pan_y)}` : ""].filter(Boolean).join(" ");
|
|
17497
|
+
const parts = [zoom, pan ? `\uD32C ${pan}` : "", c.easing ?? ""].filter(Boolean);
|
|
17498
|
+
return ` - \uCE74\uBA54\uB77C ${c.from_ms}~${c.to_ms}ms: ${parts.join(", ")}`;
|
|
17499
|
+
}
|
|
17477
17500
|
function formatReading(view) {
|
|
17478
17501
|
const state = view.reading_state ?? "none";
|
|
17479
17502
|
const head = {
|
|
@@ -17493,9 +17516,15 @@ function formatReading(view) {
|
|
|
17493
17516
|
"",
|
|
17494
17517
|
state === "failed" ? `${head} \uC544\uB798\uB294 \uADF8 \uC804 \uD574\uC11D\uC785\uB2C8\uB2E4.` : head,
|
|
17495
17518
|
`\uC694\uC57D: ${r.summary || "\uC5C6\uC74C"}`,
|
|
17496
|
-
`\uB8E9: \uBC14\uD0D5 ${look.background || "\uC7B4 \uC218 \uC5C6\uC74C"}(${TONE_NAMES[look.tone ?? ""] ?? "\uBC1D\uAE30 \uBAA8\uB984"}) \xB7 \uAC15\uC870\uC0C9 ${look.accent || "\uC5C6\uC74C"} \xB7 \uAE00\uC790 ${WEIGHT_NAMES[look.text_weight ?? ""] ?? "\uAD75\uAE30 \uBAA8\uB984"}, \uD06C\uAE30 \uB2E8\uACC4 ${sizes.length ? `[${sizes.join(", ")}]` : "\uBAA8\uB984"}% \xB7 ${card}` + (evidence.length ? ` \xB7 \uADFC\uAC70 ${evidence.join(", ")}` : "")
|
|
17497
|
-
`\uBC30\uCE58 ${r.layouts.length}\uAC1C(x \xB7 y \xB7 w \xB7 h \uB294 \uD654\uBA74 \uBE44\uC728):`
|
|
17519
|
+
`\uB8E9: \uBC14\uD0D5 ${look.background || "\uC7B4 \uC218 \uC5C6\uC74C"}(${TONE_NAMES[look.tone ?? ""] ?? "\uBC1D\uAE30 \uBAA8\uB984"}) \xB7 \uAC15\uC870\uC0C9 ${look.accent || "\uC5C6\uC74C"} \xB7 \uAE00\uC790 ${WEIGHT_NAMES[look.text_weight ?? ""] ?? "\uAD75\uAE30 \uBAA8\uB984"}, \uD06C\uAE30 \uB2E8\uACC4 ${sizes.length ? `[${sizes.join(", ")}]` : "\uBAA8\uB984"}% \xB7 ${card}` + (evidence.length ? ` \xB7 \uADFC\uAC70 ${evidence.join(", ")}` : "")
|
|
17498
17520
|
];
|
|
17521
|
+
const design = [look.typeface ? `\uAE00\uAF34 ${look.typeface}` : "", look.margin != null ? `\uC5EC\uBC31 ${ratio(look.margin)}` : ""].filter(Boolean);
|
|
17522
|
+
if (design.length) lines.push(design.join(" \xB7 "));
|
|
17523
|
+
const levels = look.levels ?? [];
|
|
17524
|
+
if (levels.length) {
|
|
17525
|
+
lines.push("\uC704\uACC4: " + levels.map((lv) => `${lv.size}% ${WEIGHT_NAMES[lv.weight]}` + (lv.role ? ` ${lv.role}` : "")).join(" \xB7 "));
|
|
17526
|
+
}
|
|
17527
|
+
lines.push(`\uBC30\uCE58 ${r.layouts.length}\uAC1C(x \xB7 y \xB7 w \xB7 h \uB294 \uD654\uBA74 \uBE44\uC728):`);
|
|
17499
17528
|
for (const layout of r.layouts) {
|
|
17500
17529
|
const regions = layout.regions.map((g) => `${REGION_NAMES[g.role]}(${g.role}) x${ratio(g.x)} y${ratio(g.y)} w${ratio(g.w)} h${ratio(g.h)}` + (g.color ? ` ${g.color}` : "")).join(" / ");
|
|
17501
17530
|
lines.push(` ${layout.id}: ${regions}` + (layout.outside_color ? ` \xB7 \uC601\uC5ED \uBC16 ${layout.outside_color}` : ""));
|
|
@@ -17515,6 +17544,18 @@ function formatReading(view) {
|
|
|
17515
17544
|
for (const e of events) {
|
|
17516
17545
|
lines.push(` #${e.anchor} ${words[e.anchor]?.text ?? "?"}@${e.at_ms} \u2192 ${e.system} ${e.change}` + (e.text ? ` \xB7 \uAE00 ${JSON.stringify(e.text)}` : ""));
|
|
17517
17546
|
}
|
|
17547
|
+
const motion = r.motion;
|
|
17548
|
+
if (motion) {
|
|
17549
|
+
const d2 = r.dropped;
|
|
17550
|
+
const droppedMotion = (d2?.effects ?? 0) + (d2?.camera ?? 0) + (d2?.continuity ?? 0);
|
|
17551
|
+
const effects = motion.effects ?? [];
|
|
17552
|
+
const camera = motion.camera ?? [];
|
|
17553
|
+
const continuity = motion.continuity ?? [];
|
|
17554
|
+
lines.push(`\uC6C0\uC9C1\uC784 \xB7 \uD6A8\uACFC ${effects.length} \xB7 \uCE74\uBA54\uB77C ${camera.length} \xB7 \uC787\uAE30 ${continuity.length} \xB7 \uBC84\uB9B0 \uC218 ${droppedMotion}`);
|
|
17555
|
+
for (const e of effects) lines.push(motionEffect(e));
|
|
17556
|
+
for (const c of camera) lines.push(motionCamera(c));
|
|
17557
|
+
for (const c of continuity) lines.push(` - \uC787\uAE30 ${c.element} ${c.from_ms}~${c.to_ms}ms: ${c.note}`);
|
|
17558
|
+
}
|
|
17518
17559
|
const d = r.dropped;
|
|
17519
17560
|
if (d && (d.layouts || d.segments || d.systems || d.events)) {
|
|
17520
17561
|
lines.push(`\uCE21\uC815\uACFC \uB9DE\uC9C0 \uC54A\uC544 \uBC84\uB9B0 \uAC83: \uBC30\uCE58 ${d.layouts ?? 0} \xB7 \uAD6C\uAC04 ${d.segments ?? 0} \xB7 \uC7A5\uCE58 ${d.systems ?? 0} \xB7 \uC0AC\uAC74 ${d.events ?? 0}`);
|