read-gedcom
Version:
Gedcom file reader
26 lines • 784 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SelectionWithAddressMixin = void 0;
const internal_1 = require("../internal");
/**
* @ignore
*/
const SelectionWithAddressMixin = (Base) => class extends Base {
getAddress() {
return this.get("ADDR" /* Tag.Address */, null, internal_1.SelectionAddress);
}
getPhoneNumber() {
return this.get("PHON" /* Tag.Phone */);
}
getEmailAddress() {
return this.get("EMAIL" /* Tag.Email */);
}
getFaxAddress() {
return this.get("FAX" /* Tag.Fax */);
}
getWebAddress() {
return this.get("WWW" /* Tag.Web */);
}
};
exports.SelectionWithAddressMixin = SelectionWithAddressMixin;
//# sourceMappingURL=SelectionWithAddressMixin.js.map