@ikas/storefront 2.0.0-alpha.1 → 2.0.0-alpha.10
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 +662 -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 +108 -0
- package/build/api/blog/__generated__/listBlog.d.ts +111 -0
- package/build/api/blog/__generated__/listBlogCategory.d.ts +63 -0
- package/build/api/blog/__generated__/listBlogMetaData.d.ts +55 -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 +155 -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__/getCustomerOrders.d.ts +620 -0
- package/build/api/customer/__generated__/getLastViewedProducts.d.ts +15 -0
- package/build/api/customer/__generated__/getMyCustomer.d.ts +141 -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 +151 -0
- package/build/api/customer/__generated__/saveLastViewedProducts.d.ts +11 -0
- package/build/api/customer/__generated__/saveMyCustomer.d.ts +148 -0
- package/build/api/customer/index.d.ts +44 -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 +50 -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 +28 -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 +23 -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-option-set/__generated__/ListProductOptionSet.d.ts +90 -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 +83 -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 +123 -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 +120 -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 +33 -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 +2 -0
- package/build/components/page-editor/index.js +1 -0
- package/build/components/page-editor/loader/index.d.ts +2 -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 +65 -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/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/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 +16 -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 +49 -0
- package/build/models/data/customer/address/index.js +1 -0
- package/build/models/data/customer/index.d.ts +33 -0
- package/build/models/data/customer/index.js +1 -0
- package/build/models/data/customer-review/index.d.ts +23 -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 +37 -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/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 +50 -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 +10 -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 +24 -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-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 +100 -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/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/index.d.ts +9 -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 +10 -0
- package/build/models/theme/component/index.js +1 -0
- package/build/models/theme/component/prop/index.d.ts +42 -0
- package/build/models/theme/component/prop/index.js +1 -0
- package/build/models/theme/custom-data/index.d.ts +24 -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/index.d.ts +13 -0
- package/build/models/theme/settings/index.js +1 -0
- package/build/models/theme/settings/prop/color/index.d.ts +7 -0
- package/build/models/theme/settings/prop/color/index.js +1 -0
- package/build/models/theme/settings/prop/favicon/index.d.ts +4 -0
- package/build/models/theme/settings/prop/favicon/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 +28 -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 +9 -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 +64 -0
- package/build/providers/page-data-init.js +1 -0
- package/build/providers/page-data-next.d.ts +243 -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 +44 -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/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 +6 -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/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 +30 -0
- package/build/store/cart.js +1 -0
- package/build/store/customer.d.ts +73 -0
- package/build/store/customer.js +1 -0
- package/build/store/index.d.ts +1 -0
- package/build/storefront/index.d.ts +53 -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/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 +15 -12
- package/build/ikas +0 -12055
- package/src/.DS_Store +0 -0
- package/src/__generated__/global-types.ts +0 -753
- package/src/analytics/analytics.ts +0 -497
- package/src/analytics/events.ts +0 -115
- package/src/analytics/facebookPixel.ts +0 -226
- package/src/analytics/googleTagManager.ts +0 -334
- package/src/analytics/head/index.tsx +0 -81
- package/src/analytics/ikas.ts +0 -545
- package/src/analytics/index.ts +0 -2
- package/src/api/.DS_Store +0 -0
- package/src/api/apollo.ts +0 -91
- package/src/api/back-in-stock-reminder/__generated__/listProductBackInStockRemind.ts +0 -36
- package/src/api/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.ts +0 -31
- package/src/api/back-in-stock-reminder/index.ts +0 -131
- package/src/api/blog/__generated__/getBlog.ts +0 -101
- package/src/api/blog/__generated__/listBlog.ts +0 -104
- package/src/api/blog/__generated__/listBlogCategory.ts +0 -52
- package/src/api/blog/__generated__/listBlogMetaData.ts +0 -42
- package/src/api/blog/index.ts +0 -415
- package/src/api/brand/__generated__/listProductBrand.ts +0 -63
- package/src/api/brand/index.ts +0 -127
- package/src/api/cart/__generated__/getCart.ts +0 -104
- package/src/api/cart/__generated__/saveItemToCart.ts +0 -91
- package/src/api/cart/index.ts +0 -213
- package/src/api/category/__generated__/listCategory.ts +0 -68
- package/src/api/category/__generated__/listCategoryPaths.ts +0 -37
- package/src/api/category/index.ts +0 -223
- package/src/api/checkout/__generated__/addCouponCodeToCheckout.ts +0 -22
- package/src/api/checkout/__generated__/checkStocks.ts +0 -31
- package/src/api/checkout/__generated__/createSaleTransactionWithCheckout.ts +0 -35
- package/src/api/checkout/__generated__/getCheckoutByCartId.ts +0 -21
- package/src/api/checkout/__generated__/getCheckoutById.ts +0 -270
- package/src/api/checkout/__generated__/getOrder.ts +0 -248
- package/src/api/checkout/__generated__/listCheckoutSettings.ts +0 -48
- package/src/api/checkout/__generated__/listPaymentGateway.ts +0 -57
- package/src/api/checkout/__generated__/retrieveInstallmentInfo.ts +0 -36
- package/src/api/checkout/__generated__/saveCheckout.ts +0 -23
- package/src/api/checkout/index.ts +0 -884
- package/src/api/city/__generated__/listCity.ts +0 -26
- package/src/api/city/index.ts +0 -56
- package/src/api/contact-form/__generated__/sendContactFormToMerchant.ts +0 -19
- package/src/api/contact-form/index.ts +0 -54
- package/src/api/country/__generated__/getAvailableShippingCountries.ts +0 -16
- package/src/api/country/__generated__/getMyCountry.ts +0 -12
- package/src/api/country/__generated__/listCountry.ts +0 -36
- package/src/api/country/index.ts +0 -129
- package/src/api/customer/__generated__/checkCustomerEmail.ts +0 -21
- package/src/api/customer/__generated__/createCustomerEmailSubscription.ts +0 -23
- package/src/api/customer/__generated__/createOrderRefundRequest.ts +0 -248
- package/src/api/customer/__generated__/customerForgotPassword.ts +0 -17
- package/src/api/customer/__generated__/customerLogin.ts +0 -88
- package/src/api/customer/__generated__/customerRecoverPassword.ts +0 -18
- package/src/api/customer/__generated__/customerRefreshToken.ts +0 -22
- package/src/api/customer/__generated__/getCustomerOrders.ts +0 -248
- package/src/api/customer/__generated__/getLastViewedProducts.ts +0 -27
- package/src/api/customer/__generated__/getMyCustomer.ts +0 -75
- package/src/api/customer/__generated__/listOrderRefundSettings.ts +0 -25
- package/src/api/customer/__generated__/listOrderTransactions.ts +0 -68
- package/src/api/customer/__generated__/registerCustomer.ts +0 -90
- package/src/api/customer/__generated__/saveLastViewedProducts.ts +0 -23
- package/src/api/customer/__generated__/saveMyCustomer.ts +0 -80
- package/src/api/customer/index.ts +0 -1147
- package/src/api/customer-review/__generated__/createCustomerReview.ts +0 -23
- package/src/api/customer-review/__generated__/listCustomerReviews.ts +0 -38
- package/src/api/customer-review/index.ts +0 -122
- package/src/api/district/__generated__/listDistrict.ts +0 -25
- package/src/api/district/index.ts +0 -59
- package/src/api/favorite-product/__generated__/isFavoriteProduct.ts +0 -16
- package/src/api/favorite-product/__generated__/listFavoriteProducts.ts +0 -22
- package/src/api/favorite-product/__generated__/saveFavoriteProduct.ts +0 -17
- package/src/api/favorite-product/index.ts +0 -100
- package/src/api/html-meta-data/__generated__/listHTMLMetaData.ts +0 -30
- package/src/api/html-meta-data/index.ts +0 -72
- package/src/api/index.ts +0 -23
- package/src/api/merchant/__generated__/listMerchantSettings.ts +0 -19
- package/src/api/merchant/index.ts +0 -43
- package/src/api/product-attribute/__generated__/listProductAttribute.ts +0 -54
- package/src/api/product-attribute/index.ts +0 -69
- package/src/api/product-option-set/__generated__/ListProductOptionSet.ts +0 -111
- package/src/api/product-option-set/index.ts +0 -114
- package/src/api/product-search/__generated__/getProductFilterData.ts +0 -69
- package/src/api/product-search/__generated__/searchProducts.ts +0 -40
- package/src/api/product-search/index.ts +0 -329
- package/src/api/raffle/__generated__/getRafflesByCustomerId.ts +0 -55
- package/src/api/raffle/__generated__/listRaffle.ts +0 -74
- package/src/api/raffle/__generated__/listRaffleMetaData.ts +0 -33
- package/src/api/raffle/__generated__/saveRaffleParticipant.ts +0 -43
- package/src/api/raffle/index.ts +0 -369
- package/src/api/state/__generated__/listState.ts +0 -25
- package/src/api/state/index.ts +0 -45
- package/src/api/stock-location/__generated__/listStockLocation.ts +0 -17
- package/src/api/stock-location/index.ts +0 -30
- package/src/api/storefront/__generated__/getStorefront.ts +0 -67
- package/src/api/storefront/index.ts +0 -76
- package/src/api/variant-type/__generated__/listVariantType.ts +0 -54
- package/src/api/variant-type/index.ts +0 -86
- package/src/assets/translations/checkout/en.js +0 -165
- package/src/assets/translations/checkout/tr.js +0 -164
- package/src/components/.DS_Store +0 -0
- package/src/components/checkout/components/address-form/index.tsx +0 -360
- package/src/components/checkout/components/address-form/model.ts +0 -366
- package/src/components/checkout/components/button/index.tsx +0 -34
- package/src/components/checkout/components/button/style.module.scss +0 -103
- package/src/components/checkout/components/cart-summary/cart-item/index.tsx +0 -146
- package/src/components/checkout/components/cart-summary/cart-item/style.module.scss +0 -107
- package/src/components/checkout/components/cart-summary/index.tsx +0 -458
- package/src/components/checkout/components/cart-summary/style.module.scss +0 -237
- package/src/components/checkout/components/checkbox/check.tsx +0 -23
- package/src/components/checkout/components/checkbox/index.tsx +0 -50
- package/src/components/checkout/components/checkbox/style.module.scss +0 -72
- package/src/components/checkout/components/credit-card-form/index.tsx +0 -121
- package/src/components/checkout/components/credit-card-form/model.ts +0 -56
- package/src/components/checkout/components/credit-card-form/style.module.scss +0 -6
- package/src/components/checkout/components/credit-card-form/svg/amex.tsx +0 -30
- package/src/components/checkout/components/credit-card-form/svg/master-card.tsx +0 -38
- package/src/components/checkout/components/credit-card-form/svg/troy.tsx +0 -54
- package/src/components/checkout/components/credit-card-form/svg/visa.tsx +0 -46
- package/src/components/checkout/components/customer-addresses/index.tsx +0 -167
- package/src/components/checkout/components/customer-addresses/model.ts +0 -126
- package/src/components/checkout/components/customer-addresses/style.module.scss +0 -20
- package/src/components/checkout/components/error/customer-login-required-error/index.tsx +0 -23
- package/src/components/checkout/components/error/index.tsx +0 -54
- package/src/components/checkout/components/error/no-shipping-error/index.tsx +0 -19
- package/src/components/checkout/components/error/payment-error/index.tsx +0 -21
- package/src/components/checkout/components/error/stock-error/index.tsx +0 -72
- package/src/components/checkout/components/error/stock-error/style.module.scss +0 -11
- package/src/components/checkout/components/error/unknown-error/index.tsx +0 -19
- package/src/components/checkout/components/expandable-section/index.tsx +0 -37
- package/src/components/checkout/components/expandable-section/style.module.scss +0 -29
- package/src/components/checkout/components/form-item/caret-down.tsx +0 -20
- package/src/components/checkout/components/form-item/index.tsx +0 -205
- package/src/components/checkout/components/form-item/model.ts +0 -131
- package/src/components/checkout/components/form-item/style.module.scss +0 -213
- package/src/components/checkout/components/fullscreen-loading/index.tsx +0 -10
- package/src/components/checkout/components/fullscreen-loading/style.module.scss +0 -56
- package/src/components/checkout/components/input-with-button/index.tsx +0 -53
- package/src/components/checkout/components/input-with-button/style.module.scss +0 -104
- package/src/components/checkout/components/modal/index.tsx +0 -50
- package/src/components/checkout/components/modal/style.module.scss +0 -68
- package/src/components/checkout/components/notification-box/index.tsx +0 -70
- package/src/components/checkout/components/notification-box/style.module.scss +0 -69
- package/src/components/checkout/components/select-box/index.tsx +0 -60
- package/src/components/checkout/components/select-box/style.module.scss +0 -55
- package/src/components/checkout/components/step-container/index.tsx +0 -107
- package/src/components/checkout/components/step-container/style.module.scss +0 -86
- package/src/components/checkout/components/svg/arrow-down.tsx +0 -23
- package/src/components/checkout/components/svg/arrow-left.tsx +0 -23
- package/src/components/checkout/components/svg/arrow-right.tsx +0 -23
- package/src/components/checkout/components/svg/cross.tsx +0 -23
- package/src/components/checkout/components/svg/discount.tsx +0 -34
- package/src/components/checkout/components/svg/external.tsx +0 -101
- package/src/components/checkout/components/svg/gift.tsx +0 -40
- package/src/components/checkout/components/svg/ikas.tsx +0 -39
- package/src/components/checkout/components/svg/lock.tsx +0 -23
- package/src/components/checkout/components/svg/shopping-cart.tsx +0 -23
- package/src/components/checkout/components/svg/success-circle.tsx +0 -26
- package/src/components/checkout/components/svg/tag.tsx +0 -23
- package/src/components/checkout/components/svg/warning.tsx +0 -30
- package/src/components/checkout/components/toggle/index.tsx +0 -51
- package/src/components/checkout/components/toggle/style.module.scss +0 -75
- package/src/components/checkout/components/tooltip/index.tsx +0 -27
- package/src/components/checkout/components/tooltip/style.module.scss +0 -86
- package/src/components/checkout/index.tsx +0 -476
- package/src/components/checkout/model.ts +0 -1007
- package/src/components/checkout/steps/step-info/index.tsx +0 -84
- package/src/components/checkout/steps/step-payment/billing-address/index.tsx +0 -40
- package/src/components/checkout/steps/step-payment/index.tsx +0 -105
- package/src/components/checkout/steps/step-payment/payment-gateways/index.tsx +0 -116
- package/src/components/checkout/steps/step-payment/payment-gateways/installments/index.tsx +0 -51
- package/src/components/checkout/steps/step-payment/payment-gateways/installments/style.module.scss +0 -50
- package/src/components/checkout/steps/step-payment/payment-gateways/style.module.scss +0 -15
- package/src/components/checkout/steps/step-payment/style.module.scss +0 -32
- package/src/components/checkout/steps/step-shipping/index.tsx +0 -127
- package/src/components/checkout/steps/step-shipping/style.module.scss +0 -44
- package/src/components/checkout/steps/step-success/index.tsx +0 -437
- package/src/components/checkout/steps/step-success/style.module.scss +0 -160
- package/src/components/checkout/style.module.scss +0 -358
- package/src/components/checkout/styles/common.module.scss +0 -59
- package/src/components/checkout/styles/variables.scss +0 -40
- package/src/components/image/index.tsx +0 -79
- package/src/components/index.ts +0 -4
- package/src/components/page/ThemeComponent.tsx +0 -89
- package/src/components/page/head.tsx +0 -294
- package/src/components/page/index.tsx +0 -216
- package/src/components/page-editor/ThemeComponentEditor.tsx +0 -236
- package/src/components/page-editor/error/index.tsx +0 -18
- package/src/components/page-editor/index.tsx +0 -70
- package/src/components/page-editor/loader/index.tsx +0 -10
- package/src/components/page-editor/loader/style.module.scss +0 -55
- package/src/components/page-editor/model.ts +0 -505
- package/src/index.ts +0 -8
- package/src/models/.DS_Store +0 -0
- package/src/models/data/blog/index.ts +0 -154
- package/src/models/data/brand/index.ts +0 -58
- package/src/models/data/cart/index.ts +0 -82
- package/src/models/data/category/index.ts +0 -130
- package/src/models/data/checkout/index.ts +0 -222
- package/src/models/data/checkout-settings/index.ts +0 -48
- package/src/models/data/city/index.ts +0 -4
- package/src/models/data/contact-form/index.ts +0 -17
- package/src/models/data/country/index.ts +0 -8
- package/src/models/data/customer/address/index.tsx +0 -135
- package/src/models/data/customer/index.ts +0 -65
- package/src/models/data/customer-review/index.ts +0 -43
- package/src/models/data/customer-review-settings/index.ts +0 -4
- package/src/models/data/district/index.ts +0 -4
- package/src/models/data/favorite-product/index.ts +0 -15
- package/src/models/data/html-meta-data/index.ts +0 -56
- package/src/models/data/image/index.ts +0 -34
- package/src/models/data/index.ts +0 -55
- package/src/models/data/installment-info/index.ts +0 -34
- package/src/models/data/merchant-settings/index.ts +0 -14
- package/src/models/data/order/address/index.ts +0 -138
- package/src/models/data/order/adjustment/index.ts +0 -17
- package/src/models/data/order/gift-line/index.ts +0 -4
- package/src/models/data/order/index.ts +0 -289
- package/src/models/data/order/line-item/discount/index.ts +0 -15
- package/src/models/data/order/line-item/index.ts +0 -123
- package/src/models/data/order/line-item/options/index.ts +0 -18
- package/src/models/data/order/line-item/options/options-value/index.ts +0 -11
- package/src/models/data/order/line-item/variant/index.ts +0 -75
- package/src/models/data/order/refund/index.ts +0 -18
- package/src/models/data/order/refund/refund-line-item/index.ts +0 -13
- package/src/models/data/order/refund/settings.ts +0 -15
- package/src/models/data/order/shipping-line/index.ts +0 -7
- package/src/models/data/order-transaction/index.ts +0 -105
- package/src/models/data/payment-gateway/index.ts +0 -150
- package/src/models/data/product/attribute-value/index.ts +0 -42
- package/src/models/data/product/index.ts +0 -95
- package/src/models/data/product/variant/index.ts +0 -93
- package/src/models/data/product/variant/price/index.ts +0 -38
- package/src/models/data/product/variant-type/index.ts +0 -24
- package/src/models/data/product-attribute/index.ts +0 -75
- package/src/models/data/product-attribute/product-attribute-option/index.ts +0 -13
- package/src/models/data/product-attribute/product-attribute-table-cell/index.ts +0 -13
- package/src/models/data/product-attribute/product-attribute-table-template/index.ts +0 -18
- package/src/models/data/product-back-in-stock-settings/index.ts +0 -3
- package/src/models/data/product-cart-item-options/index.ts +0 -15
- package/src/models/data/product-filter/index.ts +0 -412
- package/src/models/data/product-option-set/index.ts +0 -392
- package/src/models/data/product-tag/index.ts +0 -13
- package/src/models/data/raffle/index.ts +0 -159
- package/src/models/data/sales-channel/index.ts +0 -41
- package/src/models/data/simple-product/index.ts +0 -154
- package/src/models/data/state/index.ts +0 -5
- package/src/models/data/storefront/domain/index.ts +0 -19
- package/src/models/data/storefront/index.ts +0 -56
- package/src/models/data/storefront/localization/index.tsx +0 -13
- package/src/models/data/storefront/routing/index.tsx +0 -17
- package/src/models/data/storefront/theme/index.tsx +0 -22
- package/src/models/data/storefront/theme-localization/index.tsx +0 -26
- package/src/models/data/variant-type/index.ts +0 -77
- package/src/models/data/variant-type/variant-value/index.ts +0 -29
- package/src/models/index.ts +0 -3
- package/src/models/theme/component/index.ts +0 -24
- package/src/models/theme/component/prop/index.ts +0 -56
- package/src/models/theme/custom-data/index.ts +0 -71
- package/src/models/theme/index.ts +0 -26
- package/src/models/theme/page/component/index.ts +0 -21
- package/src/models/theme/page/component/prop-value/attribute-list.ts +0 -18
- package/src/models/theme/page/component/prop-value/attribute.ts +0 -18
- package/src/models/theme/page/component/prop-value/blog-category-list.ts +0 -19
- package/src/models/theme/page/component/prop-value/blog-category.ts +0 -15
- package/src/models/theme/page/component/prop-value/blog-list.ts +0 -25
- package/src/models/theme/page/component/prop-value/blog.ts +0 -15
- package/src/models/theme/page/component/prop-value/brand-list.ts +0 -26
- package/src/models/theme/page/component/prop-value/brand.ts +0 -15
- package/src/models/theme/page/component/prop-value/category-list.ts +0 -26
- package/src/models/theme/page/component/prop-value/category.ts +0 -15
- package/src/models/theme/page/component/prop-value/link.ts +0 -38
- package/src/models/theme/page/component/prop-value/product-detail.ts +0 -17
- package/src/models/theme/page/component/prop-value/product-list.ts +0 -41
- package/src/models/theme/page/component/prop-value/raffle-list.ts +0 -16
- package/src/models/theme/page/component/prop-value/raffle.ts +0 -15
- package/src/models/theme/page/index.ts +0 -71
- package/src/models/theme/settings/.DS_Store +0 -0
- package/src/models/theme/settings/index.ts +0 -27
- package/src/models/theme/settings/prop/color/index.ts +0 -18
- package/src/models/theme/settings/prop/favicon/index.ts +0 -11
- package/src/models/theme/theme.ts +0 -202
- package/src/models/ui/blog-category-list/index.ts +0 -199
- package/src/models/ui/blog-list/index.ts +0 -202
- package/src/models/ui/brand-list/index.ts +0 -239
- package/src/models/ui/category-list/index.ts +0 -239
- package/src/models/ui/component-renderer/index.ts +0 -9
- package/src/models/ui/customer-review-list/index.ts +0 -171
- package/src/models/ui/index.ts +0 -41
- package/src/models/ui/navigation-link/index.ts +0 -22
- package/src/models/ui/product-attribute-detail/index.ts +0 -29
- package/src/models/ui/product-attribute-list/index.ts +0 -53
- package/src/models/ui/product-detail/index.ts +0 -269
- package/src/models/ui/product-list/index.ts +0 -959
- package/src/models/ui/raffle-list/index.ts +0 -208
- package/src/models/ui/validator/form/account-info.ts +0 -155
- package/src/models/ui/validator/form/address.ts +0 -436
- package/src/models/ui/validator/form/contact-form.ts +0 -180
- package/src/models/ui/validator/form/customer-review.ts +0 -134
- package/src/models/ui/validator/form/forgot-password.ts +0 -98
- package/src/models/ui/validator/form/login.ts +0 -130
- package/src/models/ui/validator/form/raffle-form.ts +0 -271
- package/src/models/ui/validator/form/recover-password.ts +0 -150
- package/src/models/ui/validator/form/register.ts +0 -200
- package/src/models/ui/validator/index.ts +0 -121
- package/src/models/ui/validator/rules/index.ts +0 -309
- package/src/pages/.DS_Store +0 -0
- package/src/pages/404.tsx +0 -29
- package/src/pages/[slug]/index.tsx +0 -28
- package/src/pages/account/addresses.tsx +0 -20
- package/src/pages/account/favorite-products.tsx +0 -20
- package/src/pages/account/forgot-password.tsx +0 -20
- package/src/pages/account/index.tsx +0 -20
- package/src/pages/account/login.tsx +0 -20
- package/src/pages/account/orders/[id].tsx +0 -20
- package/src/pages/account/orders/index.tsx +0 -20
- package/src/pages/account/raffles.tsx +0 -20
- package/src/pages/account/recover-password.tsx +0 -20
- package/src/pages/account/register.tsx +0 -20
- package/src/pages/api/getComponentDirs.ts +0 -39
- package/src/pages/api/getTheme.ts +0 -22
- package/src/pages/api/index.ts +0 -14
- package/src/pages/api/middleware.ts +0 -24
- package/src/pages/api/updateTheme.ts +0 -31
- package/src/pages/api/uploadTheme.ts +0 -276
- package/src/pages/blog/[slug].tsx +0 -27
- package/src/pages/blog/index.tsx +0 -20
- package/src/pages/cart.tsx +0 -20
- package/src/pages/checkout.tsx +0 -172
- package/src/pages/editor.tsx +0 -40
- package/src/pages/home.tsx +0 -20
- package/src/pages/index.ts +0 -22
- package/src/pages/pages/[slug].tsx +0 -82
- package/src/pages/raffle/[slug].tsx +0 -27
- package/src/pages/raffle/index.tsx +0 -20
- package/src/pages/search.tsx +0 -20
- package/src/providers/helpers/raffles.ts +0 -68
- package/src/providers/page-data-get.ts +0 -569
- package/src/providers/page-data-init.ts +0 -956
- package/src/providers/page-data-next.ts +0 -422
- package/src/providers/placeholders.ts +0 -39
- package/src/providers/prop-value/attribute-list.ts +0 -73
- package/src/providers/prop-value/attribute.ts +0 -73
- package/src/providers/prop-value/blog-category-list.ts +0 -25
- package/src/providers/prop-value/blog-category.ts +0 -40
- package/src/providers/prop-value/blog-list.ts +0 -56
- package/src/providers/prop-value/blog.ts +0 -37
- package/src/providers/prop-value/boolean.ts +0 -14
- package/src/providers/prop-value/brand-list.ts +0 -21
- package/src/providers/prop-value/brand.ts +0 -47
- package/src/providers/prop-value/category-list.ts +0 -21
- package/src/providers/prop-value/category.ts +0 -47
- package/src/providers/prop-value/color.ts +0 -14
- package/src/providers/prop-value/custom.ts +0 -548
- package/src/providers/prop-value/image-list.ts +0 -15
- package/src/providers/prop-value/image.ts +0 -15
- package/src/providers/prop-value/index.ts +0 -3
- package/src/providers/prop-value/link.ts +0 -214
- package/src/providers/prop-value/product-detail.ts +0 -87
- package/src/providers/prop-value/product-list.ts +0 -69
- package/src/providers/prop-value/raffle-list.ts +0 -14
- package/src/providers/prop-value/raffle.ts +0 -43
- package/src/providers/prop-value/rich-text.ts +0 -14
- package/src/providers/prop-value/text.ts +0 -14
- package/src/scripts/generators/api/index.ts +0 -24
- package/src/scripts/generators/api/info.ts +0 -47
- package/src/scripts/generators/components/index.ts +0 -235
- package/src/scripts/generators/config/content.ts +0 -125
- package/src/scripts/generators/config/index.ts +0 -93
- package/src/scripts/generators/pages/index.ts +0 -95
- package/src/scripts/generators/pages/info.ts +0 -156
- package/src/scripts/generators/store/content.ts +0 -14
- package/src/scripts/generators/store/index.ts +0 -22
- package/src/scripts/generators/theme/index.ts +0 -37
- package/src/scripts/ikas.ts +0 -47
- package/src/store/base.ts +0 -143
- package/src/store/cart.ts +0 -311
- package/src/store/customer.ts +0 -510
- package/src/store/index.ts +0 -1
- package/src/storefront/index.ts +0 -96
- package/src/typings/global.d.ts +0 -7
- package/src/utils/currency.ts +0 -229
- package/src/utils/fs.ts +0 -84
- package/src/utils/helper.ts +0 -133
- package/src/utils/i18n.ts +0 -204
- package/src/utils/index.ts +0 -3
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare type Props = {
|
|
3
|
+
text: string | React.ReactNode;
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
isDisabled?: boolean;
|
|
6
|
+
isLine?: boolean;
|
|
7
|
+
size?: "large" | "medium";
|
|
8
|
+
style?: React.CSSProperties;
|
|
9
|
+
onClick: () => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const Button: React.FC<Props>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as t}from"mobx-react-lite";import i from"./style.module.scss.js";var o=t((function(t){var o=t.text,r=t.style,s=t.onClick,a=t.size,m=t.isLoading,l=t.isDisabled,n=t.isLine;return e.createElement("button",{style:r,type:"button",className:[i.Button,i.Dark,"medium"===a?i.Medium:i.Large,n?i.Line:"",l?i.Disabled:""].join(" "),onClick:m?void 0:s},m?e.createElement("div",{className:i.loader}):o)}));export{o as Button};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'../../../../ext/style-inject/dist/style-inject.es.js';var t={Button:"style-module_Button__1UPMN",Large:"style-module_Large__2wPlw",Medium:"style-module_Medium__3t0pu",Dark:"style-module_Dark__1Z_hs",Disabled:"style-module_Disabled__3HYF_",FullWidthMobile:"style-module_FullWidthMobile__3MTFv",Line:"style-module_Line__1kche",loader:"style-module_loader__3v6kq",load8:"style-module_load8__2z7nj"};e(".style-module_Button__1UPMN {\n cursor: pointer;\n user-select: none;\n border: 1px transparent solid;\n border-radius: 8px;\n font-weight: 600 !important;\n text-align: center;\n position: relative;\n transition: all 0.2s;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.style-module_Button__1UPMN:focus {\n outline: 0;\n}\n.style-module_Button__1UPMN.style-module_Large__2wPlw {\n height: 56px;\n padding: 0 24px;\n}\n.style-module_Button__1UPMN.style-module_Medium__3t0pu {\n height: 48px;\n padding: 0 16px;\n}\n.style-module_Button__1UPMN.style-module_Dark__1Z_hs {\n background-color: var(--checkout-button-bg-color);\n color: var(--checkout-button-text-color);\n}\n.style-module_Button__1UPMN.style-module_Disabled__3HYF_ {\n background-color: var(--checkout-button-disabled-bg-color);\n color: var(--checkout-button-disabled-text-color);\n pointer-events: none;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_Button__1UPMN.style-module_FullWidthMobile__3MTFv {\n width: 100%;\n }\n}\n.style-module_Button__1UPMN.style-module_Line__1kche {\n background-color: transparent;\n border-color: var(--checkout-border-color);\n color: var(--checkout-button-bg-color);\n}\n.style-module_Button__1UPMN.style-module_Line__1kche .style-module_loader__3v6kq {\n border-left: 0.5em solid var(--checkout-button-bg-color);\n}\n.style-module_Button__1UPMN .style-module_loader__3v6kq,\n.style-module_Button__1UPMN .style-module_loader__3v6kq:after {\n border-radius: 50%;\n width: 5em;\n height: 5em;\n}\n.style-module_Button__1UPMN .style-module_loader__3v6kq {\n font-size: 6px;\n position: relative;\n text-indent: -9999em;\n border-top: 0.5em solid rgba(255, 255, 255, 0.2);\n border-right: 0.5em solid rgba(255, 255, 255, 0.2);\n border-bottom: 0.5em solid rgba(255, 255, 255, 0.2);\n border-left: 0.5em solid var(--checkout-button-text-color);\n -webkit-transform: translateZ(0);\n -ms-transform: translateZ(0);\n transform: translateZ(0);\n -webkit-animation: style-module_load8__2z7nj 1.1s infinite linear;\n animation: style-module_load8__2z7nj 1.1s infinite linear;\n}\n@-webkit-keyframes style-module_load8__2z7nj {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes style-module_load8__2z7nj {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}");export{t as default};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { IkasOrderLineItem } from "../../../../../models";
|
|
3
|
+
import CheckoutViewModel from "../../../../../components/checkout/model";
|
|
4
|
+
declare type Props = {
|
|
5
|
+
vm: CheckoutViewModel;
|
|
6
|
+
currencyCode: string;
|
|
7
|
+
cartItem: IkasOrderLineItem;
|
|
8
|
+
};
|
|
9
|
+
export declare const CartItem: React.FC<Props>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as t}from"mobx-react-lite";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"../../../../../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{IkasProductOptionType as i}from"../../../../../models/data/product-option-set/index.js";import"../../../../../models/data/raffle/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"../../../../../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 a}from"../../../../../utils/i18n.js";import{Modal as r}from"../../modal/index.js";import m from"./style.module.scss.js";var s=t((function(t){var s,d,n,l=t.vm,u=t.currencyCode,c=t.cartItem,p=a().t,v=e.useState(!1),j=v[0],f=v[1],x=null===(s=l.checkout.adjustments)||void 0===s?void 0:s.map((function(e){var t;return(null===(t=e.appliedOrderLines)||void 0===t?void 0:t.filter((function(e){return e.orderLineId===c.id})).reduce((function(e,t){return e+(t.amount||0)}),0))||0})),h=null==x?void 0:x.reduce((function(e,t){return e+t}),0),g=e.useMemo((function(){var t;return e.createElement("div",null,null===(t=c.options)||void 0===t?void 0:t.map((function(t){switch(t.type){case i.TEXT:case i.TEXT_AREA:case i.CHOICE:return e.createElement("div",{className:m.OptionRow},e.createElement("div",{className:m.OptionName},t.name),e.createElement("div",{className:m.OptionValue},t.values.map((function(e){return e.name||e.value})).join(", ")));case i.CHECKBOX:return e.createElement("div",{className:m.OptionRow},e.createElement("div",{className:m.OptionName},t.name),e.createElement("div",{className:m.OptionValue},t.values.length&&"true"===t.values[0].value?p("checkout-page:yes"):p("checkout-page:no")));case i.COLOR_PICKER:return e.createElement("div",{className:m.OptionRow},e.createElement("div",{className:m.OptionName},t.name),e.createElement("div",{className:m.OptionsHorContainer},t.values.map((function(t,i){return e.createElement("div",{key:i,className:m.OptionColorValue,style:{backgroundColor:t.value}})}))))}})))}),[]);return e.createElement("div",{className:m.CheckoutItem},e.createElement("div",{className:m.ImageContainer},e.createElement("img",{className:m.Image,src:null===(d=c.variant.mainImage)||void 0===d?void 0:d.thumbnailSrc})),e.createElement("div",{className:m.Right},e.createElement("div",{className:m.Name},c.variant.name),e.createElement("div",{className:m.LightText},p("checkout-page:quantity")+": "+c.quantity),e.createElement("div",{className:m.LightText},c.variant.variantValues.map((function(e){return e.variantValueName})).join(" / ")),!!(null===(n=c.options)||void 0===n?void 0:n.length)&&e.createElement("div",{className:m.OptionsText,onClick:function(){return f(!0)}},p("checkout-page:customizedProduct")),!!j&&e.createElement(r,{title:c.variant.name,modalContent:g,onClose:function(){return f(!1)}}),e.createElement("div",{className:m.Price},!!c.overridenPriceWithQuantity&&e.createElement("span",{className:m.GrayPrice},o(h?c.finalPriceWithQuantity:c.overridenPriceWithQuantity,u)),o(h?c.finalPriceWithQuantity-h:c.finalPriceWithQuantity,u))))}));export{s as CartItem};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'../../../../../ext/style-inject/dist/style-inject.es.js';var t={CheckoutItem:"style-module_CheckoutItem__2JjSt",ImageContainer:"style-module_ImageContainer__2K2RG",Image:"style-module_Image__w2Q_P",Right:"style-module_Right__2HN2l",Name:"style-module_Name__nPgw1",LightText:"style-module_LightText__2P69D",OptionsText:"style-module_OptionsText__3z7sK",Price:"style-module_Price__1Vw31",GrayPrice:"style-module_GrayPrice__2wDyJ",OptionRow:"style-module_OptionRow___JX07",OptionName:"style-module_OptionName__3X0-1",OptionValue:"style-module_OptionValue__2AnCA",OptionsHorContainer:"style-module_OptionsHorContainer__3D8xk",OptionColorValue:"style-module_OptionColorValue__36zoV"};e(".style-module_CheckoutItem__2JjSt {\n display: flex;\n width: 100%;\n margin-bottom: 24px;\n}\n.style-module_CheckoutItem__2JjSt .style-module_ImageContainer__2K2RG {\n flex: 0 0 auto;\n width: 114px;\n height: 114px;\n position: relative;\n margin-right: 16px;\n}\n.style-module_CheckoutItem__2JjSt .style-module_ImageContainer__2K2RG .style-module_Image__w2Q_P {\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: 8px;\n}\n.style-module_CheckoutItem__2JjSt .style-module_Right__2HN2l {\n position: relative;\n}\n.style-module_CheckoutItem__2JjSt .style-module_Right__2HN2l .style-module_Name__nPgw1 {\n font-size: 16px;\n font-weight: 600;\n color: var(--checkout-primary-text-color);\n line-height: 24px;\n max-height: 48px;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n}\n.style-module_CheckoutItem__2JjSt .style-module_Right__2HN2l .style-module_LightText__2P69D {\n font-size: 14px;\n color: var(--checkout-secondary-text-color);\n line-height: 20px;\n margin-top: 2px;\n}\n.style-module_CheckoutItem__2JjSt .style-module_Right__2HN2l .style-module_OptionsText__3z7sK {\n font-size: 14px;\n color: var(--checkout-primary-text-color);\n line-height: 20px;\n margin-top: 2px;\n user-select: none;\n}\n.style-module_CheckoutItem__2JjSt .style-module_Right__2HN2l .style-module_OptionsText__3z7sK:hover {\n cursor: pointer;\n text-decoration: underline;\n}\n.style-module_CheckoutItem__2JjSt .style-module_Price__1Vw31 {\n font-size: 14px;\n display: flex;\n align-items: center;\n color: var(--checkout-primary-text-color);\n}\n.style-module_CheckoutItem__2JjSt .style-module_Price__1Vw31 .style-module_GrayPrice__2wDyJ {\n font-size: 14px;\n color: var(--checkout-secondary-text-color);\n text-decoration: line-through;\n margin-right: 8px;\n}\n.style-module_CheckoutItem__2JjSt .style-module_OptionRow___JX07 {\n display: flex;\n flex-direction: column;\n margin-bottom: 24px;\n max-width: 400px;\n}\n.style-module_CheckoutItem__2JjSt .style-module_OptionRow___JX07 .style-module_OptionName__3X0-1 {\n font-size: 14px;\n color: var(--checkout-primary-text-color);\n margin-right: 8px;\n font-weight: 500;\n}\n.style-module_CheckoutItem__2JjSt .style-module_OptionRow___JX07 .style-module_OptionValue__2AnCA {\n font-size: 14px;\n color: var(--checkout-secondary-text-color);\n}\n.style-module_CheckoutItem__2JjSt .style-module_OptionRow___JX07 .style-module_OptionsHorContainer__3D8xk {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n}\n.style-module_CheckoutItem__2JjSt .style-module_OptionRow___JX07 .style-module_OptionColorValue__36zoV {\n width: 24px;\n height: 24px;\n border-radius: 4px;\n margin-right: 4px;\n}");export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as e,__generator as t}from'../../../../ext/tslib/tslib.es6.js';import*as a from"react";import{observer as n}from"mobx-react-lite";import o from'../../../../ext/lodash/sortBy.js';import c from"../input-with-button/index.js";import l from"../notification-box/index.js";import{CheckoutStep as r}from"../../model.js";import{IkasStorefrontConfig as i}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 s}from"../../../../utils/currency.js";import{useTranslation as u}from"../../../../utils/i18n.js";import{CartItem as m}from"./cart-item/index.js";import{FormItem as d}from"../form-item/index.js";import{FormItemType as p}from"../form-item/model.js";import E from"../tooltip/index.js";import v from"../svg/arrow-down.js";import C from"../svg/cross.js";import h from"../svg/gift.js";import f from"./style.module.scss.js";import g from"../svg/ikas.js";var k=n((function(e){var t,n,o=e.vm,c=e.allowExpand,d=o.cart,p=o.checkout,E=u().t,C=a.useState(!c),h=C[0],k=C[1],x=a.useState(!1),j=x[0],A=x[1],w=a.useState(0),P=w[0],L=w[1],R=a.useState(null),I=R[0],D=R[1],_=a.useState(!1),B=_[0],U=_[1],V=a.useState(!1),F=V[0],G=V[1];a.useEffect((function(){c&&(h?I&&L(I.getBoundingClientRect().height):L(0))}),[h,I,c,B,F,j]);var M=[f.CartSummary,h?f.Visible:"",c?f.AllowExpand:""].join(" "),O=c?{height:P+"px"}:{},z=[f.ArrowDown,h?f.Rotated:""].join(" ");return d?a.createElement("div",{className:M},!!c&&a.createElement("div",{className:f.ExpandHeader,onClick:function(){return k(!h)}},a.createElement("div",{className:f.Left},E("checkout-page:summary")),a.createElement("div",{className:f.Price},a.createElement("span",{className:f.PriceText},s(o.finalPrice,d.currencyCode)+" ("+(null===(t=o.cart)||void 0===t?void 0:t.items.length)+" "+E("checkout-page:cartItemProduct")+")"),a.createElement("span",{className:z},a.createElement(v,null)))),a.createElement("div",{className:f.DetailsContainer,style:O},a.createElement("div",{className:f.Details,ref:D},null==d?void 0:d.items.map((function(e,t){return a.createElement("div",{key:t},a.createElement(m,{vm:o,cartItem:e,currencyCode:d.currencyCode}))})),a.createElement("div",{className:f.Divider}),a.createElement("div",{className:f.SubTotalInfo},j&&a.createElement("div",{className:f.NotificationContainer},a.createElement(l,{type:"warning",title:E("checkout-page:giftCodeErrorTitle"),content:E("checkout-page:giftCodeErrorDescription"),onClose:function(){return A(!1)}})),a.createElement(N,{label:E("checkout-page:subtotal"),value:s(d.totalPrice,d.currencyCode),tooltipText:E("checkout-page:subtotalTooltip")}),!!(null===(n=p.shippingLines)||void 0===n?void 0:n.length)&&a.createElement(N,{label:E("checkout-page:cartShippingTitle"),value:p.shippingTotal?s(p.shippingTotal,d.currencyCode):E("checkout-page:free")}),!!o.checkout.totalTax&&a.createElement(N,{label:E("checkout-page:cartTaxTitle"),value:s(o.checkout.totalTax,d.currencyCode)}),!!o.installmentExtraPrice&&a.createElement(N,{label:E("checkout-page:cartInterest"),value:s(o.installmentExtraPrice,d.currencyCode)}),a.createElement(y,{vm:o}),a.createElement(S,{vm:o}),(o.step===r.SUCCESS&&(!!o.checkout.note||!!o.checkout.appliedCouponCode)||o.step!==r.SUCCESS)&&a.createElement("div",{className:f.Divider,style:{marginTop:"24px",marginBottom:"24px"}}),a.createElement(T,{vm:o,isAddingCoupon:F,setAddingCoupon:G,setCouponError:A}),a.createElement(b,{vm:o,isAddingNote:B,setAddingNote:U})),a.createElement("div",{className:f.TotalContainer},a.createElement("div",{className:f.TitleContainer},a.createElement("div",{className:f.Title},E("checkout-page:total"))),a.createElement("div",{className:f.TotalPrice},s(o.finalPrice,d.currencyCode))),a.createElement("div",{className:f.PoweredBy},a.createElement("span",null,"powered by"),a.createElement("a",{href:"https://ikas.com"+("tr"===i.getCurrentLocale()?"/tr":""),target:"_blank"},a.createElement(g,null)))))):null})),N=n((function(e){var t=e.label,n=e.value,o=e.tooltipText;return a.createElement("div",{className:f.InfoRow},a.createElement("div",{className:f.Label},a.createElement("span",null,t),!!o&&a.createElement(E,{text:o,style:{marginLeft:"8px"}})),a.createElement("div",{className:f.Value},n))})),y=n((function(e){var t=e.vm,n=u().t;return t.cart?a.createElement(a.Fragment,null,o(t.checkout.nonCouponAdjustments||[],"order").map((function(e,o){return a.createElement("div",{className:f.InfoRow,key:o},a.createElement("div",{className:f.Label},"INTEREST"===e.name?n("checkout-page:cartInterest"):e.name),a.createElement("div",{className:f.Value},a.createElement("span",null,"DECREMENT"===e.type?"- ":"")," ",a.createElement("span",null,s(e.amount,t.cart.currencyCode))))}))):null})),S=n((function(e){var t,n,o=e.vm,c=u().t;return o.cart?a.createElement(a.Fragment,null,o.step!==r.SUCCESS&&((null===(t=o.checkout.selectedPaymentGateway)||void 0===t?void 0:t.getCalculatedAdditionalPrices(o.checkout.totalFinalPrice||0,o.checkout.shippingLines||null))||[]).filter((function(e){return 0!==e.amount})).map((function(e,t){return a.createElement("div",{className:f.InfoRow,key:t},a.createElement("div",{className:f.Label},e.name),a.createElement("div",{className:f.Value},a.createElement("span",null,"DECREMENT"===e.type?"- ":"")," ",a.createElement("span",null,s(e.amount,o.cart.currencyCode))))})),null===(n=o.checkout.giftPackageLines)||void 0===n?void 0:n.map((function(e,t){return a.createElement("div",{className:f.InfoRow,key:t},a.createElement("div",{className:f.Label},a.createElement("div",{className:f.GiftLabel},a.createElement(h,{style:{position:"relative",top:"-1px"}}),a.createElement("span",null,c("checkout-page:giftPackage")))),a.createElement("div",{className:f.Value},a.createElement("span",null,s(e.price,o.cart.currencyCode))))}))):null})),T=n((function(n){var o=n.vm,l=n.isAddingCoupon,i=n.setAddingCoupon,m=n.setCouponError,d=u().t,p=a.useState(""),E=p[0],v=p[1],h=a.useState(!1),g=h[0],k=h[1];if(o.step===r.SUCCESS&&!o.checkout.appliedCouponCode)return null;var N=o.checkout.couponAdjustment;return a.createElement("div",{className:f.InfoRow},!o.checkout.appliedCouponCode&&!l&&a.createElement("div",{className:f.ActionTextBtn,onClick:function(){return i(!0)}},d("checkout-page:addCouponCode")),l&&a.createElement(c,{value:E,placeholder:d("checkout-page:couponCode"),buttonLabel:d("checkout-page:actions.apply"),onClick:function(){return e(void 0,void 0,void 0,(function(){return t(this,(function(e){switch(e.label){case 0:return o.checkout.couponCode=E,k(!0),[4,o.onCouponCodeApply()];case 1:return e.sent(),k(!1),v(""),o.checkout.appliedCouponCode?(i(!1),m(!1)):m(!0),[2]}}))}))},isLoading:g,onChange:v}),!!o.checkout.appliedCouponCode&&!l&&a.createElement("div",{className:[f.ActionTextBtn,f.NoUnderline,f.Light].join(" ")},d("checkout-page:couponCode"),a.createElement("span",{className:f.AppliedCoupon},a.createElement("span",{className:f.CouponCode},o.checkout.appliedCouponCode),o.step!==r.SUCCESS&&a.createElement("span",{className:f.ClearCoupon,onClick:function(){return e(void 0,void 0,void 0,(function(){return t(this,(function(e){switch(e.label){case 0:return o.checkout.couponCode=null,k(!0),[4,o.onCouponCodeDelete()];case 1:return e.sent(),k(!1),[2]}}))}))}},a.createElement(C,null)))),!!o.checkout.appliedCouponCode&&!l&&a.createElement("div",{className:f.Value},a.createElement("span",null,"DECREMENT"===(null==N?void 0:N.type)?"- ":"")," ",a.createElement("span",null,s((null==N?void 0:N.amount)||0,o.cart.currencyCode))))})),b=n((function(e){var t=e.vm,n=e.isAddingNote,o=e.setAddingNote,c=u().t,l=a.useState(t.checkout.note?c("checkout-page:editOrderNote"):c("checkout-page:addOrderNote"))[0],i=a.useCallback((function(){o(!0)}),[]),s=a.useCallback((function(e){t.checkout.note=e}),[t,t.checkout]);if(!t.checkoutSettings.showCheckoutNote)return null;var m=t.step===r.SUCCESS;return m&&!t.checkout.note?null:a.createElement("div",{className:f.InfoRow},!n&&!m&&a.createElement("div",{className:f.ActionTextBtn,onClick:i},l),(n||m)&&a.createElement("div",{className:[f.CheckoutNoteContainer,m?f.Success:""].join(" ")},a.createElement("div",{className:f.Title},c("checkout-page:orderNote")),m?a.createElement("div",{className:f.CheckoutNoteDisplay},t.checkout.note):a.createElement(d,{style:{width:"100%"},type:p.TEXT_AREA,disableResize:!0,label:"",value:t.checkout.note||"",onChange:s})))}));export{k as CartSummary};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'../../../../ext/style-inject/dist/style-inject.es.js';var t={CartSummary:"style-module_CartSummary__30RcF",AllowExpand:"style-module_AllowExpand__3kDXF",ExpandHeader:"style-module_ExpandHeader__2ICjA",Left:"style-module_Left__A54sv",Price:"style-module_Price__sosrJ",PriceText:"style-module_PriceText__1ePGb",ArrowDown:"style-module_ArrowDown__2ET-d",Rotated:"style-module_Rotated__3sgbm",DetailsContainer:"style-module_DetailsContainer__FBBIP",Details:"style-module_Details__3-X_i",Divider:"style-module_Divider__2d0Zk",ActionTextBtn:"style-module_ActionTextBtn__FXJQX",NoUnderline:"style-module_NoUnderline__34-1r",Light:"style-module_Light__WFzH8",SubTotalInfo:"style-module_SubTotalInfo__1QMnr",InfoRow:"style-module_InfoRow__3eZdJ",Label:"style-module_Label__3E7LF",TotalContainer:"style-module_TotalContainer__36DNt",TitleContainer:"style-module_TitleContainer__3ptQE",Title:"style-module_Title__16M5E",TotalPrice:"style-module_TotalPrice__2s7DC",AppliedCoupon:"style-module_AppliedCoupon__37qv8",CouponCode:"style-module_CouponCode__3rgOu",ClearCoupon:"style-module_ClearCoupon__1Rx4A",NotificationContainer:"style-module_NotificationContainer__Zblek",CheckoutNoteContainer:"style-module_CheckoutNoteContainer__zQQjd",CheckoutNoteDisplay:"style-module_CheckoutNoteDisplay__kTFTx",Success:"style-module_Success__2vqWA",GiftLabel:"style-module_GiftLabel__2f-wC",PoweredBy:"style-module_PoweredBy__1hgWQ"};e("@media only screen and (max-width: 1000px) {\n .style-module_CartSummary__30RcF {\n width: 100%;\n background-color: var(--checkout-card-bg-color);\n }\n}\n.style-module_CartSummary__30RcF.style-module_AllowExpand__3kDXF {\n border-top: 1px solid var(--checkout-border-color);\n}\n.style-module_CartSummary__30RcF .style-module_ExpandHeader__2ICjA {\n display: flex;\n justify-content: space-between;\n align-items: center;\n height: 48px;\n padding: 0 24px;\n width: 100%;\n border-bottom: 1px solid var(--checkout-border-color);\n transition: border-bottom 0.3s;\n user-select: none;\n background-color: var(--checkout-primary-bg-color);\n}\n.style-module_CartSummary__30RcF .style-module_ExpandHeader__2ICjA .style-module_Left__A54sv {\n display: flex;\n align-items: center;\n font-size: 16px;\n font-weight: 600;\n}\n.style-module_CartSummary__30RcF .style-module_ExpandHeader__2ICjA .style-module_Price__sosrJ {\n font-weight: 600;\n display: flex;\n align-items: center;\n}\n.style-module_CartSummary__30RcF .style-module_ExpandHeader__2ICjA .style-module_Price__sosrJ .style-module_PriceText__1ePGb {\n font-weight: 600;\n margin-right: 8px;\n}\n.style-module_CartSummary__30RcF .style-module_ExpandHeader__2ICjA .style-module_Price__sosrJ .style-module_ArrowDown__2ET-d {\n transition: all 0.3s;\n display: flex;\n align-items: center;\n}\n.style-module_CartSummary__30RcF .style-module_ExpandHeader__2ICjA .style-module_Price__sosrJ .style-module_ArrowDown__2ET-d.style-module_Rotated__3sgbm {\n transform: rotate(-180deg);\n}\n.style-module_CartSummary__30RcF .style-module_DetailsContainer__FBBIP {\n overflow: hidden;\n width: 100%;\n transition: height 0.3s ease-in-out;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CartSummary__30RcF .style-module_DetailsContainer__FBBIP {\n padding: 0 24px;\n box-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.2);\n }\n}\n.style-module_CartSummary__30RcF .style-module_Details__3-X_i {\n overflow: hidden;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CartSummary__30RcF .style-module_Details__3-X_i {\n padding-top: 24px;\n }\n}\n.style-module_CartSummary__30RcF .style-module_Divider__2d0Zk {\n width: 100%;\n height: 1px;\n margin: auto;\n background-color: var(--checkout-border-color);\n}\n.style-module_CartSummary__30RcF .style-module_ActionTextBtn__FXJQX {\n color: var(--checkout-primary-text-color);\n user-select: none;\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n.style-module_CartSummary__30RcF .style-module_ActionTextBtn__FXJQX:hover {\n text-decoration: underline;\n}\n.style-module_CartSummary__30RcF .style-module_ActionTextBtn__FXJQX.style-module_NoUnderline__34-1r:hover {\n text-decoration: none;\n}\n.style-module_CartSummary__30RcF .style-module_ActionTextBtn__FXJQX.style-module_Light__WFzH8 {\n color: var(--checkout-secondary-text-color);\n}\n.style-module_CartSummary__30RcF .style-module_SubTotalInfo__1QMnr {\n padding: 24px 0;\n border-bottom: 1px solid var(--checkout-border-color);\n}\n.style-module_CartSummary__30RcF .style-module_SubTotalInfo__1QMnr .style-module_InfoRow__3eZdJ {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 10px;\n}\n.style-module_CartSummary__30RcF .style-module_SubTotalInfo__1QMnr .style-module_InfoRow__3eZdJ .style-module_Label__3E7LF {\n color: var(--checkout-secondary-text-color);\n display: flex;\n align-items: center;\n}\n.style-module_CartSummary__30RcF .style-module_SubTotalInfo__1QMnr .style-module_InfoRow__3eZdJ:last-of-type {\n margin-bottom: 0;\n}\n.style-module_CartSummary__30RcF .style-module_TotalContainer__36DNt {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-top: 12px;\n}\n.style-module_CartSummary__30RcF .style-module_TotalContainer__36DNt .style-module_TitleContainer__3ptQE .style-module_Title__16M5E {\n font-size: 20px;\n font-weight: 600;\n}\n.style-module_CartSummary__30RcF .style-module_TotalContainer__36DNt .style-module_TotalPrice__2s7DC {\n font-size: 20px;\n font-weight: 600;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CartSummary__30RcF .style-module_TotalContainer__36DNt {\n height: 64px;\n margin-top: 0px;\n }\n}\n.style-module_CartSummary__30RcF .style-module_AppliedCoupon__37qv8 {\n display: flex;\n align-items: center;\n padding: 4px 4px 4px 8px;\n background-color: white;\n border-radius: 6px;\n margin-left: 12px;\n font-size: 14px;\n line-height: 20px;\n}\n.style-module_CartSummary__30RcF .style-module_AppliedCoupon__37qv8 .style-module_CouponCode__3rgOu {\n font-size: 14px;\n}\n.style-module_CartSummary__30RcF .style-module_AppliedCoupon__37qv8 .style-module_ClearCoupon__1Rx4A {\n cursor: pointer;\n display: flex;\n align-items: center;\n color: var(--checkout-secondary-text-color);\n}\n.style-module_CartSummary__30RcF .style-module_AppliedCoupon__37qv8 .style-module_ClearCoupon__1Rx4A svg {\n transform: scale(0.8);\n}\n.style-module_CartSummary__30RcF .style-module_NotificationContainer__Zblek {\n margin-bottom: 14px;\n}\n.style-module_CartSummary__30RcF .style-module_CheckoutNoteContainer__zQQjd {\n margin-top: 24px;\n width: calc(100% - 2px);\n margin-left: 1px;\n}\n.style-module_CartSummary__30RcF .style-module_CheckoutNoteContainer__zQQjd .style-module_Title__16M5E {\n font-size: 16px;\n color: var(--checkout-primary-text-color);\n margin-bottom: 8px;\n}\n.style-module_CartSummary__30RcF .style-module_CheckoutNoteContainer__zQQjd .style-module_CheckoutNoteDisplay__kTFTx {\n color: var(--checkout-secondary-text-color);\n}\n.style-module_CartSummary__30RcF .style-module_CheckoutNoteContainer__zQQjd.style-module_Success__2vqWA {\n margin-top: 0;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CartSummary__30RcF .style-module_CheckoutNoteContainer__zQQjd {\n margin-top: 0px;\n }\n}\n.style-module_CartSummary__30RcF .style-module_GiftLabel__2f-wC {\n display: flex;\n align-items: center;\n}\n.style-module_CartSummary__30RcF .style-module_GiftLabel__2f-wC span {\n margin-left: 8px;\n}\n.style-module_CartSummary__30RcF .style-module_PoweredBy__1hgWQ {\n width: 100%;\n height: 50px;\n justify-content: center;\n align-items: center;\n color: var(--checkout-primary-text-color);\n display: none;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CartSummary__30RcF .style-module_PoweredBy__1hgWQ {\n display: flex;\n }\n}\n.style-module_CartSummary__30RcF .style-module_PoweredBy__1hgWQ span {\n font-size: 14px;\n line-height: 20px;\n color: var(--checkout-secondary-text-color);\n margin-right: 8px;\n}\n.style-module_CartSummary__30RcF .style-module_PoweredBy__1hgWQ a {\n display: flex;\n align-items: center;\n}");export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var t=function(t){var a=t.className;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10.3",height:"8",viewBox:"8.9 0.3 10.3 8","enable-background":"new 8.9 0.3 10.3 8",className:a},e.createElement("path",{fill:"currentColor",d:"M12.6 8.1l-3.7-3.8 1-1.1 2.7 2.7 5.5-5.4 1 1z"}))};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 Checkbox: React.FC<Props>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as r}from"mobx-react-lite";import a from"./check.js";import o from"./style.module.scss.js";var c=r((function(r){var c=r.value,t=r.label,i=r.hasError,l=r.removePadding,n=r.onChange,m=[o.CheckboxBorder],s=[o.CheckboxLabel],h=[o.CheckboxTick];return c&&(m.push(o.Checked),h.push(o.Visible)),i&&s.push(o.CheckboxLabelError),e.createElement("div",{className:[o.CheckboxWrapper,l?o.WithoutPadding:""].join(" "),onClick:function(){n(!c)}},e.createElement("div",{className:o.CheckboxContainer},e.createElement("div",{className:m.join(" ")}),e.createElement("div",{className:h.join(" ")},e.createElement(a,null))),!!t&&e.createElement("div",{className:s.join(" ")},t))}));export{c as Checkbox};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'../../../../ext/style-inject/dist/style-inject.es.js';var o={CheckboxWrapper:"style-module_CheckboxWrapper__2tSbx",WithoutPadding:"style-module_WithoutPadding__3Azhr",CheckboxContainer:"style-module_CheckboxContainer__1zRvT",CheckboxBorder:"style-module_CheckboxBorder__281X3",Checked:"style-module_Checked__3-ZM4",CheckboxTick:"style-module_CheckboxTick__2LpQ-",Visible:"style-module_Visible__2Ng5Q",CheckboxLabel:"style-module_CheckboxLabel__30uMC",CheckboxLabelError:"style-module_CheckboxLabelError__FmdxF"};e(".style-module_CheckboxWrapper__2tSbx {\n width: 100%;\n display: flex;\n padding: 8px 0;\n cursor: pointer;\n user-select: none;\n align-items: center;\n}\n.style-module_CheckboxWrapper__2tSbx.style-module_WithoutPadding__3Azhr {\n padding: 0;\n}\n.style-module_CheckboxWrapper__2tSbx .style-module_CheckboxContainer__1zRvT {\n flex: 0 0 auto;\n position: relative;\n width: 20px;\n height: 20px;\n margin-right: 12px;\n}\n.style-module_CheckboxWrapper__2tSbx .style-module_CheckboxBorder__281X3 {\n flex: 0 0 auto;\n width: 20px;\n height: 20px;\n border-radius: 4px;\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__2tSbx .style-module_CheckboxBorder__281X3.style-module_Checked__3-ZM4 {\n border: 10px solid var(--checkout-button-bg-color);\n}\n.style-module_CheckboxWrapper__2tSbx .style-module_CheckboxTick__2LpQ- {\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__2tSbx .style-module_CheckboxTick__2LpQ-.style-module_Visible__2Ng5Q {\n opacity: 1;\n transform: scale(1.2);\n}\n.style-module_CheckboxWrapper__2tSbx .style-module_CheckboxLabel__30uMC {\n flex: 1 1 auto;\n font-weight: normal;\n color: var(--checkout-secondary-text-color);\n}\n.style-module_CheckboxWrapper__2tSbx .style-module_CheckboxLabelError__FmdxF {\n color: var(--checkout-error-color);\n}");export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as o}from"mobx-react-lite";import r from"../../styles/common.module.scss.js";import t from"../../style.module.scss.js";import{FormItem as i}from"../form-item/index.js";import{FormItemInputType as a,FormItemType as m}from"../form-item/model.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{IkasCardAssociation as s}from"../../../../models/data/installment-info/index.js";import"../../../../models/data/order/index.js";import"../../../../models/data/order/line-item/index.js";import"mobx";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/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 d from"./svg/amex.js";import l from"./svg/master-card.js";import n from"./svg/troy.js";import p from"./svg/visa.js";import c 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{useTranslation as u}from"../../../../utils/i18n.js";var j=o((function(o){var j,x=o.vm,v=u().t,f=x.cardData;if(!f)return null;return e.createElement("div",null,e.createElement("div",{className:t.RowPB},e.createElement(i,{name:"cardnumber",autocomplete:"cc-number",inputType:a.NUMERIC,type:m.TEXT,label:v("checkout-page:cardNumber"),value:f.cardNumber,onChange:x.onCardNumberChange,errorText:v("checkout-page:cardNumberError"),rightContent:(null===(j=x.installmentInfo)||void 0===j?void 0:j.cardAssociation)?e.createElement("div",{className:c.CardLogo},function(o){switch(o){case s.AMERICAN_EXPRESS:return e.createElement(d,null);case s.MASTER_CARD:return e.createElement(l,null);case s.TROY:return e.createElement(n,null);case s.VISA:return e.createElement(p,null);default:return e.createElement("div",null)}}(x.installmentInfo.cardAssociation)):void 0,hasError:x.isErrorsVisible&&!f.validationResult.cardNumber})),e.createElement("div",{className:t.RowPB},e.createElement(i,{name:"ccname",autocomplete:"cc-name",type:m.TEXT,label:v("checkout-page:cardHolderName"),value:f.cardHolderName,onChange:x.onCardHolderNameChange,errorText:v("checkout-page:cardHolderError"),hasError:x.isErrorsVisible&&!f.validationResult.cardHolderName})),e.createElement("div",{className:[r.Grid,r.Grid2].join(" ")},e.createElement(i,{name:"cc-exp",autocomplete:"cc-exp",inputType:a.NUMERIC,type:m.TEXT,label:v("checkout-page:cardExpiry"),value:f.expirationDate,onChange:x.onExpirationDateChange,errorText:v("checkout-page:cardExpiryError"),hasError:x.isErrorsVisible&&!f.validationResult.expirationDate}),e.createElement(i,{name:"cvc",autocomplete:"cc-csc",inputType:a.NUMERIC,type:m.TEXT,label:v("checkout-page:cardCVC"),value:f.cvv,onChange:x.onCvcChange,errorText:v("checkout-page:cardCVCError"),tooltipText:v("checkout-page:cardCVCTooltip"),hasError:x.isErrorsVisible&&!f.validationResult.cvv})))}));export{j as CreditCardForm};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export default class CreditCardData {
|
|
2
|
+
cardNumber?: string;
|
|
3
|
+
cardHolderName?: string;
|
|
4
|
+
expirationDate?: string;
|
|
5
|
+
cvv?: string;
|
|
6
|
+
installmentCount: number;
|
|
7
|
+
threeDSecure: boolean;
|
|
8
|
+
constructor(data?: Partial<CreditCardData>);
|
|
9
|
+
get validationResult(): CreditCardDataValidation;
|
|
10
|
+
get isValid(): boolean;
|
|
11
|
+
toInput: () => {
|
|
12
|
+
cardNumber: string;
|
|
13
|
+
cardHolderName: string;
|
|
14
|
+
cvv: string;
|
|
15
|
+
expiredMonth: number;
|
|
16
|
+
expiredYear: number;
|
|
17
|
+
installmentCount: number;
|
|
18
|
+
threeDSecure: boolean;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export declare type CreditCardDataValidation = {
|
|
22
|
+
cardNumber: boolean;
|
|
23
|
+
cardHolderName: boolean;
|
|
24
|
+
expirationDate: boolean;
|
|
25
|
+
cvv: boolean;
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as e}from"mobx";var t=function(){function t(t){var r=this;void 0===t&&(t={}),this.installmentCount=1,this.toInput=function(){var e=r.expirationDate.split(" / "),t=parseInt(e[0]),i=parseInt(e[1]);return{cardNumber:r.cardNumber.split(" ").join(""),cardHolderName:r.cardHolderName,cvv:r.cvv,expiredMonth:t,expiredYear:i,installmentCount:r.installmentCount,threeDSecure:r.threeDSecure}},this.cardNumber=t.cardNumber||"",this.cardHolderName=t.cardHolderName||"",this.expirationDate=t.expirationDate||"",this.cvv=t.cvv||"",this.installmentCount=t.installmentCount||1,this.threeDSecure=t.threeDSecure||!1,e(this)}return Object.defineProperty(t.prototype,"validationResult",{get:function(){return{cardNumber:!!this.cardNumber&&19===this.cardNumber.length,cardHolderName:!!this.cardHolderName,expirationDate:!!this.expirationDate&&7===this.expirationDate.length,cvv:!!this.cvv}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValid",{get:function(){return Object.values(this.validationResult).every((function(e){return e}))},enumerable:!1,configurable:!0}),t}();export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'../../../../ext/style-inject/dist/style-inject.es.js';var t={CardLogo:"style-module_CardLogo__1jFyp"};e(".style-module_CardLogo__1jFyp {\n display: flex;\n align-items: center;\n height: 100%;\n padding-right: 16px;\n}");export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as L from"react";var e=function(e){var H=e.className;return L.createElement("svg",{width:"32",height:"24",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:H},L.createElement("path",{d:"M2 0.5H30C30.8284 0.5 31.5 1.17157 31.5 2V22C31.5 22.8284 30.8284 23.5 30 23.5H2C1.17157 23.5 0.5 22.8284 0.5 22V2C0.5 1.17157 1.17157 0.5 2 0.5Z",fill:"#1F72CD",stroke:"#E5E4E9"}),L.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.93431 9L3 15.5453H6.51278L6.94826 14.5017H7.94368L8.37916 15.5453H12.2457V14.7488L12.5903 15.5453H14.5904L14.9349 14.7319V15.5453H22.9764L23.9542 14.5288L24.8697 15.5453L29 15.5537L26.0564 12.2909L29 9H24.9338L23.982 9.9977L23.0952 9H14.3472L13.596 10.6894L12.8272 9H9.32172V9.7694L8.93177 9H5.93431ZM6.6141 9.92922H8.32639L10.2727 14.3676V9.92922H12.1485L13.6518 13.1115L15.0373 9.92922H16.9036V14.6259H15.768L15.7587 10.9456L14.103 14.6259H13.0872L11.4222 10.9456V14.6259H9.08594L8.64302 13.5729H6.25011L5.80811 14.625H4.55635L6.6141 9.92922ZM22.5606 9.92922H17.9429V14.6231H22.4891L23.9545 13.0675L25.3668 14.6231H26.8432L24.6973 12.2898L26.8432 9.92922H25.4309L23.973 11.467L22.5606 9.92922ZM7.44697 10.7239L6.6586 12.5996H8.23442L7.44697 10.7239ZM19.0826 11.7588V10.9015V10.9006H21.964L23.2212 12.2718L21.9083 13.6505H19.0826V12.7145H21.6018V11.7588H19.0826Z",fill:"white"}))};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var t=function(t){var l=t.className;return e.createElement("svg",{width:"32",height:"24",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l},e.createElement("path",{d:"M2 0.5H30C30.8284 0.5 31.5 1.17157 31.5 2V22C31.5 22.8284 30.8284 23.5 30 23.5H2C1.17157 23.5 0.5 22.8284 0.5 22V2C0.5 1.17157 1.17157 0.5 2 0.5Z",fill:"white",stroke:"#E5E4E9"}),e.createElement("path",{d:"M12.5652 17.1304C15.6388 17.1304 18.1304 14.6388 18.1304 11.5652C18.1304 8.49163 15.6388 6 12.5652 6C9.49163 6 7 8.49163 7 11.5652C7 14.6388 9.49163 17.1304 12.5652 17.1304Z",fill:"#E61C24"}),e.createElement("path",{d:"M19.4759 17.1304C22.5494 17.1304 25.0411 14.6388 25.0411 11.5652C25.0411 8.49163 22.5494 6 19.4759 6C16.4023 6 13.9106 8.49163 13.9106 11.5652C13.9106 14.6388 16.4023 17.1304 19.4759 17.1304Z",fill:"#F99F1B"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0205 7.20801C14.6879 8.2615 13.9106 9.86684 13.9106 11.5656C13.9106 13.2643 14.6879 14.8696 16.0205 15.9231C17.3531 14.8696 18.1304 13.2643 18.1304 11.5656C18.1304 9.86684 17.3531 8.2615 16.0205 7.20801Z",fill:"#F26622"}))};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var l=function(l){var t=l.className;return e.createElement("svg",{width:"32",height:"24",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t},e.createElement("path",{d:"M2 0.5H30C30.8284 0.5 31.5 1.17157 31.5 2V22C31.5 22.8284 30.8284 23.5 30 23.5H2C1.17157 23.5 0.5 22.8284 0.5 22V2C0.5 1.17157 1.17157 0.5 2 0.5Z",fill:"white",stroke:"#E5E4E9"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.331 9.4811C24.0522 9.4811 23.7446 9.63656 23.6219 9.91598L22.3183 12.9041L21.8488 9.91598C21.7937 9.63656 21.6037 9.4811 21.3033 9.4811L19.652 9.4811L21.0644 14.4436C21.0904 14.5389 21.0953 14.6443 21.0764 14.7553C21.0023 15.1694 20.6068 15.5054 20.1924 15.5054L19.2677 15.5054C19.0328 15.5054 18.8782 15.6509 18.8026 15.9801L18.5972 17.21L20.2258 17.21C21.0754 17.21 22.0733 16.7831 22.7389 15.6027L26 9.4811L24.331 9.4811Z",fill:"#2F3842"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.2998 8.00041C8.78746 8.00041 9.02309 8.19493 8.93741 8.68384L8.79675 9.48037L9.91728 9.48037L9.67046 10.8795L8.54946 10.8795L8.24405 12.612C8.13851 13.2156 8.73595 13.2959 9.07869 13.2959C9.14705 13.2959 9.20376 13.2945 9.24439 13.2921L8.97033 14.8524C8.88574 14.8614 8.79848 14.873 8.61404 14.873C7.76333 14.873 6.15404 14.6453 6.47048 12.85L6.817 10.8795L6 10.8795L6.24587 9.48037L7.05484 9.48037L7.31521 8.00041L8.2998 8.00041Z",fill:"#2F3842"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7158 9.54448L17.428 11.1758C17.7829 11.3571 18.0261 11.7254 18.0261 12.1506C18.0261 12.7114 17.6057 13.171 17.0645 13.237L16.7769 14.868C16.8276 14.8713 16.8792 14.873 16.9307 14.873C18.4351 14.873 19.6536 13.6538 19.6536 12.1506C19.6536 10.9217 18.8376 9.88187 17.7158 9.54448Z",fill:"#00A6B6"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.4343 13.1255C16.0797 12.9452 15.8359 12.5752 15.8359 12.1504C15.8359 11.5931 16.2572 11.1302 16.7983 11.0651L17.0856 9.43397C17.0346 9.43082 16.9826 9.42846 16.9314 9.42846C15.4281 9.42846 14.209 10.6485 14.209 12.1504C14.209 13.3799 15.0254 14.4204 16.1471 14.7578L16.4343 13.1255Z",fill:"#00A6B6"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5661 9.48044L11.529 9.48044C12.0168 9.48044 12.2515 9.67543 12.1655 10.1645L12.0601 10.7561C12.4189 10.0279 13.197 9.4272 13.9951 9.4272C14.0999 9.4272 14.2007 9.44799 14.2007 9.44799L13.8894 11.2123C13.8894 11.2123 13.7497 11.1798 13.5317 11.1798C13.1064 11.1798 12.3871 11.3146 11.9867 12.1138C11.8913 12.3109 11.8179 12.5505 11.767 12.8392L11.4186 14.8213L9.625 14.8213L10.5661 9.48044Z",fill:"#2F3842"}))};export{l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var l=function(l){var t=l.className;return e.createElement("svg",{width:"32",height:"24",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t},e.createElement("path",{d:"M2 0.5H30C30.8284 0.5 31.5 1.17157 31.5 2V22C31.5 22.8284 30.8284 23.5 30 23.5H2C1.17157 23.5 0.5 22.8284 0.5 22V2C0.5 1.17157 1.17157 0.5 2 0.5Z",fill:"white",stroke:"#E5E4E9"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.6875 15.1655H14.5025L15.6385 8.50391H13.8228L12.6875 15.1655Z",fill:"#1A1876"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.2995 11.1787C18.6651 10.8705 18.2762 10.6646 18.2804 10.3529C18.2804 10.076 18.6095 9.77969 19.3204 9.77969C19.902 9.77065 20.3709 9.88891 20.8425 10.1115L21.0888 8.66735C20.7291 8.53239 20.1656 8.3877 19.4616 8.3877C17.6675 8.3877 16.4035 9.29135 16.3931 10.586C16.3827 11.5432 17.2954 12.0774 17.9841 12.396C18.6909 12.7223 18.9288 12.931 18.9253 13.2225C18.9211 13.6691 18.3611 13.8729 17.8387 13.8729C17.0331 13.8729 16.6269 13.7484 15.8957 13.4173L15.6411 14.9087C16.0655 15.0945 16.8495 15.2559 17.6641 15.2642C19.5729 15.2642 20.8119 14.371 20.8258 12.988C20.8307 12.2305 20.3472 11.6538 19.2995 11.1787Z",fill:"#1A1876"}),e.createElement("path",{d:"M25.7438 8.50977H24.3407C23.9059 8.50977 23.581 8.62872 23.3897 9.06211L20.6934 15.1672H22.6001C22.6001 15.1672 22.9118 14.3463 22.9827 14.1661C23.1914 14.1661 25.0433 14.1689 25.3083 14.1689C25.3626 14.4019 25.5295 15.1672 25.5295 15.1672H27.2144L25.7438 8.50977ZM23.5052 12.804C23.5803 12.612 24.3212 10.7094 24.4694 10.3059C24.7149 11.4545 24.4756 10.34 25.0127 12.804H23.5052Z",fill:"#1A1876"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.1646 8.50906L9.38648 13.0517L9.19726 12.1285L8.56074 9.06697C8.45083 8.6454 8.13222 8.51949 7.73778 8.50488H4.80909L4.78613 8.64332C5.49848 8.81584 6.135 9.06488 6.69361 9.37375L8.30822 15.1595L10.2296 15.1574L13.088 8.50836H11.1646V8.50906Z",fill:"#1A1876"}))};export{l as default};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import CustomerAddressesViewModel from "./model";
|
|
3
|
+
declare type Props = {
|
|
4
|
+
vm: CustomerAddressesViewModel;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: React.FunctionComponent<Props>;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare type CustomerAddressFormProps = {
|
|
9
|
+
vm: CustomerAddressesViewModel;
|
|
10
|
+
};
|
|
11
|
+
export declare const CustomerAddressForm: React.FC<CustomerAddressFormProps>;
|
|
12
|
+
declare type SaveAddressProps = {
|
|
13
|
+
vm: CustomerAddressesViewModel;
|
|
14
|
+
};
|
|
15
|
+
export declare const SaveAddressCheckboxAndTitle: React.FC<SaveAddressProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as s}from"mobx-react-lite";import t from"../../style.module.scss.js";import r from"../select-box/index.js";import{AddressForm as d}from"../address-form/index.js";import{Checkbox as o}from"../checkbox/index.js";import{FormItem as i}from"../form-item/index.js";import{FormItemType as l}from"../form-item/model.js";import a from"./style.module.scss.js";import n from"../../styles/common.module.scss.js";import{Button as m}from"../button/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 c}from"../../../../utils/i18n.js";var u=s((function(s){var d=s.vm,o=c().t,i=e.useMemo((function(){return e.createElement("div",null,e.createElement(p,{vm:d}),e.createElement(g,{vm:d}))}),[d]);return e.createElement(e.Fragment,null,e.createElement("div",{className:n.FormSectionTitle},e.createElement("div",{className:n.Title},d.editingCustomerAddress?o("checkout-page:editAddress"):"billing"===d.addressType?o("checkout-page:billingAddress"):o("checkout-page:shippingAddress")),!!d.editingCustomerAddress&&e.createElement("div",{className:a.CancelEdit,onClick:d.onCancelEditAddressClick},o("checkout-page:actions.cancel"))),!!d.vm.store.customerStore.customer&&!d.editingCustomerAddress&&e.createElement("div",{className:t.RowPB},d.vm.store.customerStore.customer.addresses.map((function(s){return e.createElement(r,{key:s.id,label:s.title||"",isSelected:s.id===d.selectedAddressId,rightContent:e.createElement("div",{onClick:function(){return d.onEditAddressClick(s)}},o("checkout-page:actions.edit")),bottomContent:e.createElement("div",{className:a.AddressText},s.addressText),bottomContentVisible:!0,hasError:!s.isValid,errorText:o("checkout-page:missingAddressFields"),onClick:function(){return s.id!==d.selectedAddressId&&d.onAddressSelect(s)}})})),e.createElement(r,{label:o("checkout-page:newAddress"),isSelected:"-1"===d.selectedAddressId,bottomContent:i,onClick:function(){return"-1"!==d.selectedAddressId&&d.onAddressSelect()}})),!d.vm.store.customerStore.customer&&i,!!d.editingCustomerAddress&&e.createElement(p,{vm:d}),!!d.editingCustomerAddress&&e.createElement("div",{className:a.EditAddressActions},e.createElement(m,{style:{width:"100%"},text:o("checkout-page:deleteAddress"),isLine:!0,isLoading:d.isDeleteAddressLoading,isDisabled:d.isEditAddressLoading,onClick:d.onDeleteAddressClick}),e.createElement(m,{style:{width:"100%",marginTop:d.vm.store.customerStore.customer?"0px":"32px"},text:o("checkout-page:actions.save"),isLoading:d.isEditAddressLoading,isDisabled:d.isDeleteAddressLoading,onClick:d.onSaveAddressClick})))})),p=s((function(s){var t=s.vm;return e.createElement(d,{address:t.editingCustomerAddress||t.address,isErrorsVisible:t.isEditAddressErrorsVisible||t.vm.isErrorsVisible,allowedCountryIds:t.vm.shippingCountryIds||void 0,allowCorporateInfo:"billing"===t.addressType,firstNameChangeCallback:t.firstNameChangeCallback,lastNameChangeCallback:t.lastNameChangeCallback,allowTitleChange:!!t.editingCustomerAddress})})),g=s((function(s){var t=s.vm,r=c().t;return t.vm.store.customerStore.customer&&"-1"===t.selectedAddressId?e.createElement("div",{style:{marginTop:"12px"}},e.createElement(o,{value:t.vm.shouldSaveAddress,label:r("checkout-page:saveAddressCta"),onChange:t.vm.setShouldSaveAddress}),t.vm.shouldSaveAddress&&e.createElement("div",{style:{marginTop:"8px"}},e.createElement(i,{type:l.TEXT,label:r("checkout-page:addressTitle"),value:t.vm.addressTitle,onChange:t.vm.setAddressTitle}))):null}));export{p as CustomerAddressForm,g as SaveAddressCheckboxAndTitle,u as default};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IkasCustomerAddress } from "../../../../models";
|
|
2
|
+
import CheckoutViewModel from "../../model";
|
|
3
|
+
export declare type AddressType = "shipping" | "billing";
|
|
4
|
+
export default class CustomerAddressesViewModel {
|
|
5
|
+
vm: CheckoutViewModel;
|
|
6
|
+
addressType: AddressType;
|
|
7
|
+
editingCustomerAddress: IkasCustomerAddress | null;
|
|
8
|
+
isDeleteAddressLoading: boolean;
|
|
9
|
+
isEditAddressLoading: boolean;
|
|
10
|
+
isEditAddressErrorsVisible: boolean;
|
|
11
|
+
constructor(vm: CheckoutViewModel, addressType: AddressType);
|
|
12
|
+
get address(): import("../../../../models/data/order/address").IkasOrderAddress | null | undefined;
|
|
13
|
+
get selectedAddressId(): string | undefined;
|
|
14
|
+
onAddressSelect: (address?: IkasCustomerAddress | undefined) => void;
|
|
15
|
+
onEditAddressClick: (address?: IkasCustomerAddress | undefined) => void;
|
|
16
|
+
onCancelEditAddressClick: () => void;
|
|
17
|
+
onDeleteAddressClick: () => Promise<void>;
|
|
18
|
+
onSaveAddressClick: () => Promise<void>;
|
|
19
|
+
firstNameChangeCallback: (value: string) => void;
|
|
20
|
+
lastNameChangeCallback: (value: string) => void;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as e,__generator as s}from'../../../../ext/tslib/tslib.es6.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{IkasCustomerAddress as t}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{makeAutoObservable as i}from"mobx";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/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 d from'../../../../ext/lodash/cloneDeep.js';var r=function(){function r(r,o){var n=this;this.editingCustomerAddress=null,this.isDeleteAddressLoading=!1,this.isEditAddressLoading=!1,this.isEditAddressErrorsVisible=!1,this.onAddressSelect=function(e){("shipping"===n.addressType?n.vm.onSelectedShippingAddressIdChange:n.vm.onSelectedBillingAddressIdChange)((null==e?void 0:e.id)||"-1")},this.onEditAddressClick=function(e){var s=new t(d(e));s.checkoutSettings=n.vm.checkoutSettings,n.editingCustomerAddress=s},this.onCancelEditAddressClick=function(){n.isDeleteAddressLoading||n.isEditAddressLoading||(n.editingCustomerAddress=null)},this.onDeleteAddressClick=function(){return e(n,void 0,void 0,(function(){var e,t,i,r=this;return s(this,(function(s){switch(s.label){case 0:if(-1===(e=null===(i=this.vm.store.customerStore.customer)||void 0===i?void 0:i.addresses.findIndex((function(e){var s;return e.id===(null===(s=r.editingCustomerAddress)||void 0===s?void 0:s.id)})))||void 0===e)return[3,5];(t=d(this.vm.store.customerStore.customer)).addresses.splice(e,1),s.label=1;case 1:return s.trys.push([1,3,4,5]),this.isDeleteAddressLoading=!0,[4,this.vm.store.customerStore.saveCustomer(t)];case 2:return s.sent()&&(this.editingCustomerAddress=null),[3,5];case 3:return s.sent(),[3,5];case 4:return this.isDeleteAddressLoading=!1,[7];case 5:return[2]}}))}))},this.onSaveAddressClick=function(){return e(n,void 0,void 0,(function(){var e,t,i,r,o=this;return s(this,(function(s){switch(s.label){case 0:if(this.isDeleteAddressLoading||this.isEditAddressLoading)return[2];if(!(null===(i=this.editingCustomerAddress)||void 0===i?void 0:i.isValid))return this.isEditAddressErrorsVisible=!0,[2];if(-1===(e=null===(r=this.vm.store.customerStore.customer)||void 0===r?void 0:r.addresses.findIndex((function(e){var s;return e.id===(null===(s=o.editingCustomerAddress)||void 0===s?void 0:s.id)})))||void 0===e)return[3,5];(t=d(this.vm.store.customerStore.customer)).addresses[e]=this.editingCustomerAddress,s.label=1;case 1:return s.trys.push([1,3,4,5]),this.isEditAddressLoading=!0,[4,this.vm.store.customerStore.saveCustomer(t)];case 2:return s.sent()&&(this.onAddressSelect(this.editingCustomerAddress),this.editingCustomerAddress=null,this.isEditAddressErrorsVisible=!1),[3,5];case 3:return s.sent(),[3,5];case 4:return this.isEditAddressLoading=!1,[7];case 5:return[2]}}))}))},this.firstNameChangeCallback=function(e){n.vm.checkout.hasCustomer||"shipping"!==n.addressType||(n.vm.checkout.customer.firstName=e)},this.lastNameChangeCallback=function(e){n.vm.checkout.hasCustomer||"shipping"!==n.addressType||(n.vm.checkout.customer.lastName=e)},this.vm=r,this.addressType=o,i(this)}return Object.defineProperty(r.prototype,"address",{get:function(){return"shipping"===this.addressType?this.vm.checkout.shippingAddress:this.vm.checkout.billingAddress},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"selectedAddressId",{get:function(){return"shipping"===this.addressType?this.vm.selectedShippingAddressId:this.vm.selectedBillingAddressId},enumerable:!1,configurable:!0}),r}();export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'../../../../ext/style-inject/dist/style-inject.es.js';var t={AddressText:"style-module_AddressText__2J31s",CancelEdit:"style-module_CancelEdit__2MXfO",EditAddressActions:"style-module_EditAddressActions__1TY0T"};e(".style-module_AddressText__2J31s {\n padding-left: 32px;\n color: var(--checkout-secondary-text-color);\n}\n\n.style-module_CancelEdit__2MXfO {\n font-size: 16px;\n padding-bottom: 16px;\n cursor: pointer;\n user-select: none;\n}\n\n.style-module_EditAddressActions__1TY0T {\n display: grid;\n grid-template-columns: 1fr 1fr;\n grid-gap: 16px;\n margin-top: 16px;\n}");export{t as default};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import CheckoutViewModel from "../../../../../components/checkout/model";
|
|
3
|
+
declare type Props = {
|
|
4
|
+
vm: CheckoutViewModel;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const CustomerLoginRequiredError: React.FC<Props>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as o from"react";import{observer as e}from"mobx-react-lite";import r from"../../notification-box/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 t}from"../../../../../utils/i18n.js";var s=e((function(e){e.vm;var s=e.onClose,i=t().t;return o.createElement(r,{type:"warning",content:o.createElement("div",null,i("checkout-page:errorCustomerRequired")),onClose:s})}));export{s as CustomerLoginRequiredError};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as r}from"mobx-react-lite";import{ErrorType as o}from"../../model.js";import{UnknownError as t}from"./unknown-error/index.js";import{PaymentError as n}from"./payment-error/index.js";import{NoShippingError as l}from"./no-shipping-error/index.js";import{CustomerLoginRequiredError as m}from"./customer-login-required-error/index.js";var a=r((function(r){var a,i=r.vm,s=e.useRef(null),c=e.useCallback((function(){i.error=void 0}),[i]),u=null;switch(null===(a=i.error)||void 0===a?void 0:a.type){case o.PAYMENT_ERROR:u=e.createElement(n,{error:i.error,onClose:c});break;case o.NO_SHIPPING_ERROR:u=e.createElement(l,{onClose:c});break;case o.CUSTOMER_LOGIN_REQUIRED_ERROR:u=e.createElement(m,{vm:i,onClose:c});break;case o.API_ERROR:case o.UNKNOWN:u=e.createElement(t,{onClose:c});break;default:u=null}return u?(s.current&&s.current.scrollIntoView(),e.createElement("div",{ref:s,style:{marginBottom:"24px"}},u)):null}));export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as o from"react";import{observer as e}from"mobx-react-lite";import r from"../../notification-box/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 t}from"../../../../../utils/i18n.js";var s=e((function(e){var s=e.onClose,i=t().t;return o.createElement(r,{type:"warning",content:i("checkout-page:errorNoShipping"),onClose:s})}));export{s as NoShippingError};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as o from"react";import{observer as r}from"mobx-react-lite";import e from"../../notification-box/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 t}from"../../../../../utils/i18n.js";var s=r((function(r){var s=r.error,i=r.onClose,m=t().t;return o.createElement(e,{type:"error",content:(null==s?void 0:s.data)||m("checkout-page:errorPayment"),onClose:i})}));export{s as PaymentError};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import CheckoutViewModel, { CheckoutError } from "../../../../../components/checkout/model";
|
|
3
|
+
declare type Props = {
|
|
4
|
+
vm: CheckoutViewModel;
|
|
5
|
+
error: CheckoutError;
|
|
6
|
+
};
|
|
7
|
+
export declare const StockError: React.FC<Props>;
|
|
8
|
+
export {};
|
|
@@ -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 i from"../../notification-box/index.js";import{CartItem as n}from"../../cart-summary/cart-item/index.js";import a from"./style.module.scss.js";import{Button as s}from"../../button/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 c}from"../../../../../utils/i18n.js";var l=r((function(r){var l=r.vm,m=r.error,d=c().t,u=o.useState(!1),p=u[0],v=u[1],f=m.data,h=o.useCallback((function(){return e(void 0,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return v(!0),[4,l.removeUnavailableItems(f)];case 1:return t.sent(),f.length===(null===(e=l.cart)||void 0===e?void 0:e.items.length)?l.onBackToShoppingClick():window.location.reload(),[2]}}))}))}),[l]);return o.createElement(i,{type:"warning",title:d("checkout-page:errorStockTitle"),content:o.createElement("div",null,o.createElement("div",{className:a.Description},d("checkout-page:errorStockDescription")),f.map((function(e,t){var r;return o.createElement("div",{key:t},o.createElement(n,{vm:l,cartItem:e,currencyCode:(null===(r=l.checkout.cart)||void 0===r?void 0:r.currencyCode)||""}))})),o.createElement("div",{className:a.Actions},o.createElement(s,{style:{width:"100%"},text:d("checkout-page:actions.backToCart"),isLine:!0,isDisabled:p,onClick:l.onGoToCartClick}),o.createElement(s,{style:{width:"100%"},text:d("checkout-page:actions.continue"),isLoading:p,onClick:h})))})}));export{l as StockError};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t from'../../../../../ext/style-inject/dist/style-inject.es.js';var e={Actions:"style-module_Actions__ttsEZ",Description:"style-module_Description__3BMvk"};t(".style-module_Actions__ttsEZ {\n display: grid;\n grid-template-columns: 1fr 1fr;\n grid-gap: 16px;\n}\n\n.style-module_Description__3BMvk {\n margin-bottom: 24px;\n}");export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as o from"react";import{observer as e}from"mobx-react-lite";import r from"../../notification-box/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 t}from"../../../../../utils/i18n.js";var s=e((function(e){var s=e.onClose,n=t().t;return o.createElement(r,{type:"error",content:o.createElement("div",null,n("checkout-page:errorUnknown")),onClose:s})}));export{s as UnknownError};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as t}from"mobx-react-lite";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{useTranslation as o}from"../../../../utils/i18n.js";var a=t((function(t){var a=t.title,r=t.children,i=o().t,m=e.useState(!1),l=m[0],n=m[1];return e.createElement("div",{className:s.ExpandableSection},e.createElement("div",{className:s.Top},e.createElement("div",{className:s.Title},a),e.createElement("div",{className:s.HideBtn,onClick:function(){return n(!l)}},i(l?"checkout-page:actions.hide":"checkout-page:actions.show"))),l&&!!r&&e.createElement("div",{className:s.Content},r))}));export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'../../../../ext/style-inject/dist/style-inject.es.js';var n={ExpandableSection:"style-module_ExpandableSection__2JTCI",Top:"style-module_Top__3j_E0",Title:"style-module_Title__2w3G9",HideBtn:"style-module_HideBtn__xC3Ix",Content:"style-module_Content__3TXDF"};e(".style-module_ExpandableSection__2JTCI {\n border-bottom: 1px solid var(--checkout-border-color);\n}\n.style-module_ExpandableSection__2JTCI .style-module_Top__3j_E0 {\n padding: 24px 0;\n display: flex;\n justify-content: space-between;\n align-items: center;\n user-select: none;\n}\n.style-module_ExpandableSection__2JTCI .style-module_Top__3j_E0 .style-module_Title__2w3G9 {\n font-weight: 600;\n font-size: 20px;\n line-height: 32px;\n}\n.style-module_ExpandableSection__2JTCI .style-module_Top__3j_E0 .style-module_HideBtn__xC3Ix {\n font-size: 14px;\n cursor: pointer;\n user-select: none;\n}\n.style-module_ExpandableSection__2JTCI .style-module_Content__3TXDF {\n padding-bottom: 24px;\n}");export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var t=function(t){var a=t.className;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",className:a},e.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),e.createElement("path",{fill:"currentColor",d:"M12 16l-6-6h12z"}))};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{runInAction as t}from"mobx";import{observer as n}from"mobx-react-lite";import o,{FormItemType as r}from"./model.js";import a from"./caret-down.js";import l from"./style.module.scss.js";import u from'../../../../ext/@ikas/react-phone-number-input/min/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 i}from"../../../../utils/i18n.js";import c from'../../../../ext/react-tooltip/dist/index.es.js';var s=n((function(n){var a=i().t,s=e.useState((function(){return new o(n)})),d=s[0],E=s[1];return e.useEffect((function(){c.rebuild()}),[]),e.useEffect((function(){t((function(){d.type=n.type}))}),[n.type]),e.useEffect((function(){t((function(){d.inputType=n.inputType}))}),[n.inputType]),e.useEffect((function(){t((function(){d.value=n.value}))}),[n.value]),e.useEffect((function(){t((function(){d.options=n.options}))}),[n.options]),e.useEffect((function(){t((function(){d.label=n.label}))}),[n.label]),e.useEffect((function(){t((function(){d.hasError=n.hasError}))}),[n.hasError]),e.useEffect((function(){t((function(){d.errorText=n.errorText}))}),[n.errorText]),e.useEffect((function(){t((function(){d.errorText=n.errorText}))}),[n.errorText]),e.useEffect((function(){t((function(){d.textAreaPlaceholder=n.textAreaPlaceholder}))}),[n.textAreaPlaceholder]),e.useEffect((function(){t((function(){d.rightContent=n.rightContent}))}),[n.rightContent]),e.useEffect((function(){t((function(){d.disableResize=n.disableResize}))}),[n.disableResize]),e.useEffect((function(){t((function(){E(new o(n))}))}),[n.onChange]),e.useEffect((function(){!d.country&&n.currentCountryCode&&d.onCountryChange(n.currentCountryCode)}),[n.currentCountryCode]),e.createElement("div",{className:d.formItemStyle,style:n.style},e.createElement("div",{className:l.FormItemWrapper},e.createElement("div",{className:l.FormItemInputWrapper},e.createElement("label",{className:d.labelStyle},d.label),d.type===r.TEXT&&e.createElement(m,{vm:d,autocomplete:n.autocomplete,name:n.name}),d.type===r.TEL&&e.createElement(u,{key:n.currentCountryCode||"1",defaultCountry:n.currentCountryCode,placeholder:a("checkout-page:enterPhoneNumber"),value:d.value?d.value:"",onChange:d.onPhoneChange,international:!0,addInternationalOption:!1}),d.type===r.TEXT_AREA&&e.createElement(f,{vm:d}),d.type===r.SELECT&&e.createElement(p,{vm:d,autocomplete:n.autocomplete})),!!d.hasError&&e.createElement("div",{className:l.ErrorMsg},d.errorText||""),!!n.tooltipText&&e.createElement("div",{className:l.FormItemTooltipContainer,"data-tip":n.tooltipText,"data-event":"touchstart focus mouseover","data-event-off":"mouseout"},"?"),!!d.rightContent&&e.createElement("div",{className:l.RightContent},d.rightContent)))})),m=n((function(t){var n=t.vm,o=t.name,r=t.autocomplete,a=t.type;return e.createElement("input",{type:a||"text",name:o,autoComplete:r,inputMode:n.inputType||"text",className:n.inputStyle,value:n.value,onChange:n.onValueChange})})),f=n((function(t){var n=t.vm;return e.createElement("textarea",{style:{resize:n.disableResize?"none":"initial"},value:n.value,onChange:n.onTextAreaValueChange,placeholder:n.textAreaPlaceholder||""})})),p=n((function(t){var n,o=t.vm,r=t.autocomplete;return e.createElement(e.Fragment,null,e.createElement("select",{className:o.inputStyle,autoComplete:r,onChange:o.onSelectChange},!o.value&&e.createElement("option",{selected:!0,disabled:!0,key:-1}),null===(n=o.options)||void 0===n?void 0:n.map((function(t,n){return e.createElement("option",{key:n+t.value,value:t.value,selected:o.value===t.value},t.label)}))),e.createElement("div",{className:l.ArrowContainer},e.createElement(a,null)))}));export{s as FormItem};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export default class FormItemViewModel implements Props {
|
|
3
|
+
type: FormItemType;
|
|
4
|
+
inputType?: FormItemInputType;
|
|
5
|
+
options?: FormItemSelectOption[];
|
|
6
|
+
label: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
hasError?: boolean;
|
|
9
|
+
errorText?: string;
|
|
10
|
+
tooltipText?: string;
|
|
11
|
+
country?: string | null;
|
|
12
|
+
textAreaPlaceholder?: string | null;
|
|
13
|
+
rightContent?: React.ReactElement | null;
|
|
14
|
+
disableResize?: boolean;
|
|
15
|
+
onChange: (value: string) => void;
|
|
16
|
+
constructor(props: Props);
|
|
17
|
+
get formItemStyle(): string;
|
|
18
|
+
get labelStyle(): string;
|
|
19
|
+
get inputStyle(): string;
|
|
20
|
+
onValueChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
21
|
+
onTextAreaValueChange: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
22
|
+
onSelectChange: (e: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
23
|
+
onPhoneChange: (value: string) => void;
|
|
24
|
+
onCountryChange: (value: string | undefined) => void;
|
|
25
|
+
}
|
|
26
|
+
export interface Props {
|
|
27
|
+
type: FormItemType;
|
|
28
|
+
inputType?: FormItemInputType;
|
|
29
|
+
options?: FormItemSelectOption[];
|
|
30
|
+
label: string;
|
|
31
|
+
value?: string;
|
|
32
|
+
hasError?: boolean;
|
|
33
|
+
errorText?: string;
|
|
34
|
+
name?: string;
|
|
35
|
+
autocomplete?: string;
|
|
36
|
+
tooltipText?: string;
|
|
37
|
+
country?: string | null;
|
|
38
|
+
currentCountryCode?: string | null;
|
|
39
|
+
style?: React.CSSProperties;
|
|
40
|
+
textAreaPlaceholder?: string | null;
|
|
41
|
+
rightContent?: React.ReactElement | null;
|
|
42
|
+
disableResize?: boolean;
|
|
43
|
+
onChange: (value: string) => void;
|
|
44
|
+
}
|
|
45
|
+
export declare enum FormItemType {
|
|
46
|
+
TEXT = 0,
|
|
47
|
+
TEXT_AREA = 1,
|
|
48
|
+
SELECT = 2,
|
|
49
|
+
TEL = 3
|
|
50
|
+
}
|
|
51
|
+
export declare type FormItemSelectOption = {
|
|
52
|
+
value: string;
|
|
53
|
+
label: string;
|
|
54
|
+
};
|
|
55
|
+
export declare enum FormItemInputType {
|
|
56
|
+
NUMERIC = "numeric",
|
|
57
|
+
TEL = "tel",
|
|
58
|
+
EMAIL = "email"
|
|
59
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as t}from"mobx";import e from"./style.module.scss.js";var n,o,r=function(){function o(e){var n=this;this.country=null,this.textAreaPlaceholder=null,this.onValueChange=function(t){n.onChange(t.target.value)},this.onTextAreaValueChange=function(t){n.onChange(t.target.value)},this.onSelectChange=function(t){n.onChange(t.target.value)},this.onPhoneChange=function(t){n.onChange(t)},this.onCountryChange=function(t){n.country=t},this.type=e.type,this.inputType=e.inputType,this.options=e.options,this.label=e.label,this.value=e.value,this.hasError=e.hasError,this.errorText=e.errorText,this.tooltipText=e.tooltipText,this.country=e.country||null,this.textAreaPlaceholder=e.textAreaPlaceholder||null,this.rightContent=e.rightContent||null,this.disableResize=e.disableResize||!1,this.onChange=e.onChange,t(this)}return Object.defineProperty(o.prototype,"formItemStyle",{get:function(){var t=[e.FormItem];return this.type===n.TEL&&this.hasError&&t.push(e.PhoneError),t.join(" ")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"labelStyle",{get:function(){return this.value||this.type===n.TEL?[e.FieldLabel,e.FieldLabelTop].join(" "):[e.FieldLabel].join(" ")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"inputStyle",{get:function(){var t=[];return this.value&&t.push(e.Bottom),this.hasError&&t.push(e.Error),this.tooltipText&&t.push(e.WithTooltip),this.type===n.TEL&&t.push(e.Tel),t.join(" ")},enumerable:!1,configurable:!0}),o}();!function(t){t[t.TEXT=0]="TEXT",t[t.TEXT_AREA=1]="TEXT_AREA",t[t.SELECT=2]="SELECT",t[t.TEL=3]="TEL"}(n||(n={})),function(t){t.NUMERIC="numeric",t.TEL="tel",t.EMAIL="email"}(o||(o={}));export{o as FormItemInputType,n as FormItemType,r as default};
|