cloudcommerce 0.0.80 → 0.0.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/package.json +1 -1
  3. package/packages/api/package.json +1 -1
  4. package/packages/apps/correios/package.json +1 -1
  5. package/packages/apps/custom-shipping/package.json +1 -1
  6. package/packages/apps/discounts/package.json +1 -1
  7. package/packages/apps/frenet/package.json +1 -1
  8. package/packages/apps/tiny-erp/package.json +1 -1
  9. package/packages/cli/package.json +1 -1
  10. package/packages/config/package.json +1 -1
  11. package/packages/events/package.json +1 -1
  12. package/packages/firebase/package.json +1 -1
  13. package/packages/modules/package.json +1 -1
  14. package/packages/passport/package.json +1 -1
  15. package/packages/ssr/lib/firebase/serve-storefront.js +22 -40
  16. package/packages/ssr/lib/firebase/serve-storefront.js.map +1 -1
  17. package/packages/ssr/package.json +2 -1
  18. package/packages/ssr/src/firebase/serve-storefront.ts +27 -59
  19. package/packages/storefront/astro.config.mjs +4 -0
  20. package/packages/storefront/dist/client/hoisted.f0efb207.js +272 -0
  21. package/packages/storefront/dist/client/manifest.webmanifest +1 -0
  22. package/packages/storefront/dist/client/sw.js +1 -0
  23. package/packages/storefront/dist/client/workbox-70b8fbb9.js +1 -0
  24. package/packages/storefront/dist/server/entry.mjs +10 -2
  25. package/packages/storefront/dist/server/manifest.webmanifest +1 -0
  26. package/packages/storefront/dist/server/registerSW.js +1 -0
  27. package/packages/storefront/package.json +1 -1
  28. package/packages/storefront/src/lib/components/LoginModal.vue +0 -1
  29. package/packages/storefront/src/lib/layouts/Base.astro +8 -0
  30. package/packages/storefront/src/lib/ssr-context.ts +1 -1
  31. package/packages/storefront/src/vite-env.d.ts +13 -0
  32. package/packages/types/package.json +1 -1
  33. package/packages/storefront/dist/client/hoisted.31e23ac0.js +0 -271
  34. package/packages/storefront/src/assets/firebaseui.css +0 -648
