@designliquido/foles 0.8.0 → 0.8.1
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-reverso.js +534 -2
- package/fontes/avaliador-sintatico/avaliador-sintatico-reverso.js.map +1 -1
- package/fontes/avaliador-sintatico/avaliador-sintatico.js +7 -7
- 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/lexador-reverso.js +8 -0
- package/fontes/lexador/lexador-reverso.js.map +1 -1
- package/fontes/lexador/palavras-reservadas/css.d.ts +145 -1
- package/fontes/lexador/palavras-reservadas/css.js +149 -1
- package/fontes/lexador/palavras-reservadas/css.js.map +1 -1
- package/fontes/modificadores/dicionario/dicionario-reverso-modificadores.js +74 -1
- package/fontes/modificadores/dicionario/dicionario-reverso-modificadores.js.map +1 -1
- package/fontes/modificadores/dicionario/dicionario-suplementar-metodos.d.ts +3 -0
- package/fontes/modificadores/dicionario/dicionario-suplementar-metodos.js +16 -0
- package/fontes/modificadores/dicionario/dicionario-suplementar-metodos.js.map +1 -0
- package/fontes/serializadores/serializador-reverso.js +1 -1
- package/fontes/serializadores/serializador-reverso.js.map +1 -1
- package/fontes/tipos-de-simbolos/css.d.ts +1 -0
- package/fontes/tipos-de-simbolos/css.js +1 -0
- package/fontes/tipos-de-simbolos/css.js.map +1 -1
- package/fontes/valores/metodos/css/calc.d.ts +12 -0
- package/fontes/valores/metodos/css/calc.js +20 -0
- package/fontes/valores/metodos/css/calc.js.map +1 -0
- package/fontes/valores/metodos/css/clamp.d.ts +13 -0
- package/fontes/valores/metodos/css/clamp.js +21 -0
- package/fontes/valores/metodos/css/clamp.js.map +1 -0
- package/fontes/valores/metodos/css/constrast.d.ts +9 -0
- package/fontes/valores/metodos/css/constrast.js +20 -0
- package/fontes/valores/metodos/css/constrast.js.map +1 -0
- package/fontes/valores/metodos/css/cubic-bezier.d.ts +11 -0
- package/fontes/valores/metodos/css/cubic-bezier.js +19 -0
- package/fontes/valores/metodos/css/cubic-bezier.js.map +1 -0
- package/fontes/valores/metodos/css/drop-shadow.d.ts +14 -0
- package/fontes/valores/metodos/css/drop-shadow.js +41 -0
- package/fontes/valores/metodos/css/drop-shadow.js.map +1 -0
- package/fontes/valores/metodos/css/fit-content.d.ts +9 -0
- package/fontes/valores/metodos/css/fit-content.js +17 -0
- package/fontes/valores/metodos/css/fit-content.js.map +1 -0
- package/fontes/valores/metodos/css/grayscale.d.ts +9 -0
- package/fontes/valores/metodos/css/grayscale.js +20 -0
- package/fontes/valores/metodos/css/grayscale.js.map +1 -0
- package/fontes/valores/metodos/css/hue-rotate.d.ts +9 -0
- package/fontes/valores/metodos/css/hue-rotate.js +20 -0
- package/fontes/valores/metodos/css/hue-rotate.js.map +1 -0
- package/fontes/valores/metodos/css/invert.d.ts +9 -0
- package/fontes/valores/metodos/css/invert.js +20 -0
- package/fontes/valores/metodos/css/invert.js.map +1 -0
- package/fontes/valores/metodos/css/linear-gradient.d.ts +11 -0
- package/fontes/valores/metodos/css/linear-gradient.js +24 -0
- package/fontes/valores/metodos/css/linear-gradient.js.map +1 -0
- package/fontes/valores/metodos/css/minmax.d.ts +13 -0
- package/fontes/valores/metodos/css/minmax.js +28 -0
- package/fontes/valores/metodos/css/minmax.js.map +1 -0
- package/fontes/valores/metodos/css/opacity.d.ts +9 -0
- package/fontes/valores/metodos/css/opacity.js +20 -0
- package/fontes/valores/metodos/css/opacity.js.map +1 -0
- package/fontes/valores/metodos/css/perspective.d.ts +9 -0
- package/fontes/valores/metodos/css/perspective.js +20 -0
- package/fontes/valores/metodos/css/perspective.js.map +1 -0
- package/fontes/valores/metodos/css/ray.d.ts +10 -0
- package/fontes/valores/metodos/css/ray.js +27 -0
- package/fontes/valores/metodos/css/ray.js.map +1 -0
- package/fontes/valores/metodos/css/rotate.d.ts +9 -0
- package/fontes/valores/metodos/css/rotate.js +20 -0
- package/fontes/valores/metodos/css/rotate.js.map +1 -0
- package/fontes/valores/metodos/css/rotateX.d.ts +9 -0
- package/fontes/valores/metodos/css/rotateX.js +20 -0
- package/fontes/valores/metodos/css/rotateX.js.map +1 -0
- package/fontes/valores/metodos/css/rotateY.d.ts +9 -0
- package/fontes/valores/metodos/css/rotateY.js +20 -0
- package/fontes/valores/metodos/css/rotateY.js.map +1 -0
- package/fontes/valores/metodos/css/rotateZ.d.ts +9 -0
- package/fontes/valores/metodos/css/rotateZ.js +20 -0
- package/fontes/valores/metodos/css/rotateZ.js.map +1 -0
- package/fontes/valores/metodos/css/saturate.d.ts +9 -0
- package/fontes/valores/metodos/css/saturate.js +20 -0
- package/fontes/valores/metodos/css/saturate.js.map +1 -0
- package/fontes/valores/metodos/css/scale.d.ts +9 -0
- package/fontes/valores/metodos/css/scale.js +20 -0
- package/fontes/valores/metodos/css/scale.js.map +1 -0
- package/fontes/valores/metodos/css/scale3d.d.ts +10 -0
- package/fontes/valores/metodos/css/scale3d.js +18 -0
- package/fontes/valores/metodos/css/scale3d.js.map +1 -0
- package/fontes/valores/metodos/css/scaleX.d.ts +8 -0
- package/fontes/valores/metodos/css/scaleX.js +16 -0
- package/fontes/valores/metodos/css/scaleX.js.map +1 -0
- package/fontes/valores/metodos/css/scaleY.d.ts +8 -0
- package/fontes/valores/metodos/css/scaleY.js +16 -0
- package/fontes/valores/metodos/css/scaleY.js.map +1 -0
- package/fontes/valores/metodos/css/scaleZ.d.ts +8 -0
- package/fontes/valores/metodos/css/scaleZ.js +16 -0
- package/fontes/valores/metodos/css/scaleZ.js.map +1 -0
- package/fontes/valores/metodos/css/sepia.d.ts +9 -0
- package/fontes/valores/metodos/css/sepia.js +20 -0
- package/fontes/valores/metodos/css/sepia.js.map +1 -0
- package/fontes/valores/metodos/css/skew.d.ts +11 -0
- package/fontes/valores/metodos/css/skew.js +25 -0
- package/fontes/valores/metodos/css/skew.js.map +1 -0
- package/fontes/valores/metodos/css/skewX.d.ts +9 -0
- package/fontes/valores/metodos/css/skewX.js +20 -0
- package/fontes/valores/metodos/css/skewX.js.map +1 -0
- package/fontes/valores/metodos/css/skewY.d.ts +9 -0
- package/fontes/valores/metodos/css/skewY.js +20 -0
- package/fontes/valores/metodos/css/skewY.js.map +1 -0
- package/fontes/valores/metodos/css/steps.d.ts +17 -0
- package/fontes/valores/metodos/css/steps.js +25 -0
- package/fontes/valores/metodos/css/steps.js.map +1 -0
- package/fontes/valores/metodos/css/translate.d.ts +11 -0
- package/fontes/valores/metodos/css/translate.js +25 -0
- package/fontes/valores/metodos/css/translate.js.map +1 -0
- package/fontes/valores/metodos/css/translate3d.d.ts +13 -0
- package/fontes/valores/metodos/css/translate3d.js +42 -0
- package/fontes/valores/metodos/css/translate3d.js.map +1 -0
- package/fontes/valores/metodos/css/translateX.d.ts +9 -0
- package/fontes/valores/metodos/css/translateX.js +20 -0
- package/fontes/valores/metodos/css/translateX.js.map +1 -0
- package/fontes/valores/metodos/css/translateY.d.ts +9 -0
- package/fontes/valores/metodos/css/translateY.js +20 -0
- package/fontes/valores/metodos/css/translateY.js.map +1 -0
- package/fontes/valores/metodos/css/translateZ.d.ts +9 -0
- package/fontes/valores/metodos/css/translateZ.js +20 -0
- package/fontes/valores/metodos/css/translateZ.js.map +1 -0
- package/fontes/valores/metodos/foles/inclinar.js +6 -2
- package/fontes/valores/metodos/foles/inclinar.js.map +1 -1
- package/fontes/valores/metodos/foles/perspectivar.js +1 -1
- package/fontes/valores/metodos/foles/perspectivar.js.map +1 -1
- package/fontes/valores/metodos/foles/raio.js +3 -1
- package/fontes/valores/metodos/foles/raio.js.map +1 -1
- package/fontes/valores/metodos/foles/translacao.js +6 -2
- package/fontes/valores/metodos/foles/translacao.js.map +1 -1
- package/fontes/valores/seletor-valor-reverso.d.ts +3 -0
- package/fontes/valores/seletor-valor-reverso.js +23 -0
- package/fontes/valores/seletor-valor-reverso.js.map +1 -0
- package/package.json +2 -2
- package/testes/listas/metodos-css.d.ts +25 -0
- package/testes/listas/metodos-css.js +128 -0
- package/testes/listas/metodos-css.js.map +1 -0
- package/testes/modificadores/metodos-reversos.test.d.ts +1 -0
- package/testes/modificadores/metodos-reversos.test.js +1630 -0
- package/testes/modificadores/metodos-reversos.test.js.map +1 -0
- package/testes/modificadores/metodos.test.js +11 -6
- package/testes/modificadores/metodos.test.js.map +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DropShadow = void 0;
|
|
4
|
+
const cores_1 = require("../../../modificadores/atributos/cores");
|
|
5
|
+
const metodo_css_1 = require("./metodo-css");
|
|
6
|
+
class DropShadow extends metodo_css_1.MetodoCss {
|
|
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
|
+
if (this.cor) {
|
|
20
|
+
for (const key in cores_1.cores) {
|
|
21
|
+
if (cores_1.cores[key] === this.cor) {
|
|
22
|
+
this.cor = key;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
if (!this.valor3) {
|
|
27
|
+
if (!this.cor) {
|
|
28
|
+
return `projetar-sombra(${this.valor1}${this.quantificador1} ${this.valor2}${this.quantificador2})`;
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
return `projetar-sombra(${this.valor1}${this.quantificador1} ${this.valor2}${this.quantificador2} ${this.cor})`;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
else if (!this.cor) {
|
|
35
|
+
return `projetar-sombra(${this.valor1}${this.quantificador1} ${this.valor2}${this.quantificador2} ${this.valor3}${this.quantificador3})`;
|
|
36
|
+
}
|
|
37
|
+
return `projetar-sombra(${this.valor1}${this.quantificador1} ${this.valor2}${this.quantificador2} ${this.valor3}${this.quantificador3} ${this.cor})`;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.DropShadow = DropShadow;
|
|
41
|
+
//# sourceMappingURL=drop-shadow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drop-shadow.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/drop-shadow.ts"],"names":[],"mappings":";;;AACA,kEAA+D;AAC/D,6CAAyC;AAEzC,MAAa,UAAW,SAAQ,sBAAS;IAUrC,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,CAAC,MAAM,CAAC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACpD,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACpE,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC;IAClC,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;YACX,KAAK,MAAM,GAAG,IAAI,aAAK,EAAE,CAAC;gBACtB,IAAI,aAAK,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,GAAG,EAAE,CAAC;oBAC1B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;gBACnB,CAAC;YACL,CAAC;QACL,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;gBACZ,OAAO,mBAAmB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,GAAG,CAAA;YACvG,CAAC;iBAAM,CAAC;gBACJ,OAAO,mBAAmB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,GAAG,GAAG,CAAA;YACnH,CAAC;QACL,CAAC;aAAM,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;YACnB,OAAO,mBAAmB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,GAAG,CAAA;QAC5I,CAAC;QAED,OAAO,mBAAmB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,GAAG,GAAG,CAAA;IACxJ,CAAC;CACJ;AA5CD,gCA4CC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class FitContent extends MetodoCss {
|
|
4
|
+
valor: number;
|
|
5
|
+
quantificador: string;
|
|
6
|
+
traducao: string;
|
|
7
|
+
constructor(valor: Simbolo, quantificador: string);
|
|
8
|
+
paraTexto(): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FitContent = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class FitContent extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(valor, quantificador) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor = Number(valor);
|
|
9
|
+
this.quantificador = quantificador;
|
|
10
|
+
this.traducao = 'fit-content';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
return `encaixar-conteudo(${this.valor}${this.quantificador})`;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.FitContent = FitContent;
|
|
17
|
+
//# sourceMappingURL=fit-content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fit-content.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/fit-content.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,UAAW,SAAQ,sBAAS;IAKrC,YAAY,KAAc,EAAE,aAAqB;QAC7C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;QAC3B,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC;IAClC,CAAC;IAED,SAAS;QACL,OAAO,qBAAqB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;IAClE,CAAC;CACJ;AAfD,gCAeC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class Grayscale extends MetodoCss {
|
|
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.Grayscale = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class Grayscale extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(valor, quantificador) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor = Number(valor.lexema);
|
|
9
|
+
this.quantificador = quantificador ? quantificador.lexema : null;
|
|
10
|
+
this.traducao = 'grayscale';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `escala-cinza(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `escala-cinza(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.Grayscale = Grayscale;
|
|
20
|
+
//# sourceMappingURL=grayscale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grayscale.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/grayscale.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,SAAU,SAAQ,sBAAS;IAKpC,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,WAAW,CAAC;IAChC,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;YACrB,OAAO,gBAAgB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;QAC7D,CAAC;QAED,OAAO,gBAAgB,IAAI,CAAC,KAAK,GAAG,CAAA;IACxC,CAAC;CACJ;AAnBD,8BAmBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class HueRotate extends MetodoCss {
|
|
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.HueRotate = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class HueRotate extends metodo_css_1.MetodoCss {
|
|
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 `rotacionar-matiz(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `rotacionar-matiz(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.HueRotate = HueRotate;
|
|
20
|
+
//# sourceMappingURL=hue-rotate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hue-rotate.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/hue-rotate.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,SAAU,SAAQ,sBAAS;IAKpC,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,CAAC;YACrB,OAAO,oBAAoB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;QACjE,CAAC;QAED,OAAO,oBAAoB,IAAI,CAAC,KAAK,GAAG,CAAA;IAC5C,CAAC;CACJ;AAnBD,8BAmBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class Invert extends MetodoCss {
|
|
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.Invert = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class Invert extends metodo_css_1.MetodoCss {
|
|
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 `inverter(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `inverter(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.Invert = Invert;
|
|
20
|
+
//# sourceMappingURL=invert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invert.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/invert.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,MAAO,SAAQ,sBAAS;IAKjC,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,CAAC;YACrB,OAAO,YAAY,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;QACzD,CAAC;QAED,OAAO,YAAY,IAAI,CAAC,KAAK,GAAG,CAAA;IACpC,CAAC;CACJ;AAnBD,wBAmBC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class LinearGradient extends MetodoCss {
|
|
4
|
+
valorAngulo: number;
|
|
5
|
+
quantificadorAngulo: string;
|
|
6
|
+
cor1: string;
|
|
7
|
+
cor2: string;
|
|
8
|
+
traducao: string;
|
|
9
|
+
constructor(valorAngulo: Simbolo, quantificadorAngulo: Simbolo, cor1: Simbolo, cor2: Simbolo);
|
|
10
|
+
paraTexto(): string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LinearGradient = void 0;
|
|
4
|
+
const cores_1 = require("../../../modificadores/atributos/cores");
|
|
5
|
+
const metodo_css_1 = require("./metodo-css");
|
|
6
|
+
class LinearGradient extends metodo_css_1.MetodoCss {
|
|
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
|
+
const cor1 = Object.keys(cores_1.cores).filter(key => cores_1.cores[key] === this.cor1);
|
|
17
|
+
this.cor1 = cor1.toString();
|
|
18
|
+
const cor2 = Object.keys(cores_1.cores).filter(key => cores_1.cores[key] === this.cor2);
|
|
19
|
+
this.cor2 = cor2.toString();
|
|
20
|
+
return `gradiente-linear(${this.valorAngulo}${this.quantificadorAngulo}, ${this.cor1}, ${this.cor2})`;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.LinearGradient = LinearGradient;
|
|
24
|
+
//# sourceMappingURL=linear-gradient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linear-gradient.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/linear-gradient.ts"],"names":[],"mappings":";;;AACA,kEAA+D;AAC/D,6CAAyC;AAEzC,MAAa,cAAe,SAAQ,sBAAS;IAOzC,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,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,aAAK,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,aAAK,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC;QACxE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;QAE5B,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,aAAK,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,aAAK,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC;QACxE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;QAE5B,OAAO,oBAAoB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,mBAAmB,KAAK,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,GAAG,CAAA;IACzG,CAAC;CACJ;AAzBD,wCAyBC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MetodoCss } from "./metodo-css";
|
|
2
|
+
export declare class MinMax extends MetodoCss {
|
|
3
|
+
minimo: number | string;
|
|
4
|
+
maximo: number | string;
|
|
5
|
+
traducao: string;
|
|
6
|
+
traducaoValores: {
|
|
7
|
+
"max-content": string;
|
|
8
|
+
"min-content": string;
|
|
9
|
+
auto: string;
|
|
10
|
+
};
|
|
11
|
+
constructor(minimo: number | string, maximo: number | string);
|
|
12
|
+
paraTexto(): string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MinMax = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class MinMax extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(minimo, maximo) {
|
|
7
|
+
super();
|
|
8
|
+
this.traducaoValores = {
|
|
9
|
+
"max-content": "conteudo-máximo",
|
|
10
|
+
"min-content": "conteudo-mínimo",
|
|
11
|
+
"auto": "auto",
|
|
12
|
+
};
|
|
13
|
+
this.minimo = minimo;
|
|
14
|
+
this.maximo = maximo;
|
|
15
|
+
this.traducao = 'minmax';
|
|
16
|
+
}
|
|
17
|
+
paraTexto() {
|
|
18
|
+
if (this.traducaoValores[this.minimo]) {
|
|
19
|
+
this.minimo = this.traducaoValores[this.minimo];
|
|
20
|
+
}
|
|
21
|
+
if (this.traducaoValores[this.maximo]) {
|
|
22
|
+
this.maximo = this.traducaoValores[this.maximo];
|
|
23
|
+
}
|
|
24
|
+
return `minmax(${this.minimo}, ${this.maximo})`;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.MinMax = MinMax;
|
|
28
|
+
//# sourceMappingURL=minmax.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"minmax.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/minmax.ts"],"names":[],"mappings":";;;AAAA,6CAAyC;AAEzC,MAAa,MAAO,SAAQ,sBAAS;IAWjC,YAAY,MAAuB,EAAE,MAAuB;QACxD,KAAK,EAAE,CAAC;QAPZ,oBAAe,GAAG;YACd,aAAa,EAAE,iBAAiB;YAChC,aAAa,EAAE,iBAAiB;YAChC,MAAM,EAAE,MAAM;SACjB,CAAA;QAIG,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YACpC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACpD,CAAC;QAED,IAAI,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YACpC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACpD,CAAC;QAED,OAAO,UAAU,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,MAAM,GAAG,CAAA;IACnD,CAAC;CACJ;AA7BD,wBA6BC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class Opacity extends MetodoCss {
|
|
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.Opacity = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class Opacity extends metodo_css_1.MetodoCss {
|
|
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 `opacar(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `opacar(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.Opacity = Opacity;
|
|
20
|
+
//# sourceMappingURL=opacity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opacity.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/opacity.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,OAAQ,SAAQ,sBAAS;IAKlC,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,CAAC;YACrB,OAAO,UAAU,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;QACvD,CAAC;QAED,OAAO,UAAU,IAAI,CAAC,KAAK,GAAG,CAAA;IAClC,CAAC;CACJ;AAnBD,0BAmBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class Perspective extends MetodoCss {
|
|
4
|
+
valor: number | string;
|
|
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.Perspective = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class Perspective extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(valor, quantificador) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor = valor.lexema;
|
|
9
|
+
this.quantificador = quantificador ? quantificador.lexema : null;
|
|
10
|
+
this.traducao = 'perspective';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `perspectivar(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `perspectivar(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.Perspective = Perspective;
|
|
20
|
+
//# sourceMappingURL=perspective.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"perspective.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/perspective.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,WAAY,SAAQ,sBAAS;IAKtC,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAI,KAAiB,CAAC,MAAM,CAAC;QACvC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC;IAClC,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;YACrB,OAAO,gBAAgB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;QAC7D,CAAC;QAED,OAAO,gBAAgB,IAAI,CAAC,KAAK,GAAG,CAAA;IACxC,CAAC;CACJ;AAnBD,kCAmBC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class Ray extends MetodoCss {
|
|
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,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Ray = void 0;
|
|
4
|
+
const posicoes_1 = require("../../../modificadores/atributos/posicoes");
|
|
5
|
+
const metodo_css_1 = require("./metodo-css");
|
|
6
|
+
class Ray extends metodo_css_1.MetodoCss {
|
|
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
|
+
for (const key in posicoes_1.posicoesRaio) {
|
|
17
|
+
if (posicoes_1.posicoesRaio[key] === this.posicao) {
|
|
18
|
+
this.posicao = key;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return `raio(${this.posicao} ${this.valor}${this.quantificador})`;
|
|
22
|
+
}
|
|
23
|
+
return `raio(${this.valor}${this.quantificador})`;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.Ray = Ray;
|
|
27
|
+
//# sourceMappingURL=ray.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ray.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/ray.ts"],"names":[],"mappings":";;;AACA,wEAAyE;AACzE,6CAAyC;AAEzC,MAAa,GAAI,SAAQ,sBAAS;IAM9B,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,CAAC;YACf,KAAK,MAAM,GAAG,IAAI,uBAAY,EAAE,CAAC;gBAC7B,IAAG,uBAAY,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,OAAO,EAAE,CAAC;oBACpC,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC;gBACvB,CAAC;YACL,CAAC;YACD,OAAO,QAAQ,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;QACrE,CAAC;QAED,OAAO,QAAQ,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;IACrD,CAAC;CACJ;AA1BD,kBA0BC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class Rotate extends MetodoCss {
|
|
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.Rotate = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class Rotate extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(valor, quantificador) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor = Number(valor.lexema);
|
|
9
|
+
this.quantificador = quantificador ? quantificador.lexema : null;
|
|
10
|
+
this.traducao = 'rotate';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `rotacionar(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `rotacionar(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.Rotate = Rotate;
|
|
20
|
+
//# sourceMappingURL=rotate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rotate.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/rotate.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,MAAO,SAAQ,sBAAS;IAKjC,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,CAAC;YACrB,OAAO,cAAc,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;QAC3D,CAAC;QAED,OAAO,cAAc,IAAI,CAAC,KAAK,GAAG,CAAA;IACtC,CAAC;CACJ;AAnBD,wBAmBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class RotateX extends MetodoCss {
|
|
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.RotateX = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class RotateX extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(valor, quantificador) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor = Number(valor.lexema);
|
|
9
|
+
this.quantificador = quantificador ? quantificador.lexema : null;
|
|
10
|
+
this.traducao = 'rotateX';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `rotacionar-horizontal(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `rotacionar-horizontal(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.RotateX = RotateX;
|
|
20
|
+
//# sourceMappingURL=rotateX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rotateX.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/rotateX.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,OAAQ,SAAQ,sBAAS;IAKlC,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,CAAC;YACrB,OAAO,yBAAyB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;QACtE,CAAC;QAED,OAAO,yBAAyB,IAAI,CAAC,KAAK,GAAG,CAAA;IACjD,CAAC;CACJ;AAnBD,0BAmBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class RotateY extends MetodoCss {
|
|
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.RotateY = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class RotateY extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(valor, quantificador) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor = Number(valor.lexema);
|
|
9
|
+
this.quantificador = quantificador ? quantificador.lexema : null;
|
|
10
|
+
this.traducao = 'rotateY';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `rotacionar-vertical(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `rotacionar-vertical(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.RotateY = RotateY;
|
|
20
|
+
//# sourceMappingURL=rotateY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rotateY.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/rotateY.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,OAAQ,SAAQ,sBAAS;IAKlC,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,CAAC;YACrB,OAAO,uBAAuB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;QACpE,CAAC;QAED,OAAO,uBAAuB,IAAI,CAAC,KAAK,GAAG,CAAA;IAC/C,CAAC;CACJ;AAnBD,0BAmBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class RotateZ extends MetodoCss {
|
|
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.RotateZ = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class RotateZ extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(valor, quantificador) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor = Number(valor.lexema);
|
|
9
|
+
this.quantificador = quantificador ? quantificador.lexema : null;
|
|
10
|
+
this.traducao = 'rotateZ';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `rotacionar-eixo-z(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `rotacionar-eixo-z(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.RotateZ = RotateZ;
|
|
20
|
+
//# sourceMappingURL=rotateZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rotateZ.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/rotateZ.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,OAAQ,SAAQ,sBAAS;IAKlC,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,CAAC;YACrB,OAAO,qBAAqB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;QAClE,CAAC;QAED,OAAO,qBAAqB,IAAI,CAAC,KAAK,GAAG,CAAA;IAC7C,CAAC;CACJ;AAnBD,0BAmBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class Saturate extends MetodoCss {
|
|
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.Saturate = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class Saturate extends metodo_css_1.MetodoCss {
|
|
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 `saturar(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `saturar(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.Saturate = Saturate;
|
|
20
|
+
//# sourceMappingURL=saturate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saturate.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/saturate.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,QAAS,SAAQ,sBAAS;IAKnC,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,CAAC;YACrB,OAAO,WAAW,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;QACxD,CAAC;QAED,OAAO,WAAW,IAAI,CAAC,KAAK,GAAG,CAAA;IACnC,CAAC;CACJ;AAnBD,4BAmBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class Scale extends MetodoCss {
|
|
4
|
+
valor1: number;
|
|
5
|
+
valor2: number;
|
|
6
|
+
traducao: string;
|
|
7
|
+
constructor(valor1: Simbolo, valor2: Simbolo);
|
|
8
|
+
paraTexto(): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Scale = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class Scale extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(valor1, valor2) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor1 = Number(valor1.lexema);
|
|
9
|
+
this.valor2 = valor2 ? Number(valor2.lexema) : null;
|
|
10
|
+
this.traducao = 'scale';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.valor2) {
|
|
14
|
+
return `escalamento(${this.valor1}, ${this.valor2})`;
|
|
15
|
+
}
|
|
16
|
+
return `escalamento(${this.valor1})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.Scale = Scale;
|
|
20
|
+
//# sourceMappingURL=scale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scale.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/scale.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,KAAM,SAAQ,sBAAS;IAKhC,YAAY,MAAe,EAAE,MAAe;QACxC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACpD,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YACd,OAAO,eAAe,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,MAAM,GAAG,CAAA;QACxD,CAAC;QAED,OAAO,eAAe,IAAI,CAAC,MAAM,GAAG,CAAA;IACxC,CAAC;CACJ;AAnBD,sBAmBC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class Scale3d extends MetodoCss {
|
|
4
|
+
valor1: number;
|
|
5
|
+
valor2: number;
|
|
6
|
+
valor3: number;
|
|
7
|
+
traducao: string;
|
|
8
|
+
constructor(valor1: Simbolo, valor2: Simbolo, valor3: Simbolo);
|
|
9
|
+
paraTexto(): string;
|
|
10
|
+
}
|