uhr/webcomponent/language-de_ch.js

65 lines
1.9 KiB
JavaScript

export class Layout {
_es_isch = {1: [1, 2, 4, 5, 6, 7]};
_ab = {4: [1, 2]};
_vor = {3: [9, 10, 11]};
_haubi = {4: [4, 5, 6, 7, 8]};
_fuef = {1: [9, 10, 11]};
_zae = {2: [9, 10, 11]};
_viertu = {2: [1, 2, 3, 4, 5, 6]};
_zwaenzg = {3: [1, 2, 3, 4, 5, 6]};
constructor() {
}
get letters() {
return [
'ESKISCHAFÜF',
'VIERTUBFZÄÄ',
'ZWÄNZGSIVOR',
'ABOHAUBIEGE',
'EISZWÖISDRÜ',
'VIERIFÜFIQT',
'SÄCHSISIBNI',
'ACHTINÜNIEL',
'ZÄNIERBEUFI',
'ZWÖUFINAUHR'
];
}
get permanentlyOn() {
return this._es_isch;
}
get minutes() {
return {
"5,6,7,8,9": [this._fuef, this._ab],
"10,11,12,13,14": [this._zae, this._ab],
"15,16,17,18,19": [this._viertu, this._ab],
"20,21,22,23,24": [this._zwaenzg, this._ab],
"25,26,27,28,29": [this._fuef, this._vor, this._haubi],
"30,31,32,33,34": [this._haubi],
"35,36,37,38,39": [this._fuef, this._ab, this._haubi],
"40,41,42,43,44": [this._zwaenzg, this._vor],
"45,46,47,48,49": [this._viertu, this._vor],
"50,51,52,53,54": [this._zae, this._vor],
"55,56,57,58,59": [this._fuef, this._vor]
};
}
get hours() {
return {
"0,12": {10: [1, 2, 3, 4, 5, 6]},
"1,13": {5: [1, 2, 3]},
"2,14": {5: [4, 5, 6, 7]},
"3,15": {5: [9, 10, 11]},
"4,16": {6: [1, 2, 3, 4, 5]},
"5,17": {6: [6, 7, 8, 9]},
"6,18": {7: [1, 2, 3, 4, 5, 6]},
"7,19": {7: [7, 8, 9, 10, 11]},
"8,20": {8: [1, 2, 3, 4, 5]},
"9,21": {8: [6, 7, 8, 9]},
"10,22": {9: [1, 2, 3, 4]},
"11,23": {9: [8, 9, 10, 11]}
};
}
}