@ikas/storefront 0.0.166-alpha.6 → 0.0.167-alpha.1
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/components/checkout/index.d.ts +2 -1
- package/build/components/checkout/model.d.ts +1 -1
- package/build/components/page/head.d.ts +4 -4
- package/build/components/page/index.d.ts +11 -8
- package/build/index.es.js +299 -400
- package/build/index.js +311 -412
- package/build/models/ui/product-detail/index.d.ts +1 -0
- package/build/pages/404.d.ts +2 -9
- package/build/pages/[slug]/index.d.ts +2 -13
- package/build/pages/account/addresses.d.ts +3 -9
- package/build/pages/account/favorite-products.d.ts +3 -9
- package/build/pages/account/forgot-password.d.ts +3 -10
- package/build/pages/account/index.d.ts +3 -9
- package/build/pages/account/login.d.ts +3 -10
- package/build/pages/account/orders/[id].d.ts +3 -9
- package/build/pages/account/orders/index.d.ts +3 -9
- package/build/pages/account/recover-password.d.ts +3 -10
- package/build/pages/account/register.d.ts +3 -10
- package/build/pages/blog/[slug].d.ts +2 -13
- package/build/pages/blog/index.d.ts +3 -10
- package/build/pages/cart.d.ts +3 -9
- package/build/pages/checkout.d.ts +1 -0
- package/build/pages/home.d.ts +3 -10
- package/build/pages/pages/[slug].d.ts +3 -9
- package/build/pages/search.d.ts +3 -10
- package/build/storefront/index.d.ts +2 -0
- package/build/utils/providers/page-data.d.ts +7 -2
- package/build/utils/settings.d.ts +31 -12
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { IkasCheckout } from "../../models/index";
|
|
2
|
+
import { IkasCheckout, IkasMerchantSettings } from "../../models/index";
|
|
3
3
|
import { IkasCheckoutSettings } from "../../models/data/checkout-settings/index";
|
|
4
4
|
export declare type IkasCheckoutPageProps = {
|
|
5
5
|
checkout: IkasCheckout;
|
|
6
6
|
checkoutSettings: IkasCheckoutSettings;
|
|
7
|
+
merchantSettings: IkasMerchantSettings | null;
|
|
7
8
|
customizationProps?: IkasCheckoutCustomizationProps;
|
|
8
9
|
returnPolicy: string;
|
|
9
10
|
privacyPolicy: string;
|
|
@@ -39,7 +39,7 @@ export default class CheckoutViewModel {
|
|
|
39
39
|
order?: IkasOrder;
|
|
40
40
|
successTransaction?: IkasOrderTransaction;
|
|
41
41
|
t: TFunction;
|
|
42
|
-
constructor(checkout: IkasCheckout, checkoutSettings: IkasCheckoutSettings, router: NextRouter, returnPolicy: string, privacyPolicy: string, termsOfService: string, t: TFunction);
|
|
42
|
+
constructor(checkout: IkasCheckout, checkoutSettings: IkasCheckoutSettings, merchantSettings: IkasMerchantSettings | null, router: NextRouter, returnPolicy: string, privacyPolicy: string, termsOfService: string, t: TFunction);
|
|
43
43
|
init: () => Promise<void>;
|
|
44
44
|
initStep: () => Promise<void>;
|
|
45
45
|
getMerchantSettings: () => Promise<void>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { IkasThemePageType } from "../../models/index";
|
|
3
3
|
declare type Props = {
|
|
4
|
-
|
|
4
|
+
pageType: IkasThemePageType;
|
|
5
5
|
pageTitle?: string | null;
|
|
6
|
-
|
|
6
|
+
pageDescription?: string | null;
|
|
7
7
|
pageSpecificDataStr?: string;
|
|
8
|
-
|
|
8
|
+
merchantSettingsStr?: string;
|
|
9
9
|
addOgpMetas?: boolean;
|
|
10
10
|
};
|
|
11
11
|
export declare const IkasPageHead: React.FC<Props>;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { IkasThemePageType, IkasThemeSettings } from "../../models/index";
|
|
3
3
|
import { IkasPageComponentPropValue } from "../../utils/index";
|
|
4
|
-
declare type
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
export declare type IkasPageProps = {
|
|
5
|
+
propValuesStr: string;
|
|
6
|
+
pageSpecificDataStr: string;
|
|
7
|
+
pageType: IkasThemePageType;
|
|
8
|
+
pageTitle: string | null;
|
|
9
|
+
pageDescription?: string;
|
|
8
10
|
settingsStr: string;
|
|
9
|
-
|
|
11
|
+
merchantSettingsStr: string;
|
|
12
|
+
configJson: Record<string, any>;
|
|
13
|
+
reInitOnBrowser?: boolean;
|
|
10
14
|
addOgpMetas?: boolean;
|
|
11
15
|
};
|
|
12
|
-
export declare const IkasPage: React.FC<
|
|
16
|
+
export declare const IkasPage: React.FC<IkasPageProps>;
|
|
13
17
|
export declare const renderComponent: (pageComponentPropValue: IkasPageComponentPropValue, settings: IkasThemeSettings, index: number) => JSX.Element;
|
|
14
|
-
export {};
|