niris-public-community-components 0.0.1 → 0.0.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.
Files changed (54) hide show
  1. package/README.md +59 -8
  2. package/dev/form-niris.html +29 -0
  3. package/dev/text-area-niris.html +8 -5
  4. package/dist/form-niris.d.ts +70 -0
  5. package/dist/form-niris.d.ts.map +1 -0
  6. package/dist/form-niris.js +1127 -0
  7. package/dist/form-niris.js.map +1 -0
  8. package/dist/form-to-niris.js +847 -0
  9. package/dist/generated/locale-codes.d.ts +14 -0
  10. package/dist/generated/locale-codes.d.ts.map +1 -0
  11. package/dist/generated/locale-codes.js +23 -0
  12. package/dist/generated/locale-codes.js.map +1 -0
  13. package/dist/generated/locales/ca.d.ts +61 -0
  14. package/dist/generated/locales/ca.d.ts.map +1 -0
  15. package/dist/generated/locales/ca.js +65 -0
  16. package/dist/generated/locales/ca.js.map +1 -0
  17. package/dist/generated/locales/en.d.ts +61 -0
  18. package/dist/generated/locales/en.d.ts.map +1 -0
  19. package/dist/generated/locales/en.js +65 -0
  20. package/dist/generated/locales/en.js.map +1 -0
  21. package/dist/index.js +2 -0
  22. package/dist/locale-codes-c2f86156.js +72 -0
  23. package/dist/map-niris.d.ts +25 -0
  24. package/dist/map-niris.d.ts.map +1 -0
  25. package/dist/map-niris.js +200 -0
  26. package/dist/map-niris.js.map +1 -0
  27. package/dist/styles/globalStyles.d.ts +2 -0
  28. package/dist/styles/globalStyles.d.ts.map +1 -0
  29. package/dist/styles/globalStyles.js +170 -0
  30. package/dist/styles/globalStyles.js.map +1 -0
  31. package/dist/test/my-element_test.d.ts +7 -0
  32. package/dist/test/my-element_test.d.ts.map +1 -0
  33. package/dist/test/my-element_test.js +47 -0
  34. package/dist/test/my-element_test.js.map +1 -0
  35. package/dist/types.d.ts +85 -0
  36. package/dist/types.d.ts.map +1 -0
  37. package/dist/types.js +9 -0
  38. package/dist/types.js.map +1 -0
  39. package/index.html +5 -3
  40. package/package.json +27 -5
  41. package/rollup.config.js +6 -2
  42. package/src/form-niris.ts +1203 -0
  43. package/src/generated/locale-codes.ts +25 -0
  44. package/src/generated/locales/ca.ts +71 -0
  45. package/src/generated/locales/en.ts +71 -0
  46. package/src/lit-localize.json +15 -0
  47. package/src/map-niris.ts +215 -0
  48. package/src/styles/globalStyles.ts +170 -0
  49. package/src/textarea-to-niris.ts +33 -12
  50. package/src/types.ts +90 -0
  51. package/src/xliff/ca.xlf +239 -0
  52. package/src/xliff/en.xlf +239 -0
  53. package/tsconfig.json +1 -1
  54. package/my-element.js +0 -79
