@ikas/storefront 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/__generated__/global-types.d.ts +3 -0
- package/build/api/blog/__generated__/getBlog.d.ts +25 -0
- package/build/api/blog/__generated__/listBlog.d.ts +25 -0
- package/build/api/blog/__generated__/listBlogCategory.d.ts +25 -0
- package/build/api/blog/__generated__/listBlogMetaData.d.ts +27 -1
- package/build/api/blog/index.d.ts +1 -1
- package/build/api/brand/__generated__/listProductBrand.d.ts +41 -0
- package/build/api/cart/__generated__/getCart.d.ts +92 -0
- package/build/api/cart/__generated__/saveItemToCart.d.ts +114 -1
- package/build/api/category/__generated__/listCategory.d.ts +47 -0
- package/build/api/category/__generated__/listCategoryPaths.d.ts +9 -0
- package/build/api/checkout/__generated__/getCheckoutById.d.ts +339 -1
- package/build/api/checkout/__generated__/getOrder.d.ts +406 -1
- package/build/api/city/__generated__/listCity.d.ts +6 -0
- package/build/api/country/__generated__/listCountry.d.ts +18 -0
- package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +375 -0
- package/build/api/customer/__generated__/customerLogin.d.ts +85 -0
- package/build/api/customer/__generated__/getCustomerOrders.d.ts +406 -1
- package/build/api/customer/__generated__/getMyCustomer.d.ts +82 -0
- package/build/api/customer/__generated__/registerCustomer.d.ts +79 -0
- package/build/api/customer/__generated__/saveMyCustomer.d.ts +85 -0
- package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +25 -0
- package/build/api/district/__generated__/listDistrict.d.ts +3 -0
- package/build/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +11 -1
- package/build/api/html-meta-data/index.d.ts +1 -1
- package/build/api/product-attribute/__generated__/listProductAttribute.d.ts +33 -0
- package/build/api/product-search/__generated__/getProductFilterData.d.ts +9 -0
- package/build/api/state/__generated__/listState.d.ts +6 -0
- package/build/api/variant-type/__generated__/listVariantType.d.ts +37 -0
- package/build/index.es.js +462 -316
- package/build/index.js +462 -316
- package/build/models/ui/navigation-link/index.d.ts +1 -0
- package/build/providers/page-data-get.d.ts +4 -0
- package/build/providers/prop-value/link.d.ts +8 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IkasTheme, IkasThemePageType, IkasThemePageComponent, IkasThemeComponentProp, IkasThemeComponent, IkasThemePage, IkasMerchantSettings } from "../models/index";
|
|
2
|
+
import { IkasLinkMetaDataTargetId } from "./prop-value/link";
|
|
2
3
|
import { IkasThemePageSpecification } from "../models/theme/page/index";
|
|
3
4
|
export declare class IkasPageDataProvider {
|
|
4
5
|
theme: IkasTheme;
|
|
@@ -8,6 +9,7 @@ export declare class IkasPageDataProvider {
|
|
|
8
9
|
pageSpecificData?: any | null;
|
|
9
10
|
merchantSettings?: IkasMerchantSettings | null;
|
|
10
11
|
possiblePageTypes?: IkasThemePageType[];
|
|
12
|
+
linkMetaDataTargetIds: IkasLinkMetaDataTargetId[];
|
|
11
13
|
constructor(theme: IkasTheme, pageParams?: Record<string, any>, pageType?: IkasThemePageType);
|
|
12
14
|
get page(): IkasThemePage | undefined;
|
|
13
15
|
get nextPageData(): {
|
|
@@ -48,6 +50,8 @@ export declare class IkasPageDataProvider {
|
|
|
48
50
|
getPageComponentPropValues(pageComponent: IkasThemePageComponent): Promise<IkasPageComponentPropValue>;
|
|
49
51
|
getPageComponentPropValue(pageComponent: IkasThemePageComponent, prop: IkasThemeComponentProp): Promise<any>;
|
|
50
52
|
private setPageMetaData;
|
|
53
|
+
private setLinkSlugs;
|
|
54
|
+
private getLinkSlugs;
|
|
51
55
|
}
|
|
52
56
|
export declare class IkasPageComponentPropValue {
|
|
53
57
|
pageComponent: IkasThemePageComponent;
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import IkasPropValueProvider from "./index";
|
|
2
2
|
import { IkasNavigationLink, IkasLinkPropValue, IkasTheme } from "../../models/index";
|
|
3
|
+
export declare type IkasLinkMetaDataType = "DEFAULT" | "BLOG" | "RAFFLE";
|
|
4
|
+
export declare type IkasLinkMetaDataTargetId = {
|
|
5
|
+
type: IkasLinkMetaDataType;
|
|
6
|
+
id: string;
|
|
7
|
+
navigationLink: IkasNavigationLink;
|
|
8
|
+
};
|
|
3
9
|
export declare class IkasLinkPropValueProvider implements IkasPropValueProvider<IkasNavigationLink | IkasNavigationLink[]> {
|
|
4
10
|
private linkPropValue;
|
|
5
11
|
private theme;
|
|
6
|
-
|
|
12
|
+
private linkMetaDataTargetIds;
|
|
13
|
+
constructor(linkPropValue: IkasLinkPropValue | IkasLinkPropValue[], theme: IkasTheme, linkMetaDataTargetIds: IkasLinkMetaDataTargetId[]);
|
|
7
14
|
private getNavigationLink;
|
|
8
15
|
getValue(): Promise<IkasNavigationLink | IkasNavigationLink[]>;
|
|
9
16
|
}
|