apirocket 0.15.0 → 0.16.0
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.types.d.ts +0 -1
- package/dist/config.d.ts +1 -1
- package/dist/ecommerce.css +8 -2
- package/dist/ecommerce.js +2 -2
- package/dist/lib/proxies.d.ts +2 -1
- package/dist/services/cart.service.d.ts +16 -21
- package/dist/services/checkout.service.d.ts +4 -8
- package/dist/services/customer.service.d.ts +2 -2
- package/dist/services/ecommerce.service.d.ts +1 -0
- package/dist/services/lock.service.d.ts +1 -0
- package/dist/types/defaults.d.ts +6 -0
- package/dist/types/ecommerce.type.d.ts +1 -0
- package/dist/types/types.d.ts +0 -10
- package/package.json +21 -21
package/dist/config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const CONFIG: Config;
|
|
2
|
-
export declare const apiConfig: (config: Omit<EcommerceConfig,
|
|
2
|
+
export declare const apiConfig: (config: Omit<EcommerceConfig, "countryIso">) => Promise<void>;
|
|
3
3
|
export declare const DEBUG_GRAPHQL = false;
|
|
4
4
|
export declare const isDebugType: (debug: DebugType | Array<DebugType> | undefined) => debug is DebugType;
|
|
5
5
|
export declare const isCustomerFilterType: (filter: CustomerFilterType | undefined) => filter is CustomerFilterType;
|
package/dist/ecommerce.css
CHANGED
|
@@ -2777,14 +2777,20 @@ button.apirocket-button-discount {
|
|
|
2777
2777
|
text-align: center;
|
|
2778
2778
|
}
|
|
2779
2779
|
|
|
2780
|
+
.apirocket-lock-screen.light {
|
|
2781
|
+
background-color: rgba(0,0,0,0.45);
|
|
2782
|
+
}
|
|
2783
|
+
|
|
2780
2784
|
.apirocket-lock-screen-text {
|
|
2781
2785
|
color: #cecece;
|
|
2782
2786
|
margin-top: 15px;
|
|
2783
2787
|
font-size: 14px;
|
|
2784
2788
|
font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
|
|
2785
2789
|
}
|
|
2790
|
+
|
|
2791
|
+
|
|
2786
2792
|
.spinner.svelte-1x7rr7h.svelte-1x7rr7h{display:inline-block;animation:svelte-1x7rr7h-rotate 2s linear infinite;z-index:2;width:50px;height:50px}.spinner.svelte-1x7rr7h .path.svelte-1x7rr7h{stroke:#cecece;stroke-linecap:round;animation:svelte-1x7rr7h-dash 1.5s ease-in-out infinite}@keyframes svelte-1x7rr7h-rotate{100%{transform:rotate(360deg)}}@keyframes svelte-1x7rr7h-dash{0%{stroke-dasharray:1, 150;stroke-dashoffset:0}50%{stroke-dasharray:90, 150;stroke-dashoffset:-35}100%{stroke-dasharray:90, 150;stroke-dashoffset:-124}}
|
|
2787
|
-
.default-notification-style.svelte-3h6slj.svelte-3h6slj{position:relative;display:flex;align-items:stretch;justify-content:space-between;margin:12px;background:#fff;color:#000;border-radius:6px;box-shadow:0 4px 10px rgba(0, 0, 0, 0.08);min-height:0;min-width:200px;overflow:hidden}.default-notification-style-content.svelte-3h6slj.svelte-3h6slj{width:210px;padding:12px 6px 12px 12px;box-sizing:border-box;word-wrap:break-word}.default-notification-style-button.svelte-3h6slj.svelte-3h6slj{display:block;width:40px;padding:0;margin:0;border:none;border-left:1px solid #eee;outline:none;background:none;cursor:pointer;font-size:20px;color:#000;box-sizing:border-box}.default-notification-style-button.svelte-3h6slj.svelte-3h6slj:hover{background:rgba(0, 0, 0, 0.01)}.default-notification-error.svelte-3h6slj.svelte-3h6slj{background:#f3555a;color:#fff}.default-notification-error.svelte-3h6slj .default-notification-style-button.svelte-3h6slj{border-left:1px solid rgba(255, 255, 255, 0.4);color:#fff}.default-notification-warning.svelte-3h6slj.svelte-3h6slj{background:#ffb900;color:#000}.default-notification-warning.svelte-3h6slj .default-notification-style-button.svelte-3h6slj{border-left:1px solid rgba(0, 0, 0, 0.2);color:#000}.default-notification-success.svelte-3h6slj.svelte-3h6slj{background:#22ce6c;color:#fff}.default-notification-success.svelte-3h6slj .default-notification-style-button.svelte-3h6slj{border-left:1px solid rgba(255, 255, 255, 0.4);color:#fff}
|
|
2788
|
-
.default-position-style-top-left.svelte-tdfdcj,.default-position-style-top-center.svelte-tdfdcj,.default-position-style-top-right.svelte-tdfdcj,.default-position-style-bottom-left.svelte-tdfdcj,.default-position-style-bottom-center.svelte-tdfdcj,.default-position-style-bottom-right.svelte-tdfdcj{position:fixed;max-width:400px}.default-position-style-top-left.svelte-tdfdcj{top:0;left:0}.default-position-style-top-center.svelte-tdfdcj{top:0;left:50%;transform:translateX(-50%)}.default-position-style-top-right.svelte-tdfdcj{top:0;right:0}.default-position-style-bottom-left.svelte-tdfdcj{bottom:0;left:0}.default-position-style-bottom-center.svelte-tdfdcj{bottom:0;left:50%;transform:translateX(-50%)}.default-position-style-bottom-right.svelte-tdfdcj{bottom:0;right:0}
|
|
2789
2793
|
.spinner.svelte-x7xrte.svelte-x7xrte{animation:svelte-x7xrte-rotate 2s linear infinite;z-index:2;position:absolute;top:50%;left:50%;margin:-25px 0 0 -25px;width:50px;height:50px}.spinner.svelte-x7xrte .path.svelte-x7xrte{stroke:rgb(161, 161, 170);stroke-linecap:round;animation:svelte-x7xrte-dash 1.5s ease-in-out infinite}@keyframes svelte-x7xrte-rotate{100%{transform:rotate(360deg)}}@keyframes svelte-x7xrte-dash{0%{stroke-dasharray:1, 150;stroke-dashoffset:0}50%{stroke-dasharray:90, 150;stroke-dashoffset:-35}100%{stroke-dasharray:90, 150;stroke-dashoffset:-124}}
|
|
2790
2794
|
.apirocket-checkout-error-block.svelte-vxc4ut{display:flex;gap:16px;border-radius:4px;padding:16px}.apirocket-checkout-error-block-title.svelte-vxc4ut{display:block;font-size:16px;font-weight:bold;padding-top:4px;margin-bottom:4px}.apirocket-checkout-error-block-description.svelte-vxc4ut{display:block;font-size:14px;line-height:16px;padding-bottom:4px}.apirocket-checkout-error-block-warning.svelte-vxc4ut{background-color:#FFEDD5;color:#E47D35}.apirocket-checkout-error-block-error.svelte-vxc4ut{background-color:#FEE2E2;color:#DC2626}@media(max-width: 720px){.apirocket-checkout-error-block.svelte-vxc4ut{gap:12px;border-radius:4px;padding:16px}.apirocket-checkout-error-block-title.svelte-vxc4ut{padding-top:0px}.apirocket-checkout-error-block-description.svelte-vxc4ut{padding-bottom:0px}}
|
|
2795
|
+
.default-notification-style.svelte-3h6slj.svelte-3h6slj{position:relative;display:flex;align-items:stretch;justify-content:space-between;margin:12px;background:#fff;color:#000;border-radius:6px;box-shadow:0 4px 10px rgba(0, 0, 0, 0.08);min-height:0;min-width:200px;overflow:hidden}.default-notification-style-content.svelte-3h6slj.svelte-3h6slj{width:210px;padding:12px 6px 12px 12px;box-sizing:border-box;word-wrap:break-word}.default-notification-style-button.svelte-3h6slj.svelte-3h6slj{display:block;width:40px;padding:0;margin:0;border:none;border-left:1px solid #eee;outline:none;background:none;cursor:pointer;font-size:20px;color:#000;box-sizing:border-box}.default-notification-style-button.svelte-3h6slj.svelte-3h6slj:hover{background:rgba(0, 0, 0, 0.01)}.default-notification-error.svelte-3h6slj.svelte-3h6slj{background:#f3555a;color:#fff}.default-notification-error.svelte-3h6slj .default-notification-style-button.svelte-3h6slj{border-left:1px solid rgba(255, 255, 255, 0.4);color:#fff}.default-notification-warning.svelte-3h6slj.svelte-3h6slj{background:#ffb900;color:#000}.default-notification-warning.svelte-3h6slj .default-notification-style-button.svelte-3h6slj{border-left:1px solid rgba(0, 0, 0, 0.2);color:#000}.default-notification-success.svelte-3h6slj.svelte-3h6slj{background:#22ce6c;color:#fff}.default-notification-success.svelte-3h6slj .default-notification-style-button.svelte-3h6slj{border-left:1px solid rgba(255, 255, 255, 0.4);color:#fff}
|
|
2796
|
+
.default-position-style-top-left.svelte-tdfdcj,.default-position-style-top-center.svelte-tdfdcj,.default-position-style-top-right.svelte-tdfdcj,.default-position-style-bottom-left.svelte-tdfdcj,.default-position-style-bottom-center.svelte-tdfdcj,.default-position-style-bottom-right.svelte-tdfdcj{position:fixed;max-width:400px}.default-position-style-top-left.svelte-tdfdcj{top:0;left:0}.default-position-style-top-center.svelte-tdfdcj{top:0;left:50%;transform:translateX(-50%)}.default-position-style-top-right.svelte-tdfdcj{top:0;right:0}.default-position-style-bottom-left.svelte-tdfdcj{bottom:0;left:0}.default-position-style-bottom-center.svelte-tdfdcj{bottom:0;left:50%;transform:translateX(-50%)}.default-position-style-bottom-right.svelte-tdfdcj{bottom:0;right:0}
|