@designliquido/foles
Version:
Linguagem de folhas de estilo para documentos em geral em português
15 lines • 638 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SeletorValor = void 0;
const dicionario_valores_1 = require("./dicionario-valores");
class SeletorValor {
constructor(nomeFolEs, valores) {
if (dicionario_valores_1.DicionarioValores[nomeFolEs] === undefined ||
dicionario_valores_1.DicionarioValores[nomeFolEs] === null) {
throw new Error(`O valor \'${nomeFolEs}\' não foi encontrado.`);
}
return new dicionario_valores_1.DicionarioValores[nomeFolEs](...valores);
}
}
exports.SeletorValor = SeletorValor;
//# sourceMappingURL=seletor-valor.js.map