UNPKG

2.04 kBJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3class Sasih {
4 constructor(id, refId, name) {
5 this.id = id;
6 this.refId = refId;
7 this.name = name;
8 Object.freeze(this);
9 }
10 static get values() { return _C_VAL; }
11 static get KASA() { return _C_VAL[0]; }
12 static get KARO() { return _C_VAL[1]; }
13 static get KATIGA() { return _C_VAL[2]; }
14 static get KAPAT() { return _C_VAL[3]; }
15 static get KALIMA() { return _C_VAL[4]; }
16 static get KANEM() { return _C_VAL[5]; }
17 static get KAPITU() { return _C_VAL[6]; }
18 static get KAWOLU() { return _C_VAL[7]; }
19 static get KASANGA() { return _C_VAL[8]; }
20 static get KADASA() { return _C_VAL[9]; }
21 static get DESTHA() { return _C_VAL[10]; }
22 static get SADHA() { return _C_VAL[11]; }
23 static get MALA_DESTHA() { return _C_VAL[12]; }
24 static get MALA_SADHA() { return _C_VAL[13]; }
25 static get NAMPIH_DESTHA() { return _C_VAL[14]; }
26 static get NAMPIH_KATIGA() { return _C_VAL[15]; }
27 static get NAMPIH_KASA() { return _C_VAL[16]; }
28 static get NAMPIH_KADASA() { return _C_VAL[17]; }
29 static get NAMPIH_KARO() { return _C_VAL[18]; }
30 static get NAMPIH_SADHA() { return _C_VAL[19]; }
31 get reference() { return _C_VAL[this.refId]; }
32}
33exports.Sasih = Sasih;
34const _C_VAL = [
35 new Sasih(0, 0, "Kasa"),
36 new Sasih(1, 1, "Karo"),
37 new Sasih(2, 2, "Katiga"),
38 new Sasih(3, 3, "Kapat"),
39 new Sasih(4, 4, "Kalima"),
40 new Sasih(5, 5, "Kanem"),
41 new Sasih(6, 6, "Kapitu"),
42 new Sasih(7, 7, "Kawolu"),
43 new Sasih(8, 8, "Kasanga"),
44 new Sasih(9, 9, "Kadasa"),
45 new Sasih(10, 10, "Destha"),
46 new Sasih(11, 11, "Sadha"),
47 new Sasih(12, 10, "Mala Destha"),
48 new Sasih(13, 11, "Mala Sadha"),
49 new Sasih(14, 10, "Nampih Destha"),
50 new Sasih(15, 2, "Nampih Katiga"),
51 new Sasih(16, 0, "Nampih Kasa"),
52 new Sasih(17, 9, "Nampih Kadasa"),
53 new Sasih(18, 1, "Nampih Karo"),
54 new Sasih(19, 11, "Nampih Sadha"),
55];
56Object.freeze(_C_VAL);