cloudcommerce 0.0.117 → 0.0.119
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/CHANGELOG.md +4 -0
- package/ecomplus-stores/monocard/functions/core/package.json +1 -1
- package/ecomplus-stores/monocard/functions/events/package.json +2 -2
- package/ecomplus-stores/monocard/functions/modules/package.json +2 -2
- package/ecomplus-stores/monocard/functions/passport/package.json +2 -2
- package/ecomplus-stores/monocard/functions/ssr/package.json +5 -5
- package/ecomplus-stores/monocard/functions/ssr/src/pages/fallback.astro +1 -1
- package/ecomplus-stores/monocard/package.json +1 -1
- package/package.json +1 -1
- package/packages/api/package.json +1 -1
- package/packages/apps/correios/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/frenet/package.json +1 -1
- package/packages/apps/mercadopago/lib/index.d.ts +1 -0
- package/packages/apps/mercadopago/lib/index.js +3 -0
- package/packages/apps/mercadopago/lib/index.js.map +1 -0
- package/packages/apps/mercadopago/lib/mercadopago.d.ts +86 -0
- package/packages/apps/mercadopago/lib/mercadopago.js +15 -0
- package/packages/apps/mercadopago/lib/mercadopago.js.map +1 -0
- package/packages/apps/mercadopago/lib/mp-create-transaction.d.ts +85 -0
- package/packages/apps/mercadopago/lib/mp-create-transaction.js +270 -0
- package/packages/apps/mercadopago/lib/mp-create-transaction.js.map +1 -0
- package/packages/apps/mercadopago/lib/mp-list-payments.d.ts +7 -0
- package/packages/apps/mercadopago/lib/mp-list-payments.js +175 -0
- package/packages/apps/mercadopago/lib/mp-list-payments.js.map +1 -0
- package/packages/apps/mercadopago/lib/mp-webhook.d.ts +5 -0
- package/packages/apps/mercadopago/lib/mp-webhook.js +119 -0
- package/packages/apps/mercadopago/lib/mp-webhook.js.map +1 -0
- package/packages/apps/mercadopago/package.json +1 -1
- package/packages/apps/tiny-erp/package.json +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/events/package.json +1 -1
- package/packages/firebase/lib/config.js +38 -34
- package/packages/firebase/lib/const.js +3 -2
- package/packages/firebase/lib/env.js +2 -1
- package/packages/firebase/lib/handlers/check-store-events.js +146 -145
- package/packages/firebase/lib/helpers/pubsub.js +20 -18
- package/packages/firebase/lib/helpers/update-app-data.js +38 -38
- package/packages/firebase/lib/index.js +9 -7
- package/packages/firebase/lib/init.js +2 -1
- package/packages/firebase/package.json +1 -1
- package/packages/i18n/package.json +1 -1
- package/packages/modules/lib/firebase/serve-modules-api.js +1 -0
- package/packages/modules/lib/firebase/serve-modules-api.js.map +1 -1
- package/packages/modules/package.json +1 -1
- package/packages/passport/lib/firebase/authenticate-customer.js +81 -0
- package/packages/passport/lib/firebase/authenticate-customer.js.map +1 -0
- package/packages/passport/lib/firebase/serve-passport-api.js +32 -0
- package/packages/passport/lib/firebase/serve-passport-api.js.map +1 -0
- package/packages/passport/lib/firebase.js +16 -0
- package/packages/passport/lib/firebase.js.map +1 -0
- package/packages/passport/lib/index.js +2 -0
- package/packages/passport/lib/index.js.map +1 -0
- package/packages/passport/package.json +1 -1
- package/packages/ssr/lib/firebase/serve-feeds.js +8 -0
- package/packages/ssr/lib/firebase/serve-feeds.js.map +1 -0
- package/packages/ssr/lib/firebase/serve-storefront.js +50 -0
- package/packages/ssr/lib/firebase/serve-storefront.js.map +1 -0
- package/packages/ssr/lib/firebase.js +23 -0
- package/packages/ssr/lib/firebase.js.map +1 -0
- package/packages/ssr/lib/index.js +4 -0
- package/packages/ssr/lib/index.js.map +1 -0
- package/packages/ssr/package.json +1 -1
- package/packages/storefront/astro.config.mjs +2 -1
- package/packages/storefront/dist/client/HeaderButtons.75084c8f.js +1 -0
- package/packages/storefront/dist/client/admin/config.json +1 -0
- package/packages/storefront/dist/client/assets/_...slug_.5d8e6131.css +4 -0
- package/packages/storefront/dist/client/assets/cms-preview.css +274 -0
- package/packages/storefront/dist/client/assets/cms.css +114 -0
- package/packages/storefront/dist/client/assets/cvv.png +0 -0
- package/packages/storefront/dist/client/assets/icons/bootstrap-icons/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/feather-icons/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/font-awesome/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/line-awesome/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/tabler-icons/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/img-placeholder.png +0 -0
- package/packages/storefront/dist/client/assets/payments.png +0 -0
- package/packages/storefront/dist/client/assets/ssl-safe.png +0 -0
- package/packages/storefront/dist/client/chunks/HeaderButtons.d1f8a21f.js +1 -0
- package/packages/storefront/dist/client/chunks/LoginForm.e02dee3d.js +1441 -0
- package/packages/storefront/dist/client/chunks/preload-helper.f15ab524.js +1 -0
- package/packages/storefront/dist/client/chunks/runtime-dom.esm-bundler.9119f0ff.js +1 -0
- package/packages/storefront/dist/client/chunks/workbox-window.prod.es5.10f2e5ac.js +2 -0
- package/packages/storefront/dist/client/client.671d7334.js +1 -0
- package/packages/storefront/dist/client/hoisted.3f1cf839.js +1 -0
- package/packages/storefront/dist/client/img/icon.png +0 -0
- package/packages/storefront/dist/client/img/large-icon.png +0 -0
- package/packages/storefront/dist/client/img/uploads/banner1.png +0 -0
- package/packages/storefront/dist/client/img/uploads/banner2.png +0 -0
- package/packages/storefront/dist/client/img/uploads/banner2.webp +0 -0
- package/packages/storefront/dist/client/img/uploads/favicon.png +0 -0
- package/packages/storefront/dist/client/img/uploads/headless.png +0 -0
- package/packages/storefront/dist/client/img/uploads/headphone.png +0 -0
- package/packages/storefront/dist/client/img/uploads/headphone.webp +0 -0
- package/packages/storefront/dist/client/img/uploads/icon.png +0 -0
- package/packages/storefront/dist/client/img/uploads/large-icon.png +0 -0
- package/packages/storefront/dist/client/img/uploads/logo.png +0 -0
- package/packages/storefront/dist/client/img/uploads/logo.webp +0 -0
- package/packages/storefront/dist/client/img/uploads/og-image.png +0 -0
- package/packages/storefront/dist/client/img/uploads/passion.png +0 -0
- package/packages/storefront/dist/client/img/uploads/passion.webp +0 -0
- package/packages/storefront/dist/client/img/uploads/pwa-reliable.png +0 -0
- package/packages/storefront/dist/client/img/uploads/rect8589.png +0 -0
- package/packages/storefront/dist/client/img/uploads/rect859.png +0 -0
- package/packages/storefront/dist/client/img/uploads/rect89.png +0 -0
- package/packages/storefront/dist/client/img/uploads/rect89.webp +0 -0
- package/packages/storefront/dist/client/img/uploads/ssl-safe.png +0 -0
- package/packages/storefront/dist/client/manifest.webmanifest +1 -0
- package/packages/storefront/dist/client/page.b906f867.js +1 -0
- package/packages/storefront/dist/client/robots.txt +8 -0
- package/packages/storefront/dist/client/sw.js +1 -0
- package/packages/storefront/dist/client/workbox-abdc68aa.js +1 -0
- package/packages/storefront/dist/client/~partytown/partytown-atomics.js +2 -0
- package/packages/storefront/dist/client/~partytown/partytown-media.js +2 -0
- package/packages/storefront/dist/client/~partytown/partytown-sw.js +2 -0
- package/packages/storefront/dist/client/~partytown/partytown.js +2 -0
- package/packages/storefront/dist/server/avif/avif_node_dec.wasm +0 -0
- package/packages/storefront/dist/server/avif/avif_node_enc.wasm +0 -0
- package/packages/storefront/dist/server/entry.mjs +17062 -0
- package/packages/storefront/dist/server/manifest.webmanifest +1 -0
- package/packages/storefront/dist/server/mozjpeg/mozjpeg_node_dec.wasm +0 -0
- package/packages/storefront/dist/server/mozjpeg/mozjpeg_node_enc.wasm +0 -0
- package/packages/storefront/dist/server/png/squoosh_oxipng_bg.wasm +0 -0
- package/packages/storefront/dist/server/png/squoosh_png_bg.wasm +0 -0
- package/packages/storefront/dist/server/registerSW.js +1 -0
- package/packages/storefront/dist/server/resize/squoosh_resize_bg.wasm +0 -0
- package/packages/storefront/dist/server/rotate/rotate.wasm +0 -0
- package/packages/storefront/dist/server/webp/webp_node_dec.wasm +0 -0
- package/packages/storefront/dist/server/webp/webp_node_enc.wasm +0 -0
- package/packages/storefront/package.json +1 -1
- package/packages/types/package.json +1 -1
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
.ec-search-engine__count {
|
|
2
|
+
padding-left: .5rem;
|
|
3
|
+
position: relative;
|
|
4
|
+
line-height: 2.5;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.ec-search-engine__spinner {
|
|
8
|
+
position: absolute;
|
|
9
|
+
top: .4rem;
|
|
10
|
+
right: -3rem;
|
|
11
|
+
color: var(--secondary);
|
|
12
|
+
margin-left: 1.5rem;
|
|
13
|
+
width: 1.75rem;
|
|
14
|
+
height: 1.75rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ec-search-engine__toggle {
|
|
18
|
+
color: inherit;
|
|
19
|
+
display: inline-block;
|
|
20
|
+
text-decoration: none;
|
|
21
|
+
-webkit-transition: opacity .15s,color .2s;
|
|
22
|
+
transition:opacity .15s,color .2s;
|
|
23
|
+
padding: 0 .5rem;
|
|
24
|
+
opacity: .75;
|
|
25
|
+
line-height: 2.5;
|
|
26
|
+
border: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ec-search-engine__toggle i,
|
|
30
|
+
.ec-search-engine__toggle svg {
|
|
31
|
+
font-size: .825rem;
|
|
32
|
+
color: var(--gray-dark);
|
|
33
|
+
margin-right: .15rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ec-search-engine__toggle:focus,
|
|
37
|
+
.ec-search-engine__toggle:hover {
|
|
38
|
+
opacity: 1;
|
|
39
|
+
text-decoration: none;
|
|
40
|
+
color: inherit;
|
|
41
|
+
box-shadow: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ec-search-engine__toggle[aria-expanded=true] {
|
|
45
|
+
color: var(--gray-dark);
|
|
46
|
+
opacity: 1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.ec-search-engine__results {
|
|
50
|
+
-webkit-transition:opacity .25s;
|
|
51
|
+
transition:opacity .25s;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.ec-search-engine__info {
|
|
55
|
+
margin-bottom: 1.5rem;
|
|
56
|
+
padding-top: 1rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.ec-search-engine__terms {
|
|
60
|
+
display: -webkit-box;
|
|
61
|
+
display: flex;
|
|
62
|
+
-webkit-box-pack: justify;
|
|
63
|
+
-ms-box-pack: justify;
|
|
64
|
+
-moz-box-pack: justify;
|
|
65
|
+
justify-content: space-between;
|
|
66
|
+
-webkit-box-align: center;
|
|
67
|
+
-moz-box-align: center;
|
|
68
|
+
-ms-box-align: center;
|
|
69
|
+
align-items: center;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.ec-search-engine__terms small {
|
|
73
|
+
font-size: .95rem;
|
|
74
|
+
color: var(--gray);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ec-search-engine__retail {
|
|
78
|
+
padding-top: .5rem;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.ec-search-engine__item {
|
|
82
|
+
margin-bottom: 1rem;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.ec-search-engine__sidebar {
|
|
86
|
+
position: fixed;
|
|
87
|
+
width: 280px;
|
|
88
|
+
max-width: 100%;
|
|
89
|
+
height: 100%;
|
|
90
|
+
top: 0;
|
|
91
|
+
right: 0;
|
|
92
|
+
z-index: 1100;
|
|
93
|
+
border-radius: 0;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ec-search-engine__sidebar .card-body {
|
|
97
|
+
overflow-y: auto;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ec-search-engine__filter:not(:first-child) {
|
|
101
|
+
margin-top: 1rem;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.ec-search-engine__filter:last-child {
|
|
105
|
+
margin-bottom: 1.5rem;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.ec-search-engine__filter__btn {
|
|
109
|
+
padding-left: 0;
|
|
110
|
+
color: var(--secondary);
|
|
111
|
+
font-size: 1.2rem;
|
|
112
|
+
font-weight: 300;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.ec-search-engine__filter__btn i,
|
|
116
|
+
.ec-search-engine__filter__btn svg {
|
|
117
|
+
margin-right: .25rem;
|
|
118
|
+
color: var(--gray);
|
|
119
|
+
opacity: .6;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.ec-search-engine__filter__btn:focus {
|
|
123
|
+
box-shadow: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.ec-search-engine__option small {
|
|
127
|
+
color: var(--gray);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.ec-product-card {
|
|
131
|
+
position: relative;
|
|
132
|
+
padding-bottom: .1rem;
|
|
133
|
+
margin-bottom: 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.ec-product-card--inactive,
|
|
137
|
+
.ec-product-card--inactive img {
|
|
138
|
+
opacity: .7;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.ec-product-card__offer-stamp {
|
|
142
|
+
background-color: var(--success);
|
|
143
|
+
color: var(--success-yiq);
|
|
144
|
+
min-width: 40px;
|
|
145
|
+
font-size: .78rem;
|
|
146
|
+
line-height: 1.8;
|
|
147
|
+
text-align: center;
|
|
148
|
+
position: absolute;
|
|
149
|
+
z-index: 9;
|
|
150
|
+
top: .35rem;
|
|
151
|
+
right: .35rem;
|
|
152
|
+
border-radius: .125rem;
|
|
153
|
+
opacity: .9;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.ec-product-card__link:hover h3 {
|
|
157
|
+
text-decoration: underline;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.ec-product-card__name {
|
|
161
|
+
margin-top: .5rem;
|
|
162
|
+
font-size: .88rem;
|
|
163
|
+
line-height: 1.2;
|
|
164
|
+
height: 3.168rem;
|
|
165
|
+
overflow: hidden;
|
|
166
|
+
font-weight: 400;
|
|
167
|
+
display: block;
|
|
168
|
+
z-index: 1;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.ec-product-card__pictures {
|
|
172
|
+
display: -webkit-box;
|
|
173
|
+
display: flex;
|
|
174
|
+
background-color: var(--body-bg);
|
|
175
|
+
-webkit-box-align: center;
|
|
176
|
+
-moz-box-align: center;
|
|
177
|
+
-ms-box-align: center;
|
|
178
|
+
align-items: center;
|
|
179
|
+
text-align: center;
|
|
180
|
+
overflow: hidden;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
@media (max-width:575.98px) {
|
|
184
|
+
.ec-product-card__pictures {
|
|
185
|
+
height: 180px;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@media (min-width:576px) and (max-width:991.98px) {
|
|
190
|
+
.ec-product-card__pictures {
|
|
191
|
+
height: 200px;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@media (min-width: 992px) {
|
|
196
|
+
.ec-product-card__pictures {
|
|
197
|
+
height: 250px;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.ec-product-card__picture {
|
|
202
|
+
display: block;
|
|
203
|
+
-webkit-box-flex: 0;
|
|
204
|
+
-ms-box-flex: 0;
|
|
205
|
+
-moz-box-flex: 0;
|
|
206
|
+
flex: 0 0 100%;
|
|
207
|
+
opacity: 0;
|
|
208
|
+
-webkit-transition:opacity .25s;
|
|
209
|
+
transition:opacity .25s;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ec-product-card__picture:first-child {
|
|
213
|
+
opacity: 1;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
@media (max-width: 300px) {
|
|
217
|
+
.ec-product-card__picture {
|
|
218
|
+
max-width: 100px;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
@media (max-width: 575.98px) {
|
|
223
|
+
.ec-product-card__picture img {
|
|
224
|
+
max-height: 180px;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
@media (min-width: 576px) and (max-width: 991.98px) {
|
|
229
|
+
.ec-product-card__picture img {
|
|
230
|
+
max-height: 200px;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
@media (min-width: 992px) {
|
|
235
|
+
.ec-product-card__picture img {
|
|
236
|
+
max-height:250px;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.ec-product-card__prices {
|
|
241
|
+
margin-bottom: .15rem;
|
|
242
|
+
height: 4.95rem;
|
|
243
|
+
overflow: hidden;
|
|
244
|
+
white-space: nowrap;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.ec-product-card__prices .ec-prices__value:first-child {
|
|
248
|
+
margin-top: 1.14rem;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.ec-product-card:hover .ec-product-card__picture {
|
|
252
|
+
display: none;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.ec-product-card:hover .ec-product-card__picture:last-child {
|
|
256
|
+
display: block;
|
|
257
|
+
opacity: 1;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.ec-product-card:hover .ec-product-card__buy {
|
|
261
|
+
opacity: 1;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
svg:not(:root).svg-inline--fa {
|
|
265
|
+
overflow: visible;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.svg-inline--fa {
|
|
269
|
+
display: inline-block;
|
|
270
|
+
font-size: inherit;
|
|
271
|
+
height: 1em;
|
|
272
|
+
overflow: visible;
|
|
273
|
+
vertical-align: -0.125em;
|
|
274
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
.loading {
|
|
2
|
+
position: fixed;
|
|
3
|
+
z-index: 9999;
|
|
4
|
+
height: 2em;
|
|
5
|
+
width: 2em;
|
|
6
|
+
overflow: show;
|
|
7
|
+
margin: auto;
|
|
8
|
+
top: 0;
|
|
9
|
+
left: 0;
|
|
10
|
+
bottom: 0;
|
|
11
|
+
right: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.loading:before {
|
|
15
|
+
content: '';
|
|
16
|
+
display: block;
|
|
17
|
+
position: fixed;
|
|
18
|
+
top: 0;
|
|
19
|
+
left: 0;
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
|
|
23
|
+
background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.loading:not(:required) {
|
|
27
|
+
font: 0/0 a;
|
|
28
|
+
color: transparent;
|
|
29
|
+
text-shadow: none;
|
|
30
|
+
background-color: transparent;
|
|
31
|
+
border: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.loading:not(:required):after {
|
|
35
|
+
content: '';
|
|
36
|
+
display: block;
|
|
37
|
+
font-size: 10px;
|
|
38
|
+
width: 1em;
|
|
39
|
+
height: 1em;
|
|
40
|
+
margin-top: -0.5em;
|
|
41
|
+
-webkit-animation: spinner 150ms infinite linear;
|
|
42
|
+
-moz-animation: spinner 150ms infinite linear;
|
|
43
|
+
-ms-animation: spinner 150ms infinite linear;
|
|
44
|
+
-o-animation: spinner 150ms infinite linear;
|
|
45
|
+
animation: spinner 150ms infinite linear;
|
|
46
|
+
border-radius: 0.5em;
|
|
47
|
+
-webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
|
|
48
|
+
box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@-webkit-keyframes spinner {
|
|
52
|
+
0% {
|
|
53
|
+
-webkit-transform: rotate(0deg);
|
|
54
|
+
-moz-transform: rotate(0deg);
|
|
55
|
+
-ms-transform: rotate(0deg);
|
|
56
|
+
-o-transform: rotate(0deg);
|
|
57
|
+
transform: rotate(0deg);
|
|
58
|
+
}
|
|
59
|
+
100% {
|
|
60
|
+
-webkit-transform: rotate(360deg);
|
|
61
|
+
-moz-transform: rotate(360deg);
|
|
62
|
+
-ms-transform: rotate(360deg);
|
|
63
|
+
-o-transform: rotate(360deg);
|
|
64
|
+
transform: rotate(360deg);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
@-moz-keyframes spinner {
|
|
68
|
+
0% {
|
|
69
|
+
-webkit-transform: rotate(0deg);
|
|
70
|
+
-moz-transform: rotate(0deg);
|
|
71
|
+
-ms-transform: rotate(0deg);
|
|
72
|
+
-o-transform: rotate(0deg);
|
|
73
|
+
transform: rotate(0deg);
|
|
74
|
+
}
|
|
75
|
+
100% {
|
|
76
|
+
-webkit-transform: rotate(360deg);
|
|
77
|
+
-moz-transform: rotate(360deg);
|
|
78
|
+
-ms-transform: rotate(360deg);
|
|
79
|
+
-o-transform: rotate(360deg);
|
|
80
|
+
transform: rotate(360deg);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
@-o-keyframes spinner {
|
|
84
|
+
0% {
|
|
85
|
+
-webkit-transform: rotate(0deg);
|
|
86
|
+
-moz-transform: rotate(0deg);
|
|
87
|
+
-ms-transform: rotate(0deg);
|
|
88
|
+
-o-transform: rotate(0deg);
|
|
89
|
+
transform: rotate(0deg);
|
|
90
|
+
}
|
|
91
|
+
100% {
|
|
92
|
+
-webkit-transform: rotate(360deg);
|
|
93
|
+
-moz-transform: rotate(360deg);
|
|
94
|
+
-ms-transform: rotate(360deg);
|
|
95
|
+
-o-transform: rotate(360deg);
|
|
96
|
+
transform: rotate(360deg);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
@keyframes spinner {
|
|
100
|
+
0% {
|
|
101
|
+
-webkit-transform: rotate(0deg);
|
|
102
|
+
-moz-transform: rotate(0deg);
|
|
103
|
+
-ms-transform: rotate(0deg);
|
|
104
|
+
-o-transform: rotate(0deg);
|
|
105
|
+
transform: rotate(0deg);
|
|
106
|
+
}
|
|
107
|
+
100% {
|
|
108
|
+
-webkit-transform: rotate(360deg);
|
|
109
|
+
-moz-transform: rotate(360deg);
|
|
110
|
+
-ms-transform: rotate(360deg);
|
|
111
|
+
-o-transform: rotate(360deg);
|
|
112
|
+
transform: rotate(360deg);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
Binary file
|
package/packages/storefront/dist/client/assets/icons/bootstrap-icons/font/storefront-icons.woff2
ADDED
|
Binary file
|
package/packages/storefront/dist/client/assets/icons/feather-icons/font/storefront-icons.woff2
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as E}from"./preload-helper.f15ab524.js";import{d as y,r as g,w as U,t as F,c as x,o as i,a as c,b as h,e as _,T as D,n as M,f as t,u as p,g as T,h as r,i as b,j as B,k as P,l as L,m as $,F as k,p as w,q as O}from"./runtime-dom.esm-bundler.9119f0ff.js";/* empty css */const ie="Acessar minha conta",j="Fechar",ce="Criar uma conta",de="Entrar com senha",ue="Ol\xE1",fe="Esqueci minha senha",H="Minha conta",N="Minha conta e pedidos",R="Meus pedidos",S="Abrir carrinho",me="Senha",pe="Enviar c\xF3digo de acesso por e-mail",ve="Cadastrar",he="Visitante",q=["open"],z=["aria-label","onClick"],I=y({__name:"ADrawer",props:{modelValue:{type:Boolean,default:!1},placement:{default:"end"}},emits:["update:modelValue"],setup(e,{emit:n}){const o=e;B(a=>({"413fa5c6":p(f)}));const d=()=>n("update:modelValue",!1),v=g(null),u=g(null),s=a=>{u.value?.contains(a.target)||d()},l=a=>{a.key==="Escape"&&d()};U(F(o,"modelValue"),async a=>{const m=v.value.closest('[class*="backdrop-"]');a?(document.body.style.overflow="hidden",m&&(m.style.backdropFilter="none"),setTimeout(()=>{document.addEventListener("click",s,{passive:!0}),document.addEventListener("keydown",l,{passive:!0})},500)):(document.body.style.overflow=null,m&&setTimeout(()=>{m.style.backdropFilter=null},500),document.removeEventListener("click",s),document.removeEventListener("keydown",l))});const f=x(()=>o.placement==="end"?"100%":"-100%");return(a,m)=>(i(),c("div",{ref_key:"container",ref:v},[h(D,null,{default:_(()=>[e.modelValue?(i(),c("dialog",{key:0,class:M(["offcanvas p-0",e.placement==="end"?"justify-end":"justify-start"]),open:e.modelValue},[t("article",{ref_key:"article",ref:u,class:"rounded-none h-full max-h-screen m-0"},[t("a",{href:"#close","aria-label":p(j),class:"close","data-target":"modal-example",onClick:T(d,["prevent"])},null,8,z),r(a.$slots,"default",{},void 0,!0)],512)],10,q)):b("",!0)]),_:3})],512))}}),C=(e,n)=>{const o=e.__vccOpts||e;for(const[d,v]of n)o[d]=v;return o},W=C(I,[["__scopeId","data-v-8254bc03"]]),G={class:"login-offcanvas"},J={class:"w-80"},K=t("hr",null,null,-1),Q=["href"],X=["href"],Y=["href","target","rel","innerHTML"],Z=y({__name:"LoginDrawer",props:{accountUrl:{default:"/app/account"},additionalLinks:{default:()=>[]}},setup(e){const n=g(!1),o=E(()=>import("./LoginForm.e02dee3d.js"),["chunks/LoginForm.e02dee3d.js","chunks/runtime-dom.esm-bundler.9119f0ff.js","chunks/preload-helper.f15ab524.js"]),d=P(()=>o),v=s=>{o.then(()=>{n.value=!n.value,s.preventDefault()})},u=g(!1);return(s,l)=>(i(),c("div",G,[t("div",{onClick:v},[r(s.$slots,"toggle",L($({isVisible:n.value})))]),h(W,{modelValue:n.value,"onUpdate:modelValue":l[2]||(l[2]=f=>n.value=f)},{default:_(()=>[r(s.$slots,"form",{},()=>[t("div",J,[h(p(d),{onLogin:l[0]||(l[0]=f=>u.value=!0),onLogout:l[1]||(l[1]=f=>u.value=!1)},{"button-content":_(()=>[r(s.$slots,"form-button-content")]),_:3})])]),r(s.$slots,"nav",L($({isLogged:u.value})),()=>[K,t("aside",null,[t("nav",null,[t("ul",null,[u.value?(i(),c(k,{key:0},[t("li",null,[t("a",{href:`${e.accountUrl}/#/orders`},w(p(R)),9,Q)]),t("li",null,[t("a",{href:e.accountUrl},w(p(H)),9,X)])],64)):b("",!0),(i(!0),c(k,null,O(e.additionalLinks,({href:f,isBlank:a,innerHTML:m},A)=>(i(),c("li",{key:A},[t("a",{href:f,target:a?"_blank":null,rel:a?"noopener":null,innerHTML:m},null,8,Y)]))),128))])])])])]),_:3},8,["modelValue"])]))}}),ee={},te={class:"text-2xl text-gray-accent hover:text-primary no-underline ml-2"};function ne(e,n){return i(),c("a",te,[r(e.$slots,"default")])}const V=C(ee,[["render",ne]]),ae=t("div",{class:"i-user-circle"},null,-1),oe=t("div",{class:"i-shopping-cart"},null,-1),_e=y({__name:"HeaderButtons",props:{accountUrl:{default:"/app/account"},cartUrl:{default:"/app/#/cart"},loginDrawerAdditionalLinks:null},setup(e){return(n,o)=>(i(),c(k,null,[r(n.$slots,"account",{},()=>[h(Z,{"account-url":e.accountUrl,"additional-links":e.loginDrawerAdditionalLinks},{toggle:_(()=>[h(V,{href:e.accountUrl,title:p(N)},{default:_(()=>[ae]),_:1},8,["href","title"])]),_:1},8,["account-url","additional-links"])]),r(n.$slots,"default"),r(n.$slots,"cart",{},()=>[h(V,{href:e.cartUrl,title:p(S)},{default:_(()=>[oe]),_:1},8,["href","title"])])],64))}});export{_e as _,he as a,pe as b,me as c,de as d,fe as e,ve as f,ie as g,ce as h,ue as i};
|