@ikas/storefront 2.0.71-alpha.2 → 2.0.71-alpha.3

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.
@@ -1 +1 @@
1
- import e from'../ext/strict-uri-encode/index.js';export{default}from"../node_modules/strict-uri-encode/index.js";
1
+ import e from'../ext/decode-uri-component/index.js';export{default}from"../node_modules/decode-uri-component/index.js";
@@ -1 +1 @@
1
- import e from'../ext/decode-uri-component/index.js';export{default}from"../node_modules/decode-uri-component/index.js";
1
+ import e from'../ext/strict-uri-encode/index.js';export{default}from"../node_modules/strict-uri-encode/index.js";
@@ -6,6 +6,21 @@ export interface listCategoryPaths_listCategory_data_metaData {
6
6
  */
7
7
  slug: string;
8
8
  }
9
+ export interface listCategoryPaths_listCategory_data_translations {
10
+ __typename: "CategoryTranslation";
11
+ /**
12
+ * It is the name information of the translation.
13
+ */
14
+ locale: string;
15
+ /**
16
+ * It is the information in which language the translation is saved.
17
+ */
18
+ name: string | null;
19
+ /**
20
+ * It is the description information of the translation.
21
+ */
22
+ description: string | null;
23
+ }
9
24
  export interface listCategoryPaths_listCategory_data {
10
25
  __typename: "Category";
11
26
  id: string;
@@ -17,6 +32,10 @@ export interface listCategoryPaths_listCategory_data {
17
32
  * It is the metadata information of the product category.
18
33
  */
19
34
  metaData: listCategoryPaths_listCategory_data_metaData | null;
35
+ /**
36
+ * It is the translation information of the product category.
37
+ */
38
+ translations: listCategoryPaths_listCategory_data_translations[] | null;
20
39
  }
21
40
  export interface listCategoryPaths_listCategory {
22
41
  __typename: "CategoryPaginationResponse";
@@ -1 +1 @@
1
- import{__awaiter as t,__generator as e,__makeTemplateObject as i}from'../../ext/tslib/tslib.es6.js';import"../../models/data/blog/index.js";import"../../models/data/brand/index.js";import{IkasCategory as n,IkasCategoryPath as a}from"../../models/data/category/index.js";import"../../models/data/checkout/index.js";import"../../models/data/customer/address/index.js";import"../../models/data/customer/index.js";import"../../models/data/customer-review/index.js";import"mobx";import"../../models/data/html-meta-data/index.js";import{IkasImage as r}from"../../models/data/image/index.js";import"../../models/data/installment-info/index.js";import"../../models/data/merchant-settings/index.js";import"../../models/data/order/index.js";import"../../models/data/order/line-item/index.js";import"../product-option-file/index.js";import"../../models/data/product/index.js";import"../../models/data/variant-type/index.js";import"../../models/data/product/variant/index.js";import"../../models/data/product/variant/price/index.js";import"../../models/data/product-attribute/index.js";import"../../models/data/product/attribute-value/index.js";import"../../models/data/product-filter/index.js";import"../../models/data/variant-type/variant-value/index.js";import"../../models/data/order-transaction/index.js";import"../../models/data/product-option-set/index.js";import"../../models/data/raffle/index.js";import"../../models/data/product-campaing/campaign/index.js";import"../../models/data/customer-attribute/index.js";import"../../models/data/customer-attribute/customer-attribute-sales-channel/index.js";import"../../models/theme/theme.js";import"../../models/theme/page/index.js";import"../../models/theme/component/prop/index.js";import"../../models/theme/page/component/prop-value/link.js";import"../../models/ui/brand-list/index.js";import"../../models/ui/blog-list/index.js";import"../../models/ui/blog-category-list/index.js";import"../../models/ui/category-list/index.js";import"../../models/ui/product-detail/index.js";import"../../models/ui/product-list/index.js";import"../../models/ui/product-attribute-detail/index.js";import"../../models/ui/product-attribute-list/index.js";import"../../models/ui/customer-review-list/index.js";import"../../models/ui/customer-review-summary-list/index.js";import"../../models/ui/validator/index.js";import"../../models/ui/validator/rules/index.js";import"../../models/ui/validator/form/login.js";import"../../models/ui/validator/form/address.js";import"../../models/ui/validator/form/register.js";import"../../models/ui/validator/form/contact-form.js";import"../../models/ui/validator/form/forgot-password.js";import"../../models/ui/validator/form/recover-password.js";import"../../models/ui/validator/form/account-info.js";import"../../models/ui/validator/form/raffle-form.js";import"../../models/ui/validator/form/customer-review.js";import"../../models/ui/raffle-list/index.js";import"../../models/theme/settings/index.js";import"../../models/theme/custom-data/index.js";import o from'../../ext/graphql-tag/src/index.js';import{apollo as s}from"../apollo.js";var d,l,m=function(){function m(){}return m.listCategories=function(a){return t(this,void 0,void 0,(function(){var t,l,m,p,u,c,g,j,h,v,x;return e(this,(function(f){switch(f.label){case 0:t=o(d||(d=i(["\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 translations {\n description\n locale\n pageTitle\n }\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 translations {\n description\n locale\n pageTitle\n }\n }\n translations {\n description\n locale\n name\n }\n categoryPath\n }\n count\n }\n }\n "]))),f.label=1;case 1:return f.trys.push([1,10,,11]),[4,s.getClient().query({query:t,variables:{id:(null==a?void 0:a.idList)&&a.idList.length?{in:a.idList}:void 0,pagination:(null==a?void 0:a.page)?{page:a.page,limit:a.limit||10}:void 0,search:null==a?void 0:a.search,sort:(null==a?void 0:a.sort)||null}})];case 2:if(l=f.sent(),m=l.data,(p=l.errors)&&p.length)return[2,{categories:[],count:0}];u=m.listCategory.count,c=m.listCategory.data.map((function(t){return new n({id:t.id,name:t.name,description:t.description,parentId:t.parentId,metaData:t.metaData||void 0,translations:t.translations,image:t.imageId?new r(t.imageId):void 0,orderType:t.orderType})})),f.label=3;case 3:f.trys.push([3,8,,9]),g=function(t){var i,n,a;return e(this,(function(e){switch(e.label){case 0:return(i=m.listCategory.data[t].categoryPath)&&i.length?(n=[],[4,j.listCategoryPaths({idList:i})]):[3,2];case 1:a=e.sent(),i.forEach((function(t){var e=a.find((function(e){return e.id===t}));e&&n.push(e)})),c[t].path=n,e.label=2;case 2:return[2]}}))},j=this,h=0,f.label=4;case 4:return h<m.listCategory.data.length?[5,g(h)]:[3,7];case 5:f.sent(),f.label=6;case 6:return h++,[3,4];case 7:return[3,9];case 8:return v=f.sent(),console.log(v),[3,9];case 9:return[2,{categories:c,count:u}];case 10:return x=f.sent(),console.log(x),[2,{categories:[],count:0}];case 11:return[2]}}))}))},m.listCategoryPaths=function(n){return t(this,void 0,void 0,(function(){var t,r,d,m,p,u;return e(this,(function(e){switch(e.label){case 0:t=o(l||(l=i(["\n query listCategoryPaths(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n ) {\n listCategory(id: $id, pagination: $pagination, search: $search) {\n data {\n id\n name\n metaData {\n slug\n }\n }\n }\n }\n "],["\n query listCategoryPaths(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n ) {\n listCategory(id: $id, pagination: $pagination, search: $search) {\n data {\n id\n name\n metaData {\n slug\n }\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,s.getClient().query({query:t,variables:{id:(null==n?void 0:n.idList)&&n.idList.length?{in:n.idList}:void 0,pagination:(null==n?void 0:n.page)?{page:n.page,limit:n.limit||10}:void 0,search:null==n?void 0:n.search}})];case 2:return r=e.sent(),d=r.data,(m=r.errors)&&m.length?[2,[]]:(p=d.listCategory.data.map((function(t){var e;return new a({id:t.id,name:t.name,slug:null===(e=t.metaData)||void 0===e?void 0:e.slug})})),[2,p]);case 3:return u=e.sent(),console.log(u),[2,[]];case 4:return[2]}}))}))},m}();export{m as IkasCategoryAPI};
1
+ import{__awaiter as t,__generator as e,__makeTemplateObject as n}from'../../ext/tslib/tslib.es6.js';import"../../models/data/blog/index.js";import"../../models/data/brand/index.js";import{IkasCategory as i,IkasCategoryPath as a}from"../../models/data/category/index.js";import"../../models/data/checkout/index.js";import"../../models/data/customer/address/index.js";import"../../models/data/customer/index.js";import"../../models/data/customer-review/index.js";import"mobx";import"../../models/data/html-meta-data/index.js";import{IkasImage as o}from"../../models/data/image/index.js";import"../../models/data/installment-info/index.js";import"../../models/data/merchant-settings/index.js";import"../../models/data/order/index.js";import"../../models/data/order/line-item/index.js";import"../product-option-file/index.js";import"../../models/data/product/index.js";import"../../models/data/variant-type/index.js";import"../../models/data/product/variant/index.js";import"../../models/data/product/variant/price/index.js";import"../../models/data/product-attribute/index.js";import"../../models/data/product/attribute-value/index.js";import"../../models/data/product-filter/index.js";import"../../models/data/variant-type/variant-value/index.js";import"../../models/data/order-transaction/index.js";import"../../models/data/product-option-set/index.js";import"../../models/data/raffle/index.js";import"../../models/data/product-campaing/campaign/index.js";import"../../models/data/customer-attribute/index.js";import"../../models/data/customer-attribute/customer-attribute-sales-channel/index.js";import"../../models/theme/theme.js";import"../../models/theme/page/index.js";import"../../models/theme/component/prop/index.js";import"../../models/theme/page/component/prop-value/link.js";import"../../models/ui/brand-list/index.js";import"../../models/ui/blog-list/index.js";import"../../models/ui/blog-category-list/index.js";import"../../models/ui/category-list/index.js";import"../../models/ui/product-detail/index.js";import"../../models/ui/product-list/index.js";import"../../models/ui/product-attribute-detail/index.js";import"../../models/ui/product-attribute-list/index.js";import"../../models/ui/customer-review-list/index.js";import"../../models/ui/customer-review-summary-list/index.js";import"../../models/ui/validator/index.js";import"../../models/ui/validator/rules/index.js";import"../../models/ui/validator/form/login.js";import"../../models/ui/validator/form/address.js";import"../../models/ui/validator/form/register.js";import"../../models/ui/validator/form/contact-form.js";import"../../models/ui/validator/form/forgot-password.js";import"../../models/ui/validator/form/recover-password.js";import"../../models/ui/validator/form/account-info.js";import"../../models/ui/validator/form/raffle-form.js";import"../../models/ui/validator/form/customer-review.js";import"../../models/ui/raffle-list/index.js";import"../../models/theme/settings/index.js";import"../../models/theme/custom-data/index.js";import r from'../../ext/graphql-tag/src/index.js';import{apollo as s}from"../apollo.js";var d,l,m=function(){function m(){}return m.listCategories=function(a){return t(this,void 0,void 0,(function(){var t,l,m,p,u,c,g,j,h,v,x;return e(this,(function(f){switch(f.label){case 0:t=r(d||(d=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 translations {\n description\n locale\n pageTitle\n }\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 translations {\n description\n locale\n pageTitle\n }\n }\n translations {\n description\n locale\n name\n }\n categoryPath\n }\n count\n }\n }\n "]))),f.label=1;case 1:return f.trys.push([1,10,,11]),[4,s.getClient().query({query:t,variables:{id:(null==a?void 0:a.idList)&&a.idList.length?{in:a.idList}:void 0,pagination:(null==a?void 0:a.page)?{page:a.page,limit:a.limit||10}:void 0,search:null==a?void 0:a.search,sort:(null==a?void 0:a.sort)||null}})];case 2:if(l=f.sent(),m=l.data,(p=l.errors)&&p.length)return[2,{categories:[],count:0}];u=m.listCategory.count,c=m.listCategory.data.map((function(t){return new i({id:t.id,name:t.name,description:t.description,parentId:t.parentId,metaData:t.metaData||void 0,translations:t.translations,image:t.imageId?new o(t.imageId):void 0,orderType:t.orderType})})),f.label=3;case 3:f.trys.push([3,8,,9]),g=function(t){var n,i,a;return e(this,(function(e){switch(e.label){case 0:return(n=m.listCategory.data[t].categoryPath)&&n.length?(i=[],[4,j.listCategoryPaths({idList:n})]):[3,2];case 1:a=e.sent(),n.forEach((function(t){var e=a.find((function(e){return e.id===t}));e&&i.push(e)})),c[t].path=i,e.label=2;case 2:return[2]}}))},j=this,h=0,f.label=4;case 4:return h<m.listCategory.data.length?[5,g(h)]:[3,7];case 5:f.sent(),f.label=6;case 6:return h++,[3,4];case 7:return[3,9];case 8:return v=f.sent(),console.log(v),[3,9];case 9:return[2,{categories:c,count:u}];case 10:return x=f.sent(),console.log(x),[2,{categories:[],count:0}];case 11:return[2]}}))}))},m.listCategoryPaths=function(i){return t(this,void 0,void 0,(function(){var t,o,d,m,p,u;return e(this,(function(e){switch(e.label){case 0:t=r(l||(l=n(["\n query listCategoryPaths(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n ) {\n listCategory(id: $id, pagination: $pagination, search: $search) {\n data {\n id\n name\n metaData {\n slug\n }\n translations {\n locale\n name\n description\n }\n }\n }\n }\n "],["\n query listCategoryPaths(\n $id: StringFilterInput\n $pagination: PaginationInput\n $search: String\n ) {\n listCategory(id: $id, pagination: $pagination, search: $search) {\n data {\n id\n name\n metaData {\n slug\n }\n translations {\n locale\n name\n description\n }\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,s.getClient().query({query:t,variables:{id:(null==i?void 0:i.idList)&&i.idList.length?{in:i.idList}:void 0,pagination:(null==i?void 0:i.page)?{page:i.page,limit:i.limit||10}:void 0,search:null==i?void 0:i.search}})];case 2:return o=e.sent(),d=o.data,(m=o.errors)&&m.length?[2,[]]:(p=d.listCategory.data.map((function(t){var e;return new a({id:t.id,name:t.name,slug:null===(e=t.metaData)||void 0===e?void 0:e.slug,translations:t.translations})})),[2,p]);case 3:return u=e.sent(),console.log(u),[2,[]];case 4:return[2]}}))}))},m}();export{m as IkasCategoryAPI};
@@ -13,6 +13,7 @@ export interface getProductFilterData_getProductFilterData_filters_settings {
13
13
  showCollapsedOnMobile: boolean;
14
14
  sortType: ProductFilterSortTypeEnum;
15
15
  useAndFilter: boolean | null;
16
+ customSortedValues: string[] | null;
16
17
  }
17
18
  export interface getProductFilterData_getProductFilterData_filters {
18
19
  __typename: "ProductFilterDataFilter";
@@ -1 +1 @@
1
- import{__awaiter as t,__generator as e,__assign as n,__makeTemplateObject as i}from'../../ext/tslib/tslib.es6.js';import r from'../../ext/graphql-tag/src/index.js';import{apollo as o}from"../apollo.js";import"../../models/data/blog/index.js";import{IkasBrand as a}from"../../models/data/brand/index.js";import{IkasCategory as d,IkasCategoryPath as s,IkasFilterCategory as l}from"../../models/data/category/index.js";import"../../models/data/checkout/index.js";import"../../models/data/customer/address/index.js";import"../../models/data/customer/index.js";import"../../models/data/customer-review/index.js";import"mobx";import{IkasHTMLMetaData as u}from"../../models/data/html-meta-data/index.js";import{IkasImage as c}from"../../models/data/image/index.js";import"../../models/data/installment-info/index.js";import"../../models/data/merchant-settings/index.js";import"../../models/data/order/index.js";import"../../models/data/order/line-item/index.js";import"../product-option-file/index.js";import{IkasProduct as m}from"../../models/data/product/index.js";import{IkasProductVariantType as p}from"../../models/data/product/variant-type/index.js";import{IkasProductVariant as v}from"../../models/data/product/variant/index.js";import{IkasProductPrice as g}from"../../models/data/product/variant/price/index.js";import{IkasProductAttribute as y}from"../../models/data/product-attribute/index.js";import{IkasProductAttributeValue as f}from"../../models/data/product/attribute-value/index.js";import{IkasProductFilter as I,IkasApplicableProductFilterValue as b,IkasProductFilterSettings as j}from"../../models/data/product-filter/index.js";import{IkasVariantType as h}from"../../models/data/variant-type/index.js";import{IkasVariantValue as x}from"../../models/data/variant-type/variant-value/index.js";import"../../models/data/order-transaction/index.js";import"../../models/data/product-option-set/index.js";import"../../models/data/raffle/index.js";import"../../models/data/product-campaing/campaign/index.js";import"../../models/data/customer-attribute/index.js";import"../../models/data/customer-attribute/customer-attribute-sales-channel/index.js";import"../../models/theme/theme.js";import"../../models/theme/page/index.js";import"../../models/theme/component/prop/index.js";import"../../models/theme/page/component/prop-value/link.js";import"../../models/ui/brand-list/index.js";import"../../models/ui/blog-list/index.js";import"../../models/ui/blog-category-list/index.js";import"../../models/ui/category-list/index.js";import"../../models/ui/product-detail/index.js";import"../../models/ui/product-list/index.js";import"../../models/ui/product-attribute-detail/index.js";import"../../models/ui/product-attribute-list/index.js";import"../../models/ui/customer-review-list/index.js";import"../../models/ui/customer-review-summary-list/index.js";import"../../models/ui/validator/index.js";import"../../models/ui/validator/rules/index.js";import"../../models/ui/validator/form/login.js";import"../../models/ui/validator/form/address.js";import"../../models/ui/validator/form/register.js";import"../../models/ui/validator/form/contact-form.js";import"../../models/ui/validator/form/forgot-password.js";import"../../models/ui/validator/form/recover-password.js";import"../../models/ui/validator/form/account-info.js";import"../../models/ui/validator/form/raffle-form.js";import"../../models/ui/validator/form/customer-review.js";import"../../models/ui/raffle-list/index.js";import{IkasThemeStockPreference as $}from"../../models/theme/settings/index.js";import"../../models/theme/custom-data/index.js";import{IkasProductTag as C}from"../../models/data/product-tag/index.js";import{IkasStorefrontConfig as w}from"../../storefront/index.js";import{IkasProductAttributeTableTemplate as S}from"../../models/data/product-attribute/product-attribute-table-template/index.js";var T,A,P,D=function(){function a(){}return a.searchProducts=function(a,d){var s;return void 0===d&&(d=!1),t(this,void 0,void 0,(function(){var t,l,u,c,m;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),t=r(T||(T=i(["\n query searchProducts($input: SearchInput!) {\n searchProducts(input: $input) {\n count\n data\n facets {\n id\n values {\n count\n id\n }\n }\n limit\n page\n totalCount\n }\n }\n "],["\n query searchProducts($input: SearchInput!) {\n searchProducts(input: $input) {\n count\n data\n facets {\n id\n values {\n count\n id\n }\n }\n limit\n page\n totalCount\n }\n }\n "]))),[4,o.getClient().query({query:t,variables:{input:n(n({},a),{showStockOption:d?w.stockPreference:$.SHOW_ALL,locale:w.getCurrentLocale(),dynamicCurrencySettings:(null===(s=w.getCurrentRouting())||void 0===s?void 0:s.dynamicCurrencySettings)||null})}})];case 1:return l=e.sent(),u=l.data,(c=l.errors)&&c.length?(console.log(c),[2]):[2,n(n({},u.searchProducts),{data:u.searchProducts.data.map((function(t){return L(t)}))})];case 2:return m=e.sent(),console.log(m),[3,3];case 3:return[2]}}))}))},a.getProductFilterData=function(a){return t(this,void 0,void 0,(function(){var t,d,s,u,c;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),t=r(A||(A=i(["\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 "]))),[4,o.getClient().query({query:t,variables:{categoryId:a||null,locale:w.getCurrentLocale()}})];case 1:return d=e.sent(),s=d.data,(u=d.errors)&&u.length?(console.log(u),[2]):[2,{filters:s.getProductFilterData.filters.map((function(t){var e;return new I(n(n({},t),{displayType:t.displayType,type:t.type,values:null===(e=t.values)||void 0===e?void 0:e.map((function(t){return new b(t)})),settings:t.settings?new j(n(n({},t.settings),{sortType:t.settings.sortType})):null}))})),categories:s.getProductFilterData.categories?s.getProductFilterData.categories.map((function(t){var e;return new l({id:t.id,name:t.name,slug:null===(e=t.metaData)||void 0===e?void 0:e.slug})})):null}];case 2:return c=e.sent(),console.log(c),[3,3];case 3:return[2]}}))}))},a.getRelatedProducts=function(a){var d;return t(this,void 0,void 0,(function(){var t,s,l,u,c;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),t=r(P||(P=i(["\n query getRelatedProducts(\n $brandIds: [String!]\n $categoryIds: [String!]\n $dynamicCurrencySettings: SearchDynamicCurrencySettings\n $limit: Float\n $priceListId: String\n $productId: String!\n $salesChannelId: String\n $tagIds: [String!]\n ) {\n getRelatedProducts(\n brandIds: $brandIds\n categoryIds: $categoryIds\n dynamicCurrencySettings: $dynamicCurrencySettings\n limit: $limit\n priceListId: $priceListId\n productId: $productId\n salesChannelId: $salesChannelId\n tagIds: $tagIds\n )\n }\n "],["\n query getRelatedProducts(\n $brandIds: [String!]\n $categoryIds: [String!]\n $dynamicCurrencySettings: SearchDynamicCurrencySettings\n $limit: Float\n $priceListId: String\n $productId: String!\n $salesChannelId: String\n $tagIds: [String!]\n ) {\n getRelatedProducts(\n brandIds: $brandIds\n categoryIds: $categoryIds\n dynamicCurrencySettings: $dynamicCurrencySettings\n limit: $limit\n priceListId: $priceListId\n productId: $productId\n salesChannelId: $salesChannelId\n tagIds: $tagIds\n )\n }\n "]))),[4,o.getClient().query({query:t,variables:n(n({},a),{limit:a.limit?a.limit:20,tagIds:a.tagIds?a.tagIds:null,dynamicCurrencySettings:(null===(d=w.getCurrentRouting())||void 0===d?void 0:d.dynamicCurrencySettings)||null})})];case 1:return s=e.sent(),l=s.data,(u=s.errors)&&u.length?(console.log(u),[2]):[2,{data:l.getRelatedProducts.map((function(t){return L(t)})),count:l.getRelatedProducts.length,facets:null,limit:20,page:1,totalCount:l.getRelatedProducts.length}];case 2:return c=e.sent(),console.log(c),[3,3];case 3:return[2]}}))}))},a}();function L(t){var e,n,i,r,o,l,I="local"===process.env.NEXT_PUBLIC_ENV;return new m({id:t.id,attributes:null===(e=t.attributes)||void 0===e?void 0:e.map((function(t){var e,n,i,r,o,a;return new f({value:t.value,productAttributeId:null===(e=t.productAttribute)||void 0===e?void 0:e.id,productAttributeOptionId:null===(n=t.productAttributeOption)||void 0===n?void 0:n.id,productAttribute:new y({id:null===(i=t.productAttribute)||void 0===i?void 0:i.id,name:null===(r=t.productAttribute)||void 0===r?void 0:r.name,type:null===(o=t.productAttribute)||void 0===o?void 0:o.type,tableTemplate:(null===(a=t.productAttribute)||void 0===a?void 0:a.tableTemplate)?new S(t.productAttribute.tableTemplate):null}),productAttributeOption:t.productAttributeOption})})),brand:new a({id:null===(n=t.brand)||void 0===n?void 0:n.id,name:null===(i=t.brand)||void 0===i?void 0:i.name,metaData:new u({slug:(null===(r=t.brand)||void 0===r?void 0:r.slug)||""})}),categories:null===(o=t.categories)||void 0===o?void 0:o.map((function(t){return new d({id:t.id,name:t.name,path:t.path.map((function(t){return new s(t)})),metaData:new u({slug:t.slug||""})})})),tags:null===(l=t.tags)||void 0===l?void 0:l.map((function(t){return new C({id:t.id,name:t.name})})),description:t.description||void 0,metaData:new u(t.metaData||void 0),name:t.name,shortDescription:t.shortDescription||void 0,productOptionSetId:t.productOptionSetId,variantTypes:t.productVariantTypes.map((function(t){return new p({order:t.order,variantType:new h({id:t.variantType.id,name:t.variantType.name,selectionType:t.variantType.selectionType,values:t.variantType.values.map((function(e){return new x({id:e.id,colorCode:e.colorCode,name:e.name,thumbnailImageId:e.thumbnailImageId,variantTypeId:t.variantType.id})})).filter((function(e){return t.variantValueIds.includes(e.id)}))}),variantValueIds:t.variantValueIds})})),variants:t.variants.map((function(e){var n,i,r,o;return new v({id:e.id,productId:t.id,attributes:null===(n=e.attributes)||void 0===n?void 0:n.map((function(t){var e,n,i,r,o,a;return new f({value:t.value,productAttributeId:null===(e=t.productAttribute)||void 0===e?void 0:e.id,productAttributeOptionId:null===(n=t.productAttributeOption)||void 0===n?void 0:n.id,productAttribute:new y({id:null===(i=t.productAttribute)||void 0===i?void 0:i.id,name:null===(r=t.productAttribute)||void 0===r?void 0:r.name,type:null===(o=t.productAttribute)||void 0===o?void 0:o.type,tableTemplate:(null===(a=t.productAttribute)||void 0===a?void 0:a.tableTemplate)?new S(t.productAttribute.tableTemplate):null}),productAttributeOption:t.productAttributeOption})})),sku:e.sku,barcodeList:e.barcodeList||void 0,images:null===(i=e.images)||void 0===i?void 0:i.map((function(t){return new c(t.id,t.isVideo)})),price:new g(null===(r=e.prices)||void 0===r?void 0:r.find((function(t){return w.priceListId?t.priceListId===w.priceListId:null===t.priceListId}))),stock:e.stocks.filter((function(t){var e;return I||w.isEditor||(null===(e=w.stockLocationIds)||void 0===e?void 0:e.includes(t.stockLocationId))})).reduce((function(t,e){return e.stockCount+t}),0)||0,variantValues:null===(o=e.variantValues)||void 0===o?void 0:o.map((function(e){var n=t.productVariantTypes.find((function(t){return t.variantType.id===e.variantTypeId})),i=null==n?void 0:n.variantType.values.find((function(t){return t.id===e.variantValueId}));return new x({id:e.variantValueId,name:null==i?void 0:i.name,colorCode:null==i?void 0:i.colorCode,thumbnailImageId:null==i?void 0:i.thumbnailImageId,variantTypeId:null==n?void 0:n.variantType.id})})),isActive:e.isActive})}))})}export{D as IkasProductSearchAPI};
1
+ import{__awaiter as t,__generator as e,__assign as n,__makeTemplateObject as i}from'../../ext/tslib/tslib.es6.js';import r from'../../ext/graphql-tag/src/index.js';import{apollo as o}from"../apollo.js";import"../../models/data/blog/index.js";import{IkasBrand as a}from"../../models/data/brand/index.js";import{IkasCategory as d,IkasCategoryPath as s,IkasFilterCategory as l}from"../../models/data/category/index.js";import"../../models/data/checkout/index.js";import"../../models/data/customer/address/index.js";import"../../models/data/customer/index.js";import"../../models/data/customer-review/index.js";import"mobx";import{IkasHTMLMetaData as u}from"../../models/data/html-meta-data/index.js";import{IkasImage as c}from"../../models/data/image/index.js";import"../../models/data/installment-info/index.js";import"../../models/data/merchant-settings/index.js";import"../../models/data/order/index.js";import"../../models/data/order/line-item/index.js";import"../product-option-file/index.js";import{IkasProduct as m}from"../../models/data/product/index.js";import{IkasProductVariantType as p}from"../../models/data/product/variant-type/index.js";import{IkasProductVariant as v}from"../../models/data/product/variant/index.js";import{IkasProductPrice as g}from"../../models/data/product/variant/price/index.js";import{IkasProductAttribute as y}from"../../models/data/product-attribute/index.js";import{IkasProductAttributeValue as f}from"../../models/data/product/attribute-value/index.js";import{IkasProductFilter as I,IkasApplicableProductFilterValue as b,IkasProductFilterSettings as j}from"../../models/data/product-filter/index.js";import{IkasVariantType as h}from"../../models/data/variant-type/index.js";import{IkasVariantValue as x}from"../../models/data/variant-type/variant-value/index.js";import"../../models/data/order-transaction/index.js";import"../../models/data/product-option-set/index.js";import"../../models/data/raffle/index.js";import"../../models/data/product-campaing/campaign/index.js";import"../../models/data/customer-attribute/index.js";import"../../models/data/customer-attribute/customer-attribute-sales-channel/index.js";import"../../models/theme/theme.js";import"../../models/theme/page/index.js";import"../../models/theme/component/prop/index.js";import"../../models/theme/page/component/prop-value/link.js";import"../../models/ui/brand-list/index.js";import"../../models/ui/blog-list/index.js";import"../../models/ui/blog-category-list/index.js";import"../../models/ui/category-list/index.js";import"../../models/ui/product-detail/index.js";import"../../models/ui/product-list/index.js";import"../../models/ui/product-attribute-detail/index.js";import"../../models/ui/product-attribute-list/index.js";import"../../models/ui/customer-review-list/index.js";import"../../models/ui/customer-review-summary-list/index.js";import"../../models/ui/validator/index.js";import"../../models/ui/validator/rules/index.js";import"../../models/ui/validator/form/login.js";import"../../models/ui/validator/form/address.js";import"../../models/ui/validator/form/register.js";import"../../models/ui/validator/form/contact-form.js";import"../../models/ui/validator/form/forgot-password.js";import"../../models/ui/validator/form/recover-password.js";import"../../models/ui/validator/form/account-info.js";import"../../models/ui/validator/form/raffle-form.js";import"../../models/ui/validator/form/customer-review.js";import"../../models/ui/raffle-list/index.js";import{IkasThemeStockPreference as $}from"../../models/theme/settings/index.js";import"../../models/theme/custom-data/index.js";import{IkasProductTag as C}from"../../models/data/product-tag/index.js";import{IkasStorefrontConfig as S}from"../../storefront/index.js";import{IkasProductAttributeTableTemplate as w}from"../../models/data/product-attribute/product-attribute-table-template/index.js";var T,A,P,D=function(){function a(){}return a.searchProducts=function(a,d){var s;return void 0===d&&(d=!1),t(this,void 0,void 0,(function(){var t,l,u,c,m;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),t=r(T||(T=i(["\n query searchProducts($input: SearchInput!) {\n searchProducts(input: $input) {\n count\n data\n facets {\n id\n values {\n count\n id\n }\n }\n limit\n page\n totalCount\n }\n }\n "],["\n query searchProducts($input: SearchInput!) {\n searchProducts(input: $input) {\n count\n data\n facets {\n id\n values {\n count\n id\n }\n }\n limit\n page\n totalCount\n }\n }\n "]))),[4,o.getClient().query({query:t,variables:{input:n(n({},a),{showStockOption:d?S.stockPreference:$.SHOW_ALL,locale:S.getCurrentLocale(),dynamicCurrencySettings:(null===(s=S.getCurrentRouting())||void 0===s?void 0:s.dynamicCurrencySettings)||null})}})];case 1:return l=e.sent(),u=l.data,(c=l.errors)&&c.length?(console.log(c),[2]):[2,n(n({},u.searchProducts),{data:u.searchProducts.data.map((function(t){return L(t)}))})];case 2:return m=e.sent(),console.log(m),[3,3];case 3:return[2]}}))}))},a.getProductFilterData=function(a){return t(this,void 0,void 0,(function(){var t,d,s,u,c;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),t=r(A||(A=i(["\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 customSortedValues\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 customSortedValues\n }\n }\n categories {\n id\n name\n metaData {\n slug\n }\n }\n }\n }\n "]))),[4,o.getClient().query({query:t,variables:{categoryId:a||null,locale:S.getCurrentLocale()}})];case 1:return d=e.sent(),s=d.data,(u=d.errors)&&u.length?(console.log(u),[2]):[2,{filters:s.getProductFilterData.filters.map((function(t){var e;return new I(n(n({},t),{displayType:t.displayType,type:t.type,values:null===(e=t.values)||void 0===e?void 0:e.map((function(t){return new b(t)})),settings:t.settings?new j(n(n({},t.settings),{sortType:t.settings.sortType})):null}))})),categories:s.getProductFilterData.categories?s.getProductFilterData.categories.map((function(t){var e;return new l({id:t.id,name:t.name,slug:null===(e=t.metaData)||void 0===e?void 0:e.slug})})):null}];case 2:return c=e.sent(),console.log(c),[3,3];case 3:return[2]}}))}))},a.getRelatedProducts=function(a){var d;return t(this,void 0,void 0,(function(){var t,s,l,u,c;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),t=r(P||(P=i(["\n query getRelatedProducts(\n $brandIds: [String!]\n $categoryIds: [String!]\n $dynamicCurrencySettings: SearchDynamicCurrencySettings\n $limit: Float\n $priceListId: String\n $productId: String!\n $salesChannelId: String\n $tagIds: [String!]\n ) {\n getRelatedProducts(\n brandIds: $brandIds\n categoryIds: $categoryIds\n dynamicCurrencySettings: $dynamicCurrencySettings\n limit: $limit\n priceListId: $priceListId\n productId: $productId\n salesChannelId: $salesChannelId\n tagIds: $tagIds\n )\n }\n "],["\n query getRelatedProducts(\n $brandIds: [String!]\n $categoryIds: [String!]\n $dynamicCurrencySettings: SearchDynamicCurrencySettings\n $limit: Float\n $priceListId: String\n $productId: String!\n $salesChannelId: String\n $tagIds: [String!]\n ) {\n getRelatedProducts(\n brandIds: $brandIds\n categoryIds: $categoryIds\n dynamicCurrencySettings: $dynamicCurrencySettings\n limit: $limit\n priceListId: $priceListId\n productId: $productId\n salesChannelId: $salesChannelId\n tagIds: $tagIds\n )\n }\n "]))),[4,o.getClient().query({query:t,variables:n(n({},a),{limit:a.limit?a.limit:20,tagIds:a.tagIds?a.tagIds:null,dynamicCurrencySettings:(null===(d=S.getCurrentRouting())||void 0===d?void 0:d.dynamicCurrencySettings)||null})})];case 1:return s=e.sent(),l=s.data,(u=s.errors)&&u.length?(console.log(u),[2]):[2,{data:l.getRelatedProducts.map((function(t){return L(t)})),count:l.getRelatedProducts.length,facets:null,limit:20,page:1,totalCount:l.getRelatedProducts.length}];case 2:return c=e.sent(),console.log(c),[3,3];case 3:return[2]}}))}))},a}();function L(t){var e,n,i,r,o,l,I="local"===process.env.NEXT_PUBLIC_ENV;return new m({id:t.id,attributes:null===(e=t.attributes)||void 0===e?void 0:e.map((function(t){var e,n,i,r,o,a;return new f({value:t.value,productAttributeId:null===(e=t.productAttribute)||void 0===e?void 0:e.id,productAttributeOptionId:null===(n=t.productAttributeOption)||void 0===n?void 0:n.id,productAttribute:new y({id:null===(i=t.productAttribute)||void 0===i?void 0:i.id,name:null===(r=t.productAttribute)||void 0===r?void 0:r.name,type:null===(o=t.productAttribute)||void 0===o?void 0:o.type,tableTemplate:(null===(a=t.productAttribute)||void 0===a?void 0:a.tableTemplate)?new w(t.productAttribute.tableTemplate):null}),productAttributeOption:t.productAttributeOption})})),brand:new a({id:null===(n=t.brand)||void 0===n?void 0:n.id,name:null===(i=t.brand)||void 0===i?void 0:i.name,metaData:new u({slug:(null===(r=t.brand)||void 0===r?void 0:r.slug)||""})}),categories:null===(o=t.categories)||void 0===o?void 0:o.map((function(t){return new d({id:t.id,name:t.name,path:t.path.map((function(t){return new s(t)})),metaData:new u({slug:t.slug||""})})})),tags:null===(l=t.tags)||void 0===l?void 0:l.map((function(t){return new C({id:t.id,name:t.name})})),description:t.description||void 0,metaData:new u(t.metaData||void 0),name:t.name,shortDescription:t.shortDescription||void 0,productOptionSetId:t.productOptionSetId,variantTypes:t.productVariantTypes.map((function(t){return new p({order:t.order,variantType:new h({id:t.variantType.id,name:t.variantType.name,selectionType:t.variantType.selectionType,values:t.variantType.values.map((function(e){return new x({id:e.id,colorCode:e.colorCode,name:e.name,thumbnailImageId:e.thumbnailImageId,variantTypeId:t.variantType.id})})).filter((function(e){return t.variantValueIds.includes(e.id)}))}),variantValueIds:t.variantValueIds})})),variants:t.variants.map((function(e){var n,i,r,o;return new v({id:e.id,productId:t.id,attributes:null===(n=e.attributes)||void 0===n?void 0:n.map((function(t){var e,n,i,r,o,a;return new f({value:t.value,productAttributeId:null===(e=t.productAttribute)||void 0===e?void 0:e.id,productAttributeOptionId:null===(n=t.productAttributeOption)||void 0===n?void 0:n.id,productAttribute:new y({id:null===(i=t.productAttribute)||void 0===i?void 0:i.id,name:null===(r=t.productAttribute)||void 0===r?void 0:r.name,type:null===(o=t.productAttribute)||void 0===o?void 0:o.type,tableTemplate:(null===(a=t.productAttribute)||void 0===a?void 0:a.tableTemplate)?new w(t.productAttribute.tableTemplate):null}),productAttributeOption:t.productAttributeOption})})),sku:e.sku,barcodeList:e.barcodeList||void 0,images:null===(i=e.images)||void 0===i?void 0:i.map((function(t){return new c(t.id,t.isVideo)})),price:new g(null===(r=e.prices)||void 0===r?void 0:r.find((function(t){return S.priceListId?t.priceListId===S.priceListId:null===t.priceListId}))),stock:e.stocks.filter((function(t){var e;return I||S.isEditor||(null===(e=S.stockLocationIds)||void 0===e?void 0:e.includes(t.stockLocationId))})).reduce((function(t,e){return e.stockCount+t}),0)||0,variantValues:null===(o=e.variantValues)||void 0===o?void 0:o.map((function(e){var n=t.productVariantTypes.find((function(t){return t.variantType.id===e.variantTypeId})),i=null==n?void 0:n.variantType.values.find((function(t){return t.id===e.variantValueId}));return new x({id:e.variantValueId,name:null==i?void 0:i.name,colorCode:null==i?void 0:i.colorCode,thumbnailImageId:null==i?void 0:i.thumbnailImageId,variantTypeId:null==n?void 0:n.variantType.id})})),isActive:e.isActive})}))})}export{D as IkasProductSearchAPI};
@@ -0,0 +1 @@
1
+ var e={actions:{login:"Einloggen",edit:"Bearbeiten",apply:"Anwenden",close:"Schießen",cancel:"Abbrechen",save:"Speichern",continue:"Weiter",show:"Anzeigen",hide:"Verstecken",sendMessage:"Nachricht senden",continueWithShipping:"Weiter mit Versand",continueWithPayment:"Weiter mit Zahlung",completeOrder:"Complete the Order",backToShopping:"Bestellung abschließen",backToCart:"Zurück zum Warenkorb",addToCart:"Zum Warenkorb hinzufügen"},securePayment:"Sichere Bezahlung",alreadyHaveAnAccount:"Du hast bereits ein Konto?",address:"Adresse",addressError:"Adresse eingeben",missingAddressFields:"Es fehlen einige Pflichtfelder in dieser Adresse.",editAddress:"Adresse bearbeiten",deleteAddress:"Adresse löschen",saveAddressCta:"Speichere diese Adresse für zukünftige Einkäufe",firstName:"Vorname",firstNameError:"Vorname eingeben",lastName:"Nachname",lastNameError:"Nachname eingeben",identityNumber:"Personalausweisnummer",identityNumberError:"Personalausweisnummer eingeben",addressTitle:"Name der Anschrift",adressTitleError:"Name für die Anschrift eingeben",addressLine1:"Addresse",addressLine2:"Adresszusatz",postalCode:"Postleitzahl",postalCodeError:"Postleitzahl eingeben",country:"Land",countryError:"Land auswählen",state:"Bundesland",stateError:"Bundesland eingeben",city:"Stadt",cityError:"Stadt eingeben",district:"Bezirk",districtError:"Bezirk eingeben",phone:"Telefonnummer",phoneError:"Eine gültige Telefonnummer eingeben",companyName:"Name des Unternehmens",taxOffice:"Finanzamt",taxNumber:"Umsatzsteuer-ID",deliveryMethod:"Zustellungsmethode",deliveryToAddress:"Lieferanschrift",inStoreDelivery:"Abholung",stockLocation:{deliveryTime:{WITHIN_ONE_HOUR:"In der Regel in 1 Stunde bereit",WITHIN_TWO_HOURS:"In der Regel in 2 Stunden bereit",WITHIN_FOUR_HOURS:"In der Regel in 4 Stunden bereit",WITHIN_TWENTY_FOUR_HOURS:"In der Regel innerhalb von 24 Stunden bereit",TWO_IN_FOUR_DAYS:"Gewöhnlich in 2-4 Tagen bereit",WITHIN_PLUS_FIVE_DAYS:"Gewöhnlich in +5 Tagen fertig"}},recipientsInfo:"Empfänger Details",pickUpLocation:"Abholort",receiver:"Empfänger",shipping:"Versand",payment:"Zahlung",summary:"Zusammenfassung",free:"Kostenlos",standartShipping:"Standardversand",returnPolicy:"Rückgaberecht",privacyPolicy:"Datenschutzerklärung",termsOfService:"Geschäftsbedingungen",newAddress:"Neu Addresse",billingAddress:"Rechnungsaddresse",shippingAddress:"Versandaddresse",corporateInvoice:"Unternehmensrechnung",contactInfo:"Kontaktinformationen",email:"E-Mail",emailError:"Gebe eine gültige E-Mail ein",guestEmailTooltip:"Deine Bestellinformationen werden an diese E-Mail-Adresse gesendet",customerConsentCta:"Mich über Neuigkeiten und Angeboten informieren",useShippingForBilling:"Lieferadresse als Rechnungsaddresse verwenden",installmentOptions:"Ratenzahlungsoptionen",singleInstallment:"Einmalige Zahlung",installments:"Ratenzahlungen",creditCard:"Kreditkarte",ackPrivacyPolicy:"Datenschutzerklärung",ackTermsOfService:"Geschäftsbedingungen",ackPoliciesSentence:"I akzeptiere die {{ ackPrivacyPolicy }} und {{ ackTermsOfService }}.",securePaymentTooltip:"Alle Zahlungen sind sicher und verschlüsselt",giftPackage:"Geschenkpaket",giftPackageCta:"Diese Bestellung als Geschenk verpacken",giftPackageCtaPlaceholder:"Geschenknachricht eingeben",paymentMethod:"Zahlungsmethode",paymentMethodDiscount:"Rabatt",paymentMethodAdditionalPrice:"Gebühr",orderSuccessTitle:"Vielen Dank für Deine Bestellung!",orderSuccessDescription:"Hallo {{ customerName }}, wir haben Deine Bestellung erhalten. Wir benachrichtigen Dich, wenn die Bestellung versandt wird.",orderSuccessInStoreDeliveryDescription:"Hallo {{ customerName }}, wir haben Deine Bestellung erhalten. Wir werden Dich per E-Mail benachrichtigen, wenn die Bestellung in der Filiale eingetroffen ist.",orderNoAndDate:"Bestellnummer/Datum",paymentSummary:"Zahlungsübersicht",shippingSummary:"Versand Übersicht",helpCtaQuestion:"Brauchst Du Hilfe?",helpCta:"Kontaktiere uns",contactForm:"Kontakt-Formular",contactFormSent:"Nachricht erfolgreich versandt",contactFormDescription:"Wir werden so schnell wie möglich auf Deine Nachricht antworten.",contactFormCta:"Gebe Deine Nachricht ein",orderPackageStatus:{unfulfilled:"Nicht ausgeführt",readyForShipment:"Versandbereit",fulfilled:"Verschickt",partiallyFulfilled:"Teilweise verschickt",delivered:"Zugestellt",unableToDeliver:"Zugestellt fehlgeschlagen",cancelled:"Storniert",cancelRejected:"Storno abgeleht",cancelRequested:"Storno angefordert",refunded:"Rückerstattet",refundRequestAccepted:"Rückerstattungsanfrage angenommen",refundRejected:"Rückerstattungsanfrage abgeleht",refundRequested:"Rückerstattung angefragt"},quantity:"Menge",cartItemProduct:"Produkt",giftCodeErrorTitle:"Gutschein-/Rabattcode Fehler",giftCodeErrorDescription:"Der eingegebene Geschenkcode ist nicht gültig oder nicht auf die Produkte in Deinem Warenkorb anwendbar. Bitte überprüfe den Code und versuche es erneut.",subtotal:"Zwischensumme",total:"Bestellsumme",subtotalTooltip:"Die Zwischensumme entspricht der Bestellsumme Deines Warenkorbs vor den Rabatten und beinhaltet nicht die Versandkosten.",cartShippingTitle:"Lieferung/Versand",cartTaxTitle:"MwSt.",cartInterest:"Zinsen",couponCode:"Gutschein-/Rabattcode",addCouponCode:"Gutschein-/Rabattcode hinzufügen",addOrderNote:"Bestellnotiz hinzufügen",editOrderNote:"Bestellnotiz bearbeiten",orderNote:"Bestellnotiz",enterPhoneNumber:"Telefonnummer eingeben",cardNumber:"Kartennummer",cardNumberError:"Bitte gebe eine gültige Kartennummer ein",cardHolderName:"Name des Karteninhabers",cardHolderError:"Name des Karteninhabers eingeben",cardExpiry:"Monat/Jahr",cardExpiryError:"Gebe ein gültiges Datum ein",cardCVC:"CVC",cardCVCError:"Gebe einen gültigen CVC ein",cardCVCTooltip:"CVC ist die 3-stellige Nummer hinter der Karte",masterPass:{paymentGatewaySelectBox:{delete:"Löschen"},creditCardForm:{checkboxLabel:"Ich möchte meine Karte in der {{ masterpassLogo }} Infrastruktur speichern.",cardName:"Name der Karte",phoneNumber:"Telefonnummer",button:"Verifizierungscode senden"},linkCardToClientModal:{text:"Du hast eine bei Masterpass registrierte Karte. Klicke auf OK, um diese Karte für Deinen Einkauf zu verwenden.",buttonText:"OK",subInfoText:"Zu diesem Zeitpunkt wird noch keine Zahlung durchgeführt."},otpModal:{otpTextBank:"Gebe den SMS-Verifizierungscode ein, der dem Karteninhaber zugesandt wurde.",otpTextMasterPass:"Gebe den von Masterpass gesendeten SMS-Verifizierungscode ein.",countdownText:"Verbleibende Zeit: ",resendText:"Code erneut senden",inputLabel:"Gebe den Verifizierungscode ein",buttonText:"Verifizieren"},successModal:{otpSuccessText:"Deine Karte wurde erfolgreich registriert.",linkCardToClientSuccessText:"Dein Masterpass-Konto wurde erfolgreich bestätigt."}},timeRemaining:"Verbleibende Zeit {{value}}",errorCustomerRequired:"Diese E-Mail-Adresse gehört einem registrierten Benutzer. Bitte logge Dich ein.",errorNoShipping:"Keine Versandoptionen für deine Region gefunden.",errorPayment:"Deine Zahlung konnte nicht empfangen werden. Bitte überprüfe Deine Angaben und versuche es erneut.",errorStockTitle:"Lagerbestand aktualisiert!",errorStockDescription:"Einige Artikel in Deinem Warenkorb sind nicht auf Lager. Wenn Du trotzdem fortfährst werden Produkte die nicht auf Lager sind aus Deinem Warenkorb entfernt?",errorUnknown:"Es ist ein unerwarteter Fehler aufgetreten. Bitte versuche es erneut.",errorPickupLocationRequired:"Abholort wählen",customizedProduct:"Individualisiertes Produkt",yes:"Ja",no:"Nein"};export{e as default};