@ikas/bp-storefront 0.15.0
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/dist/_virtual/URL-impl.js +1 -0
- package/dist/_virtual/URL.js +1 -0
- package/dist/_virtual/_commonjsHelpers.js +1 -0
- package/dist/_virtual/_nodeUtil.js +1 -0
- package/dist/_virtual/fetch-npm-node.js +1 -0
- package/dist/_virtual/index.js +1 -0
- package/dist/_virtual/index.mjs.js +1 -0
- package/dist/_virtual/isBuffer.js +1 -0
- package/dist/_virtual/public-api.js +1 -0
- package/dist/_virtual/url-state-machine.js +1 -0
- package/dist/_virtual/utils.js +1 -0
- package/dist/analytics/analytics-functions/addToCart.js +1 -0
- package/dist/analytics/analytics-functions/addToWishlist.js +1 -0
- package/dist/analytics/analytics-functions/completeRegistration.js +1 -0
- package/dist/analytics/analytics-functions/contactForm.js +1 -0
- package/dist/analytics/analytics-functions/createEmailSubscription.js +1 -0
- package/dist/analytics/analytics-functions/customerLogin.js +1 -0
- package/dist/analytics/analytics-functions/customerLogout.js +1 -0
- package/dist/analytics/analytics-functions/customerVisit.js +1 -0
- package/dist/analytics/analytics-functions/helpers.js +1 -0
- package/dist/analytics/analytics-functions/pageView.js +1 -0
- package/dist/analytics/analytics-functions/productView.js +1 -0
- package/dist/analytics/analytics-functions/removeFromCart.js +1 -0
- package/dist/analytics/analytics-functions/search.js +1 -0
- package/dist/analytics/analytics-functions/viewBrand.js +1 -0
- package/dist/analytics/analytics-functions/viewCart.js +1 -0
- package/dist/analytics/analytics-functions/viewCategory.js +1 -0
- package/dist/analytics/analytics-functions/viewListing.js +1 -0
- package/dist/analytics/analytics-functions/viewSearchResults.js +1 -0
- package/dist/analytics/analytics-functions/viewStorefrontPopup.js +1 -0
- package/dist/analytics/analytics.js +1 -0
- package/dist/analytics/events.js +1 -0
- package/dist/analytics/facebook/addToCart.js +1 -0
- package/dist/analytics/facebook/addToWishlist.js +1 -0
- package/dist/analytics/facebook/completeRegistration.js +1 -0
- package/dist/analytics/facebook/contactForm.js +1 -0
- package/dist/analytics/facebook/pageView.js +1 -0
- package/dist/analytics/facebook/productView.js +1 -0
- package/dist/analytics/facebook/search.js +1 -0
- package/dist/analytics/facebook/utils.js +1 -0
- package/dist/analytics/facebook/viewCart.js +1 -0
- package/dist/analytics/facebook/viewCategory.js +1 -0
- package/dist/analytics/google-analytics/addToCart.js +1 -0
- package/dist/analytics/google-analytics/productView.js +1 -0
- package/dist/analytics/google-analytics/removeFromCart.js +1 -0
- package/dist/analytics/google-analytics/search.js +1 -0
- package/dist/analytics/google-analytics/utils.js +1 -0
- package/dist/analytics/google-analytics/viewCart.js +1 -0
- package/dist/analytics/google-tag-manager/addToCart.js +1 -0
- package/dist/analytics/google-tag-manager/completeRegistration.js +1 -0
- package/dist/analytics/google-tag-manager/customerLogin.js +1 -0
- package/dist/analytics/google-tag-manager/customerLogout.js +1 -0
- package/dist/analytics/google-tag-manager/customerVisit.js +1 -0
- package/dist/analytics/google-tag-manager/pageView.js +1 -0
- package/dist/analytics/google-tag-manager/productView.js +1 -0
- package/dist/analytics/google-tag-manager/removeFromCart.js +1 -0
- package/dist/analytics/google-tag-manager/search.js +1 -0
- package/dist/analytics/google-tag-manager/utils.js +1 -0
- package/dist/analytics/google-tag-manager/viewCart.js +1 -0
- package/dist/analytics/google-tag-manager/viewCategory.js +1 -0
- package/dist/analytics/ikas/analytics.js +1 -0
- package/dist/analytics/tiktok/addToCart.js +1 -0
- package/dist/analytics/tiktok/addToWishlist.js +1 -0
- package/dist/analytics/tiktok/completeRegistration.js +1 -0
- package/dist/analytics/tiktok/contactForm.js +1 -0
- package/dist/analytics/tiktok/identify.js +1 -0
- package/dist/analytics/tiktok/pageView.js +1 -0
- package/dist/analytics/tiktok/productView.js +1 -0
- package/dist/analytics/tiktok/search.js +1 -0
- package/dist/analytics/tiktok/utils.js +1 -0
- package/dist/analytics/tiktok/viewCategory.js +1 -0
- package/dist/analytics/utils.js +1 -0
- package/dist/ext/animejs/lib/anime.esm.js +9 -0
- package/dist/ext/isomorphic-fetch/fetch-npm-node.js +1 -0
- package/dist/ext/lodash/_DataView.js +1 -0
- package/dist/ext/lodash/_Hash.js +1 -0
- package/dist/ext/lodash/_ListCache.js +1 -0
- package/dist/ext/lodash/_Map.js +1 -0
- package/dist/ext/lodash/_MapCache.js +1 -0
- package/dist/ext/lodash/_Promise.js +1 -0
- package/dist/ext/lodash/_Set.js +1 -0
- package/dist/ext/lodash/_SetCache.js +1 -0
- package/dist/ext/lodash/_Stack.js +1 -0
- package/dist/ext/lodash/_Symbol.js +1 -0
- package/dist/ext/lodash/_Uint8Array.js +1 -0
- package/dist/ext/lodash/_WeakMap.js +1 -0
- package/dist/ext/lodash/_apply.js +1 -0
- package/dist/ext/lodash/_arrayFilter.js +1 -0
- package/dist/ext/lodash/_arrayLikeKeys.js +1 -0
- package/dist/ext/lodash/_arrayMap.js +1 -0
- package/dist/ext/lodash/_arrayPush.js +1 -0
- package/dist/ext/lodash/_arraySome.js +1 -0
- package/dist/ext/lodash/_assocIndexOf.js +1 -0
- package/dist/ext/lodash/_baseEach.js +1 -0
- package/dist/ext/lodash/_baseFlatten.js +1 -0
- package/dist/ext/lodash/_baseFor.js +1 -0
- package/dist/ext/lodash/_baseForOwn.js +1 -0
- package/dist/ext/lodash/_baseGet.js +1 -0
- package/dist/ext/lodash/_baseGetAllKeys.js +1 -0
- package/dist/ext/lodash/_baseGetTag.js +1 -0
- package/dist/ext/lodash/_baseHasIn.js +1 -0
- package/dist/ext/lodash/_baseIsArguments.js +1 -0
- package/dist/ext/lodash/_baseIsEqual.js +1 -0
- package/dist/ext/lodash/_baseIsEqualDeep.js +1 -0
- package/dist/ext/lodash/_baseIsMatch.js +1 -0
- package/dist/ext/lodash/_baseIsNative.js +1 -0
- package/dist/ext/lodash/_baseIsTypedArray.js +1 -0
- package/dist/ext/lodash/_baseIteratee.js +1 -0
- package/dist/ext/lodash/_baseKeys.js +1 -0
- package/dist/ext/lodash/_baseMap.js +1 -0
- package/dist/ext/lodash/_baseMatches.js +1 -0
- package/dist/ext/lodash/_baseMatchesProperty.js +1 -0
- package/dist/ext/lodash/_baseOrderBy.js +1 -0
- package/dist/ext/lodash/_baseProperty.js +1 -0
- package/dist/ext/lodash/_basePropertyDeep.js +1 -0
- package/dist/ext/lodash/_baseRest.js +1 -0
- package/dist/ext/lodash/_baseSetToString.js +1 -0
- package/dist/ext/lodash/_baseSortBy.js +1 -0
- package/dist/ext/lodash/_baseTimes.js +1 -0
- package/dist/ext/lodash/_baseToString.js +1 -0
- package/dist/ext/lodash/_baseUnary.js +1 -0
- package/dist/ext/lodash/_cacheHas.js +1 -0
- package/dist/ext/lodash/_castPath.js +1 -0
- package/dist/ext/lodash/_compareAscending.js +1 -0
- package/dist/ext/lodash/_compareMultiple.js +1 -0
- package/dist/ext/lodash/_coreJsData.js +1 -0
- package/dist/ext/lodash/_createBaseEach.js +1 -0
- package/dist/ext/lodash/_createBaseFor.js +1 -0
- package/dist/ext/lodash/_defineProperty.js +1 -0
- package/dist/ext/lodash/_equalArrays.js +1 -0
- package/dist/ext/lodash/_equalByTag.js +1 -0
- package/dist/ext/lodash/_equalObjects.js +1 -0
- package/dist/ext/lodash/_freeGlobal.js +1 -0
- package/dist/ext/lodash/_getAllKeys.js +1 -0
- package/dist/ext/lodash/_getMapData.js +1 -0
- package/dist/ext/lodash/_getMatchData.js +1 -0
- package/dist/ext/lodash/_getNative.js +1 -0
- package/dist/ext/lodash/_getRawTag.js +1 -0
- package/dist/ext/lodash/_getSymbols.js +1 -0
- package/dist/ext/lodash/_getTag.js +1 -0
- package/dist/ext/lodash/_getValue.js +1 -0
- package/dist/ext/lodash/_hasPath.js +1 -0
- package/dist/ext/lodash/_hashClear.js +1 -0
- package/dist/ext/lodash/_hashDelete.js +1 -0
- package/dist/ext/lodash/_hashGet.js +1 -0
- package/dist/ext/lodash/_hashHas.js +1 -0
- package/dist/ext/lodash/_hashSet.js +1 -0
- package/dist/ext/lodash/_isFlattenable.js +1 -0
- package/dist/ext/lodash/_isIndex.js +1 -0
- package/dist/ext/lodash/_isIterateeCall.js +1 -0
- package/dist/ext/lodash/_isKey.js +1 -0
- package/dist/ext/lodash/_isKeyable.js +1 -0
- package/dist/ext/lodash/_isMasked.js +1 -0
- package/dist/ext/lodash/_isPrototype.js +1 -0
- package/dist/ext/lodash/_isStrictComparable.js +1 -0
- package/dist/ext/lodash/_listCacheClear.js +1 -0
- package/dist/ext/lodash/_listCacheDelete.js +1 -0
- package/dist/ext/lodash/_listCacheGet.js +1 -0
- package/dist/ext/lodash/_listCacheHas.js +1 -0
- package/dist/ext/lodash/_listCacheSet.js +1 -0
- package/dist/ext/lodash/_mapCacheClear.js +1 -0
- package/dist/ext/lodash/_mapCacheDelete.js +1 -0
- package/dist/ext/lodash/_mapCacheGet.js +1 -0
- package/dist/ext/lodash/_mapCacheHas.js +1 -0
- package/dist/ext/lodash/_mapCacheSet.js +1 -0
- package/dist/ext/lodash/_mapToArray.js +1 -0
- package/dist/ext/lodash/_matchesStrictComparable.js +1 -0
- package/dist/ext/lodash/_memoizeCapped.js +1 -0
- package/dist/ext/lodash/_nativeCreate.js +1 -0
- package/dist/ext/lodash/_nativeKeys.js +1 -0
- package/dist/ext/lodash/_nodeUtil.js +1 -0
- package/dist/ext/lodash/_objectToString.js +1 -0
- package/dist/ext/lodash/_overArg.js +1 -0
- package/dist/ext/lodash/_overRest.js +1 -0
- package/dist/ext/lodash/_root.js +1 -0
- package/dist/ext/lodash/_setCacheAdd.js +1 -0
- package/dist/ext/lodash/_setCacheHas.js +1 -0
- package/dist/ext/lodash/_setToArray.js +1 -0
- package/dist/ext/lodash/_setToString.js +1 -0
- package/dist/ext/lodash/_shortOut.js +1 -0
- package/dist/ext/lodash/_stackClear.js +1 -0
- package/dist/ext/lodash/_stackDelete.js +1 -0
- package/dist/ext/lodash/_stackGet.js +1 -0
- package/dist/ext/lodash/_stackHas.js +1 -0
- package/dist/ext/lodash/_stackSet.js +1 -0
- package/dist/ext/lodash/_stringToPath.js +1 -0
- package/dist/ext/lodash/_toKey.js +1 -0
- package/dist/ext/lodash/_toSource.js +1 -0
- package/dist/ext/lodash/constant.js +1 -0
- package/dist/ext/lodash/eq.js +1 -0
- package/dist/ext/lodash/get.js +1 -0
- package/dist/ext/lodash/hasIn.js +1 -0
- package/dist/ext/lodash/identity.js +1 -0
- package/dist/ext/lodash/isArguments.js +1 -0
- package/dist/ext/lodash/isArray.js +1 -0
- package/dist/ext/lodash/isArrayLike.js +1 -0
- package/dist/ext/lodash/isBuffer.js +1 -0
- package/dist/ext/lodash/isFunction.js +1 -0
- package/dist/ext/lodash/isLength.js +1 -0
- package/dist/ext/lodash/isObject.js +1 -0
- package/dist/ext/lodash/isObjectLike.js +1 -0
- package/dist/ext/lodash/isSymbol.js +1 -0
- package/dist/ext/lodash/isTypedArray.js +1 -0
- package/dist/ext/lodash/keys.js +1 -0
- package/dist/ext/lodash/memoize.js +1 -0
- package/dist/ext/lodash/property.js +1 -0
- package/dist/ext/lodash/sortBy.js +1 -0
- package/dist/ext/lodash/stubArray.js +1 -0
- package/dist/ext/lodash/stubFalse.js +1 -0
- package/dist/ext/lodash/toString.js +1 -0
- package/dist/ext/mobx/dist/mobx.esm.js +1 -0
- package/dist/ext/node-fetch/lib/index.mjs.js +1 -0
- package/dist/ext/tr46/index.js +1 -0
- package/dist/ext/tr46/lib/mappingTable.json.js +1 -0
- package/dist/ext/tslib/tslib.es6.mjs.js +1 -0
- package/dist/ext/uuid/dist/esm-browser/md5.js +1 -0
- package/dist/ext/uuid/dist/esm-browser/native.js +1 -0
- package/dist/ext/uuid/dist/esm-browser/parse.js +1 -0
- package/dist/ext/uuid/dist/esm-browser/regex.js +1 -0
- package/dist/ext/uuid/dist/esm-browser/rng.js +1 -0
- package/dist/ext/uuid/dist/esm-browser/sha1.js +1 -0
- package/dist/ext/uuid/dist/esm-browser/stringify.js +1 -0
- package/dist/ext/uuid/dist/esm-browser/v3.js +1 -0
- package/dist/ext/uuid/dist/esm-browser/v35.js +1 -0
- package/dist/ext/uuid/dist/esm-browser/v4.js +1 -0
- package/dist/ext/uuid/dist/esm-browser/v5.js +1 -0
- package/dist/ext/uuid/dist/esm-browser/validate.js +1 -0
- package/dist/ext/webidl-conversions/lib/index.js +1 -0
- package/dist/ext/whatwg-url/lib/URL-impl.js +1 -0
- package/dist/ext/whatwg-url/lib/URL.js +1 -0
- package/dist/ext/whatwg-url/lib/public-api.js +1 -0
- package/dist/ext/whatwg-url/lib/url-state-machine.js +1 -0
- package/dist/ext/whatwg-url/lib/utils.js +1 -0
- package/dist/externals/index.js +1 -0
- package/dist/functions/api/blog/index.js +1 -0
- package/dist/functions/api/brand/index.js +1 -0
- package/dist/functions/api/cart/index.js +1 -0
- package/dist/functions/api/category/index.js +1 -0
- package/dist/functions/api/checkout/index.js +1 -0
- package/dist/functions/api/customer/index.js +1 -0
- package/dist/functions/api/file/index.js +1 -0
- package/dist/functions/api/location/index.js +1 -0
- package/dist/functions/api/loyalty/index.js +1 -0
- package/dist/functions/api/popup/index.js +1 -0
- package/dist/functions/api/product/index.js +1 -0
- package/dist/functions/models/attribute-detail/index.js +1 -0
- package/dist/functions/models/attribute-list/index.js +1 -0
- package/dist/functions/models/base/index.js +1 -0
- package/dist/functions/models/blog/category/index.js +1 -0
- package/dist/functions/models/blog/category/init.js +1 -0
- package/dist/functions/models/blog/index.js +1 -0
- package/dist/functions/models/blog/init.js +1 -0
- package/dist/functions/models/blog-category-list/index.js +1 -0
- package/dist/functions/models/blog-category-list/init.js +1 -0
- package/dist/functions/models/blog-list/index.js +1 -0
- package/dist/functions/models/blog-list/init.js +1 -0
- package/dist/functions/models/brand/index.js +1 -0
- package/dist/functions/models/brand/init.js +1 -0
- package/dist/functions/models/brand-list/index.js +1 -0
- package/dist/functions/models/brand-list/init.js +1 -0
- package/dist/functions/models/campaign-offer/index.js +1 -0
- package/dist/functions/models/category/index.js +1 -0
- package/dist/functions/models/category/init.js +1 -0
- package/dist/functions/models/category/path-item/index.js +1 -0
- package/dist/functions/models/category/path-item/init.js +1 -0
- package/dist/functions/models/category-list/index.js +1 -0
- package/dist/functions/models/category-list/init.js +1 -0
- package/dist/functions/models/checkout/index.js +1 -0
- package/dist/functions/models/country/init.js +1 -0
- package/dist/functions/models/customer/address/index.js +1 -0
- package/dist/functions/models/customer/attribute/index.js +1 -0
- package/dist/functions/models/customer/attribute/init.js +1 -0
- package/dist/functions/models/customer/index.js +1 -0
- package/dist/functions/models/customer/review/index.js +1 -0
- package/dist/functions/models/customer/review/init.js +1 -0
- package/dist/functions/models/customer-review-list/index.js +1 -0
- package/dist/functions/models/customer-review-list/init.js +1 -0
- package/dist/functions/models/customer-review-summary-list/index.js +1 -0
- package/dist/functions/models/customer-review-summary-list/init.js +1 -0
- package/dist/functions/models/filter-category/index.js +1 -0
- package/dist/functions/models/html-meta-data/init.js +1 -0
- package/dist/functions/models/ikas-theme/date-picker.js +1 -0
- package/dist/functions/models/image/index.js +1 -0
- package/dist/functions/models/merchant-settings/init.js +1 -0
- package/dist/functions/models/order/address/index.js +1 -0
- package/dist/functions/models/order/adjustment/index.js +1 -0
- package/dist/functions/models/order/gift-package/index.js +1 -0
- package/dist/functions/models/order/index.js +1 -0
- package/dist/functions/models/order/line-item/index.js +1 -0
- package/dist/functions/models/order/line-item/variant/bundle-product/bundle-variant/index.js +1 -0
- package/dist/functions/models/order/line-item/variant/index.js +1 -0
- package/dist/functions/models/order/line-item/variant/value/index.js +1 -0
- package/dist/functions/models/order/transaction/index.js +1 -0
- package/dist/functions/models/payment-gateway/index.js +1 -0
- package/dist/functions/models/payment-gateway/init.js +1 -0
- package/dist/functions/models/product/attribute/init.js +1 -0
- package/dist/functions/models/product/attribute-value/index.js +1 -0
- package/dist/functions/models/product/attribute-value/init.js +1 -0
- package/dist/functions/models/product/campaign-offer/index.js +1 -0
- package/dist/functions/models/product/campaign-offer/init.js +1 -0
- package/dist/functions/models/product/campaign-offer/product/init.js +1 -0
- package/dist/functions/models/product/filter/index.js +1 -0
- package/dist/functions/models/product/group/init.js +1 -0
- package/dist/functions/models/product/image/init.js +1 -0
- package/dist/functions/models/product/index.js +1 -0
- package/dist/functions/models/product/init.js +1 -0
- package/dist/functions/models/product/option-set/index.js +1 -0
- package/dist/functions/models/product/option-set/init.js +1 -0
- package/dist/functions/models/product/option-set/option/index.js +1 -0
- package/dist/functions/models/product/option-set/option/init.js +1 -0
- package/dist/functions/models/product/variant/index.js +1 -0
- package/dist/functions/models/product/variant/init.js +1 -0
- package/dist/functions/models/product/variant/price/index.js +1 -0
- package/dist/functions/models/product/variant-type/init.js +1 -0
- package/dist/functions/models/product-list/index.js +1 -0
- package/dist/functions/models/raffle/index.js +1 -0
- package/dist/functions/models/raffle/init.js +1 -0
- package/dist/functions/models/state/init.js +1 -0
- package/dist/functions/models/validator/account-info/index.js +1 -0
- package/dist/functions/models/validator/address/index.js +1 -0
- package/dist/functions/models/validator/back-in-stock-notification/index.js +1 -0
- package/dist/functions/models/validator/contact-form/index.js +1 -0
- package/dist/functions/models/validator/coupon-code-form/index.js +1 -0
- package/dist/functions/models/validator/customer-review/index.js +1 -0
- package/dist/functions/models/validator/forgot-password/index.js +1 -0
- package/dist/functions/models/validator/index.js +1 -0
- package/dist/functions/models/validator/login/index.js +1 -0
- package/dist/functions/models/validator/newsletter-subscription/index.js +1 -0
- package/dist/functions/models/validator/order-tracking/index.js +1 -0
- package/dist/functions/models/validator/recover-password/index.js +1 -0
- package/dist/functions/models/validator/register/index.js +1 -0
- package/dist/functions/models/validator/sms-login/index.js +1 -0
- package/dist/functions/models/validator/verify-phone-number/index.js +1 -0
- package/dist/functions/models/variant-type/index.js +1 -0
- package/dist/functions/models/variant-type/init.js +1 -0
- package/dist/functions/models/variant-type/variant-value/index.js +1 -0
- package/dist/functions/others/index.js +1 -0
- package/dist/functions/stores/base/index.js +1 -0
- package/dist/functions/stores/cart/index.js +1 -0
- package/dist/functions/stores/customer/index.js +1 -0
- package/dist/i18n/index.js +1 -0
- package/dist/index.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/activateCustomer.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/addItemToCart.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/createAdyenBalancePlatformPaymentSession.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/createCustomerReview.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/createKlarnaClientToken.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/createOrderRefundRequest.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/createPayWithIkasSessionUrl.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/createPaypalOrder.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/createSaleTransactionWithCart.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/createStripePaymentIntent.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/customerDeactivate.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/customerForgotPassword.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/customerLogin.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/customerRecoverPassword.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/customerRefreshToken.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/getOrderLineFile.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/getPaypalClientId.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/registerCustomer.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/removeLoyaltyPointsFromCart.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/resendCustomerActivationMail.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/resendCustomerPhoneVerificationCode.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/retrieveInstallmentInfo.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/saveCart.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/saveCartCouponCode.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/saveCustomerFormData.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/saveFavoriteProduct.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/saveLastViewedProducts.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/saveMyCustomer.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/saveProductBackInStockRemind.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/sendContactFormToMerchant.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/subscribeToMarketingNotifications.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/updateCartCampaignOffer.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/useLoyaltyPoints.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/validateCustomerPhoneVerificationCode.js +1 -0
- package/dist/packages/storefront-api/src/__api/mutations/validateOTPCode.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/checkCartStocks.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/checkCustomerEmail.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/checkStocks.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/customerSocialLogin.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/exportCustomerPersonalData.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getAvailableShippingCountries.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getAvailableShippingZones.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getAvailableStockLocations.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getCartById.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getCustomerOrders.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getDigitalProductFileDownloadUrl.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getLastViewedProducts.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getLoyaltyCustomerInfo.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getMyCountry.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getMyCustomer.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getOrderByEmail.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getProductCampaigns.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getProductFilterData.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getProductOptionFileUrl.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getRelatedProducts.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getStorefrontWidgetSettings.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getSuggestedProducts.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/getVariantStockLocations.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/isFavoriteProduct.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listBlog.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listBlogCategory.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listBlogMetadata.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listCampaignOffer.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listCategory.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listCheckoutSettings.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listCity.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listCountry.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listCustomerAttribute.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listCustomerReviewSummary.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listCustomerReviews.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listCustomerSettings.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listDistrict.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listEarningMethods.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listFavoriteProducts.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listLoyaltyProgramPointHistory.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listLoyaltyProgramTiers.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listOrderRefundSettings.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listOrderTransactions.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listPaymentGateway.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listProductAttribute.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listProductBackInStockRemind.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listProductBrand.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listProductFile.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listProductOptionSet.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listSpendingMethodsByCartId.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listState.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listStockLocation.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/listStorefrontPopup.js +1 -0
- package/dist/packages/storefront-api/src/__api/queries/searchProducts.js +1 -0
- package/dist/packages/storefront-api/src/index.js +1 -0
- package/dist/packages/storefront-api-client/ext/tslib/tslib.es6.js +15 -0
- package/dist/packages/storefront-api-client/src/config/index.js +1 -0
- package/dist/packages/storefront-api-client/src/utils/api.js +1 -0
- package/dist/packages/storefront-api-client/src/utils/fetch-query.js +1 -0
- package/dist/packages/storefront-config/src/index.js +1 -0
- package/dist/packages/storefront-models/src/models/merchant-settings/index.js +1 -0
- package/dist/router/index.js +1 -0
- package/dist/storefront/src/analytics/analytics-functions/addToCart.d.ts +2 -0
- package/dist/storefront/src/analytics/analytics-functions/addToWishlist.d.ts +1 -0
- package/dist/storefront/src/analytics/analytics-functions/completeRegistration.d.ts +2 -0
- package/dist/storefront/src/analytics/analytics-functions/contactForm.d.ts +2 -0
- package/dist/storefront/src/analytics/analytics-functions/createEmailSubscription.d.ts +1 -0
- package/dist/storefront/src/analytics/analytics-functions/customerLogin.d.ts +1 -0
- package/dist/storefront/src/analytics/analytics-functions/customerLogout.d.ts +1 -0
- package/dist/storefront/src/analytics/analytics-functions/customerVisit.d.ts +1 -0
- package/dist/storefront/src/analytics/analytics-functions/helpers.d.ts +12 -0
- package/dist/storefront/src/analytics/analytics-functions/index.d.ts +18 -0
- package/dist/storefront/src/analytics/analytics-functions/pageView.d.ts +2 -0
- package/dist/storefront/src/analytics/analytics-functions/productView.d.ts +2 -0
- package/dist/storefront/src/analytics/analytics-functions/removeFromCart.d.ts +2 -0
- package/dist/storefront/src/analytics/analytics-functions/search.d.ts +1 -0
- package/dist/storefront/src/analytics/analytics-functions/viewBrand.d.ts +2 -0
- package/dist/storefront/src/analytics/analytics-functions/viewCart.d.ts +2 -0
- package/dist/storefront/src/analytics/analytics-functions/viewCategory.d.ts +2 -0
- package/dist/storefront/src/analytics/analytics-functions/viewListing.d.ts +2 -0
- package/dist/storefront/src/analytics/analytics-functions/viewSearchResults.d.ts +2 -0
- package/dist/storefront/src/analytics/analytics-functions/viewStorefrontPopup.d.ts +2 -0
- package/dist/storefront/src/analytics/analytics.d.ts +5 -0
- package/dist/storefront/src/analytics/events.d.ts +15 -0
- package/dist/storefront/src/analytics/facebook/addToCart.d.ts +2 -0
- package/dist/storefront/src/analytics/facebook/addToWishlist.d.ts +1 -0
- package/dist/storefront/src/analytics/facebook/completeRegistration.d.ts +1 -0
- package/dist/storefront/src/analytics/facebook/contactForm.d.ts +1 -0
- package/dist/storefront/src/analytics/facebook/pageView.d.ts +1 -0
- package/dist/storefront/src/analytics/facebook/productView.d.ts +2 -0
- package/dist/storefront/src/analytics/facebook/purchase.d.ts +2 -0
- package/dist/storefront/src/analytics/facebook/search.d.ts +1 -0
- package/dist/storefront/src/analytics/facebook/utils.d.ts +3 -0
- package/dist/storefront/src/analytics/facebook/viewCart.d.ts +2 -0
- package/dist/storefront/src/analytics/facebook/viewCategory.d.ts +1 -0
- package/dist/storefront/src/analytics/google-analytics/addToCart.d.ts +2 -0
- package/dist/storefront/src/analytics/google-analytics/productView.d.ts +2 -0
- package/dist/storefront/src/analytics/google-analytics/removeFromCart.d.ts +2 -0
- package/dist/storefront/src/analytics/google-analytics/search.d.ts +1 -0
- package/dist/storefront/src/analytics/google-analytics/utils.d.ts +16 -0
- package/dist/storefront/src/analytics/google-analytics/viewCart.d.ts +2 -0
- package/dist/storefront/src/analytics/google-tag-manager/addToCart.d.ts +22 -0
- package/dist/storefront/src/analytics/google-tag-manager/completeRegistration.d.ts +5 -0
- package/dist/storefront/src/analytics/google-tag-manager/customerLogin.d.ts +4 -0
- package/dist/storefront/src/analytics/google-tag-manager/customerLogout.d.ts +3 -0
- package/dist/storefront/src/analytics/google-tag-manager/customerVisit.d.ts +4 -0
- package/dist/storefront/src/analytics/google-tag-manager/disableHTML.d.ts +1 -0
- package/dist/storefront/src/analytics/google-tag-manager/pageView.d.ts +4 -0
- package/dist/storefront/src/analytics/google-tag-manager/productView.d.ts +30 -0
- package/dist/storefront/src/analytics/google-tag-manager/removeFromCart.d.ts +22 -0
- package/dist/storefront/src/analytics/google-tag-manager/search.d.ts +4 -0
- package/dist/storefront/src/analytics/google-tag-manager/utils.d.ts +16 -0
- package/dist/storefront/src/analytics/google-tag-manager/viewCart.d.ts +7 -0
- package/dist/storefront/src/analytics/google-tag-manager/viewCategory.d.ts +14 -0
- package/dist/storefront/src/analytics/ikas/analytics.d.ts +28 -0
- package/dist/storefront/src/analytics/tiktok/addToCart.d.ts +2 -0
- package/dist/storefront/src/analytics/tiktok/addToWishlist.d.ts +1 -0
- package/dist/storefront/src/analytics/tiktok/completeRegistration.d.ts +1 -0
- package/dist/storefront/src/analytics/tiktok/contactForm.d.ts +1 -0
- package/dist/storefront/src/analytics/tiktok/identify.d.ts +1 -0
- package/dist/storefront/src/analytics/tiktok/pageView.d.ts +1 -0
- package/dist/storefront/src/analytics/tiktok/productView.d.ts +2 -0
- package/dist/storefront/src/analytics/tiktok/search.d.ts +1 -0
- package/dist/storefront/src/analytics/tiktok/utils.d.ts +2 -0
- package/dist/storefront/src/analytics/tiktok/viewCategory.d.ts +2 -0
- package/dist/storefront/src/analytics/utils.d.ts +43 -0
- package/dist/storefront/src/externals/index.d.ts +6 -0
- package/dist/storefront/src/functions/api/blog/index.d.ts +26 -0
- package/dist/storefront/src/functions/api/brand/index.d.ts +11 -0
- package/dist/storefront/src/functions/api/cart/index.d.ts +14 -0
- package/dist/storefront/src/functions/api/category/index.d.ts +10 -0
- package/dist/storefront/src/functions/api/checkout/index.d.ts +32 -0
- package/dist/storefront/src/functions/api/customer/index.d.ts +204 -0
- package/dist/storefront/src/functions/api/file/index.d.ts +10 -0
- package/dist/storefront/src/functions/api/html-meta-data/index.d.ts +4 -0
- package/dist/storefront/src/functions/api/location/index.d.ts +13 -0
- package/dist/storefront/src/functions/api/loyalty/index.d.ts +15 -0
- package/dist/storefront/src/functions/api/masterpass/index.d.ts +2 -0
- package/dist/storefront/src/functions/api/merchant/index.d.ts +4 -0
- package/dist/storefront/src/functions/api/popup/index.d.ts +4 -0
- package/dist/storefront/src/functions/api/product/index.d.ts +55 -0
- package/dist/storefront/src/functions/api/raffle/index.d.ts +15 -0
- package/dist/storefront/src/functions/api/storefront/index.d.ts +3 -0
- package/dist/storefront/src/functions/models/attribute-detail/index.d.ts +21 -0
- package/dist/storefront/src/functions/models/attribute-list/index.d.ts +21 -0
- package/dist/storefront/src/functions/models/base/index.d.ts +18 -0
- package/dist/storefront/src/functions/models/blog/category/index.d.ts +33 -0
- package/dist/storefront/src/functions/models/blog/category/init.d.ts +17 -0
- package/dist/storefront/src/functions/models/blog/index.d.ts +35 -0
- package/dist/storefront/src/functions/models/blog/init.d.ts +17 -0
- package/dist/storefront/src/functions/models/blog-category-list/index.d.ts +149 -0
- package/dist/storefront/src/functions/models/blog-category-list/init.d.ts +17 -0
- package/dist/storefront/src/functions/models/blog-list/index.d.ts +149 -0
- package/dist/storefront/src/functions/models/blog-list/init.d.ts +17 -0
- package/dist/storefront/src/functions/models/brand/index.d.ts +18 -0
- package/dist/storefront/src/functions/models/brand/init.d.ts +18 -0
- package/dist/storefront/src/functions/models/brand-list/index.d.ts +149 -0
- package/dist/storefront/src/functions/models/brand-list/init.d.ts +17 -0
- package/dist/storefront/src/functions/models/campaign-offer/index.d.ts +55 -0
- package/dist/storefront/src/functions/models/category/index.d.ts +35 -0
- package/dist/storefront/src/functions/models/category/init.d.ts +18 -0
- package/dist/storefront/src/functions/models/category/path-item/index.d.ts +35 -0
- package/dist/storefront/src/functions/models/category/path-item/init.d.ts +18 -0
- package/dist/storefront/src/functions/models/category-list/index.d.ts +149 -0
- package/dist/storefront/src/functions/models/category-list/init.d.ts +17 -0
- package/dist/storefront/src/functions/models/checkout/index.d.ts +39 -0
- package/dist/storefront/src/functions/models/country/init.d.ts +20 -0
- package/dist/storefront/src/functions/models/customer/address/index.d.ts +106 -0
- package/dist/storefront/src/functions/models/customer/attribute/index.d.ts +39 -0
- package/dist/storefront/src/functions/models/customer/attribute/init.d.ts +19 -0
- package/dist/storefront/src/functions/models/customer/index.d.ts +47 -0
- package/dist/storefront/src/functions/models/customer/review/index.d.ts +18 -0
- package/dist/storefront/src/functions/models/customer/review/init.d.ts +18 -0
- package/dist/storefront/src/functions/models/customer-review-list/index.d.ts +141 -0
- package/dist/storefront/src/functions/models/customer-review-list/init.d.ts +17 -0
- package/dist/storefront/src/functions/models/customer-review-summary-list/index.d.ts +106 -0
- package/dist/storefront/src/functions/models/customer-review-summary-list/init.d.ts +17 -0
- package/dist/storefront/src/functions/models/filter-category/index.d.ts +35 -0
- package/dist/storefront/src/functions/models/html-meta-data/init.d.ts +38 -0
- package/dist/storefront/src/functions/models/ikas-theme/date-picker.d.ts +379 -0
- package/dist/storefront/src/functions/models/image/index.d.ts +56 -0
- package/dist/storefront/src/functions/models/index.d.ts +84 -0
- package/dist/storefront/src/functions/models/merchant-settings/init.d.ts +18 -0
- package/dist/storefront/src/functions/models/order/address/index.d.ts +93 -0
- package/dist/storefront/src/functions/models/order/adjustment/index.d.ts +56 -0
- package/dist/storefront/src/functions/models/order/gift-package/index.d.ts +19 -0
- package/dist/storefront/src/functions/models/order/index.d.ts +428 -0
- package/dist/storefront/src/functions/models/order/line-item/index.d.ts +307 -0
- package/dist/storefront/src/functions/models/order/line-item/option/value/index.d.ts +37 -0
- package/dist/storefront/src/functions/models/order/line-item/variant/bundle-product/bundle-variant/index.d.ts +20 -0
- package/dist/storefront/src/functions/models/order/line-item/variant/index.d.ts +37 -0
- package/dist/storefront/src/functions/models/order/line-item/variant/value/index.d.ts +35 -0
- package/dist/storefront/src/functions/models/order/package/index.d.ts +20 -0
- package/dist/storefront/src/functions/models/order/transaction/index.d.ts +37 -0
- package/dist/storefront/src/functions/models/payment-gateway/index.d.ts +31 -0
- package/dist/storefront/src/functions/models/payment-gateway/init.d.ts +20 -0
- package/dist/storefront/src/functions/models/product/attribute/init.d.ts +17 -0
- package/dist/storefront/src/functions/models/product/attribute-value/index.d.ts +52 -0
- package/dist/storefront/src/functions/models/product/attribute-value/init.d.ts +16 -0
- package/dist/storefront/src/functions/models/product/campaign-offer/index.d.ts +18 -0
- package/dist/storefront/src/functions/models/product/campaign-offer/init.d.ts +18 -0
- package/dist/storefront/src/functions/models/product/campaign-offer/product/init.d.ts +17 -0
- package/dist/storefront/src/functions/models/product/filter/index.d.ts +344 -0
- package/dist/storefront/src/functions/models/product/filter/settings/init.d.ts +22 -0
- package/dist/storefront/src/functions/models/product/group/init.d.ts +35 -0
- package/dist/storefront/src/functions/models/product/image/init.d.ts +16 -0
- package/dist/storefront/src/functions/models/product/index.d.ts +1055 -0
- package/dist/storefront/src/functions/models/product/init.d.ts +57 -0
- package/dist/storefront/src/functions/models/product/option-set/index.d.ts +84 -0
- package/dist/storefront/src/functions/models/product/option-set/init.d.ts +19 -0
- package/dist/storefront/src/functions/models/product/option-set/option/index.d.ts +449 -0
- package/dist/storefront/src/functions/models/product/option-set/option/init.d.ts +17 -0
- package/dist/storefront/src/functions/models/product/stock-location/index.d.ts +17 -0
- package/dist/storefront/src/functions/models/product/variant/index.d.ts +868 -0
- package/dist/storefront/src/functions/models/product/variant/init.d.ts +16 -0
- package/dist/storefront/src/functions/models/product/variant/price/index.d.ts +70 -0
- package/dist/storefront/src/functions/models/product/variant-type/init.d.ts +17 -0
- package/dist/storefront/src/functions/models/product-list/index.d.ts +669 -0
- package/dist/storefront/src/functions/models/raffle/index.d.ts +19 -0
- package/dist/storefront/src/functions/models/raffle/init.d.ts +20 -0
- package/dist/storefront/src/functions/models/state/init.d.ts +20 -0
- package/dist/storefront/src/functions/models/validator/account-info/index.d.ts +87 -0
- package/dist/storefront/src/functions/models/validator/address/index.d.ts +333 -0
- package/dist/storefront/src/functions/models/validator/back-in-stock-notification/index.d.ts +54 -0
- package/dist/storefront/src/functions/models/validator/contact-form/index.d.ts +121 -0
- package/dist/storefront/src/functions/models/validator/coupon-code-form/index.d.ts +72 -0
- package/dist/storefront/src/functions/models/validator/customer-review/index.d.ts +88 -0
- package/dist/storefront/src/functions/models/validator/forgot-password/index.d.ts +53 -0
- package/dist/storefront/src/functions/models/validator/index.d.ts +54 -0
- package/dist/storefront/src/functions/models/validator/login/index.d.ts +70 -0
- package/dist/storefront/src/functions/models/validator/newsletter-subscription/index.d.ts +70 -0
- package/dist/storefront/src/functions/models/validator/order-tracking/index.d.ts +70 -0
- package/dist/storefront/src/functions/models/validator/recover-password/index.d.ts +70 -0
- package/dist/storefront/src/functions/models/validator/register/index.d.ts +297 -0
- package/dist/storefront/src/functions/models/validator/sms-login/index.d.ts +171 -0
- package/dist/storefront/src/functions/models/validator/verify-phone-number/index.d.ts +69 -0
- package/dist/storefront/src/functions/models/variant-type/index.d.ts +37 -0
- package/dist/storefront/src/functions/models/variant-type/init.d.ts +18 -0
- package/dist/storefront/src/functions/models/variant-type/variant-value/index.d.ts +91 -0
- package/dist/storefront/src/functions/others/index.d.ts +18 -0
- package/dist/storefront/src/functions/stores/base/index.d.ts +18 -0
- package/dist/storefront/src/functions/stores/cart/index.d.ts +547 -0
- package/dist/storefront/src/functions/stores/customer/index.d.ts +1919 -0
- package/dist/storefront/src/functions/stores/index.d.ts +3 -0
- package/dist/storefront/src/i18n/index.d.ts +9 -0
- package/dist/storefront/src/index.d.ts +28 -0
- package/dist/storefront/src/router/index.d.ts +161 -0
- package/dist/storefront/src/stores/base/index.d.ts +11 -0
- package/dist/storefront/src/stores/cart/index.d.ts +9 -0
- package/dist/storefront/src/stores/customer/index.d.ts +44 -0
- package/dist/storefront/src/theme/infinite-scroller/index.d.ts +3 -0
- package/dist/storefront/src/theme/overlay/index.d.ts +5 -0
- package/dist/storefront/src/theme/slider/index.d.ts +8 -0
- package/dist/storefront/src/theme/styles/index.d.ts +7 -0
- package/dist/storefront/src/utils/blueprint.d.ts +4 -0
- package/dist/storefront/src/utils/currency.d.ts +7 -0
- package/dist/storefront/src/utils/fetch.d.ts +7 -0
- package/dist/storefront/src/utils/helper.d.ts +21 -0
- package/dist/storefront/src/utils/object-wrapper.d.ts +9 -0
- package/dist/storefront-api/src/__api/mutations/activateCustomer.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/addItemToCart.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/createAdyenBalancePlatformPaymentSession.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/createCustomerReview.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/createKlarnaClientToken.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/createOrderRefundRequest.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/createPayWithIkasSessionUrl.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/createPaypalOrder.d.ts +7 -0
- package/dist/storefront-api/src/__api/mutations/createSaleTransactionWithCart.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/createStripePaymentIntent.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/customerDeactivate.d.ts +5 -0
- package/dist/storefront-api/src/__api/mutations/customerForgotPassword.d.ts +7 -0
- package/dist/storefront-api/src/__api/mutations/customerLogin.d.ts +9 -0
- package/dist/storefront-api/src/__api/mutations/customerRecoverPassword.d.ts +8 -0
- package/dist/storefront-api/src/__api/mutations/customerRefreshToken.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/getOrderLineFile.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/getPaypalClientId.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/registerCustomer.d.ts +20 -0
- package/dist/storefront-api/src/__api/mutations/removeLoyaltyPointsFromCart.d.ts +7 -0
- package/dist/storefront-api/src/__api/mutations/resendCustomerActivationMail.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/resendCustomerPhoneVerificationCode.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/retrieveInstallmentInfo.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/saveCart.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/saveCartCouponCode.d.ts +7 -0
- package/dist/storefront-api/src/__api/mutations/saveCustomerFormData.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/saveFavoriteProduct.d.ts +8 -0
- package/dist/storefront-api/src/__api/mutations/saveLastViewedProducts.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/saveMyCustomer.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/saveProductBackInStockRemind.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/sendContactFormToMerchant.d.ts +12 -0
- package/dist/storefront-api/src/__api/mutations/subscribeToMarketingNotifications.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/updateCartCampaignOffer.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/useLoyaltyPoints.d.ts +6 -0
- package/dist/storefront-api/src/__api/mutations/validateCustomerPhoneVerificationCode.d.ts +7 -0
- package/dist/storefront-api/src/__api/mutations/validateOTPCode.d.ts +8 -0
- package/dist/storefront-api/src/__api/queries/checkCartStocks.d.ts +7 -0
- package/dist/storefront-api/src/__api/queries/checkCustomerEmail.d.ts +8 -0
- package/dist/storefront-api/src/__api/queries/checkStocks.d.ts +7 -0
- package/dist/storefront-api/src/__api/queries/customerSocialLogin.d.ts +6 -0
- package/dist/storefront-api/src/__api/queries/exportCustomerPersonalData.d.ts +2 -0
- package/dist/storefront-api/src/__api/queries/getAvailableShippingCountries.d.ts +5 -0
- package/dist/storefront-api/src/__api/queries/getAvailableShippingZones.d.ts +6 -0
- package/dist/storefront-api/src/__api/queries/getAvailableStockLocations.d.ts +8 -0
- package/dist/storefront-api/src/__api/queries/getCartById.d.ts +9 -0
- package/dist/storefront-api/src/__api/queries/getCustomerOrders.d.ts +6 -0
- package/dist/storefront-api/src/__api/queries/getDigitalProductFileDownloadUrl.d.ts +6 -0
- package/dist/storefront-api/src/__api/queries/getLastViewedProducts.d.ts +6 -0
- package/dist/storefront-api/src/__api/queries/getLoyaltyCustomerInfo.d.ts +6 -0
- package/dist/storefront-api/src/__api/queries/getMyCountry.d.ts +2 -0
- package/dist/storefront-api/src/__api/queries/getMyCustomer.d.ts +3 -0
- package/dist/storefront-api/src/__api/queries/getOrderByEmail.d.ts +7 -0
- package/dist/storefront-api/src/__api/queries/getProductCampaigns.d.ts +6 -0
- package/dist/storefront-api/src/__api/queries/getProductFilterData.d.ts +7 -0
- package/dist/storefront-api/src/__api/queries/getProductOptionFileUrl.d.ts +8 -0
- package/dist/storefront-api/src/__api/queries/getRelatedProducts.d.ts +16 -0
- package/dist/storefront-api/src/__api/queries/getStorefrontWidgetSettings.d.ts +3 -0
- package/dist/storefront-api/src/__api/queries/getSuggestedProducts.d.ts +16 -0
- package/dist/storefront-api/src/__api/queries/getVariantStockLocations.d.ts +7 -0
- package/dist/storefront-api/src/__api/queries/isFavoriteProduct.d.ts +5 -0
- package/dist/storefront-api/src/__api/queries/listBlog.d.ts +14 -0
- package/dist/storefront-api/src/__api/queries/listBlogCategory.d.ts +11 -0
- package/dist/storefront-api/src/__api/queries/listBlogMetadata.d.ts +12 -0
- package/dist/storefront-api/src/__api/queries/listCampaignOffer.d.ts +6 -0
- package/dist/storefront-api/src/__api/queries/listCategory.d.ts +12 -0
- package/dist/storefront-api/src/__api/queries/listCheckoutSettings.d.ts +8 -0
- package/dist/storefront-api/src/__api/queries/listCity.d.ts +11 -0
- package/dist/storefront-api/src/__api/queries/listCountry.d.ts +12 -0
- package/dist/storefront-api/src/__api/queries/listCustomerAttribute.d.ts +3 -0
- package/dist/storefront-api/src/__api/queries/listCustomerReviewSummary.d.ts +8 -0
- package/dist/storefront-api/src/__api/queries/listCustomerReviews.d.ts +15 -0
- package/dist/storefront-api/src/__api/queries/listCustomerSettings.d.ts +7 -0
- package/dist/storefront-api/src/__api/queries/listDistrict.d.ts +12 -0
- package/dist/storefront-api/src/__api/queries/listEarningMethods.d.ts +3 -0
- package/dist/storefront-api/src/__api/queries/listFavoriteProducts.d.ts +3 -0
- package/dist/storefront-api/src/__api/queries/listLoyaltyProgramPointHistory.d.ts +6 -0
- package/dist/storefront-api/src/__api/queries/listLoyaltyProgramTiers.d.ts +3 -0
- package/dist/storefront-api/src/__api/queries/listOrderRefundSettings.d.ts +9 -0
- package/dist/storefront-api/src/__api/queries/listOrderTransactions.d.ts +8 -0
- package/dist/storefront-api/src/__api/queries/listPaymentGateway.d.ts +11 -0
- package/dist/storefront-api/src/__api/queries/listProductAttribute.d.ts +9 -0
- package/dist/storefront-api/src/__api/queries/listProductBackInStockRemind.d.ts +11 -0
- package/dist/storefront-api/src/__api/queries/listProductBrand.d.ts +11 -0
- package/dist/storefront-api/src/__api/queries/listProductFile.d.ts +6 -0
- package/dist/storefront-api/src/__api/queries/listProductOptionSet.d.ts +8 -0
- package/dist/storefront-api/src/__api/queries/listSpendingMethodsByCartId.d.ts +6 -0
- package/dist/storefront-api/src/__api/queries/listState.d.ts +11 -0
- package/dist/storefront-api/src/__api/queries/listStockLocation.d.ts +7 -0
- package/dist/storefront-api/src/__api/queries/listStorefrontPopup.d.ts +6 -0
- package/dist/storefront-api/src/__api/queries/searchProducts.d.ts +6 -0
- package/dist/storefront-api/src/__api/types/index.d.ts +3532 -0
- package/dist/storefront-api/src/index.d.ts +7 -0
- package/dist/storefront-api-client/src/config/index.d.ts +32 -0
- package/dist/storefront-api-client/src/index.d.ts +4 -0
- package/dist/storefront-api-client/src/utils/api.d.ts +40 -0
- package/dist/storefront-api-client/src/utils/fetch-query.d.ts +9 -0
- package/dist/storefront-config/src/index.d.ts +130 -0
- package/dist/storefront-models/src/index.d.ts +220 -0
- package/dist/storefront-models/src/models/_theme/styles.d.ts +34 -0
- package/dist/storefront-models/src/models/attribute-detail/index.d.ts +6 -0
- package/dist/storefront-models/src/models/attribute-list/index.d.ts +6 -0
- package/dist/storefront-models/src/models/base/index.d.ts +6 -0
- package/dist/storefront-models/src/models/blog/category/index.d.ts +12 -0
- package/dist/storefront-models/src/models/blog/content/index.d.ts +7 -0
- package/dist/storefront-models/src/models/blog/index.d.ts +27 -0
- package/dist/storefront-models/src/models/blog/meta-data/index.d.ts +14 -0
- package/dist/storefront-models/src/models/blog/tag/index.d.ts +7 -0
- package/dist/storefront-models/src/models/blog/writer/index.d.ts +4 -0
- package/dist/storefront-models/src/models/blog-category-list/index.d.ts +14 -0
- package/dist/storefront-models/src/models/blog-list/index.d.ts +15 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/attribute-list.d.ts +6 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/attribute.d.ts +6 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/blog-category-list.d.ts +6 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/blog-category.d.ts +4 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/blog-list.d.ts +8 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/blog.d.ts +4 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/boolean.d.ts +3 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/brand-list.d.ts +8 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/brand.d.ts +4 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/category-list.d.ts +7 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/category.d.ts +4 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/color.d.ts +3 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/component-list.d.ts +4 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/component.d.ts +8 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/date.d.ts +3 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/enum.d.ts +3 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/image-list.d.ts +4 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/image.d.ts +5 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/index.d.ts +29 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/link-list.d.ts +4 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/link.d.ts +15 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/number-range.d.ts +4 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/number.d.ts +3 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/product-list.d.ts +16 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/product.d.ts +5 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/raffle-list.d.ts +5 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/raffle.d.ts +4 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/rich-text.d.ts +3 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/text.d.ts +3 -0
- package/dist/storefront-models/src/models/blueprint/prop-value/video.d.ts +9 -0
- package/dist/storefront-models/src/models/brand/index.d.ts +17 -0
- package/dist/storefront-models/src/models/brand/translation/index.d.ts +5 -0
- package/dist/storefront-models/src/models/brand-list/index.d.ts +16 -0
- package/dist/storefront-models/src/models/campaign-offer/index.d.ts +21 -0
- package/dist/storefront-models/src/models/campaign-offer/product/index.d.ts +23 -0
- package/dist/storefront-models/src/models/cart/available-shipping-method/estimated-delivery-time/index.d.ts +5 -0
- package/dist/storefront-models/src/models/cart/available-shipping-method/index.d.ts +10 -0
- package/dist/storefront-models/src/models/cart/campaign-offer/index.d.ts +17 -0
- package/dist/storefront-models/src/models/cart/index.d.ts +13 -0
- package/dist/storefront-models/src/models/category/conditions/index.d.ts +9 -0
- package/dist/storefront-models/src/models/category/index.d.ts +24 -0
- package/dist/storefront-models/src/models/category/path-item/index.d.ts +13 -0
- package/dist/storefront-models/src/models/category/translations/index.d.ts +5 -0
- package/dist/storefront-models/src/models/category-list/index.d.ts +16 -0
- package/dist/storefront-models/src/models/checkout/index.d.ts +10 -0
- package/dist/storefront-models/src/models/checkout-settings/index.d.ts +24 -0
- package/dist/storefront-models/src/models/checkout-settings/option/index.d.ts +4 -0
- package/dist/storefront-models/src/models/checkout-settings/price/index.d.ts +6 -0
- package/dist/storefront-models/src/models/city/index.d.ts +13 -0
- package/dist/storefront-models/src/models/contact-form/index.d.ts +8 -0
- package/dist/storefront-models/src/models/country/index.d.ts +19 -0
- package/dist/storefront-models/src/models/customer/address/city/index.d.ts +5 -0
- package/dist/storefront-models/src/models/customer/address/country/index.d.ts +7 -0
- package/dist/storefront-models/src/models/customer/address/district/index.d.ts +5 -0
- package/dist/storefront-models/src/models/customer/address/index.d.ts +30 -0
- package/dist/storefront-models/src/models/customer/address/region/index.d.ts +7 -0
- package/dist/storefront-models/src/models/customer/address/state/index.d.ts +5 -0
- package/dist/storefront-models/src/models/customer/attribute/index.d.ts +17 -0
- package/dist/storefront-models/src/models/customer/attribute/option/index.d.ts +7 -0
- package/dist/storefront-models/src/models/customer/attribute/sales-channel/index.d.ts +8 -0
- package/dist/storefront-models/src/models/customer/attribute/translation/index.d.ts +7 -0
- package/dist/storefront-models/src/models/customer/attribute/translation/option/index.d.ts +4 -0
- package/dist/storefront-models/src/models/customer/attribute/value/index.d.ts +9 -0
- package/dist/storefront-models/src/models/customer/index.d.ts +45 -0
- package/dist/storefront-models/src/models/customer/price-list-rule/filter/index.d.ts +5 -0
- package/dist/storefront-models/src/models/customer/price-list-rule/index.d.ts +8 -0
- package/dist/storefront-models/src/models/customer/review/index.d.ts +26 -0
- package/dist/storefront-models/src/models/customer/review/settings/index.d.ts +4 -0
- package/dist/storefront-models/src/models/customer/review/summary/index.d.ts +11 -0
- package/dist/storefront-models/src/models/customer/review/summary/star/index.d.ts +4 -0
- package/dist/storefront-models/src/models/customer-form-data-input/customer-register-subscription-input/index.d.ts +5 -0
- package/dist/storefront-models/src/models/customer-form-data-input/index.d.ts +13 -0
- package/dist/storefront-models/src/models/customer-review-form/index.d.ts +6 -0
- package/dist/storefront-models/src/models/customer-review-list/index.d.ts +13 -0
- package/dist/storefront-models/src/models/customer-review-summary-list/index.d.ts +11 -0
- package/dist/storefront-models/src/models/customer-settings/index.d.ts +10 -0
- package/dist/storefront-models/src/models/district/index.d.ts +13 -0
- package/dist/storefront-models/src/models/favorite-product/index.d.ts +10 -0
- package/dist/storefront-models/src/models/filter-category/index.d.ts +12 -0
- package/dist/storefront-models/src/models/html-meta-data/index.d.ts +23 -0
- package/dist/storefront-models/src/models/html-meta-data/translations/index.d.ts +6 -0
- package/dist/storefront-models/src/models/ikas-theme/date-picker/index.d.ts +7 -0
- package/dist/storefront-models/src/models/image/index.d.ts +6 -0
- package/dist/storefront-models/src/models/image-list/index.d.ts +4 -0
- package/dist/storefront-models/src/models/language-option/index.d.ts +8 -0
- package/dist/storefront-models/src/models/last-viewed-product/index.d.ts +4 -0
- package/dist/storefront-models/src/models/locale-option/index.d.ts +9 -0
- package/dist/storefront-models/src/models/location-translations/index.d.ts +5 -0
- package/dist/storefront-models/src/models/loyalty-program/customer-info/index.d.ts +17 -0
- package/dist/storefront-models/src/models/loyalty-program/earning-method/index.d.ts +33 -0
- package/dist/storefront-models/src/models/loyalty-program/index.d.ts +25 -0
- package/dist/storefront-models/src/models/loyalty-program/point-history/index.d.ts +16 -0
- package/dist/storefront-models/src/models/loyalty-program/spending-method/index.d.ts +17 -0
- package/dist/storefront-models/src/models/loyalty-program/tier/index.d.ts +15 -0
- package/dist/storefront-models/src/models/merchant-settings/address/city/index.d.ts +5 -0
- package/dist/storefront-models/src/models/merchant-settings/address/country/index.d.ts +7 -0
- package/dist/storefront-models/src/models/merchant-settings/address/district/index.d.ts +5 -0
- package/dist/storefront-models/src/models/merchant-settings/address/index.d.ts +21 -0
- package/dist/storefront-models/src/models/merchant-settings/address/state/index.d.ts +5 -0
- package/dist/storefront-models/src/models/merchant-settings/address/type/index.d.ts +1 -0
- package/dist/storefront-models/src/models/merchant-settings/index.d.ts +24 -0
- package/dist/storefront-models/src/models/navigation-link/index.d.ts +9 -0
- package/dist/storefront-models/src/models/navigation-link-list/index.d.ts +4 -0
- package/dist/storefront-models/src/models/number-range/index.d.ts +4 -0
- package/dist/storefront-models/src/models/order/address/city/index.d.ts +5 -0
- package/dist/storefront-models/src/models/order/address/country/index.d.ts +7 -0
- package/dist/storefront-models/src/models/order/address/district/index.d.ts +5 -0
- package/dist/storefront-models/src/models/order/address/index.d.ts +24 -0
- package/dist/storefront-models/src/models/order/address/region/index.d.ts +7 -0
- package/dist/storefront-models/src/models/order/address/state/index.d.ts +5 -0
- package/dist/storefront-models/src/models/order/adjustment/applied-order-line/index.d.ts +6 -0
- package/dist/storefront-models/src/models/order/adjustment/index.d.ts +17 -0
- package/dist/storefront-models/src/models/order/customer/index.d.ts +9 -0
- package/dist/storefront-models/src/models/order/gift-line/index.d.ts +6 -0
- package/dist/storefront-models/src/models/order/index.d.ts +51 -0
- package/dist/storefront-models/src/models/order/invoice/index.d.ts +10 -0
- package/dist/storefront-models/src/models/order/line-item/base-unit/index.d.ts +7 -0
- package/dist/storefront-models/src/models/order/line-item/base-unit/unit-type/index.d.ts +4 -0
- package/dist/storefront-models/src/models/order/line-item/discount/index.d.ts +9 -0
- package/dist/storefront-models/src/models/order/line-item/index.d.ts +28 -0
- package/dist/storefront-models/src/models/order/line-item/option/index.d.ts +9 -0
- package/dist/storefront-models/src/models/order/line-item/option/value/index.d.ts +5 -0
- package/dist/storefront-models/src/models/order/line-item/variant/brand/index.d.ts +4 -0
- package/dist/storefront-models/src/models/order/line-item/variant/bundle-product/bundle-variant/index.d.ts +29 -0
- package/dist/storefront-models/src/models/order/line-item/variant/bundle-product/index.d.ts +13 -0
- package/dist/storefront-models/src/models/order/line-item/variant/category/index.d.ts +9 -0
- package/dist/storefront-models/src/models/order/line-item/variant/index.d.ts +31 -0
- package/dist/storefront-models/src/models/order/line-item/variant/price/index.d.ts +8 -0
- package/dist/storefront-models/src/models/order/line-item/variant/tag/index.d.ts +4 -0
- package/dist/storefront-models/src/models/order/line-item/variant/unit/index.d.ts +5 -0
- package/dist/storefront-models/src/models/order/line-item/variant/value/index.d.ts +7 -0
- package/dist/storefront-models/src/models/order/package/index.d.ts +31 -0
- package/dist/storefront-models/src/models/order/package/tracking-info/index.d.ts +7 -0
- package/dist/storefront-models/src/models/order/payment-method/index.d.ts +8 -0
- package/dist/storefront-models/src/models/order/refund/index.d.ts +5 -0
- package/dist/storefront-models/src/models/order/refund/line-item/index.d.ts +4 -0
- package/dist/storefront-models/src/models/order/refund/settings/index.d.ts +5 -0
- package/dist/storefront-models/src/models/order/shipping-line/index.d.ts +11 -0
- package/dist/storefront-models/src/models/order/tax-line/index.d.ts +4 -0
- package/dist/storefront-models/src/models/order/transaction/error/index.d.ts +5 -0
- package/dist/storefront-models/src/models/order/transaction/index.d.ts +26 -0
- package/dist/storefront-models/src/models/order/transaction/payment-method-detail/index.d.ts +14 -0
- package/dist/storefront-models/src/models/order/transaction/payment-method-detail/installment-price/index.d.ts +7 -0
- package/dist/storefront-models/src/models/payment-gateway/additional-price/index.d.ts +8 -0
- package/dist/storefront-models/src/models/payment-gateway/index.d.ts +30 -0
- package/dist/storefront-models/src/models/payment-gateway/settings/index.d.ts +7 -0
- package/dist/storefront-models/src/models/payment-gateway/translation/index.d.ts +5 -0
- package/dist/storefront-models/src/models/product/attribute/index.d.ts +13 -0
- package/dist/storefront-models/src/models/product/attribute/option/index.d.ts +4 -0
- package/dist/storefront-models/src/models/product/attribute/table-cell/index.d.ts +4 -0
- package/dist/storefront-models/src/models/product/attribute/table-template/index.d.ts +5 -0
- package/dist/storefront-models/src/models/product/attribute/translation/index.d.ts +10 -0
- package/dist/storefront-models/src/models/product/attribute-value/index.d.ts +21 -0
- package/dist/storefront-models/src/models/product/back-in-stock-settings/index.d.ts +3 -0
- package/dist/storefront-models/src/models/product/base-unit/index.d.ts +10 -0
- package/dist/storefront-models/src/models/product/campaign/data/index.d.ts +27 -0
- package/dist/storefront-models/src/models/product/campaign/filter/index.d.ts +5 -0
- package/dist/storefront-models/src/models/product/campaign/index.d.ts +5 -0
- package/dist/storefront-models/src/models/product/campaign/product-buyx-then-gety/index.d.ts +16 -0
- package/dist/storefront-models/src/models/product/campaign/product-campaign-date-range-field/index.d.ts +4 -0
- package/dist/storefront-models/src/models/product/campaign/product-fixed-discount/index.d.ts +11 -0
- package/dist/storefront-models/src/models/product/campaign-offer/index.d.ts +11 -0
- package/dist/storefront-models/src/models/product/filter/index.d.ts +58 -0
- package/dist/storefront-models/src/models/product/group/index.d.ts +11 -0
- package/dist/storefront-models/src/models/product/group/order/index.d.ts +4 -0
- package/dist/storefront-models/src/models/product/group/translation/index.d.ts +9 -0
- package/dist/storefront-models/src/models/product/group/value/index.d.ts +5 -0
- package/dist/storefront-models/src/models/product/image/index.d.ts +9 -0
- package/dist/storefront-models/src/models/product/index.d.ts +88 -0
- package/dist/storefront-models/src/models/product/option-set/index.d.ts +21 -0
- package/dist/storefront-models/src/models/product/option-set/option/index.d.ts +67 -0
- package/dist/storefront-models/src/models/product/sales-channel/index.d.ts +9 -0
- package/dist/storefront-models/src/models/product/star/index.d.ts +4 -0
- package/dist/storefront-models/src/models/product/stock-location/index.d.ts +26 -0
- package/dist/storefront-models/src/models/product/tag/index.d.ts +4 -0
- package/dist/storefront-models/src/models/product/variant/bundle-settings/bundle-product/index.d.ts +14 -0
- package/dist/storefront-models/src/models/product/variant/bundle-settings/index.d.ts +6 -0
- package/dist/storefront-models/src/models/product/variant/index.d.ts +31 -0
- package/dist/storefront-models/src/models/product/variant/price/index.d.ts +11 -0
- package/dist/storefront-models/src/models/product/variant/price/product-campaign-price/index.d.ts +4 -0
- package/dist/storefront-models/src/models/product/variant/unit/index.d.ts +5 -0
- package/dist/storefront-models/src/models/product/variant-type/index.d.ts +6 -0
- package/dist/storefront-models/src/models/product-file/index.d.ts +6 -0
- package/dist/storefront-models/src/models/product-list/index.d.ts +53 -0
- package/dist/storefront-models/src/models/product-list/suggestion/index.d.ts +6 -0
- package/dist/storefront-models/src/models/product-option-file/index.d.ts +5 -0
- package/dist/storefront-models/src/models/raffle/index.d.ts +58 -0
- package/dist/storefront-models/src/models/raffle-list/index.d.ts +16 -0
- package/dist/storefront-models/src/models/sales-channel/index.d.ts +15 -0
- package/dist/storefront-models/src/models/shipping-zone/index.d.ts +7 -0
- package/dist/storefront-models/src/models/shipping-zone/state/city/district/index.d.ts +5 -0
- package/dist/storefront-models/src/models/shipping-zone/state/city/district/region/index.d.ts +7 -0
- package/dist/storefront-models/src/models/shipping-zone/state/city/index.d.ts +6 -0
- package/dist/storefront-models/src/models/shipping-zone/state/index.d.ts +7 -0
- package/dist/storefront-models/src/models/state/index.d.ts +12 -0
- package/dist/storefront-models/src/models/stock-location/address/city/index.d.ts +5 -0
- package/dist/storefront-models/src/models/stock-location/address/country/index.d.ts +7 -0
- package/dist/storefront-models/src/models/stock-location/address/district/index.d.ts +5 -0
- package/dist/storefront-models/src/models/stock-location/address/index.d.ts +13 -0
- package/dist/storefront-models/src/models/stock-location/address/state/index.d.ts +5 -0
- package/dist/storefront-models/src/models/stock-location/available/index.d.ts +8 -0
- package/dist/storefront-models/src/models/stock-location/index.d.ts +13 -0
- package/dist/storefront-models/src/models/storefront/b2b-settings/index.d.ts +7 -0
- package/dist/storefront-models/src/models/storefront/domain/index.d.ts +7 -0
- package/dist/storefront-models/src/models/storefront/index-page-seo-setting/index.d.ts +15 -0
- package/dist/storefront-models/src/models/storefront/index.d.ts +33 -0
- package/dist/storefront-models/src/models/storefront/localization/index.d.ts +6 -0
- package/dist/storefront-models/src/models/storefront/meta-templates/index.d.ts +7 -0
- package/dist/storefront-models/src/models/storefront/routing/dynamic-currency/index.d.ts +4 -0
- package/dist/storefront-models/src/models/storefront/routing/index.d.ts +12 -0
- package/dist/storefront-models/src/models/storefront/settings/index.d.ts +20 -0
- package/dist/storefront-models/src/models/storefront/theme/index.d.ts +9 -0
- package/dist/storefront-models/src/models/storefront/theme-localization/index.d.ts +11 -0
- package/dist/storefront-models/src/models/storefront-popup/index.d.ts +27 -0
- package/dist/storefront-models/src/models/storefront-popup/storefront-popup-analytics/index.d.ts +5 -0
- package/dist/storefront-models/src/models/storefront-popup/storefront-popup-date-filter/index.d.ts +4 -0
- package/dist/storefront-models/src/models/storefront-popup/storefront-popup-display-filter/index.d.ts +6 -0
- package/dist/storefront-models/src/models/storefront-popup/storefront-popup-display-settings/index.d.ts +7 -0
- package/dist/storefront-models/src/models/storefront-popup/storefront-popup-page-filter/index.d.ts +6 -0
- package/dist/storefront-models/src/models/storefront-popup/storefront-popup-page-filter/storefront-popup-page-filter-data/index.d.ts +5 -0
- package/dist/storefront-models/src/models/storefront-popup/storefront-popup-routing/index.d.ts +4 -0
- package/dist/storefront-models/src/models/storefront-widget-settings/index.d.ts +10 -0
- package/dist/storefront-models/src/models/theme/index.d.ts +2 -0
- package/dist/storefront-models/src/models/validator/account-info/index.d.ts +7 -0
- package/dist/storefront-models/src/models/validator/address/index.d.ts +42 -0
- package/dist/storefront-models/src/models/validator/back-in-stock-notification/index.d.ts +6 -0
- package/dist/storefront-models/src/models/validator/contact-form/index.d.ts +8 -0
- package/dist/storefront-models/src/models/validator/coupon-code-form/index.d.ts +4 -0
- package/dist/storefront-models/src/models/validator/customer-review/index.d.ts +7 -0
- package/dist/storefront-models/src/models/validator/forgot-password/index.d.ts +4 -0
- package/dist/storefront-models/src/models/validator/index.d.ts +42 -0
- package/dist/storefront-models/src/models/validator/login/index.d.ts +5 -0
- package/dist/storefront-models/src/models/validator/newsletter-subscription/index.d.ts +5 -0
- package/dist/storefront-models/src/models/validator/order-tracking/index.d.ts +5 -0
- package/dist/storefront-models/src/models/validator/recover-password/index.d.ts +5 -0
- package/dist/storefront-models/src/models/validator/register/index.d.ts +12 -0
- package/dist/storefront-models/src/models/validator/sms-login/index.d.ts +15 -0
- package/dist/storefront-models/src/models/validator/verify-phone-number/index.d.ts +7 -0
- package/dist/storefront-models/src/models/variant-type/index.d.ts +18 -0
- package/dist/storefront-models/src/models/variant-type/variant-value/index.d.ts +7 -0
- package/dist/storefront-models/src/models/video/index.d.ts +9 -0
- package/dist/stores/base/index.js +1 -0
- package/dist/stores/cart/index.js +1 -0
- package/dist/stores/customer/index.js +1 -0
- package/dist/theme/styles/index.js +1 -0
- package/dist/utils/blueprint.js +1 -0
- package/dist/utils/currency.js +1 -0
- package/dist/utils/fetch.js +1 -0
- package/dist/utils/helper.js +1 -0
- package/dist/utils/object-wrapper.js +1 -0
- package/package.json +60 -0
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import { IkasFormAttributeItem, RegisterForm } from "../../../../../../storefront-models/src";
|
|
2
|
+
/**
|
|
3
|
+
* Initializes the registration form with default field values, labels, placeholders, and customer attributes.
|
|
4
|
+
*
|
|
5
|
+
* @ai-category Registration, Form, Initialization
|
|
6
|
+
* @ai-related submitRegisterForm, setRegisterFormFirstName, setRegisterFormLastName, setRegisterFormEmail, setRegisterFormPassword, setRegisterFormPhone
|
|
7
|
+
*
|
|
8
|
+
* @param registerForm - The register form instance to initialize with default values.
|
|
9
|
+
* @returns void
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import { initRegisterForm } from "@ikas/bp-storefront";
|
|
14
|
+
*
|
|
15
|
+
* initRegisterForm(registerForm);
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function initRegisterForm(registerForm: RegisterForm): void;
|
|
19
|
+
/**
|
|
20
|
+
* Sets the value of a text-type custom attribute on the registration form.
|
|
21
|
+
*
|
|
22
|
+
* @ai-category Registration, Form, Customer, Validation
|
|
23
|
+
* @ai-related setRegisterFormDateAttribute, setRegisterFormDateTimeAttribute, setRegisterFormChoiceAttribute, setRegisterFormNumericAttribute, setRegisterFormBooleanAttribute, setRegisterFormMultipleChoiceAttribute
|
|
24
|
+
*
|
|
25
|
+
* @param registerForm - The register form instance containing the attribute.
|
|
26
|
+
* @param attribute - The form attribute item to update.
|
|
27
|
+
* @param value - The text value to assign to the attribute.
|
|
28
|
+
* @returns void
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import { setRegisterFormTextAttribute } from "@ikas/bp-storefront";
|
|
33
|
+
*
|
|
34
|
+
* setRegisterFormTextAttribute(registerForm, attribute, "some text value");
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare function setRegisterFormTextAttribute(registerForm: RegisterForm, attribute: IkasFormAttributeItem, value: string): void;
|
|
38
|
+
/**
|
|
39
|
+
* Sets the value of a datetime-type custom attribute on the registration form.
|
|
40
|
+
*
|
|
41
|
+
* @ai-category Registration, Form, Customer, Validation
|
|
42
|
+
* @ai-related setRegisterFormTextAttribute, setRegisterFormDateAttribute, setRegisterFormChoiceAttribute, setRegisterFormNumericAttribute, setRegisterFormBooleanAttribute, setRegisterFormMultipleChoiceAttribute
|
|
43
|
+
*
|
|
44
|
+
* @param registerForm - The register form instance containing the attribute.
|
|
45
|
+
* @param attribute - The form attribute item to update.
|
|
46
|
+
* @param value - The datetime string value to assign to the attribute.
|
|
47
|
+
* @returns void
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```typescript
|
|
51
|
+
* import { setRegisterFormDateTimeAttribute } from "@ikas/bp-storefront";
|
|
52
|
+
*
|
|
53
|
+
* setRegisterFormDateTimeAttribute(registerForm, attribute, "2024-06-15T10:30:00");
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export declare function setRegisterFormDateTimeAttribute(registerForm: RegisterForm, attribute: IkasFormAttributeItem, value: string): void;
|
|
57
|
+
/**
|
|
58
|
+
* Sets the value of a date-type custom attribute on the registration form.
|
|
59
|
+
*
|
|
60
|
+
* @ai-category Registration, Form, Customer, Validation
|
|
61
|
+
* @ai-related setRegisterFormTextAttribute, setRegisterFormDateTimeAttribute, setRegisterFormChoiceAttribute, setRegisterFormNumericAttribute, setRegisterFormBooleanAttribute, setRegisterFormMultipleChoiceAttribute
|
|
62
|
+
*
|
|
63
|
+
* @param registerForm - The register form instance containing the attribute.
|
|
64
|
+
* @param attribute - The form attribute item to update.
|
|
65
|
+
* @param value - The date string value to assign to the attribute.
|
|
66
|
+
* @returns void
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import { setRegisterFormDateAttribute } from "@ikas/bp-storefront";
|
|
71
|
+
*
|
|
72
|
+
* setRegisterFormDateAttribute(registerForm, attribute, "2024-06-15");
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
export declare function setRegisterFormDateAttribute(registerForm: RegisterForm, attribute: IkasFormAttributeItem, value: string): void;
|
|
76
|
+
/**
|
|
77
|
+
* Sets the value of a single-choice custom attribute on the registration form.
|
|
78
|
+
*
|
|
79
|
+
* @ai-category Registration, Form, Customer, Validation
|
|
80
|
+
* @ai-related setRegisterFormTextAttribute, setRegisterFormDateAttribute, setRegisterFormDateTimeAttribute, setRegisterFormNumericAttribute, setRegisterFormBooleanAttribute, setRegisterFormMultipleChoiceAttribute
|
|
81
|
+
*
|
|
82
|
+
* @param registerForm - The register form instance containing the attribute.
|
|
83
|
+
* @param attribute - The form attribute item to update.
|
|
84
|
+
* @param value - The selected choice option value (typically an option ID).
|
|
85
|
+
* @returns void
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* ```typescript
|
|
89
|
+
* import { setRegisterFormChoiceAttribute } from "@ikas/bp-storefront";
|
|
90
|
+
*
|
|
91
|
+
* setRegisterFormChoiceAttribute(registerForm, attribute, "optionId123");
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
export declare function setRegisterFormChoiceAttribute(registerForm: RegisterForm, attribute: IkasFormAttributeItem, value: string): void;
|
|
95
|
+
/**
|
|
96
|
+
* Sets the value of a numeric-type custom attribute on the registration form, ensuring only valid integers are accepted.
|
|
97
|
+
*
|
|
98
|
+
* @ai-category Registration, Form, Customer, Validation
|
|
99
|
+
* @ai-related setRegisterFormTextAttribute, setRegisterFormDateAttribute, setRegisterFormDateTimeAttribute, setRegisterFormChoiceAttribute, setRegisterFormBooleanAttribute, setRegisterFormMultipleChoiceAttribute
|
|
100
|
+
*
|
|
101
|
+
* @param registerForm - The register form instance containing the attribute.
|
|
102
|
+
* @param attribute - The form attribute item to update.
|
|
103
|
+
* @param value - The numeric string value to assign; non-integer trailing characters are stripped.
|
|
104
|
+
* @returns void
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* ```typescript
|
|
108
|
+
* import { setRegisterFormNumericAttribute } from "@ikas/bp-storefront";
|
|
109
|
+
*
|
|
110
|
+
* setRegisterFormNumericAttribute(registerForm, attribute, "42");
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
export declare function setRegisterFormNumericAttribute(registerForm: RegisterForm, attribute: IkasFormAttributeItem, value: string): void;
|
|
114
|
+
/**
|
|
115
|
+
* Sets the checked state of a boolean-type custom attribute on the registration form.
|
|
116
|
+
*
|
|
117
|
+
* @ai-category Registration, Form, Customer, Validation
|
|
118
|
+
* @ai-related setRegisterFormTextAttribute, setRegisterFormDateAttribute, setRegisterFormDateTimeAttribute, setRegisterFormChoiceAttribute, setRegisterFormNumericAttribute, setRegisterFormMultipleChoiceAttribute
|
|
119
|
+
*
|
|
120
|
+
* @param registerForm - The register form instance containing the attribute.
|
|
121
|
+
* @param attribute - The form attribute item to update.
|
|
122
|
+
* @param value - The boolean value indicating whether the attribute is checked.
|
|
123
|
+
* @returns void
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* ```typescript
|
|
127
|
+
* import { setRegisterFormBooleanAttribute } from "@ikas/bp-storefront";
|
|
128
|
+
*
|
|
129
|
+
* setRegisterFormBooleanAttribute(registerForm, attribute, true);
|
|
130
|
+
* ```
|
|
131
|
+
*/
|
|
132
|
+
export declare function setRegisterFormBooleanAttribute(registerForm: RegisterForm, attribute: IkasFormAttributeItem, value: boolean): void;
|
|
133
|
+
/**
|
|
134
|
+
* Sets the selected option IDs for a multiple-choice custom attribute on the registration form.
|
|
135
|
+
*
|
|
136
|
+
* @ai-category Registration, Form, Customer, Validation
|
|
137
|
+
* @ai-related setRegisterFormTextAttribute, setRegisterFormDateAttribute, setRegisterFormDateTimeAttribute, setRegisterFormChoiceAttribute, setRegisterFormNumericAttribute, setRegisterFormBooleanAttribute
|
|
138
|
+
*
|
|
139
|
+
* @param registerForm - The register form instance containing the attribute.
|
|
140
|
+
* @param attribute - The form attribute item to update.
|
|
141
|
+
* @param value - An array of selected option IDs.
|
|
142
|
+
* @returns void
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* ```typescript
|
|
146
|
+
* import { setRegisterFormMultipleChoiceAttribute } from "@ikas/bp-storefront";
|
|
147
|
+
*
|
|
148
|
+
* setRegisterFormMultipleChoiceAttribute(registerForm, attribute, ["optionId1", "optionId2"]);
|
|
149
|
+
* ```
|
|
150
|
+
*/
|
|
151
|
+
export declare function setRegisterFormMultipleChoiceAttribute(registerForm: RegisterForm, attribute: IkasFormAttributeItem, value: string[]): void;
|
|
152
|
+
/**
|
|
153
|
+
* Sets the first name field on the registration form and re-validates if the form has been submitted.
|
|
154
|
+
*
|
|
155
|
+
* @ai-category Registration, Form, Customer, Validation
|
|
156
|
+
* @ai-related setRegisterFormLastName, setRegisterFormEmail, setRegisterFormPassword, setRegisterFormPhone, initRegisterForm, submitRegisterForm
|
|
157
|
+
*
|
|
158
|
+
* @param registerForm - The register form instance to update.
|
|
159
|
+
* @param value - The first name value to set.
|
|
160
|
+
* @returns void
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* ```typescript
|
|
164
|
+
* import { setRegisterFormFirstName } from "@ikas/bp-storefront";
|
|
165
|
+
*
|
|
166
|
+
* setRegisterFormFirstName(registerForm, "Jane");
|
|
167
|
+
* ```
|
|
168
|
+
*/
|
|
169
|
+
export declare function setRegisterFormFirstName(registerForm: RegisterForm, value: string): void;
|
|
170
|
+
/**
|
|
171
|
+
* Sets the last name field on the registration form and re-validates if the form has been submitted.
|
|
172
|
+
*
|
|
173
|
+
* @ai-category Registration, Form, Customer, Validation
|
|
174
|
+
* @ai-related setRegisterFormFirstName, setRegisterFormEmail, setRegisterFormPassword, setRegisterFormPhone, initRegisterForm, submitRegisterForm
|
|
175
|
+
*
|
|
176
|
+
* @param registerForm - The register form instance to update.
|
|
177
|
+
* @param value - The last name value to set.
|
|
178
|
+
* @returns void
|
|
179
|
+
*
|
|
180
|
+
* @example
|
|
181
|
+
* ```typescript
|
|
182
|
+
* import { setRegisterFormLastName } from "@ikas/bp-storefront";
|
|
183
|
+
*
|
|
184
|
+
* setRegisterFormLastName(registerForm, "Doe");
|
|
185
|
+
* ```
|
|
186
|
+
*/
|
|
187
|
+
export declare function setRegisterFormLastName(registerForm: RegisterForm, value: string): void;
|
|
188
|
+
/**
|
|
189
|
+
* Sets the email field on the registration form and re-validates if the form has been submitted.
|
|
190
|
+
*
|
|
191
|
+
* @ai-category Registration, Form, Customer, Validation
|
|
192
|
+
* @ai-related setRegisterFormFirstName, setRegisterFormLastName, setRegisterFormPassword, setRegisterFormPhone, initRegisterForm, submitRegisterForm
|
|
193
|
+
*
|
|
194
|
+
* @param registerForm - The register form instance to update.
|
|
195
|
+
* @param value - The email address value to set.
|
|
196
|
+
* @returns void
|
|
197
|
+
*
|
|
198
|
+
* @example
|
|
199
|
+
* ```typescript
|
|
200
|
+
* import { setRegisterFormEmail } from "@ikas/bp-storefront";
|
|
201
|
+
*
|
|
202
|
+
* setRegisterFormEmail(registerForm, "jane.doe@example.com");
|
|
203
|
+
* ```
|
|
204
|
+
*/
|
|
205
|
+
export declare function setRegisterFormEmail(registerForm: RegisterForm, value: string): void;
|
|
206
|
+
/**
|
|
207
|
+
* Sets the password field on the registration form and re-validates if the form has been submitted.
|
|
208
|
+
*
|
|
209
|
+
* @ai-category Registration, Form, Customer, Validation
|
|
210
|
+
* @ai-related setRegisterFormFirstName, setRegisterFormLastName, setRegisterFormEmail, setRegisterFormPhone, initRegisterForm, submitRegisterForm
|
|
211
|
+
*
|
|
212
|
+
* @param registerForm - The register form instance to update.
|
|
213
|
+
* @param value - The password value to set.
|
|
214
|
+
* @returns void
|
|
215
|
+
*
|
|
216
|
+
* @example
|
|
217
|
+
* ```typescript
|
|
218
|
+
* import { setRegisterFormPassword } from "@ikas/bp-storefront";
|
|
219
|
+
*
|
|
220
|
+
* setRegisterFormPassword(registerForm, "securePassword123");
|
|
221
|
+
* ```
|
|
222
|
+
*/
|
|
223
|
+
export declare function setRegisterFormPassword(registerForm: RegisterForm, value: string): void;
|
|
224
|
+
/**
|
|
225
|
+
* Sets the phone number field on the registration form and re-validates if the form has been submitted.
|
|
226
|
+
*
|
|
227
|
+
* @ai-category Registration, Form, Customer, Validation
|
|
228
|
+
* @ai-related setRegisterFormFirstName, setRegisterFormLastName, setRegisterFormEmail, setRegisterFormPassword, initRegisterForm, submitRegisterForm
|
|
229
|
+
*
|
|
230
|
+
* @param registerForm - The register form instance to update.
|
|
231
|
+
* @param value - The phone number value to set.
|
|
232
|
+
* @returns void
|
|
233
|
+
*
|
|
234
|
+
* @example
|
|
235
|
+
* ```typescript
|
|
236
|
+
* import { setRegisterFormPhone } from "@ikas/bp-storefront";
|
|
237
|
+
*
|
|
238
|
+
* setRegisterFormPhone(registerForm, "+1234567890");
|
|
239
|
+
* ```
|
|
240
|
+
*/
|
|
241
|
+
export declare function setRegisterFormPhone(registerForm: RegisterForm, value: string): void;
|
|
242
|
+
/**
|
|
243
|
+
* Sets the marketing consent acceptance flag on the registration form and re-validates if the form has been submitted.
|
|
244
|
+
*
|
|
245
|
+
* @ai-category Registration, Form, Customer, Validation
|
|
246
|
+
* @ai-related setRegisterFormIsMembershipAgreementAccepted, initRegisterForm, submitRegisterForm
|
|
247
|
+
*
|
|
248
|
+
* @param registerForm - The register form instance to update.
|
|
249
|
+
* @param value - Whether the customer accepts marketing communications.
|
|
250
|
+
* @returns void
|
|
251
|
+
*
|
|
252
|
+
* @example
|
|
253
|
+
* ```typescript
|
|
254
|
+
* import { setRegisterFormIsMarketingAccepted } from "@ikas/bp-storefront";
|
|
255
|
+
*
|
|
256
|
+
* setRegisterFormIsMarketingAccepted(registerForm, true);
|
|
257
|
+
* ```
|
|
258
|
+
*/
|
|
259
|
+
export declare function setRegisterFormIsMarketingAccepted(registerForm: RegisterForm, value: boolean): void;
|
|
260
|
+
/**
|
|
261
|
+
* Sets the membership agreement acceptance flag on the registration form and re-validates if the form has been submitted.
|
|
262
|
+
*
|
|
263
|
+
* @ai-category Registration, Form, Customer, Validation
|
|
264
|
+
* @ai-related setRegisterFormIsMarketingAccepted, initRegisterForm, submitRegisterForm
|
|
265
|
+
*
|
|
266
|
+
* @param registerForm - The register form instance to update.
|
|
267
|
+
* @param value - Whether the customer accepts the membership agreement.
|
|
268
|
+
* @returns void
|
|
269
|
+
*
|
|
270
|
+
* @example
|
|
271
|
+
* ```typescript
|
|
272
|
+
* import { setRegisterFormIsMembershipAgreementAccepted } from "@ikas/bp-storefront";
|
|
273
|
+
*
|
|
274
|
+
* setRegisterFormIsMembershipAgreementAccepted(registerForm, true);
|
|
275
|
+
* ```
|
|
276
|
+
*/
|
|
277
|
+
export declare function setRegisterFormIsMembershipAgreementAccepted(registerForm: RegisterForm, value: boolean): void;
|
|
278
|
+
/**
|
|
279
|
+
* Validates and submits the registration form, creating a new customer account if all fields pass validation.
|
|
280
|
+
*
|
|
281
|
+
* @ai-category Registration, Form, Customer, Validation
|
|
282
|
+
* @ai-related initRegisterForm, setRegisterFormFirstName, setRegisterFormLastName, setRegisterFormEmail, setRegisterFormPassword, setRegisterFormPhone, setRegisterFormIsMarketingAccepted, setRegisterFormIsMembershipAgreementAccepted
|
|
283
|
+
*
|
|
284
|
+
* @param registerForm - The register form instance to validate and submit.
|
|
285
|
+
* @returns A promise that resolves to `true` if registration succeeded, or `false` if validation failed or the API request was unsuccessful.
|
|
286
|
+
*
|
|
287
|
+
* @example
|
|
288
|
+
* ```typescript
|
|
289
|
+
* import { submitRegisterForm } from "@ikas/bp-storefront";
|
|
290
|
+
*
|
|
291
|
+
* const success = await submitRegisterForm(registerForm);
|
|
292
|
+
* if (success) {
|
|
293
|
+
* // Registration was successful
|
|
294
|
+
* }
|
|
295
|
+
* ```
|
|
296
|
+
*/
|
|
297
|
+
export declare function submitRegisterForm(registerForm: RegisterForm): Promise<boolean>;
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { SmsLoginForm } from "../../../../../../storefront-models/src";
|
|
2
|
+
/**
|
|
3
|
+
* Initializes the SMS login form with default field values, labels, placeholders, and resets all state.
|
|
4
|
+
*
|
|
5
|
+
* @ai-category SMSLogin, Authentication, Validation
|
|
6
|
+
* @ai-related setSmsLoginFormPhone, setSmsLoginFormCode, submitSmsLoginForm
|
|
7
|
+
*
|
|
8
|
+
* @param smsLoginForm - The SMS login form instance to initialize.
|
|
9
|
+
* @returns void
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import { initSmsLoginForm } from "@ikas/bp-storefront";
|
|
14
|
+
* initSmsLoginForm(smsLoginForm);
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function initSmsLoginForm(smsLoginForm: SmsLoginForm): void;
|
|
18
|
+
/**
|
|
19
|
+
* Sets the phone number value on the SMS login form and re-validates if the form has been submitted during the phone entry step.
|
|
20
|
+
*
|
|
21
|
+
* @ai-category SMSLogin, PhoneVerification, Validation
|
|
22
|
+
* @ai-related setSmsLoginFormCode, initSmsLoginForm, submitSmsLoginForm
|
|
23
|
+
*
|
|
24
|
+
* @param smsLoginForm - The SMS login form instance to update.
|
|
25
|
+
* @param value - The phone number string to set.
|
|
26
|
+
* @returns void
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import { setSmsLoginFormPhone } from "@ikas/bp-storefront";
|
|
31
|
+
* setSmsLoginFormPhone(smsLoginForm, "+905551234567");
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare function setSmsLoginFormPhone(smsLoginForm: SmsLoginForm, value: string): void;
|
|
35
|
+
/**
|
|
36
|
+
* Sets the OTP verification code value on the SMS login form and re-validates if the form has been submitted during the code verification step.
|
|
37
|
+
*
|
|
38
|
+
* @ai-category SMSLogin, PhoneVerification, Validation
|
|
39
|
+
* @ai-related setSmsLoginFormPhone, submitSmsLoginForm, resendSmsLoginFormCode
|
|
40
|
+
*
|
|
41
|
+
* @param smsLoginForm - The SMS login form instance to update.
|
|
42
|
+
* @param value - The OTP code string to set.
|
|
43
|
+
* @returns void
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import { setSmsLoginFormCode } from "@ikas/bp-storefront";
|
|
48
|
+
* setSmsLoginFormCode(smsLoginForm, "123456");
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare function setSmsLoginFormCode(smsLoginForm: SmsLoginForm, value: string): void;
|
|
52
|
+
/**
|
|
53
|
+
* Sets the first name value on the SMS login form and re-validates if the form has been submitted during the profile completion step.
|
|
54
|
+
*
|
|
55
|
+
* @ai-category SMSLogin, Authentication, Validation
|
|
56
|
+
* @ai-related setSmsLoginFormLastName, setSmsLoginFormEmail, submitSmsLoginForm
|
|
57
|
+
*
|
|
58
|
+
* @param smsLoginForm - The SMS login form instance to update.
|
|
59
|
+
* @param value - The first name string to set.
|
|
60
|
+
* @returns void
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```typescript
|
|
64
|
+
* import { setSmsLoginFormFirstName } from "@ikas/bp-storefront";
|
|
65
|
+
* setSmsLoginFormFirstName(smsLoginForm, "John");
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
export declare function setSmsLoginFormFirstName(smsLoginForm: SmsLoginForm, value: string): void;
|
|
69
|
+
/**
|
|
70
|
+
* Sets the last name value on the SMS login form and re-validates if the form has been submitted during the profile completion step.
|
|
71
|
+
*
|
|
72
|
+
* @ai-category SMSLogin, Authentication, Validation
|
|
73
|
+
* @ai-related setSmsLoginFormFirstName, setSmsLoginFormEmail, submitSmsLoginForm
|
|
74
|
+
*
|
|
75
|
+
* @param smsLoginForm - The SMS login form instance to update.
|
|
76
|
+
* @param value - The last name string to set.
|
|
77
|
+
* @returns void
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```typescript
|
|
81
|
+
* import { setSmsLoginFormLastName } from "@ikas/bp-storefront";
|
|
82
|
+
* setSmsLoginFormLastName(smsLoginForm, "Doe");
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
export declare function setSmsLoginFormLastName(smsLoginForm: SmsLoginForm, value: string): void;
|
|
86
|
+
/**
|
|
87
|
+
* Sets the email value on the SMS login form and re-validates if the form has been submitted during the profile completion step.
|
|
88
|
+
*
|
|
89
|
+
* @ai-category SMSLogin, Authentication, Validation
|
|
90
|
+
* @ai-related setSmsLoginFormFirstName, setSmsLoginFormLastName, submitSmsLoginForm
|
|
91
|
+
*
|
|
92
|
+
* @param smsLoginForm - The SMS login form instance to update.
|
|
93
|
+
* @param value - The email address string to set.
|
|
94
|
+
* @returns void
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* ```typescript
|
|
98
|
+
* import { setSmsLoginFormEmail } from "@ikas/bp-storefront";
|
|
99
|
+
* setSmsLoginFormEmail(smsLoginForm, "john@example.com");
|
|
100
|
+
* ```
|
|
101
|
+
*/
|
|
102
|
+
export declare function setSmsLoginFormEmail(smsLoginForm: SmsLoginForm, value: string): void;
|
|
103
|
+
/**
|
|
104
|
+
* Sets the marketing consent acceptance value on the SMS login form and re-validates if the form has been submitted.
|
|
105
|
+
*
|
|
106
|
+
* @ai-category SMSLogin, Authentication, Validation
|
|
107
|
+
* @ai-related setSmsLoginFormIsMembershipAgreementAccepted, submitSmsLoginForm
|
|
108
|
+
*
|
|
109
|
+
* @param smsLoginForm - The SMS login form instance to update.
|
|
110
|
+
* @param value - Whether the user has accepted marketing communications.
|
|
111
|
+
* @returns void
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* ```typescript
|
|
115
|
+
* import { setSmsLoginFormIsMarketingAccepted } from "@ikas/bp-storefront";
|
|
116
|
+
* setSmsLoginFormIsMarketingAccepted(smsLoginForm, true);
|
|
117
|
+
* ```
|
|
118
|
+
*/
|
|
119
|
+
export declare function setSmsLoginFormIsMarketingAccepted(smsLoginForm: SmsLoginForm, value: boolean): void;
|
|
120
|
+
/**
|
|
121
|
+
* Sets the membership agreement acceptance value on the SMS login form and re-validates if the form has been submitted.
|
|
122
|
+
*
|
|
123
|
+
* @ai-category SMSLogin, Authentication, Validation
|
|
124
|
+
* @ai-related setSmsLoginFormIsMarketingAccepted, submitSmsLoginForm
|
|
125
|
+
*
|
|
126
|
+
* @param smsLoginForm - The SMS login form instance to update.
|
|
127
|
+
* @param value - Whether the user has accepted the membership agreement.
|
|
128
|
+
* @returns void
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* ```typescript
|
|
132
|
+
* import { setSmsLoginFormIsMembershipAgreementAccepted } from "@ikas/bp-storefront";
|
|
133
|
+
* setSmsLoginFormIsMembershipAgreementAccepted(smsLoginForm, true);
|
|
134
|
+
* ```
|
|
135
|
+
*/
|
|
136
|
+
export declare function setSmsLoginFormIsMembershipAgreementAccepted(smsLoginForm: SmsLoginForm, value: boolean): void;
|
|
137
|
+
/**
|
|
138
|
+
* Submits the SMS login form, advancing through the multi-step flow: sends an OTP code for the phone number, verifies the OTP code, or completes profile registration depending on the current step.
|
|
139
|
+
*
|
|
140
|
+
* @ai-category SMSLogin, Authentication, PhoneVerification, Validation
|
|
141
|
+
* @ai-related initSmsLoginForm, setSmsLoginFormPhone, setSmsLoginFormCode, resendSmsLoginFormCode
|
|
142
|
+
*
|
|
143
|
+
* @param smsLoginForm - The SMS login form instance to submit.
|
|
144
|
+
* @returns A promise that resolves to `true` if the current step succeeded, or `false` if validation or the request failed.
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* ```typescript
|
|
148
|
+
* import { submitSmsLoginForm } from "@ikas/bp-storefront";
|
|
149
|
+
* const success = await submitSmsLoginForm(smsLoginForm);
|
|
150
|
+
* if (success) {
|
|
151
|
+
* // Proceed to the next step or handle successful login
|
|
152
|
+
* }
|
|
153
|
+
* ```
|
|
154
|
+
*/
|
|
155
|
+
export declare function submitSmsLoginForm(smsLoginForm: SmsLoginForm): Promise<boolean>;
|
|
156
|
+
/**
|
|
157
|
+
* Resends the OTP verification code to the phone number on the SMS login form. Only operates when the form is on the "Verify Code" step.
|
|
158
|
+
*
|
|
159
|
+
* @ai-category SMSLogin, PhoneVerification, Authentication
|
|
160
|
+
* @ai-related setSmsLoginFormCode, submitSmsLoginForm, setSmsLoginFormPhone
|
|
161
|
+
*
|
|
162
|
+
* @param smsLoginForm - The SMS login form instance for which to resend the code.
|
|
163
|
+
* @returns A promise that resolves when the resend operation completes. Returns early if the form is not on the verification step.
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
* ```typescript
|
|
167
|
+
* import { resendSmsLoginFormCode } from "@ikas/bp-storefront";
|
|
168
|
+
* await resendSmsLoginFormCode(smsLoginForm);
|
|
169
|
+
* ```
|
|
170
|
+
*/
|
|
171
|
+
export declare function resendSmsLoginFormCode(smsLoginForm: SmsLoginForm): Promise<void>;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { VerifyPhoneNumberForm } from "../../../../../../storefront-models/src";
|
|
2
|
+
/**
|
|
3
|
+
* Initializes the phone number verification form with default field values and sets the step to "Enter Phone Number".
|
|
4
|
+
*
|
|
5
|
+
* @ai-category Validation, PhoneVerification, Form
|
|
6
|
+
* @ai-related setVerifyPhoneNumberFormCode, submitVerifyPhoneNumberForm, resendVerifyPhoneNumberFormCode
|
|
7
|
+
*
|
|
8
|
+
* @param verifyPhoneNumberForm - The phone number verification form object to initialize
|
|
9
|
+
* @returns void
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import { initVerifyPhoneNumberForm } from "@ikas/bp-storefront";
|
|
14
|
+
* initVerifyPhoneNumberForm(verifyPhoneNumberForm);
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function initVerifyPhoneNumberForm(verifyPhoneNumberForm: VerifyPhoneNumberForm): void;
|
|
18
|
+
/**
|
|
19
|
+
* Sets the verification code field value on the phone number verification form and re-validates if the form has been submitted.
|
|
20
|
+
*
|
|
21
|
+
* @ai-category Validation, PhoneVerification, Form
|
|
22
|
+
* @ai-related initVerifyPhoneNumberForm, submitVerifyPhoneNumberForm, resendVerifyPhoneNumberFormCode
|
|
23
|
+
*
|
|
24
|
+
* @param verifyPhoneNumberForm - The phone number verification form object to update
|
|
25
|
+
* @param value - The verification code string to set
|
|
26
|
+
* @returns void
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import { setVerifyPhoneNumberFormCode } from "@ikas/bp-storefront";
|
|
31
|
+
* setVerifyPhoneNumberFormCode(verifyPhoneNumberForm, "123456");
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare function setVerifyPhoneNumberFormCode(verifyPhoneNumberForm: VerifyPhoneNumberForm, value: string): void;
|
|
35
|
+
/**
|
|
36
|
+
* Validates and submits the phone number verification form, handling the multi-step flow of sending a code and then verifying it.
|
|
37
|
+
*
|
|
38
|
+
* @ai-category Validation, PhoneVerification, Form
|
|
39
|
+
* @ai-related initVerifyPhoneNumberForm, setVerifyPhoneNumberFormCode, resendVerifyPhoneNumberFormCode
|
|
40
|
+
*
|
|
41
|
+
* @param verifyPhoneNumberForm - The phone number verification form object to validate and submit
|
|
42
|
+
* @returns A promise that resolves to true if the current step completed successfully, or false if validation failed or the API returned an error
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import { submitVerifyPhoneNumberForm } from "@ikas/bp-storefront";
|
|
47
|
+
* const success = await submitVerifyPhoneNumberForm(verifyPhoneNumberForm);
|
|
48
|
+
* if (success) {
|
|
49
|
+
* console.log("Step completed successfully");
|
|
50
|
+
* }
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare function submitVerifyPhoneNumberForm(verifyPhoneNumberForm: VerifyPhoneNumberForm): Promise<boolean>;
|
|
54
|
+
/**
|
|
55
|
+
* Resends the phone verification code if the form is currently in the "Verify Code" step.
|
|
56
|
+
*
|
|
57
|
+
* @ai-category Validation, PhoneVerification, Form
|
|
58
|
+
* @ai-related initVerifyPhoneNumberForm, setVerifyPhoneNumberFormCode, submitVerifyPhoneNumberForm
|
|
59
|
+
*
|
|
60
|
+
* @param verifyPhoneNumberForm - The phone number verification form object
|
|
61
|
+
* @returns A promise that resolves when the code has been resent, or returns immediately if not in the correct step
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import { resendVerifyPhoneNumberFormCode } from "@ikas/bp-storefront";
|
|
66
|
+
* await resendVerifyPhoneNumberFormCode(verifyPhoneNumberForm);
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
export declare function resendVerifyPhoneNumberFormCode(verifyPhoneNumberForm: VerifyPhoneNumberForm): Promise<void>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IkasVariantType } from "../../../../../storefront-models/src";
|
|
2
|
+
/**
|
|
3
|
+
* Checks whether the given variant type uses color-based selection.
|
|
4
|
+
*
|
|
5
|
+
* @ai-category VariantType, ProductVariant
|
|
6
|
+
* @ai-related getIkasVariantTypeSlug
|
|
7
|
+
*
|
|
8
|
+
* @param variantType - The variant type to check.
|
|
9
|
+
* @returns `true` if the variant type's selection type is "COLOR", `false` otherwise.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import { isIkasVariantTypeColorSelection } from "@ikas/bp-storefront";
|
|
14
|
+
* const isColor = isIkasVariantTypeColorSelection(variantType);
|
|
15
|
+
* if (isColor) {
|
|
16
|
+
* // render color swatches
|
|
17
|
+
* }
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function isIkasVariantTypeColorSelection(variantType: IkasVariantType): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Generates a URL-friendly slug from the variant type's name.
|
|
23
|
+
*
|
|
24
|
+
* @ai-category VariantType, ProductVariant
|
|
25
|
+
* @ai-related isIkasVariantTypeColorSelection
|
|
26
|
+
*
|
|
27
|
+
* @param variantType - The variant type whose name will be converted to a slug.
|
|
28
|
+
* @returns A slugified string derived from the variant type's name.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import { getIkasVariantTypeSlug } from "@ikas/bp-storefront";
|
|
33
|
+
* const slug = getIkasVariantTypeSlug(variantType);
|
|
34
|
+
* // e.g. "color" or "size"
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare function getIkasVariantTypeSlug(variantType: IkasVariantType): string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IkasVariantType } from "../../../../../storefront-models/src";
|
|
2
|
+
/**
|
|
3
|
+
* Initializes a variant type by linking each variant value back to its parent variant type and applying locale-specific translations.
|
|
4
|
+
*
|
|
5
|
+
* @ai-category VariantType, Initialization
|
|
6
|
+
* @ai-related setIkasVariantTypeTranslations
|
|
7
|
+
*
|
|
8
|
+
* @param variantType - The variant type to initialize.
|
|
9
|
+
* @param locale - The locale code to apply translations for, or `null` to skip translations.
|
|
10
|
+
* @returns void
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import { initIkasVariantType } from "@ikas/bp-storefront";
|
|
15
|
+
* initIkasVariantType(variantType, "en");
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function initIkasVariantType(variantType: IkasVariantType, locale: string | null): void;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { IkasImage, IkasVariantValue } from "../../../../../../storefront-models/src";
|
|
2
|
+
/**
|
|
3
|
+
* Generates a URL-friendly slug from the variant value's name.
|
|
4
|
+
*
|
|
5
|
+
* @ai-category VariantValue, ProductVariant
|
|
6
|
+
* @ai-related getIkasVariantValueThumbnailImage, isColorVariantValue, isImageVariantValue, isTextVariantValue
|
|
7
|
+
*
|
|
8
|
+
* @param variantValue - The variant value whose name will be converted to a slug.
|
|
9
|
+
* @returns A slugified string derived from the variant value's name.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import { getIkasVariantValueSlug } from "@ikas/bp-storefront";
|
|
14
|
+
* const slug = getIkasVariantValueSlug(variantValue);
|
|
15
|
+
* // e.g. "red" or "large"
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getIkasVariantValueSlug(variantValue: IkasVariantValue): string;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves the thumbnail image associated with a variant value, if one exists.
|
|
21
|
+
*
|
|
22
|
+
* @ai-category VariantValue, ProductVariant, Product
|
|
23
|
+
* @ai-related getIkasVariantValueSlug, isImageVariantValue, isColorVariantValue
|
|
24
|
+
*
|
|
25
|
+
* @param variantValue - The variant value to retrieve the thumbnail image for.
|
|
26
|
+
* @returns An `IkasImage` object if the variant value has a thumbnail image ID, or `undefined` otherwise.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import { getIkasVariantValueThumbnailImage } from "@ikas/bp-storefront";
|
|
31
|
+
* const image = getIkasVariantValueThumbnailImage(variantValue);
|
|
32
|
+
* if (image) {
|
|
33
|
+
* // render the thumbnail image
|
|
34
|
+
* }
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare function getIkasVariantValueThumbnailImage(variantValue: IkasVariantValue): IkasImage | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Checks whether the given variant value represents a color by testing for a color code.
|
|
40
|
+
*
|
|
41
|
+
* @ai-category VariantValue, ProductVariant
|
|
42
|
+
* @ai-related isImageVariantValue, isTextVariantValue, getIkasVariantValueThumbnailImage
|
|
43
|
+
*
|
|
44
|
+
* @param variantValue - The variant value to check.
|
|
45
|
+
* @returns `true` if the variant value has a color code, `false` otherwise.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import { isColorVariantValue } from "@ikas/bp-storefront";
|
|
50
|
+
* if (isColorVariantValue(variantValue)) {
|
|
51
|
+
* // render a color swatch using variantValue.colorCode
|
|
52
|
+
* }
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
export declare function isColorVariantValue(variantValue: IkasVariantValue): boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Checks whether the given variant value represents an image by testing for a thumbnail image ID.
|
|
58
|
+
*
|
|
59
|
+
* @ai-category VariantValue, ProductVariant
|
|
60
|
+
* @ai-related isColorVariantValue, isTextVariantValue, getIkasVariantValueThumbnailImage
|
|
61
|
+
*
|
|
62
|
+
* @param variantValue - The variant value to check.
|
|
63
|
+
* @returns `true` if the variant value has a thumbnail image ID, `false` otherwise.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import { isImageVariantValue } from "@ikas/bp-storefront";
|
|
68
|
+
* if (isImageVariantValue(variantValue)) {
|
|
69
|
+
* // render the variant as an image thumbnail
|
|
70
|
+
* }
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare function isImageVariantValue(variantValue: IkasVariantValue): boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Checks whether the given variant value is a plain text variant (neither color nor image).
|
|
76
|
+
*
|
|
77
|
+
* @ai-category VariantValue, ProductVariant
|
|
78
|
+
* @ai-related isColorVariantValue, isImageVariantValue, getIkasVariantValueSlug
|
|
79
|
+
*
|
|
80
|
+
* @param variantValue - The variant value to check.
|
|
81
|
+
* @returns `true` if the variant value has neither a color code nor a thumbnail image ID, `false` otherwise.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import { isTextVariantValue } from "@ikas/bp-storefront";
|
|
86
|
+
* if (isTextVariantValue(variantValue)) {
|
|
87
|
+
* // render the variant as plain text (e.g. "Small", "Medium", "Large")
|
|
88
|
+
* }
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
export declare function isTextVariantValue(variantValue: IkasVariantValue): boolean;
|