@ikas/storefront 1.0.9 → 1.0.11
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/index.es.js
CHANGED
|
@@ -26583,7 +26583,7 @@ var CheckoutViewModel = /** @class */ (function () {
|
|
|
26583
26583
|
: true;
|
|
26584
26584
|
});
|
|
26585
26585
|
shippingCountry_1 = (_a = this.checkout.shippingAddress) === null || _a === void 0 ? void 0 : _a.country;
|
|
26586
|
-
if (shippingCountry_1) {
|
|
26586
|
+
if (shippingCountry_1 && shippingCountry_1.iso2) {
|
|
26587
26587
|
paymentGateways = paymentGateways.filter(function (pg) {
|
|
26588
26588
|
return pg.availableCountries.length
|
|
26589
26589
|
? pg.availableCountries.includes(shippingCountry_1.iso2 || "")
|
|
@@ -42391,7 +42391,7 @@ var IkasCustomerAPI = /** @class */ (function () {
|
|
|
42391
42391
|
return __generator(this, function (_b) {
|
|
42392
42392
|
switch (_b.label) {
|
|
42393
42393
|
case 0:
|
|
42394
|
-
MUTATION = src(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n }\n }\n }\n "], ["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n }\n }\n }\n "])));
|
|
42394
|
+
MUTATION = src(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n }\n }\n }\n "], ["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n }\n }\n }\n "])));
|
|
42395
42395
|
_b.label = 1;
|
|
42396
42396
|
case 1:
|
|
42397
42397
|
_b.trys.push([1, 3, , 4]);
|
|
@@ -42427,7 +42427,7 @@ var IkasCustomerAPI = /** @class */ (function () {
|
|
|
42427
42427
|
return __generator(this, function (_b) {
|
|
42428
42428
|
switch (_b.label) {
|
|
42429
42429
|
case 0:
|
|
42430
|
-
MUTATION = src(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "], ["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "])));
|
|
42430
|
+
MUTATION = src(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "], ["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "])));
|
|
42431
42431
|
_b.label = 1;
|
|
42432
42432
|
case 1:
|
|
42433
42433
|
_b.trys.push([1, 3, , 4]);
|
|
@@ -42638,7 +42638,7 @@ var IkasCustomerAPI = /** @class */ (function () {
|
|
|
42638
42638
|
return __generator(this, function (_b) {
|
|
42639
42639
|
switch (_b.label) {
|
|
42640
42640
|
case 0:
|
|
42641
|
-
MUTATION = src(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n mutation saveMyCustomer($input: SaveMyCustomerInput!) {\n saveMyCustomer(input: $input) {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n identityNumber\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n "], ["\n mutation saveMyCustomer($input: SaveMyCustomerInput!) {\n saveMyCustomer(input: $input) {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n identityNumber\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n "])));
|
|
42641
|
+
MUTATION = src(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n mutation saveMyCustomer($input: SaveMyCustomerInput!) {\n saveMyCustomer(input: $input) {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n identityNumber\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n "], ["\n mutation saveMyCustomer($input: SaveMyCustomerInput!) {\n saveMyCustomer(input: $input) {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n identityNumber\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n "])));
|
|
42642
42642
|
_b.label = 1;
|
|
42643
42643
|
case 1:
|
|
42644
42644
|
_b.trys.push([1, 3, , 4]);
|
|
@@ -72466,8 +72466,9 @@ var IkasNextPageDataProvider = /** @class */ (function () {
|
|
|
72466
72466
|
: null;
|
|
72467
72467
|
customerReviewSettings_1 = settings.customerReviewSettings
|
|
72468
72468
|
? {
|
|
72469
|
-
customerLoginRequired: settings.customerReviewSettings.customerLoginRequired,
|
|
72470
|
-
customerPurchaseRequired: settings.customerReviewSettings.customerPurchaseRequired
|
|
72469
|
+
customerLoginRequired: settings.customerReviewSettings.customerLoginRequired || false,
|
|
72470
|
+
customerPurchaseRequired: settings.customerReviewSettings.customerPurchaseRequired ||
|
|
72471
|
+
false,
|
|
72471
72472
|
}
|
|
72472
72473
|
: null;
|
|
72473
72474
|
themeLocalizationPath = localizationMap[locale];
|
package/build/index.js
CHANGED
|
@@ -26563,7 +26563,7 @@ var CheckoutViewModel = /** @class */ (function () {
|
|
|
26563
26563
|
: true;
|
|
26564
26564
|
});
|
|
26565
26565
|
shippingCountry_1 = (_a = this.checkout.shippingAddress) === null || _a === void 0 ? void 0 : _a.country;
|
|
26566
|
-
if (shippingCountry_1) {
|
|
26566
|
+
if (shippingCountry_1 && shippingCountry_1.iso2) {
|
|
26567
26567
|
paymentGateways = paymentGateways.filter(function (pg) {
|
|
26568
26568
|
return pg.availableCountries.length
|
|
26569
26569
|
? pg.availableCountries.includes(shippingCountry_1.iso2 || "")
|
|
@@ -42368,7 +42368,7 @@ var IkasCustomerAPI = /** @class */ (function () {
|
|
|
42368
42368
|
return __generator(this, function (_b) {
|
|
42369
42369
|
switch (_b.label) {
|
|
42370
42370
|
case 0:
|
|
42371
|
-
MUTATION = src(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n }\n }\n }\n "], ["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n }\n }\n }\n "])));
|
|
42371
|
+
MUTATION = src(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n }\n }\n }\n "], ["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n }\n }\n }\n "])));
|
|
42372
42372
|
_b.label = 1;
|
|
42373
42373
|
case 1:
|
|
42374
42374
|
_b.trys.push([1, 3, , 4]);
|
|
@@ -42404,7 +42404,7 @@ var IkasCustomerAPI = /** @class */ (function () {
|
|
|
42404
42404
|
return __generator(this, function (_b) {
|
|
42405
42405
|
switch (_b.label) {
|
|
42406
42406
|
case 0:
|
|
42407
|
-
MUTATION = src(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "], ["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "])));
|
|
42407
|
+
MUTATION = src(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "], ["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "])));
|
|
42408
42408
|
_b.label = 1;
|
|
42409
42409
|
case 1:
|
|
42410
42410
|
_b.trys.push([1, 3, , 4]);
|
|
@@ -42615,7 +42615,7 @@ var IkasCustomerAPI = /** @class */ (function () {
|
|
|
42615
42615
|
return __generator(this, function (_b) {
|
|
42616
42616
|
switch (_b.label) {
|
|
42617
42617
|
case 0:
|
|
42618
|
-
MUTATION = src(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n mutation saveMyCustomer($input: SaveMyCustomerInput!) {\n saveMyCustomer(input: $input) {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n identityNumber\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n "], ["\n mutation saveMyCustomer($input: SaveMyCustomerInput!) {\n saveMyCustomer(input: $input) {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n identityNumber\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n "])));
|
|
42618
|
+
MUTATION = src(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n mutation saveMyCustomer($input: SaveMyCustomerInput!) {\n saveMyCustomer(input: $input) {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n identityNumber\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n "], ["\n mutation saveMyCustomer($input: SaveMyCustomerInput!) {\n saveMyCustomer(input: $input) {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n identityNumber\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n "])));
|
|
42619
42619
|
_b.label = 1;
|
|
42620
42620
|
case 1:
|
|
42621
42621
|
_b.trys.push([1, 3, , 4]);
|
|
@@ -72443,8 +72443,9 @@ var IkasNextPageDataProvider = /** @class */ (function () {
|
|
|
72443
72443
|
: null;
|
|
72444
72444
|
customerReviewSettings_1 = settings.customerReviewSettings
|
|
72445
72445
|
? {
|
|
72446
|
-
customerLoginRequired: settings.customerReviewSettings.customerLoginRequired,
|
|
72447
|
-
customerPurchaseRequired: settings.customerReviewSettings.customerPurchaseRequired
|
|
72446
|
+
customerLoginRequired: settings.customerReviewSettings.customerLoginRequired || false,
|
|
72447
|
+
customerPurchaseRequired: settings.customerReviewSettings.customerPurchaseRequired ||
|
|
72448
|
+
false,
|
|
72448
72449
|
}
|
|
72449
72450
|
: null;
|
|
72450
72451
|
themeLocalizationPath = localizationMap[locale];
|
|
@@ -29,6 +29,8 @@ declare type IkasCustomerAddressLocation = {
|
|
|
29
29
|
id?: string;
|
|
30
30
|
name?: string;
|
|
31
31
|
code?: string;
|
|
32
|
+
iso2?: string;
|
|
33
|
+
iso3?: string;
|
|
32
34
|
};
|
|
33
35
|
export declare type IkasCustomerAddressCountry = IkasCustomerAddressLocation;
|
|
34
36
|
export declare type IkasCustomerAddressCity = IkasCustomerAddressLocation;
|
|
@@ -19,7 +19,7 @@ export declare class IkasNextPageDataProvider {
|
|
|
19
19
|
revalidate?: undefined;
|
|
20
20
|
} | {
|
|
21
21
|
props: {
|
|
22
|
-
propValuesStr:
|
|
22
|
+
propValuesStr: any;
|
|
23
23
|
pageSpecificDataStr: string;
|
|
24
24
|
pageType: IkasThemePageType;
|
|
25
25
|
pageTitle: string | null;
|
|
@@ -50,7 +50,7 @@ export declare class IkasNextPageDataProvider {
|
|
|
50
50
|
revalidate?: undefined;
|
|
51
51
|
} | {
|
|
52
52
|
props: {
|
|
53
|
-
propValuesStr:
|
|
53
|
+
propValuesStr: any;
|
|
54
54
|
pageSpecificDataStr: string;
|
|
55
55
|
pageType: IkasThemePageType;
|
|
56
56
|
pageTitle: string | null;
|
|
@@ -90,7 +90,7 @@ export declare class IkasNextPageDataProvider {
|
|
|
90
90
|
revalidate?: undefined;
|
|
91
91
|
} | {
|
|
92
92
|
props: {
|
|
93
|
-
propValuesStr:
|
|
93
|
+
propValuesStr: any;
|
|
94
94
|
pageSpecificDataStr: string;
|
|
95
95
|
pageType: IkasThemePageType;
|
|
96
96
|
pageTitle: string | null;
|
|
@@ -121,7 +121,7 @@ export declare class IkasNextPageDataProvider {
|
|
|
121
121
|
revalidate?: undefined;
|
|
122
122
|
} | {
|
|
123
123
|
props: {
|
|
124
|
-
propValuesStr:
|
|
124
|
+
propValuesStr: any;
|
|
125
125
|
pageSpecificDataStr: string;
|
|
126
126
|
pageType: IkasThemePageType;
|
|
127
127
|
pageTitle: string | null;
|
|
@@ -161,7 +161,7 @@ export declare class IkasNextPageDataProvider {
|
|
|
161
161
|
revalidate?: undefined;
|
|
162
162
|
} | {
|
|
163
163
|
props: {
|
|
164
|
-
propValuesStr:
|
|
164
|
+
propValuesStr: any;
|
|
165
165
|
pageSpecificDataStr: string;
|
|
166
166
|
pageType: IkasThemePageType;
|
|
167
167
|
pageTitle: string | null;
|
|
@@ -192,7 +192,7 @@ export declare class IkasNextPageDataProvider {
|
|
|
192
192
|
revalidate?: undefined;
|
|
193
193
|
} | {
|
|
194
194
|
props: {
|
|
195
|
-
propValuesStr:
|
|
195
|
+
propValuesStr: any;
|
|
196
196
|
pageSpecificDataStr: string;
|
|
197
197
|
pageType: IkasThemePageType;
|
|
198
198
|
pageTitle: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"main": "./build/index.js",
|
|
5
5
|
"module": "./build/index.es.js",
|
|
6
6
|
"author": "Umut Ozan Yıldırım",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "rm -rf ./build && rollup -c",
|
|
13
|
-
"
|
|
13
|
+
"prepack": "npm run build",
|
|
14
14
|
"lint": "eslint 'src/**/*.{js,ts,tsx}' --quiet --fix",
|
|
15
15
|
"test": "jest",
|
|
16
16
|
"codegen": "apollo client:codegen --target typescript --watch --globalTypesFile='./src/__generated__/global-types.ts'"
|