wv-gotcha
Version:
 wv-local-service-bus # Purpose To accumulate your walkthroughs to accomplish your common tasks with less effort.
19 lines • 658 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Mcq_PickGenTemplate = void 0;
const Mcq_1 = require("./Mcq");
class Mcq_PickGenTemplate extends Mcq_1.Mcq {
constructor(_translationMaps) {
super();
this._translationMaps = _translationMaps;
this._mappings = _translationMaps.xSelectMany(map => map.mappings).xSort((m1, m2) => m1.title > m2.title ? 1 : -1);
}
get _deduceOptionText() {
return option => option.title;
}
get options() {
return this._mappings;
}
}
exports.Mcq_PickGenTemplate = Mcq_PickGenTemplate;
//# sourceMappingURL=Mcq_PickGenTemplate.js.map