xactsize-webcomponents 1.0.12 → 1.0.15
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/LICENSE.md +18 -18
- package/README.md +77 -77
- package/dist/body-measurer.d.ts +4 -13
- package/dist/body-measurer.es.js +1205 -903
- package/dist/body-measurer.umd.js +530 -274
- package/dist/components/xact-step-informs.d.ts +12 -0
- package/dist/generated/locales/pt-BR.d.ts +18 -6
- package/dist/{pt-BR-DQYiEJfn.mjs → pt-BR-DbHWxMW_.mjs} +19 -7
- package/package.json +4 -2
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class xactStepInforms extends LitElement {
|
|
3
|
+
height: number;
|
|
4
|
+
onStep2advancement: (() => void) | undefined;
|
|
5
|
+
static styles: import('lit', { with: { "resolution-mode": "import" } }).CSSResult;
|
|
6
|
+
render(): import('lit-html', { with: { "resolution-mode": "import" } }).TemplateResult<1>;
|
|
7
|
+
}
|
|
8
|
+
declare global {
|
|
9
|
+
interface HTMLElementTagNameMap {
|
|
10
|
+
'xact-step-informs': xactStepInforms;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -31,21 +31,33 @@ export declare const templates: {
|
|
|
31
31
|
ERR_UPPER_BODY_NOT_VISIBLE: string;
|
|
32
32
|
ERR_WAIST_MEASUREMENT_FAILED: string;
|
|
33
33
|
s2d726e20085011c1: string;
|
|
34
|
-
s2e6fae2f79e61556: string;
|
|
35
34
|
s2f77566c78235d88: string;
|
|
36
35
|
s34c58d3d12e5f890: string;
|
|
37
36
|
s3d324b180f982d46: string;
|
|
38
37
|
s3e742a73512eb1da: string;
|
|
39
|
-
s420e8053328b31c4: string;
|
|
40
38
|
s5c91b5e06c363734: string;
|
|
41
|
-
s676cfe9f36657792: string;
|
|
42
|
-
s6b15fa3aeceb6612: string;
|
|
43
39
|
s7c5b35754de07309: string;
|
|
44
40
|
s8e3fcbc208dcce56: string;
|
|
45
41
|
s952ed559991cf0b4: string;
|
|
46
|
-
s9ab2057f0a31be23: string;
|
|
47
|
-
sc95ab500914c6f87: string;
|
|
48
42
|
sd13d4c82d57859fc: string;
|
|
49
43
|
sdabfef8968aeb5fa: string;
|
|
50
44
|
sf315699feee25406: string;
|
|
45
|
+
sb5977e9b7929155d: string;
|
|
46
|
+
s420e8053328b31c4: string;
|
|
47
|
+
sf84b5644f7595ce5: string;
|
|
48
|
+
sdf9f9c621b6316e7: string;
|
|
49
|
+
s6ad3b28b46803c43: string;
|
|
50
|
+
se940dab2e0b7a710: string;
|
|
51
|
+
scf8d43c4a5cb71fa: string;
|
|
52
|
+
s48d094fb2ffff8fb: string;
|
|
53
|
+
s08b0bc2feb4e0f1c: string;
|
|
54
|
+
s322c72546e939809: string;
|
|
55
|
+
sa4ad2b9cd4ea10ba: string;
|
|
56
|
+
s396efd2b23a16ac9: string;
|
|
57
|
+
s81d43b9b25d0775b: string;
|
|
58
|
+
s88a3f5e6a9d9945d: string;
|
|
59
|
+
s8fb9f388e75ffe11: string;
|
|
60
|
+
s625ff027ee7b497b: string;
|
|
61
|
+
s1dd794b3870bcae0: string;
|
|
62
|
+
saa7ace350b982c68: string;
|
|
51
63
|
};
|
|
@@ -31,23 +31,35 @@ const e = {
|
|
|
31
31
|
ERR_UPPER_BODY_NOT_VISIBLE: "Ajuste sua posição para mostrar a parte superior do corpo",
|
|
32
32
|
ERR_WAIST_MEASUREMENT_FAILED: "Fique ereto e certifique-se de que sua cintura esteja visível",
|
|
33
33
|
s2d726e20085011c1: "Altura (cm)",
|
|
34
|
-
s2e6fae2f79e61556: "A recomendação acima é para um caimento ideal baseado em suas medidas. Para um caimento mais confortável ou oversized, escolha tamanhos maiores.",
|
|
35
34
|
s2f77566c78235d88: "Erro acessando a câmera",
|
|
36
35
|
s34c58d3d12e5f890: "Erro ao mudar a câmera",
|
|
37
36
|
s3d324b180f982d46: "Tenha certeza de que seu corpo está totalmente visível",
|
|
38
37
|
s3e742a73512eb1da: "Para começarmos, informe sua altura",
|
|
39
|
-
s420e8053328b31c4: "Seu tamanho ideal",
|
|
40
38
|
s5c91b5e06c363734: "",
|
|
41
|
-
s676cfe9f36657792: "Medição bem-sucedida",
|
|
42
|
-
s6b15fa3aeceb6612: "Com apenas um scan vamos descobrir o tamanho ideal para você. E não se preocupe, não armazenamos ou compartilhamos sua imagem.",
|
|
43
39
|
s7c5b35754de07309: "Vamos lá!",
|
|
44
40
|
s8e3fcbc208dcce56: "Esqueça a fita. Descubra o tamanho ideal com o seu dispositivo",
|
|
45
41
|
s952ed559991cf0b4: "Desenvolvido por",
|
|
46
|
-
s9ab2057f0a31be23: "Aceitar sugestão",
|
|
47
|
-
sc95ab500914c6f87: "Medir novamente",
|
|
48
42
|
sd13d4c82d57859fc: "Posicione-se em frente a câmera",
|
|
49
43
|
sdabfef8968aeb5fa: "Um erro inesperado aconteceu",
|
|
50
|
-
sf315699feee25406: "Descubra o tamanho ideal para você"
|
|
44
|
+
sf315699feee25406: "Descubra o tamanho ideal para você",
|
|
45
|
+
sb5977e9b7929155d: "As fast as facial recognition. And don't worry, we don't store or share your image.",
|
|
46
|
+
s420e8053328b31c4: "Your ideal size",
|
|
47
|
+
sf84b5644f7595ce5: "Based on your measurements and the exact dimensions of the garment, the size recommendation provided is the most accurate for an ideal fit.",
|
|
48
|
+
sdf9f9c621b6316e7: "Measure Again",
|
|
49
|
+
s6ad3b28b46803c43: "Accept Suggestion",
|
|
50
|
+
se940dab2e0b7a710: "Before you begin",
|
|
51
|
+
scf8d43c4a5cb71fa: "To ensure accurate measurements, we'll take two scans: one from the front and one from the side. Maintain an upright posture with your arms slightly away from your body and stretched out. In the side view, stand up straight with your arms straight and aligned with your body.",
|
|
52
|
+
s48d094fb2ffff8fb: "Tips",
|
|
53
|
+
s08b0bc2feb4e0f1c: "Good Lighting",
|
|
54
|
+
s322c72546e939809: "Choose a well-lit area where you can see your image clearly.",
|
|
55
|
+
sa4ad2b9cd4ea10ba: "Clean Background",
|
|
56
|
+
s396efd2b23a16ac9: "Position yourself against a plain background.",
|
|
57
|
+
s81d43b9b25d0775b: "Clothes",
|
|
58
|
+
s88a3f5e6a9d9945d: "Wear clothes that you usually wear on a daily basis.",
|
|
59
|
+
s8fb9f388e75ffe11: "Framing",
|
|
60
|
+
s625ff027ee7b497b: "Make sure your entire body is visible. The app will guide you.",
|
|
61
|
+
s1dd794b3870bcae0: "To start",
|
|
62
|
+
saa7ace350b982c68: "Please turn sideways!"
|
|
51
63
|
};
|
|
52
64
|
export {
|
|
53
65
|
e as templates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xactsize-webcomponents",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "A web component for body measurements and size recommendations",
|
|
5
5
|
"main": "dist/body-measurer.umd.js",
|
|
6
6
|
"module": "dist/body-measurer.es.js",
|
|
@@ -26,7 +26,9 @@
|
|
|
26
26
|
"prepublishOnly": "npm run build",
|
|
27
27
|
"link": "npm link",
|
|
28
28
|
"dev": "run-p start watch:locales",
|
|
29
|
-
"watch:locales": "lit-localize extract --watch"
|
|
29
|
+
"watch:locales": "lit-localize extract --watch",
|
|
30
|
+
"test-local": "npm run build && npm pack",
|
|
31
|
+
"link-local": "npm run build && npm link"
|
|
30
32
|
},
|
|
31
33
|
"dependencies": {
|
|
32
34
|
"@lit/localize": "^0.12.2",
|