@ikas/storefront 5.0.0-beta.27 → 5.0.0-beta.29
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/analytics/events.d.ts +2 -2
- package/build/components/checkout/components/address-form/model.d.ts +1 -1
- package/build/components/checkout/components/adyen/index.d.ts +1 -1
- package/build/components/checkout/components/button/index.d.ts +1 -1
- package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +1 -1
- package/build/components/checkout/components/cart-summary/index.d.ts +1 -1
- package/build/components/checkout/components/checkbox/check.d.ts +1 -1
- package/build/components/checkout/components/checkbox/index.d.ts +1 -1
- package/build/components/checkout/components/credit-card-form/index.d.ts +1 -1
- package/build/components/checkout/components/credit-card-form/model.d.ts +1 -1
- package/build/components/checkout/components/credit-card-form/svg/amex.d.ts +1 -1
- package/build/components/checkout/components/credit-card-form/svg/master-card.d.ts +1 -1
- package/build/components/checkout/components/credit-card-form/svg/troy.d.ts +1 -1
- package/build/components/checkout/components/credit-card-form/svg/visa.d.ts +1 -1
- package/build/components/checkout/components/customer-addresses/index.d.ts +4 -4
- package/build/components/checkout/components/customer-addresses/model.d.ts +1 -1
- package/build/components/checkout/components/delivery-methods/icon-button/index.d.ts +1 -1
- package/build/components/checkout/components/delivery-methods/icons/box.d.ts +1 -1
- package/build/components/checkout/components/delivery-methods/icons/store.d.ts +1 -1
- package/build/components/checkout/components/delivery-methods/index.d.ts +1 -1
- package/build/components/checkout/components/epaykolay-button/index.d.ts +1 -1
- package/build/components/checkout/components/error/customer-login-required-error/index.d.ts +1 -1
- package/build/components/checkout/components/error/index.d.ts +1 -1
- package/build/components/checkout/components/error/payment-error/index.d.ts +1 -1
- package/build/components/checkout/components/error/stock-error/index.d.ts +1 -1
- package/build/components/checkout/components/error/unknown-error/index.d.ts +1 -1
- package/build/components/checkout/components/expandable-section/index.d.ts +2 -1
- package/build/components/checkout/components/form-item/caret-down.d.ts +1 -1
- package/build/components/checkout/components/form-item/model.d.ts +1 -1
- package/build/components/checkout/components/input-with-button/index.d.ts +1 -1
- package/build/components/checkout/components/klarna/index.d.ts +1 -1
- package/build/components/checkout/components/master-pass/credit-card-form/index.d.ts +1 -1
- package/build/components/checkout/components/master-pass/link-card-to-client/index.d.ts +1 -1
- package/build/components/checkout/components/master-pass/modal/index.d.ts +1 -1
- package/build/components/checkout/components/master-pass/modal-otp/index.d.ts +1 -1
- package/build/components/checkout/components/master-pass/modal-response/index.d.ts +1 -1
- package/build/components/checkout/components/master-pass/modal-success/index.d.ts +2 -2
- package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.js +1 -1
- package/build/components/checkout/components/master-pass/payment-gateway/svg/troy.d.ts +1 -1
- package/build/components/checkout/components/master-pass/payment-gateway/svg/visa.d.ts +1 -1
- package/build/components/checkout/components/modal/index.d.ts +1 -1
- package/build/components/checkout/components/modal/useEscape.d.ts +1 -1
- package/build/components/checkout/components/notification-box/index.d.ts +1 -1
- package/build/components/checkout/components/offer-product/index.d.ts +1 -1
- package/build/components/checkout/components/offer-product/select/arrows.d.ts +1 -1
- package/build/components/checkout/components/offer-product/select/index.d.ts +1 -1
- package/build/components/checkout/components/paypal/index.d.ts +1 -1
- package/build/components/checkout/components/phone-number-input/get-countries.d.ts +1 -1
- package/build/components/checkout/components/phone-number-input/index.d.ts +1 -1
- package/build/components/checkout/components/quick-registration/completed.d.ts +1 -1
- package/build/components/checkout/components/quick-registration/index.d.ts +1 -1
- package/build/components/checkout/components/select-box/index.d.ts +1 -1
- package/build/components/checkout/components/step-container/index.d.ts +1 -1
- package/build/components/checkout/components/stripe/checkout-form.d.ts +1 -1
- package/build/components/checkout/components/stripe/index.d.ts +1 -1
- package/build/components/checkout/components/svg/arrow-down.d.ts +1 -1
- package/build/components/checkout/components/svg/arrow-left.d.ts +1 -1
- package/build/components/checkout/components/svg/arrow-right.d.ts +1 -1
- package/build/components/checkout/components/svg/cross.d.ts +1 -1
- package/build/components/checkout/components/svg/discount.d.ts +1 -1
- package/build/components/checkout/components/svg/epaykolay.d.ts +1 -1
- package/build/components/checkout/components/svg/external.d.ts +1 -1
- package/build/components/checkout/components/svg/gift.d.ts +1 -1
- package/build/components/checkout/components/svg/ikas.d.ts +1 -1
- package/build/components/checkout/components/svg/lock.d.ts +1 -1
- package/build/components/checkout/components/svg/shopping-cart.d.ts +1 -1
- package/build/components/checkout/components/svg/success-circle.d.ts +1 -1
- package/build/components/checkout/components/svg/tag.d.ts +1 -1
- package/build/components/checkout/components/svg/warning.d.ts +1 -1
- package/build/components/checkout/components/toggle/index.d.ts +1 -1
- package/build/components/checkout/components/tooltip/index.d.ts +1 -1
- package/build/components/checkout/index.d.ts +2 -2
- package/build/components/checkout/model.d.ts +1 -1
- package/build/components/checkout/modelMasterPass.d.ts +12 -12
- package/build/components/checkout/steps/step-info/index.d.ts +1 -1
- package/build/components/checkout/steps/step-payment/billing-address/index.d.ts +1 -1
- package/build/components/checkout/steps/step-payment/index.d.ts +1 -1
- package/build/components/checkout/steps/step-payment/payment-gateways/index.d.ts +1 -1
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +1 -1
- package/build/components/checkout/steps/step-shipping/index.d.ts +1 -1
- package/build/components/checkout/steps/step-success/index.d.ts +1 -1
- package/build/components/checkout/types.d.ts +3 -3
- package/build/components/google-captcha/index.d.ts +1 -1
- package/build/components/image/index.d.ts +2 -1
- package/build/components/link/index.d.ts +5 -14
- package/build/components/link/index.js +1 -1
- package/build/components/page/ThemeComponent.d.ts +1 -1
- package/build/components/page/head.d.ts +1 -1
- package/build/components/page/index.d.ts +1 -1
- package/build/components/page-editor/ThemeComponentEditor.d.ts +1 -1
- package/build/components/page-editor/loader/index.d.ts +1 -1
- package/build/components/page-editor/model.js +1 -1
- package/build/models/data/checkout/index.d.ts +1 -1
- package/build/models/data/localized-customer-address/functions.d.ts +2 -0
- package/build/models/data/localized-customer-address/index.d.ts +1 -1
- package/build/models/data/localized-order-address/functions.d.ts +2 -0
- package/build/models/data/localized-order-address/index.d.ts +1 -1
- package/build/models/data/review-form/index.d.ts +1 -1
- package/build/models/ui/blog-category-list/index.d.ts +1 -1
- package/build/models/ui/blog-list/index.d.ts +1 -1
- package/build/models/ui/brand-list/index.d.ts +1 -1
- package/build/models/ui/category-list/index.d.ts +1 -1
- package/build/models/ui/component-renderer/index.d.ts +1 -1
- package/build/models/ui/customer-review-list/index.d.ts +1 -1
- package/build/models/ui/customer-review-summary-list/index.d.ts +1 -1
- package/build/models/ui/list-commons/index.d.ts +1 -1
- package/build/models/ui/navigation-link/index.d.ts +1 -1
- package/build/models/ui/product-list/index.d.ts +1 -1
- package/build/models/ui/raffle-list/index.d.ts +1 -1
- package/build/models/ui/validator/form/account-info.d.ts +2 -2
- package/build/models/ui/validator/form/address.d.ts +2 -2
- package/build/models/ui/validator/form/contact-form.d.ts +2 -2
- package/build/models/ui/validator/form/customer-review.d.ts +2 -2
- package/build/models/ui/validator/form/forgot-password.d.ts +2 -2
- package/build/models/ui/validator/form/ikas-address.d.ts +7 -2
- package/build/models/ui/validator/form/login.d.ts +2 -2
- package/build/models/ui/validator/form/raffle-form.d.ts +2 -2
- package/build/models/ui/validator/form/recover-password.d.ts +2 -2
- package/build/models/ui/validator/form/register.d.ts +5 -5
- package/build/models/ui/validator/index.d.ts +2 -2
- package/build/models/ui/validator/rules/index.d.ts +2 -2
- package/build/pages/checkout.d.ts +1 -1
- package/build/pages/editor.d.ts +1 -1
- package/build/store/base/index.d.ts +3 -3
- package/build/store/cart/index.d.ts +2 -2
- package/build/store/customer/index.d.ts +1 -1
- package/build/store/customer/index.js +1 -1
- package/build/utils/i18n.d.ts +2 -2
- package/package.json +10 -13
|
@@ -27,11 +27,11 @@ export declare enum IkasEventType {
|
|
|
27
27
|
CONTACT_FORM = "CONTACT_FORM",
|
|
28
28
|
EMAIL_SUBSCRIPTION = "EMAIL_SUBSCRIPTION"
|
|
29
29
|
}
|
|
30
|
-
export
|
|
30
|
+
export type IkasEventSubscriber = {
|
|
31
31
|
id: string;
|
|
32
32
|
callback: (event: IkasEvent) => void;
|
|
33
33
|
};
|
|
34
|
-
export
|
|
34
|
+
export type IkasEvent = {
|
|
35
35
|
type: IkasEventType;
|
|
36
36
|
data: any;
|
|
37
37
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IkasCountry, IkasState, IkasCity, IkasDistrict, IkasLocalizedCustomerAddress, IkasLocalizedOrderAddress } from "../../../../models";
|
|
2
|
-
|
|
2
|
+
type Callback = ((value: string) => void) | null | undefined;
|
|
3
3
|
export interface AddressFormViewModelParams {
|
|
4
4
|
address: IkasLocalizedOrderAddress | IkasLocalizedCustomerAddress;
|
|
5
5
|
isCorporate?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { IkasOrderLineItem } from "../../../../../models";
|
|
3
3
|
import CheckoutViewModel, { IUnavailableItems } from "../../../../../components/checkout/model";
|
|
4
|
-
|
|
4
|
+
type Props = {
|
|
5
5
|
vm: CheckoutViewModel;
|
|
6
6
|
currencyCode: string;
|
|
7
7
|
cartItem: IkasOrderLineItem;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import CustomerAddressesViewModel from "./model";
|
|
3
|
-
|
|
3
|
+
type Props = {
|
|
4
4
|
vm: CustomerAddressesViewModel;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: React.FunctionComponent<Props>;
|
|
7
7
|
export default _default;
|
|
8
|
-
|
|
8
|
+
type CustomerAddressFormProps = {
|
|
9
9
|
vm: CustomerAddressesViewModel;
|
|
10
10
|
};
|
|
11
11
|
export declare const CustomerAddressForm: React.FC<CustomerAddressFormProps>;
|
|
12
|
-
|
|
12
|
+
type RecipientFormProps = {
|
|
13
13
|
vm: CustomerAddressesViewModel;
|
|
14
14
|
};
|
|
15
15
|
export declare const RecipientForm: React.FC<RecipientFormProps>;
|
|
16
|
-
|
|
16
|
+
type SaveAddressProps = {
|
|
17
17
|
vm: CustomerAddressesViewModel;
|
|
18
18
|
};
|
|
19
19
|
export declare const SaveAddressCheckboxAndTitle: React.FC<SaveAddressProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import CheckoutViewModel from "../../model";
|
|
2
2
|
import { IkasLocalizedCustomerAddress } from "../../../../models";
|
|
3
|
-
export
|
|
3
|
+
export type AddressType = "shipping" | "billing";
|
|
4
4
|
export default class CustomerAddressesViewModel {
|
|
5
5
|
vm: CheckoutViewModel;
|
|
6
6
|
addressType: AddressType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import CheckoutViewModel from "../../../model";
|
|
3
|
-
export
|
|
3
|
+
export type OtpModalType = "bankOtp" | "masterPassOtp";
|
|
4
4
|
declare const MasterPassOtpModal: React.FC<{
|
|
5
5
|
visible: boolean;
|
|
6
6
|
type: OtpModalType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export
|
|
3
|
-
|
|
2
|
+
export type SuccessModalType = "register" | "linkCardToClient";
|
|
3
|
+
type Props = {
|
|
4
4
|
visible: boolean;
|
|
5
5
|
type: SuccessModalType;
|
|
6
6
|
onClose: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import c from"react";var e=function(){return c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"svg3409",x:"0px",y:"0px",width:"36px",height:"28px",viewBox:"0 0 999.2 776",
|
|
1
|
+
import c from"react";var e=function(){return c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"svg3409",x:"0px",y:"0px",width:"36px",height:"28px",viewBox:"0 0 999.2 776",enableBackground:"new 0 0 999.2 776"},c.createElement("path",{id:"XMLID_1775_",d:"M181.1,774.3v-51.5c0-19.7-12-32.6-32.6-32.6 c-10.3,0-21.5,3.4-29.2,14.6c-6-9.4-14.6-14.6-27.5-14.6c-8.6,0-17.2,2.6-24,12v-10.3h-18v82.4h18v-45.5c0-14.6,7.7-21.5,19.7-21.5 s18,7.7,18,21.5v45.5h18v-45.5c0-14.6,8.6-21.5,19.7-21.5c12,0,18,7.7,18,21.5v45.5H181.1z M448.1,691.9h-29.2V667h-18v24.9h-16.3 v16.3h16.3v37.8c0,18.9,7.7,30,28.3,30c7.7,0,16.3-2.6,22.3-6l-5.2-15.5c-5.2,3.4-11.2,4.3-15.5,4.3c-8.6,0-12-5.2-12-13.7v-36.9 h29.2V691.9z M600.9,690.1c-10.3,0-17.2,5.2-21.5,12v-10.3h-18v82.4h18v-46.4c0-13.7,6-21.5,17.2-21.5c3.4,0,7.7,0.9,11.2,1.7 l5.2-17.2C609.4,690.1,604.3,690.1,600.9,690.1L600.9,690.1z M370,698.7c-8.6-6-20.6-8.6-33.5-8.6c-20.6,0-34.3,10.3-34.3,26.6 c0,13.7,10.3,21.5,28.3,24l8.6,0.9c9.4,1.7,14.6,4.3,14.6,8.6c0,6-6.9,10.3-18.9,10.3c-12,0-21.5-4.3-27.5-8.6l-8.6,13.7 c9.4,6.9,22.3,10.3,35.2,10.3c24,0,37.8-11.2,37.8-26.6c0-14.6-11.2-22.3-28.3-24.9l-8.6-0.9c-7.7-0.9-13.7-2.6-13.7-7.7 c0-6,6-9.4,15.5-9.4c10.3,0,20.6,4.3,25.8,6.9L370,698.7L370,698.7z M848.9,690.1c-10.3,0-17.2,5.2-21.5,12v-10.3h-18v82.4h18v-46.4 c0-13.7,6-21.5,17.2-21.5c3.4,0,7.7,0.9,11.2,1.7L861,691C857.5,690.1,852.4,690.1,848.9,690.1L848.9,690.1z M618.9,733.1 c0,24.9,17.2,42.9,43.8,42.9c12,0,20.6-2.6,29.2-9.4l-8.6-14.6c-6.9,5.2-13.7,7.7-21.5,7.7c-14.6,0-24.9-10.3-24.9-26.6 c0-15.5,10.3-25.8,24.9-26.6c7.7,0,14.6,2.6,21.5,7.7l8.6-14.6c-8.6-6.9-17.2-9.4-29.2-9.4C636.1,690.1,618.9,708.2,618.9,733.1 L618.9,733.1L618.9,733.1z M785.4,733.1v-41.2h-18v10.3c-6-7.7-14.6-12-25.8-12c-23.2,0-41.2,18-41.2,42.9c0,24.9,18,42.9,41.2,42.9 c12,0,20.6-4.3,25.8-12v10.3h18V733.1L785.4,733.1z M719.3,733.1c0-14.6,9.4-26.6,24.9-26.6c14.6,0,24.9,11.2,24.9,26.6 c0,14.6-10.3,26.6-24.9,26.6C728.8,758.8,719.3,747.6,719.3,733.1L719.3,733.1z M503.9,690.1c-24,0-41.2,17.2-41.2,42.9 c0,25.8,17.2,42.9,42.1,42.9c12,0,24-3.4,33.5-11.2l-8.6-12.9c-6.9,5.2-15.5,8.6-24,8.6c-11.2,0-22.3-5.2-24.9-19.7h60.9 c0-2.6,0-4.3,0-6.9C542.5,707.3,527,690.1,503.9,690.1L503.9,690.1L503.9,690.1z M503.9,705.6c11.2,0,18.9,6.9,20.6,19.7h-42.9 C483.3,714.2,491,705.6,503.9,705.6L503.9,705.6z M951.1,733.1v-73.8h-18v42.9c-6-7.7-14.6-12-25.8-12c-23.2,0-41.2,18-41.2,42.9 c0,24.9,18,42.9,41.2,42.9c12,0,20.6-4.3,25.8-12v10.3h18V733.1L951.1,733.1z M885,733.1c0-14.6,9.4-26.6,24.9-26.6 c14.6,0,24.9,11.2,24.9,26.6c0,14.6-10.3,26.6-24.9,26.6C894.4,758.8,885,747.6,885,733.1L885,733.1z M282.4,733.1v-41.2h-18v10.3 c-6-7.7-14.6-12-25.8-12c-23.2,0-41.2,18-41.2,42.9c0,24.9,18,42.9,41.2,42.9c12,0,20.6-4.3,25.8-12v10.3h18V733.1L282.4,733.1z M215.5,733.1c0-14.6,9.4-26.6,24.9-26.6c14.6,0,24.9,11.2,24.9,26.6c0,14.6-10.3,26.6-24.9,26.6 C224.9,758.8,215.5,747.6,215.5,733.1z"}),c.createElement("g",null,c.createElement("rect",{id:"rect19",x:"364",y:"66.1",fill:"#FF5A00",width:"270.4",height:"485.8"}),c.createElement("path",{id:"XMLID_330_",fill:"#EB001B",d:"M382,309c0-98.7,46.4-186.3,117.6-242.9 C447.2,24.9,381.1,0,309,0C138.2,0,0,138.2,0,309s138.2,309,309,309c72.1,0,138.2-24.9,190.6-66.1C428.3,496.1,382,407.7,382,309z"}),c.createElement("path",{id:"path22",fill:"#F79E1B",d:"M999.2,309c0,170.8-138.2,309-309,309 c-72.1,0-138.2-24.9-190.6-66.1c72.1-56.7,117.6-144.2,117.6-242.9S570.8,122.7,499.6,66.1C551.9,24.9,618,0,690.1,0 C861,0,999.2,139.1,999.2,309z"})))};export{e as default};
|