UNPKG

800 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3class PancaWara {
4 constructor(id, urip, kupih, name) {
5 this.id = id;
6 this.urip = urip;
7 this.kupih = kupih;
8 this.name = name;
9 Object.freeze(this);
10 }
11 static get values() { return _C_VAL; }
12 static get PAING() { return _C_VAL[0]; }
13 static get PON() { return _C_VAL[1]; }
14 static get WAGE() { return _C_VAL[2]; }
15 static get KLIWON() { return _C_VAL[3]; }
16 static get UMANIS() { return _C_VAL[4]; }
17}
18exports.PancaWara = PancaWara;
19const _C_VAL = [
20 new PancaWara(0, 9, 3, "Paing"),
21 new PancaWara(1, 7, 4, "Pon"),
22 new PancaWara(2, 4, 5, "Wage"),
23 new PancaWara(3, 8, 1, "Kliwon"),
24 new PancaWara(4, 5, 2, "Umanis"),
25];
26Object.freeze(_C_VAL);