@omnia/fx-models
Version: 
Provide Omnia Fx Models Stuffs.
43 lines (42 loc) • 1.11 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FlagIcon = exports.SvgIcon = exports.CustomIcon = exports.FabricIcon = exports.FontAwesomeIcon = void 0;
const Enums_1 = require("./Enums");
/**
 * Class to create a guid
 */
class FontAwesomeIcon {
    constructor(faClass) {
        this.faClass = faClass;
        this.iconType = Enums_1.IconTypes.FontAwesome;
    }
}
exports.FontAwesomeIcon = FontAwesomeIcon;
class FabricIcon {
    constructor(fabClass) {
        this.fabClass = fabClass;
        this.iconType = Enums_1.IconTypes.Fabric;
    }
}
exports.FabricIcon = FabricIcon;
class CustomIcon {
    constructor(customValue) {
        this.customValue = customValue;
        this.iconType = Enums_1.IconTypes.Custom;
    }
}
exports.CustomIcon = CustomIcon;
class SvgIcon {
    constructor(svg) {
        this.svg = svg;
        this.iconType = Enums_1.IconTypes.SVG;
    }
}
exports.SvgIcon = SvgIcon;
class FlagIcon {
    constructor(flagClass) {
        this.flagClass = flagClass;
        this.iconType = Enums_1.IconTypes.Flag;
    }
}
exports.FlagIcon = FlagIcon;