import * as tslib_1 from "tslib";
import { CatalogManager as BaseCatalogManager } from "@intelligentgraphics/igd.productdata";
var CatalogManager = /** @class */ (function (_super) {
    tslib_1.__extends(CatalogManager, _super);
    function CatalogManager(settings) {
        var _this = _super.call(this, settings) || this;
        _this.cache.setRootItems(settings.file.getCatalogItems());
        return _this;
    }
    CatalogManager.Create = function (settings) {
        return tslib_1.__awaiter(this, void 0, void 0, function () {
            var tInstance;
            return tslib_1.__generator(this, function (_a) {
                tInstance = new CatalogManager(settings);
                return [2 /*return*/, tInstance];
            });
        });
    };
    CatalogManager.prototype.getClassName = function () {
        return "TestCatalogManager";
    };
    return CatalogManager;
}(BaseCatalogManager));
export { CatalogManager };