@@ -1,648 +0,0 @@
1
- /*
2
- * Copyright 2016 Google Inc. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5
- * in compliance with the License. You may obtain a copy of the License at
6
- *
7
- * http://www.apache.org/licenses/LICENSE-2.0
8
- *
9
- * Unless required by applicable law or agreed to in writing, software distributed under the
10
- * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11
- * express or implied. See the License for the specific language governing permissions and
12
- * limitations under the License.
13
- */
14
-
15
- /**
16
- * CSS for FirebaseUI Javascript widget.
17
- * All selectors should begin with a "firebaseui-" prefix to avoid conflicts.
18
- */
19
- .firebaseui-container {
20
- background-color: #fff;
21
- box-sizing: border-box;
22
- -moz-box-sizing: border-box;
23
- -webkit-box-sizing: border-box;
24
- color: rgba(0, 0, 0, 0.87);
25
- direction: ltr;
26
- font: 16px Roboto, arial, sans-serif;
27
- margin: 0 auto;
28
- max-width: 360px;
29
- /** This is needed for the invisible reCAPTCHA badge to show. */
30
- overflow: visible;
31
- position: relative;
32
- text-align: left;
33
- width: 100%;
34
- }
35
-
36
- .firebaseui-container.mdl-card {
37
- /** This is needed for the invisible reCAPTCHA badge to show. */
38
- overflow: visible;
39
- }
40
-
41
- .firebaseui-card-header {
42
- padding: 24px 24px 0 24px;
43
- }
44
-
45
-
46
- .firebaseui-card-content {
47
- padding: 0 24px;
48
- }
49
-
50
- .firebaseui-card-footer {
51
- padding: 0 24px;
52
- }
53
-
54
- .firebaseui-card-actions {
55
- box-sizing: border-box;
56
- display: table;
57
- font-size: 14px;
58
- padding: 8px 24px 24px 24px;
59
- text-align: left;
60
- width: 100%;
61
- }
62
-
63
- .firebaseui-form-links {
64
- display: table-cell;
65
- vertical-align: middle;
66
- width: 100%;
67
- }
68
-
69
- .firebaseui-form-actions {
70
- display: table-cell;
71
- text-align: right;
72
- white-space: nowrap;
73
- width: 100%;
74
- }
75
-
76
- .firebaseui-title,
77
- .firebaseui-subtitle {
78
- color: rgba(0, 0, 0, 0.87);
79
- direction: ltr;
80
- font-size: 20px;
81
- font-weight: 500;
82
- line-height: 24px;
83
- margin: 0;
84
- padding: 0;
85
- text-align: left;
86
- }
87
-
88
- .firebaseui-title {
89
- padding-bottom: 16px;
90
- }
91
-
92
- .firebaseui-subtitle {
93
- margin: 16px 0;
94
- }
95
-
96
- .firebaseui-text {
97
- color: rgba(0, 0, 0, 0.87);
98
- direction: ltr;
99
- font-size: 16px;
100
- line-height: 24px;
101
- text-align: left;
102
- }
103
-
104
- .firebaseui-id-page-password-recovery-email-sent p.firebaseui-text {
105
- margin: 16px 0;
106
- }
107
-
108
- .firebaseui-text-emphasis {
109
- font-weight: 700;
110
- }
111
-
112
- .firebaseui-error {
113
- color: #dd2c00;
114
- direction: ltr;
115
- font-size: 12px;
116
- line-height: 16px;
117
- margin: 0;
118
- text-align: left;
119
- }
120
-
121
- .firebaseui-text-input-error {
122
- /* Set a negative margin, as MDL text inputs have a large bottom margin. */
123
- margin: -16px 0 16px;
124
- }
125
-
126
-
127
- .firebaseui-error-wrapper {
128
- min-height: 16px;
129
- }
130
-
131
-
132
- .firebaseui-list-item {
133
- direction: ltr;
134
- margin: 0;
135
- padding: 0;
136
- text-align: left;
137
- }
138
-
139
- .firebaseui-hidden {
140
- display: none;
141
- }
142
-
143
- .firebaseui-relative-wrapper {
144
- position: relative;
145
- }
146
-
147
- .firebaseui-label {
148
- color: rgba(0, 0, 0, 0.54);
149
- direction: ltr;
150
- font-size: 16px;
151
- text-align: left;
152
- }
153
-
154
- /* Override MDL floating text field label color. */
155
- .mdl-textfield--floating-label.is-focused .mdl-textfield__label,
156
- .mdl-textfield--floating-label.is-dirty .mdl-textfield__label {
157
- color: #757575;
158
- }
159
-
160
- .firebaseui-input,
161
- .firebaseui-input-invalid {
162
- border-radius: 0; /** iOS puts rounded corners on text inputs. */
163
- color: rgba(0, 0, 0, 0.87);
164
- direction: ltr;
165
- font-size: 16px;
166
- width: 100%;
167
- }
168
-
169
- input.firebaseui-input,
170
- input.firebaseui-input-invalid{
171
- direction: ltr;
172
- text-align: left;
173
- }
174
-
175
- .firebaseui-input-invalid {
176
- border-color: #dd2c00;
177
- }
178
-
179
- .firebaseui-textfield {
180
- width: 100%;
181
- }
182
-
183
- /* Override MDL's error handling with our own. */
184
- .firebaseui-textfield.mdl-textfield .firebaseui-input {
185
- border-color: rgba(0, 0, 0, 0.12);
186
- }
187
-
188
- .firebaseui-textfield.mdl-textfield .firebaseui-label::after {
189
- background-color: #3f51b5;
190
- }
191
-
192
- .firebaseui-textfield-invalid.mdl-textfield .firebaseui-input {
193
- border-color: #dd2c00;
194
- }
195
-
196
- .firebaseui-textfield-invalid.mdl-textfield .firebaseui-label::after {
197
- background-color: #dd2c00;
198
- }
199
-
200
- .firebaseui-button {
201
- display: inline-block;
202
- height: 36px;
203
- margin-left: 8px;
204
- min-width: 88px;
205
- }
206
-
207
- .firebaseui-link {
208
- color: #4285f4;
209
- font-variant: normal;
210
- font-weight: normal;
211
- text-decoration: none;
212
- }
213
-
214
- .firebaseui-link:hover {
215
- text-decoration: underline;
216
- }
217
-
218
- .firebaseui-indent {
219
- margin-left: 1em;
220
- }
221
-
222
- .firebaseui-tos {
223
- color: #757575;
224
- direction: ltr;
225
- font-size: 12px;
226
- line-height: 16px;
227
- margin-bottom: 24px;
228
- margin-top: 0;
229
- text-align: left;
230
- }
231
-
232
- .firebaseui-provider-sign-in-footer > .firebaseui-tos {
233
- text-align: center;
234
- }
235
-
236
- .firebaseui-tos-list {
237
- list-style: none;
238
- text-align: right;
239
- }
240
-
241
- .firebaseui-inline-list-item {
242
- display: inline-block;
243
- margin-left: 5px;
244
- margin-right: 5px;
245
- }
246
-
247
- .firebaseui-page-provider-sign-in,
248
- .firebaseui-page-select-tenant
249
- {
250
- background: inherit;
251
- }
252
-
253
- .firebaseui-idp-list,
254
- .firebaseui-tenant-list {
255
- list-style: none;
256
- margin: 1em 0;
257
- padding: 0;
258
- }
259
-
260
- .firebaseui-idp-button,
261
- .firebaseui-tenant-button {
262
- direction: ltr;
263
- font-weight: 500;
264
- height: auto;
265
- line-height: normal;
266
- max-width: 220px;
267
- min-height: 40px;
268
- padding: 8px 16px;
269
- text-align: left;
270
- width: 100%;
271
- }
272
-
273
- .firebaseui-idp-list > .firebaseui-list-item,
274
- .firebaseui-tenant-list > .firebaseui-list-item {
275
- margin-bottom: 15px;
276
- text-align: center;
277
- }
278
-
279
- .firebaseui-idp-icon-wrapper {
280
- display: table-cell;
281
- vertical-align: middle;
282
- }
283
-
284
- .firebaseui-idp-icon {
285
- border: none;
286
- display: inline-block;
287
- height: 18px;
288
- vertical-align: middle;
289
- width: 18px;
290
- }
291
-
292
- .firebaseui-idp-favicon {
293
- border: none;
294
- display: inline-block;
295
- height: 14px;
296
- margin-right: 5px;
297
- vertical-align: middle;
298
- width: 14px;
299
- }
300
-
301
- .firebaseui-idp-text {
302
- color: #fff;
303
- display: table-cell;
304
- font-size: 14px;
305
- padding-left: 16px;
306
- text-transform: none;
307
- vertical-align: middle;
308
- }
309
-
310
- .firebaseui-idp-text.firebaseui-idp-text-long {
311
- display: table-cell;
312
- }
313
-
314
- .firebaseui-idp-text.firebaseui-idp-text-short {
315
- display: none;
316
- }
317
-
318
- /* 220px for button + 2x24 for margin = 268px */
319
- @media (max-width: 268px) {
320
- .firebaseui-idp-text.firebaseui-idp-text-long {
321
- display: none;
322
- }
323
-
324
- .firebaseui-idp-text.firebaseui-idp-text-short {
325
- display: table-cell;
326
- }
327
- }
328
-
329
- /* Resize reCAPTCHA container on narrow mobile devices. */
330
- @media (max-width: 320px) {
331
- .firebaseui-recaptcha-container > div > div {
332
- transform: scale(0.9);
333
- -webkit-transform: scale(0.9);
334
- transform-origin: 0 0;
335
- -webkit-transform-origin: 0 0;
336
- }
337
- }
338
-
339
- .firebaseui-idp-google > .firebaseui-idp-text {
340
- color: #757575;
341
- }
342
-
343
- /* Override the size of Yahoo's icon. */
344
- [data-provider-id="yahoo.com"] > .firebaseui-idp-icon-wrapper >
345
- .firebaseui-idp-icon {
346
- height: 22px;
347
- width: 22px;
348
- }
349
-
350
- .firebaseui-info-bar {
351
- background-color: #f9edbe;
352
- border: 1px solid #f0c36d;
353
- box-shadow: 0 2px 4px rgba(0,0,0,0.2);
354
- -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
355
- -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
356
- left: 10%;
357
- padding: 8px 16px;
358
- position: absolute;
359
- right: 10%;
360
- text-align: center;
361
- top: 0;
362
- }
363
-
364
- .firebaseui-info-bar-message {
365
- font-size: 12px;
366
- margin: 0;
367
- }
368
-
369
- .firebaseui-dialog {
370
- box-sizing: border-box;
371
- /* We need to set these properties again since dialogs are not contained in
372
- * the main FirebaseUI container. */
373
- color: rgba(0, 0, 0, 0.87);
374
- font: 16px Roboto, arial, sans-serif;
375
- /* If we do not set height here, the default Safari dialog settings make the
376
- * dialog too tall. */
377
- height: auto;
378
- max-height: fit-content;
379
- padding: 24px;
380
- text-align: left;
381
- }
382
-
383
- .firebaseui-dialog-icon-wrapper {
384
- display: table-cell;
385
- vertical-align: middle;
386
- }
387
-
388
- .firebaseui-dialog-icon {
389
- float: left;
390
- height: 40px;
391
- margin-right: 24px;
392
- width: 40px;
393
- }
394
-
395
- .firebaseui-progress-dialog-message {
396
- display: table-cell;
397
- font-size: 16px;
398
- font-weight: 400;
399
- min-height: 40px;
400
- vertical-align: middle;
401
- }
402
-
403
- .firebaseui-progress-dialog-loading-icon {
404
- height: 28px;
405
- margin: 6px 30px 6px 6px;
406
- width: 28px;
407
- }
408
-
409
- .firebaseui-icon-done {
410
- background-image: url("https://www.gstatic.com/images/icons/material/system/2x/done_googgreen_36dp.png");
411
- background-position: center;
412
- background-repeat: no-repeat;
413
- background-size: 36px 36px;
414
- }
415
-
416
- .firebaseui-phone-number {
417
- display: flex;
418
- }
419
-
420
- .firebaseui-country-selector {
421
- /* TODO: Use 2x for HD displays. */
422
- background-image: url('https://www.gstatic.com/images/icons/material/system/1x/arrow_drop_down_grey600_18dp.png');
423
- background-position: right center;
424
- background-repeat: no-repeat;
425
- background-size: 18px auto;
426
- border-radius: 0;
427
- border-bottom: 1px solid rgba(0, 0, 0, 0.12);
428
- color: rgba(0, 0, 0, 0.87);
429
- flex-shrink: 0;
430
- font-size: 16px;
431
- font-weight: normal;
432
- height: initial;
433
- line-height: normal;
434
- margin: 20px 24px 20px 0;
435
- padding: 4px 20px 4px 0;
436
- width: 90px;
437
- }
438
-
439
- .firebaseui-country-selector-flag {
440
- display: inline-block;
441
- margin-right: 1ex;
442
- }
443
-
444
- .firebaseui-flag {
445
- background-image: url("https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/flags_sprite_2x.png");
446
- background-size: 100% auto;
447
- /* Set a drop shadow so white flags are more distinct. */
448
- filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.54));
449
- height: 14px;
450
- width: 24px;
451
- }
452
-
453
- .firebaseui-list-box-dialog {
454
- max-height: 90%;
455
- overflow: auto;
456
- padding: 8px 0 0 0;
457
- }
458
-
459
- .firebaseui-list-box-actions {
460
- padding-bottom: 8px;
461
- }
462
-
463
- .firebaseui-list-box-icon-wrapper {
464
- display: table-cell;
465
- padding-right: 24px;
466
- vertical-align: top;
467
- }
468
-
469
- .firebaseui-list-box-label-wrapper {
470
- display: table-cell;
471
- vertical-align: top;
472
- }
473
-
474
- .firebaseui-list-box-dialog-button {
475
- color: rgba(0, 0, 0, 0.87);
476
- direction: ltr;
477
- font-size: 16px;
478
- font-weight: normal;
479
- height: initial;
480
- line-height: normal;
481
- min-height: 48px;
482
- padding: 14px 24px;
483
- text-align: left;
484
- text-transform: none;
485
- width: 100%;
486
- }
487
-
488
- .firebaseui-phone-number-error {
489
- /* Align this with the national number input. Add a margin of
490
- * button width (90px) + button margin (24px). */
491
- margin-left: 114px;
492
- }
493
-
494
- .mdl-progress.firebaseui-busy-indicator {
495
- height: 2px;
496
- left: 0;
497
- position: absolute;
498
- top: 55px;
499
- width: 100%;
500
- }
501
-
502
- .mdl-spinner.firebaseui-busy-indicator {
503
- direction: initial;
504
- height: 56px;
505
- left: 0px;
506
- margin: auto;
507
- position: absolute;
508
- right: 0px;
509
- top: 30%;
510
- width: 56px;
511
- }
512
-
513
- .firebaseui-callback-indicator-container .firebaseui-busy-indicator {
514
- top: 0px;
515
- }
516
-
517
- .firebaseui-callback-indicator-container {
518
- height: 120px;
519
- }
520
-
521
- .firebaseui-new-password-component {
522
- display: inline-block;
523
- position: relative;
524
- width: 100%;
525
- }
526
-
527
- .firebaseui-input-floating-button {
528
- background-position: center;
529
- background-repeat: no-repeat;
530
- display: block;
531
- height: 24px;
532
- position: absolute;
533
- right: 0;
534
- top: 20px;
535
- width: 24px;
536
- }
537
-
538
- .firebaseui-input-toggle-on {
539
- background-image: url("https://www.gstatic.com/images/icons/material/system/1x/visibility_black_24dp.png");
540
- }
541
-
542
- .firebaseui-input-toggle-off {
543
- background-image: url("https://www.gstatic.com/images/icons/material/system/1x/visibility_off_black_24dp.png");
544
- }
545
-
546
- .firebaseui-input-toggle-focus {
547
- opacity: 0.87;
548
- }
549
-
550
- .firebaseui-input-toggle-blur {
551
- opacity: 0.38;
552
- }
553
-
554
- .firebaseui-recaptcha-wrapper {
555
- display: table;
556
- margin: 0 auto;
557
- padding-bottom: 8px;
558
- }
559
-
560
- .firebaseui-recaptcha-container {
561
- display: table-cell;
562
- }
563
-
564
- .firebaseui-recaptcha-error-wrapper {
565
- caption-side: bottom;
566
- display: table-caption;
567
- }
568
-
569
- .firebaseui-change-phone-number-link {
570
- display: block;
571
- }
572
-
573
- .firebaseui-resend-container {
574
- direction: ltr;
575
- margin: 20px 0;
576
- text-align: center;
577
- }
578
-
579
- .firebaseui-id-resend-countdown {
580
- color: rgba(0, 0, 0, 0.38);
581
- }
582
-
583
- /**
584
- * This div holds the invisible reCAPTCHA badge. The float property is needed
585
- * as it messes up the cancel and submit buttons to align vertically when they
586
- * should horizontally.
587
- */
588
- .firebaseui-id-page-phone-sign-in-start .firebaseui-form-actions div {
589
- float: left;
590
- }
591
-
592
- @media (max-width: 480px) {
593
- .firebaseui-container {
594
- box-shadow: none;
595
- max-width: none;
596
- width: 100%;
597
- }
598
-
599
- .firebaseui-card-header {
600
- border-bottom: 1px solid #e0e0e0;
601
- margin-bottom: 16px;
602
- padding: 16px 24px 0 24px;
603
- }
604
-
605
- .firebaseui-title {
606
- padding-bottom: 16px;
607
- }
608
-
609
- .firebaseui-card-actions {
610
- padding-right: 24px;
611
- }
612
-
613
- .firebaseui-busy-indicator {
614
- top: 0px;
615
- }
616
- }
617
-
618
- /*
619
- * Bootstrap applies styles to all <label> elements, so override those styles.
620
- */
621
- .mdl-textfield__label {
622
- font-weight: normal;
623
- margin-bottom: 0;
624
- }
625
-
626
- .firebaseui-id-page-blank {
627
- background: inherit;
628
- height: 64px;
629
- }
630
-
631
- .firebaseui-id-page-spinner {
632
- background: inherit;
633
- height: 64px;
634
- }
635
-
636
- .firebaseui-email-sent {
637
- background-image: url("https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/success_status.png");
638
- background-position: center;
639
- background-repeat: no-repeat;
640
- background-size: 64px 64px;
641
- height: 64px;
642
- margin-top: 16px;
643
- text-align: center;
644
- }
645
-
646
- .firebaseui-text-justify {
647
- text-align: justify;
648
- }