package/src/types.ts ADDED
@@ -0,0 +1,90 @@
1
+ export interface FormDataIncidents {
2
+ door?: string | undefined;
3
+ stair?: string | undefined;
4
+ floor?: string | undefined;
5
+ longitude?: string | undefined;
6
+ latitude?: string | undefined;
7
+ number?: string | undefined;
8
+ address?: string | undefined;
9
+ detailId?: number;
10
+ comments?: string;
11
+ transaction?: string;
12
+ device?: number;
13
+ applicant?: number;
14
+ nameCitizen?: string;
15
+ firstSurname?: string;
16
+ secondSurname?: string;
17
+ typeDocument?: number;
18
+ numberDocument?: string;
19
+ birthYear?: number;
20
+ sex?: string;
21
+ socialReason?: string;
22
+ contactPerson?: string;
23
+ cif?: string;
24
+ authorization?: boolean;
25
+ origin?: string;
26
+ district?: number;
27
+ language?: string;
28
+ email?: string;
29
+ telephone?: string;
30
+ characteristics?: CharacteristicElement[];
31
+ location?: Location;
32
+ pictures?: Picture[];
33
+ file?: any[];
34
+ }
35
+
36
+ export interface CharacteristicElement {
37
+ readonly id: number;
38
+ readonly value: string;
39
+ }
40
+
41
+ export interface Location {
42
+ id?: number;
43
+ latitude?: string;
44
+ longitude?: string;
45
+ geocode?: number;
46
+ via_type?: string;
47
+ address?: string;
48
+ number?: string;
49
+ stair?: string;
50
+ floor?: string;
51
+ door?: string;
52
+ district?: number;
53
+ }
54
+
55
+ export interface Picture {
56
+ readonly filename: string;
57
+ }
58
+
59
+ export enum CharacteristicTypeEnum {
60
+ Number = 'Number',
61
+ Text = 'Text',
62
+ Options = 'Options',
63
+ Date = 'Date',
64
+ Time = 'Time',
65
+ }
66
+
67
+ export type Characteristic = {
68
+ readonly id: number;
69
+ readonly type: CharacteristicTypeEnum;
70
+ readonly mandatory: boolean;
71
+ readonly title: string;
72
+ readonly special: boolean;
73
+ readonly mask: number;
74
+ readonly desc_mask: string;
75
+ readonly options: string[];
76
+ readonly explanatory_text: string;
77
+ readonly order: number;
78
+ readonly codename: string;
79
+ readonly editable_for_citizen: boolean;
80
+ readonly options_proxy: any[];
81
+ readonly description_es: string;
82
+ readonly description_en: string;
83
+ readonly description_ca: string;
84
+ readonly description_gl: string;
85
+ };
86
+
87
+ export type Districte = {
88
+ id: number;
89
+ name: string;
90
+ };
@@ -0,0 +1,239 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
3
+ <file target-language="ca" source-language="es" original="lit-localize-inputs" datatype="plaintext">
4
+ <body>
5
+ <trans-unit id="sb6cacaf045a2fe90">
6
+ <source>Atención en línea</source>
7
+ <target>Atenció en línia</target>
8
+ </trans-unit>
9
+ <trans-unit id="s22d3debb0fe19771">
10
+ <source>Atención en línea Niris</source>
11
+ <target>Atenció en línia Niris</target>
12
+ </trans-unit>
13
+ <trans-unit id="s6b344d8147866cc1">
14
+ <source>Información, Consultas, Quejas y Sugerencias:</source>
15
+ <target>Informació, Consultes, Queixes i Suggeriments:</target>
16
+ </trans-unit>
17
+ <trans-unit id="s26432c53ecd144e8">
18
+ <source>Escribe tu consulta aquí</source>
19
+ <target>Escriviu la vostra consulta</target>
20
+ </trans-unit>
21
+ <trans-unit id="s9802dd10b2c2f760">
22
+ <source>Enviar</source>
23
+ <target>Enviar</target>
24
+ </trans-unit>
25
+ <trans-unit id="s238c3ed6d3ecc66a">
26
+ <source>Cerrar</source>
27
+ <target>Tancar</target>
28
+ </trans-unit>
29
+ <trans-unit id="sf9e6fbadcce256d0">
30
+ <source>Ha ocurrido un error</source>
31
+ <target>Ha ocorregut un error</target>
32
+ </trans-unit>
33
+ <trans-unit id="sb1942b92592ac8cf">
34
+ <source>Sentimos las molestias. Vuelva a intentelo más tarde</source>
35
+ <target>Ho sentim. Torni-ho a provar més tard</target>
36
+ </trans-unit>
37
+ <trans-unit id="s4177fe7f5d70fd33">
38
+ <source>Volver</source>
39
+ <target>Tornar</target>
40
+ </trans-unit>
41
+ <trans-unit id="saddc930eb2efdca6">
42
+ <source>¡Ficha creada!</source>
43
+ <target>Fitxa creada!</target>
44
+ </trans-unit>
45
+ <trans-unit id="sfbe83072001704e5">
46
+ <source>El codi de seguiment és</source>
47
+ <target>El codi de seguiment és</target>
48
+ </trans-unit>
49
+ <trans-unit id="s07f7935b16a64e43">
50
+ <source>Agradecemos que nos haya hecho llegar su reconocimiento, el cual se hará llegar al departamento responsable. Con esta información, damos por contestada su comunicación</source>
51
+ <target>Agraïm que ens hagi fet arribar el seu reconeixement, el qual es farà arribar al departament responsable. Amb aquesta informació, donem per contestada la seva comunicació</target>
52
+ </trans-unit>
53
+ <trans-unit id="sf4533552651212ea">
54
+ <source>Los campos marcados con un (*) son obligatorios.</source>
55
+ <target>Els camps marcats amb un (*) són obligatoris.</target>
56
+ </trans-unit>
57
+ <trans-unit id="see4f9c33f20ae7e2">
58
+ <source>Mensaje</source>
59
+ <target>Missatge</target>
60
+ </trans-unit>
61
+ <trans-unit id="sf2d9bee1ddd749d4">
62
+ <source>Escriba brevemente su mensaje</source>
63
+ <target>Escriviu breument el vostre missatge</target>
64
+ </trans-unit>
65
+ <trans-unit id="s4d7be50524a42681">
66
+ <source>Añadir archivo</source>
67
+ <target>Afegir fitxer</target>
68
+ </trans-unit>
69
+ <trans-unit id="s7cf6cfa5cdc725e3">
70
+ <source>Aceptados:</source>
71
+ <target>Acceptats:</target>
72
+ </trans-unit>
73
+ <trans-unit id="s54cd3139a4d69fbc">
74
+ <source>Ubicación</source>
75
+ <target>Ubicació</target>
76
+ </trans-unit>
77
+ <trans-unit id="sac8b678ef5500421">
78
+ <source>Distrito*:</source>
79
+ <target>Districte*:</target>
80
+ </trans-unit>
81
+ <trans-unit id="sd09a1a8863c8ae5b">
82
+ <source>Características de la petición</source>
83
+ <target>Característiques de la petició</target>
84
+ </trans-unit>
85
+ <trans-unit id="sf6686b6b90cc7680">
86
+ <source>Cargando formulario</source>
87
+ <target>Carregant formulari</target>
88
+ </trans-unit>
89
+ <trans-unit id="s10132a1f9423876e">
90
+ <source>Not implemented</source>
91
+ <target>No implementat</target>
92
+ </trans-unit>
93
+ <trans-unit id="s1abaad4e0bafba35">
94
+ <source>Error cargando el formulario</source>
95
+ <target>Error carregant el formulari</target>
96
+ </trans-unit>
97
+ <trans-unit id="s1f26cb0a65a0c36c">
98
+ <source>Datos personales</source>
99
+ <target>Dades personals</target>
100
+ </trans-unit>
101
+ <trans-unit id="sd901c7baed664633">
102
+ <source>Ciudadano</source>
103
+ <target>Ciutadà</target>
104
+ </trans-unit>
105
+ <trans-unit id="sdd366d6d0fe37812">
106
+ <source>Empresa/Entidad</source>
107
+ <target>Empresa/Entitat</target>
108
+ </trans-unit>
109
+ <trans-unit id="s2b9fde9a5739d2a0">
110
+ <source>Nombre</source>
111
+ <target>Nom</target>
112
+ </trans-unit>
113
+ <trans-unit id="s080ffb79b58c5d88">
114
+ <source>Primer apellido</source>
115
+ <target>Primer cognom</target>
116
+ </trans-unit>
117
+ <trans-unit id="sd9e5b15f059a59ee">
118
+ <source>Segundo apellido</source>
119
+ <target>Segon cognom</target>
120
+ </trans-unit>
121
+ <trans-unit id="sb044a1b221567c04">
122
+ <source>Tipo de Documento</source>
123
+ <target>Tipus de Document</target>
124
+ </trans-unit>
125
+ <trans-unit id="s572f5ed1f68bfcbc">
126
+ <source>NIF/DNI</source>
127
+ <target>NIF/DNI</target>
128
+ </trans-unit>
129
+ <trans-unit id="s36e2c319c2d9da17">
130
+ <source>NIE</source>
131
+ <target>NIE</target>
132
+ </trans-unit>
133
+ <trans-unit id="s7c953cf010581df3">
134
+ <source>Passaporte</source>
135
+ <target>Passaport</target>
136
+ </trans-unit>
137
+ <trans-unit id="saac6d40cd7052608">
138
+ <source>Núm. Documento</source>
139
+ <target>Núm. Document</target>
140
+ </trans-unit>
141
+ <trans-unit id="sca318e1f09f7800c">
142
+ <source>Año de nacimiento</source>
143
+ <target>Any de naixement</target>
144
+ </trans-unit>
145
+ <trans-unit id="s88a1a97d95757131">
146
+ <source>Distrito</source>
147
+ <target>Districte</target>
148
+ </trans-unit>
149
+ <trans-unit id="s5ea9f272dd7f1da8">
150
+ <source>Correo electrónico</source>
151
+ <target>Correu electrònic</target>
152
+ </trans-unit>
153
+ <trans-unit id="s889d2b38e8eb16b1">
154
+ <source>Escribe tu correo</source>
155
+ <target>Escriviu el vostre correu</target>
156
+ </trans-unit>
157
+ <trans-unit id="se1674091f5776527">
158
+ <source>Confirma correo electrónico</source>
159
+ <target>Confirma el correu electrònic</target>
160
+ </trans-unit>
161
+ <trans-unit id="s7fbca09fab401ca5">
162
+ <source>Confirma tu correo</source>
163
+ <target>Confirma el teu correu</target>
164
+ </trans-unit>
165
+ <trans-unit id="sdf913cb738108398">
166
+ <source>Los emails no conciden</source>
167
+ <target>Els correus no coincideixen</target>
168
+ </trans-unit>
169
+ <trans-unit id="scbe4c6673872bda5">
170
+ <source>Teléfono</source>
171
+ <target>Telèfon</target>
172
+ </trans-unit>
173
+ <trans-unit id="s694b51e10128655f">
174
+ <source>Escribe tu teléfono</source>
175
+ <target>Escriviu el vostre telèfon</target>
176
+ </trans-unit>
177
+ <trans-unit id="sd2bd4af48abb3752">
178
+ <source>Razón social</source>
179
+ <target>Raó social</target>
180
+ </trans-unit>
181
+ <trans-unit id="s7bc25696aeb11d7f">
182
+ <source>Persona de contacto</source>
183
+ <target>Persona de contacte</target>
184
+ </trans-unit>
185
+ <trans-unit id="s0b9a2919aa57a8c5">
186
+ <source>CIF</source>
187
+ <target>CIF</target>
188
+ </trans-unit>
189
+ <trans-unit id="sd1f44f1a8bc20e67">
190
+ <source>Email</source>
191
+ <target>Correu electrònic</target>
192
+ </trans-unit>
193
+ <trans-unit id="sa6e4de4116073f37">
194
+ <source>Confirma el email</source>
195
+ <target>Confirma el correu</target>
196
+ </trans-unit>
197
+ <trans-unit id="sd08f47835375b0d2">
198
+ <source>Idioma de la respuesta</source>
199
+ <target>Idioma de la resposta</target>
200
+ </trans-unit>
201
+ <trans-unit id="sf8824fc70d91da9e">
202
+ <source>Español</source>
203
+ <target>Espanyol</target>
204
+ </trans-unit>
205
+ <trans-unit id="s1d7849c1bb306edd">
206
+ <source>Catalán</source>
207
+ <target>Català</target>
208
+ </trans-unit>
209
+ <trans-unit id="s108402007fab3ec5">
210
+ <source>Inglés</source>
211
+ <target>Anglès</target>
212
+ </trans-unit>
213
+ <trans-unit id="sb096f7a10f6e5904">
214
+ <source>Calle</source>
215
+ <target>Carrer</target>
216
+ </trans-unit>
217
+ <trans-unit id="sc93268d68f7d69a4">
218
+ <source>Número</source>
219
+ <target>Número</target>
220
+ </trans-unit>
221
+ <trans-unit id="sae3f1a64e8f9c33d">
222
+ <source>Buscar</source>
223
+ <target>Cercar</target>
224
+ </trans-unit>
225
+ <trans-unit id="se962e919c6552a74">
226
+ <source>Piso</source>
227
+ <target>Planta</target>
228
+ </trans-unit>
229
+ <trans-unit id="s5b2d32ceb3df3643">
230
+ <source>Escalera</source>
231
+ <target>Escala</target>
232
+ </trans-unit>
233
+ <trans-unit id="s4ab9666eac463302">
234
+ <source>Puerta</source>
235
+ <target>Porta</target>
236
+ </trans-unit>
237
+ </body>
238
+ </file>
239
+ </xliff>
@@ -0,0 +1,239 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
3
+ <file target-language="en" source-language="es" original="lit-localize-inputs" datatype="plaintext">
4
+ <body>
5
+ <trans-unit id="sb6cacaf045a2fe90">
6
+ <source>Atención en línea</source>
7
+ <target>Online support</target>
8
+ </trans-unit>
9
+ <trans-unit id="s22d3debb0fe19771">
10
+ <source>Atención en línea Niris</source>
11
+ <target>Niris online support</target>
12
+ </trans-unit>
13
+ <trans-unit id="s6b344d8147866cc1">
14
+ <source>Información, Consultas, Quejas y Sugerencias:</source>
15
+ <target>Information, Queries, Complaints and Suggestions:</target>
16
+ </trans-unit>
17
+ <trans-unit id="s26432c53ecd144e8">
18
+ <source>Escribe tu consulta aquí</source>
19
+ <target>Write your query here</target>
20
+ </trans-unit>
21
+ <trans-unit id="s9802dd10b2c2f760">
22
+ <source>Enviar</source>
23
+ <target>Send</target>
24
+ </trans-unit>
25
+ <trans-unit id="s238c3ed6d3ecc66a">
26
+ <source>Cerrar</source>
27
+ <target>Close</target>
28
+ </trans-unit>
29
+ <trans-unit id="sf9e6fbadcce256d0">
30
+ <source>Ha ocurrido un error</source>
31
+ <target>An error has occurred</target>
32
+ </trans-unit>
33
+ <trans-unit id="sb1942b92592ac8cf">
34
+ <source>Sentimos las molestias. Vuelva a intentelo más tarde</source>
35
+ <target>We apologize for the inconvenience. Please try again later</target>
36
+ </trans-unit>
37
+ <trans-unit id="s4177fe7f5d70fd33">
38
+ <source>Volver</source>
39
+ <target>Go back</target>
40
+ </trans-unit>
41
+ <trans-unit id="saddc930eb2efdca6">
42
+ <source>¡Ficha creada!</source>
43
+ <target>Form created!</target>
44
+ </trans-unit>
45
+ <trans-unit id="sfbe83072001704e5">
46
+ <source>El codi de seguiment és</source>
47
+ <target>The tracking code is</target>
48
+ </trans-unit>
49
+ <trans-unit id="s07f7935b16a64e43">
50
+ <source>Agradecemos que nos haya hecho llegar su reconocimiento, el cual se hará llegar al departamento responsable. Con esta información, damos por contestada su comunicación</source>
51
+ <target>We appreciate you sending us your recognition, which will be forwarded to the responsible department. With this information, we consider your communication answered</target>
52
+ </trans-unit>
53
+ <trans-unit id="sf4533552651212ea">
54
+ <source>Los campos marcados con un (*) son obligatorios.</source>
55
+ <target>Fields marked with (*) are mandatory.</target>
56
+ </trans-unit>
57
+ <trans-unit id="see4f9c33f20ae7e2">
58
+ <source>Mensaje</source>
59
+ <target>Message</target>
60
+ </trans-unit>
61
+ <trans-unit id="sf2d9bee1ddd749d4">
62
+ <source>Escriba brevemente su mensaje</source>
63
+ <target>Write your message briefly</target>
64
+ </trans-unit>
65
+ <trans-unit id="s4d7be50524a42681">
66
+ <source>Añadir archivo</source>
67
+ <target>Add file</target>
68
+ </trans-unit>
69
+ <trans-unit id="s7cf6cfa5cdc725e3">
70
+ <source>Aceptados:</source>
71
+ <target>Accepted:</target>
72
+ </trans-unit>
73
+ <trans-unit id="s54cd3139a4d69fbc">
74
+ <source>Ubicación</source>
75
+ <target>Location</target>
76
+ </trans-unit>
77
+ <trans-unit id="sac8b678ef5500421">
78
+ <source>Distrito*:</source>
79
+ <target>District*:</target>
80
+ </trans-unit>
81
+ <trans-unit id="sd09a1a8863c8ae5b">
82
+ <source>Características de la petición</source>
83
+ <target>Request characteristics</target>
84
+ </trans-unit>
85
+ <trans-unit id="sf6686b6b90cc7680">
86
+ <source>Cargando formulario</source>
87
+ <target>Loading form</target>
88
+ </trans-unit>
89
+ <trans-unit id="s10132a1f9423876e">
90
+ <source>Not implemented</source>
91
+ <target>Not implemented</target>
92
+ </trans-unit>
93
+ <trans-unit id="s1abaad4e0bafba35">
94
+ <source>Error cargando el formulario</source>
95
+ <target>Error loading the form</target>
96
+ </trans-unit>
97
+ <trans-unit id="s1f26cb0a65a0c36c">
98
+ <source>Datos personales</source>
99
+ <target>Personal information</target>
100
+ </trans-unit>
101
+ <trans-unit id="sd901c7baed664633">
102
+ <source>Ciudadano</source>
103
+ <target>Citizen</target>
104
+ </trans-unit>
105
+ <trans-unit id="sdd366d6d0fe37812">
106
+ <source>Empresa/Entidad</source>
107
+ <target>Company/Entity</target>
108
+ </trans-unit>
109
+ <trans-unit id="s2b9fde9a5739d2a0">
110
+ <source>Nombre</source>
111
+ <target>Name</target>
112
+ </trans-unit>
113
+ <trans-unit id="s080ffb79b58c5d88">
114
+ <source>Primer apellido</source>
115
+ <target>First surname</target>
116
+ </trans-unit>
117
+ <trans-unit id="sd9e5b15f059a59ee">
118
+ <source>Segundo apellido</source>
119
+ <target>Second surname</target>
120
+ </trans-unit>
121
+ <trans-unit id="sb044a1b221567c04">
122
+ <source>Tipo de Documento</source>
123
+ <target>Document Type</target>
124
+ </trans-unit>
125
+ <trans-unit id="s572f5ed1f68bfcbc">
126
+ <source>NIF/DNI</source>
127
+ <target>NIF/DNI</target>
128
+ </trans-unit>
129
+ <trans-unit id="s36e2c319c2d9da17">
130
+ <source>NIE</source>
131
+ <target>NIE</target>
132
+ </trans-unit>
133
+ <trans-unit id="s7c953cf010581df3">
134
+ <source>Passaporte</source>
135
+ <target>Passport</target>
136
+ </trans-unit>
137
+ <trans-unit id="saac6d40cd7052608">
138
+ <source>Núm. Documento</source>
139
+ <target>Document Number</target>
140
+ </trans-unit>
141
+ <trans-unit id="sca318e1f09f7800c">
142
+ <source>Año de nacimiento</source>
143
+ <target>Year of birth</target>
144
+ </trans-unit>
145
+ <trans-unit id="s88a1a97d95757131">
146
+ <source>Distrito</source>
147
+ <target>District</target>
148
+ </trans-unit>
149
+ <trans-unit id="s5ea9f272dd7f1da8">
150
+ <source>Correo electrónico</source>
151
+ <target>Email</target>
152
+ </trans-unit>
153
+ <trans-unit id="s889d2b38e8eb16b1">
154
+ <source>Escribe tu correo</source>
155
+ <target>Write your email</target>
156
+ </trans-unit>
157
+ <trans-unit id="se1674091f5776527">
158
+ <source>Confirma correo electrónico</source>
159
+ <target>Confirm email</target>
160
+ </trans-unit>
161
+ <trans-unit id="s7fbca09fab401ca5">
162
+ <source>Confirma tu correo</source>
163
+ <target>Confirm your email</target>
164
+ </trans-unit>
165
+ <trans-unit id="sdf913cb738108398">
166
+ <source>Los emails no conciden</source>
167
+ <target>Emails do not match</target>
168
+ </trans-unit>
169
+ <trans-unit id="scbe4c6673872bda5">
170
+ <source>Teléfono</source>
171
+ <target>Phone</target>
172
+ </trans-unit>
173
+ <trans-unit id="s694b51e10128655f">
174
+ <source>Escribe tu teléfono</source>
175
+ <target>Write your phone number</target>
176
+ </trans-unit>
177
+ <trans-unit id="sd2bd4af48abb3752">
178
+ <source>Razón social</source>
179
+ <target>Company name</target>
180
+ </trans-unit>
181
+ <trans-unit id="s7bc25696aeb11d7f">
182
+ <source>Persona de contacto</source>
183
+ <target>Contact person</target>
184
+ </trans-unit>
185
+ <trans-unit id="s0b9a2919aa57a8c5">
186
+ <source>CIF</source>
187
+ <target>Tax ID</target>
188
+ </trans-unit>
189
+ <trans-unit id="sd1f44f1a8bc20e67">
190
+ <source>Email</source>
191
+ <target>Email</target>
192
+ </trans-unit>
193
+ <trans-unit id="sa6e4de4116073f37">
194
+ <source>Confirma el email</source>
195
+ <target>Confirm email</target>
196
+ </trans-unit>
197
+ <trans-unit id="sd08f47835375b0d2">
198
+ <source>Idioma de la respuesta</source>
199
+ <target>Response language</target>
200
+ </trans-unit>
201
+ <trans-unit id="sf8824fc70d91da9e">
202
+ <source>Español</source>
203
+ <target>Spanish</target>
204
+ </trans-unit>
205
+ <trans-unit id="s1d7849c1bb306edd">
206
+ <source>Catalán</source>
207
+ <target>Catalan</target>
208
+ </trans-unit>
209
+ <trans-unit id="s108402007fab3ec5">
210
+ <source>Inglés</source>
211
+ <target>English</target>
212
+ </trans-unit>
213
+ <trans-unit id="sb096f7a10f6e5904">
214
+ <source>Calle</source>
215
+ <target>Street</target>
216
+ </trans-unit>
217
+ <trans-unit id="sc93268d68f7d69a4">
218
+ <source>Número</source>
219
+ <target>Number</target>
220
+ </trans-unit>
221
+ <trans-unit id="sae3f1a64e8f9c33d">
222
+ <source>Buscar</source>
223
+ <target>Search</target>
224
+ </trans-unit>
225
+ <trans-unit id="se962e919c6552a74">
226
+ <source>Piso</source>
227
+ <target>Floor</target>
228
+ </trans-unit>
229
+ <trans-unit id="s5b2d32ceb3df3643">
230
+ <source>Escalera</source>
231
+ <target>Staircase</target>
232
+ </trans-unit>
233
+ <trans-unit id="s4ab9666eac463302">
234
+ <source>Puerta</source>
235
+ <target>Door</target>
236
+ </trans-unit>
237
+ </body>
238
+ </file>
239
+ </xliff>
package/tsconfig.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "declarationMap": true,
8
8
  "sourceMap": true,
