@tiddh/brave-vue 1.9.21 → 1.9.24
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/dist/brave-vue.esm.js +166 -65
- package/dist/brave-vue.min.js +1 -1
- package/dist/brave-vue.ssr.js +183 -82
- package/package.json +1 -2
- package/src/components/Avatar/Avatar.vue +18 -0
- package/src/components/Avatar/elements/CustomizationPanel.vue +9 -0
- package/src/components/Avatar/elements/CustomizationView.vue +28 -0
- package/src/components/Modal/Modal.vue +388 -371
- package/src/components/Preview/Preview.vue +971 -933
- package/src/components/Preview/PreviewTools.vue +2148 -1164
- package/src/components/Preview/PreviewWithTools.vue +252 -248
|
@@ -1,1171 +1,2155 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
2
|
+
<div
|
|
3
|
+
class="main-tool"
|
|
4
|
+
:class="[
|
|
5
|
+
modalIsOpen() ? 'active' : '',
|
|
6
|
+
sidebarOpen ? 'active' : 'inactive',
|
|
7
|
+
]"
|
|
8
|
+
>
|
|
9
|
+
<div class="backdrop" @click="toggleSidebar()"></div>
|
|
10
|
+
|
|
11
|
+
<div
|
|
12
|
+
class="custom-properties"
|
|
13
|
+
:class="[
|
|
14
|
+
modalIsOpen() ? 'active' : '',
|
|
15
|
+
sidebarOpen ? 'active' : 'inactive',
|
|
16
|
+
]"
|
|
17
|
+
>
|
|
18
|
+
<div class="box-close" :style="cssProps" @click="toggleSidebar()">
|
|
19
|
+
<Icon name="close" :fill="preview_color" stroke="transparent" />
|
|
20
|
+
<Icon name="edit" fill="#fff" stroke="transparent" />
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<div class="list-properties">
|
|
24
|
+
<div class="title-custom-properties">
|
|
25
|
+
<!-- <Heading kind="h4" size="Medium" :value="'Área de edição'" /> -->
|
|
26
|
+
<Heading kind="h4" size="sm" :color="'#68596E'">{{
|
|
27
|
+
lang.editArea
|
|
28
|
+
}}</Heading>
|
|
29
|
+
<!-- <span>{{ lang.editArea }}</span> -->
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<HR height="1px" :color="preview_color" />
|
|
33
|
+
|
|
34
|
+
<div class="itens-properties" v-if="extras">
|
|
35
|
+
<div
|
|
36
|
+
class="item"
|
|
37
|
+
@click="showModal(property.code)"
|
|
38
|
+
v-for="(property, index) in extras"
|
|
39
|
+
:key="index"
|
|
40
|
+
>
|
|
41
|
+
<!-- <label>{{ lang.name }}</label> -->
|
|
42
|
+
<div>
|
|
43
|
+
<label v-if="property.code == 'nome'">{{ lang.name }}</label>
|
|
44
|
+
<label v-if="property.code == 'dedicatoria'">{{
|
|
45
|
+
lang.dedication
|
|
46
|
+
}}</label>
|
|
47
|
+
<label v-if="property.code == 'nome-do-mooner'">{{
|
|
48
|
+
lang.moonerLabelSidebar
|
|
49
|
+
}}</label>
|
|
50
|
+
<!-- <label v-if="property.type == 'pet'">{{ lang.pet }}</label> -->
|
|
51
|
+
<label v-if="property.code == 'number'">{{
|
|
52
|
+
lang.shirtNumber
|
|
53
|
+
}}</label>
|
|
54
|
+
|
|
55
|
+
<span v-if="property.code == 'nome'">{{ property.value }}</span>
|
|
56
|
+
<span v-if="property.code == 'dedicatoria'">{{
|
|
57
|
+
property.value
|
|
58
|
+
}}</span>
|
|
59
|
+
<span v-if="property.code == 'nome-do-mooner'">{{
|
|
60
|
+
property.value
|
|
61
|
+
}}</span>
|
|
62
|
+
<span v-if="property.code == 'pet'">{{
|
|
63
|
+
property.value.name
|
|
64
|
+
}}</span>
|
|
65
|
+
|
|
66
|
+
<span v-if="property.code == 'number'">{{ property.value }}</span>
|
|
67
|
+
|
|
68
|
+
<svg
|
|
69
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
70
|
+
width="32"
|
|
71
|
+
height="32"
|
|
72
|
+
viewBox="0 0 32 32"
|
|
73
|
+
>
|
|
74
|
+
<path
|
|
75
|
+
:fill="preview_color"
|
|
76
|
+
d="M14.584 7.33l-.01.009 2.659 2.658.01-.01a1.88 1.88 0 1 0-2.658-2.658l-.001.001zm-.454.454L8.163 13.75l2.658 2.659 5.967-5.967-2.658-2.658zm-6.373 6.45L7 17.572l3.338-.757-2.58-2.58-.001-.001z"
|
|
77
|
+
></path>
|
|
78
|
+
</svg>
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
<Modal
|
|
86
|
+
:heading="lang.kidName"
|
|
87
|
+
:headingColor="preview_color"
|
|
88
|
+
paragraph="Para deixar o livro mais legal use apenas o primeiro nome"
|
|
89
|
+
v-if="modalName"
|
|
90
|
+
@closeModal="closeModal"
|
|
91
|
+
>
|
|
92
|
+
<Input
|
|
93
|
+
:type="'text'"
|
|
94
|
+
:numeric="false"
|
|
95
|
+
name="name"
|
|
96
|
+
:label="lang.kidName"
|
|
97
|
+
:placeholder="''"
|
|
98
|
+
:helper="lang.recommendName"
|
|
99
|
+
:value="current_character_name"
|
|
100
|
+
:disabled="false"
|
|
101
|
+
@update="updateName"
|
|
102
|
+
/>
|
|
103
|
+
|
|
104
|
+
<div slot="footer" class="name-footer">
|
|
105
|
+
<Button
|
|
106
|
+
kind="secondary"
|
|
107
|
+
size="md"
|
|
108
|
+
width="liquid"
|
|
109
|
+
:disabled="false"
|
|
110
|
+
:inverted="false"
|
|
111
|
+
@click="updateNameAndDedicationCustomCharacter()"
|
|
112
|
+
>
|
|
113
|
+
{{ lang.update }}
|
|
114
|
+
</Button>
|
|
115
|
+
|
|
116
|
+
<Button
|
|
117
|
+
kind="ghost"
|
|
118
|
+
size="md"
|
|
119
|
+
width="liquid"
|
|
120
|
+
:disabled="false"
|
|
121
|
+
:inverted="false"
|
|
122
|
+
@click="closeModal"
|
|
123
|
+
>
|
|
124
|
+
{{ lang.cancel }}
|
|
125
|
+
</Button>
|
|
126
|
+
</div>
|
|
127
|
+
</Modal>
|
|
128
|
+
|
|
129
|
+
<Modal
|
|
130
|
+
:heading="lang.dedicationFree"
|
|
131
|
+
:paragraph="lang.cusutomDedication"
|
|
132
|
+
v-if="modalDedication"
|
|
133
|
+
@closeModal="closeModal"
|
|
134
|
+
>
|
|
135
|
+
<TextArea
|
|
136
|
+
name="dedication"
|
|
137
|
+
:value="dedicationText"
|
|
138
|
+
:label="lang.messageDedication"
|
|
139
|
+
:placeholder="lang.dedcationPlaceholder"
|
|
140
|
+
@keydown.enter.exact.prevent
|
|
141
|
+
:maxlength="300"
|
|
142
|
+
:counter="true"
|
|
143
|
+
:disabled="false"
|
|
144
|
+
@update="updateDedicationText"
|
|
145
|
+
/>
|
|
146
|
+
|
|
147
|
+
<div slot="footer" class="dedication-footer">
|
|
148
|
+
<Button
|
|
149
|
+
kind="secondary"
|
|
150
|
+
size="md"
|
|
151
|
+
width="liquid"
|
|
152
|
+
:disabled="false"
|
|
153
|
+
:inverted="false"
|
|
154
|
+
@click="updateNameAndDedicationCustomCharacter()"
|
|
155
|
+
>
|
|
156
|
+
{{ lang.update }}
|
|
157
|
+
</Button>
|
|
158
|
+
|
|
159
|
+
<Button
|
|
160
|
+
kind="ghost"
|
|
161
|
+
size="md"
|
|
162
|
+
width="liquid"
|
|
163
|
+
:disabled="false"
|
|
164
|
+
:inverted="false"
|
|
165
|
+
@click="closeModal"
|
|
166
|
+
>
|
|
167
|
+
{{ lang.cancel }}
|
|
168
|
+
</Button>
|
|
169
|
+
</div>
|
|
170
|
+
</Modal>
|
|
171
|
+
|
|
172
|
+
<Modal
|
|
173
|
+
:heading="lang.editShirt"
|
|
174
|
+
v-if="modalShirtNumber"
|
|
175
|
+
@closeModal="closeModal"
|
|
176
|
+
>
|
|
177
|
+
<Input
|
|
178
|
+
:type="'text'"
|
|
179
|
+
:numeric="false"
|
|
180
|
+
name="number"
|
|
181
|
+
:label="lang.shirtNumber"
|
|
182
|
+
:placeholder="''"
|
|
183
|
+
:helper="reccomendName"
|
|
184
|
+
:value="currentShirtNumber"
|
|
185
|
+
:disabled="false"
|
|
186
|
+
@change="updateShirtNumber"
|
|
187
|
+
/>
|
|
188
|
+
|
|
189
|
+
<div slot="footer">
|
|
190
|
+
<Button
|
|
191
|
+
kind="secondary"
|
|
192
|
+
size="md"
|
|
193
|
+
width="liquid"
|
|
194
|
+
:disabled="false"
|
|
195
|
+
:inverted="false"
|
|
196
|
+
@click="changeLayout()"
|
|
197
|
+
>
|
|
198
|
+
{{ lang.update }}
|
|
199
|
+
</Button>
|
|
200
|
+
|
|
201
|
+
<Button
|
|
202
|
+
kind="ghost"
|
|
203
|
+
size="md"
|
|
204
|
+
width="liquid"
|
|
205
|
+
:disabled="false"
|
|
206
|
+
:inverted="false"
|
|
207
|
+
@click="closeModal"
|
|
208
|
+
>
|
|
209
|
+
{{ lang.cancel }}
|
|
210
|
+
</Button>
|
|
211
|
+
</div>
|
|
212
|
+
</Modal>
|
|
213
|
+
|
|
214
|
+
<Modal
|
|
215
|
+
:heading="lang.chooseScript"
|
|
216
|
+
:paragraph="
|
|
217
|
+
lang.choosePetLabel1 +
|
|
218
|
+
' <b>' +
|
|
219
|
+
current_character_name +
|
|
220
|
+
'</b> ' +
|
|
221
|
+
lang.choosePetLabel1
|
|
222
|
+
"
|
|
223
|
+
v-if="modalScript"
|
|
224
|
+
@closeModal="closeModal"
|
|
225
|
+
>
|
|
226
|
+
<div class="layout-boxes">
|
|
227
|
+
<div
|
|
228
|
+
v-for="(item, index) in availableLayouts"
|
|
229
|
+
:key="index"
|
|
230
|
+
class="layout-option"
|
|
231
|
+
:class="currentLayout == index ? 'active' : 'inactive'"
|
|
232
|
+
@click="setCurrentLayout(index)"
|
|
233
|
+
>
|
|
234
|
+
<div class="imagem">
|
|
235
|
+
<img
|
|
236
|
+
width="100%"
|
|
237
|
+
src="https://doo8f8ypwd7it.cloudfront.net/brasilprevjunior/img/capitao@2x.890754be.png"
|
|
238
|
+
alt=""
|
|
239
|
+
/>
|
|
240
|
+
</div>
|
|
241
|
+
|
|
242
|
+
<div class="panel-title">
|
|
243
|
+
<div class="title">{{ item.name }}</div>
|
|
244
|
+
|
|
245
|
+
<div
|
|
246
|
+
class="flag"
|
|
247
|
+
:class="currentLayout == index ? 'active' : 'inactive'"
|
|
248
|
+
>
|
|
249
|
+
<Icon name="check" />
|
|
250
|
+
</div>
|
|
251
|
+
</div>
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
254
|
+
|
|
255
|
+
<div slot="footer">
|
|
256
|
+
<Button
|
|
257
|
+
kind="secondary"
|
|
258
|
+
size="md"
|
|
259
|
+
width="liquid"
|
|
260
|
+
:disabled="false"
|
|
261
|
+
:inverted="false"
|
|
262
|
+
@click="changeLayout()"
|
|
263
|
+
>
|
|
264
|
+
{{ lang.update }}
|
|
265
|
+
</Button>
|
|
266
|
+
|
|
267
|
+
<Button
|
|
268
|
+
kind="ghost"
|
|
269
|
+
size="md"
|
|
270
|
+
width="liquid"
|
|
271
|
+
:disabled="false"
|
|
272
|
+
:inverted="false"
|
|
273
|
+
@click="closeModal"
|
|
274
|
+
>
|
|
275
|
+
{{ lang.cancel }}
|
|
276
|
+
</Button>
|
|
277
|
+
</div>
|
|
278
|
+
</Modal>
|
|
279
|
+
|
|
280
|
+
<Modal
|
|
281
|
+
:heading="lang.editDateBirth"
|
|
282
|
+
v-if="modalBirthdate"
|
|
283
|
+
@closeModal="closeModal"
|
|
284
|
+
>
|
|
285
|
+
<div class="box-dates-columns">
|
|
286
|
+
<div class="day">
|
|
287
|
+
<Select
|
|
288
|
+
:selected="selectedBirthDay"
|
|
289
|
+
name="day"
|
|
290
|
+
label="Dia"
|
|
291
|
+
placeholder="Dia"
|
|
292
|
+
:options="days"
|
|
293
|
+
@change="onChangeDay"
|
|
294
|
+
/>
|
|
295
|
+
</div>
|
|
296
|
+
<div class="month">
|
|
297
|
+
<Select
|
|
298
|
+
:selected="selectedBirthMonth"
|
|
299
|
+
name="month"
|
|
300
|
+
label="Mês"
|
|
301
|
+
placeholder="Mês"
|
|
302
|
+
:options="months"
|
|
303
|
+
@change="onChangeMonth"
|
|
304
|
+
/>
|
|
305
|
+
</div>
|
|
306
|
+
</div>
|
|
307
|
+
|
|
308
|
+
<div slot="footer">
|
|
309
|
+
<Button
|
|
310
|
+
kind="secondary"
|
|
311
|
+
size="md"
|
|
312
|
+
width="liquid"
|
|
313
|
+
:disabled="false"
|
|
314
|
+
:inverted="false"
|
|
315
|
+
@click="changeLayout()"
|
|
316
|
+
>
|
|
317
|
+
{{ lang.update }}
|
|
318
|
+
</Button>
|
|
319
|
+
|
|
320
|
+
<Button
|
|
321
|
+
kind="ghost"
|
|
322
|
+
size="md"
|
|
323
|
+
width="liquid"
|
|
324
|
+
:disabled="false"
|
|
325
|
+
:inverted="false"
|
|
326
|
+
@click="closeModal"
|
|
327
|
+
>
|
|
328
|
+
{{ lang.cancel }}
|
|
329
|
+
</Button>
|
|
330
|
+
</div>
|
|
331
|
+
</Modal>
|
|
332
|
+
|
|
333
|
+
<Modal
|
|
334
|
+
heading="Altere o bichinho da história"
|
|
335
|
+
class="modal-pet"
|
|
336
|
+
:headingColor="preview_color"
|
|
337
|
+
:paragraph="
|
|
338
|
+
'Esse bichinho acompanhará <span>' +
|
|
339
|
+
searchExtraProperty('name').value +
|
|
340
|
+
'</span> em toda a história.'
|
|
341
|
+
"
|
|
342
|
+
v-if="modalPet"
|
|
343
|
+
@closeModal="closeModal"
|
|
344
|
+
>
|
|
345
|
+
<div class="pet-view">
|
|
346
|
+
<div
|
|
347
|
+
class="pet-selectors"
|
|
348
|
+
:style="currentPetColor ? 'width: 70%;' : ''"
|
|
349
|
+
>
|
|
350
|
+
<div class>
|
|
351
|
+
<Input
|
|
352
|
+
:value="searchExtraProperty('nome-do-mooner').value.name"
|
|
353
|
+
error
|
|
354
|
+
helper
|
|
355
|
+
:label="lang.typePetname"
|
|
356
|
+
name="currentPetName"
|
|
357
|
+
@input="
|
|
358
|
+
searchExtraProperty('nome-do-mooner').value.name =
|
|
359
|
+
$event.target.value
|
|
360
|
+
"
|
|
361
|
+
/>
|
|
362
|
+
</div>
|
|
363
|
+
|
|
364
|
+
<label class="pet-label">{{ lang.selectPet }}</label>
|
|
365
|
+
|
|
366
|
+
<div class="pet-combo-list">
|
|
367
|
+
<div
|
|
368
|
+
class="selected-pet"
|
|
369
|
+
:class="[
|
|
370
|
+
!currentPet ? 'inactive' : 'active',
|
|
371
|
+
petAnimation ? 'fade-in-image' : 'inactive-pet',
|
|
372
|
+
]"
|
|
373
|
+
>
|
|
374
|
+
<div
|
|
375
|
+
v-if="
|
|
376
|
+
currentPet && currentPet.assets && currentPet.assets.asset
|
|
377
|
+
"
|
|
378
|
+
>
|
|
379
|
+
<img
|
|
380
|
+
:class="petInitAnimation ? 'fade-in-image-init' : ''"
|
|
381
|
+
v-if="currentPet.assets.asset"
|
|
382
|
+
:src="currentPet.assets.asset"
|
|
383
|
+
alt=""
|
|
384
|
+
/>
|
|
385
|
+
</div>
|
|
386
|
+
</div>
|
|
387
|
+
|
|
388
|
+
<div
|
|
389
|
+
class="pet-list"
|
|
390
|
+
:class="!currentPet ? 'inactive' : 'active'"
|
|
391
|
+
v-if="listPet"
|
|
392
|
+
>
|
|
393
|
+
<div
|
|
394
|
+
:class="currentPet === pet ? 'active' : 'inactive'"
|
|
395
|
+
@click="setPet(pet)"
|
|
396
|
+
v-for="(pet, index) in listPet.assets.subcategories"
|
|
397
|
+
:key="index"
|
|
398
|
+
>
|
|
399
|
+
<img :src="pet.assets.icon" alt />
|
|
400
|
+
<br />
|
|
401
|
+
</div>
|
|
402
|
+
</div>
|
|
403
|
+
</div>
|
|
404
|
+
</div>
|
|
405
|
+
|
|
406
|
+
<div
|
|
407
|
+
class="pet-avatar"
|
|
408
|
+
v-if="searchExtraProperty('nome-do-mooner').value.newPet"
|
|
409
|
+
:style="
|
|
410
|
+
searchExtraProperty('nome-do-mooner').value.newPet
|
|
411
|
+
? 'width: 30%;'
|
|
412
|
+
: ''
|
|
413
|
+
"
|
|
414
|
+
>
|
|
415
|
+
<img
|
|
416
|
+
:src="
|
|
417
|
+
searchExtraProperty('nome-do-mooner').value.newPet.assets.asset
|
|
418
|
+
"
|
|
419
|
+
alt
|
|
420
|
+
/>
|
|
421
|
+
<br />
|
|
422
|
+
</div>
|
|
423
|
+
</div>
|
|
424
|
+
|
|
425
|
+
<div slot="footer">
|
|
426
|
+
<Button
|
|
427
|
+
kind="secondary"
|
|
428
|
+
size="md"
|
|
429
|
+
width="liquid"
|
|
430
|
+
:disabled="false"
|
|
431
|
+
:inverted="false"
|
|
432
|
+
@click="changeMoonerLayout()"
|
|
433
|
+
>
|
|
434
|
+
{{ lang.update }}
|
|
435
|
+
</Button>
|
|
436
|
+
|
|
437
|
+
<Button
|
|
438
|
+
kind="ghost"
|
|
439
|
+
size="md"
|
|
440
|
+
width="liquid"
|
|
441
|
+
:disabled="false"
|
|
442
|
+
:inverted="false"
|
|
443
|
+
@click="closeModal"
|
|
444
|
+
>
|
|
445
|
+
{{ lang.cancel }}
|
|
446
|
+
</Button>
|
|
447
|
+
</div>
|
|
448
|
+
</Modal>
|
|
449
|
+
|
|
450
|
+
<Modal
|
|
451
|
+
:heading="lang.moonerTitleFirstOpen"
|
|
452
|
+
class="modal-pet"
|
|
453
|
+
:headingColor="preview_color"
|
|
454
|
+
:paragraph="
|
|
455
|
+
lang.moonerDescriptionOne +
|
|
456
|
+
current_character_name +
|
|
457
|
+
lang.moonerDescriptionTwo
|
|
458
|
+
"
|
|
459
|
+
:haveClose="modalMoonerFirstOpen"
|
|
460
|
+
v-if="modalMooner"
|
|
461
|
+
@closeModal="closeModal"
|
|
462
|
+
>
|
|
463
|
+
<div class="pet-view">
|
|
464
|
+
<div class="pet-selectors" :style="currentMooner ? 'width: 100%;' : ''">
|
|
465
|
+
<div class>
|
|
466
|
+
<Input
|
|
467
|
+
:value="currentMoonerName"
|
|
468
|
+
error
|
|
469
|
+
helper
|
|
470
|
+
:label="lang.moonerLabel"
|
|
471
|
+
name="currentPetName"
|
|
472
|
+
@input="currentMoonerName = $event.target.value"
|
|
473
|
+
/>
|
|
474
|
+
</div>
|
|
475
|
+
|
|
476
|
+
<label class="pet-label">{{ lang.moonerLabelSelector }}</label>
|
|
477
|
+
|
|
478
|
+
<div class="pet-combo-list">
|
|
479
|
+
<div
|
|
480
|
+
class="selected-pet"
|
|
481
|
+
:class="[
|
|
482
|
+
!currentMooner ? 'inactive' : 'active',
|
|
483
|
+
moonerAnimation ? 'fade-in-image' : 'inactive-pet',
|
|
484
|
+
]"
|
|
485
|
+
>
|
|
486
|
+
<div
|
|
487
|
+
v-if="
|
|
488
|
+
currentMooner &&
|
|
489
|
+
currentMooner.assets &&
|
|
490
|
+
currentMooner.assets.asset
|
|
491
|
+
"
|
|
492
|
+
class="clip-mooney"
|
|
493
|
+
>
|
|
494
|
+
<img
|
|
495
|
+
:class="moonerInitAnimation ? 'fade-in-image-init' : ''"
|
|
496
|
+
v-if="currentMooner.assets.asset"
|
|
497
|
+
:src="currentMooner.assets.asset"
|
|
498
|
+
alt=""
|
|
499
|
+
/>
|
|
500
|
+
</div>
|
|
501
|
+
</div>
|
|
502
|
+
|
|
503
|
+
<!-- {{ listMooner }} -->
|
|
504
|
+
<div
|
|
505
|
+
class="pet-list"
|
|
506
|
+
:class="!currentMooner ? 'inactive' : 'active'"
|
|
507
|
+
v-if="listMooner"
|
|
508
|
+
>
|
|
509
|
+
<div
|
|
510
|
+
:class="currentMooner === mooner ? 'active' : 'inactive'"
|
|
511
|
+
v-for="(mooner, index) in listMooner.assets.subcategories"
|
|
512
|
+
:key="index"
|
|
513
|
+
@click="setMooner(mooner)"
|
|
514
|
+
>
|
|
515
|
+
<img :src="mooner.assets.icon" alt />
|
|
516
|
+
<br />
|
|
517
|
+
</div>
|
|
518
|
+
</div>
|
|
519
|
+
</div>
|
|
520
|
+
</div>
|
|
521
|
+
|
|
522
|
+
<!-- <div
|
|
523
|
+
class="pet-avatar"
|
|
524
|
+
v-if="currentMooner"
|
|
525
|
+
:style="currentMooner ? 'width: 30%;' : ''"
|
|
526
|
+
>
|
|
527
|
+
<img :src="currentMooner.assets.asset" alt />
|
|
528
|
+
<br />
|
|
529
|
+
</div> -->
|
|
530
|
+
</div>
|
|
531
|
+
|
|
532
|
+
<div slot="footer" class="mooner-footer">
|
|
533
|
+
<Button
|
|
534
|
+
kind="secondary"
|
|
535
|
+
size="md"
|
|
536
|
+
width="liquid"
|
|
537
|
+
:disabled="!currentMoonerName || !currentMooner"
|
|
538
|
+
:inverted="false"
|
|
539
|
+
@click="changeMoonerLayout()"
|
|
540
|
+
>
|
|
541
|
+
{{ modalMoonerFirstOpen ? lang.moonerCta : lang.moonerCtaFirstOpen }}
|
|
542
|
+
</Button>
|
|
543
|
+
|
|
544
|
+
<Button
|
|
545
|
+
kind="ghost"
|
|
546
|
+
size="md"
|
|
547
|
+
width="liquid"
|
|
548
|
+
:disabled="false"
|
|
549
|
+
:inverted="false"
|
|
550
|
+
@click="closeModal"
|
|
551
|
+
v-if="modalMoonerFirstOpen"
|
|
552
|
+
>
|
|
553
|
+
{{ lang.cancel }}
|
|
554
|
+
</Button>
|
|
555
|
+
</div>
|
|
556
|
+
</Modal>
|
|
557
|
+
</div>
|
|
285
558
|
</template>
|
|
286
559
|
|
|
287
560
|
<script>
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
import
|
|
294
|
-
import
|
|
295
|
-
import
|
|
296
|
-
import
|
|
297
|
-
import
|
|
298
|
-
import
|
|
299
|
-
import
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
561
|
+
import Vue from "vue";
|
|
562
|
+
|
|
563
|
+
import Language from "./js/language.json";
|
|
564
|
+
|
|
565
|
+
import Heading from "../Typography/Heading.vue";
|
|
566
|
+
import Paragraph from "../Typography/Paragraph.vue";
|
|
567
|
+
import Icon from "../Icons/Icon.vue";
|
|
568
|
+
import Modal from "../Modal/Modal.vue";
|
|
569
|
+
import Input from "../Form/Input.vue";
|
|
570
|
+
import TextArea from "../Form/TextArea.vue";
|
|
571
|
+
import Button from "../Buttons/Button.vue";
|
|
572
|
+
import Select from "../Form/Select.vue";
|
|
573
|
+
|
|
574
|
+
const axios = require("axios");
|
|
575
|
+
|
|
576
|
+
export default {
|
|
577
|
+
name: "PreviewTools",
|
|
578
|
+
components: {
|
|
579
|
+
Vue,
|
|
580
|
+
Heading,
|
|
581
|
+
Paragraph,
|
|
582
|
+
Icon,
|
|
583
|
+
Modal,
|
|
584
|
+
Input,
|
|
585
|
+
Button,
|
|
586
|
+
TextArea,
|
|
587
|
+
Select,
|
|
588
|
+
},
|
|
589
|
+
props: {
|
|
590
|
+
/** Name of protagonist. `Diego` */
|
|
591
|
+
current_name: {
|
|
592
|
+
type: String,
|
|
593
|
+
required: true,
|
|
594
|
+
},
|
|
595
|
+
/** Product id of Builder. `595` */
|
|
596
|
+
product_id: {
|
|
597
|
+
type: Number,
|
|
598
|
+
required: true,
|
|
599
|
+
},
|
|
600
|
+
/** Character id of Builder. `57` */
|
|
601
|
+
character_id: {
|
|
602
|
+
type: Number,
|
|
603
|
+
required: true,
|
|
604
|
+
},
|
|
605
|
+
|
|
606
|
+
/** Character id of Builder. `906` */
|
|
607
|
+
character_position_id: {
|
|
608
|
+
type: Number,
|
|
609
|
+
required: true,
|
|
610
|
+
},
|
|
611
|
+
|
|
612
|
+
dedication_text: {
|
|
613
|
+
type: String,
|
|
614
|
+
required: false,
|
|
615
|
+
},
|
|
616
|
+
/** Type id of Gender. `89` */
|
|
617
|
+
gender: {
|
|
618
|
+
type: String,
|
|
619
|
+
required: true,
|
|
620
|
+
},
|
|
621
|
+
/** Slug of product on builder `bb-a-grande-viagem` */
|
|
622
|
+
slug: {
|
|
623
|
+
type: String,
|
|
624
|
+
required: true,
|
|
625
|
+
},
|
|
626
|
+
/** Character uuid. `ddh5e177ff920f15` */
|
|
627
|
+
uuid: {
|
|
628
|
+
type: String,
|
|
629
|
+
required: true,
|
|
630
|
+
},
|
|
631
|
+
/** Preview external color. `#000` */
|
|
632
|
+
preview_color: {
|
|
633
|
+
type: String,
|
|
634
|
+
default: "#68596e",
|
|
635
|
+
required: true,
|
|
636
|
+
},
|
|
637
|
+
|
|
638
|
+
typeLanguage: {
|
|
639
|
+
type: String,
|
|
640
|
+
required: false,
|
|
641
|
+
default: "br",
|
|
642
|
+
},
|
|
643
|
+
},
|
|
644
|
+
|
|
645
|
+
computed: {
|
|
646
|
+
colorsVar() {
|
|
647
|
+
return {
|
|
648
|
+
"--preview-color": this.preview_color,
|
|
649
|
+
};
|
|
650
|
+
},
|
|
651
|
+
},
|
|
652
|
+
|
|
653
|
+
data() {
|
|
654
|
+
const months = [
|
|
655
|
+
{
|
|
656
|
+
value: "Janeiro",
|
|
657
|
+
key: 1,
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
value: "Fevereiro",
|
|
661
|
+
key: 2,
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
value: "Março",
|
|
665
|
+
key: 3,
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
value: "Abril",
|
|
669
|
+
key: 4,
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
value: "Maio",
|
|
673
|
+
key: 5,
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
value: "Junho",
|
|
677
|
+
key: 6,
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
value: "Julho",
|
|
681
|
+
key: 7,
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
value: "Agosto",
|
|
685
|
+
key: 8,
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
value: "Setembro",
|
|
689
|
+
key: 9,
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
value: "Outubro",
|
|
693
|
+
key: 10,
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
value: "Novembro",
|
|
697
|
+
key: 11,
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
value: "Dezembro",
|
|
701
|
+
key: 12,
|
|
702
|
+
},
|
|
703
|
+
];
|
|
704
|
+
|
|
705
|
+
const maxAgeAllowed = 16;
|
|
706
|
+
|
|
707
|
+
const days = [];
|
|
708
|
+
const years = [];
|
|
709
|
+
const currentYear = new Date().getFullYear();
|
|
710
|
+
|
|
711
|
+
for (let day = 1; day <= 31; day++) days.push({ key: day, value: day });
|
|
712
|
+
for (let i = 0; i < maxAgeAllowed; i++) {
|
|
713
|
+
years.push({ key: currentYear - i, value: currentYear - i });
|
|
714
|
+
}
|
|
715
|
+
years.push({ key: "outro", value: "Outro" });
|
|
716
|
+
|
|
717
|
+
return {
|
|
718
|
+
lang: Language[this.typeLanguage],
|
|
719
|
+
|
|
720
|
+
// Sidebar
|
|
721
|
+
sidebarOpen: false,
|
|
722
|
+
|
|
723
|
+
have_shirt_number: false,
|
|
724
|
+
have_layout: false,
|
|
725
|
+
have_birth_date: false,
|
|
726
|
+
haveDedication: false,
|
|
727
|
+
|
|
728
|
+
//
|
|
729
|
+
//default_value_name: "",
|
|
730
|
+
default_value_dedication: "",
|
|
731
|
+
default_value_pet: "",
|
|
732
|
+
|
|
733
|
+
// Variaveis de modais
|
|
734
|
+
modalScript: false,
|
|
735
|
+
modalName: false,
|
|
736
|
+
modalDedication: false,
|
|
737
|
+
modalShirtNumber: false,
|
|
738
|
+
modalMooner: false,
|
|
739
|
+
modalPet: false,
|
|
740
|
+
modalBirthdate: false,
|
|
741
|
+
|
|
742
|
+
// Propriedades da sidebar
|
|
743
|
+
extras: null,
|
|
744
|
+
|
|
745
|
+
// Nome customizado
|
|
746
|
+
current_character_name: "",
|
|
747
|
+
dedicationText: "",
|
|
748
|
+
|
|
749
|
+
// Pet
|
|
750
|
+
listMooner: [],
|
|
751
|
+
moonerAnimation: false,
|
|
752
|
+
moonerInitAnimation: false,
|
|
753
|
+
currentMoonerName: null,
|
|
754
|
+
currentMooner: null,
|
|
755
|
+
currentMoonerColor: "",
|
|
756
|
+
|
|
757
|
+
// Pet
|
|
758
|
+
listPet: [],
|
|
759
|
+
petAnimation: false,
|
|
760
|
+
petInitAnimation: false,
|
|
761
|
+
currentPetName: "",
|
|
762
|
+
currentPet: null,
|
|
763
|
+
currentPetColor: "",
|
|
764
|
+
|
|
765
|
+
days: days,
|
|
766
|
+
months: months,
|
|
767
|
+
years: years,
|
|
768
|
+
|
|
769
|
+
pages: [],
|
|
770
|
+
counter: 0,
|
|
771
|
+
pageNum: 36,
|
|
772
|
+
|
|
773
|
+
isCover: 0,
|
|
774
|
+
currentPage: 3,
|
|
775
|
+
loadedPages: 3,
|
|
776
|
+
|
|
777
|
+
numberPositions: 0,
|
|
778
|
+
mobilePagePosition: 0,
|
|
779
|
+
|
|
780
|
+
isMobile: false,
|
|
781
|
+
isLoaded: false,
|
|
782
|
+
|
|
783
|
+
isPagesNumLoaded: false,
|
|
784
|
+
|
|
785
|
+
loadedMobile: false,
|
|
786
|
+
loadedDesktop: false,
|
|
787
|
+
|
|
788
|
+
mobileStopped: true,
|
|
789
|
+
isLoading: true,
|
|
790
|
+
custom_character: null,
|
|
791
|
+
custom: null,
|
|
792
|
+
|
|
793
|
+
availableLayouts: [],
|
|
794
|
+
currentLayout: 0,
|
|
795
|
+
|
|
796
|
+
callingLayout: false,
|
|
797
|
+
callingDedication: false,
|
|
798
|
+
callingName: false,
|
|
799
|
+
|
|
800
|
+
currentShirtNumber: 7,
|
|
801
|
+
|
|
802
|
+
// Aniversário
|
|
803
|
+
selectedBirthDay: 0,
|
|
804
|
+
selectedBirthMonth: 0,
|
|
805
|
+
|
|
806
|
+
modalMoonerFirstOpen: false,
|
|
807
|
+
firstBookSelected: false,
|
|
808
|
+
|
|
809
|
+
type_id: "",
|
|
810
|
+
};
|
|
811
|
+
},
|
|
812
|
+
|
|
813
|
+
computed: {
|
|
814
|
+
cssProps() {
|
|
815
|
+
return {
|
|
816
|
+
"--preview_color": this.preview_color,
|
|
817
|
+
};
|
|
818
|
+
},
|
|
819
|
+
},
|
|
820
|
+
|
|
821
|
+
mounted() {
|
|
822
|
+
const self = this;
|
|
823
|
+
|
|
824
|
+
this.current_character_name = this.current_name;
|
|
825
|
+
this.dedicationText = this.dedication_text ? this.dedication_text : "";
|
|
826
|
+
this.initMounted();
|
|
827
|
+
|
|
828
|
+
self.isMobile = self.detectSize();
|
|
829
|
+
|
|
830
|
+
window.addEventListener("resize", function(e) {
|
|
831
|
+
self.isMobile = self.detectSize();
|
|
832
|
+
});
|
|
833
|
+
},
|
|
834
|
+
|
|
835
|
+
methods: {
|
|
836
|
+
detectSize() {
|
|
837
|
+
var menuStatus = false;
|
|
838
|
+
if (window.innerWidth < 990) {
|
|
839
|
+
menuStatus = true;
|
|
840
|
+
}
|
|
841
|
+
return menuStatus;
|
|
842
|
+
},
|
|
843
|
+
|
|
844
|
+
toggleSidebar() {
|
|
845
|
+
const self = this;
|
|
846
|
+
|
|
847
|
+
self.sidebarOpen = !self.sidebarOpen;
|
|
848
|
+
},
|
|
849
|
+
|
|
850
|
+
modalIsOpen() {
|
|
851
|
+
if (
|
|
852
|
+
this.modalScript ||
|
|
853
|
+
this.modalName ||
|
|
854
|
+
this.modalDedication ||
|
|
855
|
+
this.modalShirtNumber ||
|
|
856
|
+
this.modalPet ||
|
|
857
|
+
this.modalMooner ||
|
|
858
|
+
this.modalBirthdate
|
|
859
|
+
) {
|
|
860
|
+
return true;
|
|
861
|
+
} else {
|
|
862
|
+
return false;
|
|
863
|
+
}
|
|
864
|
+
},
|
|
865
|
+
|
|
866
|
+
updateName(payload) {
|
|
867
|
+
console.log(this.current_character_name);
|
|
868
|
+
this.current_character_name = payload.value;
|
|
869
|
+
console.log(payload);
|
|
870
|
+
},
|
|
871
|
+
|
|
872
|
+
updateDedicationText(payload) {
|
|
873
|
+
this.dedicationText = payload.value;
|
|
874
|
+
},
|
|
875
|
+
|
|
876
|
+
updateShirtNumber(payload) {
|
|
877
|
+
this.currentShirtNumber = payload.value;
|
|
878
|
+
},
|
|
879
|
+
|
|
880
|
+
onChangeDay(payload) {
|
|
881
|
+
this.selectedBirthDay = payload.value;
|
|
882
|
+
|
|
883
|
+
this.validateDays({
|
|
884
|
+
year: payload.value,
|
|
885
|
+
});
|
|
886
|
+
},
|
|
887
|
+
|
|
888
|
+
onChangeMonth(payload) {
|
|
889
|
+
console.log(payload);
|
|
890
|
+
|
|
891
|
+
this.selectedBirthMonth = payload.key - 1;
|
|
892
|
+
|
|
893
|
+
this.validateDays({
|
|
894
|
+
month: payload.key - 1,
|
|
895
|
+
});
|
|
896
|
+
},
|
|
897
|
+
|
|
898
|
+
updateHaveDedication(value) {
|
|
899
|
+
this.haveDedication = value;
|
|
900
|
+
},
|
|
901
|
+
|
|
902
|
+
setMooner(selectedPet) {
|
|
903
|
+
const self = this;
|
|
904
|
+
|
|
905
|
+
self.moonerAnimation = false;
|
|
906
|
+
//console.log(selectedPet)
|
|
907
|
+
//self.currentMoonerName = selectedPet.name.toUpperCase()
|
|
908
|
+
|
|
909
|
+
setTimeout(() => {
|
|
910
|
+
self.moonerAnimation = true;
|
|
911
|
+
this.currentMooner = selectedPet;
|
|
912
|
+
|
|
913
|
+
setTimeout(() => {
|
|
914
|
+
self.moonerInitAnimation = true;
|
|
915
|
+
}, "500");
|
|
916
|
+
}, "500");
|
|
917
|
+
},
|
|
918
|
+
|
|
919
|
+
setPet(selectedPet) {
|
|
920
|
+
const self = this;
|
|
921
|
+
|
|
922
|
+
self.petAnimation = false;
|
|
923
|
+
//self.currentMoonerName =
|
|
924
|
+
|
|
925
|
+
setTimeout(() => {
|
|
926
|
+
self.petAnimation = true;
|
|
927
|
+
this.currentPet = selectedPet;
|
|
928
|
+
|
|
929
|
+
setTimeout(() => {
|
|
930
|
+
self.petInitAnimation = true;
|
|
931
|
+
}, "500");
|
|
932
|
+
}, "500");
|
|
933
|
+
},
|
|
934
|
+
|
|
935
|
+
setColor(selectedColor) {
|
|
936
|
+
//this.currentPetColor = selectedColor;
|
|
937
|
+
this.searchExtraProperty("pet").value.newPetColor = selectedColor;
|
|
938
|
+
},
|
|
939
|
+
|
|
940
|
+
showModal(modalName) {
|
|
941
|
+
const self = this;
|
|
942
|
+
// alert(key);
|
|
943
|
+
|
|
944
|
+
//var modalName = Object.keys(key)[0];
|
|
945
|
+
// console.log(modalName);
|
|
946
|
+
|
|
947
|
+
if (modalName === "nome") {
|
|
948
|
+
this.modalName = true;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
if (modalName.includes("dedicatoria")) {
|
|
952
|
+
this.modalDedication = true;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
if (modalName.includes("nome-do-mooner")) {
|
|
956
|
+
this.modalMooner = true;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
if (modalName.includes("pet")) {
|
|
960
|
+
this.modalPet = true;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
if (modalName.includes("script")) {
|
|
964
|
+
this.modalScript = true;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
if (modalName.includes("camisa")) {
|
|
968
|
+
this.modalShirtNumber = true;
|
|
969
|
+
}
|
|
970
|
+
if (modalName.includes("aniversario")) {
|
|
971
|
+
this.modalBirthdate = true;
|
|
972
|
+
}
|
|
973
|
+
},
|
|
974
|
+
|
|
975
|
+
showModalName() {
|
|
976
|
+
this.modalName = true;
|
|
977
|
+
},
|
|
978
|
+
|
|
979
|
+
showModalScript() {
|
|
980
|
+
this.modalScript = true;
|
|
981
|
+
},
|
|
982
|
+
|
|
983
|
+
showModalDedication() {
|
|
984
|
+
this.modalDedication = true;
|
|
985
|
+
},
|
|
986
|
+
|
|
987
|
+
showModalShirtNumber() {
|
|
988
|
+
this.modalShirtNumber = true;
|
|
989
|
+
},
|
|
990
|
+
|
|
991
|
+
showModalBirthdate() {
|
|
992
|
+
this.modalBirthdate = true;
|
|
993
|
+
},
|
|
994
|
+
|
|
995
|
+
showModalPet() {
|
|
996
|
+
const self = this;
|
|
997
|
+
|
|
998
|
+
//
|
|
999
|
+
},
|
|
1000
|
+
|
|
1001
|
+
searchExtraProperty(propertyName) {
|
|
1002
|
+
const self = this;
|
|
1003
|
+
var returnProperty = null;
|
|
1004
|
+
|
|
1005
|
+
Object.keys(self.extras).forEach(function(property) {
|
|
1006
|
+
//if()
|
|
1007
|
+
// if (self.extras[property].type.includes(propertyName)) {
|
|
1008
|
+
// returnProperty = self.extras.properties[property];
|
|
1009
|
+
// }
|
|
1010
|
+
//console.log(property + " - " + self.extras.properties[property]);
|
|
1011
|
+
});
|
|
1012
|
+
|
|
1013
|
+
return returnProperty;
|
|
1014
|
+
},
|
|
1015
|
+
|
|
1016
|
+
searchCategoryProperty(categories, propertyName) {
|
|
1017
|
+
const self = this;
|
|
1018
|
+
var returnProperty = null;
|
|
1019
|
+
|
|
1020
|
+
Object.keys(categories).forEach(function(category) {
|
|
1021
|
+
if (categories[category].code.includes(propertyName)) {
|
|
1022
|
+
returnProperty = categories[category];
|
|
1023
|
+
}
|
|
1024
|
+
console.log(category + " - " + categories[category]);
|
|
1025
|
+
});
|
|
1026
|
+
|
|
1027
|
+
return returnProperty;
|
|
1028
|
+
},
|
|
1029
|
+
|
|
1030
|
+
async getTreeList() {
|
|
1031
|
+
const self = this;
|
|
1032
|
+
|
|
1033
|
+
// Todo Guto
|
|
1034
|
+
return axios
|
|
1035
|
+
.get(
|
|
1036
|
+
this.lang.urlBuilder +
|
|
1037
|
+
"/api/characters/" +
|
|
1038
|
+
self.character_id +
|
|
1039
|
+
"/categories/assets/treelist?character_type_id=" +
|
|
1040
|
+
self.type_id +
|
|
1041
|
+
"&product_id=" +
|
|
1042
|
+
parseInt(self.product_id) +
|
|
1043
|
+
"&character_position_id=" +
|
|
1044
|
+
parseInt(self.character_position_id)
|
|
1045
|
+
)
|
|
1046
|
+
.then(function(response) {
|
|
1047
|
+
//console.log(response);
|
|
1048
|
+
|
|
1049
|
+
// self.listPet =
|
|
1050
|
+
// response.data.character_categories_assets[0].categories[5];
|
|
1051
|
+
var customList = null;
|
|
1052
|
+
|
|
1053
|
+
response.data.character_categories_assets[0].categories.forEach(
|
|
1054
|
+
(itemCategory) => {
|
|
1055
|
+
if (itemCategory.code.includes("mooner")) {
|
|
1056
|
+
customList = itemCategory;
|
|
1057
|
+
self.modalMooner = true;
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
);
|
|
1061
|
+
|
|
1062
|
+
self.extras.forEach((itemProperty) => {
|
|
1063
|
+
if (itemProperty.code.includes("nome-do-mooner")) {
|
|
1064
|
+
self.listMooner = customList;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
if (itemProperty.code.includes("pet")) {
|
|
1068
|
+
self.listPet = customList;
|
|
1069
|
+
}
|
|
1070
|
+
});
|
|
1071
|
+
})
|
|
1072
|
+
|
|
1073
|
+
.catch(function(error) {
|
|
1074
|
+
console.log(error);
|
|
1075
|
+
});
|
|
1076
|
+
},
|
|
1077
|
+
|
|
1078
|
+
closeModal() {
|
|
1079
|
+
this.modalScript = false;
|
|
1080
|
+
this.modalName = false;
|
|
1081
|
+
this.modalDedication = false;
|
|
1082
|
+
this.modalShirtNumber = false;
|
|
1083
|
+
this.modalPet = false;
|
|
1084
|
+
this.modalMooner = false;
|
|
1085
|
+
this.modalBirthdate = false;
|
|
1086
|
+
},
|
|
1087
|
+
|
|
1088
|
+
setCurrentLayout(layoutId) {
|
|
1089
|
+
this.currentLayout = layoutId;
|
|
1090
|
+
this.firstBookSelected = true;
|
|
1091
|
+
},
|
|
1092
|
+
|
|
1093
|
+
initMounted() {
|
|
1094
|
+
const self = this;
|
|
1095
|
+
|
|
1096
|
+
axios
|
|
1097
|
+
.get(this.lang.urlBuilder + "/api/products/info/" + self.product_id)
|
|
1098
|
+
.then(function(response) {
|
|
1099
|
+
self.pageNum = response.data.product.pages;
|
|
1100
|
+
self.isPagesNumLoaded = true;
|
|
1101
|
+
self.availableLayouts = response.data.product.layout;
|
|
1102
|
+
|
|
1103
|
+
// Gender
|
|
1104
|
+
if (self.gender) {
|
|
1105
|
+
self.type_id = response.data.product.type.filter((el) => {
|
|
1106
|
+
return el.code === self.gender;
|
|
1107
|
+
});
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
var properties = response.data.product.properties;
|
|
1111
|
+
self.extras = []; //response.data.product.extra;
|
|
1112
|
+
|
|
1113
|
+
properties.forEach((itemProperty) => {
|
|
1114
|
+
if (itemProperty.property.code === "nome") {
|
|
1115
|
+
itemProperty.property.value = self.current_name;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
if (itemProperty.property.code === "dedicatoria") {
|
|
1119
|
+
itemProperty.property.value = self.dedication_text;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
self.extras.push(itemProperty.property);
|
|
1123
|
+
});
|
|
1124
|
+
|
|
1125
|
+
self.type_id = self.type_id[0].id;
|
|
1126
|
+
|
|
1127
|
+
self.getTreeList();
|
|
1128
|
+
})
|
|
1129
|
+
|
|
1130
|
+
.catch(function(error) {
|
|
1131
|
+
console.log(error);
|
|
1132
|
+
});
|
|
1133
|
+
},
|
|
1134
|
+
|
|
1135
|
+
// changeDedication() {
|
|
1136
|
+
// const self = this;
|
|
1137
|
+
// self.callingLayout = true;
|
|
1138
|
+
// self.closeModal();
|
|
1139
|
+
// self.isLoadingMethod(false);
|
|
1140
|
+
|
|
1141
|
+
// let request = {
|
|
1142
|
+
// uuid: self.uuid,
|
|
1143
|
+
// dedication: self.dedicationText,
|
|
1144
|
+
// };
|
|
1145
|
+
|
|
1146
|
+
// axios
|
|
1147
|
+
// .post(
|
|
1148
|
+
// this.lang.urlBuilder + "/api/customs_characters/updateDedication",
|
|
1149
|
+
// request
|
|
1150
|
+
// // {
|
|
1151
|
+
// // headers: {
|
|
1152
|
+
// // // remove headers
|
|
1153
|
+
// // }
|
|
1154
|
+
// // }
|
|
1155
|
+
// )
|
|
1156
|
+
// .then(function(response) {
|
|
1157
|
+
// //alert(response.data.custom.uuid);
|
|
1158
|
+
|
|
1159
|
+
// self.changeUuid(response.data.custom.uuid);
|
|
1160
|
+
// // self.callingLayout = true
|
|
1161
|
+
// //self.closeModal()
|
|
1162
|
+
// // self.isLoadingMethod(false)
|
|
1163
|
+
// })
|
|
1164
|
+
// .catch(function(error) {
|
|
1165
|
+
// //self.isCallingAll = false;
|
|
1166
|
+
// alert("Erro ao atualizar a dedicatória");
|
|
1167
|
+
// //self.closeModal();
|
|
1168
|
+
// });
|
|
1169
|
+
// },
|
|
1170
|
+
|
|
1171
|
+
changeMoonerLayout() {
|
|
1172
|
+
const self = this;
|
|
1173
|
+
self.callingLayout = true;
|
|
1174
|
+
self.closeModal();
|
|
1175
|
+
self.isLoadingMethod(false);
|
|
1176
|
+
|
|
1177
|
+
let request = {
|
|
1178
|
+
custom_character: {
|
|
1179
|
+
character_id: self.character_id,
|
|
1180
|
+
product_id: self.product_id,
|
|
1181
|
+
type_id: self.type_id,
|
|
1182
|
+
user_data: {
|
|
1183
|
+
type: self.type_id,
|
|
1184
|
+
properties: {
|
|
1185
|
+
nome: {
|
|
1186
|
+
code: "nome",
|
|
1187
|
+
property_id: 24,
|
|
1188
|
+
value: self.current_character_name,
|
|
1189
|
+
},
|
|
1190
|
+
dedicatoria: {
|
|
1191
|
+
code: "dedicatoria",
|
|
1192
|
+
property_id: 26,
|
|
1193
|
+
value: self.dedicationText,
|
|
1194
|
+
},
|
|
1195
|
+
},
|
|
1196
|
+
},
|
|
1197
|
+
uuid: self.uuid,
|
|
1198
|
+
},
|
|
1199
|
+
};
|
|
1200
|
+
|
|
1201
|
+
if (self.currentMooner) {
|
|
1202
|
+
///var property = self.searchExtraProperty("nome-do-mooner");
|
|
1203
|
+
self.extras.forEach((itemProperty) => {
|
|
1204
|
+
if (itemProperty.code.includes("nome-do-mooner")) {
|
|
1205
|
+
var itemNovo = {
|
|
1206
|
+
property_id: itemProperty.id,
|
|
1207
|
+
value: self.currentMoonerName,
|
|
1208
|
+
code: itemProperty.code,
|
|
1209
|
+
};
|
|
1210
|
+
|
|
1211
|
+
itemProperty.value = self.currentMoonerName;
|
|
1212
|
+
|
|
1213
|
+
request.custom_character.user_data.properties[
|
|
1214
|
+
itemProperty.code
|
|
1215
|
+
] = itemNovo;
|
|
1216
|
+
}
|
|
1217
|
+
});
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
//var data_custom;
|
|
1221
|
+
|
|
1222
|
+
// Envio da custom porperties dynamic
|
|
1223
|
+
axios
|
|
1224
|
+
.post(
|
|
1225
|
+
this.lang.urlBuilder +
|
|
1226
|
+
"/api/customs_characters/changePropertiesDynamic",
|
|
1227
|
+
request
|
|
1228
|
+
)
|
|
1229
|
+
.then(function(response) {
|
|
1230
|
+
self.custom = JSON.parse(response.data.custom.customCharacter.data);
|
|
1231
|
+
|
|
1232
|
+
var haveMooney = false;
|
|
1233
|
+
var petProperty = null;
|
|
1234
|
+
|
|
1235
|
+
self.custom.categories.forEach((itemProperty) => {
|
|
1236
|
+
if (itemProperty.parent_id === self.currentMooner.parent_id) {
|
|
1237
|
+
haveMooney = true;
|
|
1238
|
+
|
|
1239
|
+
var indexOfCategory = self.custom.categories.indexOf(
|
|
1240
|
+
itemProperty
|
|
1241
|
+
);
|
|
1242
|
+
|
|
1243
|
+
self.custom.categories[indexOfCategory] = {
|
|
1244
|
+
parent_id: self.currentMooner.parent_id,
|
|
1245
|
+
id: self.currentMooner.id,
|
|
1246
|
+
};
|
|
1247
|
+
}
|
|
1248
|
+
});
|
|
1249
|
+
|
|
1250
|
+
if (haveMooney === false) {
|
|
1251
|
+
petProperty = {
|
|
1252
|
+
parent_id: self.currentMooner.parent_id,
|
|
1253
|
+
id: self.currentMooner.id,
|
|
1254
|
+
};
|
|
1255
|
+
|
|
1256
|
+
self.custom.categories.push(petProperty);
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
self.modalMoonerFirstOpen = true;
|
|
1260
|
+
self.sidebarOpen = false;
|
|
1261
|
+
|
|
1262
|
+
self.sendCustomCharacter();
|
|
1263
|
+
//self.changeUuid(response.data.custom.uuid);
|
|
1264
|
+
})
|
|
1265
|
+
.catch(function(error) {
|
|
1266
|
+
console.log(error);
|
|
1267
|
+
});
|
|
1268
|
+
},
|
|
1269
|
+
|
|
1270
|
+
updateNameAndDedicationCustomCharacter() {
|
|
1271
|
+
const self = this;
|
|
1272
|
+
self.callingLayout = true;
|
|
1273
|
+
self.closeModal();
|
|
1274
|
+
self.isLoadingMethod(false);
|
|
1275
|
+
|
|
1276
|
+
let request = {
|
|
1277
|
+
custom_character: {
|
|
1278
|
+
character_id: self.character_id,
|
|
1279
|
+
product_id: self.product_id,
|
|
1280
|
+
type_id: self.type_id,
|
|
1281
|
+
user_data: {
|
|
1282
|
+
type: self.type_id,
|
|
1283
|
+
properties: {
|
|
1284
|
+
nome: {
|
|
1285
|
+
code: "nome",
|
|
1286
|
+
property_id: 24,
|
|
1287
|
+
value: self.current_character_name,
|
|
1288
|
+
},
|
|
1289
|
+
dedicatoria: {
|
|
1290
|
+
code: "dedicatoria",
|
|
1291
|
+
property_id: 26,
|
|
1292
|
+
value: self.dedicationText,
|
|
1293
|
+
},
|
|
1294
|
+
},
|
|
1295
|
+
},
|
|
1296
|
+
uuid: self.uuid,
|
|
1297
|
+
},
|
|
1298
|
+
};
|
|
1299
|
+
|
|
1300
|
+
if (self.currentMooner) {
|
|
1301
|
+
///var property = self.searchExtraProperty("nome-do-mooner");
|
|
1302
|
+
self.extras.forEach((itemProperty) => {
|
|
1303
|
+
if (itemProperty.code.includes("nome-do-mooner")) {
|
|
1304
|
+
var itemNovo = {
|
|
1305
|
+
property_id: itemProperty.id,
|
|
1306
|
+
value: self.currentMoonerName,
|
|
1307
|
+
code: itemProperty.code,
|
|
1308
|
+
};
|
|
1309
|
+
|
|
1310
|
+
itemProperty.value = self.currentMoonerName;
|
|
1311
|
+
|
|
1312
|
+
request.custom_character.user_data.properties[
|
|
1313
|
+
itemProperty.code
|
|
1314
|
+
] = itemNovo;
|
|
1315
|
+
}
|
|
1316
|
+
});
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
axios
|
|
1320
|
+
.post(
|
|
1321
|
+
this.lang.urlBuilder +
|
|
1322
|
+
"/api/customs_characters/changePropertiesDynamic",
|
|
1323
|
+
request
|
|
1324
|
+
)
|
|
1325
|
+
.then(function(response) {
|
|
1326
|
+
self.custom = JSON.parse(response.data.custom.customCharacter.data);
|
|
1327
|
+
|
|
1328
|
+
self.extras.forEach((itemProperty) => {
|
|
1329
|
+
if (itemProperty.code === "nome") {
|
|
1330
|
+
itemProperty.value = self.current_character_name;
|
|
1331
|
+
}
|
|
1332
|
+
});
|
|
1333
|
+
|
|
1334
|
+
self.changeUuid(response.data.custom.uuid);
|
|
1335
|
+
})
|
|
1336
|
+
.catch(function(error) {
|
|
1337
|
+
console.log(error);
|
|
1338
|
+
});
|
|
1339
|
+
},
|
|
1340
|
+
|
|
1341
|
+
updateDedicationCustomCharacter() {
|
|
1342
|
+
const self = this;
|
|
1343
|
+
self.callingLayout = true;
|
|
1344
|
+
self.closeModal();
|
|
1345
|
+
self.isLoadingMethod(false);
|
|
1346
|
+
|
|
1347
|
+
let request = {
|
|
1348
|
+
custom_character: {
|
|
1349
|
+
character_id: self.character_id,
|
|
1350
|
+
product_id: self.product_id,
|
|
1351
|
+
type_id: self.type_id,
|
|
1352
|
+
user_data: {
|
|
1353
|
+
type: self.type_id,
|
|
1354
|
+
properties: {
|
|
1355
|
+
dedicatoria: {
|
|
1356
|
+
code: "dedicatoria",
|
|
1357
|
+
property_id: 26,
|
|
1358
|
+
value: self.dedicationText,
|
|
1359
|
+
},
|
|
1360
|
+
},
|
|
1361
|
+
},
|
|
1362
|
+
uuid: self.uuid,
|
|
1363
|
+
},
|
|
1364
|
+
};
|
|
1365
|
+
|
|
1366
|
+
axios
|
|
1367
|
+
.post(
|
|
1368
|
+
this.lang.urlBuilder +
|
|
1369
|
+
"/api/customs_characters/changePropertiesDynamic",
|
|
1370
|
+
request
|
|
1371
|
+
)
|
|
1372
|
+
.then(function(response) {
|
|
1373
|
+
self.custom = JSON.parse(response.data.custom.customCharacter.data);
|
|
1374
|
+
|
|
1375
|
+
self.extras.forEach((itemProperty) => {
|
|
1376
|
+
if (itemProperty.code === "dedicatoria") {
|
|
1377
|
+
itemProperty.value = self.dedicationText;
|
|
1378
|
+
}
|
|
1379
|
+
});
|
|
1380
|
+
|
|
1381
|
+
self.changeUuid(response.data.custom.uuid);
|
|
1382
|
+
})
|
|
1383
|
+
.catch(function(error) {
|
|
1384
|
+
console.log(error);
|
|
1385
|
+
});
|
|
1386
|
+
},
|
|
1387
|
+
|
|
1388
|
+
changeLayout() {
|
|
1389
|
+
const self = this;
|
|
1390
|
+
self.callingLayout = true;
|
|
1391
|
+
self.closeModal();
|
|
1392
|
+
self.isLoadingMethod(false);
|
|
1393
|
+
|
|
1394
|
+
let request = {
|
|
1395
|
+
custom_character: {
|
|
1396
|
+
character_id: self.character_id,
|
|
1397
|
+
product_id: self.product_id,
|
|
1398
|
+
type_id: self.type_id,
|
|
1399
|
+
user_data: {
|
|
1400
|
+
type: self.type_id,
|
|
1401
|
+
properties: {
|
|
1402
|
+
nome: {
|
|
1403
|
+
code: "nome",
|
|
1404
|
+
property_id: 24,
|
|
1405
|
+
value: self.current_character_name,
|
|
1406
|
+
},
|
|
1407
|
+
dedicatoria: {
|
|
1408
|
+
code: "dedicatoria",
|
|
1409
|
+
property_id: 26,
|
|
1410
|
+
value: self.dedicationText,
|
|
1411
|
+
},
|
|
1412
|
+
},
|
|
1413
|
+
},
|
|
1414
|
+
uuid: self.uuid,
|
|
1415
|
+
},
|
|
1416
|
+
};
|
|
1417
|
+
|
|
1418
|
+
if (self.searchExtraProperty("nome-do-mooner")) {
|
|
1419
|
+
var property = self.searchExtraProperty("nome-do-mooner");
|
|
1420
|
+
|
|
1421
|
+
var itemProperty = {
|
|
1422
|
+
property_id: property.id,
|
|
1423
|
+
value: property.value,
|
|
1424
|
+
code: property.code,
|
|
1425
|
+
};
|
|
1426
|
+
request.custom_character.user_data.properties[
|
|
1427
|
+
property.code
|
|
1428
|
+
] = itemProperty;
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
var petProperty;
|
|
1432
|
+
var data_custom;
|
|
1433
|
+
|
|
1434
|
+
// Envio da custom porperties dynamic
|
|
1435
|
+
axios
|
|
1436
|
+
.post(
|
|
1437
|
+
this.lang.urlBuilder +
|
|
1438
|
+
"/api/customs_characters/changePropertiesDynamic",
|
|
1439
|
+
request
|
|
1440
|
+
)
|
|
1441
|
+
.then(function(response) {
|
|
1442
|
+
self.custom = JSON.parse(response.data.custom.customCharacter.data);
|
|
1443
|
+
|
|
1444
|
+
petProperty = {
|
|
1445
|
+
parent_id: self.currentPet.parent_id,
|
|
1446
|
+
id: self.currentPetColor.id,
|
|
1447
|
+
};
|
|
1448
|
+
|
|
1449
|
+
self.custom.categories.push(petProperty);
|
|
1450
|
+
//data_custom = self.custom;
|
|
1451
|
+
|
|
1452
|
+
self.sendCustomCharacter();
|
|
1453
|
+
//self.changeUuid(response.data.custom.uuid);
|
|
1454
|
+
})
|
|
1455
|
+
.catch(function(error) {
|
|
1456
|
+
console.log(error);
|
|
1457
|
+
});
|
|
1458
|
+
},
|
|
1459
|
+
|
|
1460
|
+
sendCustomCharacter() {
|
|
1461
|
+
const self = this;
|
|
1462
|
+
|
|
1463
|
+
axios // Salvar o custom character
|
|
1464
|
+
.post(this.lang.urlBuilder + "/api/customs_characters", {
|
|
1465
|
+
custom_character: self.custom,
|
|
1466
|
+
})
|
|
1467
|
+
.then(function(response) {
|
|
1468
|
+
//self.custom = JSON.parse(response.data.custom.customCharacter.data);
|
|
1469
|
+
//alert("salvou catiolo");
|
|
1470
|
+
self.changeUuid(response.data.custom.uuid);
|
|
1471
|
+
})
|
|
1472
|
+
.catch(function(error) {
|
|
1473
|
+
console.log(error);
|
|
1474
|
+
});
|
|
1475
|
+
},
|
|
1476
|
+
|
|
1477
|
+
changeUuid(payload) {
|
|
1478
|
+
this.$emit("changeUuid", payload);
|
|
1479
|
+
},
|
|
1480
|
+
|
|
1481
|
+
isLoadingMethod(payload) {
|
|
1482
|
+
this.$emit("isLoadingMethod", payload);
|
|
1483
|
+
},
|
|
1484
|
+
|
|
1485
|
+
validateDays(payload) {
|
|
1486
|
+
const self = this;
|
|
1487
|
+
|
|
1488
|
+
let month = payload.month ? payload.month : this.selectedBirthMonth;
|
|
1489
|
+
const year = payload.year ? payload.year : this.selectedBirthYear;
|
|
1490
|
+
|
|
1491
|
+
if (!month) month = 13;
|
|
1492
|
+
|
|
1493
|
+
let daysMonth;
|
|
1494
|
+
const newDays = [];
|
|
1495
|
+
|
|
1496
|
+
if (
|
|
1497
|
+
month === 1 ||
|
|
1498
|
+
month === 3 ||
|
|
1499
|
+
month === 5 ||
|
|
1500
|
+
month === 7 ||
|
|
1501
|
+
month === 8 ||
|
|
1502
|
+
month === 10 ||
|
|
1503
|
+
month === 12 ||
|
|
1504
|
+
month === 13
|
|
1505
|
+
) {
|
|
1506
|
+
daysMonth = 31;
|
|
1507
|
+
} else if (month === 4 || month === 6 || month === 9 || month === 11) {
|
|
1508
|
+
daysMonth = 30;
|
|
1509
|
+
} else {
|
|
1510
|
+
if ((year % 4 === 0 && year % 100 > 0) || year % 400 === 0) {
|
|
1511
|
+
daysMonth = 29;
|
|
1512
|
+
} else {
|
|
1513
|
+
daysMonth = 28;
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
if (!month && !year) daysMonth = 31;
|
|
1518
|
+
|
|
1519
|
+
for (let day = 1; day <= daysMonth; day++)
|
|
1520
|
+
newDays.push({ key: day, value: day });
|
|
1521
|
+
|
|
1522
|
+
self.days = newDays;
|
|
1523
|
+
},
|
|
1524
|
+
},
|
|
1525
|
+
};
|
|
841
1526
|
</script>
|
|
842
1527
|
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1528
|
+
<style lang="scss" scoped>
|
|
1529
|
+
@import "./node_modules/@tiddh/brave-tokens/dist/styles/style.scss";
|
|
1530
|
+
|
|
1531
|
+
::v-deep .modal-pet {
|
|
1532
|
+
background-color: black;
|
|
1533
|
+
.paragraph {
|
|
1534
|
+
span {
|
|
1535
|
+
color: var(--preview-color);
|
|
1536
|
+
font-weight: bold;
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
}
|
|
1540
|
+
.main-tool {
|
|
1541
|
+
position: fixed;
|
|
1542
|
+
width: 100%;
|
|
1543
|
+
height: 100%;
|
|
1544
|
+
|
|
1545
|
+
@media (max-width: 990px) {
|
|
1546
|
+
position: relative;
|
|
1547
|
+
width: 100% !important;
|
|
1548
|
+
max-width: 100% !important;
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
.backdrop {
|
|
1552
|
+
//display: none;
|
|
1553
|
+
content: "";
|
|
1554
|
+
width: 100vw;
|
|
1555
|
+
height: 100vh;
|
|
1556
|
+
background: rgba(104, 89, 110, 0);
|
|
1557
|
+
backdrop-filter: blur(0px);
|
|
1558
|
+
position: fixed;
|
|
1559
|
+
transition: all 1s ease;
|
|
1560
|
+
opacity: 0;
|
|
1561
|
+
top: 0px;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
&.active {
|
|
1565
|
+
z-index: 5;
|
|
1566
|
+
max-width: 100%;
|
|
1567
|
+
|
|
1568
|
+
.backdrop {
|
|
1569
|
+
//display: block;
|
|
1570
|
+
background: rgba(104, 89, 110, 0.8);
|
|
1571
|
+
backdrop-filter: blur(8px);
|
|
1572
|
+
cursor: pointer;
|
|
1573
|
+
opacity: 1;
|
|
1574
|
+
|
|
1575
|
+
@media (max-width: 990px) {
|
|
1576
|
+
display: none;
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
&.inactive {
|
|
1582
|
+
z-index: 5;
|
|
1583
|
+
top: 0px;
|
|
1584
|
+
max-width: 48px;
|
|
1585
|
+
right: 0px;
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
.custom-properties {
|
|
1590
|
+
right: 0px;
|
|
1591
|
+
text-align: left;
|
|
1592
|
+
top: 0;
|
|
1593
|
+
max-width: px-size("lg", 340px);
|
|
1594
|
+
font-family: "Roboto";
|
|
1595
|
+
width: 100%;
|
|
1596
|
+
position: fixed;
|
|
1597
|
+
z-index: 3;
|
|
1598
|
+
overflow: initial;
|
|
1599
|
+
height: 100vh;
|
|
1600
|
+
transition: all 1s ease;
|
|
1601
|
+
transform: translateX(100%);
|
|
1602
|
+
|
|
1603
|
+
@media (max-width: 990px) {
|
|
1604
|
+
max-width: 100%;
|
|
1605
|
+
width: 100%;
|
|
1606
|
+
left: 0;
|
|
1607
|
+
bottom: 0;
|
|
1608
|
+
border-radius: 0;
|
|
1609
|
+
top: 0px;
|
|
1610
|
+
background: transparent;
|
|
1611
|
+
height: 100vh;
|
|
1612
|
+
transform: translateX(0%);
|
|
1613
|
+
position: relative;
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
&.inactive {
|
|
1617
|
+
.icon-close {
|
|
1618
|
+
opacity: 0;
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
.icon-edit {
|
|
1622
|
+
opacity: 1;
|
|
1623
|
+
transform: rotate(0deg);
|
|
1624
|
+
}
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
&.active {
|
|
1628
|
+
z-index: 10;
|
|
1629
|
+
transform: translateX(0%);
|
|
1630
|
+
|
|
1631
|
+
.icon-close {
|
|
1632
|
+
opacity: 1;
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
.icon-edit {
|
|
1636
|
+
opacity: 0;
|
|
1637
|
+
transform: rotate(-180deg);
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
.box-close {
|
|
1641
|
+
background: #fff;
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
// &:before {
|
|
1646
|
+
// content: "";
|
|
1647
|
+
// display: block;
|
|
1648
|
+
// width: 100vh;
|
|
1649
|
+
// height: 100vh;
|
|
1650
|
+
// position: fixed;
|
|
1651
|
+
// left: 0px;
|
|
1652
|
+
// top: 0px;
|
|
1653
|
+
// }
|
|
1654
|
+
|
|
1655
|
+
.list-properties {
|
|
1656
|
+
background-color: #fff;
|
|
1657
|
+
box-shadow: $shadow-level-02;
|
|
1658
|
+
width: 100%;
|
|
1659
|
+
background-color: white;
|
|
1660
|
+
position: relative;
|
|
1661
|
+
// border-radius: $border-radius-md;
|
|
1662
|
+
height: 100vh;
|
|
1663
|
+
z-index: 3;
|
|
1664
|
+
// display: flex;
|
|
1665
|
+
// flex:
|
|
1666
|
+
padding: px-size("lg", $spacing-stack-md) columns("lg", 1);
|
|
1667
|
+
|
|
1668
|
+
@media (max-width: 990px) {
|
|
1669
|
+
width: 100%;
|
|
1670
|
+
background-color: white;
|
|
1671
|
+
position: relative;
|
|
1672
|
+
// bottom: 10%;
|
|
1673
|
+
border-radius: 0;
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
.title-custom-properties {
|
|
1677
|
+
padding-bottom: px-size("lg", $spacing-inset-xs) 0px;
|
|
1678
|
+
// border-bottom: $border-width-md solid $color-brand-secondary-medium;
|
|
1679
|
+
width: 100%;
|
|
1680
|
+
line-height: 15px;
|
|
1681
|
+
|
|
1682
|
+
span {
|
|
1683
|
+
font-family: $font-family-01;
|
|
1684
|
+
font-size: $font-size-xxs;
|
|
1685
|
+
color: $color-neutral-darkest;
|
|
1686
|
+
// line-height: 14px;
|
|
1687
|
+
}
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
.itens-properties {
|
|
1691
|
+
.item {
|
|
1692
|
+
position: relative;
|
|
1693
|
+
padding: px-size("lg", $spacing-inset-xs) 0px;
|
|
1694
|
+
border-bottom: 1px solid #dfdae4;
|
|
1695
|
+
cursor: pointer;
|
|
1696
|
+
width: 100%;
|
|
1697
|
+
|
|
1698
|
+
svg {
|
|
1699
|
+
position: absolute;
|
|
1700
|
+
right: px-size("lg", $spacing-inset-xxs);
|
|
1701
|
+
top: px-size("lg", 22px);
|
|
1702
|
+
width: 36px;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
&:last-child {
|
|
1706
|
+
border-bottom: 0px;
|
|
1707
|
+
}
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
label {
|
|
1711
|
+
display: block;
|
|
1712
|
+
width: 100%;
|
|
1713
|
+
|
|
1714
|
+
color: #afa2ba !important;
|
|
1715
|
+
font-size: 12px;
|
|
1716
|
+
margin-bottom: 0px !important;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
span {
|
|
1720
|
+
display: block;
|
|
1721
|
+
width: 100%;
|
|
1722
|
+
white-space: nowrap;
|
|
1723
|
+
overflow: hidden !important;
|
|
1724
|
+
text-overflow: ellipsis;
|
|
1725
|
+
font-size: 14px;
|
|
1726
|
+
color: #68596e;
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
hr {
|
|
1730
|
+
margin: 0 !important;
|
|
1731
|
+
margin-bottom: 10px !important;
|
|
1732
|
+
margin-top: 10px !important;
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1735
|
+
.flex {
|
|
1736
|
+
cursor: pointer;
|
|
1737
|
+
position: relative;
|
|
1738
|
+
|
|
1739
|
+
svg {
|
|
1740
|
+
position: absolute;
|
|
1741
|
+
right: px-size("lg", 0px);
|
|
1742
|
+
top: px-size("lg", 18px);
|
|
1743
|
+
}
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
.layout-boxes {
|
|
1749
|
+
display: flex;
|
|
1750
|
+
}
|
|
1751
|
+
.layout-option {
|
|
1752
|
+
background: #ffffff;
|
|
1753
|
+
border-radius: px-size("lg", 10px);
|
|
1754
|
+
border: 2px solid transparent;
|
|
1755
|
+
margin-top: 5px;
|
|
1756
|
+
margin-bottom: 5px;
|
|
1757
|
+
cursor: pointer;
|
|
1758
|
+
position: relative;
|
|
1759
|
+
flex-basis: 100%;
|
|
1760
|
+
|
|
1761
|
+
-webkit-box-shadow: -1px 2px 22px -14px rgba(0, 0, 0, 0.75);
|
|
1762
|
+
-moz-box-shadow: -1px 2px 22px -14px rgba(0, 0, 0, 0.75);
|
|
1763
|
+
box-shadow: -1px 2px 22px -14px rgba(0, 0, 0, 0.75);
|
|
1764
|
+
margin: 1%;
|
|
1765
|
+
overflow: hidden;
|
|
1766
|
+
|
|
1767
|
+
.panel-title {
|
|
1768
|
+
display: flex;
|
|
1769
|
+
padding-bottom: px-size("lg", 10px);
|
|
1770
|
+
|
|
1771
|
+
.title {
|
|
1772
|
+
font-family: $font-family-02;
|
|
1773
|
+
color: $color-neutral-darkest;
|
|
1774
|
+
width: columns("lg", 3);
|
|
1775
|
+
|
|
1776
|
+
justify-content: center;
|
|
1777
|
+
align-self: center;
|
|
1778
|
+
align-items: center;
|
|
1779
|
+
font-size: px-size("lg", $font-size-xxs);
|
|
1780
|
+
padding-left: px-size("lg", 10px);
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
.flag {
|
|
1784
|
+
text-align: center;
|
|
1785
|
+
width: columns("lg", 1);
|
|
1786
|
+
|
|
1787
|
+
.icon {
|
|
1788
|
+
border-radius: 5px;
|
|
1789
|
+
border: solid 2px #e9eaed;
|
|
1790
|
+
background-color: #ffffff;
|
|
1791
|
+
width: px-size("lg", 30px);
|
|
1792
|
+
height: px-size("lg", 30px);
|
|
1793
|
+
display: flex;
|
|
1794
|
+
justify-content: center;
|
|
1795
|
+
align-self: center;
|
|
1796
|
+
align-items: center;
|
|
1797
|
+
|
|
1798
|
+
>>> svg {
|
|
1799
|
+
width: px-size("lg", 30px);
|
|
1800
|
+
height: px-size("lg", 30px);
|
|
1801
|
+
|
|
1802
|
+
path {
|
|
1803
|
+
fill: #e9eaed !important;
|
|
1804
|
+
}
|
|
1805
|
+
}
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
&.active {
|
|
1811
|
+
border: 2px solid #01dfa1;
|
|
1812
|
+
|
|
1813
|
+
.panel-title {
|
|
1814
|
+
.title {
|
|
1815
|
+
color: #68596e;
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
.flag {
|
|
1819
|
+
span {
|
|
1820
|
+
border: solid 2px #2dd3d8;
|
|
1821
|
+
background-color: #2dd3d8;
|
|
1822
|
+
}
|
|
1823
|
+
|
|
1824
|
+
>>> svg {
|
|
1825
|
+
path {
|
|
1826
|
+
fill: #fff !important;
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
.pet-view {
|
|
1835
|
+
width: 100%;
|
|
1836
|
+
display: flex;
|
|
1837
|
+
|
|
1838
|
+
//LABEL
|
|
1839
|
+
.pet-label {
|
|
1840
|
+
font-family: $font-family-comp-02;
|
|
1841
|
+
color: $color-neutral-darkest;
|
|
1842
|
+
line-height: $line-height-md;
|
|
1843
|
+
font-size: px-size("lg", $font-size-xs);
|
|
1844
|
+
text-align: left;
|
|
1845
|
+
margin-top: px-size("lg", $spacing-stack-md);
|
|
1846
|
+
display: block;
|
|
1847
|
+
@include media-breakpoint-down("sm") {
|
|
1848
|
+
font-size: px-size("sm", $font-size-xxs);
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
.pet-selectors {
|
|
1854
|
+
width: 100%;
|
|
1855
|
+
// transition: all 1s ease;
|
|
1856
|
+
|
|
1857
|
+
p {
|
|
1858
|
+
margin: 0px;
|
|
1859
|
+
font-size: px-size("lg", 16px);
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
.input-text-group {
|
|
1863
|
+
padding-bottom: 0px;
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
// .pet-avatar {
|
|
1868
|
+
// transition: all 1s ease;
|
|
1869
|
+
// }
|
|
1870
|
+
|
|
1871
|
+
.pet-list {
|
|
1872
|
+
width: 100%;
|
|
1873
|
+
display: flex;
|
|
1874
|
+
// justify-content: space-between;
|
|
1875
|
+
|
|
1876
|
+
div {
|
|
1877
|
+
margin: px-size("lg", 5px);
|
|
1878
|
+
cursor: pointer;
|
|
1879
|
+
// transition: all 1s ease;
|
|
1880
|
+
|
|
1881
|
+
// &.inactive {
|
|
1882
|
+
// opacity: 0.5;
|
|
1883
|
+
// }
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
.inactive {
|
|
1887
|
+
opacity: 0.3;
|
|
1888
|
+
}
|
|
1889
|
+
img {
|
|
1890
|
+
width: 100%;
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
.color-list {
|
|
1895
|
+
width: 100%;
|
|
1896
|
+
display: flex;
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
.color {
|
|
1900
|
+
height: px-size("lg", 40px);
|
|
1901
|
+
width: px-size("lg", 40px);
|
|
1902
|
+
display: block;
|
|
1903
|
+
border-radius: 100%;
|
|
1904
|
+
margin-left: px-size("lg", 6px);
|
|
1905
|
+
margin-right: px-size("lg", 6px);
|
|
1906
|
+
padding: px-size("lg", 3px);
|
|
1907
|
+
border: px-size("lg", 2px) solid #efefef;
|
|
1908
|
+
-webkit-transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1909
|
+
transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1910
|
+
position: relative;
|
|
1911
|
+
overflow: hidden;
|
|
1912
|
+
cursor: pointer;
|
|
1913
|
+
|
|
1914
|
+
&.is-selected {
|
|
1915
|
+
border-color: #01dfa1;
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
.secondary-color {
|
|
1919
|
+
width: 50%;
|
|
1920
|
+
position: absolute;
|
|
1921
|
+
right: 0px;
|
|
1922
|
+
height: 100%;
|
|
1923
|
+
top: 0px;
|
|
1924
|
+
}
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
.footer-pet {
|
|
1928
|
+
width: 100%;
|
|
1929
|
+
display: flex;
|
|
1930
|
+
|
|
1931
|
+
.cancel {
|
|
1932
|
+
margin-left: 20px;
|
|
1933
|
+
background-color: none;
|
|
1934
|
+
background-image: none;
|
|
1935
|
+
box-shadow: none;
|
|
1936
|
+
padding: 0px;
|
|
1937
|
+
border-radius: 0px;
|
|
1938
|
+
color: #68596e;
|
|
1939
|
+
background: transparent;
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
.box-dates-columns {
|
|
1944
|
+
display: flex;
|
|
1945
|
+
|
|
1946
|
+
.day {
|
|
1947
|
+
width: columns("lg", 4);
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
.month {
|
|
1951
|
+
padding-left: px-size("lg", $spacing-inset-xs);
|
|
1952
|
+
width: columns("lg", 8);
|
|
1953
|
+
}
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
.box-close {
|
|
1957
|
+
width: px-size("lg", 52px);
|
|
1958
|
+
height: px-size("lg", 48px);
|
|
1959
|
+
top: px-size("lg", $spacing-stack-sm);
|
|
1960
|
+
background: var(--preview_color);
|
|
1961
|
+
box-shadow: $shadow-level-02;
|
|
1962
|
+
position: absolute;
|
|
1963
|
+
left: px-size("lg", -48px);
|
|
1964
|
+
display: flex;
|
|
1965
|
+
justify-content: center;
|
|
1966
|
+
align-items: center;
|
|
1967
|
+
z-index: 2;
|
|
1968
|
+
border-radius: 50% 0px 0px 50%;
|
|
1969
|
+
cursor: pointer;
|
|
1970
|
+
transition: all 0.3s ease;
|
|
1971
|
+
animation-delay: 0.5s;
|
|
1972
|
+
|
|
1973
|
+
@include media-breakpoint-down("sm") {
|
|
1974
|
+
display: none;
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
.icon {
|
|
1978
|
+
width: px-size("lg", $icon-size-lg);
|
|
1979
|
+
height: px-size("lg", $icon-size-lg);
|
|
1980
|
+
position: absolute;
|
|
1981
|
+
transition: all 0.5s ease;
|
|
1982
|
+
animation-delay: 0.5s;
|
|
1983
|
+
}
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1986
|
+
::v-deep .mooner-footer {
|
|
1987
|
+
button {
|
|
1988
|
+
@media (max-width: 990px) {
|
|
1989
|
+
width: 100% !important;
|
|
1990
|
+
text-align: center;
|
|
1991
|
+
|
|
1992
|
+
div {
|
|
1993
|
+
width: 100%;
|
|
1994
|
+
text-align: center !important;
|
|
1995
|
+
display: block !important;
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
}
|
|
1999
|
+
}
|
|
2000
|
+
|
|
2001
|
+
::v-deep .name-footer {
|
|
2002
|
+
@media (max-width: 990px) {
|
|
2003
|
+
button {
|
|
2004
|
+
width: 100% !important;
|
|
2005
|
+
text-align: center;
|
|
2006
|
+
|
|
2007
|
+
div {
|
|
2008
|
+
width: 100%;
|
|
2009
|
+
text-align: center !important;
|
|
2010
|
+
display: block !important;
|
|
2011
|
+
}
|
|
2012
|
+
}
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
|
|
2016
|
+
::v-deep .dedication-footer {
|
|
2017
|
+
@media (max-width: 990px) {
|
|
2018
|
+
button {
|
|
2019
|
+
width: 100% !important;
|
|
2020
|
+
text-align: center;
|
|
2021
|
+
|
|
2022
|
+
div {
|
|
2023
|
+
width: 100%;
|
|
2024
|
+
text-align: center !important;
|
|
2025
|
+
display: block !important;
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
}
|
|
2030
|
+
|
|
2031
|
+
.pet-combo-list {
|
|
2032
|
+
display: flex;
|
|
2033
|
+
flex-wrap: wrap;
|
|
2034
|
+
|
|
2035
|
+
@media (max-width: 990px) {
|
|
2036
|
+
flex-direction: column-reverse;
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
.selected-pet {
|
|
2040
|
+
width: 0%;
|
|
2041
|
+
// height: 320px;
|
|
2042
|
+
transition: width 0.5s;
|
|
2043
|
+
max-height: px-size("lg", 200px);
|
|
2044
|
+
.clip-mooney {
|
|
2045
|
+
max-height: px-size("lg", 244px);
|
|
2046
|
+
overflow: hidden;
|
|
2047
|
+
display: block;
|
|
2048
|
+
|
|
2049
|
+
@media (max-width: 990px) {
|
|
2050
|
+
max-height: px-size("sm", 244px);
|
|
2051
|
+
overflow: hidden;
|
|
2052
|
+
display: flex;
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
img {
|
|
2056
|
+
@media (max-width: 990px) {
|
|
2057
|
+
max-width: 80%;
|
|
2058
|
+
margin: 0 auto;
|
|
2059
|
+
margin-top: -(px-size("lg", 20px));
|
|
2060
|
+
}
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
|
|
2064
|
+
img {
|
|
2065
|
+
margin-top: -(px-size("lg", 20px));
|
|
2066
|
+
opacity: 0;
|
|
2067
|
+
}
|
|
2068
|
+
|
|
2069
|
+
&.active {
|
|
2070
|
+
width: 40%;
|
|
2071
|
+
|
|
2072
|
+
@media (max-width: 990px) {
|
|
2073
|
+
width: 100%;
|
|
2074
|
+
}
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
.pet-list {
|
|
2079
|
+
transition: all 0.5s;
|
|
2080
|
+
width: 60%;
|
|
2081
|
+
align-items: center;
|
|
2082
|
+
display: flex;
|
|
2083
|
+
|
|
2084
|
+
@media (max-width: 990px) {
|
|
2085
|
+
width: 100%;
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
&.inactive {
|
|
2089
|
+
width: 100%;
|
|
2090
|
+
}
|
|
2091
|
+
}
|
|
2092
|
+
}
|
|
2093
|
+
|
|
2094
|
+
.fade-in-image-init {
|
|
2095
|
+
transition: all 0.5s;
|
|
2096
|
+
opacity: 1 !important;
|
|
2097
|
+
}
|
|
2098
|
+
|
|
2099
|
+
.fade-in-image {
|
|
2100
|
+
animation: fadeIn 0.5s;
|
|
2101
|
+
-webkit-animation: fadeIn 0.5s;
|
|
2102
|
+
-moz-animation: fadeIn 0.5s;
|
|
2103
|
+
-o-animation: fadeIn 0.5s;
|
|
2104
|
+
-ms-animation: fadeIn 0.5s;
|
|
2105
|
+
|
|
2106
|
+
// img {
|
|
2107
|
+
// opacity: 1 !important;
|
|
2108
|
+
// }
|
|
2109
|
+
}
|
|
2110
|
+
|
|
2111
|
+
@keyframes fadeIn {
|
|
2112
|
+
0% {
|
|
2113
|
+
opacity: 0;
|
|
2114
|
+
}
|
|
2115
|
+
100% {
|
|
2116
|
+
opacity: 1;
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
@-moz-keyframes fadeIn {
|
|
2121
|
+
0% {
|
|
2122
|
+
opacity: 0;
|
|
2123
|
+
}
|
|
2124
|
+
100% {
|
|
2125
|
+
opacity: 1;
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
@-webkit-keyframes fadeIn {
|
|
2130
|
+
0% {
|
|
2131
|
+
opacity: 0;
|
|
2132
|
+
}
|
|
2133
|
+
100% {
|
|
2134
|
+
opacity: 1;
|
|
2135
|
+
}
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
@-o-keyframes fadeIn {
|
|
2139
|
+
0% {
|
|
2140
|
+
opacity: 0;
|
|
2141
|
+
}
|
|
2142
|
+
100% {
|
|
2143
|
+
opacity: 1;
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2147
|
+
@-ms-keyframes fadeIn {
|
|
2148
|
+
0% {
|
|
2149
|
+
opacity: 0;
|
|
2150
|
+
}
|
|
2151
|
+
100% {
|
|
2152
|
+
opacity: 1;
|
|
2153
|
+
}
|
|
2154
|
+
}
|
|
1171
2155
|
</style>
|