@ikas/storefront 2.0.35-alpha.6 → 2.0.35
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 +0 -27
- package/build/__generated__/global-types.js +1 -1
- package/build/_virtual/index.js_commonjs-proxy2.js +1 -1
- package/build/_virtual/index.js_commonjs-proxy3.js +1 -1
- package/build/analytics/analytics.js +1 -1
- package/build/analytics/googleTagManager.d.ts +0 -2
- package/build/analytics/googleTagManager.js +1 -1
- package/build/analytics/head/index.js +1 -1
- package/build/analytics/ikas.js +1 -1
- package/build/api/brand/index.js +1 -1
- package/build/api/category/index.js +1 -1
- package/build/api/checkout/index.js +1 -1
- package/build/api/customer/__generated__/customerLogin.d.ts +0 -7
- package/build/api/customer/__generated__/customerSocialLogin.d.ts +0 -7
- package/build/api/customer/__generated__/getMyCustomer.d.ts +0 -7
- package/build/api/customer/__generated__/registerCustomer.d.ts +1 -9
- package/build/api/customer/__generated__/saveMyCustomer.d.ts +0 -7
- package/build/api/customer/index.d.ts +1 -3
- package/build/api/customer/index.js +1 -1
- package/build/api/customer-review/index.js +1 -1
- package/build/api/customer-review-summary/index.js +1 -1
- package/build/api/favorite-product/index.js +1 -1
- package/build/api/html-meta-data/index.js +1 -1
- package/build/api/merchant/index.js +1 -1
- package/build/api/product-search/index.js +1 -1
- package/build/api/storefront/__generated__/getStorefront.d.ts +0 -2
- package/build/api/storefront/index.js +1 -1
- package/build/components/checkout/components/address-form/model.js +1 -1
- package/build/components/checkout/components/cart-summary/cart-item/index.js +1 -1
- package/build/components/checkout/components/credit-card-form/index.js +1 -1
- package/build/components/checkout/components/customer-addresses/model.js +1 -1
- package/build/components/checkout/index.js +1 -1
- package/build/components/checkout/model.js +1 -1
- package/build/components/checkout/steps/step-success/index.js +1 -1
- package/build/components/page/head.js +1 -1
- package/build/components/page/index.js +1 -1
- package/build/components/page-editor/ThemeComponentEditor.js +1 -1
- package/build/components/page-editor/model.js +1 -1
- package/build/ikas.js +5 -5
- package/build/index.js +1 -1
- package/build/models/data/customer/index.d.ts +0 -2
- package/build/models/data/customer/index.js +1 -1
- package/build/models/data/index.d.ts +0 -4
- package/build/models/data/product/variant/index.js +1 -1
- package/build/models/data/storefront/index.d.ts +0 -2
- package/build/models/data/storefront/index.js +1 -1
- package/build/models/ui/blog-category-list/index.js +1 -1
- package/build/models/ui/blog-list/index.js +1 -1
- package/build/models/ui/brand-list/index.js +1 -1
- package/build/models/ui/category-list/index.js +1 -1
- package/build/models/ui/customer-review-list/index.js +1 -1
- package/build/models/ui/customer-review-summary-list/index.js +1 -1
- package/build/models/ui/product-detail/index.js +1 -1
- package/build/models/ui/product-list/index.js +1 -1
- package/build/models/ui/raffle-list/index.js +1 -1
- package/build/models/ui/validator/form/address.js +1 -1
- package/build/models/ui/validator/form/raffle-form.js +1 -1
- package/build/models/ui/validator/form/register.d.ts +0 -4
- package/build/models/ui/validator/form/register.js +1 -1
- package/build/pages/404.js +1 -1
- package/build/pages/_slug_/index.js +1 -1
- package/build/pages/account/addresses.js +1 -1
- package/build/pages/account/favorite-products.js +1 -1
- package/build/pages/account/forgot-password.js +1 -1
- package/build/pages/account/index.js +1 -1
- package/build/pages/account/login.js +1 -1
- package/build/pages/account/orders/_id_.js +1 -1
- package/build/pages/account/orders/index.js +1 -1
- package/build/pages/account/raffles.js +1 -1
- package/build/pages/account/recover-password.js +1 -1
- package/build/pages/account/register.js +1 -1
- package/build/pages/blog/_slug_.js +1 -1
- package/build/pages/blog/index.js +1 -1
- package/build/pages/cart.js +1 -1
- package/build/pages/checkout.js +1 -1
- package/build/pages/home.js +1 -1
- package/build/pages/pages/_slug_.js +1 -1
- package/build/pages/raffle/_slug_.js +1 -1
- package/build/pages/raffle/index.js +1 -1
- package/build/pages/search.js +1 -1
- package/build/providers/helpers/raffles.js +1 -1
- package/build/providers/page-data-get.d.ts +0 -2
- package/build/providers/page-data-get.js +1 -1
- package/build/providers/page-data-init.js +1 -1
- package/build/providers/page-data-next.d.ts +0 -12
- package/build/providers/page-data-next.js +1 -1
- package/build/providers/placeholders.js +1 -1
- package/build/providers/prop-value/attribute-list.js +1 -1
- package/build/providers/prop-value/attribute.js +1 -1
- package/build/providers/prop-value/blog-category-list.js +1 -1
- package/build/providers/prop-value/blog-category.js +1 -1
- package/build/providers/prop-value/blog-list.js +1 -1
- package/build/providers/prop-value/blog.js +1 -1
- package/build/providers/prop-value/brand-list.js +1 -1
- package/build/providers/prop-value/brand.js +1 -1
- package/build/providers/prop-value/category-list.js +1 -1
- package/build/providers/prop-value/category.js +1 -1
- package/build/providers/prop-value/custom.js +1 -1
- package/build/providers/prop-value/image-list.js +1 -1
- package/build/providers/prop-value/image.js +1 -1
- package/build/providers/prop-value/link.js +1 -1
- package/build/providers/prop-value/product-detail.js +1 -1
- package/build/providers/prop-value/product-list.js +1 -1
- package/build/providers/prop-value/raffle-list.js +1 -1
- package/build/providers/prop-value/raffle.js +1 -1
- package/build/scripts/generators/types/index.js +1 -1
- package/build/store/base.js +1 -1
- package/build/store/cart.js +1 -1
- package/build/store/customer.d.ts +1 -4
- package/build/store/customer.js +1 -1
- package/build/storefront/index.d.ts +0 -4
- package/build/storefront/index.js +1 -1
- package/package.json +1 -1
- package/build/analytics/googleAnalytics.d.ts +0 -13
- package/build/analytics/googleAnalytics.js +0 -1
- package/build/analytics/googleUniversal.d.ts +0 -8
- package/build/analytics/googleUniversal.js +0 -1
- package/build/api/customer/__generated__/getOrderByEmail.d.ts +0 -615
- package/build/api/customer-attribute/__generated__/listCustomerAttribute.d.ts +0 -44
- package/build/api/customer-attribute/index.d.ts +0 -4
- package/build/api/customer-attribute/index.js +0 -1
- package/build/models/data/customer/attribute-value/index.d.ts +0 -9
- package/build/models/data/customer/attribute-value/index.js +0 -1
- package/build/models/data/customer-attribute/customer-attribute-option/index.d.ts +0 -5
- package/build/models/data/customer-attribute/customer-attribute-option/index.js +0 -1
- package/build/models/data/customer-attribute/customer-attribute-sales-channel/index.d.ts +0 -17
- package/build/models/data/customer-attribute/customer-attribute-sales-channel/index.js +0 -1
- package/build/models/data/customer-attribute/index.d.ts +0 -35
- package/build/models/data/customer-attribute/index.js +0 -1
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare class IkasCustomerAttributeSalesChannel {
|
|
2
|
-
permission: IkasCustomerAttributePermissionEnum;
|
|
3
|
-
registerPageRequirement: IkasCustomerAttributeRegisterPageRequirementEnum;
|
|
4
|
-
salesChannelId: string;
|
|
5
|
-
storefrontId: string;
|
|
6
|
-
constructor(data: IkasCustomerAttributeSalesChannel);
|
|
7
|
-
}
|
|
8
|
-
export declare enum IkasCustomerAttributePermissionEnum {
|
|
9
|
-
INVISIBLE = "INVISIBLE",
|
|
10
|
-
READ = "READ",
|
|
11
|
-
WRITE = "WRITE"
|
|
12
|
-
}
|
|
13
|
-
export declare enum IkasCustomerAttributeRegisterPageRequirementEnum {
|
|
14
|
-
INVISIBLE = "INVISIBLE",
|
|
15
|
-
MANDATORY = "MANDATORY",
|
|
16
|
-
OPTIONAL = "OPTIONAL"
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{makeAutoObservable as e}from"mobx";var I,t,i=function(i){this.permission=i.permission||I.READ,this.registerPageRequirement=i.registerPageRequirement||t.OPTIONAL,this.salesChannelId=i.salesChannelId,this.storefrontId=i.storefrontId,e(this)};!function(e){e.INVISIBLE="INVISIBLE",e.READ="READ",e.WRITE="WRITE"}(I||(I={})),function(e){e.INVISIBLE="INVISIBLE",e.MANDATORY="MANDATORY",e.OPTIONAL="OPTIONAL"}(t||(t={}));export{I as IkasCustomerAttributePermissionEnum,t as IkasCustomerAttributeRegisterPageRequirementEnum,i as IkasCustomerAttributeSalesChannel};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { IkasCustomerAttributeOption } from "./customer-attribute-option";
|
|
2
|
-
import { IkasCustomerAttributeSalesChannel } from "./customer-attribute-sales-channel";
|
|
3
|
-
export declare class IkasCustomerAttribute {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
description: string | null;
|
|
7
|
-
type: IkasCustomerAttributeType;
|
|
8
|
-
options?: IkasCustomerAttributeOption[] | null;
|
|
9
|
-
salesChannels?: IkasCustomerAttributeSalesChannel[] | null;
|
|
10
|
-
translations: IkasCustomerAttributeTranslation[] | null;
|
|
11
|
-
constructor(data: Partial<IkasCustomerAttribute>);
|
|
12
|
-
get accountPagePermission(): import("./customer-attribute-sales-channel").IkasCustomerAttributePermissionEnum | undefined;
|
|
13
|
-
get registerPageRequirement(): import("./customer-attribute-sales-channel").IkasCustomerAttributeRegisterPageRequirementEnum | undefined;
|
|
14
|
-
private setTranslations;
|
|
15
|
-
}
|
|
16
|
-
export declare enum IkasCustomerAttributeType {
|
|
17
|
-
CHOICE = "CHOICE",
|
|
18
|
-
MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
|
|
19
|
-
TEXT = "TEXT",
|
|
20
|
-
BOOLEAN = "BOOLEAN",
|
|
21
|
-
NUMERIC = "NUMERIC",
|
|
22
|
-
DATETIME = "DATETIME",
|
|
23
|
-
HTML = "HTML"
|
|
24
|
-
}
|
|
25
|
-
declare type IkasCustomerAttributeTranslation = {
|
|
26
|
-
description: string | null;
|
|
27
|
-
locale: string;
|
|
28
|
-
name: string | null;
|
|
29
|
-
options: IkasCustomerAttributeOptionTranslation[] | null;
|
|
30
|
-
};
|
|
31
|
-
declare type IkasCustomerAttributeOptionTranslation = {
|
|
32
|
-
id: string;
|
|
33
|
-
name: string | null;
|
|
34
|
-
};
|
|
35
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{makeAutoObservable as n}from"mobx";import{IkasStorefrontConfig as t}from"../../../storefront/index.js";import{IkasCustomerAttributeSalesChannel as e}from"./customer-attribute-sales-channel/index.js";var i,s=function(){function s(t){this.translations=null,this.id=t.id||"",this.name=t.name||"",this.description=t.description||"",this.type=t.type||i.TEXT,this.options=t.options||null,this.salesChannels=t.salesChannels?t.salesChannels.map((function(n){return new e(n)})):[],this.translations=t.translations||null,this.setTranslations(),n(this)}return Object.defineProperty(s.prototype,"accountPagePermission",{get:function(){var n,e,i=t.salesChannelId;return null===(e=null===(n=this.salesChannels)||void 0===n?void 0:n.find((function(n){return n.salesChannelId===i})))||void 0===e?void 0:e.permission},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"registerPageRequirement",{get:function(){var n,e,i=t.salesChannelId;return null===(e=null===(n=this.salesChannels)||void 0===n?void 0:n.find((function(n){return n.salesChannelId===i})))||void 0===e?void 0:e.registerPageRequirement},enumerable:!1,configurable:!0}),s.prototype.setTranslations=function(){var n;if(this.translations&&this.translations.some((function(n){return n.locale===t.getCurrentLocale()}))){var e=this.translations.find((function(n){return n.locale===t.getCurrentLocale()}));(null==e?void 0:e.name)&&(this.name=e.name),(null==e?void 0:e.description)&&(this.description=e.description),(null==e?void 0:e.options)&&(null===(n=this.options)||void 0===n||n.forEach((function(n){var t,i=null===(t=e.options)||void 0===t?void 0:t.find((function(t){return t.id===n.id}));i&&i.name&&(n.name=i.name)})))}},s}();!function(n){n.CHOICE="CHOICE",n.MULTIPLE_CHOICE="MULTIPLE_CHOICE",n.TEXT="TEXT",n.BOOLEAN="BOOLEAN",n.NUMERIC="NUMERIC",n.DATETIME="DATETIME",n.HTML="HTML"}(i||(i={}));export{s as IkasCustomerAttribute,i as IkasCustomerAttributeType};
|