@ikas/storefront 0.0.163-alpha.4 → 0.0.163-alpha.5

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.
@@ -80,7 +80,7 @@ export declare enum CheckoutStatusEnum {
80
80
  /**
81
81
  * Customer Account Statuses
82
82
  */
83
- export declare enum CustomerAccountStatusesEnum {
83
+ export declare enum CustomerAccountStatusEnum {
84
84
  ACTIVE_ACCOUNT = "ACTIVE_ACCOUNT",
85
85
  DECLINED_ACCOUNT_INVITATION = "DECLINED_ACCOUNT_INVITATION",
86
86
  DISABLED_ACCOUNT = "DISABLED_ACCOUNT",
@@ -8,13 +8,21 @@ export interface listProductBrand_listProductBrand_data_metaData {
8
8
  targetType: HTMLMetaDataTargetTypeEnum | null;
9
9
  redirectTo: string | null;
10
10
  }
11
+ export interface listProductBrand_listProductBrand_data_translations {
12
+ __typename: "ProductBrandTranslation";
13
+ description: string | null;
14
+ locale: string;
15
+ name: string | null;
16
+ }
11
17
  export interface listProductBrand_listProductBrand_data {
12
18
  __typename: "ProductBrand";
13
19
  id: string;
14
20
  name: string;
21
+ description: string | null;
15
22
  imageId: string | null;
16
23
  orderType: CategoryProductsOrderTypeEnum | null;
17
24
  metaData: listProductBrand_listProductBrand_data_metaData | null;
25
+ translations: listProductBrand_listProductBrand_data_translations[] | null;
18
26
  }
19
27
  export interface listProductBrand_listProductBrand {
20
28
  __typename: "ProductBrandPaginationResponse";
@@ -8,6 +8,12 @@ export interface listCategory_listCategory_data_metaData {
8
8
  targetType: HTMLMetaDataTargetTypeEnum | null;
9
9
  redirectTo: string | null;
10
10
  }
11
+ export interface listCategory_listCategory_data_translations {
12
+ __typename: "CategoryTranslation";
13
+ description: string | null;
14
+ locale: string;
15
+ name: string | null;
16
+ }
11
17
  export interface listCategory_listCategory_data {
12
18
  __typename: "Category";
13
19
  id: string;
@@ -15,10 +21,12 @@ export interface listCategory_listCategory_data {
15
21
  updatedAt: any | null;
16
22
  deleted: boolean | null;
17
23
  name: string;
24
+ description: string | null;
18
25
  parentId: string | null;
19
26
  imageId: string | null;
20
27
  orderType: CategoryProductsOrderTypeEnum | null;
21
28
  metaData: listCategory_listCategory_data_metaData | null;
29
+ translations: listCategory_listCategory_data_translations[] | null;
22
30
  categoryPath: string[] | null;
23
31
  }
24
32
  export interface listCategory_listCategory {
@@ -130,6 +130,7 @@ export interface getCheckoutById_getCheckoutById_cart_items_variant {
130
130
  name: string;
131
131
  productId: string | null;
132
132
  sku: string | null;
133
+ slug: string | null;
133
134
  variantValues: getCheckoutById_getCheckoutById_cart_items_variant_variantValues[] | null;
134
135
  }
135
136
  export interface getCheckoutById_getCheckoutById_cart_items {
@@ -211,5 +211,5 @@ export interface getOrder {
211
211
  getOrder: getOrder_getOrder;
212
212
  }
213
213
  export interface getOrderVariables {
214
- orderId?: string | null;
214
+ orderId: string;
215
215
  }
@@ -11,6 +11,12 @@ export interface listPaymentGateway_listPaymentGateway_additionalPrices {
11
11
  name: string;
12
12
  type: PaymentGatewayAdditionalPriceTypeEnum;
13
13
  }
14
+ export interface listPaymentGateway_listPaymentGateway_translations {
15
+ __typename: "PaymentGatewayTranslation";
16
+ description: string | null;
17
+ locale: string;
18
+ name: string | null;
19
+ }
14
20
  export interface listPaymentGateway_listPaymentGateway {
15
21
  __typename: "PaymentGateway";
16
22
  paymentMethods: listPaymentGateway_listPaymentGateway_paymentMethods[];
@@ -21,6 +27,7 @@ export interface listPaymentGateway_listPaymentGateway {
21
27
  testMode: boolean | null;
22
28
  code: string;
23
29
  additionalPrices: listPaymentGateway_listPaymentGateway_additionalPrices[] | null;
30
+ translations: listPaymentGateway_listPaymentGateway_translations[] | null;
24
31
  }
25
32
  export interface listPaymentGateway {
26
33
  listPaymentGateway: listPaymentGateway_listPaymentGateway[];
@@ -1,4 +1,4 @@
1
- import { CustomerAccountStatusesEnum, CustomerEmailSubscriptionStatusesEnum } from "../../../__generated__/global-types";
1
+ import { CustomerAccountStatusEnum, CustomerEmailSubscriptionStatusesEnum } from "../../../__generated__/global-types";
2
2
  export interface customerLogin_customerLogin_customer_addresses_city {
3
3
  __typename: "CustomerAddressCity";
4
4
  code: string | null;
@@ -50,7 +50,7 @@ export interface customerLogin_customerLogin_customer {
50
50
  lastName: string | null;
51
51
  addresses: customerLogin_customerLogin_customer_addresses[] | null;
52
52
  phone: string | null;
53
- accountStatus: CustomerAccountStatusesEnum | null;
53
+ accountStatus: CustomerAccountStatusEnum | null;
54
54
  email: string | null;
55
55
  firstName: string;
56
56
  subscriptionStatus: CustomerEmailSubscriptionStatusesEnum | null;
@@ -1,4 +1,4 @@
1
- import { CustomerAccountStatusesEnum } from "../../../__generated__/global-types";
1
+ import { CustomerAccountStatusEnum } from "../../../__generated__/global-types";
2
2
  export interface getMyCustomer_getMyCustomer_addresses_city {
3
3
  __typename: "CustomerAddressCity";
4
4
  code: string | null;
@@ -50,7 +50,7 @@ export interface getMyCustomer_getMyCustomer {
50
50
  lastName: string | null;
51
51
  addresses: getMyCustomer_getMyCustomer_addresses[] | null;
52
52
  phone: string | null;
53
- accountStatus: CustomerAccountStatusesEnum | null;
53
+ accountStatus: CustomerAccountStatusEnum | null;
54
54
  email: string | null;
55
55
  firstName: string;
56
56
  }
@@ -1,4 +1,4 @@
1
- import { CustomerAccountStatusesEnum } from "../../../__generated__/global-types";
1
+ import { CustomerAccountStatusEnum } from "../../../__generated__/global-types";
2
2
  export interface registerCustomer_registerCustomer_customer_addresses_city {
3
3
  __typename: "CustomerAddressCity";
4
4
  code: string | null;
@@ -49,7 +49,7 @@ export interface registerCustomer_registerCustomer_customer {
49
49
  lastName: string | null;
50
50
  addresses: registerCustomer_registerCustomer_customer_addresses[] | null;
51
51
  phone: string | null;
52
- accountStatus: CustomerAccountStatusesEnum | null;
52
+ accountStatus: CustomerAccountStatusEnum | null;
53
53
  email: string | null;
54
54
  firstName: string;
55
55
  }
@@ -1,4 +1,4 @@
1
- import { SaveMyCustomerInput, CustomerAccountStatusesEnum } from "../../../__generated__/global-types";
1
+ import { SaveMyCustomerInput, CustomerAccountStatusEnum } from "../../../__generated__/global-types";
2
2
  export interface saveMyCustomer_saveMyCustomer_addresses_city {
3
3
  __typename: "CustomerAddressCity";
4
4
  code: string | null;
@@ -37,6 +37,7 @@ export interface saveMyCustomer_saveMyCustomer_addresses {
37
37
  lastName: string;
38
38
  postalCode: string;
39
39
  state: saveMyCustomer_saveMyCustomer_addresses_state | null;
40
+ identityNumber: string | null;
40
41
  taxNumber: string | null;
41
42
  taxOffice: string | null;
42
43
  title: string;
@@ -50,7 +51,7 @@ export interface saveMyCustomer_saveMyCustomer {
50
51
  lastName: string | null;
51
52
  addresses: saveMyCustomer_saveMyCustomer_addresses[] | null;
52
53
  phone: string | null;
53
- accountStatus: CustomerAccountStatusesEnum | null;
54
+ accountStatus: CustomerAccountStatusEnum | null;
54
55
  email: string | null;
55
56
  firstName: string;
56
57
  }
@@ -7,6 +7,18 @@ export interface listProductAttribute_listProductAttribute_options {
7
7
  deleted: boolean | null;
8
8
  name: string;
9
9
  }
10
+ export interface listProductAttribute_listProductAttribute_translations_options {
11
+ __typename: "ProductAttributeOptionTranslation";
12
+ id: string;
13
+ name: string | null;
14
+ }
15
+ export interface listProductAttribute_listProductAttribute_translations {
16
+ __typename: "ProductAttributeTranslation";
17
+ description: string | null;
18
+ locale: string;
19
+ name: string | null;
20
+ options: listProductAttribute_listProductAttribute_translations_options[] | null;
21
+ }
10
22
  export interface listProductAttribute_listProductAttribute {
11
23
  __typename: "ProductAttribute";
12
24
  id: string;
@@ -17,6 +29,7 @@ export interface listProductAttribute_listProductAttribute {
17
29
  description: string | null;
18
30
  type: ProductAttributeTypeEnum;
19
31
  options: listProductAttribute_listProductAttribute_options[] | null;
32
+ translations: listProductAttribute_listProductAttribute_translations[] | null;
20
33
  }
21
34
  export interface listProductAttribute {
22
35
  listProductAttribute: listProductAttribute_listProductAttribute[];
@@ -48,4 +48,5 @@ export interface getProductFilterData {
48
48
  }
49
49
  export interface getProductFilterDataVariables {
50
50
  categoryId?: string | null;
51
+ locale?: string | null;
51
52
  }
@@ -9,6 +9,17 @@ export interface listVariantType_listVariantType_values {
9
9
  thumbnailImageId: string | null;
10
10
  colorCode: string | null;
11
11
  }
12
+ export interface listVariantType_listVariantType_translations_values {
13
+ __typename: "VariantValueTranslation";
14
+ id: string;
15
+ name: string | null;
16
+ }
17
+ export interface listVariantType_listVariantType_translations {
18
+ __typename: "VariantTypeTranslation";
19
+ locale: string;
20
+ name: string | null;
21
+ values: listVariantType_listVariantType_translations_values[] | null;
22
+ }
12
23
  export interface listVariantType_listVariantType {
13
24
  __typename: "VariantType";
14
25
  id: string;
@@ -18,6 +29,7 @@ export interface listVariantType_listVariantType {
18
29
  name: string;
19
30
  selectionType: VariantSelectionTypeEnum;
20
31
  values: listVariantType_listVariantType_values[];
32
+ translations: listVariantType_listVariantType_translations[] | null;
21
33
  }
22
34
  export interface listVariantType {
23
35
  listVariantType: listVariantType_listVariantType[];
@@ -82,7 +82,7 @@ module.exports = {
82
82
 
83
83
  securePaymentTooltip: "All payments are secure and encrypted",
84
84
  giftPackage: "Gift Package",
85
- giftPackageCta: "Gift package cta",
85
+ giftPackageCta: "Gift wrap this order",
86
86
  giftPackageCtaPlaceholder: "Enter your gift message",
87
87
 
88
88
  paymentMethod: "Payment Method",
package/build/index.es.js CHANGED
@@ -11097,16 +11097,21 @@ var IkasHTMLMetaDataTargetType;
11097
11097
  var IkasBrand = /** @class */ (function () {
11098
11098
  function IkasBrand(data) {
11099
11099
  if (data === void 0) { data = {}; }
11100
+ this.description = null;
11100
11101
  this.metaData = null;
11101
11102
  this.image = null;
11102
11103
  this.orderType = null;
11104
+ this.translations = null;
11103
11105
  this.id = data.id || Date.now() + "";
11104
11106
  this.name = data.name || "";
11107
+ this.description = data.description || null;
11105
11108
  this.metaData = data.metaData
11106
11109
  ? new IkasHTMLMetaData(data.metaData)
11107
11110
  : undefined;
11108
11111
  this.image = data.image ? new IkasImage(data.image.id) : null;
11109
11112
  this.orderType = data.orderType || null;
11113
+ this.translations = data.translations || null;
11114
+ this.setTranslations();
11110
11115
  makeAutoObservable(this);
11111
11116
  }
11112
11117
  Object.defineProperty(IkasBrand.prototype, "href", {
@@ -11119,17 +11124,30 @@ var IkasBrand = /** @class */ (function () {
11119
11124
  enumerable: false,
11120
11125
  configurable: true
11121
11126
  });
11127
+ IkasBrand.prototype.setTranslations = function () {
11128
+ if (this.translations &&
11129
+ this.translations.some(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); })) {
11130
+ var localeTranslations = this.translations.find(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); });
11131
+ if (localeTranslations === null || localeTranslations === void 0 ? void 0 : localeTranslations.name)
11132
+ this.name = localeTranslations.name;
11133
+ if (localeTranslations === null || localeTranslations === void 0 ? void 0 : localeTranslations.description)
11134
+ this.description = localeTranslations.description;
11135
+ }
11136
+ };
11122
11137
  return IkasBrand;
11123
11138
  }());
11124
11139
 
11125
11140
  var IkasCategory = /** @class */ (function () {
11126
11141
  function IkasCategory(data) {
11127
11142
  if (data === void 0) { data = {}; }
11143
+ this.description = null;
11128
11144
  this.metaData = null;
11129
11145
  this.image = null;
11130
11146
  this.orderType = null;
11147
+ this.translations = null;
11131
11148
  this.id = data.id || Date.now() + "";
11132
11149
  this.name = data.name || "";
11150
+ this.description = data.description || null;
11133
11151
  this.parentId = data.parentId || null;
11134
11152
  this.metaData = data.metaData
11135
11153
  ? new IkasHTMLMetaData(data.metaData)
@@ -11137,6 +11155,8 @@ var IkasCategory = /** @class */ (function () {
11137
11155
  this.image = data.image ? new IkasImage(data.image.id) : null;
11138
11156
  this.path = data.path ? data.path.map(function (p) { return new IkasCategoryPath(p); }) : [];
11139
11157
  this.orderType = data.orderType || null;
11158
+ this.translations = data.translations || null;
11159
+ this.setTranslations();
11140
11160
  makeAutoObservable(this);
11141
11161
  }
11142
11162
  Object.defineProperty(IkasCategory.prototype, "href", {
@@ -11149,6 +11169,16 @@ var IkasCategory = /** @class */ (function () {
11149
11169
  enumerable: false,
11150
11170
  configurable: true
11151
11171
  });
11172
+ IkasCategory.prototype.setTranslations = function () {
11173
+ if (this.translations &&
11174
+ this.translations.some(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); })) {
11175
+ var localeTranslations = this.translations.find(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); });
11176
+ if (localeTranslations === null || localeTranslations === void 0 ? void 0 : localeTranslations.name)
11177
+ this.name = localeTranslations.name;
11178
+ if (localeTranslations === null || localeTranslations === void 0 ? void 0 : localeTranslations.description)
11179
+ this.description = localeTranslations.description;
11180
+ }
11181
+ };
11152
11182
  return IkasCategory;
11153
11183
  }());
11154
11184
  var IkasCategoryPath = /** @class */ (function () {
@@ -17261,6 +17291,8 @@ var IkasPaymentGateway = /** @class */ (function () {
17261
17291
  this.description = data.description || null;
17262
17292
  this.additionalPrices =
17263
17293
  ((_a = data.additionalPrices) === null || _a === void 0 ? void 0 : _a.map(function (ap) { return new IkasPaymentGatewayAdditionalPrice(ap); })) || null;
17294
+ this.translations = data.translations || null;
17295
+ this.setTranslations();
17264
17296
  makeAutoObservable(this);
17265
17297
  }
17266
17298
  IkasPaymentGateway.prototype.getCalculatedAdditionalPrices = function (totalFinalPrice, shippingLines) {
@@ -17290,6 +17322,16 @@ var IkasPaymentGateway = /** @class */ (function () {
17290
17322
  });
17291
17323
  }
17292
17324
  };
17325
+ IkasPaymentGateway.prototype.setTranslations = function () {
17326
+ if (this.translations &&
17327
+ this.translations.some(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); })) {
17328
+ var localeTranslations = this.translations.find(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); });
17329
+ if (localeTranslations === null || localeTranslations === void 0 ? void 0 : localeTranslations.name)
17330
+ this.name = localeTranslations.name;
17331
+ if (localeTranslations === null || localeTranslations === void 0 ? void 0 : localeTranslations.description)
17332
+ this.description = localeTranslations.description;
17333
+ }
17334
+ };
17293
17335
  return IkasPaymentGateway;
17294
17336
  }());
17295
17337
  var IkasPaymentGatewayAdditionalPrice = /** @class */ (function () {
@@ -25275,13 +25317,36 @@ var IkasProductAttributeOption = /** @class */ (function () {
25275
25317
 
25276
25318
  var IkasProductAttribute = /** @class */ (function () {
25277
25319
  function IkasProductAttribute(data) {
25320
+ this.translations = null;
25278
25321
  this.id = data.id || "";
25279
25322
  this.name = data.name || "";
25323
+ this.description = data.description || "";
25280
25324
  this.type = data.type || IkasProductAttributeType.TEXT;
25281
25325
  this.options = data.options || null;
25282
25326
  this.tableTemplate = data.tableTemplate || null;
25327
+ this.translations = data.translations || null;
25328
+ this.setTranslations();
25283
25329
  makeAutoObservable(this);
25284
25330
  }
25331
+ IkasProductAttribute.prototype.setTranslations = function () {
25332
+ var _a;
25333
+ if (this.translations &&
25334
+ this.translations.some(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); })) {
25335
+ var localeTranslations_1 = this.translations.find(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); });
25336
+ if (localeTranslations_1 === null || localeTranslations_1 === void 0 ? void 0 : localeTranslations_1.name)
25337
+ this.name = localeTranslations_1.name;
25338
+ if (localeTranslations_1 === null || localeTranslations_1 === void 0 ? void 0 : localeTranslations_1.description)
25339
+ this.description = localeTranslations_1.description;
25340
+ if (localeTranslations_1 === null || localeTranslations_1 === void 0 ? void 0 : localeTranslations_1.options) {
25341
+ (_a = this.options) === null || _a === void 0 ? void 0 : _a.forEach(function (o) {
25342
+ var _a;
25343
+ var translatedVV = (_a = localeTranslations_1.options) === null || _a === void 0 ? void 0 : _a.find(function (to) { return to.id === o.id; });
25344
+ if (translatedVV && translatedVV.name)
25345
+ o.name = translatedVV.name;
25346
+ });
25347
+ }
25348
+ }
25349
+ };
25285
25350
  return IkasProductAttribute;
25286
25351
  }());
25287
25352
  var IkasProductAttributeType;
@@ -25356,6 +25421,7 @@ var IkasVariantType = /** @class */ (function () {
25356
25421
  function IkasVariantType(data) {
25357
25422
  var _this = this;
25358
25423
  if (data === void 0) { data = {}; }
25424
+ this.translations = null;
25359
25425
  this.id = data.id || "";
25360
25426
  this.name = data.name || "";
25361
25427
  this.selectionType = data.selectionType || IkasVariantSelectionType.CHOICE;
@@ -25364,6 +25430,7 @@ var IkasVariantType = /** @class */ (function () {
25364
25430
  return new IkasVariantValue(__assign(__assign({}, v), { variantTypeId: _this.id }));
25365
25431
  })
25366
25432
  : [];
25433
+ this.setTranslations();
25367
25434
  makeAutoObservable(this);
25368
25435
  }
25369
25436
  Object.defineProperty(IkasVariantType.prototype, "isColorSelection", {
@@ -25380,6 +25447,22 @@ var IkasVariantType = /** @class */ (function () {
25380
25447
  enumerable: false,
25381
25448
  configurable: true
25382
25449
  });
25450
+ IkasVariantType.prototype.setTranslations = function () {
25451
+ if (this.translations &&
25452
+ this.translations.some(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); })) {
25453
+ var localeTranslations_1 = this.translations.find(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); });
25454
+ if (localeTranslations_1 === null || localeTranslations_1 === void 0 ? void 0 : localeTranslations_1.name)
25455
+ this.name = localeTranslations_1.name;
25456
+ if (localeTranslations_1 === null || localeTranslations_1 === void 0 ? void 0 : localeTranslations_1.values) {
25457
+ this.values.forEach(function (vv) {
25458
+ var _a;
25459
+ var translatedVV = (_a = localeTranslations_1.values) === null || _a === void 0 ? void 0 : _a.find(function (tvv) { return tvv.id === vv.id; });
25460
+ if (translatedVV && translatedVV.name)
25461
+ vv.name = translatedVV.name;
25462
+ });
25463
+ }
25464
+ }
25465
+ };
25383
25466
  return IkasVariantType;
25384
25467
  }());
25385
25468
  var IkasVariantSelectionType;
@@ -28462,13 +28545,13 @@ var CheckoutStatusEnum;
28462
28545
  /**
28463
28546
  * Customer Account Statuses
28464
28547
  */
28465
- var CustomerAccountStatusesEnum;
28466
- (function (CustomerAccountStatusesEnum) {
28467
- CustomerAccountStatusesEnum["ACTIVE_ACCOUNT"] = "ACTIVE_ACCOUNT";
28468
- CustomerAccountStatusesEnum["DECLINED_ACCOUNT_INVITATION"] = "DECLINED_ACCOUNT_INVITATION";
28469
- CustomerAccountStatusesEnum["DISABLED_ACCOUNT"] = "DISABLED_ACCOUNT";
28470
- CustomerAccountStatusesEnum["INVITED_TO_CREATE_ACCOUNT"] = "INVITED_TO_CREATE_ACCOUNT";
28471
- })(CustomerAccountStatusesEnum || (CustomerAccountStatusesEnum = {}));
28548
+ var CustomerAccountStatusEnum;
28549
+ (function (CustomerAccountStatusEnum) {
28550
+ CustomerAccountStatusEnum["ACTIVE_ACCOUNT"] = "ACTIVE_ACCOUNT";
28551
+ CustomerAccountStatusEnum["DECLINED_ACCOUNT_INVITATION"] = "DECLINED_ACCOUNT_INVITATION";
28552
+ CustomerAccountStatusEnum["DISABLED_ACCOUNT"] = "DISABLED_ACCOUNT";
28553
+ CustomerAccountStatusEnum["INVITED_TO_CREATE_ACCOUNT"] = "INVITED_TO_CREATE_ACCOUNT";
28554
+ })(CustomerAccountStatusEnum || (CustomerAccountStatusEnum = {}));
28472
28555
  /**
28473
28556
  * Customer Email Subscription Statuses
28474
28557
  */
@@ -34689,7 +34772,7 @@ var IkasBrandAPI = /** @class */ (function () {
34689
34772
  return __generator(this, function (_b) {
34690
34773
  switch (_b.label) {
34691
34774
  case 0:
34692
- LIST_QUERY = src(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n query listProductBrand(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listProductBrand(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n name\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n }\n count\n }\n }\n "], ["\n query listProductBrand(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listProductBrand(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n name\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n }\n count\n }\n }\n "])));
34775
+ LIST_QUERY = src(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n query listProductBrand(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listProductBrand(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n name\n description\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n translations {\n description\n locale\n name\n }\n }\n count\n }\n }\n "], ["\n query listProductBrand(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listProductBrand(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n name\n description\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n translations {\n description\n locale\n name\n }\n }\n count\n }\n }\n "])));
34693
34776
  _b.label = 1;
34694
34777
  case 1:
34695
34778
  _b.trys.push([1, 3, , 4]);
@@ -34726,7 +34809,9 @@ var IkasBrandAPI = /** @class */ (function () {
34726
34809
  return new IkasBrand({
34727
34810
  id: b.id,
34728
34811
  name: b.name,
34812
+ description: b.description,
34729
34813
  metaData: b.metaData || undefined,
34814
+ translations: b.translations,
34730
34815
  image: b.imageId ? new IkasImage(b.imageId) : undefined,
34731
34816
  orderType: b.orderType,
34732
34817
  });
@@ -34839,7 +34924,7 @@ var IkasCategoryAPI = /** @class */ (function () {
34839
34924
  return __generator(this, function (_b) {
34840
34925
  switch (_b.label) {
34841
34926
  case 0:
34842
- LIST_QUERY = src(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n query listCategory(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listCategory(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n createdAt\n updatedAt\n deleted\n name\n parentId\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n categoryPath\n }\n count\n }\n }\n "], ["\n query listCategory(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listCategory(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n createdAt\n updatedAt\n deleted\n name\n parentId\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n categoryPath\n }\n count\n }\n }\n "])));
34927
+ LIST_QUERY = src(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n query listCategory(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listCategory(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n parentId\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n translations {\n description\n locale\n name\n }\n categoryPath\n }\n count\n }\n }\n "], ["\n query listCategory(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listCategory(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n parentId\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n translations {\n description\n locale\n name\n }\n categoryPath\n }\n count\n }\n }\n "])));
34843
34928
  _b.label = 1;
34844
34929
  case 1:
34845
34930
  _b.trys.push([1, 10, , 11]);
@@ -34875,8 +34960,10 @@ var IkasCategoryAPI = /** @class */ (function () {
34875
34960
  return new IkasCategory({
34876
34961
  id: c.id,
34877
34962
  name: c.name,
34963
+ description: c.description,
34878
34964
  parentId: c.parentId,
34879
34965
  metaData: c.metaData || undefined,
34966
+ translations: c.translations,
34880
34967
  image: c.imageId ? new IkasImage(c.imageId) : undefined,
34881
34968
  orderType: c.orderType,
34882
34969
  });
@@ -35244,7 +35331,7 @@ var IkasCheckoutAPI = /** @class */ (function () {
35244
35331
  return __generator(this, function (_b) {
35245
35332
  switch (_b.label) {
35246
35333
  case 0:
35247
- QUERY = src(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n query listPaymentGateway($id: StringFilterInput, $locale: String) {\n listPaymentGateway(id: $id, locale: $locale) {\n paymentMethods {\n name\n logoUrl\n }\n paymentMethodType\n id\n name\n description\n testMode\n code\n additionalPrices {\n amount\n amountType\n name\n type\n }\n }\n }\n "], ["\n query listPaymentGateway($id: StringFilterInput, $locale: String) {\n listPaymentGateway(id: $id, locale: $locale) {\n paymentMethods {\n name\n logoUrl\n }\n paymentMethodType\n id\n name\n description\n testMode\n code\n additionalPrices {\n amount\n amountType\n name\n type\n }\n }\n }\n "])));
35334
+ QUERY = src(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n query listPaymentGateway($id: StringFilterInput, $locale: String) {\n listPaymentGateway(id: $id, locale: $locale) {\n paymentMethods {\n name\n logoUrl\n }\n paymentMethodType\n id\n name\n description\n testMode\n code\n additionalPrices {\n amount\n amountType\n name\n type\n }\n translations {\n description\n locale\n name\n }\n }\n }\n "], ["\n query listPaymentGateway($id: StringFilterInput, $locale: String) {\n listPaymentGateway(id: $id, locale: $locale) {\n paymentMethods {\n name\n logoUrl\n }\n paymentMethodType\n id\n name\n description\n testMode\n code\n additionalPrices {\n amount\n amountType\n name\n type\n }\n translations {\n description\n locale\n name\n }\n }\n }\n "])));
35248
35335
  _b.label = 1;
35249
35336
  case 1:
35250
35337
  _b.trys.push([1, 3, , 4]);
@@ -36276,7 +36363,7 @@ var IkasProductSearchAPI = /** @class */ (function () {
36276
36363
  variables: {
36277
36364
  input: __assign(__assign({}, input), { showStockOption: useStockFilter
36278
36365
  ? IkasStorefrontConfig.stockPreference
36279
- : IkasThemeStockPreference.SHOW_ALL }),
36366
+ : IkasThemeStockPreference.SHOW_ALL, locale: IkasStorefrontConfig.getCurrentLocale() }),
36280
36367
  },
36281
36368
  })];
36282
36369
  case 1:
@@ -36304,13 +36391,14 @@ var IkasProductSearchAPI = /** @class */ (function () {
36304
36391
  switch (_b.label) {
36305
36392
  case 0:
36306
36393
  _b.trys.push([0, 2, , 3]);
36307
- QUERY = src(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n query getProductFilterData($categoryId: String) {\n getProductFilterData(categoryId: $categoryId) {\n filters {\n customValues\n displayType\n id\n isMultiSelect\n isFacetFilter\n key\n name\n order\n type\n values {\n colorCode\n id\n key\n name\n thumbnailImageId\n }\n settings {\n showCollapsedOnDesktop\n showCollapsedOnMobile\n sortType\n useAndFilter\n }\n }\n categories {\n id\n name\n metaData {\n slug\n }\n }\n }\n }\n "], ["\n query getProductFilterData($categoryId: String) {\n getProductFilterData(categoryId: $categoryId) {\n filters {\n customValues\n displayType\n id\n isMultiSelect\n isFacetFilter\n key\n name\n order\n type\n values {\n colorCode\n id\n key\n name\n thumbnailImageId\n }\n settings {\n showCollapsedOnDesktop\n showCollapsedOnMobile\n sortType\n useAndFilter\n }\n }\n categories {\n id\n name\n metaData {\n slug\n }\n }\n }\n }\n "])));
36394
+ QUERY = src(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n query getProductFilterData($categoryId: String, $locale: String) {\n getProductFilterData(categoryId: $categoryId, locale: $locale) {\n filters {\n customValues\n displayType\n id\n isMultiSelect\n isFacetFilter\n key\n name\n order\n type\n values {\n colorCode\n id\n key\n name\n thumbnailImageId\n }\n settings {\n showCollapsedOnDesktop\n showCollapsedOnMobile\n sortType\n useAndFilter\n }\n }\n categories {\n id\n name\n metaData {\n slug\n }\n }\n }\n }\n "], ["\n query getProductFilterData($categoryId: String, $locale: String) {\n getProductFilterData(categoryId: $categoryId, locale: $locale) {\n filters {\n customValues\n displayType\n id\n isMultiSelect\n isFacetFilter\n key\n name\n order\n type\n values {\n colorCode\n id\n key\n name\n thumbnailImageId\n }\n settings {\n showCollapsedOnDesktop\n showCollapsedOnMobile\n sortType\n useAndFilter\n }\n }\n categories {\n id\n name\n metaData {\n slug\n }\n }\n }\n }\n "])));
36308
36395
  return [4 /*yield*/, apollo
36309
36396
  .getClient()
36310
36397
  .query({
36311
36398
  query: QUERY,
36312
36399
  variables: {
36313
36400
  categoryId: categoryId || null,
36401
+ locale: IkasStorefrontConfig.getCurrentLocale(),
36314
36402
  },
36315
36403
  })];
36316
36404
  case 1:
@@ -36479,7 +36567,7 @@ var IkasProductAttributeAPI = /** @class */ (function () {
36479
36567
  return __generator(this, function (_b) {
36480
36568
  switch (_b.label) {
36481
36569
  case 0:
36482
- LIST_PRODUCT_ATTRIBUTES = src(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n query listProductAttribute($id: StringFilterInput!) {\n listProductAttribute(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n type\n options {\n id\n createdAt\n updatedAt\n deleted\n name\n }\n }\n }\n "], ["\n query listProductAttribute($id: StringFilterInput!) {\n listProductAttribute(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n type\n options {\n id\n createdAt\n updatedAt\n deleted\n name\n }\n }\n }\n "])));
36570
+ LIST_PRODUCT_ATTRIBUTES = src(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n query listProductAttribute($id: StringFilterInput!) {\n listProductAttribute(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n type\n options {\n id\n createdAt\n updatedAt\n deleted\n name\n }\n translations {\n description\n locale\n name\n options {\n id\n name\n }\n }\n }\n }\n "], ["\n query listProductAttribute($id: StringFilterInput!) {\n listProductAttribute(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n type\n options {\n id\n createdAt\n updatedAt\n deleted\n name\n }\n translations {\n description\n locale\n name\n options {\n id\n name\n }\n }\n }\n }\n "])));
36483
36571
  _b.label = 1;
36484
36572
  case 1:
36485
36573
  _b.trys.push([1, 3, , 4]);
@@ -36710,7 +36798,7 @@ var IkasVariantTypeAPI = /** @class */ (function () {
36710
36798
  return __generator(this, function (_b) {
36711
36799
  switch (_b.label) {
36712
36800
  case 0:
36713
- LIST_VARIANT_TYPE = src(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n query listVariantType($id: StringFilterInput!) {\n listVariantType(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n selectionType\n values {\n id\n createdAt\n updatedAt\n deleted\n name\n thumbnailImageId\n colorCode\n }\n }\n }\n "], ["\n query listVariantType($id: StringFilterInput!) {\n listVariantType(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n selectionType\n values {\n id\n createdAt\n updatedAt\n deleted\n name\n thumbnailImageId\n colorCode\n }\n }\n }\n "])));
36801
+ LIST_VARIANT_TYPE = src(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n query listVariantType($id: StringFilterInput!) {\n listVariantType(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n selectionType\n values {\n id\n createdAt\n updatedAt\n deleted\n name\n thumbnailImageId\n colorCode\n }\n translations {\n locale\n name\n values {\n id\n name\n }\n }\n }\n }\n "], ["\n query listVariantType($id: StringFilterInput!) {\n listVariantType(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n selectionType\n values {\n id\n createdAt\n updatedAt\n deleted\n name\n thumbnailImageId\n colorCode\n }\n translations {\n locale\n name\n values {\n id\n name\n }\n }\n }\n }\n "])));
36714
36802
  _b.label = 1;
36715
36803
  case 1:
36716
36804
  _b.trys.push([1, 3, , 4]);
@@ -36743,6 +36831,7 @@ var IkasVariantTypeAPI = /** @class */ (function () {
36743
36831
  variantTypeId: vt.id,
36744
36832
  });
36745
36833
  }),
36834
+ translations: vt.translations,
36746
36835
  });
36747
36836
  })];
36748
36837
  case 3:
@@ -36859,7 +36948,7 @@ var IkasStorefront = /** @class */ (function () {
36859
36948
  return IkasStorefront;
36860
36949
  }());
36861
36950
 
36862
- var PACKAGE_VERSION = "0.0.163-alpha.3";
36951
+ var PACKAGE_VERSION = "0.0.163-alpha.5";
36863
36952
  // import { version as PACKAGE_VERSION } from "../../../package.json";
36864
36953
  var PageViewModel = /** @class */ (function () {
36865
36954
  function PageViewModel(router) {
@@ -63081,7 +63170,7 @@ var en = {
63081
63170
 
63082
63171
  securePaymentTooltip: "All payments are secure and encrypted",
63083
63172
  giftPackage: "Gift Package",
63084
- giftPackageCta: "Gift package cta",
63173
+ giftPackageCta: "Gift wrap this order",
63085
63174
  giftPackageCtaPlaceholder: "Enter your gift message",
63086
63175
 
63087
63176
  paymentMethod: "Payment Method",
package/build/index.js CHANGED
@@ -11113,16 +11113,21 @@ var IkasHTMLMetaData = /** @class */ (function () {
11113
11113
  var IkasBrand = /** @class */ (function () {
11114
11114
  function IkasBrand(data) {
11115
11115
  if (data === void 0) { data = {}; }
11116
+ this.description = null;
11116
11117
  this.metaData = null;
11117
11118
  this.image = null;
11118
11119
  this.orderType = null;
11120
+ this.translations = null;
11119
11121
  this.id = data.id || Date.now() + "";
11120
11122
  this.name = data.name || "";
11123
+ this.description = data.description || null;
11121
11124
  this.metaData = data.metaData
11122
11125
  ? new IkasHTMLMetaData(data.metaData)
11123
11126
  : undefined;
11124
11127
  this.image = data.image ? new IkasImage(data.image.id) : null;
11125
11128
  this.orderType = data.orderType || null;
11129
+ this.translations = data.translations || null;
11130
+ this.setTranslations();
11126
11131
  mobx.makeAutoObservable(this);
11127
11132
  }
11128
11133
  Object.defineProperty(IkasBrand.prototype, "href", {
@@ -11135,17 +11140,30 @@ var IkasBrand = /** @class */ (function () {
11135
11140
  enumerable: false,
11136
11141
  configurable: true
11137
11142
  });
11143
+ IkasBrand.prototype.setTranslations = function () {
11144
+ if (this.translations &&
11145
+ this.translations.some(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); })) {
11146
+ var localeTranslations = this.translations.find(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); });
11147
+ if (localeTranslations === null || localeTranslations === void 0 ? void 0 : localeTranslations.name)
11148
+ this.name = localeTranslations.name;
11149
+ if (localeTranslations === null || localeTranslations === void 0 ? void 0 : localeTranslations.description)
11150
+ this.description = localeTranslations.description;
11151
+ }
11152
+ };
11138
11153
  return IkasBrand;
11139
11154
  }());
11140
11155
 
11141
11156
  var IkasCategory = /** @class */ (function () {
11142
11157
  function IkasCategory(data) {
11143
11158
  if (data === void 0) { data = {}; }
11159
+ this.description = null;
11144
11160
  this.metaData = null;
11145
11161
  this.image = null;
11146
11162
  this.orderType = null;
11163
+ this.translations = null;
11147
11164
  this.id = data.id || Date.now() + "";
11148
11165
  this.name = data.name || "";
11166
+ this.description = data.description || null;
11149
11167
  this.parentId = data.parentId || null;
11150
11168
  this.metaData = data.metaData
11151
11169
  ? new IkasHTMLMetaData(data.metaData)
@@ -11153,6 +11171,8 @@ var IkasCategory = /** @class */ (function () {
11153
11171
  this.image = data.image ? new IkasImage(data.image.id) : null;
11154
11172
  this.path = data.path ? data.path.map(function (p) { return new IkasCategoryPath(p); }) : [];
11155
11173
  this.orderType = data.orderType || null;
11174
+ this.translations = data.translations || null;
11175
+ this.setTranslations();
11156
11176
  mobx.makeAutoObservable(this);
11157
11177
  }
11158
11178
  Object.defineProperty(IkasCategory.prototype, "href", {
@@ -11165,6 +11185,16 @@ var IkasCategory = /** @class */ (function () {
11165
11185
  enumerable: false,
11166
11186
  configurable: true
11167
11187
  });
11188
+ IkasCategory.prototype.setTranslations = function () {
11189
+ if (this.translations &&
11190
+ this.translations.some(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); })) {
11191
+ var localeTranslations = this.translations.find(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); });
11192
+ if (localeTranslations === null || localeTranslations === void 0 ? void 0 : localeTranslations.name)
11193
+ this.name = localeTranslations.name;
11194
+ if (localeTranslations === null || localeTranslations === void 0 ? void 0 : localeTranslations.description)
11195
+ this.description = localeTranslations.description;
11196
+ }
11197
+ };
11168
11198
  return IkasCategory;
11169
11199
  }());
11170
11200
  var IkasCategoryPath = /** @class */ (function () {
@@ -17277,6 +17307,8 @@ var IkasPaymentGateway = /** @class */ (function () {
17277
17307
  this.description = data.description || null;
17278
17308
  this.additionalPrices =
17279
17309
  ((_a = data.additionalPrices) === null || _a === void 0 ? void 0 : _a.map(function (ap) { return new IkasPaymentGatewayAdditionalPrice(ap); })) || null;
17310
+ this.translations = data.translations || null;
17311
+ this.setTranslations();
17280
17312
  mobx.makeAutoObservable(this);
17281
17313
  }
17282
17314
  IkasPaymentGateway.prototype.getCalculatedAdditionalPrices = function (totalFinalPrice, shippingLines) {
@@ -17306,6 +17338,16 @@ var IkasPaymentGateway = /** @class */ (function () {
17306
17338
  });
17307
17339
  }
17308
17340
  };
17341
+ IkasPaymentGateway.prototype.setTranslations = function () {
17342
+ if (this.translations &&
17343
+ this.translations.some(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); })) {
17344
+ var localeTranslations = this.translations.find(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); });
17345
+ if (localeTranslations === null || localeTranslations === void 0 ? void 0 : localeTranslations.name)
17346
+ this.name = localeTranslations.name;
17347
+ if (localeTranslations === null || localeTranslations === void 0 ? void 0 : localeTranslations.description)
17348
+ this.description = localeTranslations.description;
17349
+ }
17350
+ };
17309
17351
  return IkasPaymentGateway;
17310
17352
  }());
17311
17353
  var IkasPaymentGatewayAdditionalPrice = /** @class */ (function () {
@@ -25275,13 +25317,36 @@ var IkasProductAttributeOption = /** @class */ (function () {
25275
25317
 
25276
25318
  var IkasProductAttribute = /** @class */ (function () {
25277
25319
  function IkasProductAttribute(data) {
25320
+ this.translations = null;
25278
25321
  this.id = data.id || "";
25279
25322
  this.name = data.name || "";
25323
+ this.description = data.description || "";
25280
25324
  this.type = data.type || exports.IkasProductAttributeType.TEXT;
25281
25325
  this.options = data.options || null;
25282
25326
  this.tableTemplate = data.tableTemplate || null;
25327
+ this.translations = data.translations || null;
25328
+ this.setTranslations();
25283
25329
  mobx.makeAutoObservable(this);
25284
25330
  }
25331
+ IkasProductAttribute.prototype.setTranslations = function () {
25332
+ var _a;
25333
+ if (this.translations &&
25334
+ this.translations.some(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); })) {
25335
+ var localeTranslations_1 = this.translations.find(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); });
25336
+ if (localeTranslations_1 === null || localeTranslations_1 === void 0 ? void 0 : localeTranslations_1.name)
25337
+ this.name = localeTranslations_1.name;
25338
+ if (localeTranslations_1 === null || localeTranslations_1 === void 0 ? void 0 : localeTranslations_1.description)
25339
+ this.description = localeTranslations_1.description;
25340
+ if (localeTranslations_1 === null || localeTranslations_1 === void 0 ? void 0 : localeTranslations_1.options) {
25341
+ (_a = this.options) === null || _a === void 0 ? void 0 : _a.forEach(function (o) {
25342
+ var _a;
25343
+ var translatedVV = (_a = localeTranslations_1.options) === null || _a === void 0 ? void 0 : _a.find(function (to) { return to.id === o.id; });
25344
+ if (translatedVV && translatedVV.name)
25345
+ o.name = translatedVV.name;
25346
+ });
25347
+ }
25348
+ }
25349
+ };
25285
25350
  return IkasProductAttribute;
25286
25351
  }());
25287
25352
  (function (IkasProductAttributeType) {
@@ -25355,6 +25420,7 @@ var IkasVariantType = /** @class */ (function () {
25355
25420
  function IkasVariantType(data) {
25356
25421
  var _this = this;
25357
25422
  if (data === void 0) { data = {}; }
25423
+ this.translations = null;
25358
25424
  this.id = data.id || "";
25359
25425
  this.name = data.name || "";
25360
25426
  this.selectionType = data.selectionType || exports.IkasVariantSelectionType.CHOICE;
@@ -25363,6 +25429,7 @@ var IkasVariantType = /** @class */ (function () {
25363
25429
  return new IkasVariantValue(__assign(__assign({}, v), { variantTypeId: _this.id }));
25364
25430
  })
25365
25431
  : [];
25432
+ this.setTranslations();
25366
25433
  mobx.makeAutoObservable(this);
25367
25434
  }
25368
25435
  Object.defineProperty(IkasVariantType.prototype, "isColorSelection", {
@@ -25379,6 +25446,22 @@ var IkasVariantType = /** @class */ (function () {
25379
25446
  enumerable: false,
25380
25447
  configurable: true
25381
25448
  });
25449
+ IkasVariantType.prototype.setTranslations = function () {
25450
+ if (this.translations &&
25451
+ this.translations.some(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); })) {
25452
+ var localeTranslations_1 = this.translations.find(function (t) { return t.locale === IkasStorefrontConfig.getCurrentLocale(); });
25453
+ if (localeTranslations_1 === null || localeTranslations_1 === void 0 ? void 0 : localeTranslations_1.name)
25454
+ this.name = localeTranslations_1.name;
25455
+ if (localeTranslations_1 === null || localeTranslations_1 === void 0 ? void 0 : localeTranslations_1.values) {
25456
+ this.values.forEach(function (vv) {
25457
+ var _a;
25458
+ var translatedVV = (_a = localeTranslations_1.values) === null || _a === void 0 ? void 0 : _a.find(function (tvv) { return tvv.id === vv.id; });
25459
+ if (translatedVV && translatedVV.name)
25460
+ vv.name = translatedVV.name;
25461
+ });
25462
+ }
25463
+ }
25464
+ };
25382
25465
  return IkasVariantType;
25383
25466
  }());
25384
25467
  (function (IkasVariantSelectionType) {
@@ -28445,13 +28528,13 @@ var CheckoutStatusEnum;
28445
28528
  /**
28446
28529
  * Customer Account Statuses
28447
28530
  */
28448
- var CustomerAccountStatusesEnum;
28449
- (function (CustomerAccountStatusesEnum) {
28450
- CustomerAccountStatusesEnum["ACTIVE_ACCOUNT"] = "ACTIVE_ACCOUNT";
28451
- CustomerAccountStatusesEnum["DECLINED_ACCOUNT_INVITATION"] = "DECLINED_ACCOUNT_INVITATION";
28452
- CustomerAccountStatusesEnum["DISABLED_ACCOUNT"] = "DISABLED_ACCOUNT";
28453
- CustomerAccountStatusesEnum["INVITED_TO_CREATE_ACCOUNT"] = "INVITED_TO_CREATE_ACCOUNT";
28454
- })(CustomerAccountStatusesEnum || (CustomerAccountStatusesEnum = {}));
28531
+ var CustomerAccountStatusEnum;
28532
+ (function (CustomerAccountStatusEnum) {
28533
+ CustomerAccountStatusEnum["ACTIVE_ACCOUNT"] = "ACTIVE_ACCOUNT";
28534
+ CustomerAccountStatusEnum["DECLINED_ACCOUNT_INVITATION"] = "DECLINED_ACCOUNT_INVITATION";
28535
+ CustomerAccountStatusEnum["DISABLED_ACCOUNT"] = "DISABLED_ACCOUNT";
28536
+ CustomerAccountStatusEnum["INVITED_TO_CREATE_ACCOUNT"] = "INVITED_TO_CREATE_ACCOUNT";
28537
+ })(CustomerAccountStatusEnum || (CustomerAccountStatusEnum = {}));
28455
28538
  /**
28456
28539
  * Customer Email Subscription Statuses
28457
28540
  */
@@ -34668,7 +34751,7 @@ var IkasBrandAPI = /** @class */ (function () {
34668
34751
  return __generator(this, function (_b) {
34669
34752
  switch (_b.label) {
34670
34753
  case 0:
34671
- LIST_QUERY = src(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n query listProductBrand(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listProductBrand(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n name\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n }\n count\n }\n }\n "], ["\n query listProductBrand(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listProductBrand(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n name\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n }\n count\n }\n }\n "])));
34754
+ LIST_QUERY = src(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n query listProductBrand(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listProductBrand(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n name\n description\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n translations {\n description\n locale\n name\n }\n }\n count\n }\n }\n "], ["\n query listProductBrand(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listProductBrand(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n name\n description\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n translations {\n description\n locale\n name\n }\n }\n count\n }\n }\n "])));
34672
34755
  _b.label = 1;
34673
34756
  case 1:
34674
34757
  _b.trys.push([1, 3, , 4]);
@@ -34705,7 +34788,9 @@ var IkasBrandAPI = /** @class */ (function () {
34705
34788
  return new IkasBrand({
34706
34789
  id: b.id,
34707
34790
  name: b.name,
34791
+ description: b.description,
34708
34792
  metaData: b.metaData || undefined,
34793
+ translations: b.translations,
34709
34794
  image: b.imageId ? new IkasImage(b.imageId) : undefined,
34710
34795
  orderType: b.orderType,
34711
34796
  });
@@ -34818,7 +34903,7 @@ var IkasCategoryAPI = /** @class */ (function () {
34818
34903
  return __generator(this, function (_b) {
34819
34904
  switch (_b.label) {
34820
34905
  case 0:
34821
- LIST_QUERY = src(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n query listCategory(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listCategory(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n createdAt\n updatedAt\n deleted\n name\n parentId\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n categoryPath\n }\n count\n }\n }\n "], ["\n query listCategory(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listCategory(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n createdAt\n updatedAt\n deleted\n name\n parentId\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n categoryPath\n }\n count\n }\n }\n "])));
34906
+ LIST_QUERY = src(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n query listCategory(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listCategory(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n parentId\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n translations {\n description\n locale\n name\n }\n categoryPath\n }\n count\n }\n }\n "], ["\n query listCategory(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n $sort: String\n ) {\n listCategory(\n id: $id\n pagination: $pagination\n search: $search\n sort: $sort\n ) {\n data {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n parentId\n imageId\n orderType\n metaData {\n slug\n pageTitle\n description\n targetId\n targetType\n redirectTo\n }\n translations {\n description\n locale\n name\n }\n categoryPath\n }\n count\n }\n }\n "])));
34822
34907
  _b.label = 1;
34823
34908
  case 1:
34824
34909
  _b.trys.push([1, 10, , 11]);
@@ -34854,8 +34939,10 @@ var IkasCategoryAPI = /** @class */ (function () {
34854
34939
  return new IkasCategory({
34855
34940
  id: c.id,
34856
34941
  name: c.name,
34942
+ description: c.description,
34857
34943
  parentId: c.parentId,
34858
34944
  metaData: c.metaData || undefined,
34945
+ translations: c.translations,
34859
34946
  image: c.imageId ? new IkasImage(c.imageId) : undefined,
34860
34947
  orderType: c.orderType,
34861
34948
  });
@@ -35223,7 +35310,7 @@ var IkasCheckoutAPI = /** @class */ (function () {
35223
35310
  return __generator(this, function (_b) {
35224
35311
  switch (_b.label) {
35225
35312
  case 0:
35226
- QUERY = src(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n query listPaymentGateway($id: StringFilterInput, $locale: String) {\n listPaymentGateway(id: $id, locale: $locale) {\n paymentMethods {\n name\n logoUrl\n }\n paymentMethodType\n id\n name\n description\n testMode\n code\n additionalPrices {\n amount\n amountType\n name\n type\n }\n }\n }\n "], ["\n query listPaymentGateway($id: StringFilterInput, $locale: String) {\n listPaymentGateway(id: $id, locale: $locale) {\n paymentMethods {\n name\n logoUrl\n }\n paymentMethodType\n id\n name\n description\n testMode\n code\n additionalPrices {\n amount\n amountType\n name\n type\n }\n }\n }\n "])));
35313
+ QUERY = src(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n query listPaymentGateway($id: StringFilterInput, $locale: String) {\n listPaymentGateway(id: $id, locale: $locale) {\n paymentMethods {\n name\n logoUrl\n }\n paymentMethodType\n id\n name\n description\n testMode\n code\n additionalPrices {\n amount\n amountType\n name\n type\n }\n translations {\n description\n locale\n name\n }\n }\n }\n "], ["\n query listPaymentGateway($id: StringFilterInput, $locale: String) {\n listPaymentGateway(id: $id, locale: $locale) {\n paymentMethods {\n name\n logoUrl\n }\n paymentMethodType\n id\n name\n description\n testMode\n code\n additionalPrices {\n amount\n amountType\n name\n type\n }\n translations {\n description\n locale\n name\n }\n }\n }\n "])));
35227
35314
  _b.label = 1;
35228
35315
  case 1:
35229
35316
  _b.trys.push([1, 3, , 4]);
@@ -36255,7 +36342,7 @@ var IkasProductSearchAPI = /** @class */ (function () {
36255
36342
  variables: {
36256
36343
  input: __assign(__assign({}, input), { showStockOption: useStockFilter
36257
36344
  ? IkasStorefrontConfig.stockPreference
36258
- : IkasThemeStockPreference.SHOW_ALL }),
36345
+ : IkasThemeStockPreference.SHOW_ALL, locale: IkasStorefrontConfig.getCurrentLocale() }),
36259
36346
  },
36260
36347
  })];
36261
36348
  case 1:
@@ -36283,13 +36370,14 @@ var IkasProductSearchAPI = /** @class */ (function () {
36283
36370
  switch (_b.label) {
36284
36371
  case 0:
36285
36372
  _b.trys.push([0, 2, , 3]);
36286
- QUERY = src(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n query getProductFilterData($categoryId: String) {\n getProductFilterData(categoryId: $categoryId) {\n filters {\n customValues\n displayType\n id\n isMultiSelect\n isFacetFilter\n key\n name\n order\n type\n values {\n colorCode\n id\n key\n name\n thumbnailImageId\n }\n settings {\n showCollapsedOnDesktop\n showCollapsedOnMobile\n sortType\n useAndFilter\n }\n }\n categories {\n id\n name\n metaData {\n slug\n }\n }\n }\n }\n "], ["\n query getProductFilterData($categoryId: String) {\n getProductFilterData(categoryId: $categoryId) {\n filters {\n customValues\n displayType\n id\n isMultiSelect\n isFacetFilter\n key\n name\n order\n type\n values {\n colorCode\n id\n key\n name\n thumbnailImageId\n }\n settings {\n showCollapsedOnDesktop\n showCollapsedOnMobile\n sortType\n useAndFilter\n }\n }\n categories {\n id\n name\n metaData {\n slug\n }\n }\n }\n }\n "])));
36373
+ QUERY = src(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n query getProductFilterData($categoryId: String, $locale: String) {\n getProductFilterData(categoryId: $categoryId, locale: $locale) {\n filters {\n customValues\n displayType\n id\n isMultiSelect\n isFacetFilter\n key\n name\n order\n type\n values {\n colorCode\n id\n key\n name\n thumbnailImageId\n }\n settings {\n showCollapsedOnDesktop\n showCollapsedOnMobile\n sortType\n useAndFilter\n }\n }\n categories {\n id\n name\n metaData {\n slug\n }\n }\n }\n }\n "], ["\n query getProductFilterData($categoryId: String, $locale: String) {\n getProductFilterData(categoryId: $categoryId, locale: $locale) {\n filters {\n customValues\n displayType\n id\n isMultiSelect\n isFacetFilter\n key\n name\n order\n type\n values {\n colorCode\n id\n key\n name\n thumbnailImageId\n }\n settings {\n showCollapsedOnDesktop\n showCollapsedOnMobile\n sortType\n useAndFilter\n }\n }\n categories {\n id\n name\n metaData {\n slug\n }\n }\n }\n }\n "])));
36287
36374
  return [4 /*yield*/, apollo
36288
36375
  .getClient()
36289
36376
  .query({
36290
36377
  query: QUERY,
36291
36378
  variables: {
36292
36379
  categoryId: categoryId || null,
36380
+ locale: IkasStorefrontConfig.getCurrentLocale(),
36293
36381
  },
36294
36382
  })];
36295
36383
  case 1:
@@ -36458,7 +36546,7 @@ var IkasProductAttributeAPI = /** @class */ (function () {
36458
36546
  return __generator(this, function (_b) {
36459
36547
  switch (_b.label) {
36460
36548
  case 0:
36461
- LIST_PRODUCT_ATTRIBUTES = src(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n query listProductAttribute($id: StringFilterInput!) {\n listProductAttribute(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n type\n options {\n id\n createdAt\n updatedAt\n deleted\n name\n }\n }\n }\n "], ["\n query listProductAttribute($id: StringFilterInput!) {\n listProductAttribute(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n type\n options {\n id\n createdAt\n updatedAt\n deleted\n name\n }\n }\n }\n "])));
36549
+ LIST_PRODUCT_ATTRIBUTES = src(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n query listProductAttribute($id: StringFilterInput!) {\n listProductAttribute(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n type\n options {\n id\n createdAt\n updatedAt\n deleted\n name\n }\n translations {\n description\n locale\n name\n options {\n id\n name\n }\n }\n }\n }\n "], ["\n query listProductAttribute($id: StringFilterInput!) {\n listProductAttribute(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n type\n options {\n id\n createdAt\n updatedAt\n deleted\n name\n }\n translations {\n description\n locale\n name\n options {\n id\n name\n }\n }\n }\n }\n "])));
36462
36550
  _b.label = 1;
36463
36551
  case 1:
36464
36552
  _b.trys.push([1, 3, , 4]);
@@ -36689,7 +36777,7 @@ var IkasVariantTypeAPI = /** @class */ (function () {
36689
36777
  return __generator(this, function (_b) {
36690
36778
  switch (_b.label) {
36691
36779
  case 0:
36692
- LIST_VARIANT_TYPE = src(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n query listVariantType($id: StringFilterInput!) {\n listVariantType(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n selectionType\n values {\n id\n createdAt\n updatedAt\n deleted\n name\n thumbnailImageId\n colorCode\n }\n }\n }\n "], ["\n query listVariantType($id: StringFilterInput!) {\n listVariantType(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n selectionType\n values {\n id\n createdAt\n updatedAt\n deleted\n name\n thumbnailImageId\n colorCode\n }\n }\n }\n "])));
36780
+ LIST_VARIANT_TYPE = src(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n query listVariantType($id: StringFilterInput!) {\n listVariantType(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n selectionType\n values {\n id\n createdAt\n updatedAt\n deleted\n name\n thumbnailImageId\n colorCode\n }\n translations {\n locale\n name\n values {\n id\n name\n }\n }\n }\n }\n "], ["\n query listVariantType($id: StringFilterInput!) {\n listVariantType(id: $id) {\n id\n createdAt\n updatedAt\n deleted\n name\n selectionType\n values {\n id\n createdAt\n updatedAt\n deleted\n name\n thumbnailImageId\n colorCode\n }\n translations {\n locale\n name\n values {\n id\n name\n }\n }\n }\n }\n "])));
36693
36781
  _b.label = 1;
36694
36782
  case 1:
36695
36783
  _b.trys.push([1, 3, , 4]);
@@ -36722,6 +36810,7 @@ var IkasVariantTypeAPI = /** @class */ (function () {
36722
36810
  variantTypeId: vt.id,
36723
36811
  });
36724
36812
  }),
36813
+ translations: vt.translations,
36725
36814
  });
36726
36815
  })];
36727
36816
  case 3:
@@ -36838,7 +36927,7 @@ var IkasStorefront = /** @class */ (function () {
36838
36927
  return IkasStorefront;
36839
36928
  }());
36840
36929
 
36841
- var PACKAGE_VERSION = "0.0.163-alpha.3";
36930
+ var PACKAGE_VERSION = "0.0.163-alpha.5";
36842
36931
  // import { version as PACKAGE_VERSION } from "../../../package.json";
36843
36932
  var PageViewModel = /** @class */ (function () {
36844
36933
  function PageViewModel(router) {
@@ -63060,7 +63149,7 @@ var en = {
63060
63149
 
63061
63150
  securePaymentTooltip: "All payments are secure and encrypted",
63062
63151
  giftPackage: "Gift Package",
63063
- giftPackageCta: "Gift package cta",
63152
+ giftPackageCta: "Gift wrap this order",
63064
63153
  giftPackageCtaPlaceholder: "Enter your gift message",
63065
63154
 
63066
63155
  paymentMethod: "Payment Method",
@@ -4,9 +4,18 @@ import { ModelOrder } from "../category/index";
4
4
  export declare class IkasBrand {
5
5
  id: string;
6
6
  name: string;
7
+ description: string | null;
7
8
  metaData?: IkasHTMLMetaData | null;
8
9
  image?: IkasImage | null;
9
10
  orderType: ModelOrder | null;
11
+ translations: IkasProductBrandTranslation[] | null;
10
12
  constructor(data?: Partial<IkasBrand>);
11
13
  get href(): string;
14
+ private setTranslations;
12
15
  }
16
+ declare type IkasProductBrandTranslation = {
17
+ description: string | null;
18
+ locale: string;
19
+ name: string | null;
20
+ };
21
+ export {};
@@ -3,13 +3,16 @@ import { IkasHTMLMetaData } from "../html-meta-data/index";
3
3
  export declare class IkasCategory {
4
4
  id: string;
5
5
  name: string;
6
+ description: string | null;
6
7
  parentId: string | null;
7
8
  metaData?: IkasHTMLMetaData | null;
8
9
  image?: IkasImage | null;
9
10
  path: IkasCategoryPath[];
10
11
  orderType: ModelOrder | null;
12
+ translations: IkasCategoryTranslation[] | null;
11
13
  constructor(data?: Partial<IkasCategory>);
12
14
  get href(): string;
15
+ private setTranslations;
13
16
  }
14
17
  export declare class IkasCategoryPath {
15
18
  id: string;
@@ -41,3 +44,9 @@ export declare enum ModelOrder {
41
44
  NEWEST = "NEWEST",
42
45
  OLDEST = "OLDEST"
43
46
  }
47
+ declare type IkasCategoryTranslation = {
48
+ description: string | null;
49
+ locale: string;
50
+ name: string | null;
51
+ };
52
+ export {};
@@ -8,12 +8,14 @@ export declare class IkasPaymentGateway {
8
8
  testMode: boolean | null;
9
9
  description: string | null;
10
10
  additionalPrices: IkasPaymentGatewayAdditionalPrice[] | null;
11
+ translations: IkasPaymentGatewayTranslation[] | null;
11
12
  constructor(data: Partial<IkasPaymentGateway>);
12
13
  getCalculatedAdditionalPrices(totalFinalPrice: number, shippingLines: IkasOrderShippingLine[] | null): {
13
14
  name: string;
14
15
  amount: number;
15
16
  type: IkasPaymentMethodAdditionalPriceType;
16
17
  }[] | undefined;
18
+ private setTranslations;
17
19
  }
18
20
  export declare type IkasPaymentMethod = {
19
21
  name: string;
@@ -43,3 +45,9 @@ export declare enum IkasPaymentGatewayAdditionalPriceAmountType {
43
45
  AMOUNT = "AMOUNT",
44
46
  RATIO = "RATIO"
45
47
  }
48
+ declare type IkasPaymentGatewayTranslation = {
49
+ description: string | null;
50
+ locale: string;
51
+ name: string | null;
52
+ };
53
+ export {};
@@ -3,10 +3,13 @@ import { IkasProductAttributeTableTemplate } from "./product-attribute-table-tem
3
3
  export declare class IkasProductAttribute {
4
4
  id: string;
5
5
  name: string;
6
+ description: string | null;
6
7
  type: IkasProductAttributeType;
7
8
  options?: IkasProductAttributeOption[] | null;
8
9
  tableTemplate?: IkasProductAttributeTableTemplate | null;
10
+ translations: IkasProductAttributeTranslation[] | null;
9
11
  constructor(data: Partial<IkasProductAttribute>);
12
+ private setTranslations;
10
13
  }
11
14
  export declare enum IkasProductAttributeType {
12
15
  CHOICE = "CHOICE",
@@ -18,3 +21,14 @@ export declare enum IkasProductAttributeType {
18
21
  HTML = "HTML",
19
22
  TABLE = "TABLE"
20
23
  }
24
+ declare type IkasProductAttributeTranslation = {
25
+ description: string | null;
26
+ locale: string;
27
+ name: string | null;
28
+ options: IkasProductAttributeOptionTranslation[] | null;
29
+ };
30
+ declare type IkasProductAttributeOptionTranslation = {
31
+ id: string;
32
+ name: string | null;
33
+ };
34
+ export {};
@@ -4,11 +4,23 @@ export declare class IkasVariantType {
4
4
  name: string;
5
5
  selectionType: IkasVariantSelectionType;
6
6
  values: IkasVariantValue[];
7
+ translations: IkasVariantTypeTranslation[] | null;
7
8
  constructor(data?: Partial<IkasVariantType>);
8
9
  get isColorSelection(): boolean;
9
10
  get slug(): string;
11
+ private setTranslations;
10
12
  }
11
13
  export declare enum IkasVariantSelectionType {
12
14
  CHOICE = "CHOICE",
13
15
  COLOR = "COLOR"
14
16
  }
17
+ declare type IkasVariantTypeTranslation = {
18
+ locale: string;
19
+ name: string | null;
20
+ values: IkasVariantValueTranslation[] | null;
21
+ };
22
+ declare type IkasVariantValueTranslation = {
23
+ id: string;
24
+ name: string | null;
25
+ };
26
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.163-alpha.4",
3
+ "version": "0.0.163-alpha.5",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",