apirocket 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/notifications/notifications.service.d.ts +1 -1
- package/dist/components/notifications/notifications.types.d.ts +1 -0
- package/dist/ecommerce.css +160 -1
- package/dist/ecommerce.js +2 -3
- package/dist/lib/api.d.ts +1 -2
- package/dist/lib/utils.d.ts +2 -1
- package/dist/services/account.service.d.ts +4 -1
- package/dist/services/customer.service.d.ts +1 -0
- package/dist/types/checkout.type.d.ts +9 -0
- package/dist/types/ecommerce.type.d.ts +2 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import type { NotificationInstance, NotificationItem, NotificationsService } fro
|
|
|
2
2
|
declare class NotificationsServiceClass implements NotificationsService {
|
|
3
3
|
#private;
|
|
4
4
|
constructor();
|
|
5
|
-
add(notification: NotificationItem, cb?: () => void): NotificationInstance;
|
|
5
|
+
add(notification: NotificationItem, cb?: () => void): void | NotificationInstance;
|
|
6
6
|
delete(index: number): void;
|
|
7
7
|
}
|
|
8
8
|
export declare const notificationsService: Readonly<NotificationsServiceClass>;
|
package/dist/ecommerce.css
CHANGED
|
@@ -883,7 +883,17 @@
|
|
|
883
883
|
margin: 0 auto;
|
|
884
884
|
}
|
|
885
885
|
|
|
886
|
+
.apirocket-checkout-payment-method-notes {
|
|
887
|
+
margin-top: 8px;
|
|
888
|
+
margin-left: 32px;
|
|
889
|
+
font-size: 14px;
|
|
890
|
+
line-height: 18px;
|
|
891
|
+
}
|
|
886
892
|
|
|
893
|
+
.apirocket-checkout-payment-method-icon img {
|
|
894
|
+
max-height: 48px;
|
|
895
|
+
max-width: 320px;
|
|
896
|
+
}
|
|
887
897
|
|
|
888
898
|
/* Utils */
|
|
889
899
|
|
|
@@ -1181,6 +1191,10 @@
|
|
|
1181
1191
|
.apirocket-checkout-discountcode.apirocket-checkout-discountcode-mobile {
|
|
1182
1192
|
display: block;
|
|
1183
1193
|
}
|
|
1194
|
+
|
|
1195
|
+
.apirocket-checkout-payment-method-icon {
|
|
1196
|
+
display: none !important;
|
|
1197
|
+
}
|
|
1184
1198
|
}
|
|
1185
1199
|
|
|
1186
1200
|
|
|
@@ -1959,6 +1973,7 @@ button.apirocket-button-discount {
|
|
|
1959
1973
|
display: block;
|
|
1960
1974
|
color: #a3a3a3;
|
|
1961
1975
|
font-size: 12px;
|
|
1976
|
+
line-height: 14px;
|
|
1962
1977
|
}
|
|
1963
1978
|
|
|
1964
1979
|
.apirocket-form-radio input:checked ~ .apirocket-form-radio-label { font-weight: bold; }
|
|
@@ -2359,7 +2374,109 @@ button.apirocket-button-discount {
|
|
|
2359
2374
|
border-radius: 6px;
|
|
2360
2375
|
}
|
|
2361
2376
|
|
|
2377
|
+
.apirocket-my-account-orders-menu {
|
|
2378
|
+
display: flex;
|
|
2379
|
+
justify-content: space-between;
|
|
2380
|
+
gap: 24px;
|
|
2381
|
+
margin-bottom: 32px;
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2384
|
+
.apirocket-my-account-orders-menu-search {
|
|
2385
|
+
flex: 2 1 0;
|
|
2386
|
+
}
|
|
2387
|
+
|
|
2388
|
+
.apirocket-my-account-orders-menu-select-dates {
|
|
2389
|
+
flex: 1 1 0;
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
.apirocket-my-account-orders-table {
|
|
2393
|
+
width: 100%;
|
|
2394
|
+
font-size: 14px;
|
|
2395
|
+
text-align: left;
|
|
2396
|
+
margin:0 !important;
|
|
2397
|
+
padding:0 !important;
|
|
2398
|
+
background:none !important;
|
|
2399
|
+
border:none !important;
|
|
2400
|
+
border-collapse:collapse !important;
|
|
2401
|
+
border-spacing:0 !important;
|
|
2402
|
+
background-image:none !important;
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
.apirocket-my-account-orders-status {
|
|
2406
|
+
display: inline-block;
|
|
2407
|
+
min-width: 90px;
|
|
2408
|
+
padding: 6px 0px;
|
|
2409
|
+
color: #2BC282;
|
|
2410
|
+
font-size: 12px;
|
|
2411
|
+
line-height: 1;
|
|
2412
|
+
font-weight: bold;
|
|
2413
|
+
text-align: center;
|
|
2414
|
+
border-radius: 6px;
|
|
2415
|
+
border: 1px solid #88f6c7;
|
|
2416
|
+
background-color: #B9FADF;
|
|
2417
|
+
user-select: none;
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
.apirocket-my-account-orders-status-new {
|
|
2421
|
+
color: #2BC282;
|
|
2422
|
+
border: 1px solid #88f6c7;
|
|
2423
|
+
background-color: #B9FADF;
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
.apirocket-my-account-orders-table th {
|
|
2427
|
+
vertical-align: top;
|
|
2428
|
+
min-width: 100px;
|
|
2429
|
+
padding-bottom: 16px;
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
.apirocket-my-account-orders-table td {
|
|
2433
|
+
vertical-align: middle;
|
|
2434
|
+
border-bottom: 1px solid #d9d9d9;
|
|
2435
|
+
padding-top: 16px;
|
|
2436
|
+
padding-bottom: 16px;
|
|
2437
|
+
}
|
|
2438
|
+
|
|
2439
|
+
.apirocket-my-account-orders-invoice {
|
|
2440
|
+
display: flex;
|
|
2441
|
+
align-items: center;
|
|
2442
|
+
gap: 8px;
|
|
2443
|
+
cursor: pointer;
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
.apirocket-my-account-orders-invoice:nth-child(n+2) {
|
|
2447
|
+
margin-top: 8px;
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2450
|
+
.apirocket-my-account-orders-invoice:hover {
|
|
2451
|
+
text-decoration: underline;
|
|
2452
|
+
}
|
|
2453
|
+
|
|
2454
|
+
.apirocket-my-account-orders-view {
|
|
2455
|
+
cursor: pointer;
|
|
2456
|
+
display: inline-block;
|
|
2457
|
+
min-width: 90px;
|
|
2458
|
+
padding: 6px 0px;
|
|
2459
|
+
color: #2BC282;
|
|
2460
|
+
font-size: 12px;
|
|
2461
|
+
line-height: 1;
|
|
2462
|
+
text-align: center;
|
|
2463
|
+
border-radius: 6px;
|
|
2464
|
+
border: 1px solid #88f6c7;
|
|
2465
|
+
background-color: #B9FADF;
|
|
2466
|
+
user-select: none;
|
|
2467
|
+
color: #737373;
|
|
2468
|
+
border: 1px solid #e4e4e7;
|
|
2469
|
+
background-color: #e4e4e7;
|
|
2470
|
+
transition-property: color, border-color, background-color, box-shadow;
|
|
2471
|
+
transition-timing-function: ease;
|
|
2472
|
+
transition-duration: 350ms;
|
|
2473
|
+
}
|
|
2362
2474
|
|
|
2475
|
+
.apirocket-my-account-orders-view:hover {
|
|
2476
|
+
background-color: #404040;
|
|
2477
|
+
border-color: #404040;
|
|
2478
|
+
color: #E4E4E7;
|
|
2479
|
+
}
|
|
2363
2480
|
|
|
2364
2481
|
@media (min-width: 720px) {
|
|
2365
2482
|
|
|
@@ -2378,11 +2495,53 @@ button.apirocket-button-discount {
|
|
|
2378
2495
|
.apirocket-my-account-header-continue { display: flex; }
|
|
2379
2496
|
.apirocket-my-account-header-logout { display: flex; }
|
|
2380
2497
|
.apirocket-my-account-header-close { display: none; }
|
|
2498
|
+
|
|
2499
|
+
.apirocket-my-account-orders-tablecell-mobile { display: none; }
|
|
2381
2500
|
}
|
|
2382
2501
|
|
|
2383
2502
|
@media (max-width: 720px) {
|
|
2384
|
-
|
|
2503
|
+
.apirocket-my-account-header-continue { display: none; }
|
|
2385
2504
|
.apirocket-my-account-header-login { display: none; }
|
|
2505
|
+
|
|
2506
|
+
.apirocket-my-account-orders-menu { display: block; }
|
|
2507
|
+
.apirocket-my-account-orders-tablecell-desktop { display: none; }
|
|
2508
|
+
|
|
2509
|
+
.apirocket-my-account-orders-status {
|
|
2510
|
+
font-size: 11px;
|
|
2511
|
+
padding: 2px 16px;
|
|
2512
|
+
line-height: 1;
|
|
2513
|
+
border-radius: 4px;
|
|
2514
|
+
min-width: 50px;
|
|
2515
|
+
margin-top: 8px;
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2518
|
+
.apirocket-my-account-orders-table th {
|
|
2519
|
+
padding-bottom: 8px;
|
|
2520
|
+
border-bottom: 1px solid #d9d9d9;
|
|
2521
|
+
}
|
|
2522
|
+
|
|
2523
|
+
.apirocket-my-account-orders-table td {
|
|
2524
|
+
vertical-align: top;
|
|
2525
|
+
font-size: 16px;
|
|
2526
|
+
}
|
|
2527
|
+
|
|
2528
|
+
.apirocket-my-account-orders-table td strong {
|
|
2529
|
+
font-size: 20px;
|
|
2530
|
+
}
|
|
2531
|
+
|
|
2532
|
+
.apirocket-my-account-orders-invoice {
|
|
2533
|
+
margin-top: 16px !important;
|
|
2534
|
+
}
|
|
2535
|
+
|
|
2536
|
+
.apirocket-my-account-orders-view {
|
|
2537
|
+
display: block;
|
|
2538
|
+
margin-top: 16px;
|
|
2539
|
+
}
|
|
2540
|
+
|
|
2541
|
+
.apirocket-my-account-orders-invoice:nth-child(n+2) {
|
|
2542
|
+
margin-top: 8px !important;
|
|
2543
|
+
}
|
|
2544
|
+
|
|
2386
2545
|
}
|
|
2387
2546
|
|
|
2388
2547
|
.apirocket-stripe-card-error {
|