9
9
  "inlineSources": true,
10
- "outDir": "./",
10
+ "outDir": "./dist",
11
11
  "rootDir": "./src",
12
12
  "strict": true,
13
13
  "noUnusedLocals": true,
package/my-element.js DELETED
@@ -1,79 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2019 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
- var __decorate =
7
- (this && this.__decorate) ||
8
- function (decorators, target, key, desc) {
9
- var c = arguments.length,
10
- r =
11
- c < 3
12
- ? target
13
- : desc === null
14
- ? (desc = Object.getOwnPropertyDescriptor(target, key))
15
- : desc,
16
- d;
17
- if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function')
18
- r = Reflect.decorate(decorators, target, key, desc);
19
- else
20
- for (var i = decorators.length - 1; i >= 0; i--)
21
- if ((d = decorators[i]))
22
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
23
- return c > 3 && r && Object.defineProperty(target, key, r), r;
24
- };
25
- import {LitElement, html, css} from 'lit';
26
- import {customElement, property} from 'lit/decorators.js';
27
- /**
28
- * An example element.
29
- *
30
- * @fires count-changed - Indicates when the count changes
31
- * @slot - This element has a slot
32
- * @csspart button - The button
33
- */
34
- let MyElement = class MyElement extends LitElement {
35
- constructor() {
36
- super(...arguments);
37
- /**
38
- * The name to say "Hello" to.
39
- */
40
- this.name = 'World';
41
- /**
42
- * The number of times the button has been clicked.
43
- */
44
- this.count = 0;
45
- }
46
- render() {
47
- return html`
48
- <h1>${this.sayHello(this.name)}!</h1>
49
- <button @click=${this._onClick} part="button">
50
- Click Count: ${this.count}
51
- </button>
52
- <slot></slot>
53
- `;
54
- }
55
- _onClick() {
56
- this.count++;
57
- this.dispatchEvent(new CustomEvent('count-changed'));
58
- }
59
- /**
60
- * Formats a greeting
61
- * @param name The name to say "Hello" to
62
- */
63
- sayHello(name) {
64
- return `Hello, ${name}`;
65
- }
66
- };
67
- MyElement.styles = css`
68
- :host {
69
- display: block;
70
- border: solid 1px gray;
71
- padding: 16px;
72
- max-width: 800px;
73
- }
74
- `;
75
- __decorate([property()], MyElement.prototype, 'name', void 0);
76
- __decorate([property({type: Number})], MyElement.prototype, 'count', void 0);
77
- MyElement = __decorate([customElement('my-element')], MyElement);
78
- export {MyElement};
79
- //# sourceMappingURL=my-element.js.map