r2-shared-js
Version:
Readium 2 'shared' for NodeJS (TypeScript)
29 lines • 1.17 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PageList = void 0;
const tslib_1 = require("tslib");
const xml_js_mapper_1 = require("r2-utils-js/dist/es8-es2017/src/_utils/xml-js-mapper");
const ncx_pagetarget_1 = require("./ncx-pagetarget");
let PageList = class PageList {
};
exports.PageList = PageList;
tslib_1.__decorate([
(0, xml_js_mapper_1.XmlXPathSelector)("ncx:pageTarget"),
(0, xml_js_mapper_1.XmlItemType)(ncx_pagetarget_1.PageTarget),
tslib_1.__metadata("design:type", Array)
], PageList.prototype, "PageTarget", void 0);
tslib_1.__decorate([
(0, xml_js_mapper_1.XmlXPathSelector)("@class"),
tslib_1.__metadata("design:type", String)
], PageList.prototype, "Class", void 0);
tslib_1.__decorate([
(0, xml_js_mapper_1.XmlXPathSelector)("@id | @xml:id"),
tslib_1.__metadata("design:type", String)
], PageList.prototype, "ID", void 0);
exports.PageList = PageList = tslib_1.__decorate([
(0, xml_js_mapper_1.XmlObject)({
ncx: "http://www.daisy.org/z3986/2005/ncx/",
xml: "http://www.w3.org/XML/1998/namespace",
})
], PageList);
//# sourceMappingURL=ncx-pagelist.js.map