@ikas/storefront-models 4.0.29 → 4.1.0-beta.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-cjs/models/checkout-settings/index.js.map +1 -1
- package/build-cjs/models/product/index.js.map +1 -1
- package/build-cjs/models/raffle/init.js.map +1 -1
- package/build-cjs/models/storefront/index.js.map +1 -1
- package/build-cjs/models/storefront/meta-templates/index.js.map +1 -0
- package/build-cjs/models/theme-json/component/prop/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/models/checkout-settings/index.ts"],"sourcesContent":["import { IkasBaseModel } from \"../base\";\nimport { IkasCheckoutOption } from \"./option\";\nimport { IkasCheckoutSettingsPrice } from \"./price\";\n\nexport type IkasCheckoutSettings = {\n giftPackagePriceList: IkasCheckoutSettingsPrice[] | null;\n identityNumberRequirement: IkasCheckoutRequirement;\n isAccountRequired: boolean;\n isGiftPackageEnabled: boolean | null;\n isShowPostalCode: boolean | null;\n isTermsAndConditionsDefaultChecked: boolean | null;\n options: IkasCheckoutOption[] | null;\n phoneRequirement: IkasCheckoutRequirement;\n postalCodeRequirement: IkasCheckoutRequirement | null;\n showCheckoutNote: boolean | null;\n showTermsAndConditionsCheckbox: boolean;\n storefrontId: string;\n} & IkasBaseModel;\n\nexport enum IkasCheckoutRequirement {\n INVISIBLE = \"INVISIBLE\",\n MANDATORY = \"MANDATORY\",\n OPTIONAL = \"OPTIONAL\",\n}\n"],"names":["IkasCheckoutRequirement"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/models/checkout-settings/index.ts"],"sourcesContent":["import { IkasBaseModel } from \"../base\";\nimport { IkasCheckoutOption } from \"./option\";\nimport { IkasCheckoutSettingsPrice } from \"./price\";\n\nexport type IkasCheckoutSettings = {\n giftPackagePriceList: IkasCheckoutSettingsPrice[] | null;\n identityNumberRequirement: IkasCheckoutRequirement;\n isAccountRequired: boolean;\n isGiftPackageEnabled: boolean | null;\n isQuickRegistrationEnabled: boolean | null;\n isShowPostalCode: boolean | null;\n isTermsAndConditionsDefaultChecked: boolean | null;\n options: IkasCheckoutOption[] | null;\n phoneRequirement: IkasCheckoutRequirement;\n postalCodeRequirement: IkasCheckoutRequirement | null;\n showCheckoutNote: boolean | null;\n showTermsAndConditionsCheckbox: boolean;\n storefrontId: string;\n} & IkasBaseModel;\n\nexport enum IkasCheckoutRequirement {\n INVISIBLE = \"INVISIBLE\",\n MANDATORY = \"MANDATORY\",\n OPTIONAL = \"OPTIONAL\",\n}\n"],"names":["IkasCheckoutRequirement"],"mappings":"aAoBA,IAAYA,yDAAAA,QAIXA,6BAAA,GAJWA,EAAAA,QAAuBA,0BAAvBA,gCAIX,KAHC,UAAA,YACAA,EAAA,UAAA,YACAA,EAAA,SAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/models/product/index.ts"],"sourcesContent":["import { IkasCategory } from \"../category\";\nimport { IkasProductVariant } from \"./variant\";\nimport { IkasProductAttributeValue } from \"./attribute-value\";\nimport { IkasProductVariantType } from \"./variant-type\";\nimport { IkasBrand } from \"../brand\";\nimport { IkasHTMLMetaData } from \"../html-meta-data\";\nimport { IkasProductTag } from \"./tag\";\nimport { IkasVariantValue } from \"../variant-type/variant-value\";\nimport { IkasVariantType } from \"../variant-type\";\nimport { IkasProductBaseUnit } from \"./base-unit\";\n\nexport type IkasProduct = {\n id: string;\n name: string;\n type: IkasProductType;\n description: string;\n shortDescription: string;\n metaData: IkasHTMLMetaData | null;\n brand: IkasBrand | null;\n categories: IkasCategory[];\n tags: IkasProductTag[] | null;\n variants: IkasProductVariant[];\n attributes: IkasProductAttributeValue[];\n variantTypes: IkasProductVariantType[];\n productOptionSetId: string | null;\n baseUnit: IkasProductBaseUnit | null;\n};\n\nexport enum IkasProductType {\n PHYSICAL = \"PHYSICAL\",\n DIGITAL = \"DIGITAL\",\n MEMBERSHIP = \"MEMBERSHIP\",\n}\n\nexport type IkasDisplayedVariantValue = {\n variant: IkasProductVariant; // TODO remove?\n variantValue: IkasVariantValue;\n hasStock: boolean;\n isSelected: boolean;\n};\n\nexport type IkasDisplayedVariantType = {\n variantType: IkasVariantType;\n displayedVariantValues: IkasDisplayedVariantValue[];\n};\n"],"names":["IkasProductType"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/models/product/index.ts"],"sourcesContent":["import { IkasCategory } from \"../category\";\nimport { IkasProductVariant } from \"./variant\";\nimport { IkasProductAttributeValue } from \"./attribute-value\";\nimport { IkasProductVariantType } from \"./variant-type\";\nimport { IkasBrand } from \"../brand\";\nimport { IkasHTMLMetaData } from \"../html-meta-data\";\nimport { IkasProductTag } from \"./tag\";\nimport { IkasVariantValue } from \"../variant-type/variant-value\";\nimport { IkasVariantType } from \"../variant-type\";\nimport { IkasProductBaseUnit } from \"./base-unit\";\n\nexport type IkasProduct = {\n id: string;\n name: string;\n type: IkasProductType;\n description: string;\n shortDescription: string;\n metaData: IkasHTMLMetaData | null;\n brand: IkasBrand | null;\n categories: IkasCategory[];\n tags: IkasProductTag[] | null;\n variants: IkasProductVariant[];\n attributes: IkasProductAttributeValue[];\n variantTypes: IkasProductVariantType[];\n productOptionSetId: string | null;\n baseUnit: IkasProductBaseUnit | null;\n averageRating: number | null;\n reviewCount: number | null;\n};\n\nexport enum IkasProductType {\n PHYSICAL = \"PHYSICAL\",\n DIGITAL = \"DIGITAL\",\n MEMBERSHIP = \"MEMBERSHIP\",\n}\n\nexport type IkasDisplayedVariantValue = {\n variant: IkasProductVariant; // TODO remove?\n variantValue: IkasVariantValue;\n hasStock: boolean;\n isSelected: boolean;\n};\n\nexport type IkasDisplayedVariantType = {\n variantType: IkasVariantType;\n displayedVariantValues: IkasDisplayedVariantValue[];\n};\n"],"names":["IkasProductType"],"mappings":"aA8BA,IAAYA,yDAAAA,QAIXA,qBAAA,GAJWA,EAAAA,QAAeA,kBAAfA,wBAIX,KAHC,SAAA,WACAA,EAAA,QAAA,UACAA,EAAA,WAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sources":["../../../src/models/raffle/init.ts"],"sourcesContent":["import { IkasRaffle } from \".\";\nimport { initIkasProduct } from \"../product/init\";\n\nexport function initIkasRaffle(raffle: IkasRaffle, locale: string | null) {\n raffle.products
|
|
1
|
+
{"version":3,"file":"init.js","sources":["../../../src/models/raffle/init.ts"],"sourcesContent":["import { IkasRaffle } from \".\";\nimport { initIkasProduct } from \"../product/init\";\n\nexport function initIkasRaffle(raffle: IkasRaffle, locale: string | null) {\n raffle.products?.map((p) => initIkasProduct(p, locale));\n}\n"],"names":["raffle","locale","_a","products","map","p","initIkasProduct"],"mappings":"+HAGgB,SAAeA,EAAoBC,iBACjDC,EAAAF,EAAOG,yBAAUC,KAAI,SAACC,GAAM,OAAAC,EAAAA,gBAAgBD,EAAGJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/models/storefront/index.ts"],"sourcesContent":["import { IkasStorefrontLocalization } from \"./localization\";\nimport { IkasStorefrontDomain } from \"./domain\";\nimport { IkasStorefrontRouting } from \"./routing\";\nimport { IkasStorefrontTheme } from \"./theme\";\n\nexport enum IkasStorefrontStatus {\n WAITING = \"WAITING\",\n READY = \"READY\",\n}\n\nexport type IkasStorefront = {\n id: string;\n name: string;\n status: IkasStorefrontStatus;\n\n mainStorefrontThemeId: string | null;\n pickUpStockLocationIds: string[] | null;\n emailSettingsId: string | null;\n salesChannelId: string | null;\n fbpId: string | null;\n gtmId: string | null;\n analytics4Id: string | null;\n universalAnalyticsId: string | null;\n tiktokPixelId: string | null;\n token: string | null;\n
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/models/storefront/index.ts"],"sourcesContent":["import { IkasStorefrontLocalization } from \"./localization\";\nimport { IkasStorefrontDomain } from \"./domain\";\nimport { IkasStorefrontRouting } from \"./routing\";\nimport { IkasStorefrontTheme } from \"./theme\";\nimport { IkasStorefontMetaTemplates } from \"./meta-templates\";\n\nexport enum IkasStorefrontStatus {\n WAITING = \"WAITING\",\n READY = \"READY\",\n}\n\nexport type IkasStorefront = {\n id: string;\n name: string;\n status: IkasStorefrontStatus;\n\n mainStorefrontThemeId: string | null;\n pickUpStockLocationIds: string[] | null;\n emailSettingsId: string | null;\n salesChannelId: string | null;\n fbpId: string | null;\n gtmId: string | null;\n analytics4Id: string | null;\n universalAnalyticsId: string | null;\n tiktokPixelId: string | null;\n token: string | null;\n metaTemplates: IkasStorefontMetaTemplates[] | null;\n robotsTxt: string | null;\n localizations: IkasStorefrontLocalization[];\n routings: IkasStorefrontRouting[];\n domains: IkasStorefrontDomain[];\n themes: IkasStorefrontTheme[];\n};\n"],"names":["IkasStorefrontStatus"],"mappings":"aAMA,IAAYA,yDAAAA,QAGXA,0BAAA,GAHWA,EAAAA,QAAoBA,uBAApBA,6BAGX,KAFC,QAAA,UACAA,EAAA,MAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/models/storefront/meta-templates/index.ts"],"sourcesContent":["export type IkasStorefontMetaTemplates = {\n descriptionTemplate: string | null;\n locale: string | null;\n pageType: StorefrontPageTypesEnum | null;\n titleTemplate: string | null;\n};\n\nexport enum StorefrontPageTypesEnum {\n BLOG = \"BLOG\",\n BLOG_CATEGORY = \"BLOG_CATEGORY\",\n BRAND = \"BRAND\",\n CATEGORY = \"CATEGORY\",\n CUSTOM = \"CUSTOM\",\n PRODUCT = \"PRODUCT\",\n}\n"],"names":["StorefrontPageTypesEnum"],"mappings":"aAOA,IAAYA,yDAAAA,QAOXA,6BAAA,GAPWA,EAAAA,QAAuBA,0BAAvBA,gCAOX,KANC,KAAA,OACAA,EAAA,cAAA,gBACAA,EAAA,MAAA,QACAA,EAAA,SAAA,WACAA,EAAA,OAAA,SACAA,EAAA,QAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/models/theme-json/component/prop/index.ts"],"sourcesContent":["import { IkasProductAttributeType } from \"../../../..\";\n\nexport type IkasThemeJsonComponentProp = {\n id: string;\n name: string;\n displayName
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/models/theme-json/component/prop/index.ts"],"sourcesContent":["import { IkasProductAttributeType } from \"../../../..\";\n\nexport type IkasThemeJsonComponentProp = {\n id: string;\n name: string;\n displayName?: string;\n description?: string;\n type: IkasThemeJsonComponentPropType;\n isRequired: boolean;\n customDataId?: string | null;\n groupId?: string;\n requiredPropId?: string;\n requiredEnumOptionId?: string;\n requiredEnumOptionValue?: string;\n attributeTypes?: IkasProductAttributeType[] | null;\n sliderData: IkasThemeJsonSliderData;\n translations?: {\n [locale: string]: IkasPropTranslation;\n };\n};\n\nexport type IkasThemeJsonSliderData = {\n min?: number;\n max?: number;\n interval?: number;\n unit?: string;\n};\n\nexport enum IkasThemeJsonComponentPropType {\n TEXT = \"TEXT\",\n RICH_TEXT = \"RICH_TEXT\",\n BOOLEAN = \"BOOLEAN\",\n IMAGE = \"IMAGE\",\n IMAGE_LIST = \"IMAGE_LIST\",\n LINK = \"LINK\",\n LIST_OF_LINK = \"LIST_OF_LINK\",\n PRODUCT_DETAIL = \"PRODUCT_DETAIL\",\n PRODUCT_LIST = \"PRODUCT_LIST\",\n PRODUCT_ATTRIBUTE = \"PRODUCT_ATTRIBUTE\",\n PRODUCT_ATTRIBUTE_LIST = \"PRODUCT_ATTRIBUTE_LIST\",\n BRAND = \"BRAND\",\n BRAND_LIST = \"BRAND_LIST\",\n CATEGORY = \"CATEGORY\",\n CATEGORY_LIST = \"CATEGORY_LIST\",\n COLOR = \"COLOR\",\n CUSTOM = \"CUSTOM\",\n COMPONENT = \"COMPONENT\",\n COMPONENT_LIST = \"COMPONENT_LIST\",\n BLOG = \"BLOG\",\n BLOG_LIST = \"BLOG_LIST\",\n BLOG_CATEGORY = \"BLOG_CATEGORY\",\n BLOG_CATEGORY_LIST = \"BLOG_CATEGORY_LIST\",\n RAFFLE = \"RAFFLE\",\n RAFFLE_LIST = \"RAFFLE_LIST\",\n SLIDER = \"SLIDER\",\n\n OBJECT = \"OBJECT\",\n STATIC_LIST = \"STATIC_LIST\",\n DYNAMIC_LIST = \"DYNAMIC_LIST\",\n ENUM = \"ENUM\",\n}\n\nexport type IkasPropTranslation = {\n displayName: string | null;\n description: string | null;\n};\n"],"names":["IkasThemeJsonComponentPropType"],"mappings":"aA4BA,IAAYA,yDAAAA,QAgCXA,oCAAA,GAhCWA,EAAAA,QAA8BA,iCAA9BA,uCAgCX,KA/BC,KAAA,OACAA,EAAA,UAAA,YACAA,EAAA,QAAA,UACAA,EAAA,MAAA,QACAA,EAAA,WAAA,aACAA,EAAA,KAAA,OACAA,EAAA,aAAA,eACAA,EAAA,eAAA,iBACAA,EAAA,aAAA,eACAA,EAAA,kBAAA,oBACAA,EAAA,uBAAA,yBACAA,EAAA,MAAA,QACAA,EAAA,WAAA,aACAA,EAAA,SAAA,WACAA,EAAA,cAAA,gBACAA,EAAA,MAAA,QACAA,EAAA,OAAA,SACAA,EAAA,UAAA,YACAA,EAAA,eAAA,iBACAA,EAAA,KAAA,OACAA,EAAA,UAAA,YACAA,EAAA,cAAA,gBACAA,EAAA,mBAAA,qBACAA,EAAA,OAAA,SACAA,EAAA,YAAA,cACAA,EAAA,OAAA,SAEAA,EAAA,OAAA,SACAA,EAAA,YAAA,cACAA,EAAA,aAAA,eACAA,EAAA,KAAA"}
|