@ikas/storefront 0.2.0-alpha.9 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{cjs/__generated__ → __generated__}/global-types.d.ts +0 -0
- package/build/{cjs/analytics → analytics}/analytics.d.ts +0 -0
- package/build/{cjs/analytics → analytics}/events.d.ts +0 -0
- package/build/{cjs/analytics → analytics}/facebookPixel.d.ts +0 -0
- package/build/{cjs/analytics → analytics}/googleTagManager.d.ts +0 -0
- package/build/{cjs/analytics → analytics}/head/index.d.ts +0 -0
- package/build/{cjs/analytics → analytics}/ikas.d.ts +0 -0
- package/build/{cjs/analytics → analytics}/index.d.ts +0 -0
- package/build/{cjs/api → api}/apollo.d.ts +0 -0
- package/build/{cjs/api → api}/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +0 -0
- package/build/{cjs/api → api}/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +0 -0
- package/build/{cjs/api → api}/back-in-stock-reminder/index.d.ts +0 -0
- package/build/{cjs/api → api}/blog/__generated__/getBlog.d.ts +0 -0
- package/build/{cjs/api → api}/blog/__generated__/listBlog.d.ts +0 -0
- package/build/{cjs/api → api}/blog/__generated__/listBlogCategory.d.ts +0 -0
- package/build/{cjs/api → api}/blog/__generated__/listBlogMetaData.d.ts +0 -0
- package/build/{cjs/api → api}/blog/index.d.ts +0 -0
- package/build/{cjs/api → api}/brand/__generated__/listProductBrand.d.ts +0 -0
- package/build/{cjs/api → api}/brand/index.d.ts +0 -0
- package/build/{cjs/api → api}/cart/__generated__/getCart.d.ts +0 -0
- package/build/{cjs/api → api}/cart/__generated__/saveItemToCart.d.ts +0 -0
- package/build/{cjs/api → api}/cart/index.d.ts +0 -0
- package/build/{cjs/api → api}/category/__generated__/listCategory.d.ts +0 -0
- package/build/{cjs/api → api}/category/__generated__/listCategoryPaths.d.ts +0 -0
- package/build/{cjs/api → api}/category/index.d.ts +0 -0
- package/build/{cjs/api → api}/checkout/__generated__/addCouponCodeToCheckout.d.ts +0 -0
- package/build/{cjs/api → api}/checkout/__generated__/checkStocks.d.ts +0 -0
- package/build/{cjs/api → api}/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +0 -0
- package/build/{cjs/api → api}/checkout/__generated__/getCheckoutByCartId.d.ts +0 -0
- package/build/{cjs/api → api}/checkout/__generated__/getCheckoutById.d.ts +4 -0
- package/build/{cjs/api → api}/checkout/__generated__/getOrder.d.ts +0 -0
- package/build/{cjs/api → api}/checkout/__generated__/listCheckoutSettings.d.ts +0 -0
- package/build/{esm/api → api}/checkout/__generated__/listPaymentGateway.d.ts +3 -1
- package/build/{cjs/api → api}/checkout/__generated__/retrieveInstallmentInfo.d.ts +0 -0
- package/build/{cjs/api → api}/checkout/__generated__/saveCheckout.d.ts +0 -0
- package/build/{cjs/api → api}/checkout/index.d.ts +0 -0
- package/build/{cjs/api → api}/city/__generated__/listCity.d.ts +0 -0
- package/build/{cjs/api → api}/city/index.d.ts +0 -0
- package/build/{cjs/api → api}/contact-form/__generated__/sendContactFormToMerchant.d.ts +0 -0
- package/build/{cjs/api → api}/contact-form/index.d.ts +0 -0
- package/build/{cjs/api → api}/country/__generated__/getAvailableShippingCountries.d.ts +0 -0
- package/build/{cjs/api → api}/country/__generated__/getMyCountry.d.ts +0 -0
- package/build/{cjs/api → api}/country/__generated__/listCountry.d.ts +0 -0
- package/build/{cjs/api → api}/country/index.d.ts +0 -0
- package/build/{cjs/api → api}/customer/__generated__/checkCustomerEmail.d.ts +0 -0
- package/build/{cjs/api → api}/customer/__generated__/createCustomerEmailSubscription.d.ts +0 -0
- package/build/{cjs/api → api}/customer/__generated__/createOrderRefundRequest.d.ts +0 -0
- package/build/{esm/api → api}/customer/__generated__/customerForgotPassword.d.ts +1 -0
- package/build/{cjs/api → api}/customer/__generated__/customerLogin.d.ts +0 -0
- package/build/{cjs/api → api}/customer/__generated__/customerRecoverPassword.d.ts +0 -0
- package/build/{cjs/api → api}/customer/__generated__/customerRefreshToken.d.ts +0 -0
- package/build/{cjs/api → api}/customer/__generated__/getCustomerOrders.d.ts +0 -0
- package/build/{cjs/api → api}/customer/__generated__/getLastViewedProducts.d.ts +0 -0
- package/build/{cjs/api → api}/customer/__generated__/getMyCustomer.d.ts +0 -0
- package/build/{cjs/api → api}/customer/__generated__/listOrderRefundSettings.d.ts +0 -0
- package/build/{cjs/api → api}/customer/__generated__/listOrderTransactions.d.ts +0 -0
- package/build/{esm/api → api}/customer/__generated__/registerCustomer.d.ts +1 -0
- package/build/{cjs/api → api}/customer/__generated__/saveLastViewedProducts.d.ts +0 -0
- package/build/{cjs/api → api}/customer/__generated__/saveMyCustomer.d.ts +0 -0
- package/build/{cjs/api → api}/customer/index.d.ts +0 -0
- package/build/{cjs/api → api}/customer-review/__generated__/createCustomerReview.d.ts +0 -0
- package/build/{cjs/api → api}/customer-review/__generated__/listCustomerReviews.d.ts +0 -0
- package/build/{cjs/api → api}/customer-review/index.d.ts +0 -0
- package/build/{cjs/api → api}/district/__generated__/listDistrict.d.ts +0 -0
- package/build/{cjs/api → api}/district/index.d.ts +0 -0
- package/build/{cjs/api → api}/favorite-product/__generated__/isFavoriteProduct.d.ts +0 -0
- package/build/{cjs/api → api}/favorite-product/__generated__/listFavoriteProducts.d.ts +0 -0
- package/build/{cjs/api → api}/favorite-product/__generated__/saveFavoriteProduct.d.ts +0 -0
- package/build/{cjs/api → api}/favorite-product/index.d.ts +0 -0
- package/build/{cjs/api → api}/html-meta-data/__generated__/listHTMLMetaData.d.ts +0 -0
- package/build/{cjs/api → api}/html-meta-data/index.d.ts +0 -0
- package/build/{cjs/api → api}/index.d.ts +0 -0
- package/build/{cjs/api → api}/merchant/__generated__/listMerchantSettings.d.ts +0 -0
- package/build/{cjs/api → api}/merchant/index.d.ts +0 -0
- package/build/{cjs/api → api}/product-attribute/__generated__/listProductAttribute.d.ts +0 -0
- package/build/{cjs/api → api}/product-attribute/index.d.ts +0 -0
- package/build/{cjs/api → api}/product-option-set/__generated__/ListProductOptionSet.d.ts +0 -0
- package/build/{cjs/api → api}/product-option-set/index.d.ts +0 -0
- package/build/{cjs/api → api}/product-search/__generated__/getProductFilterData.d.ts +0 -0
- package/build/{cjs/api → api}/product-search/__generated__/searchProducts.d.ts +0 -0
- package/build/{cjs/api → api}/product-search/index.d.ts +0 -0
- package/build/{cjs/api → api}/state/__generated__/listState.d.ts +0 -0
- package/build/{cjs/api → api}/state/index.d.ts +0 -0
- package/build/{cjs/api → api}/stock-location/__generated__/listStockLocation.d.ts +0 -0
- package/build/{cjs/api → api}/stock-location/index.d.ts +0 -0
- package/build/{cjs/api → api}/storefront/__generated__/getStorefront.d.ts +0 -0
- package/build/{cjs/api → api}/storefront/index.d.ts +0 -0
- package/build/{cjs/api → api}/variant-type/__generated__/listVariantType.d.ts +0 -0
- package/build/{cjs/api → api}/variant-type/index.d.ts +0 -0
- package/build/{cjs/assets → assets}/translations/checkout/en.js +0 -0
- package/build/{cjs/assets → assets}/translations/checkout/tr.js +0 -0
- package/build/{cjs/components → components}/checkout/components/address-form/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/address-form/model.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/button/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/cart-summary/cart-item/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/cart-summary/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/checkbox/check.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/checkbox/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/credit-card-form/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/credit-card-form/model.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/credit-card-form/svg/amex.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/credit-card-form/svg/master-card.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/credit-card-form/svg/troy.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/credit-card-form/svg/visa.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/customer-addresses/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/customer-addresses/model.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/error/customer-login-required-error/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/error/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/error/no-shipping-error/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/error/payment-error/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/error/stock-error/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/error/unknown-error/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/expandable-section/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/form-item/caret-down.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/form-item/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/form-item/model.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/fullscreen-loading/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/input-with-button/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/modal/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/notification-box/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/select-box/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/step-container/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/svg/arrow-down.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/svg/arrow-left.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/svg/arrow-right.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/svg/cross.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/svg/discount.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/svg/external.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/svg/gift.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/svg/ikas.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/svg/lock.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/svg/shopping-cart.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/svg/success-circle.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/svg/tag.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/svg/warning.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/toggle/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/components/tooltip/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/model.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/steps/step-info/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/steps/step-payment/billing-address/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/steps/step-payment/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/steps/step-payment/payment-gateways/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/steps/step-shipping/index.d.ts +0 -0
- package/build/{cjs/components → components}/checkout/steps/step-success/index.d.ts +0 -0
- package/build/{cjs/components → components}/error/index.d.ts +0 -0
- package/build/{cjs/components → components}/image/index.d.ts +0 -0
- package/build/{cjs/components → components}/index.d.ts +0 -0
- package/build/{cjs/components → components}/page/ThemeComponent.d.ts +0 -0
- package/build/{cjs/components → components}/page/head.d.ts +0 -0
- package/build/{cjs/components → components}/page/index.d.ts +0 -1
- package/build/{cjs/components → components}/page-editor/ThemeComponentEditor.d.ts +0 -0
- package/build/{cjs/components → components}/page-editor/index.d.ts +0 -0
- package/build/{cjs/components → components}/page-editor/model.d.ts +0 -0
- package/build/{cjs/index.css → index.css} +0 -0
- package/build/{cjs/index.d.ts → index.d.ts} +0 -0
- package/build/{esm/index.css → index.es.css} +0 -0
- package/build/index.es.js +73733 -0
- package/build/index.js +73862 -0
- package/build/{cjs/models → models}/data/blog/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/brand/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/cart/index.d.ts +1 -0
- package/build/{cjs/models → models}/data/category/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/checkout/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/checkout-settings/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/city/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/contact-form/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/country/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/customer/address/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/customer/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/customer-review/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/customer-review-settings/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/district/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/favorite-product/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/html-meta-data/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/image/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/index.d.ts +1 -1
- package/build/{cjs/models → models}/data/installment-info/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/merchant-settings/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/order/address/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/order/adjustment/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/order/gift-line/index.d.ts +0 -0
- package/build/{esm/models → models}/data/order/index.d.ts +1 -2
- package/build/{cjs/models → models}/data/order/line-item/discount/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/order/line-item/index.d.ts +1 -0
- package/build/{cjs/models → models}/data/order/line-item/variant/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/order/refund/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/order/refund/refund-line-item/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/order/refund/settings.d.ts +0 -0
- package/build/{cjs/models → models}/data/order/shipping-line/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/order-transaction/index.d.ts +1 -0
- package/build/{cjs/models → models}/data/payment-gateway/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/product/attribute-value/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/product/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/product/variant/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/product/variant/price/index.d.ts +1 -0
- package/build/{cjs/models → models}/data/product/variant-type/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/product-attribute/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/product-attribute/product-attribute-option/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/product-attribute/product-attribute-table-cell/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/product-attribute/product-attribute-table-template/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/product-back-in-stock-settings/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/product-filter/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/product-option-set/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/product-tag/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/sales-channel/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/simple-product/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/state/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/storefront/domain/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/storefront/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/storefront/localization/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/storefront/routing/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/storefront/theme/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/storefront/theme-localization/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/variant-type/index.d.ts +0 -0
- package/build/{cjs/models → models}/data/variant-type/variant-value/index.d.ts +0 -0
- package/build/{cjs/models → models}/index.d.ts +0 -0
- package/build/{cjs/models → models}/theme/component/index.d.ts +0 -0
- package/build/{cjs/models → models}/theme/component/prop/index.d.ts +0 -0
- package/build/{cjs/models → models}/theme/custom-data/index.d.ts +0 -0
- package/build/{cjs/models → models}/theme/index.d.ts +0 -0
- package/build/{cjs/models → models}/theme/page/component/index.d.ts +0 -0
- package/build/{cjs/models → models}/theme/page/component/prop-value/attribute-list.d.ts +0 -0
- package/build/{cjs/models → models}/theme/page/component/prop-value/attribute.d.ts +0 -0
- package/build/{cjs/models → models}/theme/page/component/prop-value/blog-category-list.d.ts +0 -0
- package/build/{cjs/models → models}/theme/page/component/prop-value/blog-category.d.ts +0 -0
- package/build/{cjs/models → models}/theme/page/component/prop-value/blog-list.d.ts +0 -0
- package/build/{cjs/models → models}/theme/page/component/prop-value/blog.d.ts +0 -0
- package/build/{cjs/models → models}/theme/page/component/prop-value/brand-list.d.ts +0 -0
- package/build/{cjs/models → models}/theme/page/component/prop-value/brand.d.ts +0 -0
- package/build/{cjs/models → models}/theme/page/component/prop-value/category-list.d.ts +0 -0
- package/build/{cjs/models → models}/theme/page/component/prop-value/category.d.ts +0 -0
- package/build/{cjs/models → models}/theme/page/component/prop-value/link.d.ts +0 -0
- package/build/{cjs/models → models}/theme/page/component/prop-value/product-detail.d.ts +0 -0
- package/build/{cjs/models → models}/theme/page/component/prop-value/product-list.d.ts +0 -0
- package/build/{cjs/models → models}/theme/page/index.d.ts +0 -0
- package/build/{cjs/models → models}/theme/settings/index.d.ts +0 -0
- package/build/{cjs/models → models}/theme/settings/prop/color/index.d.ts +0 -0
- package/build/{cjs/models → models}/theme/settings/prop/favicon/index.d.ts +0 -0
- package/build/{cjs/models → models}/theme/theme.d.ts +0 -0
- package/build/{cjs/models → models}/ui/blog-category-list/index.d.ts +0 -0
- package/build/{cjs/models → models}/ui/blog-list/index.d.ts +0 -0
- package/build/{cjs/models → models}/ui/brand-list/index.d.ts +0 -0
- package/build/{cjs/models → models}/ui/category-list/index.d.ts +0 -0
- package/build/{cjs/models → models}/ui/component-renderer/index.d.ts +0 -0
- package/build/{cjs/models → models}/ui/customer-review-list/index.d.ts +0 -0
- package/build/{cjs/models → models}/ui/index.d.ts +0 -0
- package/build/{cjs/models → models}/ui/navigation-link/index.d.ts +0 -0
- package/build/{cjs/models → models}/ui/product-attribute-detail/index.d.ts +0 -0
- package/build/{cjs/models → models}/ui/product-attribute-list/index.d.ts +0 -0
- package/build/{cjs/models → models}/ui/product-detail/index.d.ts +0 -0
- package/build/{cjs/models → models}/ui/product-list/index.d.ts +0 -0
- package/build/{cjs/models → models}/ui/validator/form/account-info.d.ts +0 -0
- package/build/{cjs/models → models}/ui/validator/form/address.d.ts +0 -0
- package/build/{cjs/models → models}/ui/validator/form/contact-form.d.ts +0 -0
- package/build/{cjs/models → models}/ui/validator/form/customer-review.d.ts +0 -0
- package/build/{cjs/models → models}/ui/validator/form/forgot-password.d.ts +0 -0
- package/build/{cjs/models → models}/ui/validator/form/login.d.ts +0 -0
- package/build/{cjs/models → models}/ui/validator/form/recover-password.d.ts +0 -0
- package/build/{cjs/models → models}/ui/validator/form/register.d.ts +0 -0
- package/build/{cjs/models → models}/ui/validator/index.d.ts +0 -0
- package/build/{cjs/models → models}/ui/validator/rules/index.d.ts +0 -0
- package/build/{cjs/pages → pages}/404.d.ts +0 -0
- package/build/{cjs/pages/blog/[slug].d.ts → pages/[slug]/index.d.ts} +0 -0
- package/build/{cjs/pages → pages}/account/addresses.d.ts +0 -0
- package/build/{cjs/pages → pages}/account/favorite-products.d.ts +0 -0
- package/build/{cjs/pages → pages}/account/forgot-password.d.ts +0 -0
- package/build/{cjs/pages → pages}/account/index.d.ts +0 -0
- package/build/{cjs/pages → pages}/account/login.d.ts +0 -0
- package/build/{cjs/pages → pages}/account/orders/[id].d.ts +0 -0
- package/build/{cjs/pages → pages}/account/orders/index.d.ts +0 -0
- package/build/{cjs/pages → pages}/account/recover-password.d.ts +0 -0
- package/build/{cjs/pages → pages}/account/register.d.ts +0 -0
- package/build/{esm/pages → pages}/blog/[slug].d.ts +0 -0
- package/build/{cjs/pages → pages}/blog/index.d.ts +0 -0
- package/build/{cjs/pages → pages}/cart.d.ts +0 -0
- package/build/{cjs/pages → pages}/checkout.d.ts +0 -0
- package/build/{esm/pages → pages}/editor.d.ts +0 -1
- package/build/{cjs/pages → pages}/home.d.ts +0 -0
- package/build/pages/index.d.ts +20 -0
- package/build/{cjs/pages → pages}/pages/[slug].d.ts +0 -0
- package/build/{cjs/pages → pages}/search.d.ts +0 -0
- package/build/{cjs/providers → providers}/page-data-get.d.ts +0 -0
- package/build/{cjs/providers → providers}/page-data-init.d.ts +0 -0
- package/build/{cjs/providers → providers}/page-data-next.d.ts +0 -0
- package/build/{cjs/providers → providers}/placeholders.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/attribute-list.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/attribute.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/blog-category-list.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/blog-category.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/blog-list.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/blog.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/boolean.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/brand-list.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/brand.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/category-list.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/category.d.ts +0 -0
- package/build/providers/prop-value/checkout.d.ts +4 -0
- package/build/{cjs/providers → providers}/prop-value/color.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/custom.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/image-list.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/image.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/index.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/link.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/product-detail.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/product-list.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/rich-text.d.ts +0 -0
- package/build/{cjs/providers → providers}/prop-value/text.d.ts +0 -0
- package/build/{cjs/store → store}/base.d.ts +0 -0
- package/build/{cjs/store → store}/cart.d.ts +0 -0
- package/build/{cjs/store → store}/customer.d.ts +0 -0
- package/build/{cjs/store → store}/index.d.ts +0 -0
- package/build/{esm/storefront → storefront}/index.d.ts +2 -2
- package/build/utils/currency.d.ts +7 -0
- package/build/{cjs/utils → utils}/helper.d.ts +0 -0
- package/build/{cjs/utils → utils}/i18n.d.ts +0 -0
- package/build/{cjs/utils → utils}/index.d.ts +0 -0
- package/package.json +4 -6
- package/build/cjs/[slug]-e484ad76.js +0 -1
- package/build/cjs/analytics.js +0 -1
- package/build/cjs/api/checkout/__generated__/listPaymentGateway.d.ts +0 -40
- package/build/cjs/api/customer/__generated__/customerForgotPassword.d.ts +0 -6
- package/build/cjs/api/customer/__generated__/registerCustomer.d.ts +0 -71
- package/build/cjs/api.js +0 -1
- package/build/cjs/base-1fa38f9a.js +0 -1
- package/build/cjs/blog-category-list-2bc016a2.js +0 -1
- package/build/cjs/cart-90632b65.js +0 -1
- package/build/cjs/components.js +0 -1
- package/build/cjs/en-a1fa5309.js +0 -1
- package/build/cjs/get-e74270ba.js +0 -15
- package/build/cjs/i18n-23489f2d.js +0 -1
- package/build/cjs/index-4896761a.js +0 -1
- package/build/cjs/index-5114bb73.js +0 -1
- package/build/cjs/index-681c2517.js +0 -1
- package/build/cjs/index-9a0c47b1.js +0 -1
- package/build/cjs/index-a851ebb1.js +0 -1
- package/build/cjs/index-a8b07648.js +0 -1
- package/build/cjs/index-ad398c13.js +0 -1
- package/build/cjs/index-b8b2616a.js +0 -3
- package/build/cjs/index-eceaf256.js +0 -1
- package/build/cjs/index.js +0 -1
- package/build/cjs/models/data/order/index.d.ts +0 -147
- package/build/cjs/models.js +0 -1
- package/build/cjs/pages/[slug]/index.d.ts +0 -4
- package/build/cjs/pages/[slug]/providers.d.ts +0 -3
- package/build/cjs/pages/editor.d.ts +0 -9
- package/build/cjs/pages/index.d.ts +0 -20
- package/build/cjs/pages.js +0 -1
- package/build/cjs/store.js +0 -1
- package/build/cjs/storefront/index.d.ts +0 -53
- package/build/cjs/storefront.js +0 -1
- package/build/cjs/tr-5b03d013.js +0 -1
- package/build/cjs/utils/currency.d.ts +0 -1
- package/build/cjs/utils.js +0 -1
- package/build/esm/[slug]-a90edd15.js +0 -1
- package/build/esm/__generated__/global-types.d.ts +0 -624
- package/build/esm/analytics/analytics.d.ts +0 -37
- package/build/esm/analytics/events.d.ts +0 -36
- package/build/esm/analytics/facebookPixel.d.ts +0 -15
- package/build/esm/analytics/googleTagManager.d.ts +0 -201
- package/build/esm/analytics/head/index.d.ts +0 -7
- package/build/esm/analytics/ikas.d.ts +0 -133
- package/build/esm/analytics/index.d.ts +0 -2
- package/build/esm/analytics.js +0 -1
- package/build/esm/api/apollo.d.ts +0 -10
- package/build/esm/api/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +0 -24
- package/build/esm/api/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +0 -19
- package/build/esm/api/back-in-stock-reminder/index.d.ts +0 -23
- package/build/esm/api/blog/__generated__/getBlog.d.ts +0 -83
- package/build/esm/api/blog/__generated__/listBlog.d.ts +0 -86
- package/build/esm/api/blog/__generated__/listBlogCategory.d.ts +0 -38
- package/build/esm/api/blog/__generated__/listBlogMetaData.d.ts +0 -29
- package/build/esm/api/blog/index.d.ts +0 -32
- package/build/esm/api/brand/__generated__/listProductBrand.d.ts +0 -47
- package/build/esm/api/brand/index.d.ts +0 -16
- package/build/esm/api/cart/__generated__/getCart.d.ts +0 -71
- package/build/esm/api/cart/__generated__/saveItemToCart.d.ts +0 -74
- package/build/esm/api/cart/index.d.ts +0 -5
- package/build/esm/api/category/__generated__/listCategory.d.ts +0 -52
- package/build/esm/api/category/__generated__/listCategoryPaths.d.ts +0 -23
- package/build/esm/api/category/index.d.ts +0 -18
- package/build/esm/api/checkout/__generated__/addCouponCodeToCheckout.d.ts +0 -11
- package/build/esm/api/checkout/__generated__/checkStocks.d.ts +0 -18
- package/build/esm/api/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +0 -22
- package/build/esm/api/checkout/__generated__/getCheckoutByCartId.d.ts +0 -10
- package/build/esm/api/checkout/__generated__/getCheckoutById.d.ts +0 -232
- package/build/esm/api/checkout/__generated__/getOrder.d.ts +0 -215
- package/build/esm/api/checkout/__generated__/listCheckoutSettings.d.ts +0 -34
- package/build/esm/api/checkout/__generated__/retrieveInstallmentInfo.d.ts +0 -23
- package/build/esm/api/checkout/__generated__/saveCheckout.d.ts +0 -11
- package/build/esm/api/checkout/index.d.ts +0 -29
- package/build/esm/api/city/__generated__/listCity.d.ts +0 -14
- package/build/esm/api/city/index.d.ts +0 -4
- package/build/esm/api/contact-form/__generated__/sendContactFormToMerchant.d.ts +0 -9
- package/build/esm/api/contact-form/index.d.ts +0 -10
- package/build/esm/api/country/__generated__/getAvailableShippingCountries.d.ts +0 -6
- package/build/esm/api/country/__generated__/getMyCountry.d.ts +0 -3
- package/build/esm/api/country/__generated__/listCountry.d.ts +0 -23
- package/build/esm/api/country/index.d.ts +0 -6
- package/build/esm/api/customer/__generated__/checkCustomerEmail.d.ts +0 -10
- package/build/esm/api/customer/__generated__/createCustomerEmailSubscription.d.ts +0 -11
- package/build/esm/api/customer/__generated__/createOrderRefundRequest.d.ts +0 -215
- package/build/esm/api/customer/__generated__/customerLogin.d.ts +0 -70
- package/build/esm/api/customer/__generated__/customerRecoverPassword.d.ts +0 -8
- package/build/esm/api/customer/__generated__/customerRefreshToken.d.ts +0 -11
- package/build/esm/api/customer/__generated__/getCustomerOrders.d.ts +0 -215
- package/build/esm/api/customer/__generated__/getLastViewedProducts.d.ts +0 -15
- package/build/esm/api/customer/__generated__/getMyCustomer.d.ts +0 -59
- package/build/esm/api/customer/__generated__/listOrderRefundSettings.d.ts +0 -13
- package/build/esm/api/customer/__generated__/listOrderTransactions.d.ts +0 -53
- package/build/esm/api/customer/__generated__/saveLastViewedProducts.d.ts +0 -11
- package/build/esm/api/customer/__generated__/saveMyCustomer.d.ts +0 -63
- package/build/esm/api/customer/index.d.ts +0 -44
- package/build/esm/api/customer-review/__generated__/createCustomerReview.d.ts +0 -11
- package/build/esm/api/customer-review/__generated__/listCustomerReviews.d.ts +0 -25
- package/build/esm/api/customer-review/index.d.ts +0 -24
- package/build/esm/api/district/__generated__/listDistrict.d.ts +0 -13
- package/build/esm/api/district/index.d.ts +0 -4
- package/build/esm/api/favorite-product/__generated__/isFavoriteProduct.d.ts +0 -6
- package/build/esm/api/favorite-product/__generated__/listFavoriteProducts.d.ts +0 -12
- package/build/esm/api/favorite-product/__generated__/saveFavoriteProduct.d.ts +0 -7
- package/build/esm/api/favorite-product/index.d.ts +0 -6
- package/build/esm/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +0 -18
- package/build/esm/api/html-meta-data/index.d.ts +0 -4
- package/build/esm/api/index.d.ts +0 -21
- package/build/esm/api/merchant/__generated__/listMerchantSettings.d.ts +0 -9
- package/build/esm/api/merchant/index.d.ts +0 -4
- package/build/esm/api/product-attribute/__generated__/listProductAttribute.d.ts +0 -39
- package/build/esm/api/product-attribute/index.d.ts +0 -4
- package/build/esm/api/product-option-set/__generated__/ListProductOptionSet.d.ts +0 -90
- package/build/esm/api/product-option-set/index.d.ts +0 -6
- package/build/esm/api/product-search/__generated__/getProductFilterData.d.ts +0 -52
- package/build/esm/api/product-search/__generated__/searchProducts.d.ts +0 -26
- package/build/esm/api/product-search/index.d.ts +0 -20
- package/build/esm/api/state/__generated__/listState.d.ts +0 -13
- package/build/esm/api/state/index.d.ts +0 -4
- package/build/esm/api/stock-location/__generated__/listStockLocation.d.ts +0 -7
- package/build/esm/api/stock-location/index.d.ts +0 -4
- package/build/esm/api/storefront/__generated__/getStorefront.d.ts +0 -52
- package/build/esm/api/storefront/index.d.ts +0 -4
- package/build/esm/api/variant-type/__generated__/listVariantType.d.ts +0 -39
- package/build/esm/api/variant-type/index.d.ts +0 -4
- package/build/esm/api.js +0 -1
- package/build/esm/assets/translations/checkout/en.js +0 -161
- package/build/esm/assets/translations/checkout/tr.js +0 -160
- package/build/esm/base-46969f69.js +0 -1
- package/build/esm/blog-category-list-8bbfffa4.js +0 -1
- package/build/esm/cart-f58c6575.js +0 -1
- package/build/esm/components/checkout/components/address-form/index.d.ts +0 -3
- package/build/esm/components/checkout/components/address-form/model.d.ts +0 -123
- package/build/esm/components/checkout/components/button/index.d.ts +0 -12
- package/build/esm/components/checkout/components/cart-summary/cart-item/index.d.ts +0 -10
- package/build/esm/components/checkout/components/cart-summary/index.d.ts +0 -8
- package/build/esm/components/checkout/components/checkbox/check.d.ts +0 -6
- package/build/esm/components/checkout/components/checkbox/index.d.ts +0 -10
- package/build/esm/components/checkout/components/credit-card-form/index.d.ts +0 -7
- package/build/esm/components/checkout/components/credit-card-form/model.d.ts +0 -26
- package/build/esm/components/checkout/components/credit-card-form/svg/amex.d.ts +0 -6
- package/build/esm/components/checkout/components/credit-card-form/svg/master-card.d.ts +0 -6
- package/build/esm/components/checkout/components/credit-card-form/svg/troy.d.ts +0 -6
- package/build/esm/components/checkout/components/credit-card-form/svg/visa.d.ts +0 -6
- package/build/esm/components/checkout/components/customer-addresses/index.d.ts +0 -15
- package/build/esm/components/checkout/components/customer-addresses/model.d.ts +0 -21
- package/build/esm/components/checkout/components/error/customer-login-required-error/index.d.ts +0 -8
- package/build/esm/components/checkout/components/error/index.d.ts +0 -7
- package/build/esm/components/checkout/components/error/no-shipping-error/index.d.ts +0 -6
- package/build/esm/components/checkout/components/error/payment-error/index.d.ts +0 -8
- package/build/esm/components/checkout/components/error/stock-error/index.d.ts +0 -8
- package/build/esm/components/checkout/components/error/unknown-error/index.d.ts +0 -6
- package/build/esm/components/checkout/components/expandable-section/index.d.ts +0 -6
- package/build/esm/components/checkout/components/form-item/caret-down.d.ts +0 -6
- package/build/esm/components/checkout/components/form-item/index.d.ts +0 -3
- package/build/esm/components/checkout/components/form-item/model.d.ts +0 -59
- package/build/esm/components/checkout/components/fullscreen-loading/index.d.ts +0 -2
- package/build/esm/components/checkout/components/input-with-button/index.d.ts +0 -11
- package/build/esm/components/checkout/components/modal/index.d.ts +0 -8
- package/build/esm/components/checkout/components/notification-box/index.d.ts +0 -9
- package/build/esm/components/checkout/components/select-box/index.d.ts +0 -13
- package/build/esm/components/checkout/components/step-container/index.d.ts +0 -15
- package/build/esm/components/checkout/components/svg/arrow-down.d.ts +0 -6
- package/build/esm/components/checkout/components/svg/arrow-left.d.ts +0 -6
- package/build/esm/components/checkout/components/svg/arrow-right.d.ts +0 -6
- package/build/esm/components/checkout/components/svg/cross.d.ts +0 -6
- package/build/esm/components/checkout/components/svg/discount.d.ts +0 -6
- package/build/esm/components/checkout/components/svg/external.d.ts +0 -6
- package/build/esm/components/checkout/components/svg/gift.d.ts +0 -7
- package/build/esm/components/checkout/components/svg/ikas.d.ts +0 -6
- package/build/esm/components/checkout/components/svg/lock.d.ts +0 -6
- package/build/esm/components/checkout/components/svg/shopping-cart.d.ts +0 -6
- package/build/esm/components/checkout/components/svg/success-circle.d.ts +0 -6
- package/build/esm/components/checkout/components/svg/tag.d.ts +0 -6
- package/build/esm/components/checkout/components/svg/warning.d.ts +0 -6
- package/build/esm/components/checkout/components/toggle/index.d.ts +0 -10
- package/build/esm/components/checkout/components/tooltip/index.d.ts +0 -8
- package/build/esm/components/checkout/index.d.ts +0 -32
- package/build/esm/components/checkout/model.d.ts +0 -120
- package/build/esm/components/checkout/steps/step-info/index.d.ts +0 -7
- package/build/esm/components/checkout/steps/step-payment/billing-address/index.d.ts +0 -7
- package/build/esm/components/checkout/steps/step-payment/index.d.ts +0 -7
- package/build/esm/components/checkout/steps/step-payment/payment-gateways/index.d.ts +0 -7
- package/build/esm/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +0 -7
- package/build/esm/components/checkout/steps/step-shipping/index.d.ts +0 -7
- package/build/esm/components/checkout/steps/step-success/index.d.ts +0 -7
- package/build/esm/components/error/index.d.ts +0 -5
- package/build/esm/components/image/index.d.ts +0 -36
- package/build/esm/components/index.d.ts +0 -4
- package/build/esm/components/page/ThemeComponent.d.ts +0 -10
- package/build/esm/components/page/head.d.ts +0 -12
- package/build/esm/components/page/index.d.ts +0 -18
- package/build/esm/components/page-editor/ThemeComponentEditor.d.ts +0 -9
- package/build/esm/components/page-editor/index.d.ts +0 -2
- package/build/esm/components/page-editor/model.d.ts +0 -65
- package/build/esm/components.js +0 -1
- package/build/esm/en-2122556b.js +0 -1
- package/build/esm/get-f6594d28.js +0 -15
- package/build/esm/i18n-88bbe1a1.js +0 -1
- package/build/esm/index-10011dee.js +0 -1
- package/build/esm/index-270f04f4.js +0 -3
- package/build/esm/index-b6ebc78e.js +0 -1
- package/build/esm/index-b8245ce8.js +0 -1
- package/build/esm/index-c6779c48.js +0 -1
- package/build/esm/index-d47c16b6.js +0 -1
- package/build/esm/index-df1da9c5.js +0 -1
- package/build/esm/index-f0720041.js +0 -1
- package/build/esm/index-f4c9dbad.js +0 -1
- package/build/esm/index.d.ts +0 -8
- package/build/esm/index.js +0 -1
- package/build/esm/models/data/blog/index.d.ts +0 -67
- package/build/esm/models/data/brand/index.d.ts +0 -21
- package/build/esm/models/data/cart/index.d.ts +0 -44
- package/build/esm/models/data/category/index.d.ts +0 -52
- package/build/esm/models/data/checkout/index.d.ts +0 -103
- package/build/esm/models/data/checkout-settings/index.d.ts +0 -25
- package/build/esm/models/data/city/index.d.ts +0 -4
- package/build/esm/models/data/contact-form/index.d.ts +0 -7
- package/build/esm/models/data/country/index.d.ts +0 -8
- package/build/esm/models/data/customer/address/index.d.ts +0 -49
- package/build/esm/models/data/customer/index.d.ts +0 -33
- package/build/esm/models/data/customer-review/index.d.ts +0 -23
- package/build/esm/models/data/customer-review-settings/index.d.ts +0 -4
- package/build/esm/models/data/district/index.d.ts +0 -4
- package/build/esm/models/data/favorite-product/index.d.ts +0 -6
- package/build/esm/models/data/html-meta-data/index.d.ts +0 -23
- package/build/esm/models/data/image/index.d.ts +0 -8
- package/build/esm/models/data/index.d.ts +0 -33
- package/build/esm/models/data/installment-info/index.d.ts +0 -30
- package/build/esm/models/data/merchant-settings/index.d.ts +0 -8
- package/build/esm/models/data/order/address/index.d.ts +0 -50
- package/build/esm/models/data/order/adjustment/index.d.ts +0 -16
- package/build/esm/models/data/order/gift-line/index.d.ts +0 -4
- package/build/esm/models/data/order/line-item/discount/index.d.ts +0 -11
- package/build/esm/models/data/order/line-item/index.d.ts +0 -40
- package/build/esm/models/data/order/line-item/variant/index.d.ts +0 -25
- package/build/esm/models/data/order/refund/index.d.ts +0 -6
- package/build/esm/models/data/order/refund/refund-line-item/index.d.ts +0 -5
- package/build/esm/models/data/order/refund/settings.d.ts +0 -6
- package/build/esm/models/data/order/shipping-line/index.d.ts +0 -7
- package/build/esm/models/data/order-transaction/index.d.ts +0 -73
- package/build/esm/models/data/payment-gateway/index.d.ts +0 -61
- package/build/esm/models/data/product/attribute-value/index.d.ts +0 -20
- package/build/esm/models/data/product/index.d.ts +0 -34
- package/build/esm/models/data/product/variant/index.d.ts +0 -24
- package/build/esm/models/data/product/variant/price/index.d.ts +0 -10
- package/build/esm/models/data/product/variant-type/index.d.ts +0 -6
- package/build/esm/models/data/product-attribute/index.d.ts +0 -34
- package/build/esm/models/data/product-attribute/product-attribute-option/index.d.ts +0 -5
- package/build/esm/models/data/product-attribute/product-attribute-table-cell/index.d.ts +0 -5
- package/build/esm/models/data/product-attribute/product-attribute-table-template/index.d.ts +0 -6
- package/build/esm/models/data/product-back-in-stock-settings/index.d.ts +0 -3
- package/build/esm/models/data/product-filter/index.d.ts +0 -109
- package/build/esm/models/data/product-option-set/index.d.ts +0 -85
- package/build/esm/models/data/product-tag/index.d.ts +0 -5
- package/build/esm/models/data/sales-channel/index.d.ts +0 -18
- package/build/esm/models/data/simple-product/index.d.ts +0 -136
- package/build/esm/models/data/state/index.d.ts +0 -5
- package/build/esm/models/data/storefront/domain/index.d.ts +0 -8
- package/build/esm/models/data/storefront/index.d.ts +0 -23
- package/build/esm/models/data/storefront/localization/index.d.ts +0 -7
- package/build/esm/models/data/storefront/routing/index.d.ts +0 -9
- package/build/esm/models/data/storefront/theme/index.d.ts +0 -13
- package/build/esm/models/data/storefront/theme-localization/index.d.ts +0 -12
- package/build/esm/models/data/variant-type/index.d.ts +0 -26
- package/build/esm/models/data/variant-type/variant-value/index.d.ts +0 -11
- package/build/esm/models/index.d.ts +0 -3
- package/build/esm/models/theme/component/index.d.ts +0 -10
- package/build/esm/models/theme/component/prop/index.d.ts +0 -40
- package/build/esm/models/theme/custom-data/index.d.ts +0 -24
- package/build/esm/models/theme/index.d.ts +0 -18
- package/build/esm/models/theme/page/component/index.d.ts +0 -6
- package/build/esm/models/theme/page/component/prop-value/attribute-list.d.ts +0 -7
- package/build/esm/models/theme/page/component/prop-value/attribute.d.ts +0 -7
- package/build/esm/models/theme/page/component/prop-value/blog-category-list.d.ts +0 -7
- package/build/esm/models/theme/page/component/prop-value/blog-category.d.ts +0 -5
- package/build/esm/models/theme/page/component/prop-value/blog-list.d.ts +0 -9
- package/build/esm/models/theme/page/component/prop-value/blog.d.ts +0 -5
- package/build/esm/models/theme/page/component/prop-value/brand-list.d.ts +0 -9
- package/build/esm/models/theme/page/component/prop-value/brand.d.ts +0 -5
- package/build/esm/models/theme/page/component/prop-value/category-list.d.ts +0 -9
- package/build/esm/models/theme/page/component/prop-value/category.d.ts +0 -5
- package/build/esm/models/theme/page/component/prop-value/link.d.ts +0 -19
- package/build/esm/models/theme/page/component/prop-value/product-detail.d.ts +0 -6
- package/build/esm/models/theme/page/component/prop-value/product-list.d.ts +0 -17
- package/build/esm/models/theme/page/index.d.ts +0 -40
- package/build/esm/models/theme/settings/index.d.ts +0 -13
- package/build/esm/models/theme/settings/prop/color/index.d.ts +0 -7
- package/build/esm/models/theme/settings/prop/favicon/index.d.ts +0 -4
- package/build/esm/models/theme/theme.d.ts +0 -16
- package/build/esm/models/ui/blog-category-list/index.d.ts +0 -52
- package/build/esm/models/ui/blog-list/index.d.ts +0 -56
- package/build/esm/models/ui/brand-list/index.d.ts +0 -61
- package/build/esm/models/ui/category-list/index.d.ts +0 -61
- package/build/esm/models/ui/component-renderer/index.d.ts +0 -7
- package/build/esm/models/ui/customer-review-list/index.d.ts +0 -43
- package/build/esm/models/ui/index.d.ts +0 -22
- package/build/esm/models/ui/navigation-link/index.d.ts +0 -7
- package/build/esm/models/ui/product-attribute-detail/index.d.ts +0 -8
- package/build/esm/models/ui/product-attribute-list/index.d.ts +0 -9
- package/build/esm/models/ui/product-detail/index.d.ts +0 -28
- package/build/esm/models/ui/product-list/index.d.ts +0 -132
- package/build/esm/models/ui/validator/form/account-info.d.ts +0 -40
- package/build/esm/models/ui/validator/form/address.d.ts +0 -75
- package/build/esm/models/ui/validator/form/contact-form.d.ts +0 -45
- package/build/esm/models/ui/validator/form/customer-review.d.ts +0 -37
- package/build/esm/models/ui/validator/form/forgot-password.d.ts +0 -29
- package/build/esm/models/ui/validator/form/login.d.ts +0 -35
- package/build/esm/models/ui/validator/form/recover-password.d.ts +0 -36
- package/build/esm/models/ui/validator/form/register.d.ts +0 -48
- package/build/esm/models/ui/validator/index.d.ts +0 -27
- package/build/esm/models/ui/validator/rules/index.d.ts +0 -87
- package/build/esm/models.js +0 -1
- package/build/esm/pages/404.d.ts +0 -6
- package/build/esm/pages/[slug]/index.d.ts +0 -4
- package/build/esm/pages/[slug]/providers.d.ts +0 -3
- package/build/esm/pages/account/addresses.d.ts +0 -6
- package/build/esm/pages/account/favorite-products.d.ts +0 -6
- package/build/esm/pages/account/forgot-password.d.ts +0 -6
- package/build/esm/pages/account/index.d.ts +0 -6
- package/build/esm/pages/account/login.d.ts +0 -6
- package/build/esm/pages/account/orders/[id].d.ts +0 -6
- package/build/esm/pages/account/orders/index.d.ts +0 -6
- package/build/esm/pages/account/recover-password.d.ts +0 -6
- package/build/esm/pages/account/register.d.ts +0 -6
- package/build/esm/pages/blog/index.d.ts +0 -6
- package/build/esm/pages/cart.d.ts +0 -6
- package/build/esm/pages/checkout.d.ts +0 -18
- package/build/esm/pages/home.d.ts +0 -6
- package/build/esm/pages/index.d.ts +0 -20
- package/build/esm/pages/pages/[slug].d.ts +0 -7
- package/build/esm/pages/search.d.ts +0 -6
- package/build/esm/pages.js +0 -1
- package/build/esm/providers/page-data-get.d.ts +0 -57
- package/build/esm/providers/page-data-init.d.ts +0 -58
- package/build/esm/providers/page-data-next.d.ts +0 -243
- package/build/esm/providers/placeholders.d.ts +0 -6
- package/build/esm/providers/prop-value/attribute-list.d.ts +0 -12
- package/build/esm/providers/prop-value/attribute.d.ts +0 -12
- package/build/esm/providers/prop-value/blog-category-list.d.ts +0 -7
- package/build/esm/providers/prop-value/blog-category.d.ts +0 -11
- package/build/esm/providers/prop-value/blog-list.d.ts +0 -9
- package/build/esm/providers/prop-value/blog.d.ts +0 -11
- package/build/esm/providers/prop-value/boolean.d.ts +0 -6
- package/build/esm/providers/prop-value/brand-list.d.ts +0 -7
- package/build/esm/providers/prop-value/brand.d.ts +0 -11
- package/build/esm/providers/prop-value/category-list.d.ts +0 -7
- package/build/esm/providers/prop-value/category.d.ts +0 -11
- package/build/esm/providers/prop-value/color.d.ts +0 -6
- package/build/esm/providers/prop-value/custom.d.ts +0 -42
- package/build/esm/providers/prop-value/image-list.d.ts +0 -7
- package/build/esm/providers/prop-value/image.d.ts +0 -7
- package/build/esm/providers/prop-value/index.d.ts +0 -3
- package/build/esm/providers/prop-value/link.d.ts +0 -9
- package/build/esm/providers/prop-value/product-detail.d.ts +0 -11
- package/build/esm/providers/prop-value/product-list.d.ts +0 -9
- package/build/esm/providers/prop-value/rich-text.d.ts +0 -6
- package/build/esm/providers/prop-value/text.d.ts +0 -6
- package/build/esm/store/base.d.ts +0 -25
- package/build/esm/store/cart.d.ts +0 -27
- package/build/esm/store/customer.d.ts +0 -72
- package/build/esm/store/index.d.ts +0 -1
- package/build/esm/store.js +0 -1
- package/build/esm/storefront.js +0 -1
- package/build/esm/tr-26d6f603.js +0 -1
- package/build/esm/utils/currency.d.ts +0 -1
- package/build/esm/utils/helper.d.ts +0 -8
- package/build/esm/utils/i18n.d.ts +0 -20
- package/build/esm/utils/index.d.ts +0 -3
- package/build/esm/utils.js +0 -1
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
declare type Props = {
|
|
3
|
-
label?: string;
|
|
4
|
-
isSelected: boolean;
|
|
5
|
-
rightContent?: React.ReactElement;
|
|
6
|
-
bottomContent?: React.ReactElement;
|
|
7
|
-
bottomContentVisible?: boolean;
|
|
8
|
-
hasError?: boolean;
|
|
9
|
-
errorText?: string;
|
|
10
|
-
onClick?: () => void;
|
|
11
|
-
};
|
|
12
|
-
declare const _default: React.FunctionComponent<Props>;
|
|
13
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
declare type Props = {
|
|
3
|
-
steps: Step[];
|
|
4
|
-
stepContent: React.ReactElement;
|
|
5
|
-
};
|
|
6
|
-
declare const StepContainer: React.FC<Props>;
|
|
7
|
-
export default StepContainer;
|
|
8
|
-
export declare class Step {
|
|
9
|
-
label: string;
|
|
10
|
-
isSelected: boolean;
|
|
11
|
-
isComplete: boolean;
|
|
12
|
-
titleRightContent?: React.ReactElement;
|
|
13
|
-
titleBottomContent?: React.ReactElement;
|
|
14
|
-
constructor(label: string, isSelected: boolean, isComplete: boolean, titleRightContent?: React.ReactElement, titleBottomContent?: React.ReactElement);
|
|
15
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
declare type Props = {
|
|
3
|
-
value: boolean;
|
|
4
|
-
label?: string | React.ReactElement;
|
|
5
|
-
hasError?: boolean;
|
|
6
|
-
removePadding?: boolean;
|
|
7
|
-
onChange?: (value: boolean) => void;
|
|
8
|
-
};
|
|
9
|
-
export declare const Toggle: React.FC<Props>;
|
|
10
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { IkasCheckout, IkasMerchantSettings } from "../../models/index";
|
|
3
|
-
import { IkasCheckoutSettings } from "../../models/data/checkout-settings/index";
|
|
4
|
-
export declare type IkasCheckoutPageProps = {
|
|
5
|
-
checkout: IkasCheckout;
|
|
6
|
-
checkoutSettings: IkasCheckoutSettings;
|
|
7
|
-
merchantSettings: IkasMerchantSettings | null;
|
|
8
|
-
customizationProps?: IkasCheckoutCustomizationProps;
|
|
9
|
-
returnPolicy: string;
|
|
10
|
-
privacyPolicy: string;
|
|
11
|
-
termsOfService: string;
|
|
12
|
-
};
|
|
13
|
-
export declare type IkasCheckoutCustomizationProps = {
|
|
14
|
-
buttonBgColor?: string;
|
|
15
|
-
buttonTextColor?: string;
|
|
16
|
-
buttonDisabledBgColor?: string;
|
|
17
|
-
buttonDisabledTextColor?: string;
|
|
18
|
-
primaryTextColor?: string;
|
|
19
|
-
secondaryTextColor?: string;
|
|
20
|
-
primaryBgColor?: string;
|
|
21
|
-
secondaryBgColor?: string;
|
|
22
|
-
borderColor?: string;
|
|
23
|
-
cardBgColor?: string;
|
|
24
|
-
errorColor?: string;
|
|
25
|
-
errorLightColor?: string;
|
|
26
|
-
warningColor?: string;
|
|
27
|
-
warningLightColor?: string;
|
|
28
|
-
successColor?: string;
|
|
29
|
-
successLightColor?: string;
|
|
30
|
-
};
|
|
31
|
-
declare const _default: React.FunctionComponent<IkasCheckoutPageProps>;
|
|
32
|
-
export default _default;
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { NextRouter } from "next/router";
|
|
2
|
-
import { IkasCheckout, IkasInstallmentInfo, IkasInstallmentInfoInput, IkasMerchantSettings, IkasAvailableShippingMethod, IkasOrderLineItem, IkasOrderTransaction, IkasOrder } from "../../models/index";
|
|
3
|
-
import { IkasPaymentGateway } from "../../models/data/payment-gateway/index";
|
|
4
|
-
import { IkasOrderLineVariant } from "../../models/data/order/line-item/variant/index";
|
|
5
|
-
import { IkasStorefront } from "../../models/data/storefront/index";
|
|
6
|
-
import CreditCardData from "./components/credit-card-form/model";
|
|
7
|
-
import { IkasCheckoutSettings } from "../../models/data/checkout-settings/index";
|
|
8
|
-
import { TFunction } from "../../utils/i18n";
|
|
9
|
-
export default class CheckoutViewModel {
|
|
10
|
-
checkout: IkasCheckout;
|
|
11
|
-
checkoutSettings: IkasCheckoutSettings;
|
|
12
|
-
storefront?: IkasStorefront | null;
|
|
13
|
-
store: import("../../index").IkasBaseStore;
|
|
14
|
-
router: NextRouter;
|
|
15
|
-
isCheckoutLoaded: boolean;
|
|
16
|
-
isErrorsVisible: boolean;
|
|
17
|
-
isStepLoading: boolean;
|
|
18
|
-
isTermsAndConditionsChecked: boolean;
|
|
19
|
-
isChangingShippingMethod: boolean;
|
|
20
|
-
step: CheckoutStep;
|
|
21
|
-
merchantSettings?: IkasMerchantSettings;
|
|
22
|
-
cardData?: CreditCardData | null;
|
|
23
|
-
paymentGateways: IkasPaymentGateway[];
|
|
24
|
-
installmentInfo?: IkasInstallmentInfo | null;
|
|
25
|
-
useDifferentAddress: boolean;
|
|
26
|
-
shouldSaveAddress: boolean;
|
|
27
|
-
addressTitle: string;
|
|
28
|
-
shippingCountryIds?: string[] | null;
|
|
29
|
-
selectedShippingAddressId?: string;
|
|
30
|
-
selectedBillingAddressId?: string;
|
|
31
|
-
returnPolicy: string;
|
|
32
|
-
privacyPolicy: string;
|
|
33
|
-
termsOfService: string;
|
|
34
|
-
policyModalTitle: string;
|
|
35
|
-
policyModalText: string;
|
|
36
|
-
error?: CheckoutError | null;
|
|
37
|
-
order?: IkasOrder;
|
|
38
|
-
successTransaction?: IkasOrderTransaction;
|
|
39
|
-
t: TFunction;
|
|
40
|
-
constructor(checkout: IkasCheckout, checkoutSettings: IkasCheckoutSettings, merchantSettings: IkasMerchantSettings | null, router: NextRouter, returnPolicy: string, privacyPolicy: string, termsOfService: string, t: TFunction);
|
|
41
|
-
init: () => Promise<void>;
|
|
42
|
-
initStep: () => Promise<void>;
|
|
43
|
-
getMerchantSettings: () => Promise<void>;
|
|
44
|
-
get cart(): import("../../models/data/cart/index").IkasCart | null | undefined;
|
|
45
|
-
get selectedPaymentGatewayIndex(): number;
|
|
46
|
-
get selectedInstallmentIndex(): number;
|
|
47
|
-
get checkoutUrl(): string;
|
|
48
|
-
get customerAddressOptions(): {
|
|
49
|
-
label: string;
|
|
50
|
-
value: string;
|
|
51
|
-
}[];
|
|
52
|
-
get installmentPrice(): number | null | undefined;
|
|
53
|
-
get installmentExtraPrice(): number | undefined;
|
|
54
|
-
get finalPrice(): number;
|
|
55
|
-
get hasStockError(): boolean;
|
|
56
|
-
get canProceedToShipping(): boolean | undefined;
|
|
57
|
-
get canProceedToPayment(): boolean | undefined;
|
|
58
|
-
get canPerformPayment(): boolean | undefined;
|
|
59
|
-
saveCheckout: () => Promise<void>;
|
|
60
|
-
checkStocks: () => Promise<void>;
|
|
61
|
-
removeUnavailableItems: (items: IkasOrderLineItem[]) => Promise<void>;
|
|
62
|
-
getShippingCountries: () => Promise<void>;
|
|
63
|
-
checkShippingCountries: () => void;
|
|
64
|
-
initialStockCheck: () => Promise<void>;
|
|
65
|
-
listPaymentGateways: () => Promise<void>;
|
|
66
|
-
retrieveInstallmentInfo: (input: IkasInstallmentInfoInput) => Promise<void>;
|
|
67
|
-
createCustomer: () => void;
|
|
68
|
-
createShippingAddress: () => void;
|
|
69
|
-
createBillingAddress: () => void;
|
|
70
|
-
onShippingMethodChange: (shippingMethod: IkasAvailableShippingMethod) => Promise<void>;
|
|
71
|
-
onCouponCodeApply: () => Promise<void>;
|
|
72
|
-
onCouponCodeDelete: () => Promise<void>;
|
|
73
|
-
onSelectedShippingAddressIdChange: (value: string) => void;
|
|
74
|
-
onSelectedBillingAddressIdChange: (value: string) => void;
|
|
75
|
-
onTermsAndConditionsCheckedChange: (value: boolean) => void;
|
|
76
|
-
onCardNumberChange: (value: string) => void;
|
|
77
|
-
onCardHolderNameChange: (value: string) => void;
|
|
78
|
-
onExpirationDateChange: (value: string) => void;
|
|
79
|
-
onCvcChange: (value: string) => void;
|
|
80
|
-
saveAddress: (type: "billing" | "shipping") => Promise<void>;
|
|
81
|
-
onGoToCartClick: () => void;
|
|
82
|
-
onBackToShoppingClick: () => void;
|
|
83
|
-
onProceedToShippingClick: () => Promise<void>;
|
|
84
|
-
onProceedToPaymentClick: () => Promise<void>;
|
|
85
|
-
onCompletePaymentClick: () => Promise<void>;
|
|
86
|
-
createSaleTransaction: () => Promise<void>;
|
|
87
|
-
onCheckoutTransactionSuccess: () => Promise<void>;
|
|
88
|
-
onBackToInfoClick: () => void;
|
|
89
|
-
onBackToShippingClick: () => void;
|
|
90
|
-
setCustomerConsentGranted: (value: boolean) => void;
|
|
91
|
-
setUseDifferentAddress: (value: boolean) => void;
|
|
92
|
-
setShouldSaveAddress: (value: boolean) => void;
|
|
93
|
-
setAddressTitle: (value: string) => void;
|
|
94
|
-
setPaymentGateway: (index: number) => void;
|
|
95
|
-
setInstallmentCount: (count: number) => void;
|
|
96
|
-
changeStep: (step: CheckoutStep) => Promise<void>;
|
|
97
|
-
logout: () => Promise<void>;
|
|
98
|
-
}
|
|
99
|
-
export declare enum CheckoutStep {
|
|
100
|
-
INFO = "info",
|
|
101
|
-
SHIPPING = "shipping",
|
|
102
|
-
PAYMENT = "payment",
|
|
103
|
-
SUCCESS = "success"
|
|
104
|
-
}
|
|
105
|
-
export declare enum ErrorType {
|
|
106
|
-
UNKNOWN = 0,
|
|
107
|
-
API_ERROR = 1,
|
|
108
|
-
STOCK_ERROR = 2,
|
|
109
|
-
PAYMENT_ERROR = 3,
|
|
110
|
-
NO_SHIPPING_ERROR = 4,
|
|
111
|
-
CUSTOMER_LOGIN_REQUIRED_ERROR = 5
|
|
112
|
-
}
|
|
113
|
-
export declare type CheckoutError = {
|
|
114
|
-
type: ErrorType;
|
|
115
|
-
data?: any;
|
|
116
|
-
};
|
|
117
|
-
export declare type StockErrorData = {
|
|
118
|
-
variant: IkasOrderLineVariant;
|
|
119
|
-
availableQuantity: number;
|
|
120
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ImageLoader } from "next/image";
|
|
3
|
-
import { IkasImage } from "../../models/index";
|
|
4
|
-
export declare const Image: React.FC<ImageProps>;
|
|
5
|
-
declare const VALID_LAYOUT_VALUES: readonly [
|
|
6
|
-
"fill",
|
|
7
|
-
"fixed",
|
|
8
|
-
"intrinsic",
|
|
9
|
-
"responsive",
|
|
10
|
-
undefined
|
|
11
|
-
];
|
|
12
|
-
declare type LayoutValue = typeof VALID_LAYOUT_VALUES[number];
|
|
13
|
-
declare type ImgElementStyle = NonNullable<JSX.IntrinsicElements["img"]["style"]>;
|
|
14
|
-
declare type ImageProps = Omit<JSX.IntrinsicElements["img"], "src" | "srcSet" | "ref" | "width" | "height" | "loading" | "style"> & {
|
|
15
|
-
loader?: ImageLoader;
|
|
16
|
-
priority?: boolean;
|
|
17
|
-
loading?: "lazy" | "eager" | undefined;
|
|
18
|
-
objectFit?: ImgElementStyle["objectFit"];
|
|
19
|
-
objectPosition?: ImgElementStyle["objectPosition"];
|
|
20
|
-
image: IkasImage;
|
|
21
|
-
sizes: string;
|
|
22
|
-
useBlur?: boolean;
|
|
23
|
-
} & ({
|
|
24
|
-
width?: never;
|
|
25
|
-
height?: never;
|
|
26
|
-
unsized: true;
|
|
27
|
-
} | {
|
|
28
|
-
width?: never;
|
|
29
|
-
height?: never;
|
|
30
|
-
layout: "fill";
|
|
31
|
-
} | {
|
|
32
|
-
width: number | string;
|
|
33
|
-
height: number | string;
|
|
34
|
-
layout?: Exclude<LayoutValue, "fill">;
|
|
35
|
-
});
|
|
36
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { IkasThemeSettings } from "../../models/index";
|
|
3
|
-
import { IkasPageComponentPropValue } from "../../providers/page-data-get";
|
|
4
|
-
declare type Props = {
|
|
5
|
-
pageComponentPropValue: IkasPageComponentPropValue;
|
|
6
|
-
index: number;
|
|
7
|
-
settings: IkasThemeSettings;
|
|
8
|
-
};
|
|
9
|
-
export declare const ThemeComponent: React.FC<Props>;
|
|
10
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { IkasThemePageType } from "../../models/index";
|
|
3
|
-
declare type Props = {
|
|
4
|
-
pageType: IkasThemePageType;
|
|
5
|
-
pageTitle?: string | null;
|
|
6
|
-
pageDescription?: string | null;
|
|
7
|
-
pageSpecificDataStr?: string;
|
|
8
|
-
merchantSettingsStr?: string;
|
|
9
|
-
addOgpMetas?: boolean;
|
|
10
|
-
};
|
|
11
|
-
export declare const IkasPageHead: React.FC<Props>;
|
|
12
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { IkasThemePageType, IkasThemeSettings } from "../../models/index";
|
|
3
|
-
import { IkasPageComponentPropValue } from "../../providers/page-data-get";
|
|
4
|
-
export declare type IkasPageProps = {
|
|
5
|
-
propValuesStr: string;
|
|
6
|
-
pageSpecificDataStr: string;
|
|
7
|
-
pageType: IkasThemePageType;
|
|
8
|
-
pageTitle: string | null;
|
|
9
|
-
pageDescription?: string;
|
|
10
|
-
settingsStr: string;
|
|
11
|
-
merchantSettingsStr: string;
|
|
12
|
-
configJson: Record<string, any>;
|
|
13
|
-
reInitOnBrowser?: boolean;
|
|
14
|
-
addOgpMetas?: boolean;
|
|
15
|
-
components?: Record<string, any>;
|
|
16
|
-
};
|
|
17
|
-
export declare const IkasPage: React.FC<IkasPageProps>;
|
|
18
|
-
export declare const renderComponent: (pageComponentPropValue: IkasPageComponentPropValue, settings: IkasThemeSettings, index: number) => JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import IkasPageEditorViewModel from "./model";
|
|
3
|
-
import { IkasThemePageComponent } from "../../models/index";
|
|
4
|
-
declare type Props = {
|
|
5
|
-
vm: IkasPageEditorViewModel;
|
|
6
|
-
pageComponent: IkasThemePageComponent;
|
|
7
|
-
};
|
|
8
|
-
export declare const ThemeEditorComponent: React.FC<Props>;
|
|
9
|
-
export {};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { NextRouter } from "next/router";
|
|
2
|
-
import { IkasThemePage, IkasThemePageComponent, IkasTheme, IkasThemeComponent } from "../../models/index";
|
|
3
|
-
import { IkasPageDataProvider } from "../../providers/page-data-get";
|
|
4
|
-
import { IkasThemePageSpecification } from "../../models/theme/page/index";
|
|
5
|
-
export default class IkasPageEditorViewModel {
|
|
6
|
-
theme?: IkasTheme | null;
|
|
7
|
-
page?: IkasThemePage | null;
|
|
8
|
-
selectedPageComponentId?: string | null;
|
|
9
|
-
hoveredPageComponentId?: string | null;
|
|
10
|
-
componentRefs: any;
|
|
11
|
-
isLoading: boolean;
|
|
12
|
-
locale: string;
|
|
13
|
-
translations?: Record<string, any>;
|
|
14
|
-
pageParams: Record<string, any>;
|
|
15
|
-
queryParams: Record<string, any>;
|
|
16
|
-
apiKey?: string | null;
|
|
17
|
-
pageDataProvider?: IkasPageDataProvider | null;
|
|
18
|
-
router: NextRouter;
|
|
19
|
-
constructor(router: NextRouter);
|
|
20
|
-
get specification(): IkasThemePageSpecification | undefined;
|
|
21
|
-
get pageComponents(): IkasThemePageComponent[];
|
|
22
|
-
get selectedPageComponent(): IkasThemePageComponent | undefined;
|
|
23
|
-
get selectedComponent(): IkasThemeComponent | undefined;
|
|
24
|
-
startMessaging: () => void;
|
|
25
|
-
onMessage: (event: MessageEvent) => Promise<void>;
|
|
26
|
-
onClick: (id: string) => void;
|
|
27
|
-
onMouseOver: (id: string) => void;
|
|
28
|
-
onMouseLeave: (id: string) => void;
|
|
29
|
-
sendMessage: (type: BridgeMessageType, data?: any) => void;
|
|
30
|
-
getPagePropValues: () => Promise<void>;
|
|
31
|
-
setComponentRef: (element: React.ElementType, component: IkasThemePageComponent) => void;
|
|
32
|
-
isScrolledIntoView: (el: HTMLElement) => boolean;
|
|
33
|
-
handleUpdateFrameData: (data: any) => Promise<void>;
|
|
34
|
-
handleUpdatePropValue: (data: any) => Promise<void>;
|
|
35
|
-
handleUpdatePageParams: (data: any) => Promise<void>;
|
|
36
|
-
handleUpdatePageComponentOrder: (data: any) => Promise<void>;
|
|
37
|
-
handleAddNewComponent: (data: any) => void;
|
|
38
|
-
handleDeleteComponent: (data: any) => void;
|
|
39
|
-
handleUpdateComponent: (data: any) => void;
|
|
40
|
-
handleAddNewPageComponent: (data: any) => Promise<void>;
|
|
41
|
-
handleDeletePageComponent: (data: any) => void;
|
|
42
|
-
handleSetSelectedComponent: (data: any) => void;
|
|
43
|
-
handleSetHoveredComponent: (data: any) => void;
|
|
44
|
-
handleScrollToComponent: (data: any) => void;
|
|
45
|
-
updateThemeSettings: (data: any) => void;
|
|
46
|
-
}
|
|
47
|
-
export declare enum BridgeMessageType {
|
|
48
|
-
FRAME_DID_LOAD = "FRAME_DID_LOAD",
|
|
49
|
-
UPDATE_FRAME_DATA = "UPDATE_FRAME_DATA",
|
|
50
|
-
UPDATE_PROP_VALUE = "UPDATE_PROP_VALUE",
|
|
51
|
-
UPDATE_PAGE_PARAMS = "UPDATE_PAGE_PARAMS",
|
|
52
|
-
UPDATE_PAGE_COMPONENT_ORDER = "UPDATE_PAGE_COMPONENT_ORDER",
|
|
53
|
-
ADD_COMPONENT = "ADD_COMPONENT",
|
|
54
|
-
DELETE_COMPONENT = "DELETE_COMPONENT",
|
|
55
|
-
UPDATE_COMPONENT = "UPDATE_COMPONENT",
|
|
56
|
-
ADD_PAGE_COMPONENT = "ADD_PAGE_COMPONENT",
|
|
57
|
-
DELETE_PAGE_COMPONENT = "DELETE_PAGE_COMPONENT",
|
|
58
|
-
COMPONENT_MOUSE_OVER = "COMPONENT_MOUSE_OVER",
|
|
59
|
-
COMPONENT_MOUSE_LEAVE = "COMPONENT_MOUSE_LEAVE",
|
|
60
|
-
COMPONENT_CLICK = "COMPONENT_CLICK",
|
|
61
|
-
SET_SELECTED_COMPONENT = "SET_SELECTED_COMPONENT",
|
|
62
|
-
SET_HOVERED_COMPONENT = "SET_HOVERED_COMPONENT",
|
|
63
|
-
SCROLL_TO_COMPONENT = "SCROLL_TO_COMPONENT",
|
|
64
|
-
UPDATE_THEME_SETTINGS = "UPDATE_THEME_SETTINGS"
|
|
65
|
-
}
|
package/build/esm/components.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{I as IkasPage,a as IkasPageHead,b as Image}from"./index-b6ebc78e.js";export{I as IkasPageEditor}from"./index-df1da9c5.js";import"mobx";import"react";import"mobx-react-lite";import"next/router";import"./index-270f04f4.js";import"./get-f6594d28.js";import"./storefront.js";import"crypto";import"./i18n-88bbe1a1.js";import"fs";import"path";import"next/config";import"./index-c6779c48.js";import"./index-b8245ce8.js";import"./cart-f58c6575.js";import"./index-d47c16b6.js";import"next/head";import"./index-10011dee.js";import"next/image";import"next/link";
|
package/build/esm/en-2122556b.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={actions:{login:"Login",edit:"Edit",apply:"Apply",close:"Close",cancel:"Cancel",save:"Save",continue:"Continue",show:"Show",hide:"Hide",sendMessage:"Send Message",continueWithShipping:"Continue with Shipping",continueWithPayment:"Continue with Payment",completeOrder:"Complete the Order",backToShopping:"Back to Shopping",backToCart:"Back to Cart"},securePayment:"Secure Payment",alreadyHaveAnAccount:"Already have an account?",address:"Address",addressError:"Enter address",missingAddressFields:"There are some missing required fields in this address.",editAddress:"Edit Address",deleteAddress:"Delete Address",saveAddressCta:"Save this address for future purchases",firstName:"Name",firstNameError:"Enter name",lastName:"Surname",lastNameError:"Enter surname",identityNumber:"Identity Number",identityNumberError:"Enter identity number",addressTitle:"Adress Title",adressTitleError:"Enter address title",addressLine2:"Address Second Line",postalCode:"Postal Code",postalCodeError:"Enter postal code",country:"Country",countryError:"Select country",state:"State",stateError:"Select state",city:"City",cityError:"Select city",district:"District",districtError:"Select district",phone:"Phone",phoneError:"Enter a valid phone number",companyName:"Company Name",taxOffice:"Tax Office",taxNumber:"Tax Number",shipping:"Shipping",payment:"Payment",summary:"Summary",free:"Free",standartShipping:"Standart Shipping",returnPolicy:"Return Policy",privacyPolicy:"Privacy Policy",termsOfService:"Terms of Service",newAddress:"New Address",billingAddress:"Billing Address",shippingAddress:"Shipping Address",corporateInvoice:"Corporate invoice",contactInfo:"Contact Information",email:"E-Mail",emailError:"Enter a valid e-mail",guestEmailTooltip:"Your order information will be sent to this e-mail address",customerConsentCta:"Contact me about the news and promotions",useShippingForBilling:"Use shipping address for billing",installmentOptions:"Installment Options",singleInstallment:"Single Payment",installments:"Installments",creditCard:"Credit Card",ackPrivacyPolicy:"Privacy Policy",ackTermsOfService:"Terms of Service",ackPoliciesSentence:"I acknowledge the {{ ackPrivacyPolicy }} and {{ ackTermsOfService }}.",securePaymentTooltip:"All payments are secure and encrypted",giftPackage:"Gift Package",giftPackageCta:"Gift wrap this order",giftPackageCtaPlaceholder:"Enter your gift message",paymentMethod:"Payment Method",paymentMethodDiscount:"Discount",paymentMethodAdditionalPrice:"Fee",orderSuccessTitle:"Thank you for your order!",orderSuccessDescription:"Dear {{ customerName }}, we have received your order. We will notify you when your order is shipped.",orderNoAndDate:"Order Number / Date",paymentSummary:"Payment Summary",shippingSummary:"Shipping Summary",helpCtaQuestion:"Do you need help?",helpCta:"Contact us",contactForm:"Contact Form",contactFormSent:"Message sent successfully",contactFormDescription:"We will respond to your message as soon as possible",contactFormCta:"Type your message",orderPackageStatus:{unfulfilled:"Unfulfilled",readyForShipment:"Ready For Shipment",fulfilled:"Fulfilled",partiallyFulfilled:"Partially Fulfilled",delivered:"Delivered",unableToDeliver:"Unable to Deliver",cancelled:"Cancelled",cancelRejected:"Cancel Rejected",cancelRequested:"Cancel Requested",refunded:"Refunded",refundRequestAccepted:"Refund Request Accepted",refundRejected:"Refund Rejected",refundRequested:"Refund Requested"},quantity:"Quantity",cartItemProduct:"product",giftCodeErrorTitle:"Gift Code Error",giftCodeErrorDescription:"The gift code you entered is not valid or not applicable to the products in your cart. Please check your code and try again.",subtotal:"Subtotal",total:"Total",subtotalTooltip:"Subtotal reflects the total for your cart before the discounts and does not include the shipping fees.",cartShippingTitle:"Delivery / Shipping",cartTaxTitle:"Tax",cartInterest:"Interest",couponCode:"Coupon Code",addCouponCode:"Add coupon code",addOrderNote:"Add order note",editOrderNote:"Edit order note",orderNote:"Order Note",enterPhoneNumber:"Enter phone number",cardNumber:"Card Number",cardNumberError:"Please enter a valid card number",cardHolderName:"Cardholder Name",cardHolderError:"Enter cardholder name",cardExpiry:"Month / Year",cardExpiryError:"Enter a valid date",cardCVC:"CVC",cardCVCError:"Enter a valid CVC",cardCVCTooltip:"CVC is the 3 digit number behind your card",errorCustomerRequired:"This e-mail address belongs to a registered user. Please login to your account.",errorNoShipping:"Your region is not available for shipping.",errorPayment:"Your payment could not be received. Please check your information and try again.",errorStockTitle:"Stock Update!",errorStockDescription:"Some items in your cart are out of stock. Would you like to continue by removing these products from your cart?",errorUnknown:"An unexpected error has occurred. Please try again."},r=Object.freeze(Object.assign(Object.create(null),e,{default:e}));export{r as e};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{IkasStorefrontConfig as t}from"./storefront.js";
|
|
2
|
-
/*! *****************************************************************************
|
|
3
|
-
Copyright (c) Microsoft Corporation.
|
|
4
|
-
|
|
5
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
-
purpose with or without fee is hereby granted.
|
|
7
|
-
|
|
8
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
9
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
10
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
11
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
12
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
-
***************************************************************************** */var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e])},r(t,e)};function e(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var n=function(){return n=Object.assign||function(t){for(var r,e=1,n=arguments.length;e<n;e++)for(var o in r=arguments[e])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t},n.apply(this,arguments)};function o(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(e[n[o]]=t[n[o]])}return e}function a(t,r,e,n){return new(e||(e=Promise))((function(o,a){function u(t){try{c(n.next(t))}catch(t){a(t)}}function i(t){try{c(n.throw(t))}catch(t){a(t)}}function c(t){var r;t.done?o(t.value):(r=t.value,r instanceof e?r:new e((function(t){t(r)}))).then(u,i)}c((n=n.apply(t,r||[])).next())}))}function u(t,r){var e,n,o,a,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(e)throw new TypeError("Generator is already executing.");for(;u;)try{if(e=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){u=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(6===a[0]&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=r.call(t,u)}catch(t){a=[6,t],n=0}finally{e=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,i])}}}function i(){for(var t=0,r=0,e=arguments.length;r<e;r++)t+=arguments[r].length;var n=Array(t),o=0;for(r=0;r<e;r++)for(var a=arguments[r],u=0,i=a.length;u<i;u++,o++)n[o]=a[u];return n}function c(t,r){return Object.defineProperty?Object.defineProperty(t,"raw",{value:r}):t.raw=r,t}var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function s(t){if(t.__esModule)return t;var r=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),r}function l(t){var r={exports:{}};return t(r,r.exports),r.exports}function p(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.')}var v=function(t,r){for(var e=-1,n=null==t?0:t.length;++e<n&&!1!==r(t[e],e,t););return t};var y=function(t){return function(r,e,n){for(var o=-1,a=Object(r),u=n(r),i=u.length;i--;){var c=u[t?i:++o];if(!1===e(a[c],c,a))break}return r}}();var h=function(t,r){for(var e=-1,n=Array(t);++e<t;)n[e]=r(e);return n},b="object"==typeof f&&f&&f.Object===Object&&f,d="object"==typeof self&&self&&self.Object===Object&&self,g=b||d||Function("return this")(),_=g.Symbol,j=Object.prototype,O=j.hasOwnProperty,m=j.toString,w=_?_.toStringTag:void 0;var A=function(t){var r=O.call(t,w),e=t[w];try{t[w]=void 0;var n=!0}catch(t){}var o=m.call(t);return n&&(r?t[w]=e:delete t[w]),o},x=Object.prototype.toString;var P=function(t){return x.call(t)},S=_?_.toStringTag:void 0;var T=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":S&&S in Object(t)?A(t):P(t)};var z=function(t){return null!=t&&"object"==typeof t};var C=function(t){return z(t)&&"[object Arguments]"==T(t)},E=Object.prototype,k=E.hasOwnProperty,F=E.propertyIsEnumerable,I=C(function(){return arguments}())?C:function(t){return z(t)&&k.call(t,"callee")&&!F.call(t,"callee")},$=Array.isArray;var R=function(){return!1},U=l((function(t,r){var e=r&&!r.nodeType&&r,n=e&&t&&!t.nodeType&&t,o=n&&n.exports===e?g.Buffer:void 0,a=(o?o.isBuffer:void 0)||R;t.exports=a})),L=/^(?:0|[1-9]\d*)$/;var q=function(t,r){var e=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==e||"symbol"!=e&&L.test(t))&&t>-1&&t%1==0&&t<r};var B=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},D={};D["[object Float32Array]"]=D["[object Float64Array]"]=D["[object Int8Array]"]=D["[object Int16Array]"]=D["[object Int32Array]"]=D["[object Uint8Array]"]=D["[object Uint8ClampedArray]"]=D["[object Uint16Array]"]=D["[object Uint32Array]"]=!0,D["[object Arguments]"]=D["[object Array]"]=D["[object ArrayBuffer]"]=D["[object Boolean]"]=D["[object DataView]"]=D["[object Date]"]=D["[object Error]"]=D["[object Function]"]=D["[object Map]"]=D["[object Number]"]=D["[object Object]"]=D["[object RegExp]"]=D["[object Set]"]=D["[object String]"]=D["[object WeakMap]"]=!1;var M=function(t){return z(t)&&B(t.length)&&!!D[T(t)]};var G=function(t){return function(r){return t(r)}},N=l((function(t,r){var e=r&&!r.nodeType&&r,n=e&&t&&!t.nodeType&&t,o=n&&n.exports===e&&b.process,a=function(){try{var t=n&&n.require&&n.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=a})),V=N&&N.isTypedArray,W=V?G(V):M,H=Object.prototype.hasOwnProperty;var J=function(t,r){var e=$(t),n=!e&&I(t),o=!e&&!n&&U(t),a=!e&&!n&&!o&&W(t),u=e||n||o||a,i=u?h(t.length,String):[],c=i.length;for(var f in t)!r&&!H.call(t,f)||u&&("length"==f||o&&("offset"==f||"parent"==f)||a&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||q(f,c))||i.push(f);return i},K=Object.prototype;var Q=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||K)};var X=function(t,r){return function(e){return t(r(e))}},Y=X(Object.keys,Object),Z=Object.prototype.hasOwnProperty;var tt=function(t){if(!Q(t))return Y(t);var r=[];for(var e in Object(t))Z.call(t,e)&&"constructor"!=e&&r.push(e);return r};var rt=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)};var et=function(t){if(!rt(t))return!1;var r=T(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r};var nt=function(t){return null!=t&&B(t.length)&&!et(t)};var ot=function(t){return nt(t)?J(t):tt(t)};var at=function(t,r){return function(e,n){if(null==e)return e;if(!nt(e))return t(e,n);for(var o=e.length,a=r?o:-1,u=Object(e);(r?a--:++a<o)&&!1!==n(u[a],a,u););return e}}((function(t,r){return t&&y(t,r,ot)}));var ut=function(t){return t};var it=function(t){return"function"==typeof t?t:ut};var ct=function(t,r){return($(t)?v:at)(t,it(r))},ft=function(t){t=(t=t.replace(/^\s+|\s+$/g,"")).toLocaleLowerCase("tr-TR");for(var r="àáäâèéëêìíïîıòóöôùúüûñçşğ·/_,:;",e=0,n=r.length;e<n;e++)t=t.replace(new RegExp(r.charAt(e),"g"),"aaaaeeeeiiiiioooouuuuncsg------".charAt(e));return t=t.replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")},st=function(t){return/^\+?\d+$/.test(t)},lt=function(t){var r=t.toLocaleLowerCase("tr-TR");return r.charAt(0).toLocaleUpperCase("tr-TR")+r.slice(1)},pt=function(t){return Buffer.from(t,"base64").toString("ascii")};function vt(t,r){var e="0123456789AaBbCcÇçDdEeFfGgĞğHhIıİiJjKkLlMmNnOoÖöPpQqRrSsŞşTtUuÜüVvWwXxYyZz",n=t||"",o=r||"";if(0===n.length||0===o.length)return n.length-o.length;for(var a=0;a<n.length&&a<o.length;a++){var u=e.indexOf(n[a].toUpperCase()),i=e.indexOf(o[a].toUpperCase());if(u!==i)return u-i}return 0}function yt(t,r){var e=[];if(!t||!r)return[];for(var n=0;n<t.length;){var o=t.indexOf(r,n);if(-1===o)break;n=o+1,e.push(o)}return e}function ht(t){return!!new Intl.DateTimeFormat(t,{hour:"numeric"}).format(0).match(/\s/)}function bt(r){var e={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1},n=t.getCurrentLocale();return"undefined"!=typeof navigator?e.hour12=ht(navigator.language):e.hour12=ht(n),new Intl.DateTimeFormat(n,e).format(r)}function dt(t,r,e){void 0===e&&(e=!1),ct(t,(function(t,n){try{r(t,n)}catch(t){e&&console.error(t)}}))}var gt=function(t){return"symbol"==typeof t||z(t)&&"[object Symbol]"==T(t)},_t=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jt=/^\w*$/;var Ot,mt=function(t,r){if($(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!gt(t))||(jt.test(t)||!_t.test(t)||null!=r&&t in Object(r))},wt=g["__core-js_shared__"],At=(Ot=/[^.]+$/.exec(wt&&wt.keys&&wt.keys.IE_PROTO||""))?"Symbol(src)_1."+Ot:"";var xt=function(t){return!!At&&At in t},Pt=Function.prototype.toString;var St=function(t){if(null!=t){try{return Pt.call(t)}catch(t){}try{return t+""}catch(t){}}return""},Tt=/^\[object .+?Constructor\]$/,zt=Function.prototype,Ct=Object.prototype,Et=zt.toString,kt=Ct.hasOwnProperty,Ft=RegExp("^"+Et.call(kt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var It=function(t){return!(!rt(t)||xt(t))&&(et(t)?Ft:Tt).test(St(t))};var $t=function(t,r){return null==t?void 0:t[r]};var Rt=function(t,r){var e=$t(t,r);return It(e)?e:void 0},Ut=Rt(Object,"create");var Lt=function(){this.__data__=Ut?Ut(null):{},this.size=0};var qt=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},Bt=Object.prototype.hasOwnProperty;var Dt=function(t){var r=this.__data__;if(Ut){var e=r[t];return"__lodash_hash_undefined__"===e?void 0:e}return Bt.call(r,t)?r[t]:void 0},Mt=Object.prototype.hasOwnProperty;var Gt=function(t){var r=this.__data__;return Ut?void 0!==r[t]:Mt.call(r,t)};var Nt=function(t,r){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Ut&&void 0===r?"__lodash_hash_undefined__":r,this};function Vt(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}Vt.prototype.clear=Lt,Vt.prototype.delete=qt,Vt.prototype.get=Dt,Vt.prototype.has=Gt,Vt.prototype.set=Nt;var Wt=Vt;var Ht=function(){this.__data__=[],this.size=0};var Jt=function(t,r){return t===r||t!=t&&r!=r};var Kt=function(t,r){for(var e=t.length;e--;)if(Jt(t[e][0],r))return e;return-1},Qt=Array.prototype.splice;var Xt=function(t){var r=this.__data__,e=Kt(r,t);return!(e<0)&&(e==r.length-1?r.pop():Qt.call(r,e,1),--this.size,!0)};var Yt=function(t){var r=this.__data__,e=Kt(r,t);return e<0?void 0:r[e][1]};var Zt=function(t){return Kt(this.__data__,t)>-1};var tr=function(t,r){var e=this.__data__,n=Kt(e,t);return n<0?(++this.size,e.push([t,r])):e[n][1]=r,this};function rr(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}rr.prototype.clear=Ht,rr.prototype.delete=Xt,rr.prototype.get=Yt,rr.prototype.has=Zt,rr.prototype.set=tr;var er=rr,nr=Rt(g,"Map");var or=function(){this.size=0,this.__data__={hash:new Wt,map:new(nr||er),string:new Wt}};var ar=function(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t};var ur=function(t,r){var e=t.__data__;return ar(r)?e["string"==typeof r?"string":"hash"]:e.map};var ir=function(t){var r=ur(this,t).delete(t);return this.size-=r?1:0,r};var cr=function(t){return ur(this,t).get(t)};var fr=function(t){return ur(this,t).has(t)};var sr=function(t,r){var e=ur(this,t),n=e.size;return e.set(t,r),this.size+=e.size==n?0:1,this};function lr(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}lr.prototype.clear=or,lr.prototype.delete=ir,lr.prototype.get=cr,lr.prototype.has=fr,lr.prototype.set=sr;var pr=lr;function vr(t,r){if("function"!=typeof t||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var e=function(){var n=arguments,o=r?r.apply(this,n):n[0],a=e.cache;if(a.has(o))return a.get(o);var u=t.apply(this,n);return e.cache=a.set(o,u)||a,u};return e.cache=new(vr.Cache||pr),e}vr.Cache=pr;var yr=vr;var hr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,br=/\\(\\)?/g,dr=function(t){var r=yr(t,(function(t){return 500===e.size&&e.clear(),t})),e=r.cache;return r}((function(t){var r=[];return 46===t.charCodeAt(0)&&r.push(""),t.replace(hr,(function(t,e,n,o){r.push(n?o.replace(br,"$1"):e||t)})),r}));var gr=function(t,r){for(var e=-1,n=null==t?0:t.length,o=Array(n);++e<n;)o[e]=r(t[e],e,t);return o},_r=_?_.prototype:void 0,jr=_r?_r.toString:void 0;var Or=function t(r){if("string"==typeof r)return r;if($(r))return gr(r,t)+"";if(gt(r))return jr?jr.call(r):"";var e=r+"";return"0"==e&&1/r==-Infinity?"-0":e};var mr=function(t){return null==t?"":Or(t)};var wr=function(t,r){return $(t)?t:mt(t,r)?[t]:dr(mr(t))};var Ar=function(t){if("string"==typeof t||gt(t))return t;var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var xr=function(t,r){for(var e=0,n=(r=wr(r,t)).length;null!=t&&e<n;)t=t[Ar(r[e++])];return e&&e==n?t:void 0};var Pr=function(t,r,e){var n=null==t?void 0:xr(t,r);return void 0===n?e:n};export{nt as A,J as B,g as C,X as D,$ as E,St as F,T as G,_ as H,z as I,N as J,G as K,U as L,v as M,I as N,W as O,wr as P,Ar as Q,B as R,q as S,mt as T,Pr as U,xr as V,ut as W,at as X,gt as Y,gr as Z,a as _,vt as a,bt as b,u as c,pt as d,c as e,yt as f,s as g,e as h,n as i,i as j,l as k,o as l,f as m,p as n,er as o,lt as p,nr as q,pr as r,ft as s,dt as t,Rt as u,st as v,Jt as w,ot as x,rt as y,Q as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{f as e,U as r,_ as t,c as n}from"./get-f6594d28.js";import a from"fs";import i from"path";import s from"next/config";import{IkasStorefrontConfig as o}from"./storefront.js";var u=function(e,r){var t="undefined"!=typeof navigator?navigator.languages:"en-GB";return new Intl.NumberFormat(t,{style:"currency",currency:r||"TRY"}).format(e)},c=function(){function e(e,r,t){this.locale=e,this.namespaces=r,this.localePath=t}return e.prototype.read=function(){return t(this,void 0,void 0,(function(){var e,r,t,o,u,c,l,f,h,p;return n(this,(function(n){switch(n.label){case 0:e=s().serverRuntimeConfig,r={},t=0,o=this.namespaces,n.label=1;case 1:if(!(t<o.length))return[3,12];u=o[t],n.label=2;case 2:return n.trys.push([2,10,,11]),c=this.localePath?i.join(this.localePath,this.locale,u+".json"):i.join(e.PROJECT_ROOT,"public","locales",this.locale,u+".json"),a.existsSync(c)?[4,this.readLocaleFile(c)]:[3,4];case 3:return l=n.sent(),r[u]=l,[3,9];case 4:return"checkout-page"!==u?[3,9]:(f={},"tr"!==this.locale?[3,6]:[4,import("./tr-26d6f603.js").then((function(e){return e.t}))]);case 5:return h=n.sent(),f=h.default,[3,8];case 6:return[4,import("./en-2122556b.js").then((function(e){return e.e}))];case 7:h=n.sent(),f=h.default,n.label=8;case 8:r[u]=f,n.label=9;case 9:return[3,11];case 10:return p=n.sent(),console.error(p),[3,11];case 11:return t++,[3,1];case 12:return[2,r]}}))}))},e.prototype.readLocaleFile=function(e){return t(this,void 0,void 0,(function(){return n(this,(function(r){return[2,new Promise((function(r,t){a.readFile(e,{flag:"r"},(function(e,n){if(e)return t(e);var a=n.length?JSON.parse(n.toString()):{};r(a)}))}))]}))}))},e}();function l(e,t){var n="common",a="",i=e.split(":");if(i.length>2)return e;2===i.length?(n=i[0],a=i[1]):a=i[0];var s=o.translations[n];if(!s)return e;var u=r(s,a);if(u){if(t){for(var c="",l=0,f=h(u);l<f.length;l++){var p=f[l];if(p.isVariable){var v=p.value.replace("{{","").replace("}}","").trim();t[v]?c+=t[v]:c+=p.value}else c+=p.value}return c}return u}return e}function f(e){return{t:l}}function h(r){var t=[];if(!r)return t;for(var n=e(r,"{{"),a=e(r,"}}"),i=n.map((function(e,r){return{start:e,end:a[r]+1}})),s=function(e){return i.some((function(r){return r.start<=e&&r.end>=e}))},o="",u=!1,c=0;c<r.length;c++){var l=r.charAt(c);u?s(c)?o+=l:(t.push({isVariable:!0,value:o}),o=l,u=!1):s(c)?(t.push({isVariable:!1,value:o}),o=l,u=!0):o+=l,c===r.length-1&&t.push({isVariable:u,value:o})}return t}export{c as I,h as c,u as f,f as u};
|