import * as tslib_1 from "tslib";
import ADialog from './ADialog';
import { cssClass } from '../../styles';
/** @internal */
var ChooseRankingDialog = /** @class */ (function (_super) {
    tslib_1.__extends(ChooseRankingDialog, _super);
    function ChooseRankingDialog(items, dialog) {
        var _this = _super.call(this, dialog) || this;
        _this.items = items;
        return _this;
    }
    ChooseRankingDialog.prototype.build = function (node) {
        node.classList.add(cssClass('more-options'), cssClass('choose-options'));
        for (var _i = 0, _a = this.items; _i < _a.length; _i++) {
            var item = _a[_i];
            node.appendChild(item);
        }
    };
    return ChooseRankingDialog;
}(ADialog));
export default ChooseRankingDialog;
//# sourceMappingURL=ChooseRankingDialog.js.map