@ikas/storefront 0.0.168-alpha.18 → 0.0.168-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 +24 -37
- package/build/analytics/analytics.d.ts +10 -23
- package/build/api/brand/__generated__/listProductBrand.d.ts +0 -7
- package/build/api/cart/__generated__/saveItemToCart.d.ts +0 -6
- package/build/api/category/__generated__/listCategory.d.ts +0 -7
- package/build/api/checkout/__generated__/getCheckoutById.d.ts +2 -8
- package/build/api/checkout/__generated__/getOrder.d.ts +2 -2
- package/build/api/checkout/__generated__/listCheckoutSettings.d.ts +0 -1
- package/build/api/checkout/__generated__/listPaymentGateway.d.ts +1 -3
- package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +2 -2
- package/build/api/customer/__generated__/customerLogin.d.ts +1 -1
- package/build/api/customer/__generated__/getCustomerOrders.d.ts +2 -2
- package/build/api/customer/__generated__/getLastViewedProducts.d.ts +1 -1
- package/build/api/customer/__generated__/getMyCustomer.d.ts +1 -1
- package/build/api/customer/__generated__/registerCustomer.d.ts +1 -1
- package/build/api/customer/__generated__/saveMyCustomer.d.ts +1 -1
- package/build/api/storefront/__generated__/getStorefront.d.ts +1 -1
- package/build/assets/translations/checkout/en.js +0 -1
- package/build/assets/translations/checkout/tr.js +0 -1
- package/build/components/{page → hoc}/ThemeComponent.d.ts +1 -1
- package/build/components/{page-editor → hoc}/ThemeComponentEditor.d.ts +2 -2
- package/build/components/page/index.d.ts +1 -1
- package/build/components/page-editor/model.d.ts +2 -2
- package/build/index.es.js +12333 -12980
- package/build/index.js +12302 -12945
- package/build/models/data/checkout-settings/index.d.ts +0 -1
- package/build/models/data/customer/address/index.d.ts +1 -0
- package/build/models/data/customer/index.d.ts +0 -7
- package/build/models/data/order/address/index.d.ts +1 -0
- package/build/models/data/payment-gateway/index.d.ts +0 -6
- package/build/models/ui/index.d.ts +0 -2
- package/build/models/ui/product-list/index.d.ts +1 -2
- package/build/store/customer.d.ts +3 -2
- package/build/utils/helper.d.ts +0 -1
- package/build/utils/index.d.ts +2 -0
- package/build/utils/providers/page-data.d.ts +104 -0
- package/build/{providers → utils/providers}/placeholders.d.ts +1 -1
- package/build/utils/providers/prop-value/attribute-list.d.ts +9 -0
- package/build/utils/providers/prop-value/attribute.d.ts +9 -0
- package/build/{providers → utils/providers}/prop-value/blog-category-list.d.ts +1 -1
- package/build/utils/providers/prop-value/blog-category.d.ts +8 -0
- package/build/{providers → utils/providers}/prop-value/blog-list.d.ts +1 -1
- package/build/utils/providers/prop-value/blog.d.ts +8 -0
- package/build/{providers → utils/providers}/prop-value/boolean.d.ts +0 -0
- package/build/{providers → utils/providers}/prop-value/brand-list.d.ts +1 -1
- package/build/utils/providers/prop-value/brand.d.ts +8 -0
- package/build/{providers → utils/providers}/prop-value/category-list.d.ts +1 -1
- package/build/utils/providers/prop-value/category.d.ts +8 -0
- package/build/{providers → utils/providers}/prop-value/checkout.d.ts +1 -1
- package/build/{providers → utils/providers}/prop-value/color.d.ts +0 -0
- package/build/{providers → utils/providers}/prop-value/custom.d.ts +2 -2
- package/build/{providers → utils/providers}/prop-value/image-list.d.ts +1 -1
- package/build/{providers → utils/providers}/prop-value/image.d.ts +1 -1
- package/build/{providers → utils/providers}/prop-value/index.d.ts +0 -0
- package/build/{providers → utils/providers}/prop-value/link.d.ts +1 -1
- package/build/utils/providers/prop-value/product-detail.d.ts +8 -0
- package/build/{providers → utils/providers}/prop-value/product-list.d.ts +1 -1
- package/build/{providers → utils/providers}/prop-value/rich-text.d.ts +0 -0
- package/build/{providers → utils/providers}/prop-value/text.d.ts +0 -0
- package/build/{providers/page-data-next.d.ts → utils/settings.d.ts} +1 -1
- package/package.json +1 -1
- package/build/analytics/events.d.ts +0 -34
- package/build/components/checkout/components/external.d.ts +0 -6
- package/build/models/ui/product-attribute-detail/index.d.ts +0 -8
- package/build/models/ui/product-attribute-list/index.d.ts +0 -9
- package/build/providers/page-data-get.d.ts +0 -55
- package/build/providers/page-data-init.d.ts +0 -58
- package/build/providers/prop-value/attribute-list.d.ts +0 -12
- package/build/providers/prop-value/attribute.d.ts +0 -12
- package/build/providers/prop-value/blog-category.d.ts +0 -11
- package/build/providers/prop-value/blog.d.ts +0 -11
- package/build/providers/prop-value/brand.d.ts +0 -11
- package/build/providers/prop-value/category.d.ts +0 -11
- package/build/providers/prop-value/product-detail.d.ts +0 -11
|
@@ -75,7 +75,6 @@ export declare enum CheckoutRequirementEnum {
|
|
|
75
75
|
*/
|
|
76
76
|
export declare enum CheckoutStatusEnum {
|
|
77
77
|
COMPLETED = "COMPLETED",
|
|
78
|
-
KILLED = "KILLED",
|
|
79
78
|
OPEN = "OPEN"
|
|
80
79
|
}
|
|
81
80
|
/**
|
|
@@ -185,11 +184,6 @@ export declare enum PaymentGatewayTransactionFeeTypeEnum {
|
|
|
185
184
|
AMOUNT = "AMOUNT",
|
|
186
185
|
RATIO = "RATIO"
|
|
187
186
|
}
|
|
188
|
-
export declare enum PaymentGatewayTypeEnum {
|
|
189
|
-
EXTERNAL = "EXTERNAL",
|
|
190
|
-
INTERNAL = "INTERNAL",
|
|
191
|
-
THIRD_PARTY = "THIRD_PARTY"
|
|
192
|
-
}
|
|
193
187
|
export declare enum PaymentMethodEnum {
|
|
194
188
|
APP_PAYMENT = "APP_PAYMENT",
|
|
195
189
|
BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
|
|
@@ -211,7 +205,6 @@ export declare enum ProductAttributeTypeEnum {
|
|
|
211
205
|
HTML = "HTML",
|
|
212
206
|
MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
|
|
213
207
|
NUMERIC = "NUMERIC",
|
|
214
|
-
PRODUCT = "PRODUCT",
|
|
215
208
|
TABLE = "TABLE",
|
|
216
209
|
TEXT = "TEXT"
|
|
217
210
|
}
|
|
@@ -334,11 +327,6 @@ export interface CartLineItemInput {
|
|
|
334
327
|
quantity: number;
|
|
335
328
|
variant: CartLineVariantInput;
|
|
336
329
|
}
|
|
337
|
-
export interface CartLineOptionInput {
|
|
338
|
-
productOptionId: string;
|
|
339
|
-
productOptionsSetId: string;
|
|
340
|
-
values: string[];
|
|
341
|
-
}
|
|
342
330
|
export interface CartLineVariantInput {
|
|
343
331
|
id?: string | null;
|
|
344
332
|
name?: string | null;
|
|
@@ -381,6 +369,28 @@ export interface CustomerAddressDistrictInput {
|
|
|
381
369
|
id?: string | null;
|
|
382
370
|
name?: string | null;
|
|
383
371
|
}
|
|
372
|
+
export interface CustomerAddressInput {
|
|
373
|
+
addressLine1: string;
|
|
374
|
+
addressLine2?: string | null;
|
|
375
|
+
city: CustomerAddressCityInput;
|
|
376
|
+
company?: string | null;
|
|
377
|
+
country: CustomerAddressCountryInput;
|
|
378
|
+
createdAt?: any | null;
|
|
379
|
+
deleted?: boolean | null;
|
|
380
|
+
district?: CustomerAddressDistrictInput | null;
|
|
381
|
+
firstName: string;
|
|
382
|
+
id?: string | null;
|
|
383
|
+
identityNumber?: string | null;
|
|
384
|
+
isDefault?: boolean | null;
|
|
385
|
+
lastName: string;
|
|
386
|
+
phone?: string | null;
|
|
387
|
+
postalCode: string;
|
|
388
|
+
state?: CustomerAddressStateInput | null;
|
|
389
|
+
taxNumber?: string | null;
|
|
390
|
+
taxOffice?: string | null;
|
|
391
|
+
title: string;
|
|
392
|
+
updatedAt?: any | null;
|
|
393
|
+
}
|
|
384
394
|
export interface CustomerAddressStateInput {
|
|
385
395
|
code?: string | null;
|
|
386
396
|
id?: string | null;
|
|
@@ -418,7 +428,7 @@ export interface OrderAddressInput {
|
|
|
418
428
|
isDefault: boolean;
|
|
419
429
|
lastName: string;
|
|
420
430
|
phone?: string | null;
|
|
421
|
-
postalCode
|
|
431
|
+
postalCode: string;
|
|
422
432
|
state?: OrderAddressStateInput | null;
|
|
423
433
|
taxNumber?: string | null;
|
|
424
434
|
taxOffice?: string | null;
|
|
@@ -502,37 +512,14 @@ export interface SaveItemToCartInput {
|
|
|
502
512
|
cartId?: string | null;
|
|
503
513
|
customerId?: string | null;
|
|
504
514
|
item: CartLineItemInput;
|
|
505
|
-
options?: CartLineOptionInput[] | null;
|
|
506
515
|
priceListId?: string | null;
|
|
507
516
|
salesChannelId: string;
|
|
508
517
|
storefrontId: string;
|
|
509
518
|
storefrontRoutingId: string;
|
|
510
519
|
storefrontThemeId: string;
|
|
511
520
|
}
|
|
512
|
-
export interface SaveMyCustomerAddressInput {
|
|
513
|
-
addressLine1: string;
|
|
514
|
-
addressLine2?: string | null;
|
|
515
|
-
city: CustomerAddressCityInput;
|
|
516
|
-
company?: string | null;
|
|
517
|
-
country: CustomerAddressCountryInput;
|
|
518
|
-
createdAt?: any | null;
|
|
519
|
-
deleted?: boolean | null;
|
|
520
|
-
district?: CustomerAddressDistrictInput | null;
|
|
521
|
-
firstName: string;
|
|
522
|
-
id?: string | null;
|
|
523
|
-
identityNumber?: string | null;
|
|
524
|
-
isDefault?: boolean | null;
|
|
525
|
-
lastName: string;
|
|
526
|
-
phone?: string | null;
|
|
527
|
-
postalCode?: string | null;
|
|
528
|
-
state?: CustomerAddressStateInput | null;
|
|
529
|
-
taxNumber?: string | null;
|
|
530
|
-
taxOffice?: string | null;
|
|
531
|
-
title: string;
|
|
532
|
-
updatedAt?: any | null;
|
|
533
|
-
}
|
|
534
521
|
export interface SaveMyCustomerInput {
|
|
535
|
-
addresses?:
|
|
522
|
+
addresses?: CustomerAddressInput[] | null;
|
|
536
523
|
firstName: string;
|
|
537
524
|
lastName: string;
|
|
538
525
|
phone?: string | null;
|
|
@@ -1,35 +1,22 @@
|
|
|
1
|
-
import { IkasProductDetail, IkasOrderLineItem, IkasCheckout, IkasCategory
|
|
1
|
+
import { IkasProductDetail, IkasOrderLineItem, IkasCheckout, IkasCategory } from "../models/index";
|
|
2
2
|
import { CheckoutStep } from "../components/checkout/model";
|
|
3
3
|
import { IkasCart } from "../models/data/cart/index";
|
|
4
|
-
import { IkasEventSubscriber } from "./events";
|
|
5
|
-
import { IkasContactForm } from "../store/customer";
|
|
6
4
|
export declare class Analytics {
|
|
7
|
-
static subscribers: IkasEventSubscriber[];
|
|
8
5
|
constructor();
|
|
9
|
-
static
|
|
10
|
-
consentGranted: boolean;
|
|
11
|
-
id: string;
|
|
12
|
-
firstName: string;
|
|
13
|
-
lastName: string;
|
|
14
|
-
email: string;
|
|
15
|
-
phone: string | null | undefined;
|
|
16
|
-
} | null>;
|
|
17
|
-
static pageView(pageType: IkasThemePageType): Promise<void>;
|
|
6
|
+
static pageView(url: string): void;
|
|
18
7
|
static productView(productDetail: IkasProductDetail): void;
|
|
19
|
-
static addToCart(item: IkasOrderLineItem, quantity: number, eventId: string
|
|
20
|
-
static removeFromCart(item: IkasProductDetail | IkasOrderLineItem, quantity: number
|
|
8
|
+
static addToCart(item: IkasOrderLineItem, quantity: number, eventId: string): void;
|
|
9
|
+
static removeFromCart(item: IkasProductDetail | IkasOrderLineItem, quantity: number): void;
|
|
21
10
|
static beginCheckout(checkout: IkasCheckout): void;
|
|
22
|
-
static purchase(checkout: IkasCheckout,
|
|
11
|
+
static purchase(checkout: IkasCheckout, eventId: string): void;
|
|
23
12
|
static checkoutStep(checkout: IkasCheckout, step: CheckoutStep): void;
|
|
24
13
|
static disableHTML(): void;
|
|
25
|
-
static addToWishlist(
|
|
14
|
+
static addToWishlist(id: string): void;
|
|
26
15
|
static search(searchKeyword: string): void;
|
|
27
|
-
static completeRegistration(
|
|
28
|
-
static customerLogin():
|
|
29
|
-
static
|
|
30
|
-
static customerVisit(): Promise<void>;
|
|
16
|
+
static completeRegistration(): void;
|
|
17
|
+
static customerLogin(email: string): void;
|
|
18
|
+
static customerVisit(email: string): void;
|
|
31
19
|
static viewCart(cart: IkasCart | null | undefined): void;
|
|
32
20
|
static viewCategory(categoryPath: string, category: IkasCategory): void;
|
|
33
|
-
static
|
|
34
|
-
static contactForm(form: IkasContactForm): void;
|
|
21
|
+
static contactForm(): void;
|
|
35
22
|
}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import { StringFilterInput, PaginationInput, CategoryProductsOrderTypeEnum, HTMLMetaDataTargetTypeEnum } from "../../../__generated__/global-types";
|
|
2
|
-
export interface listProductBrand_listProductBrand_data_metaData_translations {
|
|
3
|
-
__typename: "HTMLMetaDataTranslation";
|
|
4
|
-
description: string | null;
|
|
5
|
-
locale: string;
|
|
6
|
-
pageTitle: string | null;
|
|
7
|
-
}
|
|
8
2
|
export interface listProductBrand_listProductBrand_data_metaData {
|
|
9
3
|
__typename: "HTMLMetaData";
|
|
10
4
|
slug: string;
|
|
@@ -13,7 +7,6 @@ export interface listProductBrand_listProductBrand_data_metaData {
|
|
|
13
7
|
targetId: string | null;
|
|
14
8
|
targetType: HTMLMetaDataTargetTypeEnum | null;
|
|
15
9
|
redirectTo: string | null;
|
|
16
|
-
translations: listProductBrand_listProductBrand_data_metaData_translations[] | null;
|
|
17
10
|
}
|
|
18
11
|
export interface listProductBrand_listProductBrand_data_translations {
|
|
19
12
|
__typename: "ProductBrandTranslation";
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import { SaveItemToCartInput, AmountTypeEnum, OrderLineItemStatusEnum } from "../../../__generated__/global-types";
|
|
2
|
-
export interface saveItemToCart_saveItemToCart_taxLines {
|
|
3
|
-
__typename: "OrderTaxLine";
|
|
4
|
-
price: number;
|
|
5
|
-
rate: number;
|
|
6
|
-
}
|
|
7
2
|
export interface saveItemToCart_saveItemToCart_items_discount {
|
|
8
3
|
__typename: "OrderLineDiscount";
|
|
9
4
|
amount: number;
|
|
@@ -63,7 +58,6 @@ export interface saveItemToCart_saveItemToCart {
|
|
|
63
58
|
storefrontId: string | null;
|
|
64
59
|
storefrontRoutingId: string | null;
|
|
65
60
|
storefrontThemeId: string | null;
|
|
66
|
-
taxLines: saveItemToCart_saveItemToCart_taxLines[] | null;
|
|
67
61
|
items: saveItemToCart_saveItemToCart_items[];
|
|
68
62
|
}
|
|
69
63
|
export interface saveItemToCart {
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import { StringFilterInput, PaginationInput, CategoryProductsOrderTypeEnum, HTMLMetaDataTargetTypeEnum } from "../../../__generated__/global-types";
|
|
2
|
-
export interface listCategory_listCategory_data_metaData_translations {
|
|
3
|
-
__typename: "HTMLMetaDataTranslation";
|
|
4
|
-
description: string | null;
|
|
5
|
-
locale: string;
|
|
6
|
-
pageTitle: string | null;
|
|
7
|
-
}
|
|
8
2
|
export interface listCategory_listCategory_data_metaData {
|
|
9
3
|
__typename: "HTMLMetaData";
|
|
10
4
|
slug: string;
|
|
@@ -13,7 +7,6 @@ export interface listCategory_listCategory_data_metaData {
|
|
|
13
7
|
targetId: string | null;
|
|
14
8
|
targetType: HTMLMetaDataTargetTypeEnum | null;
|
|
15
9
|
redirectTo: string | null;
|
|
16
|
-
translations: listCategory_listCategory_data_metaData_translations[] | null;
|
|
17
10
|
}
|
|
18
11
|
export interface listCategory_listCategory_data_translations {
|
|
19
12
|
__typename: "CategoryTranslation";
|
|
@@ -45,7 +45,7 @@ export interface getCheckoutById_getCheckoutById_billingAddress {
|
|
|
45
45
|
isDefault: boolean;
|
|
46
46
|
lastName: string;
|
|
47
47
|
phone: string | null;
|
|
48
|
-
postalCode: string
|
|
48
|
+
postalCode: string;
|
|
49
49
|
state: getCheckoutById_getCheckoutById_billingAddress_state | null;
|
|
50
50
|
taxNumber: string | null;
|
|
51
51
|
taxOffice: string | null;
|
|
@@ -95,7 +95,7 @@ export interface getCheckoutById_getCheckoutById_shippingAddress {
|
|
|
95
95
|
isDefault: boolean;
|
|
96
96
|
lastName: string;
|
|
97
97
|
phone: string | null;
|
|
98
|
-
postalCode: string
|
|
98
|
+
postalCode: string;
|
|
99
99
|
state: getCheckoutById_getCheckoutById_shippingAddress_state | null;
|
|
100
100
|
taxNumber: string | null;
|
|
101
101
|
taxOffice: string | null;
|
|
@@ -108,11 +108,6 @@ export interface getCheckoutById_getCheckoutById_shippingLines {
|
|
|
108
108
|
shippingSettingsId: string | null;
|
|
109
109
|
shippingZoneRateId: string | null;
|
|
110
110
|
}
|
|
111
|
-
export interface getCheckoutById_getCheckoutById_cart_taxLines {
|
|
112
|
-
__typename: "OrderTaxLine";
|
|
113
|
-
price: number;
|
|
114
|
-
rate: number;
|
|
115
|
-
}
|
|
116
111
|
export interface getCheckoutById_getCheckoutById_cart_items_discount {
|
|
117
112
|
__typename: "OrderLineDiscount";
|
|
118
113
|
amount: number;
|
|
@@ -165,7 +160,6 @@ export interface getCheckoutById_getCheckoutById_cart {
|
|
|
165
160
|
dueDate: any;
|
|
166
161
|
id: string;
|
|
167
162
|
itemCount: number;
|
|
168
|
-
taxLines: getCheckoutById_getCheckoutById_cart_taxLines[] | null;
|
|
169
163
|
items: getCheckoutById_getCheckoutById_cart_items[];
|
|
170
164
|
merchantId: string;
|
|
171
165
|
status: CartStatusEnum;
|
|
@@ -36,7 +36,7 @@ export interface getOrder_getOrder_billingAddress {
|
|
|
36
36
|
isDefault: boolean;
|
|
37
37
|
lastName: string;
|
|
38
38
|
phone: string | null;
|
|
39
|
-
postalCode: string
|
|
39
|
+
postalCode: string;
|
|
40
40
|
state: getOrder_getOrder_billingAddress_state | null;
|
|
41
41
|
taxNumber: string | null;
|
|
42
42
|
taxOffice: string | null;
|
|
@@ -153,7 +153,7 @@ export interface getOrder_getOrder_shippingAddress {
|
|
|
153
153
|
taxOffice: string | null;
|
|
154
154
|
taxNumber: string | null;
|
|
155
155
|
state: getOrder_getOrder_shippingAddress_state | null;
|
|
156
|
-
postalCode: string
|
|
156
|
+
postalCode: string;
|
|
157
157
|
phone: string | null;
|
|
158
158
|
lastName: string;
|
|
159
159
|
isDefault: boolean;
|
|
@@ -24,7 +24,6 @@ export interface listCheckoutSettings_listCheckoutSettings {
|
|
|
24
24
|
updatedAt: any | null;
|
|
25
25
|
isGiftPackageEnabled: boolean | null;
|
|
26
26
|
giftPackagePriceList: listCheckoutSettings_listCheckoutSettings_giftPackagePriceList[] | null;
|
|
27
|
-
isShowPostalCode: boolean | null;
|
|
28
27
|
}
|
|
29
28
|
export interface listCheckoutSettings {
|
|
30
29
|
listCheckoutSettings: listCheckoutSettings_listCheckoutSettings[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StringFilterInput, PaymentMethodEnum,
|
|
1
|
+
import { StringFilterInput, PaymentMethodEnum, PaymentGatewayTransactionFeeTypeEnum, PaymentGatewayAdditionalPriceTypeEnum } from "../../../__generated__/global-types";
|
|
2
2
|
export interface listPaymentGateway_listPaymentGateway_paymentMethods {
|
|
3
3
|
__typename: "PaymentGatewayPaymentMethod";
|
|
4
4
|
name: string;
|
|
@@ -26,8 +26,6 @@ export interface listPaymentGateway_listPaymentGateway {
|
|
|
26
26
|
description: string | null;
|
|
27
27
|
testMode: boolean | null;
|
|
28
28
|
code: string;
|
|
29
|
-
type: PaymentGatewayTypeEnum;
|
|
30
|
-
logoUrl: string | null;
|
|
31
29
|
additionalPrices: listPaymentGateway_listPaymentGateway_additionalPrices[] | null;
|
|
32
30
|
translations: listPaymentGateway_listPaymentGateway_translations[] | null;
|
|
33
31
|
}
|
|
@@ -36,7 +36,7 @@ export interface createOrderRefundRequest_createOrderRefundRequest_billingAddres
|
|
|
36
36
|
isDefault: boolean;
|
|
37
37
|
lastName: string;
|
|
38
38
|
phone: string | null;
|
|
39
|
-
postalCode: string
|
|
39
|
+
postalCode: string;
|
|
40
40
|
state: createOrderRefundRequest_createOrderRefundRequest_billingAddress_state | null;
|
|
41
41
|
taxNumber: string | null;
|
|
42
42
|
taxOffice: string | null;
|
|
@@ -153,7 +153,7 @@ export interface createOrderRefundRequest_createOrderRefundRequest_shippingAddre
|
|
|
153
153
|
taxOffice: string | null;
|
|
154
154
|
taxNumber: string | null;
|
|
155
155
|
state: createOrderRefundRequest_createOrderRefundRequest_shippingAddress_state | null;
|
|
156
|
-
postalCode: string
|
|
156
|
+
postalCode: string;
|
|
157
157
|
phone: string | null;
|
|
158
158
|
lastName: string;
|
|
159
159
|
isDefault: boolean;
|
|
@@ -36,7 +36,7 @@ export interface customerLogin_customerLogin_customer_addresses {
|
|
|
36
36
|
firstName: string;
|
|
37
37
|
isDefault: boolean | null;
|
|
38
38
|
lastName: string;
|
|
39
|
-
postalCode: string
|
|
39
|
+
postalCode: string;
|
|
40
40
|
state: customerLogin_customerLogin_customer_addresses_state | null;
|
|
41
41
|
taxNumber: string | null;
|
|
42
42
|
taxOffice: string | null;
|
|
@@ -36,7 +36,7 @@ export interface getCustomerOrders_getCustomerOrders_billingAddress {
|
|
|
36
36
|
isDefault: boolean;
|
|
37
37
|
lastName: string;
|
|
38
38
|
phone: string | null;
|
|
39
|
-
postalCode: string
|
|
39
|
+
postalCode: string;
|
|
40
40
|
state: getCustomerOrders_getCustomerOrders_billingAddress_state | null;
|
|
41
41
|
taxNumber: string | null;
|
|
42
42
|
taxOffice: string | null;
|
|
@@ -153,7 +153,7 @@ export interface getCustomerOrders_getCustomerOrders_shippingAddress {
|
|
|
153
153
|
taxOffice: string | null;
|
|
154
154
|
taxNumber: string | null;
|
|
155
155
|
state: getCustomerOrders_getCustomerOrders_shippingAddress_state | null;
|
|
156
|
-
postalCode: string
|
|
156
|
+
postalCode: string;
|
|
157
157
|
phone: string | null;
|
|
158
158
|
lastName: string;
|
|
159
159
|
isDefault: boolean;
|
|
@@ -8,7 +8,7 @@ export interface getLastViewedProducts_getLastViewedProducts {
|
|
|
8
8
|
products: getLastViewedProducts_getLastViewedProducts_products[];
|
|
9
9
|
}
|
|
10
10
|
export interface getLastViewedProducts {
|
|
11
|
-
getLastViewedProducts: getLastViewedProducts_getLastViewedProducts
|
|
11
|
+
getLastViewedProducts: getLastViewedProducts_getLastViewedProducts;
|
|
12
12
|
}
|
|
13
13
|
export interface getLastViewedProductsVariables {
|
|
14
14
|
customerId?: string | null;
|
|
@@ -35,7 +35,7 @@ export interface getMyCustomer_getMyCustomer_addresses {
|
|
|
35
35
|
firstName: string;
|
|
36
36
|
isDefault: boolean | null;
|
|
37
37
|
lastName: string;
|
|
38
|
-
postalCode: string
|
|
38
|
+
postalCode: string;
|
|
39
39
|
state: getMyCustomer_getMyCustomer_addresses_state | null;
|
|
40
40
|
taxNumber: string | null;
|
|
41
41
|
taxOffice: string | null;
|
|
@@ -35,7 +35,7 @@ export interface registerCustomer_registerCustomer_customer_addresses {
|
|
|
35
35
|
firstName: string;
|
|
36
36
|
isDefault: boolean | null;
|
|
37
37
|
lastName: string;
|
|
38
|
-
postalCode: string
|
|
38
|
+
postalCode: string;
|
|
39
39
|
state: registerCustomer_registerCustomer_customer_addresses_state | null;
|
|
40
40
|
taxNumber: string | null;
|
|
41
41
|
taxOffice: string | null;
|
|
@@ -35,7 +35,7 @@ export interface saveMyCustomer_saveMyCustomer_addresses {
|
|
|
35
35
|
firstName: string;
|
|
36
36
|
isDefault: boolean | null;
|
|
37
37
|
lastName: string;
|
|
38
|
-
postalCode: string
|
|
38
|
+
postalCode: string;
|
|
39
39
|
state: saveMyCustomer_saveMyCustomer_addresses_state | null;
|
|
40
40
|
identityNumber: string | null;
|
|
41
41
|
taxNumber: string | null;
|
|
@@ -45,7 +45,7 @@ export interface getStorefront_getStorefront {
|
|
|
45
45
|
themes: getStorefront_getStorefront_themes[];
|
|
46
46
|
}
|
|
47
47
|
export interface getStorefront {
|
|
48
|
-
getStorefront: getStorefront_getStorefront
|
|
48
|
+
getStorefront: getStorefront_getStorefront;
|
|
49
49
|
}
|
|
50
50
|
export interface getStorefrontVariables {
|
|
51
51
|
id: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { IkasThemeSettings } from "../../models/index";
|
|
3
|
-
import { IkasPageComponentPropValue } from "../../
|
|
3
|
+
import { IkasPageComponentPropValue } from "../../utils/index";
|
|
4
4
|
declare type Props = {
|
|
5
5
|
pageComponentPropValue: IkasPageComponentPropValue;
|
|
6
6
|
index: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import
|
|
2
|
+
import PageViewModel from "../page-editor/model";
|
|
3
3
|
import { IkasThemePageComponent } from "../../models/index";
|
|
4
4
|
declare type Props = {
|
|
5
|
-
vm:
|
|
5
|
+
vm: PageViewModel;
|
|
6
6
|
pageComponent: IkasThemePageComponent;
|
|
7
7
|
};
|
|
8
8
|
export declare const ThemeEditorComponent: React.FC<Props>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { IkasThemePageType, IkasThemeSettings } from "../../models/index";
|
|
3
|
-
import { IkasPageComponentPropValue } from "../../
|
|
3
|
+
import { IkasPageComponentPropValue } from "../../utils/index";
|
|
4
4
|
export declare type IkasPageProps = {
|
|
5
5
|
propValuesStr: string;
|
|
6
6
|
pageSpecificDataStr: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { NextRouter } from "next/router";
|
|
2
2
|
import { IkasThemePage, IkasThemePageComponent, IkasTheme, IkasThemeComponent } from "../../models/index";
|
|
3
|
-
import { IkasPageDataProvider } from "../../
|
|
3
|
+
import { IkasPageDataProvider } from "../../utils/index";
|
|
4
4
|
import { IkasThemePageSpecification } from "../../models/theme/page/index";
|
|
5
|
-
export default class
|
|
5
|
+
export default class PageViewModel {
|
|
6
6
|
theme?: IkasTheme | null;
|
|
7
7
|
page?: IkasThemePage | null;
|
|
8
8
|
selectedPageComponentId?: string | null;
|