@ikas/storefront 0.2.0-alpha.12 → 0.2.0-alpha.2
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/build/__generated__/global-types.d.ts +0 -22
- package/build/analytics/ikas.d.ts +11 -18
- package/build/api/checkout/__generated__/getCheckoutById.d.ts +0 -4
- package/build/api/checkout/__generated__/listPaymentGateway.d.ts +1 -3
- package/build/api/customer/__generated__/customerForgotPassword.d.ts +0 -1
- package/build/api/customer/__generated__/registerCustomer.d.ts +0 -1
- package/build/api/index.d.ts +0 -2
- package/build/components/checkout/components/address-form/model.d.ts +0 -8
- package/build/index.css +4 -9
- package/build/index.es.css +4 -9
- package/build/index.es.js +10173 -11150
- package/build/index.js +10404 -11387
- package/build/models/data/cart/index.d.ts +0 -1
- package/build/models/data/index.d.ts +0 -2
- package/build/models/data/order/address/index.d.ts +0 -2
- package/build/models/data/order/index.d.ts +2 -1
- package/build/models/data/order/line-item/index.d.ts +0 -1
- package/build/models/data/order-transaction/index.d.ts +0 -1
- package/build/models/data/payment-gateway/index.d.ts +0 -2
- package/build/models/data/product/index.d.ts +0 -1
- package/build/models/data/product/variant/index.d.ts +0 -7
- package/build/models/data/product/variant/price/index.d.ts +0 -1
- package/build/models/ui/index.d.ts +0 -2
- package/build/models/ui/product-detail/index.d.ts +1 -4
- package/build/providers/page-data-get.d.ts +0 -2
- package/build/providers/page-data-next.d.ts +2 -18
- package/build/store/customer.d.ts +0 -7
- package/build/storefront/index.d.ts +0 -6
- package/build/utils/currency.d.ts +0 -6
- package/package.json +1 -1
- package/build/api/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +0 -24
- package/build/api/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +0 -19
- package/build/api/back-in-stock-reminder/index.d.ts +0 -23
- package/build/api/customer-review/__generated__/createCustomerReview.d.ts +0 -11
- package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +0 -25
- package/build/api/customer-review/index.d.ts +0 -24
- package/build/models/data/customer-review/index.d.ts +0 -23
- package/build/models/data/customer-review-settings/index.d.ts +0 -4
- package/build/models/data/product-back-in-stock-settings/index.d.ts +0 -3
- package/build/models/ui/customer-review-list/index.d.ts +0 -43
- package/build/models/ui/validator/form/customer-review.d.ts +0 -37
|
@@ -377,20 +377,6 @@ export interface CreateCustomerEmailSubscriptionInput {
|
|
|
377
377
|
id?: string | null;
|
|
378
378
|
updatedAt?: any | null;
|
|
379
379
|
}
|
|
380
|
-
export interface CreateCustomerReviewInput {
|
|
381
|
-
comment?: string | null;
|
|
382
|
-
createdAt?: any | null;
|
|
383
|
-
customerId?: string | null;
|
|
384
|
-
deleted?: boolean | null;
|
|
385
|
-
id?: string | null;
|
|
386
|
-
orderId?: string | null;
|
|
387
|
-
orderNumber?: string | null;
|
|
388
|
-
productId: string;
|
|
389
|
-
salesChannelId: string;
|
|
390
|
-
star: number;
|
|
391
|
-
title?: string | null;
|
|
392
|
-
updatedAt?: any | null;
|
|
393
|
-
}
|
|
394
380
|
export interface CreateSaleTransactionWithCheckoutInput {
|
|
395
381
|
checkoutId: string;
|
|
396
382
|
paymentGatewayId: string;
|
|
@@ -428,9 +414,6 @@ export interface HTMLMetaDataTargetTypeEnumFilter {
|
|
|
428
414
|
eq?: HTMLMetaDataTargetTypeEnum | null;
|
|
429
415
|
in?: HTMLMetaDataTargetTypeEnum[] | null;
|
|
430
416
|
}
|
|
431
|
-
export interface ListCustomerReviewInput {
|
|
432
|
-
salesChannelId: string;
|
|
433
|
-
}
|
|
434
417
|
export interface OrderAddressCityInput {
|
|
435
418
|
code?: string | null;
|
|
436
419
|
id?: string | null;
|
|
@@ -502,11 +485,6 @@ export interface PaymentMethodDetailInput {
|
|
|
502
485
|
installmentCount: number;
|
|
503
486
|
threeDSecure: boolean;
|
|
504
487
|
}
|
|
505
|
-
export interface ProductBackInStockRemindInput {
|
|
506
|
-
email: string;
|
|
507
|
-
productId: string;
|
|
508
|
-
variantId: string;
|
|
509
|
-
}
|
|
510
488
|
export interface ProductItemInput {
|
|
511
489
|
createdAt?: any | null;
|
|
512
490
|
deleted?: boolean | null;
|
|
@@ -5,16 +5,17 @@ declare enum StorefrontEventType {
|
|
|
5
5
|
SESSION_START = 1,
|
|
6
6
|
PAGE_VIEW = 2,
|
|
7
7
|
PRODUCT_VIEW = 3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
CREATE_CART = 4,
|
|
9
|
+
ADD_TO_CART = 5,
|
|
10
|
+
VIEW_CART = 6,
|
|
11
|
+
ORDER_SUCCESS = 7,
|
|
12
|
+
BEGIN_CHECKOUT = 8,
|
|
13
|
+
CHECKOUT_STEP = 9,
|
|
14
|
+
CUSTOMER_REGISTER = 10,
|
|
15
|
+
CUSTOMER_VISIT = 11,
|
|
16
|
+
CUSTOMER_LOGIN = 12,
|
|
17
|
+
BRAND_VIEW = 13,
|
|
18
|
+
CATEGORY_VIEW = 14
|
|
18
19
|
}
|
|
19
20
|
declare enum StorefrontEventPageType {
|
|
20
21
|
INDEX = 1,
|
|
@@ -47,18 +48,10 @@ interface Event {
|
|
|
47
48
|
interface EventPayload {
|
|
48
49
|
u: string;
|
|
49
50
|
r?: string;
|
|
50
|
-
utm?: UTMData;
|
|
51
51
|
pt?: StorefrontEventPageType;
|
|
52
52
|
d?: EventPayloadDetail;
|
|
53
53
|
m?: Record<string, string>;
|
|
54
54
|
}
|
|
55
|
-
interface UTMData {
|
|
56
|
-
ca?: string;
|
|
57
|
-
c?: string;
|
|
58
|
-
m?: string;
|
|
59
|
-
s?: string;
|
|
60
|
-
t?: string;
|
|
61
|
-
}
|
|
62
55
|
interface EventPayloadDetail {
|
|
63
56
|
br?: BrandDetail;
|
|
64
57
|
ctg?: CategoryDetail;
|
|
@@ -18,8 +18,6 @@ export interface getCheckoutById_getCheckoutById_billingAddress_country {
|
|
|
18
18
|
code: string | null;
|
|
19
19
|
id: string | null;
|
|
20
20
|
name: string;
|
|
21
|
-
iso2: string | null;
|
|
22
|
-
iso3: string | null;
|
|
23
21
|
}
|
|
24
22
|
export interface getCheckoutById_getCheckoutById_billingAddress_district {
|
|
25
23
|
__typename: "OrderAddressDistrict";
|
|
@@ -71,8 +69,6 @@ export interface getCheckoutById_getCheckoutById_shippingAddress_country {
|
|
|
71
69
|
id: string | null;
|
|
72
70
|
code: string | null;
|
|
73
71
|
name: string;
|
|
74
|
-
iso2: string | null;
|
|
75
|
-
iso3: string | null;
|
|
76
72
|
}
|
|
77
73
|
export interface getCheckoutById_getCheckoutById_shippingAddress_district {
|
|
78
74
|
__typename: "OrderAddressDistrict";
|
|
@@ -14,7 +14,7 @@ export interface listPaymentGateway_listPaymentGateway_additionalPrices {
|
|
|
14
14
|
export interface listPaymentGateway_listPaymentGateway_translations {
|
|
15
15
|
__typename: "PaymentGatewayTranslation";
|
|
16
16
|
description: string | null;
|
|
17
|
-
locale: string
|
|
17
|
+
locale: string;
|
|
18
18
|
name: string | null;
|
|
19
19
|
}
|
|
20
20
|
export interface listPaymentGateway_listPaymentGateway {
|
|
@@ -30,8 +30,6 @@ export interface listPaymentGateway_listPaymentGateway {
|
|
|
30
30
|
logoUrl: string | null;
|
|
31
31
|
additionalPrices: listPaymentGateway_listPaymentGateway_additionalPrices[] | null;
|
|
32
32
|
translations: listPaymentGateway_listPaymentGateway_translations[] | null;
|
|
33
|
-
supportedCurrencies: string[] | null;
|
|
34
|
-
availableCountries: string[] | null;
|
|
35
33
|
}
|
|
36
34
|
export interface listPaymentGateway {
|
|
37
35
|
listPaymentGateway: listPaymentGateway_listPaymentGateway[];
|
package/build/api/index.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export { IkasCheckoutAPI } from "./checkout/index";
|
|
|
6
6
|
export { IkasCityAPI } from "./city/index";
|
|
7
7
|
export { IkasCountryAPI } from "./country/index";
|
|
8
8
|
export { IkasCustomerAPI } from "./customer/index";
|
|
9
|
-
export { IkasCustomerReviewAPI } from "./customer-review/index";
|
|
10
9
|
export { IkasDistrictAPI } from "./district/index";
|
|
11
10
|
export { IkasHTMLMetaDataAPI } from "./html-meta-data/index";
|
|
12
11
|
export { IkasMerchantAPI } from "./merchant/index";
|
|
@@ -17,5 +16,4 @@ export { IkasContactFormAPI } from "./contact-form/index";
|
|
|
17
16
|
export { IkasStateAPI } from "./state/index";
|
|
18
17
|
export { IkasVariantTypeAPI } from "./variant-type/index";
|
|
19
18
|
export { IkasProductOptionSetAPI } from "./product-option-set/index";
|
|
20
|
-
export { IkasProductBackInStockReminderAPI } from "./back-in-stock-reminder/index";
|
|
21
19
|
export { apollo } from "./apollo";
|
|
@@ -36,8 +36,6 @@ export default class AddressFormViewModel {
|
|
|
36
36
|
id?: string | undefined;
|
|
37
37
|
name?: string | undefined;
|
|
38
38
|
code?: string | undefined;
|
|
39
|
-
iso2?: string | undefined;
|
|
40
|
-
iso3?: string | undefined;
|
|
41
39
|
} | {
|
|
42
40
|
id?: string | undefined;
|
|
43
41
|
name?: string | undefined;
|
|
@@ -47,8 +45,6 @@ export default class AddressFormViewModel {
|
|
|
47
45
|
id?: string | undefined;
|
|
48
46
|
name?: string | undefined;
|
|
49
47
|
code?: string | undefined;
|
|
50
|
-
iso2?: string | undefined;
|
|
51
|
-
iso3?: string | undefined;
|
|
52
48
|
} | {
|
|
53
49
|
id?: string | undefined;
|
|
54
50
|
name?: string | undefined;
|
|
@@ -58,8 +54,6 @@ export default class AddressFormViewModel {
|
|
|
58
54
|
id?: string | undefined;
|
|
59
55
|
name?: string | undefined;
|
|
60
56
|
code?: string | undefined;
|
|
61
|
-
iso2?: string | undefined;
|
|
62
|
-
iso3?: string | undefined;
|
|
63
57
|
} | {
|
|
64
58
|
id?: string | undefined;
|
|
65
59
|
name?: string | undefined;
|
|
@@ -69,8 +63,6 @@ export default class AddressFormViewModel {
|
|
|
69
63
|
id?: string | undefined;
|
|
70
64
|
name?: string | undefined;
|
|
71
65
|
code?: string | undefined;
|
|
72
|
-
iso2?: string | undefined;
|
|
73
|
-
iso3?: string | undefined;
|
|
74
66
|
} | {
|
|
75
67
|
id?: string | undefined;
|
|
76
68
|
name?: string | undefined;
|
package/build/index.css
CHANGED
|
@@ -589,13 +589,9 @@
|
|
|
589
589
|
padding-bottom: 0; }
|
|
590
590
|
.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 .style-module_LoginText__3FSC9 .style-module_LoginCta__2sZZF {
|
|
591
591
|
display: none; } }
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
z-index: 10; }
|
|
596
|
-
@media only screen and (min-width: 1000px) {
|
|
597
|
-
.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_MobileCartSummary__3NrcP {
|
|
598
|
-
display: none; } }
|
|
592
|
+
@media only screen and (min-width: 1000px) {
|
|
593
|
+
.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_MobileCartSummary__3NrcP {
|
|
594
|
+
display: none; } }
|
|
599
595
|
.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_RowPB__3M7Tz {
|
|
600
596
|
padding-bottom: 16px; }
|
|
601
597
|
@media only screen and (max-width: 1000px) {
|
|
@@ -1089,8 +1085,7 @@
|
|
|
1089
1085
|
transition: height .3s ease-in-out; }
|
|
1090
1086
|
@media only screen and (max-width: 1000px) {
|
|
1091
1087
|
.style-module_CartSummary__30RcF .style-module_DetailsContainer__FBBIP {
|
|
1092
|
-
padding: 0 24px;
|
|
1093
|
-
box-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.2); } }
|
|
1088
|
+
padding: 0 24px; } }
|
|
1094
1089
|
|
|
1095
1090
|
.style-module_CartSummary__30RcF .style-module_Details__3-X_i {
|
|
1096
1091
|
overflow: hidden; }
|
package/build/index.es.css
CHANGED
|
@@ -589,13 +589,9 @@
|
|
|
589
589
|
padding-bottom: 0; }
|
|
590
590
|
.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 .style-module_LoginText__3FSC9 .style-module_LoginCta__2sZZF {
|
|
591
591
|
display: none; } }
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
z-index: 10; }
|
|
596
|
-
@media only screen and (min-width: 1000px) {
|
|
597
|
-
.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_MobileCartSummary__3NrcP {
|
|
598
|
-
display: none; } }
|
|
592
|
+
@media only screen and (min-width: 1000px) {
|
|
593
|
+
.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_MobileCartSummary__3NrcP {
|
|
594
|
+
display: none; } }
|
|
599
595
|
.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_RowPB__3M7Tz {
|
|
600
596
|
padding-bottom: 16px; }
|
|
601
597
|
@media only screen and (max-width: 1000px) {
|
|
@@ -1089,8 +1085,7 @@
|
|
|
1089
1085
|
transition: height .3s ease-in-out; }
|
|
1090
1086
|
@media only screen and (max-width: 1000px) {
|
|
1091
1087
|
.style-module_CartSummary__30RcF .style-module_DetailsContainer__FBBIP {
|
|
1092
|
-
padding: 0 24px;
|
|
1093
|
-
box-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.2); } }
|
|
1088
|
+
padding: 0 24px; } }
|
|
1094
1089
|
|
|
1095
1090
|
.style-module_CartSummary__30RcF .style-module_Details__3-X_i {
|
|
1096
1091
|
overflow: hidden; }
|