all files / pivotfieldlist/renderer/ renderer.js

100% Statements 16/16
100% Branches 2/2
100% Functions 4/4
100% Lines 16/16
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23   100× 100× 100× 100× 100×   109× 109× 103×   109×        
define(["require", "exports", "../renderer/dialog-renderer", "../renderer/tree-renderer", "../renderer/axis-table-renderer", "./axis-field-renderer"], function (require, exports, dialog_renderer_1, tree_renderer_1, axis_table_renderer_1, axis_field_renderer_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var Render = (function () {
        function Render(parent) {
            this.parent = parent;
            this.parent.dialogRenderer = new dialog_renderer_1.DialogRenderer(this.parent);
            this.parent.treeViewModule = new tree_renderer_1.TreeViewRenderer(this.parent);
            this.parent.axisTableModule = new axis_table_renderer_1.AxisTableRenderer(this.parent);
            this.parent.axisFieldModule = new axis_field_renderer_1.AxisFieldRenderer(this.parent);
        }
        Render.prototype.render = function () {
            this.parent.dialogRenderer.render();
            if (!this.parent.isAdaptive) {
                this.parent.treeViewModule.render();
            }
            this.parent.axisTableModule.render();
        };
        return Render;
    }());
    exports.Render = Render;
});