1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | class AstaWara {
|
4 | constructor(id, urip, name) {
|
5 | this.id = id;
|
6 | this.urip = urip;
|
7 | this.name = name;
|
8 | Object.freeze(this);
|
9 | }
|
10 | static get values() { return _C_VAL; }
|
11 | static get SRI() { return _C_VAL[0]; }
|
12 | static get INDRA() { return _C_VAL[1]; }
|
13 | static get GURU() { return _C_VAL[2]; }
|
14 | static get YAMA() { return _C_VAL[3]; }
|
15 | static get LUDRA() { return _C_VAL[4]; }
|
16 | static get BRAHMA() { return _C_VAL[5]; }
|
17 | static get KALA() { return _C_VAL[6]; }
|
18 | static get UMA() { return _C_VAL[7]; }
|
19 | }
|
20 | exports.AstaWara = AstaWara;
|
21 | const _C_VAL = [
|
22 | new AstaWara(0, 6, "Sri"),
|
23 | new AstaWara(1, 5, "Indra"),
|
24 | new AstaWara(2, 8, "Guru"),
|
25 | new AstaWara(3, 9, "Yama"),
|
26 | new AstaWara(4, 3, "Ludra"),
|
27 | new AstaWara(5, 7, "Brahma"),
|
28 | new AstaWara(6, 1, "Kala"),
|
29 | new AstaWara(7, 4, "Uma"),
|
30 | ];
|
31 | Object.freeze(_C_VAL);
|