mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-02 18:22:42 -08:00
feat(assets): bundle runtime assets and vendor dependencies
This commit is contained in:
92
vendor/yomitan/data/templates/anki-field-templates-upgrade-v24.handlebars
vendored
Normal file
92
vendor/yomitan/data/templates/anki-field-templates-upgrade-v24.handlebars
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
{{#*inline "cloze-body-kana"}}
|
||||
{{~#if definition.cloze}}{{definition.cloze.bodyKana}}{{/if~}}
|
||||
{{/inline}}
|
||||
|
||||
{{#*inline "phonetic-transcriptions"}}
|
||||
{{~#if (op ">" definition.phoneticTranscriptions.length 0)~}}
|
||||
<ul>
|
||||
{{~#each definition.phoneticTranscriptions~}}
|
||||
{{~#each phoneticTranscriptions~}}
|
||||
<li>
|
||||
{{~set "any" false~}}
|
||||
{{~#each tags~}}
|
||||
{{~#if (get "any")}}, {{else}}<i>({{/if~}}
|
||||
{{name}}
|
||||
{{~set "any" true~}}
|
||||
{{~/each~}}
|
||||
{{~#if (get "any")}})</i> {{/if~}}
|
||||
{{ipa~}}
|
||||
</li>
|
||||
{{~/each~}}
|
||||
{{~/each~}}
|
||||
</ul>
|
||||
{{~/if~}}
|
||||
{{/inline}}
|
||||
|
||||
{{<<<<<<<}}
|
||||
{{#*inline "conjugation"}}
|
||||
{{~#if definition.reasons~}}
|
||||
{{~#each definition.reasons~}}
|
||||
{{~#if (op ">" @index 0)}} « {{/if~}}
|
||||
{{.}}
|
||||
{{~/each~}}
|
||||
{{~/if~}}
|
||||
{{/inline}}
|
||||
{{=======}}
|
||||
{{#*inline "conjugation"}}
|
||||
{{~#if (op ">" definition.inflectionRuleChainCandidates.length 0)~}}
|
||||
{{~set "multiple" false~}}
|
||||
{{~#if (op ">" definition.inflectionRuleChainCandidates.length 1)~}}
|
||||
{{~set "multiple" true~}}
|
||||
{{~/if~}}
|
||||
{{~#if (get "multiple")~}}<ul>{{/if~}}
|
||||
{{~#each definition.inflectionRuleChainCandidates~}}
|
||||
{{~#if (op ">" inflectionRules.length 0)~}}
|
||||
{{~#if (get "multiple")~}}<li>{{/if~}}
|
||||
{{~#each inflectionRules~}}
|
||||
{{~#if (op ">" @index 0)}} « {{/if~}}
|
||||
{{.}}
|
||||
{{~/each~}}
|
||||
{{~#if (get "multiple")~}}</li>{{/if~}}
|
||||
{{~/if~}}
|
||||
{{~/each~}}
|
||||
{{~#if (get "multiple")~}}</ul>{{/if~}}
|
||||
{{~/if~}}
|
||||
{{/inline}}
|
||||
{{>>>>>>>}}
|
||||
|
||||
{{#*inline "frequency-harmonic-rank"}}
|
||||
{{~#if (op "===" definition.frequencyHarmonic -1) ~}}
|
||||
9999999
|
||||
{{~else ~}}
|
||||
{{definition.frequencyHarmonic}}
|
||||
{{~/if~}}
|
||||
{{/inline}}
|
||||
|
||||
{{#*inline "frequency-harmonic-occurrence"}}
|
||||
{{~#if (op "===" definition.frequencyHarmonic -1) ~}}
|
||||
0
|
||||
{{~else ~}}
|
||||
{{definition.frequencyHarmonic}}
|
||||
{{~/if~}}
|
||||
{{/inline}}
|
||||
|
||||
{{#*inline "frequency-average-rank"}}
|
||||
{{~#if (op "===" definition.frequencyAverage -1) ~}}
|
||||
9999999
|
||||
{{~else ~}}
|
||||
{{definition.frequencyAverage}}
|
||||
{{~/if~}}
|
||||
{{/inline}}
|
||||
|
||||
{{#*inline "frequency-average-occurrence"}}
|
||||
{{~#if (op "===" definition.frequencyAverage -1) ~}}
|
||||
0
|
||||
{{~else ~}}
|
||||
{{definition.frequencyAverage}}
|
||||
{{~/if~}}
|
||||
{{/inline}}
|
||||
|
||||
{{~#*inline "pitch-accent-categories"~}}
|
||||
{{~#each (pitchCategories @root)~}}{{~.~}}{{~#unless @last~}},{{~/unless~}}{{~/each~}}
|
||||
{{~/inline~}}
|
||||
Reference in New Issue
Block a user