PageSourceSearch

https://www.orient-latin.com/assets/controllers/palette_row_contro…1998c116ca60a56a49d10da0ab499ddf8be2de69.js

js orient-latin.com collected 2026-10-02 11:46:51 UTC 658 bytes, 19 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3// Ligne d'entrée de palette d'une langue. Un « caractère » n'a qu'une valeur,
4// la forme originale (glyphe de script ou diacritique) ; un « terme » porte ses
5// deux formes. On désactive donc le champ translittération quand le type est
6// « caractère », et on le réactive pour un « terme ».
7export default class extends Controller {
8  static targets = ["kind", "transliteration"]
9
10  connect() {
11    this.toggle()
12  }
13
14  toggle() {
15    const isChar = this.kindTarget.value === "char"
16    this.transliterationTarget.disabled = isChar
17    if (isChar) this.transliterationTarget.value = ""
18  }
19};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.