"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function TapInfoPageAdapter(input, page) {
    const { accessor, configGenerator } = input;
    page.items = accessor.list('items', []).map(a => a.data);
    page.pageTitle = accessor.value('pageTitle', 'string', undefined);
    page = configGenerator.infoPage(undefined, page);
    configGenerator.addDefaultPageMenu(page);
    return page;
}
exports.default = TapInfoPageAdapter;
//# sourceMappingURL=TapInfoPageAdapter.js.map