@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.
Files changed (129) hide show
  1. package/build/__generated__/global-types.d.ts +0 -27
  2. package/build/__generated__/global-types.js +1 -1
  3. package/build/_virtual/index.js_commonjs-proxy2.js +1 -1
  4. package/build/_virtual/index.js_commonjs-proxy3.js +1 -1
  5. package/build/analytics/analytics.js +1 -1
  6. package/build/analytics/googleTagManager.d.ts +0 -2
  7. package/build/analytics/googleTagManager.js +1 -1
  8. package/build/analytics/head/index.js +1 -1
  9. package/build/analytics/ikas.js +1 -1
  10. package/build/api/brand/index.js +1 -1
  11. package/build/api/category/index.js +1 -1
  12. package/build/api/checkout/index.js +1 -1
  13. package/build/api/customer/__generated__/customerLogin.d.ts +0 -7
  14. package/build/api/customer/__generated__/customerSocialLogin.d.ts +0 -7
  15. package/build/api/customer/__generated__/getMyCustomer.d.ts +0 -7
  16. package/build/api/customer/__generated__/registerCustomer.d.ts +1 -9
  17. package/build/api/customer/__generated__/saveMyCustomer.d.ts +0 -7
  18. package/build/api/customer/index.d.ts +1 -3
  19. package/build/api/customer/index.js +1 -1
  20. package/build/api/customer-review/index.js +1 -1
  21. package/build/api/customer-review-summary/index.js +1 -1
  22. package/build/api/favorite-product/index.js +1 -1
  23. package/build/api/html-meta-data/index.js +1 -1
  24. package/build/api/merchant/index.js +1 -1
  25. package/build/api/product-search/index.js +1 -1
  26. package/build/api/storefront/__generated__/getStorefront.d.ts +0 -2
  27. package/build/api/storefront/index.js +1 -1
  28. package/build/components/checkout/components/address-form/model.js +1 -1
  29. package/build/components/checkout/components/cart-summary/cart-item/index.js +1 -1
  30. package/build/components/checkout/components/credit-card-form/index.js +1 -1
  31. package/build/components/checkout/components/customer-addresses/model.js +1 -1
  32. package/build/components/checkout/index.js +1 -1
  33. package/build/components/checkout/model.js +1 -1
  34. package/build/components/checkout/steps/step-success/index.js +1 -1
  35. package/build/components/page/head.js +1 -1
  36. package/build/components/page/index.js +1 -1
  37. package/build/components/page-editor/ThemeComponentEditor.js +1 -1
  38. package/build/components/page-editor/model.js +1 -1
  39. package/build/ikas.js +5 -5
  40. package/build/index.js +1 -1
  41. package/build/models/data/customer/index.d.ts +0 -2
  42. package/build/models/data/customer/index.js +1 -1
  43. package/build/models/data/index.d.ts +0 -4
  44. package/build/models/data/product/variant/index.js +1 -1
  45. package/build/models/data/storefront/index.d.ts +0 -2
  46. package/build/models/data/storefront/index.js +1 -1
  47. package/build/models/ui/blog-category-list/index.js +1 -1
  48. package/build/models/ui/blog-list/index.js +1 -1
  49. package/build/models/ui/brand-list/index.js +1 -1
  50. package/build/models/ui/category-list/index.js +1 -1
  51. package/build/models/ui/customer-review-list/index.js +1 -1
  52. package/build/models/ui/customer-review-summary-list/index.js +1 -1
  53. package/build/models/ui/product-detail/index.js +1 -1
  54. package/build/models/ui/product-list/index.js +1 -1
  55. package/build/models/ui/raffle-list/index.js +1 -1
  56. package/build/models/ui/validator/form/address.js +1 -1
  57. package/build/models/ui/validator/form/raffle-form.js +1 -1
  58. package/build/models/ui/validator/form/register.d.ts +0 -4
  59. package/build/models/ui/validator/form/register.js +1 -1
  60. package/build/pages/404.js +1 -1
  61. package/build/pages/_slug_/index.js +1 -1
  62. package/build/pages/account/addresses.js +1 -1
  63. package/build/pages/account/favorite-products.js +1 -1
  64. package/build/pages/account/forgot-password.js +1 -1
  65. package/build/pages/account/index.js +1 -1
  66. package/build/pages/account/login.js +1 -1
  67. package/build/pages/account/orders/_id_.js +1 -1
  68. package/build/pages/account/orders/index.js +1 -1
  69. package/build/pages/account/raffles.js +1 -1
  70. package/build/pages/account/recover-password.js +1 -1
  71. package/build/pages/account/register.js +1 -1
  72. package/build/pages/blog/_slug_.js +1 -1
  73. package/build/pages/blog/index.js +1 -1
  74. package/build/pages/cart.js +1 -1
  75. package/build/pages/checkout.js +1 -1
  76. package/build/pages/home.js +1 -1
  77. package/build/pages/pages/_slug_.js +1 -1
  78. package/build/pages/raffle/_slug_.js +1 -1
  79. package/build/pages/raffle/index.js +1 -1
  80. package/build/pages/search.js +1 -1
  81. package/build/providers/helpers/raffles.js +1 -1
  82. package/build/providers/page-data-get.d.ts +0 -2
  83. package/build/providers/page-data-get.js +1 -1
  84. package/build/providers/page-data-init.js +1 -1
  85. package/build/providers/page-data-next.d.ts +0 -12
  86. package/build/providers/page-data-next.js +1 -1
  87. package/build/providers/placeholders.js +1 -1
  88. package/build/providers/prop-value/attribute-list.js +1 -1
  89. package/build/providers/prop-value/attribute.js +1 -1
  90. package/build/providers/prop-value/blog-category-list.js +1 -1
  91. package/build/providers/prop-value/blog-category.js +1 -1
  92. package/build/providers/prop-value/blog-list.js +1 -1
  93. package/build/providers/prop-value/blog.js +1 -1
  94. package/build/providers/prop-value/brand-list.js +1 -1
  95. package/build/providers/prop-value/brand.js +1 -1
  96. package/build/providers/prop-value/category-list.js +1 -1
  97. package/build/providers/prop-value/category.js +1 -1
  98. package/build/providers/prop-value/custom.js +1 -1
  99. package/build/providers/prop-value/image-list.js +1 -1
  100. package/build/providers/prop-value/image.js +1 -1
  101. package/build/providers/prop-value/link.js +1 -1
  102. package/build/providers/prop-value/product-detail.js +1 -1
  103. package/build/providers/prop-value/product-list.js +1 -1
  104. package/build/providers/prop-value/raffle-list.js +1 -1
  105. package/build/providers/prop-value/raffle.js +1 -1
  106. package/build/scripts/generators/types/index.js +1 -1
  107. package/build/store/base.js +1 -1
  108. package/build/store/cart.js +1 -1
  109. package/build/store/customer.d.ts +1 -4
  110. package/build/store/customer.js +1 -1
  111. package/build/storefront/index.d.ts +0 -4
  112. package/build/storefront/index.js +1 -1
  113. package/package.json +1 -1
  114. package/build/analytics/googleAnalytics.d.ts +0 -13
  115. package/build/analytics/googleAnalytics.js +0 -1
  116. package/build/analytics/googleUniversal.d.ts +0 -8
  117. package/build/analytics/googleUniversal.js +0 -1
  118. package/build/api/customer/__generated__/getOrderByEmail.d.ts +0 -615
  119. package/build/api/customer-attribute/__generated__/listCustomerAttribute.d.ts +0 -44
  120. package/build/api/customer-attribute/index.d.ts +0 -4
  121. package/build/api/customer-attribute/index.js +0 -1
  122. package/build/models/data/customer/attribute-value/index.d.ts +0 -9
  123. package/build/models/data/customer/attribute-value/index.js +0 -1
  124. package/build/models/data/customer-attribute/customer-attribute-option/index.d.ts +0 -5
  125. package/build/models/data/customer-attribute/customer-attribute-option/index.js +0 -1
  126. package/build/models/data/customer-attribute/customer-attribute-sales-channel/index.d.ts +0 -17
  127. package/build/models/data/customer-attribute/customer-attribute-sales-channel/index.js +0 -1
  128. package/build/models/data/customer-attribute/index.d.ts +0 -35
  129. 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};