@designliquido/foles 0.6.1 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fontes/avaliador-sintatico/avaliador-sintatico.d.ts +1 -0
- package/fontes/avaliador-sintatico/avaliador-sintatico.js +281 -26
- package/fontes/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
- package/fontes/foles.js +2 -2
- package/fontes/foles.js.map +1 -1
- package/fontes/lexador/palavras-reservadas/foles.d.ts +256 -238
- package/fontes/lexador/palavras-reservadas/foles.js +259 -238
- package/fontes/lexador/palavras-reservadas/foles.js.map +1 -1
- package/fontes/modificadores/atributos/posicoes.d.ts +3 -0
- package/fontes/modificadores/atributos/posicoes.js +23 -13
- package/fontes/modificadores/atributos/posicoes.js.map +1 -1
- package/fontes/modificadores/conteudo.js +2 -2
- package/fontes/modificadores/conteudo.js.map +1 -1
- package/fontes/modificadores/deslocamento.js +5 -3
- package/fontes/modificadores/deslocamento.js.map +1 -1
- package/fontes/modificadores/espacamento.js +2 -1
- package/fontes/modificadores/espacamento.js.map +1 -1
- package/fontes/modificadores/filtro-fundo.js +1 -2
- package/fontes/modificadores/filtro-fundo.js.map +1 -1
- package/fontes/modificadores/filtro.js +1 -6
- package/fontes/modificadores/filtro.js.map +1 -1
- package/fontes/modificadores/imagem-mascara.js +2 -3
- package/fontes/modificadores/imagem-mascara.js.map +1 -1
- package/fontes/modificadores/origem-imagem-borda.js +1 -1
- package/fontes/modificadores/origem-imagem-borda.js.map +1 -1
- package/fontes/modificadores/trajeto-deslocamento.js +2 -2
- package/fontes/modificadores/trajeto-deslocamento.js.map +1 -1
- package/fontes/modificadores/validacoes/quantificador.js +2 -1
- package/fontes/modificadores/validacoes/quantificador.js.map +1 -1
- package/fontes/valores/dicionario-valores.js +28 -1
- package/fontes/valores/dicionario-valores.js.map +1 -1
- package/fontes/valores/metodos/borrar.d.ts +9 -0
- package/fontes/valores/metodos/borrar.js +20 -0
- package/fontes/valores/metodos/borrar.js.map +1 -0
- package/fontes/valores/metodos/brilho.d.ts +9 -0
- package/fontes/valores/metodos/brilho.js +20 -0
- package/fontes/valores/metodos/brilho.js.map +1 -0
- package/fontes/valores/metodos/calcular.d.ts +12 -0
- package/fontes/valores/metodos/calcular.js +20 -0
- package/fontes/valores/metodos/calcular.js.map +1 -0
- package/fontes/valores/metodos/contraste.d.ts +9 -0
- package/fontes/valores/metodos/contraste.js +20 -0
- package/fontes/valores/metodos/contraste.js.map +1 -0
- package/fontes/valores/metodos/escala-cinza.d.ts +9 -0
- package/fontes/valores/metodos/escala-cinza.js +20 -0
- package/fontes/valores/metodos/escala-cinza.js.map +1 -0
- package/fontes/valores/metodos/gradiente-linear.d.ts +11 -0
- package/fontes/valores/metodos/gradiente-linear.js +22 -0
- package/fontes/valores/metodos/gradiente-linear.js.map +1 -0
- package/fontes/valores/metodos/inverter.d.ts +9 -0
- package/fontes/valores/metodos/inverter.js +20 -0
- package/fontes/valores/metodos/inverter.js.map +1 -0
- package/fontes/valores/metodos/opacar.d.ts +9 -0
- package/fontes/valores/metodos/opacar.js +20 -0
- package/fontes/valores/metodos/opacar.js.map +1 -0
- package/fontes/valores/metodos/projetar-sombra.d.ts +14 -0
- package/fontes/valores/metodos/projetar-sombra.js +43 -0
- package/fontes/valores/metodos/projetar-sombra.js.map +1 -0
- package/fontes/valores/metodos/raio.d.ts +10 -0
- package/fontes/valores/metodos/raio.js +23 -0
- package/fontes/valores/metodos/raio.js.map +1 -0
- package/fontes/valores/metodos/rotacionar-matiz.d.ts +9 -0
- package/fontes/valores/metodos/rotacionar-matiz.js +20 -0
- package/fontes/valores/metodos/rotacionar-matiz.js.map +1 -0
- package/fontes/valores/metodos/saturar.d.ts +9 -0
- package/fontes/valores/metodos/saturar.js +20 -0
- package/fontes/valores/metodos/saturar.js.map +1 -0
- package/fontes/valores/metodos/sepia.d.ts +9 -0
- package/fontes/valores/metodos/sepia.js +20 -0
- package/fontes/valores/metodos/sepia.js.map +1 -0
- package/package.json +3 -2
- package/testes/listas/metodos.d.ts +13 -0
- package/testes/listas/metodos.js +63 -7
- package/testes/listas/metodos.js.map +1 -1
- package/testes/listas/valor-numerico.d.ts +1 -0
- package/testes/listas/valor-numerico.js +14 -10
- package/testes/listas/valor-numerico.js.map +1 -1
- package/testes/modificadores/metodos.test.js +653 -37
- package/testes/modificadores/metodos.test.js.map +1 -1
- package/testes/modificadores/valor-numerico.test.js +114 -28
- package/testes/modificadores/valor-numerico.test.js.map +1 -1
- package/testes/tradutor.test.js +1 -1
- package/testes/tradutor.test.js.map +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GradienteLinear = void 0;
|
|
4
|
+
const metodo_1 = require("./metodo");
|
|
5
|
+
const cores_1 = require("../../modificadores/atributos/cores");
|
|
6
|
+
class GradienteLinear extends metodo_1.Metodo {
|
|
7
|
+
constructor(valorAngulo, quantificadorAngulo, cor1, cor2) {
|
|
8
|
+
super();
|
|
9
|
+
this.valorAngulo = Number(valorAngulo.lexema);
|
|
10
|
+
this.quantificadorAngulo = quantificadorAngulo.lexema;
|
|
11
|
+
this.cor1 = cor1.lexema;
|
|
12
|
+
this.cor2 = cor2.lexema;
|
|
13
|
+
this.traducao = 'linear-gradient';
|
|
14
|
+
}
|
|
15
|
+
paraTexto() {
|
|
16
|
+
this.cor1 = cores_1.cores[this.cor1];
|
|
17
|
+
this.cor2 = cores_1.cores[this.cor2];
|
|
18
|
+
return `linear-gradient(${this.valorAngulo}${this.quantificadorAngulo}, ${this.cor1}, ${this.cor2})`;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.GradienteLinear = GradienteLinear;
|
|
22
|
+
//# sourceMappingURL=gradiente-linear.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gradiente-linear.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/gradiente-linear.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAClC,+DAA4D;AAE5D,MAAa,eAAgB,SAAQ,eAAM;IAOvC,YAAY,WAAoB,EAAE,mBAA4B,EAAE,IAAa,EAAE,IAAa;QACxF,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAC9C,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC,MAAM,CAAC;QACtD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;QACxB,IAAI,CAAC,QAAQ,GAAG,iBAAiB,CAAC;IACtC,CAAC;IAED,SAAS;QACL,IAAI,CAAC,IAAI,GAAG,aAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,aAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7B,OAAO,mBAAmB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,mBAAmB,KAAK,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,GAAG,CAAA;IACxG,CAAC;CACJ;AArBD,0CAqBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../lexador";
|
|
2
|
+
import { Metodo } from "./metodo";
|
|
3
|
+
export declare class Inverter extends Metodo {
|
|
4
|
+
valor: number;
|
|
5
|
+
quantificador: string;
|
|
6
|
+
traducao: string;
|
|
7
|
+
constructor(valor: Simbolo, quantificador: Simbolo);
|
|
8
|
+
paraTexto(): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Inverter = void 0;
|
|
4
|
+
const metodo_1 = require("./metodo");
|
|
5
|
+
class Inverter extends metodo_1.Metodo {
|
|
6
|
+
constructor(valor, quantificador) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor = Number(valor.lexema);
|
|
9
|
+
this.quantificador = quantificador ? quantificador.lexema : null;
|
|
10
|
+
this.traducao = 'invert';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `invert(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `invert(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.Inverter = Inverter;
|
|
20
|
+
//# sourceMappingURL=inverter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inverter.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/inverter.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,QAAS,SAAQ,eAAM;IAKhC,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,UAAU,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SACtD;QAED,OAAO,UAAU,IAAI,CAAC,KAAK,GAAG,CAAA;IAClC,CAAC;CACJ;AAnBD,4BAmBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../lexador";
|
|
2
|
+
import { Metodo } from "./metodo";
|
|
3
|
+
export declare class Opacar extends Metodo {
|
|
4
|
+
valor: number;
|
|
5
|
+
quantificador: string;
|
|
6
|
+
traducao: string;
|
|
7
|
+
constructor(valor: Simbolo, quantificador: Simbolo);
|
|
8
|
+
paraTexto(): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Opacar = void 0;
|
|
4
|
+
const metodo_1 = require("./metodo");
|
|
5
|
+
class Opacar extends metodo_1.Metodo {
|
|
6
|
+
constructor(valor, quantificador) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor = Number(valor.lexema);
|
|
9
|
+
this.quantificador = quantificador ? quantificador.lexema : null;
|
|
10
|
+
this.traducao = 'opacity';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `opacity(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `opacity(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.Opacar = Opacar;
|
|
20
|
+
//# sourceMappingURL=opacar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opacar.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/opacar.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,MAAO,SAAQ,eAAM;IAK9B,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;IAC9B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,WAAW,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SACvD;QAED,OAAO,WAAW,IAAI,CAAC,KAAK,GAAG,CAAA;IACnC,CAAC;CACJ;AAnBD,wBAmBC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Simbolo } from "../../lexador";
|
|
2
|
+
import { Metodo } from "./metodo";
|
|
3
|
+
export declare class ProjetarSombra extends Metodo {
|
|
4
|
+
valor1: number;
|
|
5
|
+
quantificador1: string;
|
|
6
|
+
valor2: number;
|
|
7
|
+
quantificador2: string;
|
|
8
|
+
valor3: number;
|
|
9
|
+
quantificador3: string;
|
|
10
|
+
cor: string;
|
|
11
|
+
traducao: string;
|
|
12
|
+
constructor(valor1: Simbolo, quantificador1: Simbolo, valor2: Simbolo, quantificador2: Simbolo, valor3: Simbolo, quantificador3: Simbolo, cor: Simbolo);
|
|
13
|
+
paraTexto(): string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProjetarSombra = void 0;
|
|
4
|
+
const metodo_1 = require("./metodo");
|
|
5
|
+
const cores_1 = require("../../modificadores/atributos/cores");
|
|
6
|
+
class ProjetarSombra extends metodo_1.Metodo {
|
|
7
|
+
constructor(valor1, quantificador1, valor2, quantificador2, valor3, quantificador3, cor) {
|
|
8
|
+
super();
|
|
9
|
+
this.valor1 = Number(valor1.lexema);
|
|
10
|
+
this.quantificador1 = quantificador1.lexema;
|
|
11
|
+
this.valor2 = Number(valor2.lexema);
|
|
12
|
+
this.quantificador2 = quantificador2.lexema;
|
|
13
|
+
this.valor3 = valor3 ? Number(valor3.lexema) : null;
|
|
14
|
+
this.quantificador3 = quantificador3 ? quantificador3.lexema : null;
|
|
15
|
+
this.cor = cor ? cor.lexema : null;
|
|
16
|
+
this.traducao = 'drop-shadow';
|
|
17
|
+
}
|
|
18
|
+
paraTexto() {
|
|
19
|
+
/**
|
|
20
|
+
* CASOS:
|
|
21
|
+
* 1. Dois valores
|
|
22
|
+
* 2. Dois valores + cor
|
|
23
|
+
* 3. Três valores
|
|
24
|
+
* 4. Três valores + cor
|
|
25
|
+
*/
|
|
26
|
+
if (!this.valor3) {
|
|
27
|
+
if (!this.cor) {
|
|
28
|
+
return `drop-shadow(${this.valor1}${this.quantificador1} ${this.valor2}${this.quantificador2})`;
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
this.cor = cores_1.cores[this.cor];
|
|
32
|
+
return `drop-shadow(${this.valor1}${this.quantificador1} ${this.valor2}${this.quantificador2} ${this.cor})`;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
else if (!this.cor) {
|
|
36
|
+
return `drop-shadow(${this.valor1}${this.quantificador1} ${this.valor2}${this.quantificador2} ${this.valor3}${this.quantificador3})`;
|
|
37
|
+
}
|
|
38
|
+
this.cor = cores_1.cores[this.cor];
|
|
39
|
+
return `drop-shadow(${this.valor1}${this.quantificador1} ${this.valor2}${this.quantificador2} ${this.valor3}${this.quantificador3} ${this.cor})`;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.ProjetarSombra = ProjetarSombra;
|
|
43
|
+
//# sourceMappingURL=projetar-sombra.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projetar-sombra.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/projetar-sombra.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAClC,+DAA4D;AAE5D,MAAa,cAAe,SAAQ,eAAM;IAUtC,YAAY,MAAe,EAAE,cAAuB,EAAE,MAAe,EAAE,cAAuB,EAC1F,MAAe,EAAE,cAAuB,EAAE,GAAY;QACtD,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,MAAM,CAAC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,cAAc,GAAG,cAAc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AAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,GAAG,GAAG,CAAA;IACpJ,CAAC;CACJ;AA7CD,wCA6CC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Simbolo } from "../../lexador";
|
|
2
|
+
import { Metodo } from "./metodo";
|
|
3
|
+
export declare class Raio extends Metodo {
|
|
4
|
+
posicao: string;
|
|
5
|
+
valor: number;
|
|
6
|
+
quantificador: string;
|
|
7
|
+
traducao: string;
|
|
8
|
+
constructor(posicao: Simbolo, valor: Simbolo, quantificador: Simbolo);
|
|
9
|
+
paraTexto(): string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Raio = void 0;
|
|
4
|
+
const metodo_1 = require("./metodo");
|
|
5
|
+
const posicoes_1 = require("../../modificadores/atributos/posicoes");
|
|
6
|
+
class Raio extends metodo_1.Metodo {
|
|
7
|
+
constructor(posicao, valor, quantificador) {
|
|
8
|
+
super();
|
|
9
|
+
this.posicao = posicao ? posicao.lexema : null;
|
|
10
|
+
this.valor = Number(valor.lexema);
|
|
11
|
+
this.quantificador = quantificador.lexema;
|
|
12
|
+
this.traducao = 'ray';
|
|
13
|
+
}
|
|
14
|
+
paraTexto() {
|
|
15
|
+
if (this.posicao) {
|
|
16
|
+
this.posicao = posicoes_1.posicoesRaio[this.posicao];
|
|
17
|
+
return `ray(${this.posicao} ${this.valor}${this.quantificador})`;
|
|
18
|
+
}
|
|
19
|
+
return `ray(${this.valor}${this.quantificador})`;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.Raio = Raio;
|
|
23
|
+
//# sourceMappingURL=raio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"raio.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/raio.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAClC,qEAAsE;AAEtE,MAAa,IAAK,SAAQ,eAAM;IAM5B,YAAY,OAAgB,EAAE,KAAc,EAAE,aAAsB;QAChE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QAC/C,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,MAAM,CAAC;QAC1C,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IAC1B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,OAAO,EAAE;YACd,IAAI,CAAC,OAAO,GAAG,uBAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAC1C,OAAO,OAAO,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SACnE;QAED,OAAO,OAAO,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;IACpD,CAAC;CACJ;AAtBD,oBAsBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../lexador";
|
|
2
|
+
import { Metodo } from "./metodo";
|
|
3
|
+
export declare class RotacionarMatiz extends Metodo {
|
|
4
|
+
valor: number;
|
|
5
|
+
quantificador: string;
|
|
6
|
+
traducao: string;
|
|
7
|
+
constructor(valor: Simbolo, quantificador: Simbolo);
|
|
8
|
+
paraTexto(): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RotacionarMatiz = void 0;
|
|
4
|
+
const metodo_1 = require("./metodo");
|
|
5
|
+
class RotacionarMatiz extends metodo_1.Metodo {
|
|
6
|
+
constructor(valor, quantificador) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor = Number(valor.lexema);
|
|
9
|
+
this.quantificador = quantificador ? quantificador.lexema : null;
|
|
10
|
+
this.traducao = 'hue-rotate';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `hue-rotate(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `hue-rotate(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.RotacionarMatiz = RotacionarMatiz;
|
|
20
|
+
//# sourceMappingURL=rotacionar-matiz.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rotacionar-matiz.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/rotacionar-matiz.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,eAAgB,SAAQ,eAAM;IAKvC,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,YAAY,CAAC;IACjC,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,cAAc,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SAC1D;QAED,OAAO,cAAc,IAAI,CAAC,KAAK,GAAG,CAAA;IACtC,CAAC;CACJ;AAnBD,0CAmBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../lexador";
|
|
2
|
+
import { Metodo } from "./metodo";
|
|
3
|
+
export declare class Saturar extends Metodo {
|
|
4
|
+
valor: number;
|
|
5
|
+
quantificador: string;
|
|
6
|
+
traducao: string;
|
|
7
|
+
constructor(valor: Simbolo, quantificador: Simbolo);
|
|
8
|
+
paraTexto(): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Saturar = void 0;
|
|
4
|
+
const metodo_1 = require("./metodo");
|
|
5
|
+
class Saturar extends metodo_1.Metodo {
|
|
6
|
+
constructor(valor, quantificador) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor = Number(valor.lexema);
|
|
9
|
+
this.quantificador = quantificador ? quantificador.lexema : null;
|
|
10
|
+
this.traducao = 'saturate';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `saturate(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `saturate(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.Saturar = Saturar;
|
|
20
|
+
//# sourceMappingURL=saturar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saturar.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/saturar.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,OAAQ,SAAQ,eAAM;IAK/B,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,YAAY,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SACxD;QAED,OAAO,YAAY,IAAI,CAAC,KAAK,GAAG,CAAA;IACpC,CAAC;CACJ;AAnBD,0BAmBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../lexador";
|
|
2
|
+
import { Metodo } from "./metodo";
|
|
3
|
+
export declare class Sepia extends Metodo {
|
|
4
|
+
valor: number;
|
|
5
|
+
quantificador: string;
|
|
6
|
+
traducao: string;
|
|
7
|
+
constructor(valor: Simbolo, quantificador: Simbolo);
|
|
8
|
+
paraTexto(): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Sepia = void 0;
|
|
4
|
+
const metodo_1 = require("./metodo");
|
|
5
|
+
class Sepia extends metodo_1.Metodo {
|
|
6
|
+
constructor(valor, quantificador) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor = Number(valor.lexema);
|
|
9
|
+
this.quantificador = quantificador ? quantificador.lexema : null;
|
|
10
|
+
this.traducao = 'sepia';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `sepia(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `sepia(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.Sepia = Sepia;
|
|
20
|
+
//# sourceMappingURL=sepia.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sepia.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/sepia.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,KAAM,SAAQ,eAAM;IAK7B,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,SAAS,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SACrD;QAED,OAAO,SAAS,IAAI,CAAC,KAAK,GAAG,CAAA;IACjC,CAAC;CACJ;AAnBD,sBAmBC"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@designliquido/foles",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"description": "Linguagem de folhas de estilo para documentos em geral em português",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"empacotar": "rimraf ./dist && tsc && copyfiles -V ./bin/foles ./bin/foles.cmd ./dist && copyfiles -V ./package.json ./dist && copyfiles -V ./README.md ./dist",
|
|
7
|
+
"empacotar": "yarn rimraf ./dist && tsc && yarn copyfiles -V ./bin/foles ./bin/foles.cmd ./dist && yarn copyfiles -V ./package.json ./dist && yarn copyfiles -V ./README.md ./dist",
|
|
8
8
|
"testes-unitarios": "jest --coverage",
|
|
9
9
|
"testes-unitarios:insignias": "jest-coverage-badges --output ./recursos/imagens"
|
|
10
10
|
},
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/jest": "^29.2.0",
|
|
38
38
|
"@types/node": "^18.6.3",
|
|
39
|
+
"copyfiles": "^2.4.1",
|
|
39
40
|
"jest": "^29.2.2",
|
|
40
41
|
"jest-coverage-badges": "^1.1.2",
|
|
41
42
|
"release-it": "^15.5.0",
|
|
@@ -4,4 +4,17 @@ export declare const MetodoMinMax: Array<string>;
|
|
|
4
4
|
export declare const MetodoPassos: Array<string>;
|
|
5
5
|
export declare const MetodoCurvaCubica: Array<string>;
|
|
6
6
|
export declare const MetodoLinear: Array<string>;
|
|
7
|
+
export declare const MetodoCalcular: Array<string>;
|
|
8
|
+
export declare const MetodoGradienteLinear: Array<string>;
|
|
9
|
+
export declare const MetodoContraste: Array<string>;
|
|
10
|
+
export declare const MetodoBorrar: Array<string>;
|
|
11
|
+
export declare const MetodoBrilho: Array<string>;
|
|
12
|
+
export declare const MetodoRaio: Array<string>;
|
|
13
|
+
export declare const MetodoEscalaCinza: Array<string>;
|
|
14
|
+
export declare const MetodoInverter: Array<string>;
|
|
15
|
+
export declare const MetodoOpacar: Array<string>;
|
|
16
|
+
export declare const MetodoSaturar: Array<string>;
|
|
17
|
+
export declare const MetodoSepia: Array<string>;
|
|
18
|
+
export declare const MetodoRotacionarMatiz: Array<string>;
|
|
19
|
+
export declare const MetodoProjetarSombra: Array<string>;
|
|
7
20
|
export declare const TraducaoValoresMetodos: Object;
|
package/testes/listas/metodos.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TraducaoValoresMetodos = exports.MetodoLinear = exports.MetodoCurvaCubica = exports.MetodoPassos = exports.MetodoMinMax = exports.MetodoLimitar = exports.MetodoEncaixarConteudo = void 0;
|
|
3
|
+
exports.TraducaoValoresMetodos = exports.MetodoProjetarSombra = exports.MetodoRotacionarMatiz = exports.MetodoSepia = exports.MetodoSaturar = exports.MetodoOpacar = exports.MetodoInverter = exports.MetodoEscalaCinza = exports.MetodoRaio = exports.MetodoBrilho = exports.MetodoBorrar = exports.MetodoContraste = exports.MetodoGradienteLinear = exports.MetodoCalcular = exports.MetodoLinear = exports.MetodoCurvaCubica = exports.MetodoPassos = exports.MetodoMinMax = exports.MetodoLimitar = exports.MetodoEncaixarConteudo = void 0;
|
|
4
4
|
exports.MetodoEncaixarConteudo = [
|
|
5
5
|
'altura-maxima',
|
|
6
6
|
'altura-máxima',
|
|
@@ -51,17 +51,76 @@ exports.MetodoLinear = [
|
|
|
51
51
|
'transicao',
|
|
52
52
|
'transição',
|
|
53
53
|
];
|
|
54
|
+
exports.MetodoCalcular = [
|
|
55
|
+
'espacamento',
|
|
56
|
+
'espaçamento',
|
|
57
|
+
];
|
|
58
|
+
exports.MetodoGradienteLinear = [
|
|
59
|
+
'imagem-mascara',
|
|
60
|
+
'imagem-máscara',
|
|
61
|
+
'origem-imagem-borda',
|
|
62
|
+
'conteudo',
|
|
63
|
+
'conteúdo',
|
|
64
|
+
];
|
|
65
|
+
exports.MetodoContraste = [
|
|
66
|
+
'filtro',
|
|
67
|
+
];
|
|
68
|
+
exports.MetodoBorrar = [
|
|
69
|
+
'filtro',
|
|
70
|
+
];
|
|
71
|
+
exports.MetodoBrilho = [
|
|
72
|
+
'filtro',
|
|
73
|
+
];
|
|
74
|
+
exports.MetodoRaio = [
|
|
75
|
+
'deslocamento',
|
|
76
|
+
'trajeto-deslocamento',
|
|
77
|
+
];
|
|
78
|
+
exports.MetodoEscalaCinza = [
|
|
79
|
+
'filtro-fundo',
|
|
80
|
+
];
|
|
81
|
+
exports.MetodoInverter = [
|
|
82
|
+
'filtro-fundo',
|
|
83
|
+
];
|
|
84
|
+
exports.MetodoOpacar = [
|
|
85
|
+
'filtro-fundo',
|
|
86
|
+
];
|
|
87
|
+
exports.MetodoSaturar = [
|
|
88
|
+
'filtro-fundo',
|
|
89
|
+
];
|
|
90
|
+
exports.MetodoSepia = [
|
|
91
|
+
'filtro-fundo',
|
|
92
|
+
];
|
|
93
|
+
exports.MetodoRotacionarMatiz = [
|
|
94
|
+
'filtro-fundo',
|
|
95
|
+
];
|
|
96
|
+
exports.MetodoProjetarSombra = [
|
|
97
|
+
'filtro-fundo',
|
|
98
|
+
];
|
|
54
99
|
exports.TraducaoValoresMetodos = {
|
|
55
100
|
'altura-maxima': 'max-height',
|
|
56
101
|
'altura-máxima': 'max-height',
|
|
57
102
|
'altura-minima': 'min-height',
|
|
58
103
|
'altura-mínima': 'min-height',
|
|
59
104
|
'altura': 'height',
|
|
105
|
+
'conteudo': 'content',
|
|
106
|
+
'conteúdo': 'content',
|
|
107
|
+
'deslocamento': 'offset',
|
|
108
|
+
'espaçamento': 'gap',
|
|
109
|
+
'espacamento': 'gap',
|
|
110
|
+
'filtro': 'filter',
|
|
111
|
+
'filtro-fundo': 'backdrop-filter',
|
|
112
|
+
'grade': 'grid',
|
|
113
|
+
'imagem-mascara': 'mask-image',
|
|
114
|
+
'imagem-máscara': 'mask-image',
|
|
60
115
|
'largura-maxima': 'max-width',
|
|
61
116
|
'largura-máxima': 'max-width',
|
|
62
117
|
'largura-minima': 'min-width',
|
|
63
118
|
'largura-mínima': 'min-width',
|
|
64
119
|
'largura': 'width',
|
|
120
|
+
'modelo-colunas-em-grade': 'grid-template-columns',
|
|
121
|
+
'modelo-em-grade': 'grid-template',
|
|
122
|
+
'modelo-linhas-em-grade': 'grid-template-rows',
|
|
123
|
+
'origem-imagem-borda': 'border-image-source',
|
|
65
124
|
'tamanho-colunas-em-grade': 'grid-auto-columns',
|
|
66
125
|
'tamanho-em-linha': 'inline-size',
|
|
67
126
|
'tamanho-linhas-em-grade': 'grid-auto-rows',
|
|
@@ -73,15 +132,12 @@ exports.TraducaoValoresMetodos = {
|
|
|
73
132
|
'tamanho-mínimo-em-bloco': 'min-block-size',
|
|
74
133
|
'tamanho-minimo-em-linha': 'min-inline-size',
|
|
75
134
|
'tamanho-mínimo-em-linha': 'min-inline-size',
|
|
76
|
-
'grade': 'grid',
|
|
77
135
|
'tempo-transicao': 'transition-timing-function',
|
|
78
136
|
'tempo-transição': 'transition-timing-function',
|
|
79
|
-
'
|
|
80
|
-
'velocidade-animação': 'animation-timing-function',
|
|
137
|
+
'trajeto-deslocamento': 'offset-path',
|
|
81
138
|
'transicao': 'transition',
|
|
82
139
|
'transição': 'transition',
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'modelo-linhas-em-grade': 'grid-template-rows',
|
|
140
|
+
'velocidade-animação': 'animation-timing-function',
|
|
141
|
+
'velocidade-animacao': 'animation-timing-function',
|
|
86
142
|
};
|
|
87
143
|
//# sourceMappingURL=metodos.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metodos.js","sourceRoot":"","sources":["../../../testes/listas/metodos.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAkB;IACjD,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,QAAQ;IACR,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,SAAS;IACT,0BAA0B;IAC1B,kBAAkB;IAClB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,iBAAiB;CACpB,CAAC;AAEW,QAAA,aAAa,GAAkB;IACxC,QAAQ;CACX,CAAC;AAEW,QAAA,YAAY,GAAkB;IACvC,OAAO;IACP,0BAA0B;IAC1B,yBAAyB;IACzB,yBAAyB;IACzB,wBAAwB;CAC3B,CAAC;AAEW,QAAA,YAAY,GAAkB;IACvC,iBAAiB;IACjB,iBAAiB;IACjB,qBAAqB;IACrB,qBAAqB;CACxB,CAAC;AAEW,QAAA,iBAAiB,GAAkB;IAC5C,iBAAiB;IACjB,iBAAiB;IACjB,qBAAqB;IACrB,qBAAqB;CACxB,CAAC;AAEW,QAAA,YAAY,GAAkB;IACvC,WAAW;IACX,WAAW;CACd,CAAC;
|
|
1
|
+
{"version":3,"file":"metodos.js","sourceRoot":"","sources":["../../../testes/listas/metodos.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAkB;IACjD,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,QAAQ;IACR,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,SA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,EAAE,2BAA2B;IAClD,qBAAqB,EAAE,2BAA2B;CACrD,CAAA"}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ValorNumerico = void 0;
|
|
3
|
+
exports.ValorNumericoComQuantificador = exports.ValorNumerico = void 0;
|
|
4
4
|
exports.ValorNumerico = [
|
|
5
5
|
'linhas-superiores',
|
|
6
6
|
'repetir-animacao',
|
|
7
7
|
'repetir-animação',
|
|
8
8
|
'proporcao-tela',
|
|
9
9
|
'proporção-tela',
|
|
10
|
-
'fatiar-imagem-borda',
|
|
11
10
|
'contar-coluna',
|
|
12
|
-
'colunas',
|
|
13
11
|
'flex-crescimento',
|
|
14
12
|
'flex-reduzir',
|
|
15
13
|
'ajustar-tamanho-fonte',
|
|
@@ -21,25 +19,31 @@ exports.ValorNumerico = [
|
|
|
21
19
|
'fim-linha-em-grade',
|
|
22
20
|
'inicio-linha-em-grade',
|
|
23
21
|
'início-linha-em-grade',
|
|
24
|
-
'altura-linha',
|
|
25
|
-
'opacidade',
|
|
26
22
|
'ordenar',
|
|
27
23
|
'linhas-inferiores',
|
|
28
24
|
'limite-forma-imagem',
|
|
29
|
-
'tabulacao',
|
|
30
|
-
'tabulação',
|
|
31
25
|
'indice-z',
|
|
32
26
|
'índice-z',
|
|
33
27
|
'coluna-em-grade',
|
|
34
28
|
];
|
|
29
|
+
// A lista abaixo inclui modificadores que aceitam tanto somente valores numéricos
|
|
30
|
+
// quanto valores numéricos c/ quantificador.
|
|
31
|
+
exports.ValorNumericoComQuantificador = [
|
|
32
|
+
'tabulacao',
|
|
33
|
+
'tabulação',
|
|
34
|
+
'opacidade',
|
|
35
|
+
'altura-linha',
|
|
36
|
+
'fatiar-imagem-borda',
|
|
37
|
+
'colunas',
|
|
38
|
+
];
|
|
35
39
|
/*
|
|
36
|
-
|
|
40
|
+
|
|
37
41
|
VALORES NUMÉRICOS - EXEMPLOS
|
|
38
|
-
|
|
42
|
+
|
|
39
43
|
1
|
|
40
44
|
1.5
|
|
41
45
|
10
|
|
42
46
|
0.5
|
|
43
|
-
|
|
47
|
+
|
|
44
48
|
*/
|
|
45
49
|
//# sourceMappingURL=valor-numerico.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valor-numerico.js","sourceRoot":"","sources":["../../../testes/listas/valor-numerico.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAkB;IACxC,mBAAmB;IACnB,kBAAkB;IAClB,kBAAkB;IAClB,gBAAgB;IAChB,gBAAgB;IAChB,
|
|
1
|
+
{"version":3,"file":"valor-numerico.js","sourceRoot":"","sources":["../../../testes/listas/valor-numerico.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAkB;IACxC,mBAAmB;IACnB,kBAAkB;IAClB,kBAAkB;IAClB,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,kBAAkB;IAClB,cAAc;IACd,uBAAuB;IACvB,iBAAiB;IACjB,qBAAqB;IACrB,wBAAwB;IACxB,wBAAwB;IACxB,gBAAgB;IAChB,oBAAoB;IACpB,uBAAuB;IACvB,uBAAuB;IACvB,SAAS;IACT,mBAAmB;IACnB,qBAAqB;IACrB,UAAU;IACV,UAAU;IACV,iBAAiB;CACpB,CAAC;AAEF,mFAAmF;AACnF,6CAA6C;AAChC,QAAA,6BAA6B,GAAG;IACzC,WAAW;IACX,WAAW;IACX,WAAW;IACX,cAAc;IACd,qBAAqB;IACrB,SAAS;CACZ,CAAA;AAED;;;;;;;;;EASE"}
|