egatari 0.6.14 → 0.6.16
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/CHANGELOG.md +62 -1
- package/README.ja.md +65 -64
- package/README.md +40 -39
- package/bin/egatari.mjs +3 -3
- package/components.lock.json +507 -153
- package/components2.lock.json +1710 -33
- package/kit/check-messages.mjs +105 -71
- package/kit/check.mjs +17 -11
- package/kit/core/article-messages.mjs +15 -15
- package/kit/core/article-render.mjs +1 -1
- package/kit/core/article-text.mjs +3 -1
- package/kit/core/build-core.mjs +23 -1
- package/kit/core/check-parity.mjs +2 -2
- package/kit/core/check-rules.mjs +12 -7
- package/kit/core/colab-core.mjs +2 -2
- package/kit/core/comment-core.mjs +6 -0
- package/kit/core/export-name.mjs +2 -2
- package/kit/core/geometry-check.mjs +363 -25
- package/kit/core/layout-scan.mjs +75 -5
- package/kit/core/live-policy.mjs +2 -2
- package/kit/core/live.mjs +2 -2
- package/kit/core/llm-fix.mjs +24 -13
- package/kit/core/llm-insert.mjs +11 -11
- package/kit/core/llm-outline.mjs +7 -7
- package/kit/core/llm-pack-assemble.mjs +5 -2
- package/kit/core/llm-pack-data.mjs +225 -39
- package/kit/core/llm-pack.mjs +3 -3
- package/kit/core/new-deck.mjs +17 -3
- package/kit/core/part-labels.mjs +6 -0
- package/kit/core/parts2.mjs +5 -5
- package/kit/core/player.mjs +18 -0
- package/kit/core/portable.mjs +26 -8
- package/kit/core/purposes.mjs +2 -2
- package/kit/core/ref-voice.mjs +1 -1
- package/kit/core/scorm.mjs +1 -1
- package/kit/core/sound-preferences.mjs +1 -1
- package/kit/core/theme-derive.mjs +209 -0
- package/kit/core/themes-list.mjs +1 -1
- package/kit/core/themes-lock.mjs +1 -1
- package/kit/core/tier-a.mjs +20 -8
- package/kit/deck.js +7 -4
- package/kit/instruction-version.json +1 -1
- package/kit/live.js +20 -20
- package/kit/player.json +1 -1
- package/kit/player.lock.json +2 -2
- package/kit/presenter.js +5 -3
- package/kit/templates/new-deck.mjs +6 -6
- package/kit/tools.js +13 -6
- package/kit/track.js +1 -1
- package/package.json +4 -2
- package/server/dev.mjs +3 -2
- package/server/editor-ui.js +28 -20
- package/server/hints.js +22 -2
- package/tts/yomi.yaml +8 -0
- package/vendor/components/CATALOG.md +21 -14
- package/vendor/components/sha256/000cc8b85d22854d93587d53fe07585e0d9f0abee86d863c5ed1f6c53967912b/README.en.md +40 -0
- package/vendor/components/sha256/000cc8b85d22854d93587d53fe07585e0d9f0abee86d863c5ed1f6c53967912b/index.js +408 -0
- package/vendor/components/sha256/0396a1895978803ae342b7f598f187b17ead47800e8f8317a5cb041111349813/index.js +278 -0
- package/vendor/components/sha256/07b8bfd9240585ee76082632c6f9483017d46ad3c74e509e715c27294970606c/README.en.md +26 -0
- package/vendor/components/sha256/07b8bfd9240585ee76082632c6f9483017d46ad3c74e509e715c27294970606c/index.js +322 -0
- package/vendor/components/sha256/08778858e2fb42765077b50e08f848089b1d11ea394909a4f611557b94b3acf2/README.en.md +54 -0
- package/vendor/components/sha256/08778858e2fb42765077b50e08f848089b1d11ea394909a4f611557b94b3acf2/index.js +470 -0
- package/vendor/components/sha256/0a08eb254e59cb306adb32c940ffe54e88efa3c9b7ef05ee021c38995996e742/README.en.md +18 -0
- package/vendor/components/sha256/0a08eb254e59cb306adb32c940ffe54e88efa3c9b7ef05ee021c38995996e742/index.js +279 -0
- package/vendor/components/sha256/1001b3cfcd3fbc34370accbb37aa550c8cadbb54bf8e8155d417219de3797be9/README.en.md +31 -0
- package/vendor/components/sha256/1001b3cfcd3fbc34370accbb37aa550c8cadbb54bf8e8155d417219de3797be9/index.js +267 -0
- package/vendor/components/sha256/109c302247e0c62720872be35392a73bea72804b0ed421ef8ced3f030f72e537/README.en.md +53 -0
- package/vendor/components/sha256/109c302247e0c62720872be35392a73bea72804b0ed421ef8ced3f030f72e537/index.js +171 -0
- package/vendor/components/sha256/1117758820dc561f41cf9d1cc0bab8cf3173cde7771ac10a12b94c96007c0f55/index.js +268 -0
- package/vendor/components/sha256/137017ad452afe209bdff81bc02ffae99c6b60a1c4aed2383515974f65511ff2/index.js +205 -0
- package/vendor/components/sha256/1a1471ba5f68e54304825a64e736afeda421e3763cdcbcdab2e45509562a0291/index.js +607 -0
- package/vendor/components/sha256/1b15fcc12b2fa43821e6299e87aae31aa69dbbc5a0d1b80088a5d7c5f8b8f7f5/index.js +429 -0
- package/vendor/components/sha256/1cc1732d052e58f7913ee50c0fc834d896db6b00ba779164de11b442347863db/README.en.md +23 -0
- package/vendor/components/sha256/1cc1732d052e58f7913ee50c0fc834d896db6b00ba779164de11b442347863db/index.js +147 -0
- package/vendor/components/sha256/21c099461befc0d382ddfe982f2a6cd8eeb6dd731252164ac619525e4bacdf0d/index.js +242 -0
- package/vendor/components/sha256/2352e0e22460f4a3c46dca6cef27cd9c63f161a411f1cf56c75c585e9124503c/index.js +315 -0
- package/vendor/components/sha256/2564dd8096be4cb3ba43703dc76029c1ba3965b831e430597c754865df4b67f4/README.en.md +53 -0
- package/vendor/components/sha256/2564dd8096be4cb3ba43703dc76029c1ba3965b831e430597c754865df4b67f4/index.js +171 -0
- package/vendor/components/sha256/2bae0f89ba91574c6ffb654e246365acd9aaf16a7aae92d95e1bad045671fbd2/README.en.md +38 -0
- package/vendor/components/sha256/2bae0f89ba91574c6ffb654e246365acd9aaf16a7aae92d95e1bad045671fbd2/index.js +414 -0
- package/vendor/components/sha256/2c68c355d60fdc879728c39245b7cf964b193628b63e9ab87df09c6bc2bfa7d3/README.en.md +45 -0
- package/vendor/components/sha256/2c68c355d60fdc879728c39245b7cf964b193628b63e9ab87df09c6bc2bfa7d3/index.js +211 -0
- package/vendor/components/sha256/2f111b900898579b3ec1611c2110db336a46d9133171a0cbb125ee37bd1f24f8/index.js +592 -0
- package/vendor/components/sha256/2fd81df4107ecb28c0dcecfdb3fd8fb9a474b5a7e0aeb16d8c0c6b1275c3a178/README.en.md +45 -0
- package/vendor/components/sha256/2fd81df4107ecb28c0dcecfdb3fd8fb9a474b5a7e0aeb16d8c0c6b1275c3a178/index.js +211 -0
- package/vendor/components/sha256/337febae1374670413653c453feee7cec169892e130248617c6642a91678564e/README.en.md +20 -0
- package/vendor/components/sha256/337febae1374670413653c453feee7cec169892e130248617c6642a91678564e/index.js +310 -0
- package/vendor/components/sha256/38f6385118112c679b520909d677935176e0c7aa2183a877324eeb5108606eae/README.en.md +35 -0
- package/vendor/components/sha256/38f6385118112c679b520909d677935176e0c7aa2183a877324eeb5108606eae/index.js +179 -0
- package/vendor/components/sha256/3af0b84b1799fc64ec74d6da9cbd343eccd89e8a11c81bfb444562c911284442/index.js +342 -0
- package/vendor/components/sha256/3c69bf3b3c6b9f76048fbc0839b3aa9699723570086d3d44bac799230ed6de5b/index.js +121 -0
- package/vendor/components/sha256/3f2f66da34496213cf6140ae041122c31f13c77e5ee18ad11a3390fbc4a6ecca/README.en.md +37 -0
- package/vendor/components/sha256/3f2f66da34496213cf6140ae041122c31f13c77e5ee18ad11a3390fbc4a6ecca/index.js +501 -0
- package/vendor/components/sha256/41b82d13037c4597e560cf2b3adebea4495ebb4711a8bb82b1a84495839b8fc8/README.en.md +38 -0
- package/vendor/components/sha256/41b82d13037c4597e560cf2b3adebea4495ebb4711a8bb82b1a84495839b8fc8/index.js +414 -0
- package/vendor/components/sha256/4220949efd68ff86e73ee6a0920b9f5b53f445cfcd657db72ecb2b55da1cc019/README.en.md +30 -0
- package/vendor/components/sha256/4220949efd68ff86e73ee6a0920b9f5b53f445cfcd657db72ecb2b55da1cc019/index.js +305 -0
- package/vendor/components/sha256/47f7ea3e2551abb250a9f5883716791026f0f54ae9cca6d82fabdb92478c69ae/README.en.md +31 -0
- package/vendor/components/sha256/47f7ea3e2551abb250a9f5883716791026f0f54ae9cca6d82fabdb92478c69ae/index.js +236 -0
- package/vendor/components/sha256/4b515bfb3a39a6c1e2b04f235affc5bc84e74d80bfd7f9e6d9b5d84d0a9eeb57/README.en.md +21 -0
- package/vendor/components/sha256/4b515bfb3a39a6c1e2b04f235affc5bc84e74d80bfd7f9e6d9b5d84d0a9eeb57/index.js +108 -0
- package/vendor/components/sha256/4e7ba7759ddebfa5432b733e5f10abfd336ef7d6cc4d46305d5ff7d00ed3a423/README.en.md +28 -0
- package/vendor/components/sha256/4e7ba7759ddebfa5432b733e5f10abfd336ef7d6cc4d46305d5ff7d00ed3a423/index.js +213 -0
- package/vendor/components/sha256/52149f061935e65502b8353cf70285bba93ab24451d2daac26b994d3901d3864/README.en.md +35 -0
- package/vendor/components/sha256/52149f061935e65502b8353cf70285bba93ab24451d2daac26b994d3901d3864/index.js +179 -0
- package/vendor/components/sha256/5644e63364f46ee53d5f8623355149753147cdc4720e4c66fc9b8a32627e68a5/README.en.md +53 -0
- package/vendor/components/sha256/5644e63364f46ee53d5f8623355149753147cdc4720e4c66fc9b8a32627e68a5/index.js +171 -0
- package/vendor/components/sha256/5662bea8cc48f484ccf14c5a8ac12d64b2c5ab032a26176d133ed3a8eb33a557/fixtures/ABCJS-ADAPTER.md +101 -0
- package/vendor/components/sha256/5662bea8cc48f484ccf14c5a8ac12d64b2c5ab032a26176d133ed3a8eb33a557/fixtures/LICENSE-abcjs.txt +21 -0
- package/vendor/components/sha256/5662bea8cc48f484ccf14c5a8ac12d64b2c5ab032a26176d133ed3a8eb33a557/fixtures/chords.json +89 -0
- package/vendor/components/sha256/5662bea8cc48f484ccf14c5a8ac12d64b2c5ab032a26176d133ed3a8eb33a557/fixtures/doremi.json +261 -0
- package/vendor/components/sha256/5662bea8cc48f484ccf14c5a8ac12d64b2c5ab032a26176d133ed3a8eb33a557/fixtures/extras.json +192 -0
- package/vendor/components/sha256/5662bea8cc48f484ccf14c5a8ac12d64b2c5ab032a26176d133ed3a8eb33a557/fixtures/kaeru.json +521 -0
- package/vendor/components/sha256/5662bea8cc48f484ccf14c5a8ac12d64b2c5ab032a26176d133ed3a8eb33a557/fixtures/rhythm.json +248 -0
- package/vendor/components/sha256/5662bea8cc48f484ccf14c5a8ac12d64b2c5ab032a26176d133ed3a8eb33a557/fixtures/ties.json +360 -0
- package/vendor/components/sha256/5662bea8cc48f484ccf14c5a8ac12d64b2c5ab032a26176d133ed3a8eb33a557/index.js +508 -0
- package/vendor/components/sha256/59996a56df462b36e24a928d4397c9308d9e39ad8224ebd19fb5c981608ef458/index.js +521 -0
- package/vendor/components/sha256/5afcaf27e9209a32a8a8e6667b637ea434326b76f563689552716de953c94a98/README.en.md +30 -0
- package/vendor/components/sha256/5afcaf27e9209a32a8a8e6667b637ea434326b76f563689552716de953c94a98/index.js +305 -0
- package/vendor/components/sha256/5cf9baec12bac716d9218d6fbc4f95446adf31658da62564aa403bb5bdee542e/README.en.md +30 -0
- package/vendor/components/sha256/5cf9baec12bac716d9218d6fbc4f95446adf31658da62564aa403bb5bdee542e/index.js +192 -0
- package/vendor/components/sha256/5ffac218340cc51ce842a530f6021fc916090376b243e2ad5d4c0ef48a040ce9/README.en.md +20 -0
- package/vendor/components/sha256/5ffac218340cc51ce842a530f6021fc916090376b243e2ad5d4c0ef48a040ce9/index.js +307 -0
- package/vendor/components/sha256/6084fd3102b7d450db3804120ac27aa585ab44937734d980fb50c51f39fc98a7/README.en.md +24 -0
- package/vendor/components/sha256/6084fd3102b7d450db3804120ac27aa585ab44937734d980fb50c51f39fc98a7/index.js +554 -0
- package/vendor/components/sha256/60e3e41c34034e16f9f7ee9ce6c8d669ebb753614989fc2e5e181ef295e83631/README.en.md +25 -0
- package/vendor/components/sha256/60e3e41c34034e16f9f7ee9ce6c8d669ebb753614989fc2e5e181ef295e83631/index.js +316 -0
- package/vendor/components/sha256/6156a8a03235e1ed92d3cd3ba1f40df86667059003d82e47297bd3917ef562b8/README.en.md +18 -0
- package/vendor/components/sha256/6156a8a03235e1ed92d3cd3ba1f40df86667059003d82e47297bd3917ef562b8/index.js +279 -0
- package/vendor/components/sha256/624acb997c4975ace65570b529b3ba00baa421c80ecb7fc80f392a64e8c573a7/index.js +107 -0
- package/vendor/components/sha256/62602488ee33dd4bdef8516de16da5ab27d7f7265d5041681beab80e08f1d482/index.js +97 -0
- package/vendor/components/sha256/67eaf344bddac79b74ed03fdcd70285c7b52b160e6c5ffbd6897848179aa5230/index.js +818 -0
- package/vendor/components/sha256/682c9c8871eccd19ff1264e0323a2e4c5798b0488b612ba0339c6fe85aab5914/index.js +926 -0
- package/vendor/components/sha256/6937967bbf62098aca7cef99f14f97fa11c861a12da6a1d8fe5fa55a6b4551f2/README.en.md +51 -0
- package/vendor/components/sha256/6937967bbf62098aca7cef99f14f97fa11c861a12da6a1d8fe5fa55a6b4551f2/index.js +230 -0
- package/vendor/components/sha256/72138936ed0b8fd3cb0214ae7ed250ae3f1f8b21ed6fd593544947774064ba0d/index.js +250 -0
- package/vendor/components/sha256/74c1a0f3ed1370c5003aa5770ee28cea2ce994d415680116a92fdbcd5854ba62/index.js +198 -0
- package/vendor/components/sha256/76125035eb153b98befa9c735bcd9fc4f99f774dc1d082fdae40acaadfe7d95b/index.js +818 -0
- package/vendor/components/sha256/7728cf7dde88a6688aba0ed70f23f7e21362a147beac09c1fa1a4b773e08e93b/index.js +354 -0
- package/vendor/components/sha256/7822f137d446604a83c1dbc3b40fdb455001dc55da12276ff3e7079d270dd143/README.en.md +23 -0
- package/vendor/components/sha256/7822f137d446604a83c1dbc3b40fdb455001dc55da12276ff3e7079d270dd143/index.js +289 -0
- package/vendor/components/sha256/7c2b93508a09a5dd36639ab1329ca6d00487b326c53db436b14295174dc03369/README.en.md +31 -0
- package/vendor/components/sha256/7c2b93508a09a5dd36639ab1329ca6d00487b326c53db436b14295174dc03369/index.js +236 -0
- package/vendor/components/sha256/7d50e50fbb6c5ec636b62509bd88ddaac1870e0522cf11bcc293ce924d48072d/index.js +312 -0
- package/vendor/components/sha256/82ffee434e7f2213031190f832f3a75a8cdf59554fdbc092c0b079d6b0753cad/README.en.md +42 -0
- package/vendor/components/sha256/82ffee434e7f2213031190f832f3a75a8cdf59554fdbc092c0b079d6b0753cad/index.js +549 -0
- package/vendor/components/sha256/87fc302c41b2bfeea88951ed689ec01b4dc79218c4bc69b310dc2228dfa2e153/index.js +926 -0
- package/vendor/components/sha256/8886ccd82d68dc1bbf5b7ffcef746074ce8a3d26414d55691dc5e691e4976ded/README.en.md +24 -0
- package/vendor/components/sha256/8886ccd82d68dc1bbf5b7ffcef746074ce8a3d26414d55691dc5e691e4976ded/index.js +103 -0
- package/vendor/components/sha256/89c8c16788e24df17920542ed6eb6557dea4a10e835de8fe839e439ccbba8014/index.js +69 -0
- package/vendor/components/sha256/8beed7e471fa0d6b801b5c540f69ab77220e228c58ff16b0bc2b1a6eef30800e/README.en.md +44 -0
- package/vendor/components/sha256/8beed7e471fa0d6b801b5c540f69ab77220e228c58ff16b0bc2b1a6eef30800e/index.js +304 -0
- package/vendor/components/sha256/8d9af78aef44ad2f98101c67d32473373d39725a09c923969aa621d5f5b124bb/index.js +121 -0
- package/vendor/components/sha256/8f861d71df72a82be86a3e63abf7d69bbab5aac6fa68be6e077c4e19c3519ed8/index.js +312 -0
- package/vendor/components/sha256/90415da5ad04e1944258e29c929c5de65c8152c829414e911ba55a84ac89f348/README.en.md +54 -0
- package/vendor/components/sha256/90415da5ad04e1944258e29c929c5de65c8152c829414e911ba55a84ac89f348/index.js +470 -0
- package/vendor/components/sha256/91a1e0e48e20cac705cbe6e33e66a24a2851b1dc88c5164ed906bcecba4d943f/README.en.md +24 -0
- package/vendor/components/sha256/91a1e0e48e20cac705cbe6e33e66a24a2851b1dc88c5164ed906bcecba4d943f/index.js +214 -0
- package/vendor/components/sha256/91a9353a0c3b3744765944783aa1537b3f6ff1677c67caede643cdf2f52289cf/README.en.md +33 -0
- package/vendor/components/sha256/91a9353a0c3b3744765944783aa1537b3f6ff1677c67caede643cdf2f52289cf/index.js +390 -0
- package/vendor/components/sha256/9289efef4a75afe011e54a17e34db08cfb16a450b2e0653e6a98525495cfba99/index.js +315 -0
- package/vendor/components/sha256/93256a923199ea51108cdb7491c3c96f376dbef15b64cbf1a1aa7cc5726b4970/index.js +429 -0
- package/vendor/components/sha256/94f4891971b26f5bc157ef9f7f630b1528fc7e2a4c63e84e01951a5a3f94cedc/README.en.md +24 -0
- package/vendor/components/sha256/94f4891971b26f5bc157ef9f7f630b1528fc7e2a4c63e84e01951a5a3f94cedc/index.js +550 -0
- package/vendor/components/sha256/94f4f798fdd070fc1693494e772ff479d3e694a07a0c97b6e97c3b3895cad478/README.en.md +28 -0
- package/vendor/components/sha256/94f4f798fdd070fc1693494e772ff479d3e694a07a0c97b6e97c3b3895cad478/index.js +213 -0
- package/vendor/components/sha256/95583538da2982ec5f508217a8f2821796e6a34cf755baa66f2aaeb1c6dae814/README.en.md +40 -0
- package/vendor/components/sha256/95583538da2982ec5f508217a8f2821796e6a34cf755baa66f2aaeb1c6dae814/index.js +348 -0
- package/vendor/components/sha256/97c074a5473618c65f4c23263f056870a0b7940e73475f2a1f32f68c08d8eb0f/index.js +198 -0
- package/vendor/components/sha256/98e1957b1fac2d55d9bfa6a0990ead6a2730d571c988055ca280df05a0e9ea37/README.en.md +66 -0
- package/vendor/components/sha256/98e1957b1fac2d55d9bfa6a0990ead6a2730d571c988055ca280df05a0e9ea37/index.js +984 -0
- package/vendor/components/sha256/99a26795f8b351ade4a4cbbea845aeb149c96b09fe96151edda57128082185fa/README.en.md +34 -0
- package/vendor/components/sha256/99a26795f8b351ade4a4cbbea845aeb149c96b09fe96151edda57128082185fa/index.js +244 -0
- package/vendor/components/sha256/a18b2b15d00c76462a43823b5c270c7ddd7c31794da9c236f74f20f80ec2ffdb/index.js +354 -0
- package/vendor/components/sha256/a744049fc56e0a5d5b1638bef597a4e65f99d0776a35d830a389f216f314f1bc/README.en.md +32 -0
- package/vendor/components/sha256/a744049fc56e0a5d5b1638bef597a4e65f99d0776a35d830a389f216f314f1bc/index.js +222 -0
- package/vendor/components/sha256/a979207c60fbd2a12cb557297eb0217eb098d660de684530a0f43d0d9c64e6ef/index.js +312 -0
- package/vendor/components/sha256/aba898152e40ca44e1e7bea22242bd6897a31e0254cbfd70e426907b65379af2/README.en.md +34 -0
- package/vendor/components/sha256/aba898152e40ca44e1e7bea22242bd6897a31e0254cbfd70e426907b65379af2/index.js +244 -0
- package/vendor/components/sha256/af7ed69b8969f6da14784b6e9d26e4dfd20147772ea172a99bd936a71be10fcd/index.js +278 -0
- package/vendor/components/sha256/b08a536a07498629c026f8fc2962acda791c83a99268ac715db5e764087000e2/fixtures/ABCJS-ADAPTER.md +101 -0
- package/vendor/components/sha256/b08a536a07498629c026f8fc2962acda791c83a99268ac715db5e764087000e2/fixtures/LICENSE-abcjs.txt +21 -0
- package/vendor/components/sha256/b08a536a07498629c026f8fc2962acda791c83a99268ac715db5e764087000e2/fixtures/chords.json +89 -0
- package/vendor/components/sha256/b08a536a07498629c026f8fc2962acda791c83a99268ac715db5e764087000e2/fixtures/doremi.json +261 -0
- package/vendor/components/sha256/b08a536a07498629c026f8fc2962acda791c83a99268ac715db5e764087000e2/fixtures/extras.json +192 -0
- package/vendor/components/sha256/b08a536a07498629c026f8fc2962acda791c83a99268ac715db5e764087000e2/fixtures/kaeru.json +521 -0
- package/vendor/components/sha256/b08a536a07498629c026f8fc2962acda791c83a99268ac715db5e764087000e2/fixtures/rhythm.json +248 -0
- package/vendor/components/sha256/b08a536a07498629c026f8fc2962acda791c83a99268ac715db5e764087000e2/fixtures/ties.json +360 -0
- package/vendor/components/sha256/b08a536a07498629c026f8fc2962acda791c83a99268ac715db5e764087000e2/index.js +508 -0
- package/vendor/components/sha256/b28d136dffb03a3e855b2ff959712a143da9a84c3a4fd13a1126d7711083a2d6/README.en.md +66 -0
- package/vendor/components/sha256/b28d136dffb03a3e855b2ff959712a143da9a84c3a4fd13a1126d7711083a2d6/index.js +990 -0
- package/vendor/components/sha256/b2d9c417f258745c56c04e05dc9463a412a4978d46c3ffff2556f0b0fafbbfc2/README.en.md +24 -0
- package/vendor/components/sha256/b2d9c417f258745c56c04e05dc9463a412a4978d46c3ffff2556f0b0fafbbfc2/index.js +550 -0
- package/vendor/components/sha256/b8096d7a60609520981273673761a110e40e3bdf52a7ab5548363b20e16f6e93/index.js +404 -0
- package/vendor/components/sha256/b9e27e84b2c534b87d6da5da30ee808d7863cbd1b818082b4c11d1f8b7129b1a/README.en.md +32 -0
- package/vendor/components/sha256/b9e27e84b2c534b87d6da5da30ee808d7863cbd1b818082b4c11d1f8b7129b1a/index.js +222 -0
- package/vendor/components/sha256/bd8e3893df02411deccc1d6d7b02292ca0d59dfeddfafcf99419430981572c82/index.js +351 -0
- package/vendor/components/sha256/c201dbc3f1f790c59cc010b3be3566daa9085754614402e9dc1296dba9e87769/fixtures/ABCJS-ADAPTER.md +101 -0
- package/vendor/components/sha256/c201dbc3f1f790c59cc010b3be3566daa9085754614402e9dc1296dba9e87769/fixtures/LICENSE-abcjs.txt +21 -0
- package/vendor/components/sha256/c201dbc3f1f790c59cc010b3be3566daa9085754614402e9dc1296dba9e87769/fixtures/chords.json +89 -0
- package/vendor/components/sha256/c201dbc3f1f790c59cc010b3be3566daa9085754614402e9dc1296dba9e87769/fixtures/doremi.json +261 -0
- package/vendor/components/sha256/c201dbc3f1f790c59cc010b3be3566daa9085754614402e9dc1296dba9e87769/fixtures/extras.json +192 -0
- package/vendor/components/sha256/c201dbc3f1f790c59cc010b3be3566daa9085754614402e9dc1296dba9e87769/fixtures/kaeru.json +521 -0
- package/vendor/components/sha256/c201dbc3f1f790c59cc010b3be3566daa9085754614402e9dc1296dba9e87769/fixtures/rhythm.json +248 -0
- package/vendor/components/sha256/c201dbc3f1f790c59cc010b3be3566daa9085754614402e9dc1296dba9e87769/fixtures/ties.json +360 -0
- package/vendor/components/sha256/c201dbc3f1f790c59cc010b3be3566daa9085754614402e9dc1296dba9e87769/index.js +508 -0
- package/vendor/components/sha256/c5226220649a5854d56ceeaea16722fe54a79b4197f71c51c4e1523bf22bec32/README.en.md +31 -0
- package/vendor/components/sha256/c5226220649a5854d56ceeaea16722fe54a79b4197f71c51c4e1523bf22bec32/index.js +267 -0
- package/vendor/components/sha256/c691f9c83d06502bf20f86df02ee5a516063d6af1e9ee8204aad8fd8c1a44a71/LICENSE-strokesvg.txt +115 -0
- package/vendor/components/sha256/c691f9c83d06502bf20f86df02ee5a516063d6af1e9ee8204aad8fd8c1a44a71/OFL.txt +93 -0
- package/vendor/components/sha256/c691f9c83d06502bf20f86df02ee5a516063d6af1e9ee8204aad8fd8c1a44a71/index.js +749 -0
- package/vendor/components/sha256/c691f9c83d06502bf20f86df02ee5a516063d6af1e9ee8204aad8fd8c1a44a71/strokes-CHANGES.md +20 -0
- package/vendor/components/sha256/c791e69e722f64146242f97acb29a341160d0c327cfe1d76307954d80e70db85/index.js +268 -0
- package/vendor/components/sha256/c8c0de41d603b61c6ec4dc1da5b50559e213dd1f3693ee5019df858016fd6daf/index.js +747 -0
- package/vendor/components/sha256/c99d4f2ab443484b9f462e405c72ea4794838b88f8823f27c606d12cbbedb996/index.js +404 -0
- package/vendor/components/sha256/cbde046e30c35db60259911a88e2ae0bedaf545e29b1da8b8ce13bc602a33c19/index.js +465 -0
- package/vendor/components/sha256/ccdd16ed76838ac9d6abb4ee695769bfecb802ae490ac91914ed68131ad04434/README.en.md +51 -0
- package/vendor/components/sha256/ccdd16ed76838ac9d6abb4ee695769bfecb802ae490ac91914ed68131ad04434/index.js +228 -0
- package/vendor/components/sha256/ce0a52fa13ae579020d1172845647daee9ba78e070736e47740f2d2feabffe7e/README.en.md +35 -0
- package/vendor/components/sha256/ce0a52fa13ae579020d1172845647daee9ba78e070736e47740f2d2feabffe7e/index.js +179 -0
- package/vendor/components/sha256/cf0985ffcd8e7cbe2175ddb9a4342b2a4aa3f322794188fc99af8789b494460d/index.js +521 -0
- package/vendor/components/sha256/cff7ed8a0e0708bcef2e13105b28810bda867251a9f205ad9c2f1a5b4f759866/LICENSE-strokesvg.txt +115 -0
- package/vendor/components/sha256/cff7ed8a0e0708bcef2e13105b28810bda867251a9f205ad9c2f1a5b4f759866/OFL.txt +93 -0
- package/vendor/components/sha256/cff7ed8a0e0708bcef2e13105b28810bda867251a9f205ad9c2f1a5b4f759866/index.js +749 -0
- package/vendor/components/sha256/cff7ed8a0e0708bcef2e13105b28810bda867251a9f205ad9c2f1a5b4f759866/strokes-CHANGES.md +20 -0
- package/vendor/components/sha256/d01dc7fd78d08dd720ed86b39d7877dc0913d72e914036088a86af2df2faee52/index.js +484 -0
- package/vendor/components/sha256/d448fec2aeb436f187875c493b1592b373c6a18274ffc64231dbe3f1b54f8cbc/README.en.md +24 -0
- package/vendor/components/sha256/d448fec2aeb436f187875c493b1592b373c6a18274ffc64231dbe3f1b54f8cbc/index.js +214 -0
- package/vendor/components/sha256/d4aa3ffb394d5db7f47081b1818958547fe164bb968df03131f9400c103b97c4/README.en.md +31 -0
- package/vendor/components/sha256/d4aa3ffb394d5db7f47081b1818958547fe164bb968df03131f9400c103b97c4/index.js +271 -0
- package/vendor/components/sha256/d582d02ceeaf1ec4d94115b806852ddb66c009788e67728ae0e08cb8d29ca546/README.en.md +25 -0
- package/vendor/components/sha256/d582d02ceeaf1ec4d94115b806852ddb66c009788e67728ae0e08cb8d29ca546/index.js +316 -0
- package/vendor/components/sha256/d75ab2c8f6c01082bfcaeaba44290367d6b49654e2bf538422b7b3e499de9acf/README.en.md +23 -0
- package/vendor/components/sha256/d75ab2c8f6c01082bfcaeaba44290367d6b49654e2bf538422b7b3e499de9acf/index.js +120 -0
- package/vendor/components/sha256/d8f5272dac33066a04ecefa9a828ca11d18dec581866899f55433573ba4472d6/README.en.md +40 -0
- package/vendor/components/sha256/d8f5272dac33066a04ecefa9a828ca11d18dec581866899f55433573ba4472d6/index.js +405 -0
- package/vendor/components/sha256/dd1ff8de877573e30635928e9abce0b1fba8dfc95a079eca86703a884d3c3d59/README.en.md +66 -0
- package/vendor/components/sha256/dd1ff8de877573e30635928e9abce0b1fba8dfc95a079eca86703a884d3c3d59/index.js +984 -0
- package/vendor/components/sha256/ddd4b9cbbc282cbb3117ff662e1a14ecdb3cc7c16072a574418ec6a6eecef4d8/index.js +107 -0
- package/vendor/components/sha256/e24a4235a661bfda4049e1c72b6c376066fcc65e27a2bdfe77942a3394726c81/README.en.md +22 -0
- package/vendor/components/sha256/e24a4235a661bfda4049e1c72b6c376066fcc65e27a2bdfe77942a3394726c81/index.js +145 -0
- package/vendor/components/sha256/e2da948daac7bfac158857877b5a6932dbd2369e73901abcef118c92dd20b725/index.js +747 -0
- package/vendor/components/sha256/e40201a655bf5c556d70fbf45b5052dd48c33fc8030b331a9d9cbc96913d02a6/README.en.md +42 -0
- package/vendor/components/sha256/e40201a655bf5c556d70fbf45b5052dd48c33fc8030b331a9d9cbc96913d02a6/index.js +268 -0
- package/vendor/components/sha256/e653a4da80f7761442dc5b504ea5b0700fd0acf1979beeff56122cfdb3d4654c/index.js +607 -0
- package/vendor/components/sha256/ea217c6821e931b2d8474bf56d38f2dcc89ec705fe1d276f313e1c7e8db2b98a/index.js +233 -0
- package/vendor/components/sha256/ea2e4e24838574f607879c7d05556281258c018331e4da3e6f3a5263173f2e99/index.js +75 -0
- package/vendor/components/sha256/eb0b402dc4738b2dca2918c7f64a4d6fc3c27b4ba419270bbe8240a3c8a77f0c/README.en.md +42 -0
- package/vendor/components/sha256/eb0b402dc4738b2dca2918c7f64a4d6fc3c27b4ba419270bbe8240a3c8a77f0c/index.js +549 -0
- package/vendor/components/sha256/f219b47f32b0a78e8f8f5dac83596acfed24dd6e8bfe3f05f8ebfb9582d64485/README.en.md +44 -0
- package/vendor/components/sha256/f219b47f32b0a78e8f8f5dac83596acfed24dd6e8bfe3f05f8ebfb9582d64485/index.js +203 -0
- package/vendor/components/sha256/f4204773037ae296786e3614b5bfd7487b0f5ba6d5cf92ce20262bb7613e1b6b/README.en.md +34 -0
- package/vendor/components/sha256/f4204773037ae296786e3614b5bfd7487b0f5ba6d5cf92ce20262bb7613e1b6b/index.js +244 -0
- package/vendor/components/sha256/fa1a09c10181456143d125d68dbbdcacde6bab2e4a2b3e573367103ce28ebf55/index.js +228 -0
- package/vendor/components/sha256/fa9c9f63d74a514636961bcb8af75063e00e39bdf85655ecf5d4d7bbc05a831a/README.en.md +51 -0
- package/vendor/components/sha256/fa9c9f63d74a514636961bcb8af75063e00e39bdf85655ecf5d4d7bbc05a831a/index.js +228 -0
- package/vendor/components/sha256/facebe095849528396ee91d7d6856cb6945ba89ca8b1f34dce488dccb29e9d40/README.en.md +23 -0
- package/vendor/components/sha256/facebe095849528396ee91d7d6856cb6945ba89ca8b1f34dce488dccb29e9d40/index.js +147 -0
- package/vendor/components/sha256/fb0a77a344098c53cc90215685cee32b0d31362a1de5b5ac0eee422ed2c3c430/README.en.md +20 -0
- package/vendor/components/sha256/fb0a77a344098c53cc90215685cee32b0d31362a1de5b5ac0eee422ed2c3c430/index.js +307 -0
- package/vendor/components/sha256/fc48e703adab4715157f8dbb0e33c8b5c00099358ae522484290a7098fda2910/README.en.md +26 -0
- package/vendor/components/sha256/fc48e703adab4715157f8dbb0e33c8b5c00099358ae522484290a7098fda2910/index.js +322 -0
- package/vendor/components-2/manifest-2.12.0.json +2348 -0
- package/vendor/components-2/manifest-2.13.0.json +2477 -0
- package/vendor/components-2/manifest-2.14.0.json +2460 -0
- package/vendor/components-2/manifest-2.14.1.json +2460 -0
- package/vendor/components-2/manifest-2.15.0.json +2460 -0
- package/vendor/egatari-spec/SOURCE.json +3 -3
- package/vendor/egatari-spec/schema/deck-meta.schema.json +16 -1
- package/vendor/egatari-spec/schema/egatari-metadata.schema.json +17 -2
package/server/editor-ui.js
CHANGED
|
@@ -48,15 +48,15 @@ const STR = {
|
|
|
48
48
|
save: 'Save', cancel: 'Cancel', editSrc: 'Edit HTML', closeEsc: 'Close (Esc)', editHint: '⌘/Ctrl+Enter to save · Esc to cancel · write math as \\( … \\)',
|
|
49
49
|
loading: 'Loading…', loadFail: 'Could not load', stale: 'The HTML has changed. Please reload (this view was built from an older version)',
|
|
50
50
|
saving: 'Saving…', saved: 'Saved', conflict: 'The HTML has changed. Please reload (copy what you typed first)', saveFail: 'Could not save', offline: 'Cannot reach the editor',
|
|
51
|
-
reload: 'Reload', cPlace: 'e.g. make this line shorter / match the figure colors / add one example', cSave: '
|
|
52
|
-
cFail: 'Could not
|
|
51
|
+
reload: 'Reload', cPlace: 'e.g. make this line shorter / match the figure colors / add one example', cSave: 'Save', cTitle: 'Comment', cHint: '⌘/Ctrl+Enter to save · written to comments.json',
|
|
52
|
+
cFail: 'Could not save the comment', cDone: 'Comment saved (comments.json)', cList: 'Comments (open)', cVolatile: 'Comments are not saved in an Egatari file (they disappear when you close it). To keep them, use a working folder.', closeC: 'Close (c)', resolve: 'Resolve', resolveT: 'Mark as done',
|
|
53
53
|
toSlide: 'Click to go to the slide', nStale: (k) => 'You are editing a different step than the one shown (' + k + '). It will switch after you save or cancel',
|
|
54
54
|
nLine: (n) => 'narration.md line ' + n, nNone: 'No script yet', revertT: 'Revert to before editing', nTitle: 'Script', step: 'Step ', closeN: 'Close (n)',
|
|
55
55
|
discard: 'Discard unsaved changes?', slide: (n, t) => 'Slide ' + n + ': ' + t, dirty: 'Unsaved changes', nEmpty: 'No script for this step yet. Start with “Add a turn”',
|
|
56
56
|
speaker: 'Speaker', expert: 'Explainer (Expert)', novice: 'Questioner (Novice)', tPlace: 'What to say. {cue} marks a sync point. To set how a word is read, select it and press “Pronunciation…”', tLabel: 'What to say',
|
|
57
57
|
pron: 'Pronunciation…', pronT: 'Set how a word or symbol is read aloud (select it in the script first)', pTitle: (w) => 'Pronunciation of “' + w + '”', pLabel: 'Pronunciation', pPh: 'e.g. theta',
|
|
58
58
|
pFrom: { step: 'Filled in from the same word elsewhere in this script', dict: 'Filled in from your dictionary' },
|
|
59
|
-
pAll: (n) => (n ? 'Apply to all in this script (' + n + ' more)' : 'Apply to all in this script (no others)'), pDict: 'Add to dictionary', pDictOff: 'The dictionary cannot be used in this browser (it does not
|
|
59
|
+
pAll: (n) => (n ? 'Apply to all in this script (' + n + ' more)' : 'Apply to all in this script (no others)'), pDict: 'Add to dictionary', pDictOff: 'The dictionary cannot be used in this browser (it does not save data here, as in private browsing). You can still apply the pronunciation', pDictT: 'Saved in this browser. When you select the same word in another script, the field opens with this pronunciation',
|
|
60
60
|
pDevice: 'Listen with read-aloud', pAi: 'Listen with AI voice', pApply: 'Apply', pRemove: 'Remove pronunciation', pAiBusy: 'Making AI voice…', pAiFail: 'Could not make the AI voice: ', pNoVoice: 'This device has no read-aloud voice for this language. Make AI voice to hear it',
|
|
61
61
|
pNoSel: 'Select a word in the script first', pNoY: 'Type the pronunciation', pBadY: 'A pronunciation cannot contain { or }, and is at most 64 characters',
|
|
62
62
|
pWhy: { space: 'Select one word or symbol without spaces', expr: 'Select only one word or symbol (a pronunciation cannot go on an expression or a sentence)', mark: 'The selection covers a pronunciation or a mark such as {cue}. Select only one word', long: 'Too long. Select only one word (up to ' + MAX_WORD + ' characters)', turns: 'Select within one turn' },
|
|
@@ -73,22 +73,22 @@ const STR = {
|
|
|
73
73
|
ja: {
|
|
74
74
|
mark: '編集中 — アプリ', editMode: '編集モード', where: (n, t) => 'スライド ' + n + (t ? ':' + t : ''), locked: 'この欄を開いている間、スライドはクリックを受けません', warn: '警告 ', editTip: (alt) => 'ダブルクリックで編集 · ' + alt + '+クリックでコメント · e で終了',
|
|
75
75
|
save: '保存', cancel: 'キャンセル', editSrc: 'HTML を編集', closeEsc: '閉じる(Esc)', editHint: '⌘/Ctrl+Enter で保存 · Esc でキャンセル · 数式は \\( … \\) のまま書けます',
|
|
76
|
-
loading: '読み込み中…', loadFail: '読み込めませんでした', stale: 'HTML
|
|
76
|
+
loading: '読み込み中…', loadFail: '読み込めませんでした', stale: 'HTML が変わっています。再読み込みしてください(この表示は古いバージョンから作られています)',
|
|
77
77
|
saving: '保存中…', saved: '保存しました', conflict: 'HTML が変わっています。再読み込みしてください(入力した内容はコピーしておいてください)', saveFail: '保存できませんでした', offline: 'サーバーに接続できません',
|
|
78
|
-
reload: '再読み込み', cPlace: '例:この行をもっと短く / 図の色を合わせて /
|
|
79
|
-
cFail: '
|
|
78
|
+
reload: '再読み込み', cPlace: '例:この行をもっと短く / 図の色を合わせて / 例を一つ追加して', cSave: '保存', cTitle: 'コメント', cHint: '⌘/Ctrl+Enter で保存 · comments.json に書きます',
|
|
79
|
+
cFail: '保存できませんでした', cDone: 'コメントを保存しました(comments.json)', cList: 'コメント(未対応)', cVolatile: 'Egatari ファイルではコメントは保存されません(閉じると失われます)。保存するなら作業フォルダで', closeC: '閉じる(c)', resolve: '解決', resolveT: '対応済みにする',
|
|
80
80
|
toSlide: 'クリックでそのスライドへ', nStale: (k) => '表示中のステップ(' + k + ')とは別のステップを編集中です。保存かキャンセルのあとで切り替わります',
|
|
81
81
|
nLine: (n) => 'narration.md ' + n + ' 行目', nNone: 'まだ台本がありません', revertT: '編集前に戻す', nTitle: '台本', step: 'ステップ ', closeN: '閉じる(n)',
|
|
82
|
-
discard: '
|
|
82
|
+
discard: '保存していない変更を破棄しますか', slide: (n, t) => 'スライド ' + n + ':' + t, dirty: '未保存の変更があります', nEmpty: 'このステップの台本はまだありません。「発言を追加」で書き始めます',
|
|
83
83
|
speaker: '話者', expert: '説明する人(Expert)', novice: '質問する人(Novice)', tPlace: '話す内容。{cue} で同期点。読み方は、語を選んで「読み方…」で付けます', tLabel: '話す内容',
|
|
84
84
|
pron: '読み方…', pronT: '語や記号の読み方を付けます(台本の欄で語を選んでから押します)', pTitle: (w) => '「' + w + '」の読み方', pLabel: '読み方', pPh: '例:シータ',
|
|
85
|
-
pFrom: { step: '
|
|
86
|
-
pAll: (n) => (n ? 'この台本のすべてに(ほかに ' + n + ' か所)' : 'この台本のすべてに(ほかにはありません)'), pDict: '辞書に登録', pDictOff: '
|
|
87
|
-
pDevice: '読み上げで聞く', pAi: 'AI 音声で聞く', pApply: '付ける', pRemove: '
|
|
88
|
-
pNoSel: '読み方を付ける語を、台本の欄で選んでください', pNoY: '
|
|
85
|
+
pFrom: { step: '同じ台本のほかの所と同じ読み方を入力しました', dict: '辞書の読み方を入力しました' },
|
|
86
|
+
pAll: (n) => (n ? 'この台本のすべてに(ほかに ' + n + ' か所)' : 'この台本のすべてに(ほかにはありません)'), pDict: '辞書に登録', pDictOff: 'このブラウザでは辞書を使えません(プライベートウィンドウなど、データを保存しない設定のため)。読み方はこのまま付けられます', pDictT: 'このブラウザに保存します。ほかの台本で同じ語を選ぶと、この読み方が入った状態で開きます',
|
|
87
|
+
pDevice: '読み上げで聞く', pAi: 'AI 音声で聞く', pApply: '付ける', pRemove: '読み方を削除', pAiBusy: 'AI 音声を作っています…', pAiFail: 'AI 音声を作れませんでした:', pNoVoice: 'この端末に、この言語の読み上げの声がありません。聞くには AI 音声で',
|
|
88
|
+
pNoSel: '読み方を付ける語を、台本の欄で選んでください', pNoY: '読み方を入力してください', pBadY: '読み方に { と } は使えません(64 字まで)',
|
|
89
89
|
pWhy: { space: '空白を含まない 1 つの語か記号を選んでください', expr: '1 つの語か記号だけを選んでください(式や文には付けられません)', mark: '読み方や {cue} の付いた所にかかっています。1 つの語だけを選んでください', long: '長すぎます。1 つの語だけを選んでください(' + MAX_WORD + ' 字まで)', turns: '1 つの発言の中で選んでください' },
|
|
90
90
|
dirtyAll: (n) => '未保存の変更があります(保存すると、ほかのステップの ' + n + ' か所にも読み方を付けます)', savedAll: (n) => '保存しました(ほかのステップの ' + n + ' か所にも読み方を付けました)',
|
|
91
|
-
up: '前へ', del: '削除', delT: '
|
|
91
|
+
up: '前へ', del: '削除', delT: 'この発言を削除', add: '+ 発言を追加', nConflict: '台本が変わっています。再読み込みしてください(入力した内容はコピーしておいてください)',
|
|
92
92
|
noChange: '変更はありません', next: (k, other) => '次のステップ(' + k + (other ? '、次のスライド' : '') + ')', concl: '結論の行', noNext: '次のステップはありません', noNarr: '(台本なし)',
|
|
93
93
|
busy: '開いている編集の欄を、先に保存するか取り消してください', noSlideKey: 'このステップはスライドにありません', noOpen: (alt) => '未対応のコメントはありません。スライドの上で ' + alt + '+クリックすると残せます',
|
|
94
94
|
pinAt: (x, y) => 'スライドの ' + x + ', ' + y, pinT: '押した所(スライドの座標、1280×720)',
|
|
@@ -213,6 +213,11 @@ const pinOf = (p) => {
|
|
|
213
213
|
const c = (v, hi) => Math.round(Math.max(0, Math.min(hi, v)) * 10) / 10;
|
|
214
214
|
return { x: c(p.x, W), y: c(p.y, H) };
|
|
215
215
|
};
|
|
216
|
+
// kit/core/comment-core.mjs の normPart と同じ規則(開発サーバーはこのファイルをそのまま配る)。
|
|
217
|
+
export function partOf(p) {
|
|
218
|
+
if (!p || typeof p !== 'object' || Array.isArray(p) || typeof p.name !== 'string' || !/^m-[^\s<>]*$/.test(p.name) || p.name.length > 100) return null;
|
|
219
|
+
return { name: p.name, ...(typeof p.id === 'string' && p.id ? { id: p.id.replace(/\s+/g, ' ').trim().slice(0, 200) } : {}) };
|
|
220
|
+
}
|
|
216
221
|
// マーカーの線(strokes:線の並び、線は [[x, y], …]、スライドの座標):kit/core/comment-core.mjs の normStrokes・entryStrokes・strokesCentroid と
|
|
217
222
|
// 同じ規則の写し(tools/test-ink-comments.mjs が同じ答えか確かめる)。線ごとに 2 点に満たなければ捨て、端に寄せて 0.1 に丸め、続けて同じ点は 1 つ、
|
|
218
223
|
// 500 点を超えれば Ramer–Douglas–Peucker で間引く。初めの 20 本を使い、点の合計が 2000 を超えれば全部を同じ誤差でさらに間引く。前の形の stroke は 1 本として読む
|
|
@@ -566,7 +571,7 @@ export function createEditorUI(o) {
|
|
|
566
571
|
let pin = pinOf(hint.pin);
|
|
567
572
|
const strokes = pin ? entryStrokesOf(hint) : null;
|
|
568
573
|
if (strokes) pin = strokesCentroidOf(strokes);
|
|
569
|
-
return { key, range, quote, pin, strokes };
|
|
574
|
+
return { key, range, quote, pin, strokes, part: strokes ? partOf(hint.part) : null };
|
|
570
575
|
}
|
|
571
576
|
function openComment(hint) {
|
|
572
577
|
const at0 = placeOf(hint);
|
|
@@ -617,8 +622,8 @@ export function createEditorUI(o) {
|
|
|
617
622
|
function doSave() {
|
|
618
623
|
if (!ta.value.trim() || cbox !== box) return;
|
|
619
624
|
save.disabled = true;
|
|
620
|
-
const { key, range, quote, pin, strokes } = at;
|
|
621
|
-
api('POST', '/__dev/comment', { key, range, quote, ...(pin ? { pin } : {}), ...(strokes ? { strokes } : {}), comment: ta.value }).then((j) => {
|
|
625
|
+
const { key, range, quote, pin, strokes, part } = at;
|
|
626
|
+
api('POST', '/__dev/comment', { key, range, quote, ...(pin ? { pin } : {}), ...(strokes ? { strokes } : {}), ...(part ? { part } : {}), comment: ta.value }).then((j) => {
|
|
622
627
|
if (j._status !== 200) { save.disabled = false; showErr(msg, j._offline ? L.offline : (j.error || L.cFail)); return; }
|
|
623
628
|
ta.value = ''; closeComment(true); toast(L.cDone);
|
|
624
629
|
if (commentsOpen) loadComments();
|
|
@@ -726,8 +731,11 @@ export function createEditorUI(o) {
|
|
|
726
731
|
return;
|
|
727
732
|
}
|
|
728
733
|
const sk = splitKey(key);
|
|
734
|
+
// saved:保存の結果の 1 行(「保存しました(ほかのステップの 2 か所にも…)」)。保存でプレビューが読み込み直され、同じステップの欄を
|
|
735
|
+
// 作り直しても残す(作り直しは保存の直後に来るので、残さないと 1 行がすぐ消えて読めなかった。handoff Issue #49)
|
|
736
|
+
const saved = narr && narr.key === key && !narr.dirty ? narr.saved : null;
|
|
729
737
|
// edit:入力のたびに増える版。保存の応答は、送った版が今も同じときだけ「保存した」にする(保存の途中の入力を未保存のまま残す)
|
|
730
|
-
const cur = narr = { key, slideKey: sk[0], stepKey: sk[1], turns: [], dirty: false, edit: 0, i: pos.i, pendingAll: new Map() };
|
|
738
|
+
const cur = narr = { key, slideKey: sk[0], stepKey: sk[1], turns: [], dirty: false, edit: 0, i: pos.i, pendingAll: new Map(), saved };
|
|
731
739
|
renderDrawer(true);
|
|
732
740
|
Promise.all([info ? info : loadInfo(), api('GET', '/__dev/narration?key=' + encodeURIComponent(key))]).then(([, j]) => {
|
|
733
741
|
if (narr !== cur) return;
|
|
@@ -742,7 +750,7 @@ export function createEditorUI(o) {
|
|
|
742
750
|
drawer.innerHTML = '';
|
|
743
751
|
const s = slideOf(narr.slideKey);
|
|
744
752
|
const title = (s && (s.heading || s.title)) || narr.slideKey;
|
|
745
|
-
const status = h('span', { cls: 'dv-st', text: narr.line ? L.nLine(narr.line) : L.nNone });
|
|
753
|
+
const status = h('span', { cls: 'dv-st', text: narr.saved || (narr.line ? L.nLine(narr.line) : L.nNone) });
|
|
746
754
|
const saveBtn = h('button', { cls: 'dv-pri', text: L.save });
|
|
747
755
|
const revert = h('button', { text: L.cancel, title: L.revertT });
|
|
748
756
|
const body = h('div', { cls: 'dv-body' });
|
|
@@ -760,7 +768,7 @@ export function createEditorUI(o) {
|
|
|
760
768
|
if (narr.error) { saveBtn.disabled = true; showErr(nmsg, narr.error); return; }
|
|
761
769
|
const pendingN = () => [...narr.pendingAll.values()].reduce((n, x) => n + x.n, 0);
|
|
762
770
|
const dirtyText = () => (pendingN() ? L.dirtyAll(pendingN()) : L.dirty);
|
|
763
|
-
const markDirty = () => { narr.edit++; narr.dirty = true; status.textContent = dirtyText(); status.className = 'dv-st dv-dirty'; updateSide(); };
|
|
771
|
+
const markDirty = () => { narr.edit++; narr.dirty = true; narr.saved = null; status.textContent = dirtyText(); status.className = 'dv-st dv-dirty'; updateSide(); };
|
|
764
772
|
// 台本の欄(server/script-field.js)と、読み方の欄(#101)。fields:発言ごとの欄、lastField:最後に入った欄
|
|
765
773
|
let fields = [], lastField = 0, pron = null;
|
|
766
774
|
const narrLang = () => textLang(narr.turns.map((t) => t.text).join(' ')) ;
|
|
@@ -930,7 +938,7 @@ export function createEditorUI(o) {
|
|
|
930
938
|
const cur = narr;
|
|
931
939
|
function doSave() {
|
|
932
940
|
if (saveBtn.disabled || narr !== cur) return;
|
|
933
|
-
saveBtn.disabled = true; saveBtn.textContent = L.saving;
|
|
941
|
+
saveBtn.disabled = true; saveBtn.textContent = L.saving; cur.saved = null;
|
|
934
942
|
const sent = cur.edit;
|
|
935
943
|
api('POST', '/__dev/narration', { slideKey: cur.slideKey, stepKey: cur.stepKey, turns: cur.turns.map((t) => ({ ...t })), rev: cur.rev }).then((j) => {
|
|
936
944
|
saveBtn.textContent = L.save;
|
|
@@ -941,7 +949,7 @@ export function createEditorUI(o) {
|
|
|
941
949
|
// 送った後に入力があれば(版が進んだ)、未保存のまま:欄の中身を替えず、デッキに付いていかず、プレビューは inert のまま
|
|
942
950
|
if (cur.edit !== sent) { status.textContent = L.dirty; status.className = 'dv-st dv-dirty'; updateSide(); return; }
|
|
943
951
|
const finish = (n) => {
|
|
944
|
-
cur.dirty = false; status.textContent = n ? L.savedAll(n) : j.changed ? L.saved : L.noChange; status.className = 'dv-st'; updateSide();
|
|
952
|
+
cur.dirty = false; status.textContent = cur.saved = n ? L.savedAll(n) : j.changed ? L.saved : L.noChange; status.className = 'dv-st'; updateSide();
|
|
945
953
|
if (narr === cur && pos && pos.key !== cur.key) narrFollow(true);
|
|
946
954
|
};
|
|
947
955
|
// 読み方の「この台本のすべてに」:ほかのステップにも付ける(このステップを保存した後)
|
package/server/hints.js
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
// 段階の途中(動いている間)に押しても、点は鍵の段階の最後の状態(DECK.seek(i, k, Infinity))を指すものとして残す
|
|
14
14
|
// comment {…, strokes} マーカー(編集中の道具 ink、m)で線を描き終えるたび(kit/tools.js の deck:ink)。strokes は書きかけのメモの線の全部
|
|
15
15
|
// [[[x, y], …], …](スライドの座標。親が edit-ink-reset を送るか段階が変わるまで足していく。20 本まで)。
|
|
16
|
+
// part は重心の下の最も内側の m-* 要素の {name, id?}(id は data-id)。
|
|
16
17
|
// pin は全部の線の重心(長さで重みを付けた区間の中点の平均)、key・src・quote・near は Alt+クリックと同じく、重心の下の要素から
|
|
17
18
|
// (重心が舞台の外・描く面の外なら 1 本目の 1 点目の下)。線を丸め・間引き・確かめるのは親の画面と書き込む側(kit/core/comment-core.mjs の normStrokes)
|
|
18
19
|
// 位置は実行系の deck-pos(kit/deck.js)をそのまま使う
|
|
@@ -222,12 +223,31 @@ document.addEventListener("deck:ink", function(e){
|
|
|
222
223
|
var key = window.DECK.state().key;
|
|
223
224
|
if (key !== inkKey){ inkPend = []; inkKey = key; }
|
|
224
225
|
if (inkPend.length >= INK_MAX){ if (window.DECK.toast) window.DECK.toast(window.DECK.ja === false ? "A comment holds at most 20 lines" : "1 つのコメントの線は 20 本まで"); return; }
|
|
225
|
-
var S = inkPend.concat([P]), c = centroid(S), at
|
|
226
|
+
var S = inkPend.concat([P]), c = centroid(S), at, m, part = null;
|
|
227
|
+
// 同じステップの最後の状態で調べる。描いた線が何個のパーツをまたいでも、重心の下の 1 個だけ。
|
|
228
|
+
window.DECK.aside(function(){
|
|
229
|
+
var pos = posOfKey(key);
|
|
230
|
+
if (pos) window.DECK.seek(pos.i, pos.k, Infinity);
|
|
231
|
+
var center = pointAt(c[0], c[1]);
|
|
232
|
+
if (center) {
|
|
233
|
+
var path = center.ev.composedPath();
|
|
234
|
+
for (var j = 0; j < path.length; j++) {
|
|
235
|
+
var el = path[j], tag = el.localName || "";
|
|
236
|
+
if (tag.indexOf("m-") === 0) {
|
|
237
|
+
part = {name: tag};
|
|
238
|
+
var id = el.getAttribute("data-id"); if (id) part.id = id;
|
|
239
|
+
break;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
at = center || pointAt(S[0][0][0], S[0][0][1]);
|
|
244
|
+
if (at) m = commentHint(at.ev, at.target);
|
|
245
|
+
});
|
|
226
246
|
if (!at) return;
|
|
227
247
|
inkPend = S;
|
|
228
|
-
var m = commentHint(at.ev, at.target);
|
|
229
248
|
m.pin = {x: Math.round(c[0] * 10) / 10, y: Math.round(c[1] * 10) / 10};
|
|
230
249
|
m.strokes = S.slice();
|
|
250
|
+
if (part) m.part = part;
|
|
231
251
|
send(m);
|
|
232
252
|
});
|
|
233
253
|
// r(録音モードを開く)の直後の Space は、デッキに渡さない(デッキが段階を進めてしまう)。録音モードはすぐフォーカスを
|
package/tts/yomi.yaml
CHANGED
|
@@ -75,6 +75,14 @@ terms:
|
|
|
75
75
|
NPV: エヌピーブイ
|
|
76
76
|
PCA: ピーシーエー
|
|
77
77
|
DX: ディーエックス
|
|
78
|
+
# 2026-11-18(handoff #48、規格化の機械の決まりを満たした語)
|
|
79
|
+
# Egatari は仮名(えがたり)では抑揚が変になるので漢字に(作者 11/18)。yomi.py と kit/core/yomi.mjs は読みの値を字のまま置くので漢字も受ける
|
|
80
|
+
# HTML は作者が聴いて足す(11/19)。PDF・URL は読みなしのほうが自然なので載せない(作者 11/19、handoff/yomi48-2026-11-18/)
|
|
81
|
+
Egatari: 絵語り
|
|
82
|
+
SCORM: スコーム
|
|
83
|
+
LMS: エルエムエス
|
|
84
|
+
CSS: シーエスエス
|
|
85
|
+
HTML: エイチティーエムエル
|
|
78
86
|
# AI は載せない(#163、作者 11/15):辞書を通さない「AI」のほうが抑揚が自然で、bob・gendo とも作者が聴いて「エーアイ」と読めていた
|
|
79
87
|
|
|
80
88
|
# 候補読みのリスト。先頭がこの原稿群での通常の読み(yomi_check.py が期待値に使う)。
|
|
@@ -41,25 +41,32 @@
|
|
|
41
41
|
| [`<m-tree>`](sha256/e0daed8338f51de7e86b5980a098394298455972218370ee65331ca48f7f9696/README.md) | 1.13.1 | 階層・分類の木(組織図、生物の分類など)を、根から 1 段ずつ組み立てる。座標は書かず、配置は部品が決める | 節の深さの数(by="level"、既定)か節の数(by="node")。節と edges の step があればその最大 | orient, by, link, size, fade, draw | [demo](sha256/e0daed8338f51de7e86b5980a098394298455972218370ee65331ca48f7f9696/demo.html) |
|
|
42
42
|
| [`<m-venn>`](sha256/82b2dbc925a4ae4511bb48ccb1777a3932313ac7e18cb91572371d272a930980/README.md) | 1.13.1 | 2 つか 3 つの集合の円(ベン図)。集合を 1 つずつ出し、最後に重なりを強めてその中の項目を出す | 集合の数 + 1(overlaps="each" なら 集合の数 + 項目のある重なりの数) | size, dur, spread, overlaps | [demo](sha256/82b2dbc925a4ae4511bb48ccb1777a3932313ac7e18cb91572371d272a930980/demo.html) |
|
|
43
43
|
|
|
44
|
-
## 2.x のパーツ(components2.lock.json の既定の版 2.
|
|
44
|
+
## 2.x のパーツ(components2.lock.json の既定の版 2.15.0)
|
|
45
45
|
|
|
46
46
|
1.x の目録にない、2.x 専用の要素パーツ(`kind: "element"`)。土台パーツ(`kind: "library"`:base・boxplot-core・codetree-core・
|
|
47
47
|
expr・heatmap-core・hist-core・icons・kanbun-core・markup-reader・plot・shape)は教材の作者が直接書かないので一覧には出さない。
|
|
48
48
|
|
|
49
49
|
| 部品 | 版 | 内容 | 段階の数 | 受け取る値 | 見本 |
|
|
50
50
|
|---|---|---|---|---|---|
|
|
51
|
-
| [`<m-balance>`](sha256/
|
|
52
|
-
| [`<m-callout>`](sha256/
|
|
53
|
-
| [`<m-cards>`](sha256/
|
|
54
|
-
| [`<m-checklist>`](sha256/
|
|
55
|
-
| [`<m-ci>`](sha256/
|
|
56
|
-
| [`<m-
|
|
57
|
-
| [`<m-
|
|
58
|
-
| [`<m-
|
|
59
|
-
| [`<m-
|
|
60
|
-
| [`<m-
|
|
61
|
-
| [`<m-
|
|
62
|
-
| [`<m-
|
|
63
|
-
| [`<m-
|
|
51
|
+
| [`<m-balance>`](sha256/d75ab2c8f6c01082bfcaeaba44290367d6b49654e2bf538422b7b3e499de9acf/README.md) | 2.0.2 | 確率の重りを置き、支点が期待値でつり合う様子を示す | 数直線と重り→支点を期待値へ→値と和の式(3 ステップ) | dur, digits, size | [demo](sha256/d75ab2c8f6c01082bfcaeaba44290367d6b49654e2bf538422b7b3e499de9acf/demo.html) |
|
|
52
|
+
| [`<m-callout>`](sha256/1cc1732d052e58f7913ee50c0fc834d896db6b00ba779164de11b442347863db/README.md) | 2.0.1 | 画面の画像に番号の丸を置き、引き出し線で横の説明につなぐ。ステップごとに 1 つずつ(研修・手引き・操作の説明) | 説明の step の最大(既定は説明 1 つ = 1 ステップ。per-step で n 個ずつ) | side, label-width, per-step, dur, size | [demo](sha256/1cc1732d052e58f7913ee50c0fc834d896db6b00ba779164de11b442347863db/demo.html) |
|
|
53
|
+
| [`<m-cards>`](sha256/6937967bbf62098aca7cef99f14f97fa11c861a12da6a1d8fe5fa55a6b4551f2/README.md) | 2.1.0 | カード(番号の丸・アイコン・見出し・説明)を横一列か 2 段に並べ、ステップごとに出す。矢印で順を、枠の色で強調を見せる | カードの step の最大(既定はカード 1 枚 = 1 ステップ。per-step で n 枚ずつ) | layout, arrows, nums, hilite, per-step, stagger, dur | [demo](sha256/6937967bbf62098aca7cef99f14f97fa11c861a12da6a1d8fe5fa55a6b4551f2/demo.html) |
|
|
54
|
+
| [`<m-checklist>`](sha256/4b515bfb3a39a6c1e2b04f235affc5bc84e74d80bfd7f9e6d9b5d84d0a9eeb57/README.md) | 2.0.1 | 確かめる項目を並べ、ステップごとに 1 つずつ印(✓・×)を描く。印はスライドの中身で、見ている人の操作を保存しない | 項目の step の最大(既定は項目 1 つ = 1 ステップ。per-step で n 個ずつ) | reveal, per-step, dur, stagger, size | [demo](sha256/4b515bfb3a39a6c1e2b04f235affc5bc84e74d80bfd7f9e6d9b5d84d0a9eeb57/demo.html) |
|
|
55
|
+
| [`<m-ci>`](sha256/e24a4235a661bfda4049e1c72b6c376066fcc65e27a2bdfe77942a3394726c81/README.md) | 2.0.2 | 正規標本の区間を重ね、母平均を含む割合で信頼水準を説明する | 軸と μ→区間を順に→含む数と外れの強調(3 ステップ) | dur, fast, size | [demo](sha256/e24a4235a661bfda4049e1c72b6c376066fcc65e27a2bdfe77942a3394726c81/demo.html) |
|
|
56
|
+
| [`<m-classify2d>`](sha256/07b8bfd9240585ee76082632c6f9483017d46ad3c74e509e715c27294970606c/README.md) | 2.0.1 | scikit-learn の分類を 2 次元で描く。点・領域・境界・確率や決定関数の等高線・サポートベクトル・ボロノイ図・決定木の分割・k 平均法 | 点 → 領域 → 等高線 → サポートベクトル(決定木は分割 1 つずつ → 葉、k 平均法は割り当てと更新を交互に) | dur, size, marker | [demo](sha256/07b8bfd9240585ee76082632c6f9483017d46ad3c74e509e715c27294970606c/demo.html) |
|
|
57
|
+
| [`<m-code>`](sha256/41b82d13037c4597e560cf2b3adebea4495ebb4711a8bb82b1a84495839b8fc8/README.md) | 2.2.1 | 短いコードを行ごとに説明し、最後に出力を見せる | コード全体→説明を順に→出力(説明数+1、出力ありは+2) | dur, size, outputPos | [demo](sha256/41b82d13037c4597e560cf2b3adebea4495ebb4711a8bb82b1a84495839b8fc8/demo.html) |
|
|
58
|
+
| [`<m-contour>`](sha256/91a1e0e48e20cac705cbe6e33e66a24a2851b1dc88c5164ed906bcecba4d943f/README.md) | 2.0.1 | 2 変数の関数の等高線を値ごとに引き、勾配の矢印と、勾配降下法などの反復の道を 1 点ずつ見せる | 等高線の値ごと(by="all" なら 1)→ 勾配 → 道の点ごと | dur, size, by | [demo](sha256/91a1e0e48e20cac705cbe6e33e66a24a2851b1dc88c5164ed906bcecba4d943f/demo.html) |
|
|
59
|
+
| [`<m-ctable>`](sha256/6156a8a03235e1ed92d3cd3ba1f40df86667059003d82e47297bd3917ef562b8/README.md) | 2.0.1 | 分散分析表・分割表・潜在結果の表を、ステップごとに埋める。使ったセルと埋めたセルを示し、表の下に式。計算を確かめる | 埋めるステップの数(anova は値の列の数、contingency は計・期待度数・χ²・オッズ比、po は 3) | dur, digits, size | [demo](sha256/6156a8a03235e1ed92d3cd3ba1f40df86667059003d82e47297bd3917ef562b8/demo.html) |
|
|
60
|
+
| [`<m-diverge>`](sha256/5cf9baec12bac716d9218d6fbc4f95446adf31658da62564aa403bb5bdee542e/README.md) | 2.0.1 | 基準の棒から始め、増減の棒を前の棒の端から上下に積んで、最後に合計の棒を立てる(ウォーターフォール) | 棒の step の最大(既定は棒 1 本 = 1 ステップ。per-step で n 本ずつ) | unit, digits, per-step, dur, stagger, min, ticks, links, al | [demo](sha256/5cf9baec12bac716d9218d6fbc4f95446adf31658da62564aa403bb5bdee542e/demo.html) |
|
|
61
|
+
| [`<m-folds>`](sha256/94f4f798fdd070fc1693494e772ff479d3e694a07a0c97b6e97c3b3895cad478/README.md) | 2.1.1 | データを k 個に分けた 1 つ(フォールド)を検証に使い、検証に使うフォールドを順に替えて、各分割の誤差と平均を示す | 分割を 1 行ずつ→平均(k + 1 ステップ) | dur, size | [demo](sha256/94f4f798fdd070fc1693494e772ff479d3e694a07a0c97b6e97c3b3895cad478/demo.html) |
|
|
62
|
+
| [`<m-mapping>`](sha256/d4aa3ffb394d5db7f47081b1818958547fe164bb968df03131f9400c103b97c4/README.md) | 2.1.0 | 実験の結果を数値へ対応させ、同じ値になる結果をまとめて確率分布を作る | 結果のラベル→対応の矢印→同じ値の色と個数・確率の和→分布の横棒の 4 ステップ | dur, stagger, digits, size | [demo](sha256/d4aa3ffb394d5db7f47081b1818958547fe164bb968df03131f9400c103b97c4/demo.html) |
|
|
63
|
+
| [`<m-network>`](sha256/6084fd3102b7d450db3804120ac27aa585ab44937734d980fb50c51f39fc98a7/README.md) | 2.2.0 | グラフの探索(幅優先・ダイクストラなど)や巡回路を 1 ステップずつ。今の頂点・候補・訪れた頂点、選んだ辺、合計 | steps の数 | dur, size, weights | [demo](sha256/6084fd3102b7d450db3804120ac27aa585ab44937734d980fb50c51f39fc98a7/demo.html) |
|
|
64
|
+
| [`<m-nnet>`](sha256/337febae1374670413653c453feee7cec169892e130248617c6642a91678564e/README.md) | 2.1.0 | ニューラルネットの層を並べ、前向きの計算を層ごとに見せる。ニューロンはまとめた丸か、Σ(重み付きの和)と f(活性化関数)に分けた形 | 入力 1 + まとめた層 1・分けた層 2(steps を書けばその数) | dur, digits, edges, size | [demo](sha256/337febae1374670413653c453feee7cec169892e130248617c6642a91678564e/demo.html) |
|
|
65
|
+
| [`<m-orbit>`](sha256/cbde046e30c35db60259911a88e2ae0bedaf545e29b1da8b8ce13bc602a33c19/README.md) | 2.0.7 | 月の満ち欠け(金星の満ち欠け)。北極の上から見た図と地球から見た形を並べ、月を位置から位置へ動かす。形は位置から計算する | 動く先の数(既定は 8 つの位置を新月から 1 周 = 8 ステップ。visit で決める) | mode, hemisphere, sun, earth, moon, observer, size, dur | [demo](sha256/cbde046e30c35db60259911a88e2ae0bedaf545e29b1da8b8ce13bc602a33c19/demo.html) |
|
|
66
|
+
| [`<m-particles>`](sha256/b8096d7a60609520981273673761a110e40e3bdf52a7ab5548363b20e16f6e93/README.md) | 2.0.3 | 状態変化の粒子の並び方と間隔、化学変化で保存される原子の数を見せる | state は states の数 − 1(既定 2)。reaction は反応前→原子に分かれる→反応後の 3 ステップ | mode, count, size, dur, volume, motion | [demo](sha256/b8096d7a60609520981273673761a110e40e3bdf52a7ab5548363b20e16f6e93/demo.html) |
|
|
67
|
+
| [`<m-sampling>`](sha256/7822f137d446604a83c1dbc3b40fdb455001dc55da12276ff3e7079d270dd143/README.md) | 2.0.2 | 母集団から標本を取り、比率・平均の標本分布を積む | 母集団→抽出→統計量と点→反復の 4 ステップ | dur, stagger, fast, size | [demo](sha256/7822f137d446604a83c1dbc3b40fdb455001dc55da12276ff3e7079d270dd143/demo.html) |
|
|
68
|
+
| [`<m-score>`](sha256/5662bea8cc48f484ccf14c5a8ac12d64b2c5ab032a26176d133ed3a8eb33a557/README.md) | 2.1.3 | 楽譜(五線譜)を 1 音・和音ずつ、または 1 小節ずつ出して音も鳴らす。ABC 記譜法で書く | 音符・和音・休符 1 つ=1 ステップ。by="measure" なら 1 小節=1 ステップ(per-step="N" なら N 小節。弱起の小節は次のステップに入る) | by, names, per-step | [demo](sha256/5662bea8cc48f484ccf14c5a8ac12d64b2c5ab032a26176d133ed3a8eb33a557/demo.html) |
|
|
69
|
+
| [`<m-trace>`](sha256/5afcaf27e9209a32a8a8e6667b637ea434326b76f563689552716de953c94a98/README.md) | 2.0.1 | 短いコードを 1 行ずつ実行した記録を見せる。今の行に印、変わった変数に印、その時点までの出力 | トレースの行の数(by="time" なら 1) | dur, by, rate, size | [demo](sha256/5afcaf27e9209a32a8a8e6667b637ea434326b76f563689552716de953c94a98/demo.html) |
|
|
70
|
+
| [`<m-vector>`](sha256/d582d02ceeaf1ec4d94115b806852ddb66c009788e67728ae0e08cb8d29ca546/README.md) | 2.0.1 | 平面のベクトルの和・差・スカラー倍・正射影・内積と、2 × 2 の行列の 1 次変換・固有ベクトル・基底の取り替えを 1 ステップずつ。右に式 | ベクトル → ops を 1 つずつ → 行列の変換(matrix があれば)→ 新しい基底(basis があれば) | dur, size | [demo](sha256/d582d02ceeaf1ec4d94115b806852ddb66c009788e67728ae0e08cb8d29ca546/demo.html) |
|
|
64
71
|
|
|
65
72
|
名前で引く線のアイコン(土台パーツ `icons`)は[この README](sha256/deae02519dd79e53cf18137777d486cb3b3234ab02a71d26c4e2925593b047ba/README.md) を見る。
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: Cycle diagram: stage boxes on a circle clockwise from 12, joined by arc arrows (last back to first too)
|
|
3
|
+
steps: number of stages (default 1 per step; per-step n each; node step wins)
|
|
4
|
+
props:
|
|
5
|
+
per-step: stages per step (0 = all)
|
|
6
|
+
size: box text px (shrinks to 24)
|
|
7
|
+
dur: stage appear (s)
|
|
8
|
+
stagger: box offset (s)
|
|
9
|
+
example: {"center": {"label": "PDCA"}, "nodes": [{"label": "Plan"}, {"label": "Do"}, {"label": "Check"}, {"label": "Act"}]}
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
Stages that repeat in order: PDCA, water cycle, cell cycle. No coordinates; list stages in order ([conventions](../../docs/conventions.ja.md) §2).
|
|
13
|
+
|
|
14
|
+
Child JSON: `{"nodes": [...], "center": {...}, "edges": [...]}` (`center`, `edges` optional).
|
|
15
|
+
|
|
16
|
+
- `nodes`: stages (3–8), in order clockwise from 12; arcs to the next, last→first automatic
|
|
17
|
+
- `label` (`\n`) or `tex` (KaTeX), `note` (small 2nd line, `--muted`), `tone` (`term` default, `emph`, `muted`, `accent2`, `series-1..4`), `step`, `at`, `id`
|
|
18
|
+
- `center`: middle name, an object (`{"label": "PDCA", "note": "…"}`); appears with stage 1 (`center.step`). `m-pie`'s `center` is a string
|
|
19
|
+
- same fields as nodes, no `id`; `tone: emph` box: `--emph-tint` fill, `--emph` frame/text
|
|
20
|
+
- `edges`: extra links (`from` `to` = node `id`s, `label` `tone` `dash` `step`); dashed arrows edge to edge
|
|
21
|
+
- Arrows `--muted`, 3 px
|
|
22
|
+
|
|
23
|
+
Layout:
|
|
24
|
+
|
|
25
|
+
- Wide spaces: ellipse up to 1.9× wider (never taller); sized to fit the element
|
|
26
|
+
- Incoming arrow appears with its box; last→first after the last box
|
|
27
|
+
- `variant`: `fade` (default), `draw` (arrows first), `grow`; same steps and end
|
|
28
|
+
- `cues(k)`: start times of 2nd+ boxes in one step
|
|
29
|
+
|
|
30
|
+
The demo is `demo.html`.
|
|
31
|
+
|
|
32
|
+
<!-- llm: omit -->
|
|
33
|
+
Notes
|
|
34
|
+
|
|
35
|
+
- `fade`: box rises 12 px, then incoming arrow. `draw`: arrow, then box slides 12 px from the previous side. `grow`: box slides 12 px and grows from 0.92× while the arrow draws. All within 12 px (box centre) and `fade` time (conventions §1.2)
|
|
36
|
+
- Show later steps faintly (`ctx.preview`): later boxes and arrows faint
|
|
37
|
+
- Box width estimated from characters (CJK 1, digits 0.6, Latin 0.62)
|
|
38
|
+
- No fit (boxes overlap, no room for arrows, centre too big): text shrinks from `size` by 2px to 24px, then `ctx.report("size", …)`
|
|
39
|
+
- Arrows are elliptical arcs (SVG `A`), 8px from the box; over 8 stages they get too short
|
|
40
|
+
<!-- llm: end -->
|