@ikas/storefront 2.0.23 → 2.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/__generated__/global-types.d.ts +723 -0
- package/build/__generated__/global-types.js +1 -0
- package/build/_virtual/Observable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/Parser.js_commonjs-proxy.js +1 -0
- package/build/_virtual/ReactPropTypesSecret.js_commonjs-proxy.js +1 -0
- package/build/_virtual/Tokenizer.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_DataView.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_Hash.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_ListCache.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_Map.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_MapCache.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_Promise.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_Set.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_SetCache.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_Stack.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_Symbol.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_Uint8Array.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_WeakMap.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_apply.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayAggregator.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayEach.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayFilter.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayIncludes.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayIncludesWith.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayLikeKeys.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayMap.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayPush.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arraySome.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_assignValue.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_assocIndexOf.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseAggregator.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseAssign.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseAssignIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseAssignValue.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseClone.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseCreate.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseEach.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseFindIndex.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseFlatten.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseFor.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseForOwn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseGet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseGetAllKeys.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseGetTag.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseHasIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIndexOf.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsArguments.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsEqual.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsEqualDeep.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsMap.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsMatch.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsNaN.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsNative.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsSet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsTypedArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIteratee.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseKeys.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseKeysIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseMap.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseMatches.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseMatchesProperty.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseOrderBy.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseProperty.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_basePropertyDeep.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseRest.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseSetToString.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseSortBy.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseTimes.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseToString.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseUnary.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseUniq.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_cacheHas.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_castFunction.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_castPath.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_cloneArrayBuffer.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_cloneBuffer.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_cloneDataView.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_cloneRegExp.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_cloneSymbol.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_cloneTypedArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_commonjsHelpers.js +1 -0
- package/build/_virtual/_compareAscending.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_compareMultiple.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_copyArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_copyObject.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_copySymbols.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_copySymbolsIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_coreJsData.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_createAggregator.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_createBaseEach.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_createBaseFor.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_createSet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_defineProperty.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_equalArrays.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_equalByTag.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_equalObjects.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_freeGlobal.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getAllKeys.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getAllKeysIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getMapData.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getMatchData.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getNative.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getPrototype.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getRawTag.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getSymbols.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getSymbolsIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getTag.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getValue.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_hasPath.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_hashClear.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_hashDelete.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_hashGet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_hashHas.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_hashSet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_initCloneArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_initCloneByTag.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_initCloneObject.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isFlattenable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isIndex.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isIterateeCall.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isKey.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isKeyable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isMasked.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isPrototype.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isStrictComparable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_listCacheClear.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_listCacheDelete.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_listCacheGet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_listCacheHas.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_listCacheSet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_mapCacheClear.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_mapCacheDelete.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_mapCacheGet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_mapCacheHas.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_mapCacheSet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_mapToArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_matchesStrictComparable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_memoizeCapped.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_nativeCreate.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_nativeKeys.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_nativeKeysIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_nodeUtil.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_objectToString.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_overArg.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_overRest.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_registry.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_root.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_setCacheAdd.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_setCacheHas.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_setToArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_setToString.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_shortOut.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stackClear.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stackDelete.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stackGet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stackHas.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stackSet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stream_duplex.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stream_passthrough.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stream_readable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stream_transform.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stream_writable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_strictIndexOf.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stringToPath.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_toKey.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_toSource.js_commonjs-proxy.js +1 -0
- package/build/_virtual/async_iterator.js_commonjs-proxy.js +1 -0
- package/build/_virtual/attributes-to-props.js_commonjs-proxy.js +1 -0
- package/build/_virtual/buffer_list.js_commonjs-proxy.js +1 -0
- package/build/_virtual/checkPropTypes.js_commonjs-proxy.js +1 -0
- package/build/_virtual/constant.js_commonjs-proxy.js +1 -0
- package/build/_virtual/decode_codepoint.js_commonjs-proxy.js +1 -0
- package/build/_virtual/destroy.js_commonjs-proxy.js +1 -0
- package/build/_virtual/dom-to-react.js_commonjs-proxy.js +1 -0
- package/build/_virtual/end-of-stream.js_commonjs-proxy.js +1 -0
- package/build/_virtual/eq.js_commonjs-proxy.js +1 -0
- package/build/_virtual/errors.js_commonjs-proxy.js +1 -0
- package/build/_virtual/factoryWithThrowingShims.js_commonjs-proxy.js +1 -0
- package/build/_virtual/factoryWithTypeCheckers.js_commonjs-proxy.js +1 -0
- package/build/_virtual/from.js_commonjs-proxy.js +1 -0
- package/build/_virtual/get.js_commonjs-proxy.js +1 -0
- package/build/_virtual/hasIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/html-to-dom.js_commonjs-proxy.js +1 -0
- package/build/_virtual/identity.js_commonjs-proxy.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy10.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy11.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy12.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy13.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy2.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy3.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy4.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy5.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy6.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy7.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy8.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy9.js +1 -0
- package/build/_virtual/inherits.js_commonjs-proxy.js +1 -0
- package/build/_virtual/inherits_browser.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isArguments.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isArrayLike.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isBuffer.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isFunction.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isLength.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isMap.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isObject.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isObjectLike.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isSet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isSymbol.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isTypedArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/keys.js_commonjs-proxy.js +1 -0
- package/build/_virtual/keysIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/memoize.js_commonjs-proxy.js +1 -0
- package/build/_virtual/node.js_commonjs-proxy.js +1 -0
- package/build/_virtual/node.js_commonjs-proxy2.js +1 -0
- package/build/_virtual/noop.js_commonjs-proxy.js +1 -0
- package/build/_virtual/now.js_commonjs-proxy.js +1 -0
- package/build/_virtual/parser.mjs_commonjs-proxy.js +1 -0
- package/build/_virtual/pipeline.js_commonjs-proxy.js +1 -0
- package/build/_virtual/possibleStandardNamesOptimized.js_commonjs-proxy.js +1 -0
- package/build/_virtual/property.js_commonjs-proxy.js +1 -0
- package/build/_virtual/react-is.development.js_commonjs-proxy.js +1 -0
- package/build/_virtual/react-is.production.min.js_commonjs-proxy.js +1 -0
- package/build/_virtual/readable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/state.js_commonjs-proxy.js +1 -0
- package/build/_virtual/stream.js_commonjs-proxy.js +1 -0
- package/build/_virtual/string_decoder.js_commonjs-proxy.js +1 -0
- package/build/_virtual/stubArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/stubFalse.js_commonjs-proxy.js +1 -0
- package/build/_virtual/toNumber.js_commonjs-proxy.js +1 -0
- package/build/_virtual/toString.js_commonjs-proxy.js +1 -0
- package/build/_virtual/utilities.js_commonjs-proxy.js +1 -0
- package/build/_virtual/utilities.js_commonjs-proxy2.js +1 -0
- package/build/_virtual/utilities.js_commonjs-proxy3.js +1 -0
- package/build/analytics/analytics.d.ts +37 -0
- package/build/analytics/analytics.js +1 -0
- package/build/analytics/events.d.ts +36 -0
- package/build/analytics/events.js +1 -0
- package/build/analytics/facebookPixel.d.ts +15 -0
- package/build/analytics/facebookPixel.js +1 -0
- package/build/analytics/googleTagManager.d.ts +201 -0
- package/build/analytics/googleTagManager.js +1 -0
- package/build/analytics/head/index.d.ts +7 -0
- package/build/analytics/head/index.js +1 -0
- package/build/analytics/ikas.d.ts +133 -0
- package/build/analytics/ikas.js +1 -0
- package/build/analytics/index.d.ts +2 -0
- package/build/api/apollo.d.ts +10 -0
- package/build/api/apollo.js +1 -0
- package/build/api/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +24 -0
- package/build/api/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +19 -0
- package/build/api/back-in-stock-reminder/index.d.ts +23 -0
- package/build/api/back-in-stock-reminder/index.js +1 -0
- package/build/api/blog/__generated__/getBlog.d.ts +110 -0
- package/build/api/blog/__generated__/listBlog.d.ts +113 -0
- package/build/api/blog/__generated__/listBlogCategory.d.ts +65 -0
- package/build/api/blog/__generated__/listBlogMetaData.d.ts +57 -0
- package/build/api/blog/index.d.ts +32 -0
- package/build/api/blog/index.js +1 -0
- package/build/api/brand/__generated__/listProductBrand.d.ts +88 -0
- package/build/api/brand/index.d.ts +16 -0
- package/build/api/brand/index.js +1 -0
- package/build/api/cart/__generated__/getCart.d.ts +178 -0
- package/build/api/cart/__generated__/saveItemToCart.d.ts +187 -0
- package/build/api/cart/index.d.ts +5 -0
- package/build/api/cart/index.js +1 -0
- package/build/api/category/__generated__/listCategory.d.ts +99 -0
- package/build/api/category/__generated__/listCategoryPaths.d.ts +32 -0
- package/build/api/category/index.d.ts +18 -0
- package/build/api/category/index.js +1 -0
- package/build/api/checkout/__generated__/addCouponCodeToCheckout.d.ts +11 -0
- package/build/api/checkout/__generated__/checkStocks.d.ts +18 -0
- package/build/api/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +22 -0
- package/build/api/checkout/__generated__/getCheckoutByCartId.d.ts +10 -0
- package/build/api/checkout/__generated__/getCheckoutById.d.ts +574 -0
- package/build/api/checkout/__generated__/getOrder.d.ts +620 -0
- package/build/api/checkout/__generated__/listCheckoutSettings.d.ts +34 -0
- package/build/api/checkout/__generated__/listPaymentGateway.d.ts +42 -0
- package/build/api/checkout/__generated__/retrieveInstallmentInfo.d.ts +23 -0
- package/build/api/checkout/__generated__/saveCheckout.d.ts +11 -0
- package/build/api/checkout/index.d.ts +29 -0
- package/build/api/checkout/index.js +1 -0
- package/build/api/city/__generated__/listCity.d.ts +20 -0
- package/build/api/city/index.d.ts +4 -0
- package/build/api/city/index.js +1 -0
- package/build/api/contact-form/__generated__/sendContactFormToMerchant.d.ts +9 -0
- package/build/api/contact-form/index.d.ts +10 -0
- package/build/api/contact-form/index.js +1 -0
- package/build/api/country/__generated__/getAvailableShippingCountries.d.ts +6 -0
- package/build/api/country/__generated__/getMyCountry.d.ts +3 -0
- package/build/api/country/__generated__/listCountry.d.ts +41 -0
- package/build/api/country/index.d.ts +6 -0
- package/build/api/country/index.js +1 -0
- package/build/api/customer/__generated__/checkCustomerEmail.d.ts +10 -0
- package/build/api/customer/__generated__/createCustomerEmailSubscription.d.ts +11 -0
- package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +590 -0
- package/build/api/customer/__generated__/customerForgotPassword.d.ts +7 -0
- package/build/api/customer/__generated__/customerLogin.d.ts +167 -0
- package/build/api/customer/__generated__/customerRecoverPassword.d.ts +8 -0
- package/build/api/customer/__generated__/customerRefreshToken.d.ts +11 -0
- package/build/api/customer/__generated__/customerSocialLogin.d.ts +166 -0
- package/build/api/customer/__generated__/getCustomerOrders.d.ts +620 -0
- package/build/api/customer/__generated__/getLastViewedProducts.d.ts +15 -0
- package/build/api/customer/__generated__/getMyCustomer.d.ts +145 -0
- package/build/api/customer/__generated__/listOrderRefundSettings.d.ts +13 -0
- package/build/api/customer/__generated__/listOrderTransactions.d.ts +53 -0
- package/build/api/customer/__generated__/registerCustomer.d.ts +163 -0
- package/build/api/customer/__generated__/saveLastViewedProducts.d.ts +11 -0
- package/build/api/customer/__generated__/saveMyCustomer.d.ts +160 -0
- package/build/api/customer/index.d.ts +49 -0
- package/build/api/customer/index.js +1 -0
- package/build/api/customer-review/__generated__/createCustomerReview.d.ts +11 -0
- package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +53 -0
- package/build/api/customer-review/index.d.ts +24 -0
- package/build/api/customer-review/index.js +1 -0
- package/build/api/district/__generated__/listDistrict.d.ts +16 -0
- package/build/api/district/index.d.ts +4 -0
- package/build/api/district/index.js +1 -0
- package/build/api/favorite-product/__generated__/isFavoriteProduct.d.ts +6 -0
- package/build/api/favorite-product/__generated__/listFavoriteProducts.d.ts +12 -0
- package/build/api/favorite-product/__generated__/saveFavoriteProduct.d.ts +7 -0
- package/build/api/favorite-product/index.d.ts +6 -0
- package/build/api/favorite-product/index.js +1 -0
- package/build/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +38 -0
- package/build/api/html-meta-data/index.d.ts +4 -0
- package/build/api/html-meta-data/index.js +1 -0
- package/build/api/index.d.ts +24 -0
- package/build/api/merchant/__generated__/listMerchantSettings.d.ts +9 -0
- package/build/api/merchant/index.d.ts +4 -0
- package/build/api/merchant/index.js +1 -0
- package/build/api/product-attribute/__generated__/listProductAttribute.d.ts +72 -0
- package/build/api/product-attribute/index.d.ts +4 -0
- package/build/api/product-campaign/__generated__/getProductCampaigns.d.ts +91 -0
- package/build/api/product-campaign/index.d.ts +10 -0
- package/build/api/product-campaign/index.js +1 -0
- package/build/api/product-option-file/__generated__/getOrderLineFile.d.ts +7 -0
- package/build/api/product-option-file/index.d.ts +7 -0
- package/build/api/product-option-file/index.js +1 -0
- package/build/api/product-option-set/__generated__/ListProductOptionSet.d.ts +92 -0
- package/build/api/product-option-set/index.d.ts +4 -0
- package/build/api/product-option-set/index.js +1 -0
- package/build/api/product-search/__generated__/getProductFilterData.d.ts +61 -0
- package/build/api/product-search/__generated__/searchProducts.d.ts +26 -0
- package/build/api/product-search/index.d.ts +20 -0
- package/build/api/product-search/index.js +1 -0
- package/build/api/raffle/__generated__/getRafflesByCustomerId.d.ts +44 -0
- package/build/api/raffle/__generated__/listRaffle.d.ts +85 -0
- package/build/api/raffle/__generated__/listRaffleMetaData.d.ts +22 -0
- package/build/api/raffle/__generated__/saveRaffleParticipant.d.ts +30 -0
- package/build/api/raffle/index.d.ts +24 -0
- package/build/api/raffle/index.js +1 -0
- package/build/api/state/__generated__/listState.d.ts +19 -0
- package/build/api/state/index.d.ts +4 -0
- package/build/api/state/index.js +1 -0
- package/build/api/stock-location/__generated__/listStockLocation.d.ts +7 -0
- package/build/api/stock-location/index.d.ts +4 -0
- package/build/api/storefront/__generated__/getStorefront.d.ts +52 -0
- package/build/api/storefront/index.d.ts +4 -0
- package/build/api/storefront/index.js +1 -0
- package/build/api/variant-type/__generated__/listVariantType.d.ts +76 -0
- package/build/api/variant-type/index.d.ts +4 -0
- package/build/assets/translations/checkout/en.js +1 -0
- package/build/assets/translations/checkout/tr.js +1 -0
- package/build/components/checkout/components/address-form/index.d.ts +3 -0
- package/build/components/checkout/components/address-form/index.js +1 -0
- package/build/components/checkout/components/address-form/model.d.ts +131 -0
- package/build/components/checkout/components/address-form/model.js +1 -0
- package/build/components/checkout/components/button/index.d.ts +12 -0
- package/build/components/checkout/components/button/index.js +1 -0
- package/build/components/checkout/components/button/style.module.scss.js +1 -0
- package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +10 -0
- package/build/components/checkout/components/cart-summary/cart-item/index.js +1 -0
- package/build/components/checkout/components/cart-summary/cart-item/style.module.scss.js +1 -0
- package/build/components/checkout/components/cart-summary/index.d.ts +8 -0
- package/build/components/checkout/components/cart-summary/index.js +1 -0
- package/build/components/checkout/components/cart-summary/style.module.scss.js +1 -0
- package/build/components/checkout/components/checkbox/check.d.ts +6 -0
- package/build/components/checkout/components/checkbox/check.js +1 -0
- package/build/components/checkout/components/checkbox/index.d.ts +10 -0
- package/build/components/checkout/components/checkbox/index.js +1 -0
- package/build/components/checkout/components/checkbox/style.module.scss.js +1 -0
- package/build/components/checkout/components/credit-card-form/index.d.ts +7 -0
- package/build/components/checkout/components/credit-card-form/index.js +1 -0
- package/build/components/checkout/components/credit-card-form/model.d.ts +26 -0
- package/build/components/checkout/components/credit-card-form/model.js +1 -0
- package/build/components/checkout/components/credit-card-form/style.module.scss.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/amex.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/amex.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/master-card.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/master-card.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/troy.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/troy.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/visa.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/visa.js +1 -0
- package/build/components/checkout/components/customer-addresses/index.d.ts +15 -0
- package/build/components/checkout/components/customer-addresses/index.js +1 -0
- package/build/components/checkout/components/customer-addresses/model.d.ts +21 -0
- package/build/components/checkout/components/customer-addresses/model.js +1 -0
- package/build/components/checkout/components/customer-addresses/style.module.scss.js +1 -0
- package/build/components/checkout/components/error/customer-login-required-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/customer-login-required-error/index.js +1 -0
- package/build/components/checkout/components/error/index.d.ts +7 -0
- package/build/components/checkout/components/error/index.js +1 -0
- package/build/components/checkout/components/error/no-shipping-error/index.d.ts +6 -0
- package/build/components/checkout/components/error/no-shipping-error/index.js +1 -0
- package/build/components/checkout/components/error/payment-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/payment-error/index.js +1 -0
- package/build/components/checkout/components/error/stock-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/stock-error/index.js +1 -0
- package/build/components/checkout/components/error/stock-error/style.module.scss.js +1 -0
- package/build/components/checkout/components/error/unknown-error/index.d.ts +6 -0
- package/build/components/checkout/components/error/unknown-error/index.js +1 -0
- package/build/components/checkout/components/expandable-section/index.d.ts +6 -0
- package/build/components/checkout/components/expandable-section/index.js +1 -0
- package/build/components/checkout/components/expandable-section/style.module.scss.js +1 -0
- package/build/components/checkout/components/form-item/caret-down.d.ts +6 -0
- package/build/components/checkout/components/form-item/caret-down.js +1 -0
- package/build/components/checkout/components/form-item/index.d.ts +3 -0
- package/build/components/checkout/components/form-item/index.js +1 -0
- package/build/components/checkout/components/form-item/model.d.ts +59 -0
- package/build/components/checkout/components/form-item/model.js +1 -0
- package/build/components/checkout/components/form-item/style.module.scss.js +1 -0
- package/build/components/checkout/components/fullscreen-loading/index.d.ts +2 -0
- package/build/components/checkout/components/fullscreen-loading/index.js +1 -0
- package/build/components/checkout/components/fullscreen-loading/style.module.scss.js +1 -0
- package/build/components/checkout/components/input-with-button/index.d.ts +11 -0
- package/build/components/checkout/components/input-with-button/index.js +1 -0
- package/build/components/checkout/components/input-with-button/style.module.scss.js +1 -0
- package/build/components/checkout/components/modal/index.d.ts +8 -0
- package/build/components/checkout/components/modal/index.js +1 -0
- package/build/components/checkout/components/modal/style.module.scss.js +1 -0
- package/build/components/checkout/components/notification-box/index.d.ts +9 -0
- package/build/components/checkout/components/notification-box/index.js +1 -0
- package/build/components/checkout/components/notification-box/style.module.scss.js +1 -0
- package/build/components/checkout/components/select-box/index.d.ts +13 -0
- package/build/components/checkout/components/select-box/index.js +1 -0
- package/build/components/checkout/components/select-box/style.module.scss.js +1 -0
- package/build/components/checkout/components/step-container/index.d.ts +15 -0
- package/build/components/checkout/components/step-container/index.js +1 -0
- package/build/components/checkout/components/step-container/style.module.scss.js +1 -0
- package/build/components/checkout/components/svg/arrow-down.d.ts +6 -0
- package/build/components/checkout/components/svg/arrow-down.js +1 -0
- package/build/components/checkout/components/svg/arrow-left.d.ts +6 -0
- package/build/components/checkout/components/svg/arrow-right.d.ts +6 -0
- package/build/components/checkout/components/svg/cross.d.ts +6 -0
- package/build/components/checkout/components/svg/cross.js +1 -0
- package/build/components/checkout/components/svg/discount.d.ts +6 -0
- package/build/components/checkout/components/svg/external.d.ts +6 -0
- package/build/components/checkout/components/svg/external.js +1 -0
- package/build/components/checkout/components/svg/gift.d.ts +7 -0
- package/build/components/checkout/components/svg/gift.js +1 -0
- package/build/components/checkout/components/svg/ikas.d.ts +6 -0
- package/build/components/checkout/components/svg/ikas.js +1 -0
- package/build/components/checkout/components/svg/lock.d.ts +6 -0
- package/build/components/checkout/components/svg/lock.js +1 -0
- package/build/components/checkout/components/svg/shopping-cart.d.ts +6 -0
- package/build/components/checkout/components/svg/success-circle.d.ts +6 -0
- package/build/components/checkout/components/svg/success-circle.js +1 -0
- package/build/components/checkout/components/svg/tag.d.ts +6 -0
- package/build/components/checkout/components/svg/warning.d.ts +6 -0
- package/build/components/checkout/components/svg/warning.js +1 -0
- package/build/components/checkout/components/toggle/index.d.ts +10 -0
- package/build/components/checkout/components/toggle/index.js +1 -0
- package/build/components/checkout/components/toggle/style.module.scss.js +1 -0
- package/build/components/checkout/components/tooltip/index.d.ts +8 -0
- package/build/components/checkout/components/tooltip/index.js +1 -0
- package/build/components/checkout/components/tooltip/style.module.scss.js +1 -0
- package/build/components/checkout/index.d.ts +32 -0
- package/build/components/checkout/index.js +1 -0
- package/build/components/checkout/model.d.ts +122 -0
- package/build/components/checkout/model.js +1 -0
- package/build/components/checkout/steps/step-info/index.d.ts +7 -0
- package/build/components/checkout/steps/step-info/index.js +1 -0
- package/build/components/checkout/steps/step-payment/billing-address/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/billing-address/index.js +1 -0
- package/build/components/checkout/steps/step-payment/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-shipping/index.d.ts +7 -0
- package/build/components/checkout/steps/step-shipping/index.js +1 -0
- package/build/components/checkout/steps/step-shipping/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-success/index.d.ts +7 -0
- package/build/components/checkout/steps/step-success/index.js +1 -0
- package/build/components/checkout/steps/step-success/style.module.scss.js +1 -0
- package/build/components/checkout/style.module.scss.js +1 -0
- package/build/components/checkout/styles/common.module.scss.js +1 -0
- package/build/components/image/index.d.ts +36 -0
- package/build/components/image/index.js +1 -0
- package/build/components/index.d.ts +4 -0
- package/build/components/page/ThemeComponent.d.ts +21 -0
- package/build/components/page/ThemeComponent.js +1 -0
- package/build/components/page/head.d.ts +12 -0
- package/build/components/page/head.js +1 -0
- package/build/components/page/index.d.ts +18 -0
- package/build/components/page/index.js +1 -0
- package/build/components/page-editor/ThemeComponentEditor.d.ts +32 -0
- package/build/components/page-editor/ThemeComponentEditor.js +1 -0
- package/build/components/page-editor/error/index.d.ts +5 -0
- package/build/components/page-editor/error/index.js +1 -0
- package/build/components/page-editor/index.d.ts +4 -0
- package/build/components/page-editor/index.js +1 -0
- package/build/components/page-editor/loader/index.d.ts +6 -0
- package/build/components/page-editor/loader/index.js +1 -0
- package/build/components/page-editor/loader/style.module.scss.js +1 -0
- package/build/components/page-editor/model.d.ts +75 -0
- package/build/components/page-editor/model.js +1 -0
- package/build/ext/@apollo/client/cache/core/cache.js +1 -0
- package/build/ext/@apollo/client/cache/core/types/common.js +1 -0
- package/build/ext/@apollo/client/cache/inmemory/entityStore.js +1 -0
- package/build/ext/@apollo/client/cache/inmemory/helpers.js +1 -0
- package/build/ext/@apollo/client/cache/inmemory/inMemoryCache.js +1 -0
- package/build/ext/@apollo/client/cache/inmemory/policies.js +1 -0
- package/build/ext/@apollo/client/cache/inmemory/reactiveVars.js +1 -0
- package/build/ext/@apollo/client/cache/inmemory/readFromStore.js +1 -0
- package/build/ext/@apollo/client/cache/inmemory/writeToStore.js +1 -0
- package/build/ext/@apollo/client/core/ApolloClient.js +1 -0
- package/build/ext/@apollo/client/core/LocalState.js +1 -0
- package/build/ext/@apollo/client/core/ObservableQuery.js +1 -0
- package/build/ext/@apollo/client/core/QueryInfo.js +1 -0
- package/build/ext/@apollo/client/core/QueryManager.js +1 -0
- package/build/ext/@apollo/client/core/Reobserver.js +1 -0
- package/build/ext/@apollo/client/core/networkStatus.js +1 -0
- package/build/ext/@apollo/client/errors/index.js +1 -0
- package/build/ext/@apollo/client/ext/tslib/tslib.es6.js +15 -0
- package/build/ext/@apollo/client/link/context/index.js +1 -0
- package/build/ext/@apollo/client/link/core/ApolloLink.js +1 -0
- package/build/ext/@apollo/client/link/core/execute.js +1 -0
- package/build/ext/@apollo/client/link/error/index.js +1 -0
- package/build/ext/@apollo/client/link/http/HttpLink.js +1 -0
- package/build/ext/@apollo/client/link/http/checkFetcher.js +1 -0
- package/build/ext/@apollo/client/link/http/createHttpLink.js +1 -0
- package/build/ext/@apollo/client/link/http/createSignalIfSupported.js +1 -0
- package/build/ext/@apollo/client/link/http/parseAndCheckHttpResponse.js +1 -0
- package/build/ext/@apollo/client/link/http/rewriteURIForGET.js +1 -0
- package/build/ext/@apollo/client/link/http/selectHttpOptionsAndBody.js +1 -0
- package/build/ext/@apollo/client/link/http/selectURI.js +1 -0
- package/build/ext/@apollo/client/link/http/serializeFetchParameter.js +1 -0
- package/build/ext/@apollo/client/link/utils/createOperation.js +1 -0
- package/build/ext/@apollo/client/link/utils/fromError.js +1 -0
- package/build/ext/@apollo/client/link/utils/throwServerError.js +1 -0
- package/build/ext/@apollo/client/link/utils/transformOperation.js +1 -0
- package/build/ext/@apollo/client/link/utils/validateOperation.js +1 -0
- package/build/ext/@apollo/client/utilities/common/arrays.js +1 -0
- package/build/ext/@apollo/client/utilities/common/canUse.js +1 -0
- package/build/ext/@apollo/client/utilities/common/cloneDeep.js +1 -0
- package/build/ext/@apollo/client/utilities/common/compact.js +1 -0
- package/build/ext/@apollo/client/utilities/common/environment.js +1 -0
- package/build/ext/@apollo/client/utilities/common/errorHandling.js +1 -0
- package/build/ext/@apollo/client/utilities/common/filterInPlace.js +1 -0
- package/build/ext/@apollo/client/utilities/common/maybeDeepFreeze.js +1 -0
- package/build/ext/@apollo/client/utilities/common/mergeDeep.js +1 -0
- package/build/ext/@apollo/client/utilities/graphql/directives.js +1 -0
- package/build/ext/@apollo/client/utilities/graphql/fragments.js +1 -0
- package/build/ext/@apollo/client/utilities/graphql/getFromAST.js +1 -0
- package/build/ext/@apollo/client/utilities/graphql/storeUtils.js +1 -0
- package/build/ext/@apollo/client/utilities/graphql/transform.js +1 -0
- package/build/ext/@apollo/client/utilities/observables/Concast.js +1 -0
- package/build/ext/@apollo/client/utilities/observables/Observable.js +1 -0
- package/build/ext/@apollo/client/utilities/observables/asyncMap.js +1 -0
- package/build/ext/@apollo/client/utilities/observables/iteration.js +1 -0
- package/build/ext/@apollo/client/version.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/locale/en.json.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/min/index.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/CountryIcon.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/CountrySelect.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/Flag.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/InputBasic.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/InputSmart.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/InternationalIcon.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/PhoneInputWithCountry.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/PhoneInputWithCountryDefault.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/PropTypes.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/helpers/countries.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/helpers/getInternationalPhoneNumberPrefix.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/helpers/getPhoneInputWithCountryStateUpdateFromNewProps.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/helpers/inputValuePrefix.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/helpers/phoneInputHelpers.js +1 -0
- package/build/ext/@ungap/global-this/esm/index.js +1 -0
- package/build/ext/@wry/context/lib/context.esm.js +1 -0
- package/build/ext/@wry/equality/lib/equality.esm.js +1 -0
- package/build/ext/@wry/trie/lib/trie.esm.js +1 -0
- package/build/ext/classnames/index.js +6 -0
- package/build/ext/country-flag-icons/modules/unicode.js +1 -0
- package/build/ext/decode-uri-component/index.js +1 -0
- package/build/ext/domhandler/ext/domelementtype/lib/index.js +1 -0
- package/build/ext/domhandler/lib/index.js +1 -0
- package/build/ext/domhandler/lib/node.js +1 -0
- package/build/ext/entities/lib/decode_codepoint.js +1 -0
- package/build/ext/entities/lib/maps/decode.json.js +1 -0
- package/build/ext/entities/lib/maps/entities.json.js +1 -0
- package/build/ext/entities/lib/maps/legacy.json.js +1 -0
- package/build/ext/entities/lib/maps/xml.json.js +1 -0
- package/build/ext/fast-json-stable-stringify/index.js +1 -0
- package/build/ext/graphql/error/GraphQLError.mjs.js +1 -0
- package/build/ext/graphql/error/syntaxError.mjs.js +1 -0
- package/build/ext/graphql/jsutils/defineInspect.mjs.js +1 -0
- package/build/ext/graphql/jsutils/devAssert.mjs.js +1 -0
- package/build/ext/graphql/jsutils/inspect.mjs.js +1 -0
- package/build/ext/graphql/jsutils/instanceOf.mjs.js +1 -0
- package/build/ext/graphql/jsutils/invariant.mjs.js +1 -0
- package/build/ext/graphql/jsutils/isObjectLike.mjs.js +1 -0
- package/build/ext/graphql/jsutils/nodejsCustomInspectSymbol.mjs.js +1 -0
- package/build/ext/graphql/language/ast.mjs.js +1 -0
- package/build/ext/graphql/language/blockString.mjs.js +1 -0
- package/build/ext/graphql/language/directiveLocation.mjs.js +1 -0
- package/build/ext/graphql/language/kinds.mjs.js +1 -0
- package/build/ext/graphql/language/lexer.mjs.js +1 -0
- package/build/ext/graphql/language/location.mjs.js +1 -0
- package/build/ext/graphql/language/parser.mjs.js +1 -0
- package/build/ext/graphql/language/printLocation.mjs.js +1 -0
- package/build/ext/graphql/language/printer.mjs.js +1 -0
- package/build/ext/graphql/language/source.mjs.js +1 -0
- package/build/ext/graphql/language/tokenKind.mjs.js +1 -0
- package/build/ext/graphql/language/visitor.mjs.js +1 -0
- package/build/ext/graphql/polyfills/symbols.mjs.js +1 -0
- package/build/ext/graphql-tag/src/index.js +1 -0
- package/build/ext/html-dom-parser/index.js +1 -0
- package/build/ext/html-dom-parser/lib/server/html-to-dom.js +1 -0
- package/build/ext/html-dom-parser/lib/server/utilities.js +1 -0
- package/build/ext/html-react-parser/index.js +1 -0
- package/build/ext/html-react-parser/index.mjs.js +1 -0
- package/build/ext/html-react-parser/lib/attributes-to-props.js +1 -0
- package/build/ext/html-react-parser/lib/dom-to-react.js +1 -0
- package/build/ext/html-react-parser/lib/utilities.js +1 -0
- package/build/ext/htmlparser2/lib/Parser.js +1 -0
- package/build/ext/htmlparser2/lib/Tokenizer.js +1 -0
- package/build/ext/inherits/inherits.js +1 -0
- package/build/ext/inherits/inherits_browser.js +1 -0
- package/build/ext/inline-style-parser/index.js +1 -0
- package/build/ext/input-format/modules/closeBraces.js +1 -0
- package/build/ext/input-format/modules/dom.js +1 -0
- package/build/ext/input-format/modules/edit.js +1 -0
- package/build/ext/input-format/modules/format.js +1 -0
- package/build/ext/input-format/modules/helpers.js +1 -0
- package/build/ext/input-format/modules/inputControl.js +1 -0
- package/build/ext/input-format/modules/parse.js +1 -0
- package/build/ext/input-format/modules/react/Input.js +1 -0
- package/build/ext/input-format/modules/templateFormatter.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouType.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.complete.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.util.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeParser.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeState.js +1 -0
- package/build/ext/libphonenumber-js/es6/ParseError.js +1 -0
- package/build/ext/libphonenumber-js/es6/PhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/constants.js +1 -0
- package/build/ext/libphonenumber-js/es6/formatIncompletePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/format_.js +1 -0
- package/build/ext/libphonenumber-js/es6/getCountries.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/RFC3966.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/checkNumberLength.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extension/extractExtension.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractNationalNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/getIddPrefix.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/getNumberType.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/matchesEntirely.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/mergeArrays.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/parseDigits.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/stripIddPrefix.js +1 -0
- package/build/ext/libphonenumber-js/es6/isPossibleNumber_.js +1 -0
- package/build/ext/libphonenumber-js/es6/metadata.js +1 -0
- package/build/ext/libphonenumber-js/es6/parseIncompletePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumberFromString.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumberFromString_.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumber_.js +1 -0
- package/build/ext/libphonenumber-js/es6/parse_.js +1 -0
- package/build/ext/libphonenumber-js/es6/tools/semver-compare.js +1 -0
- package/build/ext/libphonenumber-js/es6/validate_.js +1 -0
- package/build/ext/libphonenumber-js/metadata.min.json.js +1 -0
- package/build/ext/lodash/_DataView.js +1 -0
- package/build/ext/lodash/_Hash.js +1 -0
- package/build/ext/lodash/_ListCache.js +1 -0
- package/build/ext/lodash/_Map.js +1 -0
- package/build/ext/lodash/_MapCache.js +1 -0
- package/build/ext/lodash/_Promise.js +1 -0
- package/build/ext/lodash/_Set.js +1 -0
- package/build/ext/lodash/_SetCache.js +1 -0
- package/build/ext/lodash/_Stack.js +1 -0
- package/build/ext/lodash/_Symbol.js +1 -0
- package/build/ext/lodash/_Uint8Array.js +1 -0
- package/build/ext/lodash/_WeakMap.js +1 -0
- package/build/ext/lodash/_apply.js +1 -0
- package/build/ext/lodash/_arrayAggregator.js +1 -0
- package/build/ext/lodash/_arrayEach.js +1 -0
- package/build/ext/lodash/_arrayFilter.js +1 -0
- package/build/ext/lodash/_arrayIncludes.js +1 -0
- package/build/ext/lodash/_arrayIncludesWith.js +1 -0
- package/build/ext/lodash/_arrayLikeKeys.js +1 -0
- package/build/ext/lodash/_arrayMap.js +1 -0
- package/build/ext/lodash/_arrayPush.js +1 -0
- package/build/ext/lodash/_arraySome.js +1 -0
- package/build/ext/lodash/_assignValue.js +1 -0
- package/build/ext/lodash/_assocIndexOf.js +1 -0
- package/build/ext/lodash/_baseAggregator.js +1 -0
- package/build/ext/lodash/_baseAssign.js +1 -0
- package/build/ext/lodash/_baseAssignIn.js +1 -0
- package/build/ext/lodash/_baseAssignValue.js +1 -0
- package/build/ext/lodash/_baseClone.js +1 -0
- package/build/ext/lodash/_baseCreate.js +1 -0
- package/build/ext/lodash/_baseEach.js +1 -0
- package/build/ext/lodash/_baseFindIndex.js +1 -0
- package/build/ext/lodash/_baseFlatten.js +1 -0
- package/build/ext/lodash/_baseFor.js +1 -0
- package/build/ext/lodash/_baseForOwn.js +1 -0
- package/build/ext/lodash/_baseGet.js +1 -0
- package/build/ext/lodash/_baseGetAllKeys.js +1 -0
- package/build/ext/lodash/_baseGetTag.js +1 -0
- package/build/ext/lodash/_baseHasIn.js +1 -0
- package/build/ext/lodash/_baseIndexOf.js +1 -0
- package/build/ext/lodash/_baseIsArguments.js +1 -0
- package/build/ext/lodash/_baseIsEqual.js +1 -0
- package/build/ext/lodash/_baseIsEqualDeep.js +1 -0
- package/build/ext/lodash/_baseIsMap.js +1 -0
- package/build/ext/lodash/_baseIsMatch.js +1 -0
- package/build/ext/lodash/_baseIsNaN.js +1 -0
- package/build/ext/lodash/_baseIsNative.js +1 -0
- package/build/ext/lodash/_baseIsSet.js +1 -0
- package/build/ext/lodash/_baseIsTypedArray.js +1 -0
- package/build/ext/lodash/_baseIteratee.js +1 -0
- package/build/ext/lodash/_baseKeys.js +1 -0
- package/build/ext/lodash/_baseKeysIn.js +1 -0
- package/build/ext/lodash/_baseMap.js +1 -0
- package/build/ext/lodash/_baseMatches.js +1 -0
- package/build/ext/lodash/_baseMatchesProperty.js +1 -0
- package/build/ext/lodash/_baseOrderBy.js +1 -0
- package/build/ext/lodash/_baseProperty.js +1 -0
- package/build/ext/lodash/_basePropertyDeep.js +1 -0
- package/build/ext/lodash/_baseRest.js +1 -0
- package/build/ext/lodash/_baseSetToString.js +1 -0
- package/build/ext/lodash/_baseSortBy.js +1 -0
- package/build/ext/lodash/_baseTimes.js +1 -0
- package/build/ext/lodash/_baseToString.js +1 -0
- package/build/ext/lodash/_baseUnary.js +1 -0
- package/build/ext/lodash/_baseUniq.js +1 -0
- package/build/ext/lodash/_cacheHas.js +1 -0
- package/build/ext/lodash/_castFunction.js +1 -0
- package/build/ext/lodash/_castPath.js +1 -0
- package/build/ext/lodash/_cloneArrayBuffer.js +1 -0
- package/build/ext/lodash/_cloneBuffer.js +1 -0
- package/build/ext/lodash/_cloneDataView.js +1 -0
- package/build/ext/lodash/_cloneRegExp.js +1 -0
- package/build/ext/lodash/_cloneSymbol.js +1 -0
- package/build/ext/lodash/_cloneTypedArray.js +1 -0
- package/build/ext/lodash/_compareAscending.js +1 -0
- package/build/ext/lodash/_compareMultiple.js +1 -0
- package/build/ext/lodash/_copyArray.js +1 -0
- package/build/ext/lodash/_copyObject.js +1 -0
- package/build/ext/lodash/_copySymbols.js +1 -0
- package/build/ext/lodash/_copySymbolsIn.js +1 -0
- package/build/ext/lodash/_coreJsData.js +1 -0
- package/build/ext/lodash/_createAggregator.js +1 -0
- package/build/ext/lodash/_createBaseEach.js +1 -0
- package/build/ext/lodash/_createBaseFor.js +1 -0
- package/build/ext/lodash/_createSet.js +1 -0
- package/build/ext/lodash/_defineProperty.js +1 -0
- package/build/ext/lodash/_equalArrays.js +1 -0
- package/build/ext/lodash/_equalByTag.js +1 -0
- package/build/ext/lodash/_equalObjects.js +1 -0
- package/build/ext/lodash/_freeGlobal.js +1 -0
- package/build/ext/lodash/_getAllKeys.js +1 -0
- package/build/ext/lodash/_getAllKeysIn.js +1 -0
- package/build/ext/lodash/_getMapData.js +1 -0
- package/build/ext/lodash/_getMatchData.js +1 -0
- package/build/ext/lodash/_getNative.js +1 -0
- package/build/ext/lodash/_getPrototype.js +1 -0
- package/build/ext/lodash/_getRawTag.js +1 -0
- package/build/ext/lodash/_getSymbols.js +1 -0
- package/build/ext/lodash/_getSymbolsIn.js +1 -0
- package/build/ext/lodash/_getTag.js +1 -0
- package/build/ext/lodash/_getValue.js +1 -0
- package/build/ext/lodash/_hasPath.js +1 -0
- package/build/ext/lodash/_hashClear.js +1 -0
- package/build/ext/lodash/_hashDelete.js +1 -0
- package/build/ext/lodash/_hashGet.js +1 -0
- package/build/ext/lodash/_hashHas.js +1 -0
- package/build/ext/lodash/_hashSet.js +1 -0
- package/build/ext/lodash/_initCloneArray.js +1 -0
- package/build/ext/lodash/_initCloneByTag.js +1 -0
- package/build/ext/lodash/_initCloneObject.js +1 -0
- package/build/ext/lodash/_isFlattenable.js +1 -0
- package/build/ext/lodash/_isIndex.js +1 -0
- package/build/ext/lodash/_isIterateeCall.js +1 -0
- package/build/ext/lodash/_isKey.js +1 -0
- package/build/ext/lodash/_isKeyable.js +1 -0
- package/build/ext/lodash/_isMasked.js +1 -0
- package/build/ext/lodash/_isPrototype.js +1 -0
- package/build/ext/lodash/_isStrictComparable.js +1 -0
- package/build/ext/lodash/_listCacheClear.js +1 -0
- package/build/ext/lodash/_listCacheDelete.js +1 -0
- package/build/ext/lodash/_listCacheGet.js +1 -0
- package/build/ext/lodash/_listCacheHas.js +1 -0
- package/build/ext/lodash/_listCacheSet.js +1 -0
- package/build/ext/lodash/_mapCacheClear.js +1 -0
- package/build/ext/lodash/_mapCacheDelete.js +1 -0
- package/build/ext/lodash/_mapCacheGet.js +1 -0
- package/build/ext/lodash/_mapCacheHas.js +1 -0
- package/build/ext/lodash/_mapCacheSet.js +1 -0
- package/build/ext/lodash/_mapToArray.js +1 -0
- package/build/ext/lodash/_matchesStrictComparable.js +1 -0
- package/build/ext/lodash/_memoizeCapped.js +1 -0
- package/build/ext/lodash/_nativeCreate.js +1 -0
- package/build/ext/lodash/_nativeKeys.js +1 -0
- package/build/ext/lodash/_nativeKeysIn.js +1 -0
- package/build/ext/lodash/_nodeUtil.js +1 -0
- package/build/ext/lodash/_objectToString.js +1 -0
- package/build/ext/lodash/_overArg.js +1 -0
- package/build/ext/lodash/_overRest.js +1 -0
- package/build/ext/lodash/_root.js +1 -0
- package/build/ext/lodash/_setCacheAdd.js +1 -0
- package/build/ext/lodash/_setCacheHas.js +1 -0
- package/build/ext/lodash/_setToArray.js +1 -0
- package/build/ext/lodash/_setToString.js +1 -0
- package/build/ext/lodash/_shortOut.js +1 -0
- package/build/ext/lodash/_stackClear.js +1 -0
- package/build/ext/lodash/_stackDelete.js +1 -0
- package/build/ext/lodash/_stackGet.js +1 -0
- package/build/ext/lodash/_stackHas.js +1 -0
- package/build/ext/lodash/_stackSet.js +1 -0
- package/build/ext/lodash/_strictIndexOf.js +1 -0
- package/build/ext/lodash/_stringToPath.js +1 -0
- package/build/ext/lodash/_toKey.js +1 -0
- package/build/ext/lodash/_toSource.js +1 -0
- package/build/ext/lodash/cloneDeep.js +1 -0
- package/build/ext/lodash/constant.js +1 -0
- package/build/ext/lodash/debounce.js +1 -0
- package/build/ext/lodash/eq.js +1 -0
- package/build/ext/lodash/flatten.js +1 -0
- package/build/ext/lodash/forEach.js +1 -0
- package/build/ext/lodash/get.js +1 -0
- package/build/ext/lodash/groupBy.js +1 -0
- package/build/ext/lodash/hasIn.js +1 -0
- package/build/ext/lodash/identity.js +1 -0
- package/build/ext/lodash/isArguments.js +1 -0
- package/build/ext/lodash/isArray.js +1 -0
- package/build/ext/lodash/isArrayLike.js +1 -0
- package/build/ext/lodash/isBuffer.js +1 -0
- package/build/ext/lodash/isFunction.js +1 -0
- package/build/ext/lodash/isLength.js +1 -0
- package/build/ext/lodash/isMap.js +1 -0
- package/build/ext/lodash/isObject.js +1 -0
- package/build/ext/lodash/isObjectLike.js +1 -0
- package/build/ext/lodash/isSet.js +1 -0
- package/build/ext/lodash/isSymbol.js +1 -0
- package/build/ext/lodash/isTypedArray.js +1 -0
- package/build/ext/lodash/keys.js +1 -0
- package/build/ext/lodash/keysIn.js +1 -0
- package/build/ext/lodash/memoize.js +1 -0
- package/build/ext/lodash/noop.js +1 -0
- package/build/ext/lodash/now.js +1 -0
- package/build/ext/lodash/property.js +1 -0
- package/build/ext/lodash/sortBy.js +1 -0
- package/build/ext/lodash/stubArray.js +1 -0
- package/build/ext/lodash/stubFalse.js +1 -0
- package/build/ext/lodash/toNumber.js +1 -0
- package/build/ext/lodash/toString.js +1 -0
- package/build/ext/lodash/uniq.js +1 -0
- package/build/ext/lodash/uniqBy.js +1 -0
- package/build/ext/lzutf8/build/production/lzutf8.js +11 -0
- package/build/ext/object-assign/index.js +6 -0
- package/build/ext/optimism/lib/bundle.esm.js +1 -0
- package/build/ext/prop-types/checkPropTypes.js +1 -0
- package/build/ext/prop-types/factoryWithThrowingShims.js +1 -0
- package/build/ext/prop-types/factoryWithTypeCheckers.js +1 -0
- package/build/ext/prop-types/index.js +1 -0
- package/build/ext/prop-types/lib/ReactPropTypesSecret.js +1 -0
- package/build/ext/query-string/index.js +1 -0
- package/build/ext/react-is/cjs/react-is.development.js +9 -0
- package/build/ext/react-is/cjs/react-is.production.min.js +9 -0
- package/build/ext/react-is/index.js +1 -0
- package/build/ext/react-property/lib/index.js +1 -0
- package/build/ext/react-property/lib/possibleStandardNamesOptimized.js +1 -0
- package/build/ext/react-tooltip/dist/index.es.js +1 -0
- package/build/ext/react-tooltip/ext/uuid/dist/esm-node/bytesToUuid.js +1 -0
- package/build/ext/react-tooltip/ext/uuid/dist/esm-node/rng.js +1 -0
- package/build/ext/react-tooltip/ext/uuid/dist/esm-node/v4.js +1 -0
- package/build/ext/readable-stream/errors.js +1 -0
- package/build/ext/readable-stream/lib/_registry.js +1 -0
- package/build/ext/readable-stream/lib/_stream_duplex.js +1 -0
- package/build/ext/readable-stream/lib/_stream_passthrough.js +1 -0
- package/build/ext/readable-stream/lib/_stream_readable.js +1 -0
- package/build/ext/readable-stream/lib/_stream_transform.js +1 -0
- package/build/ext/readable-stream/lib/_stream_writable.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/async_iterator.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/buffer_list.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/destroy.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/end-of-stream.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/from.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/pipeline.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/state.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/stream.js +1 -0
- package/build/ext/readable-stream/readable.js +1 -0
- package/build/ext/safe-buffer/index.js +1 -0
- package/build/ext/split-on-first/index.js +1 -0
- package/build/ext/strict-uri-encode/index.js +1 -0
- package/build/ext/string_decoder/lib/string_decoder.js +1 -0
- package/build/ext/style-inject/dist/style-inject.es.js +1 -0
- package/build/ext/style-to-js/cjs/index.js +1 -0
- package/build/ext/style-to-js/cjs/utilities.js +1 -0
- package/build/ext/style-to-object/index.js +1 -0
- package/build/ext/symbol-observable/es/index.js +1 -0
- package/build/ext/symbol-observable/es/ponyfill.js +1 -0
- package/build/ext/ts-invariant/ext/tslib/tslib.es6.js +15 -0
- package/build/ext/ts-invariant/lib/invariant.esm.js +1 -0
- package/build/ext/tslib/tslib.es6.js +15 -0
- package/build/ext/util-deprecate/node.js +1 -0
- package/build/ext/uuid/dist/esm-browser/regex.js +1 -0
- package/build/ext/uuid/dist/esm-browser/rng.js +1 -0
- package/build/ext/uuid/dist/esm-browser/stringify.js +1 -0
- package/build/ext/uuid/dist/esm-browser/v4.js +1 -0
- package/build/ext/uuid/dist/esm-browser/validate.js +1 -0
- package/build/ext/zen-observable/index.js +1 -0
- package/build/ext/zen-observable/lib/Observable.js +1 -0
- package/build/ikas.js +81 -0
- package/build/index.d.ts +9 -0
- package/build/index.js +1 -0
- package/build/models/data/blog/index.d.ts +67 -0
- package/build/models/data/blog/index.js +1 -0
- package/build/models/data/brand/index.d.ts +21 -0
- package/build/models/data/brand/index.js +1 -0
- package/build/models/data/cart/index.d.ts +47 -0
- package/build/models/data/cart/index.js +1 -0
- package/build/models/data/category/index.d.ts +52 -0
- package/build/models/data/category/index.js +1 -0
- package/build/models/data/checkout/index.d.ts +103 -0
- package/build/models/data/checkout/index.js +1 -0
- package/build/models/data/checkout-settings/index.d.ts +25 -0
- package/build/models/data/checkout-settings/index.js +1 -0
- package/build/models/data/city/index.d.ts +4 -0
- package/build/models/data/contact-form/index.d.ts +7 -0
- package/build/models/data/contact-form/index.js +1 -0
- package/build/models/data/country/index.d.ts +8 -0
- package/build/models/data/customer/address/index.d.ts +52 -0
- package/build/models/data/customer/address/index.js +1 -0
- package/build/models/data/customer/index.d.ts +34 -0
- package/build/models/data/customer/index.js +1 -0
- package/build/models/data/customer-review/index.d.ts +26 -0
- package/build/models/data/customer-review/index.js +1 -0
- package/build/models/data/customer-review-settings/index.d.ts +4 -0
- package/build/models/data/district/index.d.ts +4 -0
- package/build/models/data/favorite-product/index.d.ts +6 -0
- package/build/models/data/favorite-product/index.js +1 -0
- package/build/models/data/html-meta-data/index.d.ts +23 -0
- package/build/models/data/html-meta-data/index.js +1 -0
- package/build/models/data/image/index.d.ts +8 -0
- package/build/models/data/image/index.js +1 -0
- package/build/models/data/index.d.ts +39 -0
- package/build/models/data/installment-info/index.d.ts +30 -0
- package/build/models/data/installment-info/index.js +1 -0
- package/build/models/data/language/index.d.ts +6 -0
- package/build/models/data/merchant-settings/index.d.ts +8 -0
- package/build/models/data/merchant-settings/index.js +1 -0
- package/build/models/data/order/address/index.d.ts +51 -0
- package/build/models/data/order/address/index.js +1 -0
- package/build/models/data/order/adjustment/index.d.ts +16 -0
- package/build/models/data/order/gift-line/index.d.ts +4 -0
- package/build/models/data/order/index.d.ts +147 -0
- package/build/models/data/order/index.js +1 -0
- package/build/models/data/order/line-item/discount/index.d.ts +11 -0
- package/build/models/data/order/line-item/discount/index.js +1 -0
- package/build/models/data/order/line-item/index.d.ts +42 -0
- package/build/models/data/order/line-item/index.js +1 -0
- package/build/models/data/order/line-item/options/index.d.ts +11 -0
- package/build/models/data/order/line-item/options/index.js +1 -0
- package/build/models/data/order/line-item/options/options-value/index.d.ts +6 -0
- package/build/models/data/order/line-item/options/options-value/index.js +1 -0
- package/build/models/data/order/line-item/variant/index.d.ts +25 -0
- package/build/models/data/order/line-item/variant/index.js +1 -0
- package/build/models/data/order/refund/index.d.ts +6 -0
- package/build/models/data/order/refund/refund-line-item/index.d.ts +5 -0
- package/build/models/data/order/refund/settings.d.ts +6 -0
- package/build/models/data/order/refund/settings.js +1 -0
- package/build/models/data/order/shipping-line/index.d.ts +7 -0
- package/build/models/data/order-transaction/index.d.ts +74 -0
- package/build/models/data/order-transaction/index.js +1 -0
- package/build/models/data/payment-gateway/index.d.ts +61 -0
- package/build/models/data/payment-gateway/index.js +1 -0
- package/build/models/data/product/attribute-value/index.d.ts +20 -0
- package/build/models/data/product/attribute-value/index.js +1 -0
- package/build/models/data/product/index.d.ts +35 -0
- package/build/models/data/product/index.js +1 -0
- package/build/models/data/product/variant/index.d.ts +26 -0
- package/build/models/data/product/variant/index.js +1 -0
- package/build/models/data/product/variant/price/index.d.ts +11 -0
- package/build/models/data/product/variant/price/index.js +1 -0
- package/build/models/data/product/variant-type/index.d.ts +6 -0
- package/build/models/data/product/variant-type/index.js +1 -0
- package/build/models/data/product-attribute/index.d.ts +34 -0
- package/build/models/data/product-attribute/index.js +1 -0
- package/build/models/data/product-attribute/product-attribute-option/index.d.ts +5 -0
- package/build/models/data/product-attribute/product-attribute-option/index.js +1 -0
- package/build/models/data/product-attribute/product-attribute-table-cell/index.d.ts +5 -0
- package/build/models/data/product-attribute/product-attribute-table-cell/index.js +1 -0
- package/build/models/data/product-attribute/product-attribute-table-template/index.d.ts +6 -0
- package/build/models/data/product-attribute/product-attribute-table-template/index.js +1 -0
- package/build/models/data/product-back-in-stock-settings/index.d.ts +3 -0
- package/build/models/data/product-campaing/campaign/index.d.ts +41 -0
- package/build/models/data/product-campaing/campaign/index.js +1 -0
- package/build/models/data/product-campaing/filter/index.d.ts +13 -0
- package/build/models/data/product-campaing/filter/index.js +1 -0
- package/build/models/data/product-campaing/index.d.ts +6 -0
- package/build/models/data/product-campaing/index.js +1 -0
- package/build/models/data/product-campaing/product-buyx-then-gety/index.d.ts +19 -0
- package/build/models/data/product-campaing/product-buyx-then-gety/index.js +1 -0
- package/build/models/data/product-campaing/product-campaign-date-range-field/index.d.ts +5 -0
- package/build/models/data/product-campaing/product-campaign-date-range-field/index.js +1 -0
- package/build/models/data/product-campaing/product-fixed-discount/index.d.ts +13 -0
- package/build/models/data/product-campaing/product-fixed-discount/index.js +1 -0
- package/build/models/data/product-cart-item-options/index.d.ts +6 -0
- package/build/models/data/product-cart-item-options/index.js +1 -0
- package/build/models/data/product-filter/index.d.ts +109 -0
- package/build/models/data/product-filter/index.js +1 -0
- package/build/models/data/product-option-set/index.d.ts +108 -0
- package/build/models/data/product-option-set/index.js +1 -0
- package/build/models/data/product-tag/index.d.ts +5 -0
- package/build/models/data/product-tag/index.js +1 -0
- package/build/models/data/raffle/index.d.ts +66 -0
- package/build/models/data/raffle/index.js +1 -0
- package/build/models/data/sales-channel/index.d.ts +18 -0
- package/build/models/data/sales-channel/index.js +1 -0
- package/build/models/data/simple-product/index.d.ts +136 -0
- package/build/models/data/slider/index.d.ts +5 -0
- package/build/models/data/slider/index.js +1 -0
- package/build/models/data/state/index.d.ts +5 -0
- package/build/models/data/storefront/domain/index.d.ts +8 -0
- package/build/models/data/storefront/domain/index.js +1 -0
- package/build/models/data/storefront/index.d.ts +23 -0
- package/build/models/data/storefront/index.js +1 -0
- package/build/models/data/storefront/localization/index.d.ts +7 -0
- package/build/models/data/storefront/localization/index.js +1 -0
- package/build/models/data/storefront/routing/dynamic-currency/index.d.ts +5 -0
- package/build/models/data/storefront/routing/dynamic-currency/index.js +1 -0
- package/build/models/data/storefront/routing/index.d.ts +11 -0
- package/build/models/data/storefront/routing/index.js +1 -0
- package/build/models/data/storefront/theme/index.d.ts +13 -0
- package/build/models/data/storefront/theme/index.js +1 -0
- package/build/models/data/storefront/theme-localization/index.d.ts +12 -0
- package/build/models/data/storefront/theme-localization/index.js +1 -0
- package/build/models/data/variant-type/index.d.ts +26 -0
- package/build/models/data/variant-type/index.js +1 -0
- package/build/models/data/variant-type/variant-value/index.d.ts +11 -0
- package/build/models/data/variant-type/variant-value/index.js +1 -0
- package/build/models/index.d.ts +3 -0
- package/build/models/theme/component/index.d.ts +19 -0
- package/build/models/theme/component/index.js +1 -0
- package/build/models/theme/component/prop/index.d.ts +63 -0
- package/build/models/theme/component/prop/index.js +1 -0
- package/build/models/theme/custom-data/index.d.ts +43 -0
- package/build/models/theme/custom-data/index.js +1 -0
- package/build/models/theme/index.d.ts +20 -0
- package/build/models/theme/page/component/index.d.ts +6 -0
- package/build/models/theme/page/component/index.js +1 -0
- package/build/models/theme/page/component/prop-value/attribute-list.d.ts +7 -0
- package/build/models/theme/page/component/prop-value/attribute.d.ts +7 -0
- package/build/models/theme/page/component/prop-value/blog-category-list.d.ts +7 -0
- package/build/models/theme/page/component/prop-value/blog-category-list.js +1 -0
- package/build/models/theme/page/component/prop-value/blog-category.d.ts +5 -0
- package/build/models/theme/page/component/prop-value/blog-category.js +1 -0
- package/build/models/theme/page/component/prop-value/blog-list.d.ts +9 -0
- package/build/models/theme/page/component/prop-value/blog-list.js +1 -0
- package/build/models/theme/page/component/prop-value/blog.d.ts +5 -0
- package/build/models/theme/page/component/prop-value/blog.js +1 -0
- package/build/models/theme/page/component/prop-value/brand-list.d.ts +9 -0
- package/build/models/theme/page/component/prop-value/brand-list.js +1 -0
- package/build/models/theme/page/component/prop-value/brand.d.ts +5 -0
- package/build/models/theme/page/component/prop-value/brand.js +1 -0
- package/build/models/theme/page/component/prop-value/category-list.d.ts +9 -0
- package/build/models/theme/page/component/prop-value/category-list.js +1 -0
- package/build/models/theme/page/component/prop-value/category.d.ts +5 -0
- package/build/models/theme/page/component/prop-value/category.js +1 -0
- package/build/models/theme/page/component/prop-value/link.d.ts +19 -0
- package/build/models/theme/page/component/prop-value/link.js +1 -0
- package/build/models/theme/page/component/prop-value/product-detail.d.ts +6 -0
- package/build/models/theme/page/component/prop-value/product-detail.js +1 -0
- package/build/models/theme/page/component/prop-value/product-list.d.ts +17 -0
- package/build/models/theme/page/component/prop-value/product-list.js +1 -0
- package/build/models/theme/page/component/prop-value/raffle-list.d.ts +5 -0
- package/build/models/theme/page/component/prop-value/raffle-list.js +1 -0
- package/build/models/theme/page/component/prop-value/raffle.d.ts +5 -0
- package/build/models/theme/page/component/prop-value/raffle.js +1 -0
- package/build/models/theme/page/index.d.ts +43 -0
- package/build/models/theme/page/index.js +1 -0
- package/build/models/theme/settings/color/index.d.ts +14 -0
- package/build/models/theme/settings/color/index.js +1 -0
- package/build/models/theme/settings/favicon/index.d.ts +4 -0
- package/build/models/theme/settings/favicon/index.js +1 -0
- package/build/models/theme/settings/font-family/index.d.ts +5 -0
- package/build/models/theme/settings/font-family/index.js +1 -0
- package/build/models/theme/settings/index.d.ts +15 -0
- package/build/models/theme/settings/index.js +1 -0
- package/build/models/theme/theme.d.ts +16 -0
- package/build/models/theme/theme.js +1 -0
- package/build/models/ui/blog-category-list/index.d.ts +52 -0
- package/build/models/ui/blog-category-list/index.js +1 -0
- package/build/models/ui/blog-list/index.d.ts +56 -0
- package/build/models/ui/blog-list/index.js +1 -0
- package/build/models/ui/brand-list/index.d.ts +61 -0
- package/build/models/ui/brand-list/index.js +1 -0
- package/build/models/ui/category-list/index.d.ts +61 -0
- package/build/models/ui/category-list/index.js +1 -0
- package/build/models/ui/component-renderer/index.d.ts +7 -0
- package/build/models/ui/component-renderer/index.js +1 -0
- package/build/models/ui/customer-review-list/index.d.ts +43 -0
- package/build/models/ui/customer-review-list/index.js +1 -0
- package/build/models/ui/index.d.ts +26 -0
- package/build/models/ui/navigation-link/index.d.ts +8 -0
- package/build/models/ui/navigation-link/index.js +1 -0
- package/build/models/ui/product-attribute-detail/index.d.ts +8 -0
- package/build/models/ui/product-attribute-detail/index.js +1 -0
- package/build/models/ui/product-attribute-list/index.d.ts +9 -0
- package/build/models/ui/product-attribute-list/index.js +1 -0
- package/build/models/ui/product-detail/index.d.ts +30 -0
- package/build/models/ui/product-detail/index.js +1 -0
- package/build/models/ui/product-list/index.d.ts +132 -0
- package/build/models/ui/product-list/index.js +1 -0
- package/build/models/ui/raffle-list/index.d.ts +54 -0
- package/build/models/ui/raffle-list/index.js +1 -0
- package/build/models/ui/validator/form/account-info.d.ts +40 -0
- package/build/models/ui/validator/form/account-info.js +1 -0
- package/build/models/ui/validator/form/address.d.ts +75 -0
- package/build/models/ui/validator/form/address.js +1 -0
- package/build/models/ui/validator/form/contact-form.d.ts +45 -0
- package/build/models/ui/validator/form/contact-form.js +1 -0
- package/build/models/ui/validator/form/customer-review.d.ts +37 -0
- package/build/models/ui/validator/form/customer-review.js +1 -0
- package/build/models/ui/validator/form/forgot-password.d.ts +29 -0
- package/build/models/ui/validator/form/forgot-password.js +1 -0
- package/build/models/ui/validator/form/login.d.ts +35 -0
- package/build/models/ui/validator/form/login.js +1 -0
- package/build/models/ui/validator/form/raffle-form.d.ts +60 -0
- package/build/models/ui/validator/form/raffle-form.js +1 -0
- package/build/models/ui/validator/form/recover-password.d.ts +36 -0
- package/build/models/ui/validator/form/recover-password.js +1 -0
- package/build/models/ui/validator/form/register.d.ts +48 -0
- package/build/models/ui/validator/form/register.js +1 -0
- package/build/models/ui/validator/index.d.ts +27 -0
- package/build/models/ui/validator/index.js +1 -0
- package/build/models/ui/validator/rules/index.d.ts +91 -0
- package/build/models/ui/validator/rules/index.js +1 -0
- package/build/pages/404.d.ts +6 -0
- package/build/pages/404.js +1 -0
- package/build/pages/[slug]/index.d.ts +7 -0
- package/build/pages/_slug_/index.js +1 -0
- package/build/pages/account/addresses.d.ts +6 -0
- package/build/pages/account/addresses.js +1 -0
- package/build/pages/account/favorite-products.d.ts +6 -0
- package/build/pages/account/favorite-products.js +1 -0
- package/build/pages/account/forgot-password.d.ts +6 -0
- package/build/pages/account/forgot-password.js +1 -0
- package/build/pages/account/index.d.ts +6 -0
- package/build/pages/account/index.js +1 -0
- package/build/pages/account/login.d.ts +6 -0
- package/build/pages/account/login.js +1 -0
- package/build/pages/account/orders/[id].d.ts +6 -0
- package/build/pages/account/orders/_id_.js +1 -0
- package/build/pages/account/orders/index.d.ts +6 -0
- package/build/pages/account/orders/index.js +1 -0
- package/build/pages/account/raffles.d.ts +6 -0
- package/build/pages/account/raffles.js +1 -0
- package/build/pages/account/recover-password.d.ts +6 -0
- package/build/pages/account/recover-password.js +1 -0
- package/build/pages/account/register.d.ts +6 -0
- package/build/pages/account/register.js +1 -0
- package/build/pages/blog/[slug].d.ts +7 -0
- package/build/pages/blog/_slug_.js +1 -0
- package/build/pages/blog/index.d.ts +6 -0
- package/build/pages/blog/index.js +1 -0
- package/build/pages/cart.d.ts +6 -0
- package/build/pages/cart.js +1 -0
- package/build/pages/checkout.d.ts +18 -0
- package/build/pages/checkout.js +1 -0
- package/build/pages/editor.d.ts +10 -0
- package/build/pages/editor.js +1 -0
- package/build/pages/home.d.ts +6 -0
- package/build/pages/home.js +1 -0
- package/build/pages/index.d.ts +22 -0
- package/build/pages/pages/[slug].d.ts +7 -0
- package/build/pages/pages/_slug_.js +1 -0
- package/build/pages/raffle/[slug].d.ts +7 -0
- package/build/pages/raffle/_slug_.js +1 -0
- package/build/pages/raffle/index.d.ts +6 -0
- package/build/pages/raffle/index.js +1 -0
- package/build/pages/search.d.ts +6 -0
- package/build/pages/search.js +1 -0
- package/build/providers/helpers/raffles.d.ts +2 -0
- package/build/providers/helpers/raffles.js +1 -0
- package/build/providers/page-data-get.d.ts +61 -0
- package/build/providers/page-data-get.js +1 -0
- package/build/providers/page-data-init.d.ts +66 -0
- package/build/providers/page-data-init.js +1 -0
- package/build/providers/page-data-next.d.ts +244 -0
- package/build/providers/page-data-next.js +1 -0
- package/build/providers/placeholders.d.ts +7 -0
- package/build/providers/placeholders.js +1 -0
- package/build/providers/prop-value/attribute-list.d.ts +12 -0
- package/build/providers/prop-value/attribute-list.js +1 -0
- package/build/providers/prop-value/attribute.d.ts +12 -0
- package/build/providers/prop-value/attribute.js +1 -0
- package/build/providers/prop-value/blog-category-list.d.ts +7 -0
- package/build/providers/prop-value/blog-category-list.js +1 -0
- package/build/providers/prop-value/blog-category.d.ts +11 -0
- package/build/providers/prop-value/blog-category.js +1 -0
- package/build/providers/prop-value/blog-list.d.ts +9 -0
- package/build/providers/prop-value/blog-list.js +1 -0
- package/build/providers/prop-value/blog.d.ts +11 -0
- package/build/providers/prop-value/blog.js +1 -0
- package/build/providers/prop-value/boolean.d.ts +6 -0
- package/build/providers/prop-value/boolean.js +1 -0
- package/build/providers/prop-value/brand-list.d.ts +7 -0
- package/build/providers/prop-value/brand-list.js +1 -0
- package/build/providers/prop-value/brand.d.ts +11 -0
- package/build/providers/prop-value/brand.js +1 -0
- package/build/providers/prop-value/category-list.d.ts +7 -0
- package/build/providers/prop-value/category-list.js +1 -0
- package/build/providers/prop-value/category.d.ts +11 -0
- package/build/providers/prop-value/category.js +1 -0
- package/build/providers/prop-value/color.d.ts +6 -0
- package/build/providers/prop-value/color.js +1 -0
- package/build/providers/prop-value/custom.d.ts +45 -0
- package/build/providers/prop-value/custom.js +1 -0
- package/build/providers/prop-value/image-list.d.ts +7 -0
- package/build/providers/prop-value/image-list.js +1 -0
- package/build/providers/prop-value/image.d.ts +7 -0
- package/build/providers/prop-value/image.js +1 -0
- package/build/providers/prop-value/index.d.ts +3 -0
- package/build/providers/prop-value/link.d.ts +16 -0
- package/build/providers/prop-value/link.js +1 -0
- package/build/providers/prop-value/product-detail.d.ts +11 -0
- package/build/providers/prop-value/product-detail.js +1 -0
- package/build/providers/prop-value/product-list.d.ts +9 -0
- package/build/providers/prop-value/product-list.js +1 -0
- package/build/providers/prop-value/raffle-list.d.ts +5 -0
- package/build/providers/prop-value/raffle-list.js +1 -0
- package/build/providers/prop-value/raffle.d.ts +11 -0
- package/build/providers/prop-value/raffle.js +1 -0
- package/build/providers/prop-value/rich-text.d.ts +6 -0
- package/build/providers/prop-value/rich-text.js +1 -0
- package/build/providers/prop-value/slider.d.ts +11 -0
- package/build/providers/prop-value/slider.js +1 -0
- package/build/providers/prop-value/text.d.ts +6 -0
- package/build/providers/prop-value/text.js +1 -0
- package/build/scripts/generators/api/index.d.ts +5 -0
- package/build/scripts/generators/api/index.js +1 -0
- package/build/scripts/generators/api/info.d.ts +12 -0
- package/build/scripts/generators/api/info.js +1 -0
- package/build/scripts/generators/components/index.d.ts +6 -0
- package/build/scripts/generators/components/index.js +1 -0
- package/build/scripts/generators/config/content.d.ts +37 -0
- package/build/scripts/generators/config/content.js +1 -0
- package/build/scripts/generators/config/index.d.ts +8 -0
- package/build/scripts/generators/config/index.js +1 -0
- package/build/scripts/generators/index.d.ts +7 -0
- package/build/scripts/generators/pages/index.d.ts +7 -0
- package/build/scripts/generators/pages/index.js +1 -0
- package/build/scripts/generators/pages/info.d.ts +14 -0
- package/build/scripts/generators/pages/info.js +1 -0
- package/build/scripts/generators/store/content.d.ts +1 -0
- package/build/scripts/generators/store/content.js +1 -0
- package/build/scripts/generators/store/index.d.ts +3 -0
- package/build/scripts/generators/store/index.js +1 -0
- package/build/scripts/generators/theme/index.d.ts +6 -0
- package/build/scripts/generators/theme/index.js +1 -0
- package/build/scripts/generators/types/index.d.ts +15 -0
- package/build/scripts/generators/types/index.js +1 -0
- package/build/scripts/ikas.d.ts +2 -0
- package/build/store/base.d.ts +25 -0
- package/build/store/base.js +1 -0
- package/build/store/cart.d.ts +29 -0
- package/build/store/cart.js +1 -0
- package/build/store/customer.d.ts +92 -0
- package/build/store/customer.js +1 -0
- package/build/store/index.d.ts +1 -0
- package/build/storefront/index.d.ts +56 -0
- package/build/storefront/index.js +1 -0
- package/build/utils/currency.d.ts +7 -0
- package/build/utils/currency.js +1 -0
- package/build/utils/fs.d.ts +28 -0
- package/build/utils/fs.js +1 -0
- package/build/utils/google-fonts.d.ts +2 -0
- package/build/utils/google-fonts.js +1 -0
- package/build/utils/helper.d.ts +10 -0
- package/build/utils/helper.js +1 -0
- package/build/utils/i18n.d.ts +20 -0
- package/build/utils/i18n.js +1 -0
- package/build/utils/index.d.ts +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var t=function(t){var r=t.className;return e.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:r},e.createElement("circle",{cx:"8",cy:"8",r:"8",transform:"rotate(180 8 8)",fill:"currentColor"}),e.createElement("path",{d:"M8.50976 4L8.50977 10.0938L7.49023 10.0938L7.49023 4L8.50976 4ZM8 11.1191C8.17187 11.1191 8.32031 11.1816 8.44531 11.3066C8.57031 11.4316 8.63281 11.5801 8.63281 11.752C8.63281 11.9277 8.57031 12.0762 8.44531 12.1973C8.32031 12.3223 8.17187 12.3848 8 12.3848C7.82422 12.3848 7.67383 12.3223 7.54883 12.1973C7.42383 12.0762 7.36133 11.9277 7.36133 11.752C7.36133 11.5801 7.42383 11.4316 7.54883 11.3066C7.67383 11.1816 7.82422 11.1191 8 11.1191Z",fill:"white"}))};export{t as default};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare type Props = {
|
|
3
|
+
value: boolean;
|
|
4
|
+
label?: string | React.ReactElement;
|
|
5
|
+
hasError?: boolean;
|
|
6
|
+
removePadding?: boolean;
|
|
7
|
+
onChange?: (value: boolean) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const Toggle: React.FC<Props>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as o}from"mobx-react-lite";import r from"../checkbox/check.js";import a from"./style.module.scss.js";var c=o((function(o){var c=o.value,t=o.label,i=o.hasError,l=o.removePadding,n=o.onChange,m=[a.CheckboxBorder],s=[a.CheckboxLabel],h=[a.CheckboxTick];return c&&(m.push(a.Checked),h.push(a.Visible)),i&&s.push(a.CheckboxLabelError),e.createElement("div",{className:[a.CheckboxWrapper,l?a.WithoutPadding:"",t?"":a.WithoutLabel].join(" "),onClick:function(){n&&n(!c)}},e.createElement("div",{className:a.CheckboxContainer},e.createElement("div",{className:m.join(" ")}),e.createElement("div",{className:h.join(" ")},e.createElement(r,null))),!!t&&e.createElement("div",{className:s.join(" ")},t))}));export{c as Toggle};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'../../../../ext/style-inject/dist/style-inject.es.js';var o={CheckboxWrapper:"style-module_CheckboxWrapper__3CzTt",WithoutPadding:"style-module_WithoutPadding__2le2B",WithoutLabel:"style-module_WithoutLabel__1s1q8",CheckboxContainer:"style-module_CheckboxContainer__lWDtJ",CheckboxBorder:"style-module_CheckboxBorder__EYjFT",Checked:"style-module_Checked__2kb9S",CheckboxTick:"style-module_CheckboxTick__149cN",Visible:"style-module_Visible__gf4pv",CheckboxLabel:"style-module_CheckboxLabel__D36H4",CheckboxLabelError:"style-module_CheckboxLabelError__1x08H"};e(".style-module_CheckboxWrapper__3CzTt {\n width: 100%;\n display: flex;\n padding: 0.5em 0;\n cursor: pointer;\n user-select: none;\n align-items: center;\n}\n.style-module_CheckboxWrapper__3CzTt.style-module_WithoutPadding__2le2B {\n padding: 0;\n}\n.style-module_CheckboxWrapper__3CzTt.style-module_WithoutLabel__1s1q8 {\n padding: 0;\n width: auto;\n}\n.style-module_CheckboxWrapper__3CzTt .style-module_CheckboxContainer__lWDtJ {\n position: relative;\n width: 20px;\n height: 20px;\n margin-right: 16px;\n}\n.style-module_CheckboxWrapper__3CzTt .style-module_CheckboxBorder__EYjFT {\n flex: 0 0 auto;\n width: 20px;\n height: 20px;\n border-radius: 100%;\n border: 1px solid var(--checkout-border-color);\n position: absolute;\n top: 0;\n left: 0;\n transition: border-width 0.2s ease-in-out;\n}\n.style-module_CheckboxWrapper__3CzTt .style-module_CheckboxBorder__EYjFT.style-module_Checked__2kb9S {\n border: 10px solid var(--checkout-button-bg-color);\n}\n.style-module_CheckboxWrapper__3CzTt .style-module_CheckboxTick__149cN {\n width: 20px;\n height: 20px;\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n left: 0;\n color: var(--checkout-button-text-color);\n z-index: 2;\n transition: all 0.2s ease-in-out;\n transition-delay: 0.1s;\n opacity: 0;\n transform: scale(0.2);\n}\n.style-module_CheckboxWrapper__3CzTt .style-module_CheckboxTick__149cN.style-module_Visible__gf4pv {\n opacity: 1;\n transform: scale(1.2);\n}\n.style-module_CheckboxWrapper__3CzTt .style-module_CheckboxLabel__D36H4 {\n flex: 1 1 auto;\n font-weight: normal;\n}\n.style-module_CheckboxWrapper__3CzTt .style-module_CheckboxLabelError__1x08H {\n color: var(--checkout-error-color);\n}");export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as t from"react";import{observer as e}from"mobx-react-lite";import a from"./style.module.scss.js";var o=e((function(e){var o=e.text,s=e.className,r=e.style;return t.createElement("div",{className:s,style:r},t.createElement("div",{className:a.TooltipContainer,"data-tip":o,"data-event":"touchstart focus mouseover","data-event-off":"mouseout"},"?"))}));export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from'../../../../ext/style-inject/dist/style-inject.es.js';var t={TooltipContainer:"style-module_TooltipContainer__1IW8v",Tooltip:"style-module_Tooltip__1Pxw6",TooltipArrow:"style-module_TooltipArrow__1l6q_",Top:"style-module_Top__1_7C6",Bottom:"style-module_Bottom__2qCpQ",Left:"style-module_Left__1T6gj",Right:"style-module_Right__uCMMF"};o(".style-module_TooltipContainer__1IW8v {\n width: 16px;\n height: 16px;\n border-radius: 100%;\n color: white;\n background-color: var(--checkout-secondary-text-color);\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 12px !important;\n cursor: pointer;\n position: relative;\n}\n.style-module_TooltipContainer__1IW8v .style-module_Tooltip__1Pxw6 {\n position: absolute;\n margin: auto;\n color: white;\n background-color: #404040;\n border-radius: 4px;\n padding: 12px;\n font-size: 12px;\n display: none;\n width: 280px;\n text-align: center;\n z-index: 999;\n font-size: 16px !important;\n}\n.style-module_TooltipContainer__1IW8v .style-module_Tooltip__1Pxw6 .style-module_TooltipArrow__1l6q_ {\n background-color: #404040;\n width: 12px;\n height: 12px;\n transform: rotate(45deg);\n position: absolute;\n margin: auto;\n border-radius: 2px;\n}\n.style-module_TooltipContainer__1IW8v .style-module_Tooltip__1Pxw6.style-module_Top__1_7C6 {\n bottom: 26px;\n}\n.style-module_TooltipContainer__1IW8v .style-module_Tooltip__1Pxw6.style-module_Top__1_7C6 .style-module_TooltipArrow__1l6q_ {\n bottom: -4px;\n left: 0;\n right: 0;\n}\n.style-module_TooltipContainer__1IW8v .style-module_Tooltip__1Pxw6.style-module_Bottom__2qCpQ {\n top: 26px;\n}\n.style-module_TooltipContainer__1IW8v .style-module_Tooltip__1Pxw6.style-module_Bottom__2qCpQ .style-module_TooltipArrow__1l6q_ {\n top: -4px;\n left: 0;\n right: 0;\n}\n.style-module_TooltipContainer__1IW8v .style-module_Tooltip__1Pxw6.style-module_Left__1T6gj {\n right: 26px;\n}\n.style-module_TooltipContainer__1IW8v .style-module_Tooltip__1Pxw6.style-module_Left__1T6gj .style-module_TooltipArrow__1l6q_ {\n right: -4px;\n top: 0;\n bottom: 0;\n}\n.style-module_TooltipContainer__1IW8v .style-module_Tooltip__1Pxw6.style-module_Right__uCMMF {\n left: 26px;\n}\n.style-module_TooltipContainer__1IW8v .style-module_Tooltip__1Pxw6.style-module_Right__uCMMF .style-module_TooltipArrow__1l6q_ {\n left: -4px;\n top: 0;\n bottom: 0;\n}\n.style-module_TooltipContainer__1IW8v:hover .style-module_Tooltip__1Pxw6 {\n display: inline-flex;\n}");export{t as default};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { IkasCheckout, IkasMerchantSettings } from "../../models";
|
|
3
|
+
import { IkasCheckoutSettings } from "../../models/data/checkout-settings";
|
|
4
|
+
export declare type IkasCheckoutPageProps = {
|
|
5
|
+
checkout: IkasCheckout;
|
|
6
|
+
checkoutSettings: IkasCheckoutSettings;
|
|
7
|
+
merchantSettings: IkasMerchantSettings | null;
|
|
8
|
+
customizationProps?: IkasCheckoutCustomizationProps;
|
|
9
|
+
returnPolicy: string;
|
|
10
|
+
privacyPolicy: string;
|
|
11
|
+
termsOfService: string;
|
|
12
|
+
};
|
|
13
|
+
export declare type IkasCheckoutCustomizationProps = {
|
|
14
|
+
buttonBgColor?: string;
|
|
15
|
+
buttonTextColor?: string;
|
|
16
|
+
buttonDisabledBgColor?: string;
|
|
17
|
+
buttonDisabledTextColor?: string;
|
|
18
|
+
primaryTextColor?: string;
|
|
19
|
+
secondaryTextColor?: string;
|
|
20
|
+
primaryBgColor?: string;
|
|
21
|
+
secondaryBgColor?: string;
|
|
22
|
+
borderColor?: string;
|
|
23
|
+
cardBgColor?: string;
|
|
24
|
+
errorColor?: string;
|
|
25
|
+
errorLightColor?: string;
|
|
26
|
+
warningColor?: string;
|
|
27
|
+
warningLightColor?: string;
|
|
28
|
+
successColor?: string;
|
|
29
|
+
successLightColor?: string;
|
|
30
|
+
};
|
|
31
|
+
declare const _default: React.FunctionComponent<IkasCheckoutPageProps>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as e,__generator as t}from'../../ext/tslib/tslib.es6.js';import*as o from"react";import{observer as r}from"mobx-react-lite";import{useRouter as i}from"next/router.js";import s,{CheckoutStep as c}from"./model.js";import n from"./steps/step-info/index.js";import{CheckoutStepShipping as a}from"./steps/step-shipping/index.js";import{CheckoutStepPayment as l}from"./steps/step-payment/index.js";import{CartSummary as m}from"./components/cart-summary/index.js";import"../../models/data/blog/index.js";import"../../models/data/brand/index.js";import"../../models/data/category/index.js";import"../../models/data/checkout/index.js";import"../../models/data/customer/address/index.js";import"../../models/data/customer/index.js";import"../../models/data/customer-review/index.js";import"../../models/data/html-meta-data/index.js";import"../../models/data/image/index.js";import"../../models/data/installment-info/index.js";import"../../models/data/order/index.js";import"../../models/data/order/line-item/index.js";import"mobx";import"../../api/product-option-file/index.js";import"../../models/data/product/index.js";import"../../models/data/variant-type/index.js";import"../../models/data/product/variant/index.js";import"../../models/data/product/variant/price/index.js";import"../../models/data/product-attribute/index.js";import"../../models/data/product/attribute-value/index.js";import"../../models/data/product-filter/index.js";import"../../models/data/variant-type/variant-value/index.js";import"../../models/data/order-transaction/index.js";import"../../models/data/product-option-set/index.js";import"../../models/data/raffle/index.js";import"../../models/data/product-campaing/campaign/index.js";import"../../models/theme/theme.js";import{IkasThemePageType as d}from"../../models/theme/page/index.js";import"../../models/theme/component/prop/index.js";import"../../models/theme/page/component/prop-value/link.js";import"../../models/ui/brand-list/index.js";import"../../models/ui/blog-list/index.js";import"../../models/ui/blog-category-list/index.js";import"../../models/ui/category-list/index.js";import"../../models/ui/product-detail/index.js";import"../../models/ui/product-list/index.js";import"../../models/ui/product-attribute-detail/index.js";import"../../models/ui/product-attribute-list/index.js";import"../../models/ui/customer-review-list/index.js";import"../../models/ui/validator/index.js";import"../../models/ui/validator/rules/index.js";import"../../models/ui/validator/form/login.js";import"../../models/ui/validator/form/address.js";import"../../models/ui/validator/form/register.js";import{ContactForm as u}from"../../models/ui/validator/form/contact-form.js";import"../../models/ui/validator/form/forgot-password.js";import"../../models/ui/validator/form/recover-password.js";import"../../models/ui/validator/form/account-info.js";import"../../models/ui/validator/form/raffle-form.js";import"../../models/ui/validator/form/customer-review.js";import"../../models/ui/raffle-list/index.js";import"../../models/theme/settings/index.js";import"../../models/theme/custom-data/index.js";import{StepSuccess as p}from"./steps/step-success/index.js";import{Modal as v}from"./components/modal/index.js";import h from"./style.module.scss.js";import{IkasPageHead as E}from"../page/head.js";import{Analytics as g}from"../../analytics/analytics.js";import"../../analytics/head/index.js";import{Image as f}from"../image/index.js";import k from"next/link.js";import y,{Step as x}from"./components/step-container/index.js";import{IkasStorefrontConfig as j}from"../../storefront/index.js";import'../../ext/lodash/isArguments.js';import'../../ext/lodash/isBuffer.js';import'../../ext/lodash/isTypedArray.js';import'../../ext/lodash/_baseGetTag.js';import{formatMoney as C}from"../../utils/currency.js";import{useTranslation as N}from"../../utils/i18n.js";import{StockError as F}from"./components/error/stock-error/index.js";import b from"./components/svg/ikas.js";import P from'../../ext/react-tooltip/dist/index.es.js';import{FullscreenLoading as T}from"./components/fullscreen-loading/index.js";import S from"./components/notification-box/index.js";import{FormItem as M}from"./components/form-item/index.js";import{FormItemType as A}from"./components/form-item/model.js";import{Button as w}from"./components/button/index.js";var I=r((function(e){var t,r,n,a=e.checkout,l=e.checkoutSettings,u=e.merchantSettings,f=e.customizationProps,k=e.returnPolicy,y=e.privacyPolicy,x=e.termsOfService,C=N().t,S=i(),M=o.useState((function(){return new s(a,l,u,S,k,y,x,C)}))[0];return M.step===c.PAYMENT&&g.disableHTML(),o.useEffect((function(){M.checkoutSettings.isAccountRequired&&!M.checkout.hasCustomer&&S.push("/account/login?redirect="+encodeURIComponent(M.checkoutUrl)),g.beginCheckout(M.checkout),g.pageView(d.CHECKOUT)}),[]),o.useEffect((function(){!function(e){document.documentElement.style.setProperty("--checkout-button-bg-color",(null==e?void 0:e.buttonBgColor)||"#272727"),document.documentElement.style.setProperty("--checkout-button-text-color",(null==e?void 0:e.buttonTextColor)||"#FFFFFF"),document.documentElement.style.setProperty("--checkout-button-disabled-bg-color",(null==e?void 0:e.buttonDisabledBgColor)||"#F7F7F9"),document.documentElement.style.setProperty("--checkout-button-disabled-text-color",(null==e?void 0:e.buttonDisabledTextColor)||"#8A8B94"),document.documentElement.style.setProperty("--checkout-primary-text-color",(null==e?void 0:e.primaryTextColor)||"#272727"),document.documentElement.style.setProperty("--checkout-secondary-text-color",(null==e?void 0:e.secondaryTextColor)||"#8A8B94"),document.documentElement.style.setProperty("--checkout-primary-bg-color",(null==e?void 0:e.primaryBgColor)||"#FFFFFF"),document.documentElement.style.setProperty("--checkout-secondary-bg-color",(null==e?void 0:e.secondaryBgColor)||"#F7F7F9"),document.documentElement.style.setProperty("--checkout-border-color",(null==e?void 0:e.borderColor)||"#E5E4E9"),document.documentElement.style.setProperty("--checkout-card-bg-color",(null==e?void 0:e.cardBgColor)||"#F7F7F9"),document.documentElement.style.setProperty("--checkout-error-color",(null==e?void 0:e.errorColor)||"#FB4E4E"),document.documentElement.style.setProperty("--checkout-error-light-color",(null==e?void 0:e.errorLightColor)||"#FCF3F4"),document.documentElement.style.setProperty("--checkout-warning-color",(null==e?void 0:e.warningColor)||"#FFBC1F"),document.documentElement.style.setProperty("--checkout-warning-light-color",(null==e?void 0:e.warningLightColor)||"#FFFAEE"),document.documentElement.style.setProperty("--checkout-success-color",(null==e?void 0:e.successColor)||"#2DCA73"),document.documentElement.style.setProperty("--checkout-success-light-color",(null==e?void 0:e.successLightColor)||"#F6FFED")}(f)}),[f]),M.isCheckoutLoaded&&M.store.customerStore.initialized?M.checkout.hasCustomer&&(null===(t=M.store.customerStore.customer)||void 0===t?void 0:t.id)!==(null===(r=M.checkout.customer)||void 0===r?void 0:r.id)?(S.push("/account/login?redirect="+encodeURIComponent(M.checkoutUrl)),null):o.createElement(o.Fragment,null,o.createElement(E,{pageType:d.CHECKOUT,pageTitle:((null===(n=M.merchantSettings)||void 0===n?void 0:n.merchantName)||"")+" - "+C("checkout-page:securePayment"),pageDescription:C("checkout-page:securePayment")}),o.createElement("div",{id:"Checkout",className:h.CheckoutPage},o.createElement(P,{place:"top",type:"dark",effect:"solid",arrowColor:"transparent",multiline:!0,className:h.ReactTooltipWrap,globalEventOff:"touchstart"}),o.createElement("div",{className:h.Left},o.createElement("div",{className:h.LeftContent},o.createElement("div",null,o.createElement(B,{vm:M}),M.hasStockError&&o.createElement("div",{className:h.ErrorContainer},o.createElement(F,{vm:M,error:M.error})),!M.hasStockError&&o.createElement(o.Fragment,null,o.createElement("div",{className:h.MobileCartSummary},o.createElement(m,{vm:M,allowExpand:!0})),M.step===c.SUCCESS?o.createElement(p,{vm:M}):o.createElement(L,{vm:M})),o.createElement("div",{className:h.Space})),o.createElement(U,{vm:M}))),o.createElement("div",{className:h.Right},o.createElement("div",{className:h.RightContent},o.createElement(m,{vm:M}),o.createElement("div",{className:h.PoweredBy},o.createElement("span",null,"powered by"),o.createElement("a",{href:"https://ikas.com"+("tr"===j.getCurrentLocale()?"/tr":""),target:"_blank"},o.createElement(b,null))))),!!M.policyModalText&&o.createElement(v,{title:M.policyModalTitle,modalContent:M.policyModalText,onClose:function(){M.policyModalText=""}}),M.isContactModalVisible&&o.createElement(H,{vm:M,setVisible:M.setContactModalVisible}))):o.createElement(T,null)})),B=r((function(e){var t,r,i=e.vm,s=N().t;return o.createElement("div",{className:h.Header},o.createElement(k,{href:"/",passHref:!0},o.createElement("a",null,(null===(t=i.merchantSettings)||void 0===t?void 0:t.logoId)?o.createElement("div",{className:h.Logo},o.createElement(f,{layout:"fill",image:i.merchantSettings.logo,sizes:"360px"})):(null===(r=i.merchantSettings)||void 0===r?void 0:r.merchantName)||"")),!i.checkout.hasCustomer&&o.createElement("div",{className:h.LoginText},o.createElement("span",{className:h.LoginCta},s("checkout-page:alreadyHaveAnAccount")),o.createElement(k,{href:"/account/login?redirect="+encodeURIComponent(i.checkoutUrl),passHref:!0},o.createElement("a",{className:h.LoginBtn},s("checkout-page:actions.login")))),i.checkout.hasCustomer&&o.createElement("div",{className:h.CustomerInfo},o.createElement("div",{className:h.Name},i.checkout.customerFullName),o.createElement("div",{className:h.Email},i.checkout.customerEmail)))})),L=r((function(e){var t=e.vm,r=N().t,i=o.useMemo((function(){switch(t.step){case c.INFO:return o.createElement(n,{vm:t});case c.SHIPPING:return o.createElement(a,{vm:t});case c.PAYMENT:return o.createElement(l,{vm:t});case c.SUCCESS:return o.createElement(p,{vm:t})}}),[t,t.step]),s=[new x(r("checkout-page:address"),t.step===c.INFO,t.step!==c.INFO,t.step!==c.INFO?o.createElement("div",{className:h.AdressStepInfo},o.createElement(O,{vm:t}),o.createElement("div",{className:h.EditBtn,onClick:t.onBackToInfoClick},r("checkout-page:actions.edit"))):void 0,t.step!==c.INFO?o.createElement("div",{className:h.AddressStepInfoMobile},o.createElement(O,{vm:t})):void 0),new x(r("checkout-page:shipping"),t.step===c.SHIPPING,t.step===c.PAYMENT,t.step===c.PAYMENT?o.createElement("div",{className:h.AdressStepInfo},o.createElement(R,{vm:t}),t.checkout.availableShippingMethods.length>1&&o.createElement("div",{className:h.EditBtn,onClick:t.onBackToShippingClick},r("checkout-page:actions.edit"))):void 0,t.step===c.PAYMENT?o.createElement("div",{className:h.AddressStepInfoMobile},o.createElement(R,{vm:t})):void 0),new x(r("checkout-page:payment"),t.step===c.PAYMENT,!1)];return o.createElement(y,{steps:s,stepContent:i})})),O=r((function(e){var t,r,i,s,c,n=e.vm;return o.createElement("div",{className:h.Address},o.createElement("div",{className:[h.Text,h.WithMBottom].join(" ")},(null===(t=n.checkout.customer)||void 0===t?void 0:t.email)||""),o.createElement("div",{className:h.Text},((null===(r=n.checkout.customer)||void 0===r?void 0:r.firstName)||"")+" "+((null===(i=n.checkout.customer)||void 0===i?void 0:i.lastName)||"")),o.createElement("div",{className:[h.Text,h.Gray].join(" ")},null===(s=n.checkout.shippingAddress)||void 0===s?void 0:s.phone),o.createElement("div",{className:[h.Text,h.Gray].join(" ")},null===(c=n.checkout.shippingAddress)||void 0===c?void 0:c.addressText))})),R=r((function(e){var t=e.vm,r=N().t;return o.createElement("div",{className:h.Address},t.checkout.shippingLines&&t.checkout.shippingLines.length?o.createElement(o.Fragment,null,o.createElement("span",null,t.checkout.shippingLines[0].title),o.createElement("span",{className:h.LightText}," / "+(0===t.checkout.shippingLines[0].price?r("checkout-page:free"):C(t.checkout.shippingLines[0].price,t.checkout.cart.currencyCode)))):r("checkout-page:standartShipping"))})),U=r((function(e){var t=e.vm,r=N().t;return o.createElement("div",{className:h.Footer},o.createElement("div",{className:h.FooterItem,onClick:function(){t.policyModalTitle=r("checkout-page:returnPolicy"),t.policyModalText=t.returnPolicy}},r("checkout-page:returnPolicy")),o.createElement("div",{className:h.FooterBullet},"•"),o.createElement("div",{className:h.FooterItem,onClick:function(){t.policyModalTitle=r("checkout-page:privacyPolicy"),t.policyModalText=t.privacyPolicy}},r("checkout-page:privacyPolicy")),o.createElement("div",{className:h.FooterBullet},"•"),o.createElement("div",{className:h.FooterItem,onClick:function(){t.policyModalTitle=r("checkout-page:termsOfService"),t.policyModalText=t.termsOfService}},r("checkout-page:termsOfService")))})),H=r((function(r){var i,s,c=r.vm,n=r.setVisible,a=N().t,l=o.useState(!1),m=l[0],d=l[1],p=o.useState(!1),h=p[0],E=p[1],g=o.useState(new u({message:{requiredRule:"",emailRule:"",minRule:""},store:c.store}))[0];g.email=c.checkout.customerEmail,g.firstName=(null===(i=c.checkout.customer)||void 0===i?void 0:i.firstName)||"",g.lastName=(null===(s=c.checkout.customer)||void 0===s?void 0:s.lastName)||"";var f=o.useCallback((function(){return e(void 0,void 0,void 0,(function(){return t(this,(function(e){switch(e.label){case 0:return h?[2,n(!1)]:(d(!0),[4,g.saveContactForm()]);case 1:return e.sent()&&E(!0),d(!1),[2]}}))}))}),[m]);return o.createElement(v,{title:a("checkout-page:contactForm"),modalContent:o.createElement("div",null,h&&o.createElement("div",{style:{marginBottom:"12px",maxWidth:"352px"}},o.createElement(S,{type:"success",title:a("checkout-page:contactFormSent"),content:a("checkout-page:contactFormDescription")})),o.createElement(M,{type:A.TEXT_AREA,label:"",value:g.message||"",onChange:g.onMessageChange,textAreaPlaceholder:a("checkout-page:contactFormCta")}),o.createElement(w,{style:{width:"100%",marginTop:"24px"},text:a(h?"checkout-page:actions.close":"checkout-page:actions.sendMessage"),isLoading:m,isDisabled:!g.message,onClick:f})),onClose:function(){return n(!1)}})}));export{I as default};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { NextRouter } from "next/router.js";
|
|
2
|
+
import { IkasCheckout, IkasInstallmentInfo, IkasInstallmentInfoInput, IkasMerchantSettings, IkasAvailableShippingMethod, IkasOrderLineItem, IkasOrderTransaction, IkasOrder } from "../../models";
|
|
3
|
+
import { IkasPaymentGateway } from "../../models/data/payment-gateway";
|
|
4
|
+
import { IkasOrderLineVariant } from "../../models/data/order/line-item/variant";
|
|
5
|
+
import { IkasStorefront } from "../../models/data/storefront";
|
|
6
|
+
import CreditCardData from "./components/credit-card-form/model";
|
|
7
|
+
import { IkasCheckoutSettings } from "../../models/data/checkout-settings";
|
|
8
|
+
import { TFunction } from "../../utils/i18n";
|
|
9
|
+
export default class CheckoutViewModel {
|
|
10
|
+
checkout: IkasCheckout;
|
|
11
|
+
checkoutSettings: IkasCheckoutSettings;
|
|
12
|
+
storefront?: IkasStorefront | null;
|
|
13
|
+
store: import("../..").IkasBaseStore;
|
|
14
|
+
router: NextRouter;
|
|
15
|
+
isCheckoutLoaded: boolean;
|
|
16
|
+
isErrorsVisible: boolean;
|
|
17
|
+
isStepLoading: boolean;
|
|
18
|
+
isTermsAndConditionsChecked: boolean;
|
|
19
|
+
isChangingShippingMethod: boolean;
|
|
20
|
+
isContactModalVisible: boolean;
|
|
21
|
+
step: CheckoutStep;
|
|
22
|
+
merchantSettings?: IkasMerchantSettings;
|
|
23
|
+
cardData?: CreditCardData | null;
|
|
24
|
+
paymentGateways: IkasPaymentGateway[];
|
|
25
|
+
installmentInfo?: IkasInstallmentInfo | null;
|
|
26
|
+
useDifferentAddress: boolean;
|
|
27
|
+
shouldSaveAddress: boolean;
|
|
28
|
+
addressTitle: string;
|
|
29
|
+
shippingCountryIds?: string[] | null;
|
|
30
|
+
selectedShippingAddressId?: string;
|
|
31
|
+
selectedBillingAddressId?: string;
|
|
32
|
+
returnPolicy: string;
|
|
33
|
+
privacyPolicy: string;
|
|
34
|
+
termsOfService: string;
|
|
35
|
+
policyModalTitle: string;
|
|
36
|
+
policyModalText: string;
|
|
37
|
+
error?: CheckoutError | null;
|
|
38
|
+
order?: IkasOrder;
|
|
39
|
+
successTransaction?: IkasOrderTransaction;
|
|
40
|
+
t: TFunction;
|
|
41
|
+
constructor(checkout: IkasCheckout, checkoutSettings: IkasCheckoutSettings, merchantSettings: IkasMerchantSettings | null, router: NextRouter, returnPolicy: string, privacyPolicy: string, termsOfService: string, t: TFunction);
|
|
42
|
+
init: () => Promise<void>;
|
|
43
|
+
initStep: () => Promise<void>;
|
|
44
|
+
getMerchantSettings: () => Promise<void>;
|
|
45
|
+
get cart(): import("../../models/data/cart").IkasCart | null | undefined;
|
|
46
|
+
get selectedPaymentGatewayIndex(): number;
|
|
47
|
+
get selectedInstallmentIndex(): number;
|
|
48
|
+
get checkoutUrl(): string;
|
|
49
|
+
get customerAddressOptions(): {
|
|
50
|
+
label: string;
|
|
51
|
+
value: string;
|
|
52
|
+
}[];
|
|
53
|
+
get installmentPrice(): number | null | undefined;
|
|
54
|
+
get installmentExtraPrice(): number | undefined;
|
|
55
|
+
get finalPrice(): number;
|
|
56
|
+
get hasStockError(): boolean;
|
|
57
|
+
get canProceedToShipping(): boolean | undefined;
|
|
58
|
+
get canProceedToPayment(): boolean | undefined;
|
|
59
|
+
get canPerformPayment(): boolean | undefined;
|
|
60
|
+
saveCheckout: () => Promise<void>;
|
|
61
|
+
checkStocks: () => Promise<void>;
|
|
62
|
+
removeUnavailableItems: (items: IkasOrderLineItem[]) => Promise<void>;
|
|
63
|
+
getShippingCountries: () => Promise<void>;
|
|
64
|
+
checkShippingCountries: () => void;
|
|
65
|
+
initialStockCheck: () => Promise<void>;
|
|
66
|
+
listPaymentGateways: () => Promise<void>;
|
|
67
|
+
retrieveInstallmentInfo: (input: IkasInstallmentInfoInput) => Promise<void>;
|
|
68
|
+
createCustomer: () => void;
|
|
69
|
+
createShippingAddress: () => void;
|
|
70
|
+
createBillingAddress: () => void;
|
|
71
|
+
onShippingMethodChange: (shippingMethod: IkasAvailableShippingMethod) => Promise<void>;
|
|
72
|
+
onCouponCodeApply: () => Promise<void>;
|
|
73
|
+
onCouponCodeDelete: () => Promise<void>;
|
|
74
|
+
onSelectedShippingAddressIdChange: (value: string) => void;
|
|
75
|
+
onSelectedBillingAddressIdChange: (value: string) => void;
|
|
76
|
+
onTermsAndConditionsCheckedChange: (value: boolean) => void;
|
|
77
|
+
onCardNumberChange: (value: string) => void;
|
|
78
|
+
onCardHolderNameChange: (value: string) => void;
|
|
79
|
+
onExpirationDateChange: (value: string) => void;
|
|
80
|
+
onCvcChange: (value: string) => void;
|
|
81
|
+
saveAddress: (type: "billing" | "shipping") => Promise<void>;
|
|
82
|
+
onGoToCartClick: () => void;
|
|
83
|
+
onBackToShoppingClick: () => void;
|
|
84
|
+
onProceedToShippingClick: () => Promise<void>;
|
|
85
|
+
onProceedToPaymentClick: () => Promise<void>;
|
|
86
|
+
onCompletePaymentClick: () => Promise<void>;
|
|
87
|
+
createSaleTransaction: () => Promise<void>;
|
|
88
|
+
onCheckoutTransactionSuccess: () => Promise<void>;
|
|
89
|
+
onBackToInfoClick: () => void;
|
|
90
|
+
onBackToShippingClick: () => void;
|
|
91
|
+
setCustomerConsentGranted: (value: boolean) => void;
|
|
92
|
+
setUseDifferentAddress: (value: boolean) => void;
|
|
93
|
+
setShouldSaveAddress: (value: boolean) => void;
|
|
94
|
+
setAddressTitle: (value: string) => void;
|
|
95
|
+
setPaymentGateway: (index: number) => void;
|
|
96
|
+
setInstallmentCount: (count: number) => void;
|
|
97
|
+
changeStep: (step: CheckoutStep) => Promise<void>;
|
|
98
|
+
logout: () => Promise<void>;
|
|
99
|
+
setContactModalVisible: (value: boolean) => void;
|
|
100
|
+
}
|
|
101
|
+
export declare enum CheckoutStep {
|
|
102
|
+
INFO = "info",
|
|
103
|
+
SHIPPING = "shipping",
|
|
104
|
+
PAYMENT = "payment",
|
|
105
|
+
SUCCESS = "success"
|
|
106
|
+
}
|
|
107
|
+
export declare enum ErrorType {
|
|
108
|
+
UNKNOWN = 0,
|
|
109
|
+
API_ERROR = 1,
|
|
110
|
+
STOCK_ERROR = 2,
|
|
111
|
+
PAYMENT_ERROR = 3,
|
|
112
|
+
NO_SHIPPING_ERROR = 4,
|
|
113
|
+
CUSTOMER_LOGIN_REQUIRED_ERROR = 5
|
|
114
|
+
}
|
|
115
|
+
export declare type CheckoutError = {
|
|
116
|
+
type: ErrorType;
|
|
117
|
+
data?: any;
|
|
118
|
+
};
|
|
119
|
+
export declare type StockErrorData = {
|
|
120
|
+
variant: IkasOrderLineVariant;
|
|
121
|
+
availableQuantity: number;
|
|
122
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as t,__generator as e,__assign as i}from'../../ext/tslib/tslib.es6.js';import{makeAutoObservable as s}from"mobx";import n from'../../ext/lodash/cloneDeep.js';import r from'../../ext/lodash/sortBy.js';import"../../models/data/blog/index.js";import"../../models/data/brand/index.js";import"../../models/data/category/index.js";import{IkasCheckout as o,IkasCheckoutCustomer as a}from"../../models/data/checkout/index.js";import{IkasCustomerAddress as c}from"../../models/data/customer/address/index.js";import"../../models/data/customer/index.js";import"../../models/data/customer-review/index.js";import"../../models/data/html-meta-data/index.js";import"../../models/data/image/index.js";import"../../models/data/installment-info/index.js";import"../../models/data/order/index.js";import"../../models/data/order/line-item/index.js";import"../../api/product-option-file/index.js";import"../../models/data/product/index.js";import"../../models/data/variant-type/index.js";import"../../models/data/product/variant/index.js";import"../../models/data/product/variant/price/index.js";import"../../models/data/product-attribute/index.js";import"../../models/data/product/attribute-value/index.js";import"../../models/data/product-filter/index.js";import"../../models/data/variant-type/variant-value/index.js";import{IkasTransactionStatusEnum as d}from"../../models/data/order-transaction/index.js";import"../../models/data/product-option-set/index.js";import"../../models/data/raffle/index.js";import"../../models/data/product-campaing/campaign/index.js";import"../../models/theme/theme.js";import"../../models/theme/page/index.js";import"../../models/theme/component/prop/index.js";import"../../models/theme/page/component/prop-value/link.js";import"../../models/ui/brand-list/index.js";import"../../models/ui/blog-list/index.js";import"../../models/ui/blog-category-list/index.js";import"../../models/ui/category-list/index.js";import"../../models/ui/product-detail/index.js";import"../../models/ui/product-list/index.js";import"../../models/ui/product-attribute-detail/index.js";import"../../models/ui/product-attribute-list/index.js";import"../../models/ui/customer-review-list/index.js";import"../../models/ui/validator/index.js";import"../../models/ui/validator/rules/index.js";import"../../models/ui/validator/form/login.js";import"../../models/ui/validator/form/address.js";import"../../models/ui/validator/form/register.js";import"../../models/ui/validator/form/contact-form.js";import"../../models/ui/validator/form/forgot-password.js";import"../../models/ui/validator/form/recover-password.js";import"../../models/ui/validator/form/account-info.js";import"../../models/ui/validator/form/raffle-form.js";import"../../models/ui/validator/form/customer-review.js";import"../../models/ui/raffle-list/index.js";import"../../models/theme/settings/index.js";import"../../models/theme/custom-data/index.js";import{IkasOrderAddress as u}from"../../models/data/order/address/index.js";import{IkasPaymentMethodType as h,IkasPaymentGatewayType as l}from"../../models/data/payment-gateway/index.js";import"../../api/blog/index.js";import"../../api/brand/index.js";import"../../api/cart/index.js";import"../../api/category/index.js";import{IkasCheckoutAPI as p}from"../../api/checkout/index.js";import"../../api/city/index.js";import{IkasCountryAPI as m}from"../../api/country/index.js";import{IkasCustomerAPI as f}from"../../api/customer/index.js";import"../../api/customer-review/index.js";import"../../api/district/index.js";import"../../api/html-meta-data/index.js";import{IkasMerchantAPI as g}from"../../api/merchant/index.js";import"../../api/product-search/index.js";import"../../api/apollo.js";import"../../api/favorite-product/index.js";import"../../api/contact-form/index.js";import"../../api/state/index.js";import"../../api/product-option-set/index.js";import"../../api/raffle/index.js";import"../../api/back-in-stock-reminder/index.js";import"../../api/product-campaign/index.js";import v from"./components/credit-card-form/model.js";import{IkasStorefrontConfig as S}from"../../storefront/index.js";import{IkasCheckoutSettings as k}from"../../models/data/checkout-settings/index.js";import{Analytics as y}from"../../analytics/analytics.js";import"../../analytics/head/index.js";import C from'../../ext/uuid/dist/esm-browser/v4.js';var b,I,P=/^\d+$/,A="undefined"==typeof localStorage,j=function(){function P(P,j,w,x,E,O,T,D){var G=this;this.checkout=new o,this.checkoutSettings=new k,this.storefront=null,this.store=S.store,this.isCheckoutLoaded=!1,this.isErrorsVisible=!1,this.isStepLoading=!1,this.isTermsAndConditionsChecked=!1,this.isChangingShippingMethod=!1,this.isContactModalVisible=!1,this.step=b.INFO,this.cardData=null,this.paymentGateways=[],this.installmentInfo=null,this.useDifferentAddress=!1,this.shouldSaveAddress=!1,this.addressTitle="",this.shippingCountryIds=null,this.selectedShippingAddressId="-1",this.selectedBillingAddressId="-1",this.policyModalTitle="",this.policyModalText="",this.error=null,this.init=function(){return t(G,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,this.store.customerStore.waitUntilInitialized()];case 1:return t.sent(),this.createCustomer(),this.createShippingAddress(),this.createBillingAddress(),[4,this.getMerchantSettings()];case 2:return t.sent(),[4,this.initStep()];case 3:return t.sent(),[2]}}))}))},this.initStep=function(){return t(G,void 0,void 0,(function(){var t,i,s,n,r,o,a;return e(this,(function(e){switch(e.label){case 0:if(S.isEditor)return this.step=b.INFO,this.isCheckoutLoaded=!0,[2];if(t=new URLSearchParams(window.location.search),i=t.get("step"),s=t.get("failed"),n=t.get("error"),i){if(this.step=i,this.step===b.SHIPPING&&!this.canProceedToShipping)return[2,this.changeStep(b.INFO)];if(this.step===b.PAYMENT&&!this.canProceedToPayment)return[2,this.changeStep(b.INFO)];if(![b.INFO,b.SUCCESS,b.SHIPPING,b.PAYMENT].includes(this.step))return[2,this.changeStep(b.INFO)]}return s&&(this.error={type:I.PAYMENT_ERROR,data:n||null}),this.step!==b.INFO?[3,2]:[4,this.getShippingCountries()];case 1:e.sent(),this.checkShippingCountries(),e.label=2;case 2:return this.step!==b.SHIPPING||1!==this.checkout.availableShippingMethods.length||this.checkoutSettings.isGiftPackageEnabled||(this.step=b.PAYMENT,this.router.replace("/checkout?id=".concat(this.checkout.id,"&step=").concat(this.step),void 0,{shallow:!0})),this.step!==b.SHIPPING||this.checkout.availableShippingMethods.length?this.step!==b.PAYMENT&&this.step!==b.SUCCESS?[3,4]:[4,this.listPaymentGateways()]:(this.error={type:I.NO_SHIPPING_ERROR},this.isCheckoutLoaded=!0,[2]);case 3:if(e.sent(),!this.paymentGateways.length)return this.error={type:I.NO_SHIPPING_ERROR},this.isCheckoutLoaded=!0,[2];e.label=4;case 4:return this.step===b.SUCCESS?[3,8]:this.checkout.isComplete?[2,this.changeStep(b.SUCCESS)]:[3,5];case 5:return[4,this.initialStockCheck()];case 6:e.sent(),e.label=7;case 7:return[3,11];case 8:return r=this,[4,p.getOrder(this.checkout.orderId)];case 9:return r.order=e.sent(),[4,f.getOrderTransactions({orderId:this.checkout.orderId})];case 10:o=e.sent(),this.successTransaction=o.length?o[0]:void 0,this.successTransaction&&(a=this.successTransaction.paymentGatewayId,this.checkout.selectedPaymentGateway=this.paymentGateways.find((function(t){return t.id===a}))),e.label=11;case 11:return this.isCheckoutLoaded=!0,y.checkoutStep(this.checkout,this.step),[2]}}))}))},this.getMerchantSettings=function(){return t(G,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return this.merchantSettings?[3,2]:(t=this,[4,g.listMerchantSettings()]);case 1:t.merchantSettings=e.sent(),e.label=2;case 2:return[2]}}))}))},this.saveCheckout=function(){return t(G,void 0,void 0,(function(){var t,i,s;return e(this,(function(e){switch(e.label){case 0:return[4,p.saveCheckout(this.checkout)];case 1:if((null==(t=e.sent())?void 0:t.errors)&&t.errors.length)throw i=t.errors[0],"CUSTOMER_LOGIN_REQUIRED"===(null===(s=i.extensions)||void 0===s?void 0:s.code)?{type:I.CUSTOMER_LOGIN_REQUIRED_ERROR}:{type:I.API_ERROR};return[2]}}))}))},this.checkStocks=function(){return t(G,void 0,void 0,(function(){var t,i,s,n,r,o,a,c,d,u,h;return e(this,(function(e){switch(e.label){case 0:return t=this.cart.items.map((function(t){return{quantity:t.quantity,variantId:t.variant.id,productId:t.variant.productId}})),[4,p.checkStocks(t,S.stockLocationIds||[])];case 1:if(!(i=e.sent()))throw{type:I.API_ERROR};if(null==(s=null===(u=i.lines)||void 0===u?void 0:u.filter((function(t){return!t.isAvailable})))?void 0:s.length){for(n=[],r=function(t){var e=null===(h=o.store.cartStore.cart)||void 0===h?void 0:h.items.find((function(e){return e.variant.id===t.variantId}));e&&n.push(e)},o=this,a=0,c=s;a<c.length;a++)d=c[a],r(d);throw{type:I.STOCK_ERROR,data:n}}return[2]}}))}))},this.removeUnavailableItems=function(i){return t(G,void 0,void 0,(function(){var t,s,n;return e(this,(function(e){switch(e.label){case 0:t=0,s=i,e.label=1;case 1:return t<s.length?(n=s[t],[4,this.store.cartStore.removeItem(n)]):[3,4];case 2:e.sent(),e.label=3;case 3:return t++,[3,1];case 4:return[2]}}))}))},this.getShippingCountries=function(){return t(G,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return t=this,[4,m.listShippingCountries(S.salesChannelId)];case 1:return t.shippingCountryIds=e.sent(),[2]}}))}))},this.checkShippingCountries=function(){var t;(null===(t=G.shippingCountryIds)||void 0===t?void 0:t.length)||(G.error={type:I.NO_SHIPPING_ERROR})},this.initialStockCheck=function(){return t(G,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.checkStocks()];case 1:return e.sent(),[3,3];case 2:return(t=e.sent()).type?this.error=t:(console.log(t),this.error={type:I.UNKNOWN}),[3,3];case 3:return[2]}}))}))},this.listPaymentGateways=function(){return t(G,void 0,void 0,(function(){var t,i,s,n,o,a,c=this;return e(this,(function(e){switch(e.label){case 0:return t="local"===process.env.NEXT_PUBLIC_ENV,i=S.paymentGateways.map((function(t){return t.id})),[4,p.listPaymentGateway(t?void 0:i)];case 1:return(s=e.sent())&&s.length?(this.step===b.PAYMENT&&(s=s.filter((function(t){return!t.supportedCurrencies.length||t.supportedCurrencies.includes(c.checkout.cart.currencyCode)})),(n=null===(a=this.checkout.shippingAddress)||void 0===a?void 0:a.country)&&n.iso2&&(s=s.filter((function(t){return!t.availableCountries.length||t.availableCountries.includes(n.iso2||"")})))),o=[],r(S.paymentGateways,"order").forEach((function(t){var e=null==s?void 0:s.find((function(e){return e.id===t.id}));e&&o.push(e)})),this.paymentGateways=t?s:o,this.checkout.selectedPaymentGateway||this.setPaymentGateway(0),[2]):(this.error={type:I.API_ERROR},[2])}}))}))},this.retrieveInstallmentInfo=function(i){return t(G,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,p.retrieveInstallmentInfo(i)];case 1:return null==(t=e.sent())||t.installmentPrices.sort((function(t,e){return(t.installmentCount||-1)>(e.installmentCount||-1)?1:-1})),this.installmentInfo=t,[2]}}))}))},this.createCustomer=function(){G.store.customerStore.customer?(G.store.customerStore.customer.addresses.forEach((function(t){return t.checkoutSettings=G.checkoutSettings})),G.checkout.customer=new a(G.store.customerStore.customer)):G.checkout.customer||(G.checkout.customer=new a({}))},this.createShippingAddress=function(){var t;if(G.checkout.shippingAddress)G.selectedShippingAddressId=G.checkout.shippingAddress.id||"-1",G.checkout.shippingAddress.checkoutSettings=G.checkoutSettings;else{var e=null===(t=G.store.customerStore.customer)||void 0===t?void 0:t.addresses;G.onSelectedShippingAddressIdChange((null==e?void 0:e.length)?e[0].id:"-1")}},this.createBillingAddress=function(){"undefined"!=typeof localStorage&&(G.useDifferentAddress=!!localStorage.getItem("sAddr"),G.useDifferentAddress?(G.checkout.billingAddress&&(G.selectedBillingAddressId=G.checkout.billingAddress.id||"-1"),G.checkout.billingAddress=G.checkout.billingAddress||new u):G.checkout.billingAddress=new u(n(G.checkout.shippingAddress)||{}),G.checkout.billingAddress.checkoutSettings=G.checkoutSettings)},this.onShippingMethodChange=function(i){return t(G,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return this.isChangingShippingMethod?[2]:(this.isChangingShippingMethod=!0,this.checkout.shippingSettingsId=i.shippingSettingsId,this.checkout.shippingZoneRateId=i.shippingZoneRateId,[4,this.saveCheckout()]);case 1:return e.sent(),[4,p.getCheckoutById(this.checkout.id)];case 2:return(t=e.sent())&&(this.checkout=t),this.isChangingShippingMethod=!1,[2]}}))}))},this.onCouponCodeApply=function(){return t(G,void 0,void 0,(function(){var t,s;return e(this,(function(e){switch(e.label){case 0:if(!this.checkout.couponCode)return[2];e.label=1;case 1:return e.trys.push([1,5,,6]),[4,p.addCouponCodeToCheckout(this.checkout.id,this.checkout.couponCode)];case 2:return e.sent()?[4,p.getCheckoutById(this.checkout.id)]:[3,4];case 3:(t=e.sent())&&(s=this.checkout,this.checkout=new o(i(i({},t),{shippingAddress:s.shippingAddress,billingAddress:s.billingAddress,customer:s.customer}))),e.label=4;case 4:return[3,6];case 5:return e.sent(),[3,6];case 6:return[2]}}))}))},this.onCouponCodeDelete=function(){return t(G,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,3,,4]),[4,this.saveCheckout()];case 1:return e.sent(),[4,p.getCheckoutById(this.checkout.id)];case 2:return(t=e.sent())&&(this.checkout=t),[3,4];case 3:return e.sent(),[3,4];case 4:return[2]}}))}))},this.onSelectedShippingAddressIdChange=function(t){var e;if(G.selectedShippingAddressId=t,"-1"===t)G.checkout.shippingAddress=new u;else{var i=null===(e=G.store.customerStore.customer)||void 0===e?void 0:e.addresses.find((function(e){return e.id===t}));i&&(G.checkout.shippingAddress=new u(i))}G.checkout.shippingAddress&&(G.checkout.shippingAddress.checkoutSettings=G.checkoutSettings)},this.onSelectedBillingAddressIdChange=function(t){var e;if(G.selectedBillingAddressId=t,"-1"===t)G.checkout.billingAddress=new u;else{var i=null===(e=G.store.customerStore.customer)||void 0===e?void 0:e.addresses.find((function(e){return e.id===t}));i&&(G.checkout.billingAddress=new u(i))}G.checkout.billingAddress&&(G.checkout.billingAddress.checkoutSettings=G.checkoutSettings)},this.onTermsAndConditionsCheckedChange=function(t){G.isTermsAndConditionsChecked=t},this.onCardNumberChange=function(t){if(G.cardData&&(!(t.length>G.cardData.cardNumber.length)||N(t))){var e=(G.cardData.cardNumber||"").split(" ").join(""),i=t.split(" ").join("");i.length>16||(e.length<6&&i.length>=6&&!G.installmentInfo?G.retrieveInstallmentInfo({binNumber:i.slice(0,6),paymentGatewayId:G.checkout.selectedPaymentGateway.id,price:G.checkout.totalFinalPrice}):i.length<6&&e.length>i.length&&(G.cardData.installmentCount=1,G.installmentInfo=void 0),G.cardData.cardNumber=R(i,4).join(" "))}},this.onCardHolderNameChange=function(t){G.cardData&&(G.cardData.cardHolderName=t)},this.onExpirationDateChange=function(t){var e;if(G.cardData&&(!(t.length>G.cardData.expirationDate.length)||N(t))){if(0===(null===(e=G.cardData.expirationDate)||void 0===e?void 0:e.length)){var i=t.split("/");if(2===i.length){var s=i[0].trim(),n=i[1].trim();if(4===s.length&&2===n.length){var r=parseInt(s.slice(2)),o=parseInt(n);if(!isNaN(r)&&!isNaN(o))return void(G.cardData.expirationDate="".concat(o<10?"0"+o:o," / ").concat(r<10?"0"+r:r))}if(2===s.length&&4===n.length){o=parseInt(s),r=parseInt(n.slice(2));if(!isNaN(r)&&!isNaN(o))return void(G.cardData.expirationDate="".concat(o<10?"0"+o:o," / ").concat(r<10?"0"+r:r))}}}var a=t.split(" / ").join("");a.length>4||(G.cardData.expirationDate=R(a,2).join(" / "))}},this.onCvcChange=function(t){G.cardData&&(t.length>G.cardData.cvv.length&&!N(t)||t.length>4||(G.cardData.cvv=t))},this.saveAddress=function(s){return t(G,void 0,void 0,(function(){var t,r;return e(this,(function(e){switch(e.label){case 0:return this.shouldSaveAddress?(t=new c(i(i({},"shipping"===s?this.checkout.shippingAddress:this.checkout.billingAddress),{title:this.addressTitle||this.t("checkout-page:newAddress"),id:C()})),(r=n(this.store.customerStore.customer)).addresses.push(t),[4,this.store.customerStore.saveCustomer(r)]):[3,2];case 1:e.sent(),"shipping"===s?(this.checkout.shippingAddress.id=t.id,this.selectedShippingAddressId=t.id||"-1"):(this.checkout.billingAddress.id=t.id,this.selectedBillingAddressId=t.id||"-1"),e.label=2;case 2:return[2]}}))}))},this.onGoToCartClick=function(){G.router.push("/cart")},this.onBackToShoppingClick=function(){G.router.push("/")},this.onProceedToShippingClick=function(){return t(G,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:if(!this.canProceedToShipping)return this.isErrorsVisible=!0,[2];this.isErrorsVisible=!1,e.label=1;case 1:return e.trys.push([1,5,,6]),this.isStepLoading=!0,[4,this.saveAddress("shipping")];case 2:return e.sent(),[4,this.checkStocks()];case 3:return e.sent(),[4,this.saveCheckout()];case 4:return e.sent(),this.changeStep(b.SHIPPING),[3,6];case 5:return(t=e.sent()).type?this.error=t:(console.log(t),this.error={type:I.UNKNOWN}),this.isStepLoading=!1,[3,6];case 6:return[2]}}))}))},this.onProceedToPaymentClick=function(){return t(G,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:if(!this.canProceedToPayment)return this.isErrorsVisible=!0,[2];this.isErrorsVisible=!1,e.label=1;case 1:return e.trys.push([1,4,,5]),this.isStepLoading=!0,[4,this.checkStocks()];case 2:return e.sent(),[4,this.saveCheckout()];case 3:return e.sent(),this.error=void 0,this.changeStep(b.PAYMENT),[3,5];case 4:return(t=e.sent()).type?this.error=t:(console.log(t),this.error={type:I.UNKNOWN}),this.isStepLoading=!1,[3,5];case 5:return[2]}}))}))},this.onCompletePaymentClick=function(){return t(G,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:if(!this.canPerformPayment)return this.isErrorsVisible=!0,[2];this.useDifferentAddress||(this.checkout.billingAddress=this.checkout.shippingAddress),e.label=1;case 1:return e.trys.push([1,6,,7]),this.isErrorsVisible=!1,this.isStepLoading=!0,[4,this.checkStocks()];case 2:return e.sent(),[4,this.saveAddress("billing")];case 3:return e.sent(),[4,this.saveCheckout()];case 4:return e.sent(),[4,this.createSaleTransaction()];case 5:return e.sent(),[3,7];case 6:return(t=e.sent()).type?this.error=t:this.error={type:I.UNKNOWN},this.isStepLoading=!1,[3,7];case 7:return[2]}}))}))},this.createSaleTransaction=function(){return t(G,void 0,void 0,(function(){var t,i,s,n;return e(this,(function(e){switch(e.label){case 0:return this.checkout.selectedPaymentGateway?[4,p.createSaleTransactionWithCheckout(this.checkout.id,this.checkout.selectedPaymentGateway.id,this.checkout.selectedPaymentGateway.paymentMethodType===h.CREDIT_CARD&&this.checkout.selectedPaymentGateway.type===l.INTERNAL&&this.cardData?this.cardData.toInput():void 0)]:[2];case 1:return t=e.sent(),i=null==t?void 0:t.transactionStatus,s=i&&[d.SUCCESS,d.AUTHORIZED].includes(i),n=i===d.PENDING,s?[4,this.onCheckoutTransactionSuccess()]:[3,3];case 2:return e.sent(),[3,4];case 3:if(!n||!(null==t?void 0:t.returnSlug))throw{type:I.UNKNOWN};window.location.href=process.env.NEXT_PUBLIC_BASE_URL+t.returnSlug,e.label=4;case 4:return[2]}}))}))},this.onCheckoutTransactionSuccess=function(){return t(G,void 0,void 0,(function(){var t,i;return e(this,(function(e){switch(e.label){case 0:return localStorage.removeItem("sAddr"),(null===(t=this.checkout.customer)||void 0===t?void 0:t.notificationsAccepted)?[4,this.store.customerStore.createEmailSubscription((null===(i=this.checkout.customer)||void 0===i?void 0:i.email)||"")]:[3,2];case 1:e.sent(),e.label=2;case 2:return this.changeStep(b.SUCCESS),[2]}}))}))},this.onBackToInfoClick=function(){G.changeStep(b.INFO)},this.onBackToShippingClick=function(){G.changeStep(b.SHIPPING)},this.setCustomerConsentGranted=function(t){G.checkout.customer&&(G.checkout.customer.notificationsAccepted=t)},this.setUseDifferentAddress=function(t){G.useDifferentAddress=t,G.useDifferentAddress?(localStorage.setItem("sAddr","1"),G.checkout.billingAddress=G.checkout.billingAddress||new u):(localStorage.removeItem("sAddr"),G.checkout.billingAddress=G.checkout.shippingAddress)},this.setShouldSaveAddress=function(t){G.shouldSaveAddress=t},this.setAddressTitle=function(t){G.addressTitle=t},this.setPaymentGateway=function(t){if(G.paymentGateways.length){var e=G.paymentGateways[t];G.checkout.selectedPaymentGateway=e,G.step!==b.SUCCESS&&(e.paymentMethodType===h.CREDIT_CARD&&e.type===l.INTERNAL&&(G.cardData=new v),G.installmentInfo=void 0)}},this.setInstallmentCount=function(t){G.cardData&&(G.cardData.installmentCount=t)},this.changeStep=function(i){return t(G,void 0,void 0,(function(){return e(this,(function(t){return A||window.location.replace("".concat(window.location.pathname,"?id=").concat(this.checkout.id,"&step=").concat(i)),[2]}))}))},this.logout=function(){return t(G,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:this.checkout.customer=void 0,this.store.customerStore.logout(),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.saveCheckout()];case 2:case 3:return t.sent(),[3,4];case 4:return this.createCustomer(),[2]}}))}))},this.setContactModalVisible=function(t){G.isContactModalVisible=t},this.checkout=P,this.checkoutSettings=j,this.router=x,this.returnPolicy=E,this.privacyPolicy=O,this.termsOfService=T,this.t=D,w&&(this.merchantSettings=w),this.isTermsAndConditionsChecked=this.checkoutSettings.isTermsAndConditionsDefaultChecked,this.store.cartStore.cart=this.checkout.cart,this.init(),s(this)}return Object.defineProperty(P.prototype,"cart",{get:function(){return this.checkout.cart},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"selectedPaymentGatewayIndex",{get:function(){var t=this;return this.paymentGateways.findIndex((function(e){var i;return e.id===(null===(i=t.checkout.selectedPaymentGateway)||void 0===i?void 0:i.id)}))},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"selectedInstallmentIndex",{get:function(){var t,e=this;return(null===(t=this.installmentInfo)||void 0===t?void 0:t.installmentPrices.findIndex((function(t){var i;return t.installmentCount===(null===(i=e.cardData)||void 0===i?void 0:i.installmentCount)})))||0},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"checkoutUrl",{get:function(){return"/checkout?id=".concat(this.checkout.id,"&step=info")},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"customerAddressOptions",{get:function(){var t,e={label:this.t("checkout-page:newAddress"),value:"-1"},i=(null===(t=this.store.customerStore.customer)||void 0===t?void 0:t.addresses.map((function(t){return{label:t.title+" - "+t.addressText,value:t.id}})))||[];return[e].concat(i)},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"installmentPrice",{get:function(){var t,e,i=this;if(this.installmentInfo&&(null===(t=this.cardData)||void 0===t?void 0:t.installmentCount))return null===(e=this.installmentInfo.installmentPrices.find((function(t){var e;return t.installmentCount===(null===(e=i.cardData)||void 0===e?void 0:e.installmentCount)})))||void 0===e?void 0:e.totalPrice},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"installmentExtraPrice",{get:function(){if(this.installmentPrice&&this.checkout.totalFinalPrice)return this.installmentPrice-this.checkout.totalFinalPrice},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"finalPrice",{get:function(){return this.step===b.SUCCESS?this.checkout.totalFinalPrice:this.installmentPrice||this.checkout.$totalFinalPrice},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"hasStockError",{get:function(){var t;return(null===(t=this.error)||void 0===t?void 0:t.type)===I.STOCK_ERROR},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"canProceedToShipping",{get:function(){var t,e;return(null===(t=this.checkout.shippingAddress)||void 0===t?void 0:t.isValid)&&this.checkout.hasValidCustomer&&(null===(e=this.error)||void 0===e?void 0:e.type)!==I.NO_SHIPPING_ERROR},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"canProceedToPayment",{get:function(){return this.canProceedToShipping},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"canPerformPayment",{get:function(){var t,e;if(this.checkoutSettings.showTermsAndConditionsCheckbox&&!this.isTermsAndConditionsChecked)return!1;var i=this.checkout.selectedPaymentGateway;return this.canProceedToShipping&&!!(null===(t=this.checkout.billingAddress)||void 0===t?void 0:t.isValid)&&((null==i?void 0:i.paymentMethodType)!==h.CREDIT_CARD||i.type!==l.INTERNAL||(null===(e=this.cardData)||void 0===e?void 0:e.isValid))},enumerable:!1,configurable:!0}),P}();function R(t,e){return t.match(new RegExp(".{1,"+e+"}","g"))||[]}function N(t){return t&&P.test(t.charAt(t.length-1))}!function(t){t.INFO="info",t.SHIPPING="shipping",t.PAYMENT="payment",t.SUCCESS="success"}(b||(b={})),function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.API_ERROR=1]="API_ERROR",t[t.STOCK_ERROR=2]="STOCK_ERROR",t[t.PAYMENT_ERROR=3]="PAYMENT_ERROR",t[t.NO_SHIPPING_ERROR=4]="NO_SHIPPING_ERROR",t[t.CUSTOMER_LOGIN_REQUIRED_ERROR=5]="CUSTOMER_LOGIN_REQUIRED_ERROR"}(I||(I={}));export{b as CheckoutStep,I as ErrorType,j as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as o}from"mobx-react-lite";import{FormItem as t}from"../../components/form-item/index.js";import{FormItemType as r,FormItemInputType as m}from"../../components/form-item/model.js";import{Button as s}from"../../components/button/index.js";import{Checkbox as i}from"../../components/checkbox/index.js";import n from"../../components/error/index.js";import c from"../../styles/common.module.scss.js";import a from"../../components/customer-addresses/index.js";import l from"../../components/customer-addresses/model.js";import"../../../../storefront/index.js";import'../../../../ext/lodash/isArguments.js';import'../../../../ext/lodash/isBuffer.js';import'../../../../ext/lodash/isTypedArray.js';import'../../../../ext/lodash/_baseGetTag.js';import{useTranslation as u}from"../../../../utils/i18n.js";var p=o((function(o){var p,d,h,f=o.vm,g=u().t,k=e.useCallback((function(e){f.checkout.customer&&(f.checkout.customer.email=e?e.trim():e)}),[f,f.checkout,f.checkout.customer]),v=e.useMemo((function(){return new l(f,"shipping")}),[f]);return e.createElement("div",null,e.createElement(n,{vm:f}),!f.checkout.hasCustomer&&e.createElement("div",{style:{marginTop:"8px",marginBottom:"40px"}},e.createElement("div",{className:c.FormSectionTitle},e.createElement("div",{className:c.Title},g("checkout-page:contactInfo"))),e.createElement(t,{type:r.TEXT,inputType:m.EMAIL,label:g("checkout-page:email"),autocomplete:"email",value:(null===(p=f.checkout.customer)||void 0===p?void 0:p.email)||"",onChange:k,hasError:f.isErrorsVisible&&!(null===(d=f.checkout.customer)||void 0===d?void 0:d.email),errorText:g("checkout-page:emailError"),tooltipText:g("checkout-page:guestEmailTooltip")}),e.createElement(i,{value:(null===(h=f.checkout.customer)||void 0===h?void 0:h.notificationsAccepted)||!1,label:g("checkout-page:customerConsentCta"),onChange:f.setCustomerConsentGranted})),e.createElement(a,{vm:v}),!v.editingCustomerAddress&&e.createElement(s,{style:{width:"100%",marginTop:f.store.customerStore.customer?"0px":"32px"},text:g("checkout-page:actions.continueWithShipping"),isLoading:f.isStepLoading,isDisabled:!f.canProceedToShipping,onClick:f.onProceedToShippingClick}))}));export{p as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as r}from"mobx-react-lite";import{Checkbox as s}from"../../../components/checkbox/index.js";import o from"../../../components/customer-addresses/model.js";import t from"../../../components/customer-addresses/index.js";import"../../../../../storefront/index.js";import'../../../../../ext/lodash/isArguments.js';import'../../../../../ext/lodash/isBuffer.js';import'../../../../../ext/lodash/isTypedArray.js';import'../../../../../ext/lodash/_baseGetTag.js';import{useTranslation as n}from"../../../../../utils/i18n.js";var i=r((function(r){var i=r.vm,m=n().t,d=e.useMemo((function(){return new o(i,"billing")}),[i]);return e.createElement(e.Fragment,null,e.createElement("div",{style:{marginTop:"32px",marginBottom:i.useDifferentAddress?"24px":"0px"}},e.createElement(s,{value:!i.useDifferentAddress,hasError:i.isErrorsVisible&&!i.isTermsAndConditionsChecked,label:m("checkout-page:useShippingForBilling"),onChange:function(e){return i.setUseDifferentAddress(!e)}})),i.useDifferentAddress&&e.createElement(t,{vm:d}))}));export{i as BillingAddress};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as o}from"mobx-react-lite";import{Checkbox as t}from"../../components/checkbox/index.js";import a from"../../components/error/index.js";import{PaymentGateways as r}from"./payment-gateways/index.js";import{BillingAddress as i}from"./billing-address/index.js";import n from"./style.module.scss.js";import{Button as s}from"../../components/button/index.js";import c from"../../components/svg/lock.js";import{IkasStorefrontConfig as m}from"../../../../storefront/index.js";import'../../../../ext/lodash/isArguments.js';import'../../../../ext/lodash/isBuffer.js';import'../../../../ext/lodash/isTypedArray.js';import'../../../../ext/lodash/_baseGetTag.js';import{createTranslationInputData as l,useTranslation as p}from"../../../../utils/i18n.js";var d=o((function(o){var d=o.vm,u=p().t,y=e.useCallback((function(e){e.stopPropagation(),d.policyModalTitle=u("checkout-page:privacyPolicy"),d.policyModalText=d.privacyPolicy}),[d,d.privacyPolicy]),k=e.useCallback((function(e){e.stopPropagation(),d.policyModalTitle=u("checkout-page:termsOfService"),d.policyModalText=d.termsOfService}),[d,d.termsOfService]),f=m.translations["checkout-page"],v=l(f.ackPoliciesSentence).map((function(o){return o.isVariable?e.createElement("span",{className:n.TermsLabelSpan,onClick:"{{ ackPrivacyPolicy }}"===o.value?y:k},"{{ ackPrivacyPolicy }}"===o.value?u("checkout-page:ackPrivacyPolicy"):u("checkout-page:ackTermsOfService")):o.value}));return e.createElement("div",{className:[n.StepPayment].join(" ")},e.createElement(a,{vm:d}),e.createElement(r,{vm:d}),e.createElement(i,{vm:d}),d.checkoutSettings.showTermsAndConditionsCheckbox&&e.createElement("div",{style:{marginTop:d.useDifferentAddress?"12px":"0px"}},e.createElement(t,{value:d.isTermsAndConditionsChecked,hasError:d.isErrorsVisible&&!d.isTermsAndConditionsChecked,label:e.createElement(e.Fragment,null,v),onChange:d.onTermsAndConditionsCheckedChange})),e.createElement(s,{style:{width:"100%",marginTop:"24px"},text:u("checkout-page:actions.completeOrder"),isLoading:d.isStepLoading,isDisabled:!d.canPerformPayment,onClick:d.onCompletePaymentClick}),!!u("checkout-page:securePaymentTooltip")&&e.createElement("div",{className:n.SecurePaymentContainer},e.createElement("span",{className:n.Lock},e.createElement(c,null)),e.createElement("span",null,u("checkout-page:securePaymentTooltip"))))}));export{d as CheckoutStepPayment};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as t}from"mobx-react-lite";import{IkasPaymentMethodType as n,IkasPaymentGatewayType as o,IkasPaymentGatewayAdditionalPriceAmountType as r,IkasPaymentMethodAdditionalPriceType as a}from"../../../../../models/data/payment-gateway/index.js";import{CreditCardForm as m}from"../../../components/credit-card-form/index.js";import{Installments as l}from"./installments/index.js";import i from"../../../components/select-box/index.js";import s from"./style.module.scss.js";import"../../../../../storefront/index.js";import'../../../../../ext/lodash/isArguments.js';import'../../../../../ext/lodash/isBuffer.js';import'../../../../../ext/lodash/isTypedArray.js';import'../../../../../ext/lodash/_baseGetTag.js';import{formatMoney as c}from"../../../../../utils/currency.js";import{useTranslation as d}from"../../../../../utils/i18n.js";import p from"../../../components/svg/external.js";var u=t((function(t){var u=t.vm,y=d().t,f=function(t){return e.createElement("div",{style:{display:"flex",justifyContent:"flex-end",alignItems:"center",flexWrap:"wrap"}},t.children)},E=function(t){return e.createElement("div",{className:s.AdditionalPrice},t.children)};return e.createElement(e.Fragment,null,u.paymentGateways.map((function(t,d){var g,h;return e.createElement(i,{key:t.id,label:t.paymentMethodType===n.CREDIT_CARD&&t.type===o.INTERNAL?y("checkout-page:creditCard"):t.name,isSelected:u.selectedPaymentGatewayIndex===d,rightContent:(null===(g=t.additionalPrices)||void 0===g?void 0:g.length)?e.createElement(E,null,(h=t.additionalPrices[0],0===h.amount?"":"".concat(h.amountType===r.AMOUNT?c(h.amount,u.cart.currencyCode):" %"+h.amount).concat(h.type===a.DECREMENT?" "+y("checkout-page:paymentMethodDiscount"):" "+y("checkout-page:paymentMethodAdditionalPrice")))):e.createElement(f,null,!!t.logoUrl&&e.createElement("div",{className:s.PaymentLogoContainer},e.createElement("img",{src:t.logoUrl}))),bottomContent:t.paymentMethodType===n.CREDIT_CARD&&t.type===o.INTERNAL?e.createElement("div",null,e.createElement(m,{vm:u}),u.installmentInfo&&e.createElement(l,{vm:u})):t.description?e.createElement(e.Fragment,null,t.type===o.EXTERNAL&&e.createElement("div",{style:{height:"52px",display:"flex",justifyContent:"center",margin:"24px 0"}},e.createElement(p,null)),e.createElement("div",{dangerouslySetInnerHTML:{__html:t.description}})):void 0,onClick:function(){return u.selectedPaymentGatewayIndex!==d&&u.setPaymentGateway(d)}})})))}));export{u as PaymentGateways};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as t}from"mobx-react-lite";import"../../../../../../storefront/index.js";import'../../../../../../ext/lodash/isArguments.js';import'../../../../../../ext/lodash/isBuffer.js';import'../../../../../../ext/lodash/isTypedArray.js';import'../../../../../../ext/lodash/_baseGetTag.js';import{formatMoney as n}from"../../../../../../utils/currency.js";import{useTranslation as l}from"../../../../../../utils/i18n.js";import s from"./style.module.scss.js";import{Toggle as a}from"../../../../components/toggle/index.js";var o=t((function(t){var o,m=t.vm,r=l().t;return e.createElement("div",{className:s.Installments},e.createElement("div",{className:s.Title},r("checkout-page:installmentOptions")),e.createElement("div",{className:s.Container},null===(o=m.installmentInfo)||void 0===o?void 0:o.installmentPrices.map((function(t,l){return e.createElement("div",{className:s.Row,onClick:function(){return m.setInstallmentCount(t.installmentCount||1)}},e.createElement(a,{value:m.selectedInstallmentIndex===l}),e.createElement("div",{className:s.InstallmentInfo},e.createElement("div",{className:s.InstallmentCount},1===t.installmentCount?r("checkout-page:singleInstallment"):"".concat(t.installmentCount," ").concat(r("checkout-page:installments"))),1!==t.installmentCount&&e.createElement("div",{className:s.InstallmentPrice},n(t.installmentPrice,m.checkout.cart.currencyCode))),e.createElement("div",{className:s.Price},n(t.totalPrice,m.checkout.cart.currencyCode)))}))))}));export{o as Installments};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'../../../../../../ext/style-inject/dist/style-inject.es.js';var l={Installments:"style-module_Installments__aM2lS",Title:"style-module_Title__15N6L",Container:"style-module_Container__12sJp",Row:"style-module_Row__dxeKi",InstallmentInfo:"style-module_InstallmentInfo__G8QDB",InstallmentCount:"style-module_InstallmentCount__22FOH",InstallmentPrice:"style-module_InstallmentPrice__1cJHw",Price:"style-module_Price__3gzwQ"};e(".style-module_Installments__aM2lS {\n margin-top: 32px;\n}\n.style-module_Installments__aM2lS .style-module_Title__15N6L {\n font-size: 16px;\n line-height: 24px;\n margin-bottom: 16px;\n}\n.style-module_Installments__aM2lS .style-module_Container__12sJp {\n border: 1px solid var(--checkout-border-color);\n border-radius: 8px;\n background: var(--checkout-primary-bg-color);\n}\n.style-module_Installments__aM2lS .style-module_Container__12sJp .style-module_Row__dxeKi {\n height: 56px;\n display: flex;\n align-items: center;\n padding: 0 16px;\n border-bottom: 1px solid var(--checkout-border-color);\n}\n.style-module_Installments__aM2lS .style-module_Container__12sJp .style-module_Row__dxeKi:last-of-type {\n border-bottom: none;\n}\n.style-module_Installments__aM2lS .style-module_Container__12sJp .style-module_Row__dxeKi .style-module_InstallmentInfo__G8QDB {\n flex: 1 1 auto;\n}\n.style-module_Installments__aM2lS .style-module_Container__12sJp .style-module_Row__dxeKi .style-module_InstallmentInfo__G8QDB .style-module_InstallmentCount__22FOH {\n font-size: 16px;\n}\n.style-module_Installments__aM2lS .style-module_Container__12sJp .style-module_Row__dxeKi .style-module_InstallmentInfo__G8QDB .style-module_InstallmentPrice__1cJHw {\n font-size: 12px;\n color: var(--checkout-secondary-text-color);\n}\n.style-module_Installments__aM2lS .style-module_Container__12sJp .style-module_Row__dxeKi .style-module_Price__3gzwQ {\n flex: 0 0 auto;\n font-weight: 600;\n font-size: 16px;\n line-height: 24px;\n}");export{l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'../../../../../ext/style-inject/dist/style-inject.es.js';var n={PaymentLogoContainer:"style-module_PaymentLogoContainer__224HZ",AdditionalPrice:"style-module_AdditionalPrice__gW28c"};e(".style-module_PaymentLogoContainer__224HZ {\n margin-left: 10px;\n font-size: 0.7em;\n}\n.style-module_PaymentLogoContainer__224HZ img {\n height: 20px;\n}\n\n.style-module_AdditionalPrice__gW28c {\n color: var(--checkout-primary-text-color);\n font-weight: 600;\n}");export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'../../../../ext/style-inject/dist/style-inject.es.js';var t={StepPayment:"style-module_StepPayment__3STxe",TermsLabelSpan:"style-module_TermsLabelSpan__35xVC",SecurePaymentContainer:"style-module_SecurePaymentContainer__8jSz4",Lock:"style-module_Lock__2gl_x"};e(".style-module_StepPayment__3STxe {\n margin-top: 8px;\n}\n.style-module_StepPayment__3STxe .style-module_TermsLabelSpan__35xVC {\n color: var(--checkout-primary-text-color);\n}\n.style-module_StepPayment__3STxe .style-module_TermsLabelSpan__35xVC:hover {\n text-decoration: underline;\n}\n.style-module_StepPayment__3STxe .style-module_SecurePaymentContainer__8jSz4 {\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 24px;\n color: var(--checkout-secondary-text-color);\n}\n.style-module_StepPayment__3STxe .style-module_SecurePaymentContainer__8jSz4 .style-module_Lock__2gl_x {\n color: #CFCED3;\n margin-right: 8px;\n display: flex;\n align-items: center;\n position: relative;\n top: -1px;\n}");export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as t}from"mobx-react-lite";import"../../../../storefront/index.js";import'../../../../ext/lodash/isArguments.js';import'../../../../ext/lodash/isBuffer.js';import'../../../../ext/lodash/isTypedArray.js';import'../../../../ext/lodash/_baseGetTag.js';import{formatMoney as o}from"../../../../utils/currency.js";import{useTranslation as i}from"../../../../utils/i18n.js";import n from"./style.module.scss.js";import{Button as c}from"../../components/button/index.js";import{Checkbox as r}from"../../components/checkbox/index.js";import{FormItemType as a}from"../../components/form-item/model.js";import{FormItem as s}from"../../components/form-item/index.js";import m from"../../components/error/index.js";import l from"../../components/select-box/index.js";var p=t((function(t){var o=t.vm,r=i().t;return e.createElement("div",{className:[n.StepShipping].join(" ")},e.createElement(u,{vm:o}),e.createElement(d,{vm:o}),e.createElement(c,{style:{width:"100%",marginTop:"32px"},text:r("checkout-page:actions.continueWithPayment"),isLoading:o.isStepLoading,isDisabled:!o.canProceedToPayment,onClick:o.onProceedToPaymentClick}))})),u=t((function(t){var c=t.vm,r=i().t;return e.createElement("div",{className:[n.InfoBox,c.isChangingShippingMethod?n.Dimmed:""].join(" ")},e.createElement(m,{vm:c}),c.checkout.availableShippingMethods.map((function(t,i){return e.createElement(l,{key:t.shippingSettingsId+t.shippingZoneRateId,label:t.rateName,isSelected:c.checkout.shippingSettingsId===t.shippingSettingsId&&c.checkout.shippingZoneRateId===t.shippingZoneRateId,rightContent:e.createElement("div",{className:n.ShippingPrice},0===t.price?r("checkout-page:free"):o(t.price,c.checkout.cart.currencyCode)),onClick:function(){return c.onShippingMethodChange(t)}})})))})),d=t((function(t){var c=t.vm,m=i().t,l=e.useCallback((function(e){c.checkout.isGiftPackage=e}),[c]),p=e.useCallback((function(e){c.checkout.giftPackageNote=e}),[c,c.checkout]),u=e.useMemo((function(){var e;return null===(e=c.checkoutSettings.giftPackagePriceList)||void 0===e?void 0:e.find((function(e){var t;return e.currencyCode===(null===(t=c.cart)||void 0===t?void 0:t.currencyCode)}))}),[c,c.checkoutSettings,c.cart]),d=m("checkout-page:giftPackageCta")+(u&&u.price?" (+ ".concat(o(u.price,u.currencyCode),")"):"");return c.checkoutSettings.isGiftPackageEnabled?e.createElement("div",{className:n.GiftSection},e.createElement(r,{value:c.checkout.isGiftPackage,label:d,onChange:l,removePadding:!0}),c.checkout.isGiftPackage&&e.createElement(s,{type:a.TEXT_AREA,label:"",value:c.checkout.giftPackageNote||"",onChange:p,style:{marginTop:"16px"},textAreaPlaceholder:m("checkout-page:giftPackageCtaPlaceholder")})):null}));export{p as CheckoutStepShipping};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import n from'../../../../ext/style-inject/dist/style-inject.es.js';var e={BackButtonContainer:"style-module_BackButtonContainer__2bAOw",Actions:"style-module_Actions__3fU7l",StepShipping:"style-module_StepShipping__3nOPT",InfoBox:"style-module_InfoBox__kyrCZ",Dimmed:"style-module_Dimmed__3dkFw",GiftSection:"style-module_GiftSection__2phwh",ShippingPrice:"style-module_ShippingPrice__KaEps"};n(".style-module_BackButtonContainer__2bAOw {\n display: flex;\n justify-content: center;\n position: relative;\n}\n.style-module_BackButtonContainer__2bAOw a {\n line-height: 0.9em;\n}\n\n.style-module_Actions__3fU7l {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_Actions__3fU7l {\n flex-direction: column-reverse;\n justify-content: flex-start;\n }\n .style-module_Actions__3fU7l a {\n margin-top: 1em;\n }\n}\n\n.style-module_StepShipping__3nOPT {\n margin-top: 8px;\n}\n\n.style-module_InfoBox__kyrCZ.style-module_Dimmed__3dkFw {\n opacity: 0.5;\n}\n\n.style-module_GiftSection__2phwh {\n margin-top: 32px;\n}\n\n.style-module_ShippingPrice__KaEps {\n font-weight: 600;\n}");export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as t}from"mobx-react-lite";import{Button as o}from"../../components/button/index.js";import{CART_LS_KEY as a,CHECKOUT_LS_KEY as s}from"../../../../store/cart.js";import r from"./style.module.scss.js";import{Analytics as i}from"../../../../analytics/analytics.js";import"../../../../analytics/head/index.js";import n from"../../components/svg/success-circle.js";import l from"../../components/expandable-section/index.js";import{IkasTransactionCardAssociationEnum as c}from"../../../../models/data/order-transaction/index.js";import d from"../../components/credit-card-form/svg/amex.js";import m from"../../components/credit-card-form/svg/master-card.js";import u from"../../components/credit-card-form/svg/troy.js";import p from"../../components/credit-card-form/svg/visa.js";import"../../../../storefront/index.js";import'../../../../ext/lodash/isArguments.js';import'../../../../ext/lodash/isBuffer.js';import'../../../../ext/lodash/isTypedArray.js';import'../../../../ext/lodash/_baseGetTag.js';import{formatMoney as E}from"../../../../utils/currency.js";import{useTranslation as v}from"../../../../utils/i18n.js";import"../../../../models/data/blog/index.js";import"../../../../models/data/brand/index.js";import"../../../../models/data/category/index.js";import"../../../../models/data/checkout/index.js";import"../../../../models/data/customer/address/index.js";import"../../../../models/data/customer/index.js";import"../../../../models/data/customer-review/index.js";import"../../../../models/data/html-meta-data/index.js";import"../../../../models/data/image/index.js";import"../../../../models/data/installment-info/index.js";import{IkasOrderPackageStatus as f}from"../../../../models/data/order/index.js";import"../../../../models/data/order/line-item/index.js";import"mobx";import"../../../../api/product-option-file/index.js";import"../../../../models/data/product/index.js";import"../../../../models/data/variant-type/index.js";import"../../../../models/data/product/variant/index.js";import"../../../../models/data/product/variant/price/index.js";import"../../../../models/data/product-attribute/index.js";import"../../../../models/data/product/attribute-value/index.js";import"../../../../models/data/product-filter/index.js";import"../../../../models/data/variant-type/variant-value/index.js";import"../../../../models/data/product-option-set/index.js";import"../../../../models/data/raffle/index.js";import"../../../../models/data/product-campaing/campaign/index.js";import"../../../../models/theme/theme.js";import"../../../../models/theme/page/index.js";import"../../../../models/theme/component/prop/index.js";import"../../../../models/theme/page/component/prop-value/link.js";import"../../../../models/ui/brand-list/index.js";import"../../../../models/ui/blog-list/index.js";import"../../../../models/ui/blog-category-list/index.js";import"../../../../models/ui/category-list/index.js";import"../../../../models/ui/product-detail/index.js";import"../../../../models/ui/product-list/index.js";import"../../../../models/ui/product-attribute-detail/index.js";import"../../../../models/ui/product-attribute-list/index.js";import"../../../../models/ui/customer-review-list/index.js";import"../../../../models/ui/validator/index.js";import"../../../../models/ui/validator/rules/index.js";import"../../../../models/ui/validator/form/login.js";import"../../../../models/ui/validator/form/address.js";import"../../../../models/ui/validator/form/register.js";import"../../../../models/ui/validator/form/contact-form.js";import"../../../../models/ui/validator/form/forgot-password.js";import"../../../../models/ui/validator/form/recover-password.js";import"../../../../models/ui/validator/form/account-info.js";import"../../../../models/ui/validator/form/raffle-form.js";import"../../../../models/ui/validator/form/customer-review.js";import"../../../../models/ui/raffle-list/index.js";import"../../../../models/theme/settings/index.js";import"../../../../models/theme/custom-data/index.js";import{IkasPaymentMethodType as g,IkasPaymentGatewayType as x}from"../../../../models/data/payment-gateway/index.js";var h=t((function(t){var f,h,k,T,I=t.vm,N=v().t;e.useEffect((function(){if("undefined"!=typeof localStorage){var e=localStorage.getItem(a),t=localStorage.getItem(s);e&&e===I.checkout.cartId&&localStorage.removeItem(a),t&&t===I.checkout.id&&localStorage.removeItem(s)}I.successTransaction&&i.purchase(I.checkout,I.successTransaction)}),[]);var y=((null===(f=I.checkout.customer)||void 0===f?void 0:f.firstName)||"")+" "+((null===(h=I.checkout.customer)||void 0===h?void 0:h.lastName)||""),L=I.paymentGateways.find((function(e){var t;return e.id===(null===(t=I.successTransaction)||void 0===t?void 0:t.paymentGatewayId)})),A=null===(k=I.successTransaction)||void 0===k?void 0:k.paymentMethodDetail,S=e.useMemo((function(){var t,o,a,s;return e.createElement("div",{className:[r.InfoGrid].join(" ")},e.createElement("div",null,e.createElement("div",{className:r.InfoTitle},N("checkout-page:paymentMethod")),L&&e.createElement(e.Fragment,null,!!L.logoUrl&&e.createElement("div",{className:r.PaymentLogoContainer},e.createElement("img",{src:L.logoUrl})),!L.logoUrl&&e.createElement("div",{className:r.InfoText},L.paymentMethodType===g.CREDIT_CARD&&L.type===x.INTERNAL?N("checkout-page:creditCard"):L.name),!!L.description&&L.type!==x.EXTERNAL&&e.createElement("div",{className:r.InfoText},e.createElement("div",{dangerouslySetInnerHTML:{__html:L.description}}))),"CREDIT_CARD"===(null===(t=I.successTransaction)||void 0===t?void 0:t.paymentMethod)&&e.createElement(e.Fragment,null,e.createElement("div",{className:r.InfoText},e.createElement("div",{className:r.CardLogoContainer},function(){var t,o;switch(null===(o=null===(t=I.successTransaction)||void 0===t?void 0:t.paymentMethodDetail)||void 0===o?void 0:o.cardAssociation){case c.AMERICAN_EXPRESS:return e.createElement(d,null);case c.MASTER_CARD:return e.createElement(m,null);case c.TROY:return e.createElement(u,null);case c.VISA:return e.createElement(p,null);default:return e.createElement("div",null)}}()),e.createElement("span",null,"**** ".concat((null==A?void 0:A.lastFourDigits)||""))),(null===(o=null==A?void 0:A.installment)||void 0===o?void 0:o.installmentCount)&&A.installment.installmentCount>1&&e.createElement(e.Fragment,null,e.createElement("div",{className:r.InfoText},"".concat(A.installment.installmentCount," ").concat(N("checkout-page:installments"))),null!==A.installment.installmentPrice&&e.createElement("div",{className:r.InfoText},"".concat(A.installment.installmentCount," x ").concat(E(A.installment.installmentPrice,I.checkout.cart.currencyCode)))))),e.createElement("div",null,e.createElement("div",{className:r.InfoTitle},N("checkout-page:billingAddress")),!!(null===(a=I.checkout.billingAddress)||void 0===a?void 0:a.company)&&e.createElement("div",{className:[r.InfoText,r.InfoTextBold].join(" ")},I.checkout.billingAddress.company),e.createElement("div",{className:r.InfoText},null===(s=I.checkout.billingAddress)||void 0===s?void 0:s.addressText)))}),[]),D=e.useMemo((function(){var t,o,a,s,i;return e.createElement("div",{className:[r.InfoGrid].join(" ")},e.createElement("div",null,e.createElement("div",{className:r.InfoTitle},N("checkout-page:contactInfo")),e.createElement("div",{className:r.InfoText},null===(t=I.checkout.customer)||void 0===t?void 0:t.email),e.createElement("div",{className:r.InfoText},y),!!(null===(o=I.checkout.shippingAddress)||void 0===o?void 0:o.phone)&&e.createElement("div",{className:r.InfoText},null===(a=I.checkout.shippingAddress)||void 0===a?void 0:a.phone)),e.createElement("div",null,e.createElement("div",{className:r.InfoTitle},N("checkout-page:shippingAddress")),!!(null===(s=I.checkout.shippingAddress)||void 0===s?void 0:s.company)&&e.createElement("div",{className:[r.InfoText,r.InfoTextBold].join(" ")},I.checkout.shippingAddress.company),e.createElement("div",{className:r.InfoText},null===(i=I.checkout.shippingAddress)||void 0===i?void 0:i.addressText)))}),[]);return e.createElement("div",{className:r.StepSuccess},e.createElement("div",{className:r.SuccessTitleContainer},e.createElement(n,null),e.createElement("span",{className:r.SuccessTitle},N("checkout-page:orderSuccessTitle"))),e.createElement("div",{className:r.SuccessSubTitle},N("checkout-page:orderSuccessDescription",{customerName:y})),e.createElement("div",{className:[r.InfoGrid,r.WithBorder].join(" ")},e.createElement("div",null,e.createElement("div",{className:r.InfoTitle},N("checkout-page:orderNoAndDate")),e.createElement("div",{className:[r.InfoText,r.InfoTextBold].join(" ")},"#"+(I.checkout.orderNumber||"")),e.createElement("div",{className:r.InfoText},I.checkout.dateStr),e.createElement(j,{vm:I})),e.createElement("div",null,e.createElement("div",{className:r.InfoTitle},N("checkout-page:contactInfo")),e.createElement("div",{className:r.InfoText},null===(T=I.checkout.customer)||void 0===T?void 0:T.email),e.createElement("div",{className:r.InfoText},y))),e.createElement(l,{title:N("checkout-page:paymentSummary")},S),e.createElement(l,{title:N("checkout-page:shippingSummary")},D),e.createElement("div",{className:r.Actions},e.createElement("div",{className:r.HelpText},e.createElement("span",null,N("checkout-page:helpCtaQuestion")),e.createElement("span",{className:r.Cta,onClick:function(){return I.setContactModalVisible(!0)}},N("checkout-page:helpCta"))),e.createElement(o,{text:N("checkout-page:actions.backToShopping"),onClick:I.onBackToShoppingClick,style:{flex:"0 0 auto"}})))})),j=t((function(t){var o,a,s,i=t.vm,n=v().t,l=r.Yellow;switch(null===(o=i.order)||void 0===o?void 0:o.orderPackageStatus){case f.FULFILLED:case f.PARTIALLY_FULFILLED:case f.DELIVERED:case f.PARTIALLY_DELIVERED:l=r.Green;break;case f.CANCELLED:case f.PARTIALLY_CANCELLED:case f.CANCEL_REJECTED:case f.CANCEL_REQUESTED:l=r.Red}return e.createElement("div",{className:[r.OrderStatus,l].join(" ")},(null===(a=i.order)||void 0===a?void 0:a.orderPackageStatus)?null===(s=[{types:[f.UNFULFILLED],text:n("checkout-page:orderPackageStatus.unfulfilled")},{types:[f.READY_FOR_SHIPMENT],text:n("checkout-page:orderPackageStatus.readyForShipment")},{types:[f.PARTIALLY_FULFILLED],text:n("checkout-page:orderPackageStatus.partiallyFulfilled")},{types:[f.FULFILLED],text:n("checkout-page:orderPackageStatus.fulfilled")},{types:[f.DELIVERED,f.PARTIALLY_DELIVERED],text:n("checkout-page:orderPackageStatus.delivered")},{types:[f.UNABLE_TO_DELIVER],text:n("checkout-page:orderPackageStatus.unableToDeliver")},{types:[f.CANCELLED,f.PARTIALLY_CANCELLED],text:n("checkout-page:orderPackageStatus.cancelled")},{types:[f.CANCEL_REJECTED],text:n("checkout-page:orderPackageStatus.cancelRejected")},{types:[f.REFUNDED,f.PARTIALLY_REFUNDED],text:n("checkout-page:orderPackageStatus.refunded")},{types:[f.REFUND_REQUEST_ACCEPTED],text:n("checkout-page:orderPackageStatus.refundRequestAccepted")},{types:[f.REFUND_REJECTED],text:n("checkout-page:orderPackageStatus.refundRejected")},{types:[f.REFUND_REQUESTED],text:n("checkout-page:orderPackageStatus.refundRequested")}].find((function(e){return e.types.includes(i.order.orderPackageStatus)})))||void 0===s?void 0:s.text:"")}));export{h as StepSuccess};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'../../../../ext/style-inject/dist/style-inject.es.js';var t={StepSuccess:"style-module_StepSuccess__36Zg4",SuccessTitleContainer:"style-module_SuccessTitleContainer__3fT9P",SuccessTitle:"style-module_SuccessTitle__2cVxj",SuccessSubTitle:"style-module_SuccessSubTitle__2UvWI",InfoGrid:"style-module_InfoGrid__2VYXk",InfoTitle:"style-module_InfoTitle__2Whku",InfoText:"style-module_InfoText__1LHFw",InfoTextBold:"style-module_InfoTextBold__21977",WithBorder:"style-module_WithBorder__1aBHw",CardLogoContainer:"style-module_CardLogoContainer__3tymO",PaymentLogoContainer:"style-module_PaymentLogoContainer__AN08p",Actions:"style-module_Actions__3ZXaJ",HelpText:"style-module_HelpText__39LA1",Cta:"style-module_Cta__3sxNK",OrderStatus:"style-module_OrderStatus__CPd7s",Yellow:"style-module_Yellow__1mZZm",Green:"style-module_Green__2qwNg",Red:"style-module_Red__TKRy8"};e(".style-module_StepSuccess__36Zg4 {\n padding-top: 24px;\n}\n.style-module_StepSuccess__36Zg4 .style-module_SuccessTitleContainer__3fT9P {\n margin-bottom: 24px;\n display: flex;\n align-items: center;\n}\n.style-module_StepSuccess__36Zg4 .style-module_SuccessTitleContainer__3fT9P .style-module_SuccessTitle__2cVxj {\n font-size: 28px;\n font-weight: 600;\n margin-left: 16px;\n}\n.style-module_StepSuccess__36Zg4 .style-module_SuccessSubTitle__2UvWI {\n margin: auto;\n margin-bottom: 32px;\n}\n.style-module_StepSuccess__36Zg4 .style-module_InfoGrid__2VYXk {\n display: grid;\n grid-template-columns: 1fr 1fr;\n grid-gap: 48px;\n}\n.style-module_StepSuccess__36Zg4 .style-module_InfoGrid__2VYXk .style-module_InfoTitle__2Whku {\n font-size: 16px;\n line-height: 24px;\n margin-bottom: 12px;\n}\n.style-module_StepSuccess__36Zg4 .style-module_InfoGrid__2VYXk .style-module_InfoText__1LHFw {\n font-size: 14px;\n color: var(--checkout-secondary-text-color);\n display: flex;\n align-items: center;\n}\n.style-module_StepSuccess__36Zg4 .style-module_InfoGrid__2VYXk .style-module_InfoTextBold__21977 {\n font-weight: 600;\n color: var(--checkout-primary-text-color);\n}\n.style-module_StepSuccess__36Zg4 .style-module_InfoGrid__2VYXk.style-module_WithBorder__1aBHw {\n border-bottom: 1px solid var(--checkout-border-color);\n padding-bottom: 24px;\n}\n.style-module_StepSuccess__36Zg4 .style-module_InfoGrid__2VYXk .style-module_CardLogoContainer__3tymO {\n display: flex;\n align-items: center;\n margin-right: 4px;\n}\n.style-module_StepSuccess__36Zg4 .style-module_InfoGrid__2VYXk .style-module_PaymentLogoContainer__AN08p img {\n height: 20px;\n}\n.style-module_StepSuccess__36Zg4 .style-module_Actions__3ZXaJ {\n width: 100%;\n display: flex;\n justify-content: space-between;\n margin: auto;\n margin-top: 24px;\n}\n.style-module_StepSuccess__36Zg4 .style-module_Actions__3ZXaJ .style-module_HelpText__39LA1 {\n display: flex;\n align-items: center;\n color: var(--checkout-secondary-text-color);\n flex-wrap: wrap;\n}\n.style-module_StepSuccess__36Zg4 .style-module_Actions__3ZXaJ .style-module_HelpText__39LA1 .style-module_Cta__3sxNK {\n color: var(--checkout-primary-text-color);\n margin-left: 4px;\n}\n.style-module_StepSuccess__36Zg4 .style-module_Actions__3ZXaJ .style-module_HelpText__39LA1 .style-module_Cta__3sxNK:hover {\n cursor: pointer;\n text-decoration: underline;\n}\n@media only screen and (max-width: 400px) {\n .style-module_StepSuccess__36Zg4 .style-module_Actions__3ZXaJ {\n flex-direction: column;\n }\n .style-module_StepSuccess__36Zg4 .style-module_Actions__3ZXaJ .style-module_HelpText__39LA1 {\n margin-bottom: 12px;\n }\n .style-module_StepSuccess__36Zg4 .style-module_Actions__3ZXaJ .style-module_HelpText__39LA1 .style-module_Cta__3sxNK {\n margin-left: 0;\n }\n}\n.style-module_StepSuccess__36Zg4 .style-module_OrderStatus__CPd7s {\n padding: 4px 8px;\n border-radius: 6px;\n margin-top: 8px;\n font-size: 14px;\n font-weight: 500;\n display: inline-flex;\n}\n.style-module_StepSuccess__36Zg4 .style-module_OrderStatus__CPd7s.style-module_Yellow__1mZZm {\n color: var(--checkout-warning-color);\n background-color: var(--checkout-warning-light-color);\n border: 1px solid var(--checkout-warning-color);\n}\n.style-module_StepSuccess__36Zg4 .style-module_OrderStatus__CPd7s.style-module_Green__2qwNg {\n color: var(--checkout-success-color);\n background-color: var(--checkout-success-light-color);\n border: 1px solid var(--checkout-success-color);\n}\n.style-module_StepSuccess__36Zg4 .style-module_OrderStatus__CPd7s.style-module_Red__TKRy8 {\n color: var(--checkout-error-color);\n background-color: var(--checkout-error-light-color);\n border: 1px solid var(--checkout-error-color);\n}\n@media only screen and (max-width: 1000px) {\n .style-module_StepSuccess__36Zg4 {\n padding-left: 24px;\n padding-right: 24px;\n }\n .style-module_StepSuccess__36Zg4 .style-module_SuccessTitleContainer__3fT9P {\n margin-bottom: 12px;\n }\n .style-module_StepSuccess__36Zg4 .style-module_SuccessTitleContainer__3fT9P .style-module_SuccessTitle__2cVxj {\n font-size: 20px;\n }\n .style-module_StepSuccess__36Zg4 .style-module_SuccessSubTitle__2UvWI {\n max-width: 400px;\n margin-left: 56px;\n }\n}\n@media only screen and (max-width: 400px) {\n .style-module_StepSuccess__36Zg4 .style-module_InfoGrid__2VYXk {\n grid-template-columns: 1fr;\n grid-gap: 24px;\n }\n .style-module_StepSuccess__36Zg4 .style-module_SuccessSubTitle__2UvWI {\n margin-left: 0;\n }\n}");export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'../../ext/style-inject/dist/style-inject.es.js';var t={CheckoutPage:"style-module_CheckoutPage__A_f2V",Left:"style-module_Left__2dWz6",LeftContent:"style-module_LeftContent__1Tyb7",Space:"style-module_Space__1e2de",Footer:"style-module_Footer__ebdyg",FooterItem:"style-module_FooterItem__1ofBc",FooterBullet:"style-module_FooterBullet__1dD9S",AdressStepInfo:"style-module_AdressStepInfo__27aR0",Address:"style-module_Address__2tYiR",Text:"style-module_Text__FkGkR",WithMBottom:"style-module_WithMBottom__TQbZL",Gray:"style-module_Gray__3vyMM",EditBtn:"style-module_EditBtn__3aAlL",AddressStepInfoMobile:"style-module_AddressStepInfoMobile__uwl92",ErrorContainer:"style-module_ErrorContainer__3B5Gx",Header:"style-module_Header__1vfF1",Logo:"style-module_Logo__2E8Do",LoginText:"style-module_LoginText__3FSC9",LoginBtn:"style-module_LoginBtn__XVF05",CustomerInfo:"style-module_CustomerInfo__3aAq9",Name:"style-module_Name__11iSh",Email:"style-module_Email__1AITY",LoginCta:"style-module_LoginCta__2sZZF",MobileCartSummary:"style-module_MobileCartSummary__3NrcP",RowPB:"style-module_RowPB__3M7Tz",Right:"style-module_Right__3AN4f",RightContent:"style-module_RightContent__1TcO5",PoweredBy:"style-module_PoweredBy__2kV_J",LightText:"style-module_LightText__3dSVB",ReactTooltipWrap:"style-module_ReactTooltipWrap__2hp2P"};e('.style-module_CheckoutPage__A_f2V {\n all: unset;\n font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;\n font-size: 16px !important;\n width: 100%;\n height: 100vh;\n overflow: auto;\n overflow-x: hidden;\n display: flex;\n color: var(--checkout-primary-text-color);\n background-color: var(--checkout-primary-bg-color);\n}\n.style-module_CheckoutPage__A_f2V input::placeholder, .style-module_CheckoutPage__A_f2V textarea::placeholder {\n all: unset;\n}\n.style-module_CheckoutPage__A_f2V a, .style-module_CheckoutPage__A_f2V a:hover, .style-module_CheckoutPage__A_f2V a:focus, .style-module_CheckoutPage__A_f2V a:active {\n color: inherit;\n}\n.style-module_CheckoutPage__A_f2V * {\n box-sizing: border-box !important;\n font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;\n font-size: 16px;\n letter-spacing: normal;\n font-weight: normal;\n line-height: unset;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 {\n width: 50%;\n flex: 0 0 auto;\n display: flex;\n justify-content: flex-end;\n padding-left: 20px;\n padding-right: 64px;\n background-color: var(--checkout-primary-bg-color);\n z-index: 1;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 {\n width: 100%;\n min-width: 400px;\n max-width: 600px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n min-height: 100vh;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_Space__1e2de {\n width: 100%;\n height: 100px;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_Space__1e2de {\n height: 48px;\n }\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_Footer__ebdyg {\n flex: 0 0 auto;\n height: 50px;\n background-color: transparent;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_Footer__ebdyg .style-module_FooterItem__1ofBc {\n font-size: 14px;\n color: var(--checkout-secondary-text-color);\n cursor: pointer;\n user-select: none;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_Footer__ebdyg .style-module_FooterItem__1ofBc:hover {\n color: var(--checkout-primary-text-color);\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_Footer__ebdyg .style-module_FooterBullet__1dD9S {\n margin: 0 12px;\n color: var(--checkout-secondary-text-color);\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_Footer__ebdyg {\n width: 100%;\n }\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_Footer__ebdyg .style-module_FooterItem__1ofBc {\n text-align: center;\n }\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_AdressStepInfo__27aR0 {\n display: flex;\n justify-content: space-between;\n padding-left: 78px;\n padding-top: 5px;\n width: 100%;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_AdressStepInfo__27aR0 .style-module_Address__2tYiR {\n font-size: 16px;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_AdressStepInfo__27aR0 .style-module_Address__2tYiR .style-module_Text__FkGkR {\n font-size: 14px;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_AdressStepInfo__27aR0 .style-module_Address__2tYiR .style-module_Text__FkGkR.style-module_WithMBottom__TQbZL {\n margin-bottom: 12px;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_AdressStepInfo__27aR0 .style-module_Address__2tYiR .style-module_Text__FkGkR.style-module_Gray__3vyMM {\n color: var(--checkout-secondary-text-color);\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_AdressStepInfo__27aR0 .style-module_EditBtn__3aAlL {\n cursor: pointer;\n user-select: none;\n align-self: flex-start;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_AdressStepInfo__27aR0 .style-module_EditBtn__3aAlL:hover {\n text-decoration: underline;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_AdressStepInfo__27aR0 {\n padding-top: 0;\n justify-content: flex-end;\n }\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_AdressStepInfo__27aR0 .style-module_Address__2tYiR {\n display: none;\n }\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_AddressStepInfoMobile__uwl92 {\n display: none;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_AddressStepInfoMobile__uwl92 {\n display: block;\n padding-top: 16px;\n }\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_AddressStepInfoMobile__uwl92 .style-module_Address__2tYiR {\n font-size: 16px;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_AddressStepInfoMobile__uwl92 .style-module_Address__2tYiR .style-module_Text__FkGkR {\n font-size: 14px;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_AddressStepInfoMobile__uwl92 .style-module_Address__2tYiR .style-module_Text__FkGkR.style-module_WithMBottom__TQbZL {\n margin-bottom: 12px;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_AddressStepInfoMobile__uwl92 .style-module_Address__2tYiR .style-module_Text__FkGkR.style-module_Gray__3vyMM {\n color: var(--checkout-secondary-text-color);\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_ErrorContainer__3B5Gx {\n padding: 0 24px;\n }\n}\n@media only screen and (max-width: 480px) {\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 .style-module_ErrorContainer__3B5Gx {\n padding: 0 10px;\n }\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 {\n width: 100%;\n height: 96px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-weight: 500;\n font-size: 20px;\n margin-bottom: 44px;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 a {\n flex: 1 1 auto;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 .style-module_Logo__2E8Do {\n width: calc(100% - 24px);\n max-width: 200px;\n height: 64px;\n position: relative;\n user-select: none;\n cursor: pointer;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 .style-module_Logo__2E8Do img {\n object-fit: contain;\n object-position: left;\n pointer-events: none;\n}\n@media only screen and (max-width: 1280px) {\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 .style-module_Logo__2E8Do {\n max-width: 150px;\n }\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 .style-module_LoginText__3FSC9 {\n font-size: 14px;\n text-align: right;\n flex: 0 0 auto;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 .style-module_LoginText__3FSC9 span {\n color: var(--checkout-secondary-text-color);\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 .style-module_LoginBtn__XVF05 {\n margin-left: 4px;\n font-weight: bold;\n user-select: none;\n cursor: pointer;\n font-weight: 500;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 .style-module_CustomerInfo__3aAq9 {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 .style-module_CustomerInfo__3aAq9 .style-module_Name__11iSh {\n font-size: 20px;\n font-weight: 600;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 .style-module_CustomerInfo__3aAq9 .style-module_Email__1AITY {\n font-weight: 500;\n font-size: 14px;\n user-select: none;\n color: var(--checkout-secondary-text-color);\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 {\n height: 72px;\n margin-bottom: 0;\n padding: 0 24px;\n }\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 .style-module_CustomerInfo__3aAq9 .style-module_Name__11iSh {\n font-size: 15px;\n }\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 .style-module_CustomerInfo__3aAq9 .style-module_Email__1AITY {\n font-size: 13px;\n }\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 .style-module_LoginText__3FSC9 {\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n }\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_Header__1vfF1 .style-module_LoginText__3FSC9 .style-module_LoginCta__2sZZF {\n display: none;\n }\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_MobileCartSummary__3NrcP {\n position: sticky;\n top: 0;\n z-index: 10;\n}\n@media only screen and (min-width: 1000px) {\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_MobileCartSummary__3NrcP {\n display: none;\n }\n}\n.style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_RowPB__3M7Tz {\n padding-bottom: 16px;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 {\n width: 100%;\n justify-content: center;\n padding-right: 0px;\n padding-left: 0px;\n }\n .style-module_CheckoutPage__A_f2V .style-module_Left__2dWz6 .style-module_LeftContent__1Tyb7 {\n width: 100%;\n min-width: auto;\n max-width: 100%;\n }\n}\n.style-module_CheckoutPage__A_f2V .style-module_Right__3AN4f {\n width: 50%;\n min-height: 100%;\n flex: 0 0 auto;\n background-color: var(--checkout-secondary-bg-color);\n display: flex;\n padding-left: 64px;\n padding-right: 20px;\n position: sticky;\n top: 0;\n overflow-y: auto;\n z-index: 1;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Right__3AN4f .style-module_RightContent__1TcO5 {\n width: 100%;\n max-width: 600px;\n padding-top: 168px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Right__3AN4f .style-module_RightContent__1TcO5 .style-module_PoweredBy__2kV_J {\n width: 100%;\n padding: 16px 0;\n display: flex;\n justify-content: center;\n align-items: center;\n color: var(--checkout-primary-text-color);\n user-select: none;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Right__3AN4f .style-module_RightContent__1TcO5 .style-module_PoweredBy__2kV_J span {\n font-size: 14px;\n line-height: 20px;\n color: var(--checkout-secondary-text-color);\n margin-right: 8px;\n}\n.style-module_CheckoutPage__A_f2V .style-module_Right__3AN4f .style-module_RightContent__1TcO5 .style-module_PoweredBy__2kV_J a {\n display: flex;\n align-items: center;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__A_f2V .style-module_Right__3AN4f {\n display: none;\n }\n}\n\n.style-module_LightText__3dSVB {\n color: var(--checkout-secondary-text-color);\n}\n\n.style-module_ReactTooltipWrap__2hp2P {\n max-width: 300px;\n}');export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from'../../../ext/style-inject/dist/style-inject.es.js';var n={FormSectionTitle:"common-module_FormSectionTitle___Mykh",Title:"common-module_Title__3JTHt",WithSubTitle:"common-module_WithSubTitle__1VHWv",SubTitle:"common-module_SubTitle__1H4kH",Grid:"common-module_Grid__2CuvH",Grid2:"common-module_Grid2__9CCag",Grid3:"common-module_Grid3__3p0jJ",fadeInFromRight:"common-module_fadeInFromRight__3RYk5"};o(".common-module_FormSectionTitle___Mykh {\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.common-module_FormSectionTitle___Mykh .common-module_Title__3JTHt {\n flex: 1 1 auto;\n padding-bottom: 16px;\n color: var(--checkout-primary-text-color);\n font-size: 20px;\n line-height: 32px;\n}\n.common-module_FormSectionTitle___Mykh .common-module_Title__3JTHt.common-module_WithSubTitle__1VHWv {\n line-height: auto;\n padding-bottom: 0;\n}\n\n.common-module_SubTitle__1H4kH {\n color: var(--checkout-secondary-text-color);\n font-size: 14px;\n padding-bottom: 16px;\n padding-top: 2px;\n}\n\n.common-module_Grid__2CuvH {\n display: grid;\n grid-gap: 16px;\n grid-template-columns: 1fr;\n}\n.common-module_Grid__2CuvH.common-module_Grid2__9CCag {\n grid-template-columns: repeat(2, 1fr);\n}\n.common-module_Grid__2CuvH.common-module_Grid3__3p0jJ {\n grid-template-columns: repeat(3, 1fr);\n}\n@media only screen and (max-width: 768px) {\n .common-module_Grid__2CuvH {\n grid-template-columns: 1fr !important;\n }\n}\n\n@keyframes common-module_fadeInFromRight__3RYk5 {\n from {\n opacity: 0;\n transform: translateY(10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}");export{n as default};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { ImageLoader } from "next/image.js";
|
|
3
|
+
import { IkasImage } from "../../models";
|
|
4
|
+
export declare const Image: React.FC<ImageProps>;
|
|
5
|
+
declare const VALID_LAYOUT_VALUES: readonly [
|
|
6
|
+
"fill",
|
|
7
|
+
"fixed",
|
|
8
|
+
"intrinsic",
|
|
9
|
+
"responsive",
|
|
10
|
+
undefined
|
|
11
|
+
];
|
|
12
|
+
declare type LayoutValue = typeof VALID_LAYOUT_VALUES[number];
|
|
13
|
+
declare type ImgElementStyle = NonNullable<JSX.IntrinsicElements["img"]["style"]>;
|
|
14
|
+
declare type ImageProps = Omit<JSX.IntrinsicElements["img"], "src" | "srcSet" | "ref" | "width" | "height" | "loading" | "style"> & {
|
|
15
|
+
loader?: ImageLoader;
|
|
16
|
+
priority?: boolean;
|
|
17
|
+
loading?: "lazy" | "eager" | undefined;
|
|
18
|
+
objectFit?: ImgElementStyle["objectFit"];
|
|
19
|
+
objectPosition?: ImgElementStyle["objectPosition"];
|
|
20
|
+
image: IkasImage;
|
|
21
|
+
sizes: string;
|
|
22
|
+
useBlur?: boolean;
|
|
23
|
+
} & ({
|
|
24
|
+
width?: never;
|
|
25
|
+
height?: never;
|
|
26
|
+
unsized: true;
|
|
27
|
+
} | {
|
|
28
|
+
width?: never;
|
|
29
|
+
height?: never;
|
|
30
|
+
layout: "fill";
|
|
31
|
+
} | {
|
|
32
|
+
width: number | string;
|
|
33
|
+
height: number | string;
|
|
34
|
+
layout?: Exclude<LayoutValue, "fill">;
|
|
35
|
+
});
|
|
36
|
+
export {};
|