galal-front-end-utils
Version:
A JavaScript utilities package for front end
38 lines • 1.28 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTheme = exports.Themes = exports.datetime = void 0;
var bootstrap_1 = require("./Themes/bootstrap");
var material_ui_1 = require("./Themes/material-ui");
var materialize_1 = require("./Themes/materialize");
var datetime = /** @class */ (function () {
function datetime(Window) {
if (Window === void 0) { Window = window; }
this.add = function (a) {
return '';
};
this._window = window;
this._inputs = bootstrap_1.inputs;
}
return datetime;
}());
exports.datetime = datetime;
var Themes;
(function (Themes) {
Themes["bootstrap"] = "bootstrap";
Themes["materialize"] = "materialize";
Themes["material_ui"] = "material_ui";
})(Themes = exports.Themes || (exports.Themes = {}));
var getTheme = function (ThemeName) {
switch (ThemeName) {
case Themes.bootstrap:
return bootstrap_1.inputs;
case Themes.materialize:
return materialize_1.inputs;
case Themes.material_ui:
return material_ui_1.inputs;
default:
return bootstrap_1.inputs;
}
};
exports.getTheme = getTheme;
//# sourceMappingURL=index.js.map