@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,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Scale3d = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class Scale3d extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(valor1, valor2, valor3) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor1 = Number(valor1.lexema);
|
|
9
|
+
this.valor2 = Number(valor2.lexema);
|
|
10
|
+
this.valor3 = Number(valor3.lexema);
|
|
11
|
+
this.traducao = 'scale3d';
|
|
12
|
+
}
|
|
13
|
+
paraTexto() {
|
|
14
|
+
return `escalamento-3d(${this.valor1}, ${this.valor2}, ${this.valor3})`;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.Scale3d = Scale3d;
|
|
18
|
+
//# sourceMappingURL=scale3d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scale3d.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/scale3d.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,OAAQ,SAAQ,sBAAS;IAMlC,YAAY,MAAe,EAAE,MAAe,EAAE,MAAe;QACzD,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;IAC9B,CAAC;IAED,SAAS;QACL,OAAO,kBAAkB,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,MAAM,GAAG,CAAA;IAC3E,CAAC;CACJ;AAjBD,0BAiBC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ScaleX = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class ScaleX extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(valor1, valor2) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor1 = Number(valor1.lexema);
|
|
9
|
+
this.traducao = 'scaleX';
|
|
10
|
+
}
|
|
11
|
+
paraTexto() {
|
|
12
|
+
return `escalamento-horizontal(${this.valor1})`;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.ScaleX = ScaleX;
|
|
16
|
+
//# sourceMappingURL=scaleX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scaleX.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/scaleX.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,MAAO,SAAQ,sBAAS;IAIjC,YAAY,MAAe,EAAE,MAAe;QACxC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED,SAAS;QACL,OAAO,0BAA0B,IAAI,CAAC,MAAM,GAAG,CAAA;IACnD,CAAC;CACJ;AAbD,wBAaC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ScaleY = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class ScaleY extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(valor1, valor2) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor1 = Number(valor1.lexema);
|
|
9
|
+
this.traducao = 'scaleY';
|
|
10
|
+
}
|
|
11
|
+
paraTexto() {
|
|
12
|
+
return `escalamento-vertical(${this.valor1})`;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.ScaleY = ScaleY;
|
|
16
|
+
//# sourceMappingURL=scaleY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scaleY.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/scaleY.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,MAAO,SAAQ,sBAAS;IAIjC,YAAY,MAAe,EAAE,MAAe;QACxC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED,SAAS;QACL,OAAO,wBAAwB,IAAI,CAAC,MAAM,GAAG,CAAA;IACjD,CAAC;CACJ;AAbD,wBAaC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ScaleZ = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class ScaleZ extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(valor1, valor2) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor1 = Number(valor1.lexema);
|
|
9
|
+
this.traducao = 'scaleZ';
|
|
10
|
+
}
|
|
11
|
+
paraTexto() {
|
|
12
|
+
return `escalamento-eixo-z(${this.valor1})`;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.ScaleZ = ScaleZ;
|
|
16
|
+
//# sourceMappingURL=scaleZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scaleZ.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/scaleZ.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,MAAO,SAAQ,sBAAS;IAIjC,YAAY,MAAe,EAAE,MAAe;QACxC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED,SAAS;QACL,OAAO,sBAAsB,IAAI,CAAC,MAAM,GAAG,CAAA;IAC/C,CAAC;CACJ;AAbD,wBAaC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class Sepia 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.Sepia = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class Sepia 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 = '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/css/sepia.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,KAAM,SAAQ,sBAAS;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,OAAO,CAAC;IAC5B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;YACrB,OAAO,SAAS,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;QACtD,CAAC;QAED,OAAO,SAAS,IAAI,CAAC,KAAK,GAAG,CAAA;IACjC,CAAC;CACJ;AAnBD,sBAmBC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class Skew extends MetodoCss {
|
|
4
|
+
valor1: number;
|
|
5
|
+
quantificador1: string;
|
|
6
|
+
valor2: number | string;
|
|
7
|
+
quantificador2: string;
|
|
8
|
+
traducao: string;
|
|
9
|
+
constructor(valor1: Simbolo, quantificador1: Simbolo, valor2: Simbolo, quantificador2: Simbolo);
|
|
10
|
+
paraTexto(): string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Skew = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class Skew extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(valor1, quantificador1, valor2, quantificador2) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor1 = Number(valor1.lexema);
|
|
9
|
+
this.quantificador1 = quantificador1 ? quantificador1.lexema : null;
|
|
10
|
+
this.valor2 = valor2 ? Number(valor2.lexema) : null;
|
|
11
|
+
this.quantificador2 = quantificador2 ? quantificador2.lexema : null;
|
|
12
|
+
this.traducao = 'skew';
|
|
13
|
+
}
|
|
14
|
+
paraTexto() {
|
|
15
|
+
if (!this.quantificador1 && !this.valor2 && !this.quantificador2) {
|
|
16
|
+
return `inclinar(${this.valor1})`;
|
|
17
|
+
}
|
|
18
|
+
if (!this.valor2 && !this.quantificador2) {
|
|
19
|
+
return `inclinar(${this.valor1}${this.quantificador1})`;
|
|
20
|
+
}
|
|
21
|
+
return `inclinar(${this.valor1}${this.quantificador1}, ${this.valor2}${this.quantificador2})`;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.Skew = Skew;
|
|
25
|
+
//# sourceMappingURL=skew.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skew.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/skew.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,IAAK,SAAQ,sBAAS;IAO/B,YAAY,MAAe,EAAE,cAAuB,EAAE,MAAe,EAAE,cAAuB;QAC1F,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACpE,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,QAAQ,GAAG,MAAM,CAAC;IAC3B,CAAC;IAED,SAAS;QACL,IAAI,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;YAC/D,OAAO,YAAY,IAAI,CAAC,MAAM,GAAG,CAAA;QACrC,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;YACvC,OAAO,YAAY,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,GAAG,CAAA;QAC3D,CAAC;QAED,OAAO,YAAY,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,KAAK,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,GAAG,CAAA;IACjG,CAAC;CACJ;AA3BD,oBA2BC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class SkewX 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.SkewX = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class SkewX 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 = 'skewX';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `inclinar-horizontal(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `inclinar-horizontal(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.SkewX = SkewX;
|
|
20
|
+
//# sourceMappingURL=skewX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skewX.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/skewX.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,KAAM,SAAQ,sBAAS;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,OAAO,CAAC;IAC5B,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,sBAmBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class SkewY 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.SkewY = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class SkewY 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 = 'skewY';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `inclinar-vertical(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `inclinar-vertical(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.SkewY = SkewY;
|
|
20
|
+
//# sourceMappingURL=skewY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skewY.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/skewY.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,KAAM,SAAQ,sBAAS;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,OAAO,CAAC;IAC5B,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,sBAmBC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class Steps extends MetodoCss {
|
|
4
|
+
numero: number;
|
|
5
|
+
salto: string;
|
|
6
|
+
traducao: string;
|
|
7
|
+
saltos: {
|
|
8
|
+
"jump-start": string;
|
|
9
|
+
"jump-end": string;
|
|
10
|
+
"jump-none": string;
|
|
11
|
+
"jump-both": string;
|
|
12
|
+
start: string;
|
|
13
|
+
end: string;
|
|
14
|
+
};
|
|
15
|
+
constructor(numero: Simbolo, salto: string);
|
|
16
|
+
paraTexto(): string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Steps = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class Steps extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(numero, salto) {
|
|
7
|
+
super();
|
|
8
|
+
this.saltos = {
|
|
9
|
+
"jump-start": "salto-inicial",
|
|
10
|
+
"jump-end": "salto-final",
|
|
11
|
+
"jump-none": "salto-nenhum",
|
|
12
|
+
"jump-both": "salto-conjunto",
|
|
13
|
+
"start": "inicial",
|
|
14
|
+
"end": "final",
|
|
15
|
+
};
|
|
16
|
+
this.numero = Number(numero.lexema);
|
|
17
|
+
this.salto = this.saltos[salto['lexema']];
|
|
18
|
+
this.traducao = 'steps';
|
|
19
|
+
}
|
|
20
|
+
paraTexto() {
|
|
21
|
+
return `passos(${this.numero}, ${this.salto})`;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.Steps = Steps;
|
|
25
|
+
//# sourceMappingURL=steps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"steps.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/steps.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,KAAM,SAAQ,sBAAS;IAchC,YAAY,MAAe,EAAE,KAAa;QACtC,KAAK,EAAE,CAAC;QAVZ,WAAM,GAAG;YACL,YAAY,EAAE,eAAe;YAC7B,UAAU,EAAE,aAAa;YACzB,WAAW,EAAE,cAAc;YAC3B,WAAW,EAAE,gBAAgB;YAC7B,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,OAAO;SACjB,CAAA;QAIG,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC1C,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5B,CAAC;IAED,SAAS;QACL,OAAO,UAAU,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,KAAK,GAAG,CAAA;IAClD,CAAC;CACJ;AAxBD,sBAwBC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class Translate extends MetodoCss {
|
|
4
|
+
valor1: number;
|
|
5
|
+
quantificador1: string;
|
|
6
|
+
valor2: number;
|
|
7
|
+
quantificador2: string;
|
|
8
|
+
traducao: string;
|
|
9
|
+
constructor(valor1: Simbolo, quantificador1: Simbolo, valor2: Simbolo, quantificador2: Simbolo);
|
|
10
|
+
paraTexto(): string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Translate = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class Translate extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(valor1, quantificador1, valor2, quantificador2) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor1 = Number(valor1.lexema);
|
|
9
|
+
this.quantificador1 = quantificador1 ? quantificador1.lexema : null;
|
|
10
|
+
this.valor2 = valor2 ? Number(valor2.lexema) : null;
|
|
11
|
+
this.quantificador2 = quantificador2 ? quantificador2.lexema : null;
|
|
12
|
+
this.traducao = 'translate';
|
|
13
|
+
}
|
|
14
|
+
paraTexto() {
|
|
15
|
+
if (!this.quantificador1 && !this.valor2 && !this.quantificador2) {
|
|
16
|
+
return `translação(${this.valor1})`;
|
|
17
|
+
}
|
|
18
|
+
if (!this.valor2 && !this.quantificador2) {
|
|
19
|
+
return `translação(${this.valor1}${this.quantificador1})`;
|
|
20
|
+
}
|
|
21
|
+
return `translação(${this.valor1}${this.quantificador1}, ${this.valor2}${this.quantificador2})`;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.Translate = Translate;
|
|
25
|
+
//# sourceMappingURL=translate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translate.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/translate.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,SAAU,SAAQ,sBAAS;IAOpC,YAAY,MAAe,EAAE,cAAuB,EAAE,MAAe,EAAE,cAAuB;QAC1F,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACpE,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,QAAQ,GAAG,WAAW,CAAC;IAChC,CAAC;IAED,SAAS;QACL,IAAI,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;YAC/D,OAAO,cAAc,IAAI,CAAC,MAAM,GAAG,CAAA;QACvC,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;YACvC,OAAO,cAAc,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,GAAG,CAAA;QAC7D,CAAC;QAED,OAAO,cAAc,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,KAAK,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,GAAG,CAAA;IACnG,CAAC;CACJ;AA3BD,8BA2BC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class Translate3d extends MetodoCss {
|
|
4
|
+
valor1: number;
|
|
5
|
+
quantificador1: string;
|
|
6
|
+
valor2: number;
|
|
7
|
+
quantificador2: string;
|
|
8
|
+
valor3: number;
|
|
9
|
+
quantificador3: string;
|
|
10
|
+
traducao: string;
|
|
11
|
+
constructor(valor1: Simbolo, quantificador1: Simbolo, valor2: Simbolo, quantificador2: Simbolo, valor3: Simbolo, quantificador3: Simbolo);
|
|
12
|
+
paraTexto(): string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Translate3d = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class Translate3d extends metodo_css_1.MetodoCss {
|
|
6
|
+
constructor(valor1, quantificador1, valor2, quantificador2, valor3, quantificador3) {
|
|
7
|
+
super();
|
|
8
|
+
this.valor1 = Number(valor1.lexema);
|
|
9
|
+
this.quantificador1 = quantificador1 ? quantificador1.lexema : null;
|
|
10
|
+
this.valor2 = valor2 ? Number(valor2.lexema) : null;
|
|
11
|
+
this.quantificador2 = quantificador2 ? quantificador2.lexema : null;
|
|
12
|
+
this.valor3 = valor3 ? Number(valor3.lexema) : null;
|
|
13
|
+
this.quantificador3 = quantificador3 ? quantificador3.lexema : null;
|
|
14
|
+
this.traducao = 'translate3d';
|
|
15
|
+
}
|
|
16
|
+
paraTexto() {
|
|
17
|
+
if (!this.quantificador1 && !this.valor2 && !this.quantificador2 && !this.valor3 && !this.quantificador3) {
|
|
18
|
+
return `translacao-3d(${this.valor1})`;
|
|
19
|
+
}
|
|
20
|
+
if (!this.quantificador1 && this.quantificador2 && this.quantificador3) {
|
|
21
|
+
return `translacao-3d(${this.valor1}, ${this.valor2}${this.quantificador2}, ${this.valor3}${this.quantificador3})`;
|
|
22
|
+
}
|
|
23
|
+
if (!this.quantificador2 && this.quantificador1 && this.quantificador3) {
|
|
24
|
+
return `translacao-3d(${this.valor1}${this.quantificador1}, ${this.valor2}, ${this.valor3}${this.quantificador3})`;
|
|
25
|
+
}
|
|
26
|
+
if (!this.quantificador3 && this.quantificador2 && this.quantificador1) {
|
|
27
|
+
return `translacao-3d(${this.valor1}${this.quantificador1}, ${this.valor2}${this.quantificador2}, ${this.valor3})`;
|
|
28
|
+
}
|
|
29
|
+
if (!this.quantificador1 && !this.quantificador2 && this.quantificador3) {
|
|
30
|
+
return `translacao-3d(${this.valor1}, ${this.valor2}, ${this.valor3}${this.quantificador3})`;
|
|
31
|
+
}
|
|
32
|
+
if (!this.quantificador3 && this.quantificador2 && !this.quantificador1) {
|
|
33
|
+
return `translacao-3d(${this.valor1}, ${this.valor2}${this.quantificador2}, ${this.valor3})`;
|
|
34
|
+
}
|
|
35
|
+
if (!this.quantificador3 && !this.quantificador2 && this.quantificador1) {
|
|
36
|
+
return `translacao-3d(${this.valor1}${this.quantificador1}, ${this.valor2}, ${this.valor3})`;
|
|
37
|
+
}
|
|
38
|
+
return `translacao-3d(${this.valor1}${this.quantificador1}, ${this.valor2}${this.quantificador2}, ${this.valor3}${this.quantificador3})`;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.Translate3d = Translate3d;
|
|
42
|
+
//# sourceMappingURL=translate3d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translate3d.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/translate3d.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class TranslateX 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.TranslateX = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class TranslateX 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 = 'translateX';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `translacao-horizontal(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `translacao-horizontal(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.TranslateX = TranslateX;
|
|
20
|
+
//# sourceMappingURL=translateX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translateX.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/translateX.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,UAAW,SAAQ,sBAAS;IAKrC,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,yBAAyB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;QACtE,CAAC;QAED,OAAO,yBAAyB,IAAI,CAAC,KAAK,GAAG,CAAA;IACjD,CAAC;CACJ;AAnBD,gCAmBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class TranslateY 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.TranslateY = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class TranslateY 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 = 'translateY';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `translacao-vertical(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `translacao-vertical(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.TranslateY = TranslateY;
|
|
20
|
+
//# sourceMappingURL=translateY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translateY.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/translateY.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,UAAW,SAAQ,sBAAS;IAKrC,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,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,gCAmBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Simbolo } from "../../../lexador";
|
|
2
|
+
import { MetodoCss } from "./metodo-css";
|
|
3
|
+
export declare class TranslateZ 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.TranslateZ = void 0;
|
|
4
|
+
const metodo_css_1 = require("./metodo-css");
|
|
5
|
+
class TranslateZ 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 = 'translateZ';
|
|
11
|
+
}
|
|
12
|
+
paraTexto() {
|
|
13
|
+
if (this.quantificador) {
|
|
14
|
+
return `translacao-eixo-z(${this.valor}${this.quantificador})`;
|
|
15
|
+
}
|
|
16
|
+
return `translacao-eixo-z(${this.valor})`;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.TranslateZ = TranslateZ;
|
|
20
|
+
//# sourceMappingURL=translateZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translateZ.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/css/translateZ.ts"],"names":[],"mappings":";;;AACA,6CAAyC;AAEzC,MAAa,UAAW,SAAQ,sBAAS;IAKrC,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,qBAAqB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;QAClE,CAAC;QAED,OAAO,qBAAqB,IAAI,CAAC,KAAK,GAAG,CAAA;IAC7C,CAAC;CACJ;AAnBD,gCAmBC"}
|
|
@@ -19,8 +19,12 @@ class Inclinar extends metodo_1.Metodo {
|
|
|
19
19
|
this.quantificador1 === 'graus' ? this.quantificador1 = 'deg' : null;
|
|
20
20
|
return `skew(${this.valor1}${this.quantificador1})`;
|
|
21
21
|
}
|
|
22
|
-
this.quantificador1 === 'graus'
|
|
23
|
-
|
|
22
|
+
if (this.quantificador1 === 'graus') {
|
|
23
|
+
this.quantificador1 = 'deg';
|
|
24
|
+
}
|
|
25
|
+
if (this.quantificador2 === 'graus') {
|
|
26
|
+
this.quantificador2 = 'deg';
|
|
27
|
+
}
|
|
24
28
|
return `skew(${this.valor1}${this.quantificador1}, ${this.valor2}${this.quantificador2})`;
|
|
25
29
|
}
|
|
26
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inclinar.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/foles/inclinar.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,QAAS,SAAQ,eAAM;IAOhC,YAAY,MAAe,EAAE,cAAuB,EAAE,MAAe,EAAE,cAAuB;QAC1F,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACpE,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,QAAQ,GAAG,MAAM,CAAC;IAC3B,CAAC;IAED,SAAS;QACL,IAAI,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;YAC/D,OAAO,QAAQ,IAAI,CAAC,MAAM,GAAG,CAAA;QACjC,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;YACvC,IAAI,CAAC,cAAc,KAAK,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;YACrE,OAAO,QAAQ,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,GAAG,CAAA;QACvD,CAAC;QAED,IAAI,CAAC,cAAc,KAAK,OAAO,
|
|
1
|
+
{"version":3,"file":"inclinar.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/foles/inclinar.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,QAAS,SAAQ,eAAM;IAOhC,YAAY,MAAe,EAAE,cAAuB,EAAE,MAAe,EAAE,cAAuB;QAC1F,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACpE,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,QAAQ,GAAG,MAAM,CAAC;IAC3B,CAAC;IAED,SAAS;QACL,IAAI,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;YAC/D,OAAO,QAAQ,IAAI,CAAC,MAAM,GAAG,CAAA;QACjC,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;YACvC,IAAI,CAAC,cAAc,KAAK,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;YACrE,OAAO,QAAQ,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,GAAG,CAAA;QACvD,CAAC;QAED,IAAI,IAAI,CAAC,cAAc,KAAK,OAAO,EAAE,CAAC;YAClC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAChC,CAAC;QAED,IAAI,IAAI,CAAC,cAAc,KAAK,OAAO,EAAE,CAAC;YAClC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAChC,CAAC;QAED,OAAO,QAAQ,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,KAAK,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,GAAG,CAAA;IAC7F,CAAC;CACJ;AApCD,4BAoCC"}
|
|
@@ -5,7 +5,7 @@ const metodo_1 = require("./metodo");
|
|
|
5
5
|
class Perspectivar extends metodo_1.Metodo {
|
|
6
6
|
constructor(valor, quantificador) {
|
|
7
7
|
super();
|
|
8
|
-
this.valor =
|
|
8
|
+
this.valor = valor.lexema;
|
|
9
9
|
this.quantificador = quantificador ? quantificador.lexema : null;
|
|
10
10
|
this.traducao = 'perspective';
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"perspectivar.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/foles/perspectivar.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,YAAa,SAAQ,eAAM;IAKpC,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"perspectivar.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/foles/perspectivar.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,YAAa,SAAQ,eAAM;IAKpC,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,eAAe,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;QAC5D,CAAC;QAED,OAAO,eAAe,IAAI,CAAC,KAAK,GAAG,CAAA;IACvC,CAAC;CACJ;AAnBD,oCAmBC"}
|
|
@@ -12,9 +12,11 @@ class Raio extends metodo_1.Metodo {
|
|
|
12
12
|
this.traducao = 'ray';
|
|
13
13
|
}
|
|
14
14
|
paraTexto() {
|
|
15
|
+
if (this.quantificador === 'graus') {
|
|
16
|
+
this.quantificador = 'deg';
|
|
17
|
+
}
|
|
15
18
|
if (this.posicao) {
|
|
16
19
|
this.posicao = posicoes_1.posicoesRaio[this.posicao];
|
|
17
|
-
this.quantificador === 'graus' ? this.quantificador = 'deg' : null;
|
|
18
20
|
return `ray(${this.posicao} ${this.valor}${this.quantificador})`;
|
|
19
21
|
}
|
|
20
22
|
return `ray(${this.valor}${this.quantificador})`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raio.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/foles/raio.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAClC,wEAAyE;AAEzE,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,CAAC;
|
|
1
|
+
{"version":3,"file":"raio.js","sourceRoot":"","sources":["../../../../../fontes/valores/metodos/foles/raio.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAClC,wEAAyE;AAEzE,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,aAAa,KAAK,OAAO,EAAE,CAAC;YACjC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAA;QAC9B,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACf,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;QACpE,CAAC;QAED,OAAO,OAAO,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;IACpD,CAAC;CACJ;AA1BD,oBA0BC"}
|
|
@@ -19,8 +19,12 @@ class Translacao extends metodo_1.Metodo {
|
|
|
19
19
|
this.quantificador1 === 'graus' ? this.quantificador1 = 'deg' : null;
|
|
20
20
|
return `translate(${this.valor1}${this.quantificador1})`;
|
|
21
21
|
}
|
|
22
|
-
this.quantificador1 === 'graus'
|
|
23
|
-
|
|
22
|
+
if (this.quantificador1 === 'graus') {
|
|
23
|
+
this.quantificador1 = 'deg';
|
|
24
|
+
}
|
|
25
|
+
if (this.quantificador2 === 'graus') {
|
|
26
|
+
this.quantificador2 = 'deg';
|
|
27
|
+
}
|
|
24
28
|
return `translate(${this.valor1}${this.quantificador1}, ${this.valor2}${this.quantificador2})`;
|
|
25
29
|
}
|
|
26
30
|
}
|