@ikas/storefront 1.0.16-alpha.1 → 1.0.16-alpha.2
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 +632 -0
- package/build/analytics/analytics.d.ts +37 -0
- package/build/analytics/events.d.ts +36 -0
- package/build/analytics/facebookPixel.d.ts +15 -0
- package/build/analytics/googleTagManager.d.ts +201 -0
- package/build/analytics/head/index.d.ts +7 -0
- package/build/analytics/ikas.d.ts +133 -0
- package/build/analytics/index.d.ts +2 -0
- package/build/api/apollo.d.ts +10 -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/blog/__generated__/getBlog.d.ts +106 -0
- package/build/api/blog/__generated__/listBlog.d.ts +109 -0
- package/build/api/blog/__generated__/listBlogCategory.d.ts +61 -0
- package/build/api/blog/__generated__/listBlogMetaData.d.ts +53 -0
- package/build/api/blog/index.d.ts +32 -0
- package/build/api/brand/__generated__/listProductBrand.d.ts +88 -0
- package/build/api/brand/index.d.ts +16 -0
- package/build/api/cart/__generated__/getCart.d.ts +176 -0
- package/build/api/cart/__generated__/saveItemToCart.d.ts +185 -0
- package/build/api/cart/index.d.ts +5 -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/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 +572 -0
- package/build/api/checkout/__generated__/getOrder.d.ts +614 -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/city/__generated__/listCity.d.ts +20 -0
- package/build/api/city/index.d.ts +4 -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/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/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 +584 -0
- package/build/api/customer/__generated__/customerForgotPassword.d.ts +7 -0
- package/build/api/customer/__generated__/customerLogin.d.ts +162 -0
- package/build/api/customer/__generated__/customerRecoverPassword.d.ts +8 -0
- package/build/api/customer/__generated__/customerRefreshToken.d.ts +11 -0
- package/build/api/customer/__generated__/customerSocialLogin.d.ts +161 -0
- package/build/api/customer/__generated__/getCustomerOrders.d.ts +614 -0
- package/build/api/customer/__generated__/getLastViewedProducts.d.ts +15 -0
- package/build/api/customer/__generated__/getMyCustomer.d.ts +140 -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 +158 -0
- package/build/api/customer/__generated__/saveLastViewedProducts.d.ts +11 -0
- package/build/api/customer/__generated__/saveMyCustomer.d.ts +155 -0
- package/build/api/customer/index.d.ts +49 -0
- package/build/api/customer-review/__generated__/createCustomerReview.d.ts +11 -0
- package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +48 -0
- package/build/api/customer-review/index.d.ts +24 -0
- package/build/api/district/__generated__/listDistrict.d.ts +16 -0
- package/build/api/district/index.d.ts +4 -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/html-meta-data/__generated__/listHTMLMetaData.d.ts +28 -0
- package/build/api/html-meta-data/index.d.ts +4 -0
- package/build/api/index.d.ts +21 -0
- package/build/api/merchant/__generated__/listMerchantSettings.d.ts +9 -0
- package/build/api/merchant/index.d.ts +4 -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 +6 -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/state/__generated__/listState.d.ts +19 -0
- package/build/api/state/index.d.ts +4 -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/variant-type/__generated__/listVariantType.d.ts +72 -0
- package/build/api/variant-type/index.d.ts +4 -0
- package/build/assets/translations/checkout/en.js +165 -0
- package/build/assets/translations/checkout/tr.js +164 -0
- package/build/components/checkout/components/address-form/index.d.ts +3 -0
- package/build/components/checkout/components/address-form/model.d.ts +131 -0
- package/build/components/checkout/components/button/index.d.ts +12 -0
- package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +10 -0
- package/build/components/checkout/components/cart-summary/index.d.ts +8 -0
- package/build/components/checkout/components/checkbox/check.d.ts +6 -0
- package/build/components/checkout/components/checkbox/index.d.ts +10 -0
- package/build/components/checkout/components/credit-card-form/index.d.ts +7 -0
- package/build/components/checkout/components/credit-card-form/model.d.ts +26 -0
- package/build/components/checkout/components/credit-card-form/svg/amex.d.ts +6 -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/troy.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/visa.d.ts +6 -0
- package/build/components/checkout/components/customer-addresses/index.d.ts +15 -0
- package/build/components/checkout/components/customer-addresses/model.d.ts +21 -0
- package/build/components/checkout/components/error/customer-login-required-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/index.d.ts +7 -0
- package/build/components/checkout/components/error/no-shipping-error/index.d.ts +6 -0
- package/build/components/checkout/components/error/payment-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/stock-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/unknown-error/index.d.ts +6 -0
- package/build/components/checkout/components/expandable-section/index.d.ts +6 -0
- package/build/components/checkout/components/form-item/caret-down.d.ts +6 -0
- package/build/components/checkout/components/form-item/index.d.ts +3 -0
- package/build/components/checkout/components/form-item/model.d.ts +59 -0
- package/build/components/checkout/components/fullscreen-loading/index.d.ts +2 -0
- package/build/components/checkout/components/input-with-button/index.d.ts +11 -0
- package/build/components/checkout/components/modal/index.d.ts +8 -0
- package/build/components/checkout/components/notification-box/index.d.ts +9 -0
- package/build/components/checkout/components/select-box/index.d.ts +13 -0
- package/build/components/checkout/components/step-container/index.d.ts +15 -0
- package/build/components/checkout/components/svg/arrow-down.d.ts +6 -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/discount.d.ts +6 -0
- package/build/components/checkout/components/svg/external.d.ts +6 -0
- package/build/components/checkout/components/svg/gift.d.ts +7 -0
- package/build/components/checkout/components/svg/ikas.d.ts +6 -0
- package/build/components/checkout/components/svg/lock.d.ts +6 -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/tag.d.ts +6 -0
- package/build/components/checkout/components/svg/warning.d.ts +6 -0
- package/build/components/checkout/components/toggle/index.d.ts +10 -0
- package/build/components/checkout/components/tooltip/index.d.ts +8 -0
- package/build/components/checkout/index.d.ts +32 -0
- package/build/components/checkout/model.d.ts +122 -0
- package/build/components/checkout/steps/step-info/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/billing-address/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +7 -0
- package/build/components/checkout/steps/step-shipping/index.d.ts +7 -0
- package/build/components/checkout/steps/step-success/index.d.ts +7 -0
- package/build/components/error/index.d.ts +5 -0
- package/build/components/image/index.d.ts +36 -0
- package/build/components/index.d.ts +4 -0
- package/build/components/page/ThemeComponent.d.ts +10 -0
- package/build/components/page/head.d.ts +12 -0
- package/build/components/page/index.d.ts +17 -0
- package/build/components/page-editor/ThemeComponentEditor.d.ts +9 -0
- package/build/components/page-editor/index.d.ts +2 -0
- package/build/components/page-editor/model.d.ts +65 -0
- package/build/index.css +1517 -0
- package/build/index.d.ts +8 -0
- package/build/index.es.css +1517 -0
- package/build/index.es.js +74630 -0
- package/build/index.js +74759 -0
- package/build/models/data/blog/index.d.ts +67 -0
- package/build/models/data/brand/index.d.ts +21 -0
- package/build/models/data/cart/index.d.ts +47 -0
- package/build/models/data/category/index.d.ts +52 -0
- package/build/models/data/checkout/index.d.ts +103 -0
- package/build/models/data/checkout-settings/index.d.ts +25 -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/country/index.d.ts +8 -0
- package/build/models/data/customer/address/index.d.ts +52 -0
- package/build/models/data/customer/index.d.ts +33 -0
- package/build/models/data/customer-review/index.d.ts +23 -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/html-meta-data/index.d.ts +23 -0
- package/build/models/data/image/index.d.ts +8 -0
- package/build/models/data/index.d.ts +33 -0
- package/build/models/data/installment-info/index.d.ts +30 -0
- package/build/models/data/merchant-settings/index.d.ts +8 -0
- package/build/models/data/order/address/index.d.ts +51 -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 +146 -0
- package/build/models/data/order/line-item/discount/index.d.ts +11 -0
- package/build/models/data/order/line-item/index.d.ts +43 -0
- package/build/models/data/order/line-item/options/index.d.ts +10 -0
- package/build/models/data/order/line-item/options/options-value/index.d.ts +6 -0
- package/build/models/data/order/line-item/variant/index.d.ts +25 -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/shipping-line/index.d.ts +7 -0
- package/build/models/data/order-transaction/index.d.ts +74 -0
- package/build/models/data/payment-gateway/index.d.ts +61 -0
- package/build/models/data/product/attribute-value/index.d.ts +20 -0
- package/build/models/data/product/index.d.ts +35 -0
- package/build/models/data/product/variant/index.d.ts +24 -0
- package/build/models/data/product/variant/price/index.d.ts +11 -0
- package/build/models/data/product/variant-type/index.d.ts +6 -0
- package/build/models/data/product-attribute/index.d.ts +34 -0
- package/build/models/data/product-attribute/product-attribute-option/index.d.ts +5 -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-template/index.d.ts +6 -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-filter/index.d.ts +109 -0
- package/build/models/data/product-option-set/index.d.ts +104 -0
- package/build/models/data/product-tag/index.d.ts +5 -0
- package/build/models/data/sales-channel/index.d.ts +18 -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/index.d.ts +23 -0
- package/build/models/data/storefront/localization/index.d.ts +7 -0
- package/build/models/data/storefront/routing/index.d.ts +9 -0
- package/build/models/data/storefront/theme/index.d.ts +13 -0
- package/build/models/data/storefront/theme-localization/index.d.ts +12 -0
- package/build/models/data/variant-type/index.d.ts +26 -0
- package/build/models/data/variant-type/variant-value/index.d.ts +11 -0
- package/build/models/index.d.ts +3 -0
- package/build/models/theme/component/index.d.ts +10 -0
- package/build/models/theme/component/prop/index.d.ts +40 -0
- package/build/models/theme/custom-data/index.d.ts +24 -0
- package/build/models/theme/index.d.ts +18 -0
- package/build/models/theme/page/component/index.d.ts +6 -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.d.ts +5 -0
- package/build/models/theme/page/component/prop-value/blog-list.d.ts +9 -0
- package/build/models/theme/page/component/prop-value/blog.d.ts +5 -0
- package/build/models/theme/page/component/prop-value/brand-list.d.ts +9 -0
- package/build/models/theme/page/component/prop-value/brand.d.ts +5 -0
- package/build/models/theme/page/component/prop-value/category-list.d.ts +9 -0
- package/build/models/theme/page/component/prop-value/category.d.ts +5 -0
- package/build/models/theme/page/component/prop-value/link.d.ts +19 -0
- package/build/models/theme/page/component/prop-value/product-detail.d.ts +6 -0
- package/build/models/theme/page/component/prop-value/product-list.d.ts +17 -0
- package/build/models/theme/page/index.d.ts +40 -0
- package/build/models/theme/settings/index.d.ts +13 -0
- package/build/models/theme/settings/prop/color/index.d.ts +7 -0
- package/build/models/theme/settings/prop/favicon/index.d.ts +4 -0
- package/build/models/theme/theme.d.ts +16 -0
- package/build/models/ui/blog-category-list/index.d.ts +52 -0
- package/build/models/ui/blog-list/index.d.ts +56 -0
- package/build/models/ui/brand-list/index.d.ts +61 -0
- package/build/models/ui/category-list/index.d.ts +61 -0
- package/build/models/ui/component-renderer/index.d.ts +7 -0
- package/build/models/ui/customer-review-list/index.d.ts +43 -0
- package/build/models/ui/index.d.ts +22 -0
- package/build/models/ui/navigation-link/index.d.ts +8 -0
- package/build/models/ui/product-attribute-detail/index.d.ts +8 -0
- package/build/models/ui/product-attribute-list/index.d.ts +9 -0
- package/build/models/ui/product-detail/index.d.ts +28 -0
- package/build/models/ui/product-list/index.d.ts +132 -0
- package/build/models/ui/validator/form/account-info.d.ts +40 -0
- package/build/models/ui/validator/form/address.d.ts +75 -0
- package/build/models/ui/validator/form/contact-form.d.ts +45 -0
- package/build/models/ui/validator/form/customer-review.d.ts +37 -0
- package/build/models/ui/validator/form/forgot-password.d.ts +29 -0
- package/build/models/ui/validator/form/login.d.ts +35 -0
- package/build/models/ui/validator/form/recover-password.d.ts +36 -0
- package/build/models/ui/validator/form/register.d.ts +48 -0
- package/build/models/ui/validator/index.d.ts +27 -0
- package/build/models/ui/validator/rules/index.d.ts +87 -0
- package/build/pages/404.d.ts +6 -0
- package/build/pages/[slug]/index.d.ts +7 -0
- package/build/pages/account/addresses.d.ts +6 -0
- package/build/pages/account/favorite-products.d.ts +6 -0
- package/build/pages/account/forgot-password.d.ts +6 -0
- package/build/pages/account/index.d.ts +6 -0
- package/build/pages/account/login.d.ts +6 -0
- package/build/pages/account/orders/[id].d.ts +6 -0
- package/build/pages/account/orders/index.d.ts +6 -0
- package/build/pages/account/recover-password.d.ts +6 -0
- package/build/pages/account/register.d.ts +6 -0
- package/build/pages/blog/[slug].d.ts +7 -0
- package/build/pages/blog/index.d.ts +6 -0
- package/build/pages/cart.d.ts +6 -0
- package/build/pages/checkout.d.ts +18 -0
- package/build/pages/editor.d.ts +8 -0
- package/build/pages/home.d.ts +6 -0
- package/build/pages/index.d.ts +20 -0
- package/build/pages/pages/[slug].d.ts +7 -0
- package/build/pages/search.d.ts +6 -0
- package/build/providers/page-data-get.d.ts +61 -0
- package/build/providers/page-data-init.d.ts +58 -0
- package/build/providers/page-data-next.d.ts +243 -0
- package/build/providers/placeholders.d.ts +6 -0
- package/build/providers/prop-value/attribute-list.d.ts +12 -0
- package/build/providers/prop-value/attribute.d.ts +12 -0
- package/build/providers/prop-value/blog-category-list.d.ts +7 -0
- package/build/providers/prop-value/blog-category.d.ts +11 -0
- package/build/providers/prop-value/blog-list.d.ts +9 -0
- package/build/providers/prop-value/blog.d.ts +11 -0
- package/build/providers/prop-value/boolean.d.ts +6 -0
- package/build/providers/prop-value/brand-list.d.ts +7 -0
- package/build/providers/prop-value/brand.d.ts +11 -0
- package/build/providers/prop-value/category-list.d.ts +7 -0
- package/build/providers/prop-value/category.d.ts +11 -0
- package/build/providers/prop-value/checkout.d.ts +4 -0
- package/build/providers/prop-value/color.d.ts +6 -0
- package/build/providers/prop-value/custom.d.ts +42 -0
- package/build/providers/prop-value/image-list.d.ts +7 -0
- package/build/providers/prop-value/image.d.ts +7 -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/product-detail.d.ts +11 -0
- package/build/providers/prop-value/product-list.d.ts +9 -0
- package/build/providers/prop-value/rich-text.d.ts +6 -0
- package/build/providers/prop-value/text.d.ts +6 -0
- package/build/store/base.d.ts +25 -0
- package/build/store/cart.d.ts +30 -0
- package/build/store/customer.d.ts +91 -0
- package/build/store/index.d.ts +1 -0
- package/build/storefront/index.d.ts +55 -0
- package/build/utils/currency.d.ts +7 -0
- package/build/utils/helper.d.ts +8 -0
- package/build/utils/i18n.d.ts +20 -0
- package/build/utils/index.d.ts +3 -0
- package/package.json +4 -3
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
actions: {
|
|
3
|
+
login: "Login",
|
|
4
|
+
edit: "Edit",
|
|
5
|
+
apply: "Apply",
|
|
6
|
+
close: "Close",
|
|
7
|
+
cancel: "Cancel",
|
|
8
|
+
save: "Save",
|
|
9
|
+
continue: "Continue",
|
|
10
|
+
show: "Show",
|
|
11
|
+
hide: "Hide",
|
|
12
|
+
sendMessage: "Send Message",
|
|
13
|
+
continueWithShipping: "Continue with Shipping",
|
|
14
|
+
continueWithPayment: "Continue with Payment",
|
|
15
|
+
completeOrder: "Complete the Order",
|
|
16
|
+
backToShopping: "Back to Shopping",
|
|
17
|
+
backToCart: "Back to Cart",
|
|
18
|
+
},
|
|
19
|
+
securePayment: "Secure Payment",
|
|
20
|
+
alreadyHaveAnAccount: "Already have an account?",
|
|
21
|
+
|
|
22
|
+
address: "Address",
|
|
23
|
+
addressError: "Enter address",
|
|
24
|
+
missingAddressFields:
|
|
25
|
+
"There are some missing required fields in this address.",
|
|
26
|
+
editAddress: "Edit Address",
|
|
27
|
+
deleteAddress: "Delete Address",
|
|
28
|
+
saveAddressCta: "Save this address for future purchases",
|
|
29
|
+
firstName: "Name",
|
|
30
|
+
firstNameError: "Enter name",
|
|
31
|
+
lastName: "Surname",
|
|
32
|
+
lastNameError: "Enter surname",
|
|
33
|
+
identityNumber: "Identity Number",
|
|
34
|
+
identityNumberError: "Enter identity number",
|
|
35
|
+
addressTitle: "Adress Title",
|
|
36
|
+
adressTitleError: "Enter address title",
|
|
37
|
+
addressLine2: "Address Second Line",
|
|
38
|
+
postalCode: "Postal Code",
|
|
39
|
+
postalCodeError: "Enter postal code",
|
|
40
|
+
country: "Country",
|
|
41
|
+
countryError: "Select country",
|
|
42
|
+
state: "State",
|
|
43
|
+
stateError: "Select state",
|
|
44
|
+
city: "City",
|
|
45
|
+
cityError: "Select city",
|
|
46
|
+
district: "District",
|
|
47
|
+
districtError: "Select district",
|
|
48
|
+
phone: "Phone",
|
|
49
|
+
phoneError: "Enter a valid phone number",
|
|
50
|
+
companyName: "Company Name",
|
|
51
|
+
taxOffice: "Tax Office",
|
|
52
|
+
taxNumber: "Tax Number",
|
|
53
|
+
|
|
54
|
+
shipping: "Shipping",
|
|
55
|
+
payment: "Payment",
|
|
56
|
+
summary: "Summary",
|
|
57
|
+
|
|
58
|
+
free: "Free",
|
|
59
|
+
standartShipping: "Standart Shipping",
|
|
60
|
+
returnPolicy: "Return Policy",
|
|
61
|
+
privacyPolicy: "Privacy Policy",
|
|
62
|
+
termsOfService: "Terms of Service",
|
|
63
|
+
newAddress: "New Address",
|
|
64
|
+
billingAddress: "Billing Address",
|
|
65
|
+
shippingAddress: "Shipping Address",
|
|
66
|
+
corporateInvoice: "Corporate invoice",
|
|
67
|
+
contactInfo: "Contact Information",
|
|
68
|
+
email: "E-Mail",
|
|
69
|
+
emailError: "Enter a valid e-mail",
|
|
70
|
+
guestEmailTooltip:
|
|
71
|
+
"Your order information will be sent to this e-mail address",
|
|
72
|
+
customerConsentCta: "Contact me about the news and promotions",
|
|
73
|
+
useShippingForBilling: "Use shipping address for billing",
|
|
74
|
+
installmentOptions: "Installment Options",
|
|
75
|
+
singleInstallment: "Single Payment",
|
|
76
|
+
installments: "Installments",
|
|
77
|
+
creditCard: "Credit Card",
|
|
78
|
+
|
|
79
|
+
ackPrivacyPolicy: "Privacy Policy",
|
|
80
|
+
ackTermsOfService: "Terms of Service",
|
|
81
|
+
ackPoliciesSentence:
|
|
82
|
+
"I acknowledge the {{ ackPrivacyPolicy }} and {{ ackTermsOfService }}.",
|
|
83
|
+
|
|
84
|
+
securePaymentTooltip: "All payments are secure and encrypted",
|
|
85
|
+
giftPackage: "Gift Package",
|
|
86
|
+
giftPackageCta: "Gift wrap this order",
|
|
87
|
+
giftPackageCtaPlaceholder: "Enter your gift message",
|
|
88
|
+
|
|
89
|
+
paymentMethod: "Payment Method",
|
|
90
|
+
paymentMethodDiscount: "Discount",
|
|
91
|
+
paymentMethodAdditionalPrice: "Fee",
|
|
92
|
+
|
|
93
|
+
orderSuccessTitle: "Thank you for your order!",
|
|
94
|
+
orderSuccessDescription:
|
|
95
|
+
"Dear {{ customerName }}, we have received your order. We will notify you when your order is shipped.",
|
|
96
|
+
orderNoAndDate: "Order Number / Date",
|
|
97
|
+
paymentSummary: "Payment Summary",
|
|
98
|
+
shippingSummary: "Shipping Summary",
|
|
99
|
+
helpCtaQuestion: "Do you need help?",
|
|
100
|
+
helpCta: "Contact us",
|
|
101
|
+
|
|
102
|
+
contactForm: "Contact Form",
|
|
103
|
+
contactFormSent: "Message sent successfully",
|
|
104
|
+
contactFormDescription: "We will respond to your message as soon as possible",
|
|
105
|
+
contactFormCta: "Type your message",
|
|
106
|
+
|
|
107
|
+
orderPackageStatus: {
|
|
108
|
+
unfulfilled: "Unfulfilled",
|
|
109
|
+
readyForShipment: "Ready For Shipment",
|
|
110
|
+
fulfilled: "Fulfilled",
|
|
111
|
+
partiallyFulfilled: "Partially Fulfilled",
|
|
112
|
+
delivered: "Delivered",
|
|
113
|
+
unableToDeliver: "Unable to Deliver",
|
|
114
|
+
cancelled: "Cancelled",
|
|
115
|
+
cancelRejected: "Cancel Rejected",
|
|
116
|
+
cancelRequested: "Cancel Requested",
|
|
117
|
+
refunded: "Refunded",
|
|
118
|
+
refundRequestAccepted: "Refund Request Accepted",
|
|
119
|
+
refundRejected: "Refund Rejected",
|
|
120
|
+
refundRequested: "Refund Requested",
|
|
121
|
+
},
|
|
122
|
+
|
|
123
|
+
quantity: "Quantity",
|
|
124
|
+
cartItemProduct: "product",
|
|
125
|
+
giftCodeErrorTitle: "Gift Code Error",
|
|
126
|
+
giftCodeErrorDescription:
|
|
127
|
+
"The gift code you entered is not valid or not applicable to the products in your cart. Please check your code and try again.",
|
|
128
|
+
subtotal: "Subtotal",
|
|
129
|
+
total: "Total",
|
|
130
|
+
subtotalTooltip:
|
|
131
|
+
"Subtotal reflects the total for your cart before the discounts and does not include the shipping fees.",
|
|
132
|
+
cartShippingTitle: "Delivery / Shipping",
|
|
133
|
+
cartTaxTitle: "Tax",
|
|
134
|
+
cartInterest: "Interest",
|
|
135
|
+
couponCode: "Coupon Code",
|
|
136
|
+
addCouponCode: "Add coupon code",
|
|
137
|
+
addOrderNote: "Add order note",
|
|
138
|
+
editOrderNote: "Edit order note",
|
|
139
|
+
orderNote: "Order Note",
|
|
140
|
+
enterPhoneNumber: "Enter phone number",
|
|
141
|
+
|
|
142
|
+
cardNumber: "Card Number",
|
|
143
|
+
cardNumberError: "Please enter a valid card number",
|
|
144
|
+
cardHolderName: "Cardholder Name",
|
|
145
|
+
cardHolderError: "Enter cardholder name",
|
|
146
|
+
cardExpiry: "Month / Year",
|
|
147
|
+
cardExpiryError: "Enter a valid date",
|
|
148
|
+
cardCVC: "CVC",
|
|
149
|
+
cardCVCError: "Enter a valid CVC",
|
|
150
|
+
cardCVCTooltip: "CVC is the 3 digit number behind your card",
|
|
151
|
+
|
|
152
|
+
errorCustomerRequired:
|
|
153
|
+
"This e-mail address belongs to a registered user. Please login to your account.",
|
|
154
|
+
errorNoShipping: "Your region is not available for shipping.",
|
|
155
|
+
errorPayment:
|
|
156
|
+
"Your payment could not be received. Please check your information and try again.",
|
|
157
|
+
errorStockTitle: "Stock Update!",
|
|
158
|
+
errorStockDescription:
|
|
159
|
+
"Some items in your cart are out of stock. Would you like to continue by removing these products from your cart?",
|
|
160
|
+
errorUnknown: "An unexpected error has occurred. Please try again.",
|
|
161
|
+
|
|
162
|
+
customizedProduct: "Customized Product",
|
|
163
|
+
yes: "Yes",
|
|
164
|
+
no: "No",
|
|
165
|
+
};
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
actions: {
|
|
3
|
+
login: "Giriş Yap",
|
|
4
|
+
edit: "Düzenle",
|
|
5
|
+
apply: "Uygula",
|
|
6
|
+
close: "Kapat",
|
|
7
|
+
cancel: "Vazgeç",
|
|
8
|
+
save: "Kaydet",
|
|
9
|
+
continue: "Devam Et",
|
|
10
|
+
show: "Göster",
|
|
11
|
+
hide: "Gizle",
|
|
12
|
+
sendMessage: "Mesajı Gönder",
|
|
13
|
+
continueWithShipping: "Kargo ile Devam Et",
|
|
14
|
+
continueWithPayment: "Ödeme ile Devam Et",
|
|
15
|
+
completeOrder: "Siparişi Tamamla",
|
|
16
|
+
backToShopping: "Alışverişe Dön",
|
|
17
|
+
backToCart: "Sepete Dön",
|
|
18
|
+
},
|
|
19
|
+
securePayment: "Güvenli Ödeme",
|
|
20
|
+
alreadyHaveAnAccount: "Zaten hesabınız var mı?",
|
|
21
|
+
|
|
22
|
+
address: "Adres",
|
|
23
|
+
addressError: "Adres girin",
|
|
24
|
+
missingAddressFields: "Adres bilgilerinde bazı zorunlu alanlar eksik.",
|
|
25
|
+
editAddress: "Adres Düzenle",
|
|
26
|
+
deleteAddress: "Adresi Sil",
|
|
27
|
+
saveAddressCta: "Bir sonraki işlem için bu adresi kaydet",
|
|
28
|
+
firstName: "Ad",
|
|
29
|
+
firstNameError: "Ad girin",
|
|
30
|
+
lastName: "Soyad",
|
|
31
|
+
lastNameError: "Soyad girin",
|
|
32
|
+
identityNumber: "TC Kimlik No",
|
|
33
|
+
identityNumberError: "TC kimlik no girin",
|
|
34
|
+
addressTitle: "Adres Başlığı",
|
|
35
|
+
adressTitleError: "Adres başlığı girin",
|
|
36
|
+
addressLine2: "Apartman, daire, vb.",
|
|
37
|
+
postalCode: "Posta Kodu",
|
|
38
|
+
postalCodeError: "Posta kodu girin",
|
|
39
|
+
country: "Ülke",
|
|
40
|
+
countryError: "Ülke seçin",
|
|
41
|
+
state: "Eyalet",
|
|
42
|
+
stateError: "Eyalet seçin",
|
|
43
|
+
city: "İl",
|
|
44
|
+
cityError: "İl seçin",
|
|
45
|
+
district: "İlçe",
|
|
46
|
+
districtError: "İlçe seçin",
|
|
47
|
+
phone: "Telefon",
|
|
48
|
+
phoneError: "Geçerli bir telefon girin",
|
|
49
|
+
companyName: "Firma Adı",
|
|
50
|
+
taxOffice: "Vergi Dairesi",
|
|
51
|
+
taxNumber: "Vergi Numarası",
|
|
52
|
+
|
|
53
|
+
shipping: "Kargo",
|
|
54
|
+
payment: "Ödeme",
|
|
55
|
+
summary: "Özet",
|
|
56
|
+
|
|
57
|
+
free: "Ücretsiz",
|
|
58
|
+
standartShipping: "Standart Kargo",
|
|
59
|
+
returnPolicy: "Para İade Politikası",
|
|
60
|
+
privacyPolicy: "Gizlilik Politikası",
|
|
61
|
+
termsOfService: "Hizmet Şartları",
|
|
62
|
+
newAddress: "Yeni Adres",
|
|
63
|
+
billingAddress: "Fatura Adresi",
|
|
64
|
+
shippingAddress: "Teslimat Adresi",
|
|
65
|
+
corporateInvoice: "Kurumsal fatura",
|
|
66
|
+
contactInfo: "İletişim Bilgileri",
|
|
67
|
+
email: "E-Posta",
|
|
68
|
+
emailError: "Geçerli bir e-posta girin",
|
|
69
|
+
guestEmailTooltip: "Sipariş bilgileri bu e-posta adresine gönderilecektir",
|
|
70
|
+
customerConsentCta: "Beni haberlerden ve özel tekliflerden haberdar et",
|
|
71
|
+
useShippingForBilling: "Fatura adresim teslimat adresimle aynı",
|
|
72
|
+
installmentOptions: "Taksit Seçenekleri",
|
|
73
|
+
singleInstallment: "Tek Çekim",
|
|
74
|
+
installments: "Taksit",
|
|
75
|
+
creditCard: "Kredi Kartı",
|
|
76
|
+
|
|
77
|
+
ackPrivacyPolicy: "Gizlilik Sözleşmesini",
|
|
78
|
+
ackTermsOfService: "Satış Sözleşmesini",
|
|
79
|
+
ackPoliciesSentence:
|
|
80
|
+
"{{ ackPrivacyPolicy }} ve {{ ackTermsOfService }} okudum, onaylıyorum.",
|
|
81
|
+
|
|
82
|
+
securePaymentTooltip: "Ödemeler güvenli ve şifrelidir",
|
|
83
|
+
giftPackage: "Hediye Paketi",
|
|
84
|
+
giftPackageCta: "Hediye paketi istiyorum",
|
|
85
|
+
giftPackageCtaPlaceholder: "Hediye mesajınızı giriniz",
|
|
86
|
+
|
|
87
|
+
paymentMethod: "Ödeme Yöntemi",
|
|
88
|
+
paymentMethodDiscount: "İndirim",
|
|
89
|
+
paymentMethodAdditionalPrice: "İşlem Bedeli",
|
|
90
|
+
|
|
91
|
+
orderSuccessTitle: "Siparişiniz için teşekkür ederiz!",
|
|
92
|
+
orderSuccessDescription:
|
|
93
|
+
"Sevgili {{ customerName }}, siparişiniz bize ulaşmıştır. Siparişiniz kargoya verildiğinde sizi e-posta ile bilgilendireceğiz.",
|
|
94
|
+
orderNoAndDate: "Sipariş No / Tarih",
|
|
95
|
+
paymentSummary: "Ödeme Özeti",
|
|
96
|
+
shippingSummary: "Teslimat Özeti",
|
|
97
|
+
helpCtaQuestion: "Yardıma mı ihtiyacınız var?",
|
|
98
|
+
helpCta: "Bizimle iletişime geçin",
|
|
99
|
+
|
|
100
|
+
contactForm: "İletişim Formu",
|
|
101
|
+
contactFormSent: "Mesaj başarıyla gönderildi",
|
|
102
|
+
contactFormDescription:
|
|
103
|
+
"Mesajınızla ilgili olarak size en kısa zamanda e-posta veya telefon aracılığıyla geri dönüş yapılacaktır.",
|
|
104
|
+
contactFormCta: "Mesajınızı yazın",
|
|
105
|
+
|
|
106
|
+
orderPackageStatus: {
|
|
107
|
+
unfulfilled: "Oluşturuldu",
|
|
108
|
+
readyForShipment: "Kargoya Hazır",
|
|
109
|
+
fulfilled: "Gönderildi",
|
|
110
|
+
partiallyFulfilled: "Kısmi Gönderildi",
|
|
111
|
+
delivered: "Teslim Edildi",
|
|
112
|
+
unableToDeliver: "Teslim Edilemedi",
|
|
113
|
+
cancelled: "İptal Edildi",
|
|
114
|
+
cancelRejected: "İptal Talebi Reddedildi",
|
|
115
|
+
cancelRequested: "İptal İstendi",
|
|
116
|
+
refunded: "İade Edildi",
|
|
117
|
+
refundRequestAccepted: "İade Talebi Onaylandı",
|
|
118
|
+
refundRejected: "İade Talebi Reddedildi",
|
|
119
|
+
refundRequested: "İade Talep Edildi",
|
|
120
|
+
},
|
|
121
|
+
|
|
122
|
+
quantity: "Adet",
|
|
123
|
+
cartItemProduct: "ürün",
|
|
124
|
+
giftCodeErrorTitle: "İndirim Kodu Hatası",
|
|
125
|
+
giftCodeErrorDescription:
|
|
126
|
+
"İndirim kodunuz geçersiz veya sepetinizdeki ürünlere uygulanabilir değil. Lütfen kodunuzu kontrol edip tekrar deneyin.",
|
|
127
|
+
subtotal: "Ara Toplam",
|
|
128
|
+
total: "Toplam",
|
|
129
|
+
subtotalTooltip:
|
|
130
|
+
"Ara toplam, tüm geçerli indirimlerden önce siparişinizin toplam fiyatını yansıtır. kargo ücretini içermez.",
|
|
131
|
+
cartShippingTitle: "Teslimat / Kargo",
|
|
132
|
+
cartTaxTitle: "Vergi",
|
|
133
|
+
cartInterest: "Vade Farkı",
|
|
134
|
+
couponCode: "İndirim Kodu",
|
|
135
|
+
addCouponCode: "İndirim kodu ekle",
|
|
136
|
+
addOrderNote: "Sipariş notu ekle",
|
|
137
|
+
editOrderNote: "Sipariş notu düzenle",
|
|
138
|
+
orderNote: "Sipariş Notu",
|
|
139
|
+
enterPhoneNumber: "Telefon numarası girin",
|
|
140
|
+
|
|
141
|
+
cardNumber: "Kart Numarası",
|
|
142
|
+
cardNumberError: "Geçerli bir kart numarası girin",
|
|
143
|
+
cardHolderName: "Kart Üzerindeki İsim",
|
|
144
|
+
cardHolderError: "Ad soyad girin",
|
|
145
|
+
cardExpiry: "Ay / Yıl",
|
|
146
|
+
cardExpiryError: "Geçerli bir tarih girin",
|
|
147
|
+
cardCVC: "CVC",
|
|
148
|
+
cardCVCError: "Geçerli bir güvenlik kodu girin",
|
|
149
|
+
cardCVCTooltip: "Kartınızın arkasındaki 3 haneli güvenlik kodu",
|
|
150
|
+
|
|
151
|
+
errorCustomerRequired:
|
|
152
|
+
"Bu e-posta adresine ait kayıtlı bir hesap bulunuyor. Lütfen hesabınıza giriş yapınız.",
|
|
153
|
+
errorNoShipping: "Bulunduğunuz konuma gönderim yapılmamaktadır.",
|
|
154
|
+
errorPayment:
|
|
155
|
+
"Ödemeniz alınamadı. Lütfen bilgilerinizi kontrol edip tekrar deneyin.",
|
|
156
|
+
errorStockTitle: "Stoklar Güncellendi!",
|
|
157
|
+
errorStockDescription:
|
|
158
|
+
"Sepetinizdeki bazı ürünlerin stoğu tükenmiştir. Bu ürünleri sepetinizden çıkararak devam etmek ister misiniz?",
|
|
159
|
+
errorUnknown: "Beklenmedik bir hata oluştu. Lütfen tekrar deneyin.",
|
|
160
|
+
|
|
161
|
+
customizedProduct: "Kişiselleştirilmiş Ürün",
|
|
162
|
+
yes: "Evet",
|
|
163
|
+
no: "Hayır",
|
|
164
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { IkasOrderAddress } from "../../../../models/data/order/address/index";
|
|
2
|
+
import { IkasCountry, IkasState, IkasCity, IkasDistrict, IkasCustomerAddress } from "../../../../models/index";
|
|
3
|
+
declare type Callback = ((value: string) => void) | null | undefined;
|
|
4
|
+
export interface AddressFormViewModelParams {
|
|
5
|
+
address: IkasOrderAddress | IkasCustomerAddress;
|
|
6
|
+
isCorporate?: boolean;
|
|
7
|
+
isErrorsVisible: boolean;
|
|
8
|
+
isCustomerAddress?: boolean;
|
|
9
|
+
allowedCountryIds?: string[] | null;
|
|
10
|
+
allowCorporateInfo?: boolean;
|
|
11
|
+
allowTitleChange?: boolean;
|
|
12
|
+
firstNameChangeCallback?: Callback;
|
|
13
|
+
lastNameChangeCallback?: Callback;
|
|
14
|
+
}
|
|
15
|
+
export default class AddressFormViewModel {
|
|
16
|
+
address: IkasOrderAddress | IkasCustomerAddress;
|
|
17
|
+
isCorporate: boolean;
|
|
18
|
+
isErrorsVisible: boolean;
|
|
19
|
+
isCustomerAddress?: boolean;
|
|
20
|
+
allowedCountryIds?: string[] | null;
|
|
21
|
+
allowCorporateInfo?: boolean;
|
|
22
|
+
allowTitleChange?: boolean;
|
|
23
|
+
firstNameChangeCallback?: Callback;
|
|
24
|
+
lastNameChangeCallback?: Callback;
|
|
25
|
+
countries: IkasCountry[];
|
|
26
|
+
states: IkasState[];
|
|
27
|
+
cities: IkasCity[];
|
|
28
|
+
districts: IkasDistrict[];
|
|
29
|
+
myCountryCode?: string | null;
|
|
30
|
+
constructor(data: AddressFormViewModelParams);
|
|
31
|
+
get firstName(): string | null | undefined;
|
|
32
|
+
get lastName(): string | null | undefined;
|
|
33
|
+
get phone(): string | null | undefined;
|
|
34
|
+
get identityNumber(): string | null | undefined;
|
|
35
|
+
get country(): {
|
|
36
|
+
id?: string | undefined;
|
|
37
|
+
name?: string | undefined;
|
|
38
|
+
code?: string | undefined;
|
|
39
|
+
iso2?: string | undefined;
|
|
40
|
+
iso3?: string | undefined;
|
|
41
|
+
} | {
|
|
42
|
+
id?: string | undefined;
|
|
43
|
+
name?: string | undefined;
|
|
44
|
+
code?: string | undefined;
|
|
45
|
+
iso2?: string | undefined;
|
|
46
|
+
iso3?: string | undefined;
|
|
47
|
+
} | null | undefined;
|
|
48
|
+
get state(): {
|
|
49
|
+
id?: string | undefined;
|
|
50
|
+
name?: string | undefined;
|
|
51
|
+
code?: string | undefined;
|
|
52
|
+
iso2?: string | undefined;
|
|
53
|
+
iso3?: string | undefined;
|
|
54
|
+
} | {
|
|
55
|
+
id?: string | undefined;
|
|
56
|
+
name?: string | undefined;
|
|
57
|
+
code?: string | undefined;
|
|
58
|
+
iso2?: string | undefined;
|
|
59
|
+
iso3?: string | undefined;
|
|
60
|
+
} | null | undefined;
|
|
61
|
+
get city(): {
|
|
62
|
+
id?: string | undefined;
|
|
63
|
+
name?: string | undefined;
|
|
64
|
+
code?: string | undefined;
|
|
65
|
+
iso2?: string | undefined;
|
|
66
|
+
iso3?: string | undefined;
|
|
67
|
+
} | {
|
|
68
|
+
id?: string | undefined;
|
|
69
|
+
name?: string | undefined;
|
|
70
|
+
code?: string | undefined;
|
|
71
|
+
iso2?: string | undefined;
|
|
72
|
+
iso3?: string | undefined;
|
|
73
|
+
} | null | undefined;
|
|
74
|
+
get district(): {
|
|
75
|
+
id?: string | undefined;
|
|
76
|
+
name?: string | undefined;
|
|
77
|
+
code?: string | undefined;
|
|
78
|
+
iso2?: string | undefined;
|
|
79
|
+
iso3?: string | undefined;
|
|
80
|
+
} | {
|
|
81
|
+
id?: string | undefined;
|
|
82
|
+
name?: string | undefined;
|
|
83
|
+
code?: string | undefined;
|
|
84
|
+
iso2?: string | undefined;
|
|
85
|
+
iso3?: string | undefined;
|
|
86
|
+
} | null | undefined;
|
|
87
|
+
get countryOptions(): {
|
|
88
|
+
label: string;
|
|
89
|
+
value: string;
|
|
90
|
+
}[];
|
|
91
|
+
get stateOptions(): {
|
|
92
|
+
label: string;
|
|
93
|
+
value: string;
|
|
94
|
+
}[];
|
|
95
|
+
get cityOptions(): {
|
|
96
|
+
label: string;
|
|
97
|
+
value: string;
|
|
98
|
+
}[];
|
|
99
|
+
get districtOptions(): {
|
|
100
|
+
label: string;
|
|
101
|
+
value: string;
|
|
102
|
+
}[];
|
|
103
|
+
get hasState(): boolean;
|
|
104
|
+
fillDropdownOptions: () => Promise<void>;
|
|
105
|
+
listCountries: () => Promise<void>;
|
|
106
|
+
listStates: () => Promise<void>;
|
|
107
|
+
listCities: () => Promise<void>;
|
|
108
|
+
listDistricts: () => Promise<void>;
|
|
109
|
+
modelToOption: (model: IkasCountry | IkasState | IkasCity | IkasDistrict) => {
|
|
110
|
+
label: string;
|
|
111
|
+
value: string;
|
|
112
|
+
};
|
|
113
|
+
onFirstNameChange: (value: string) => void;
|
|
114
|
+
onLastNameChange: (value: string) => void;
|
|
115
|
+
onPhoneChange: (value: string) => void;
|
|
116
|
+
onIdentityNumberChange: (value: string) => void;
|
|
117
|
+
onAddressTitleChange: (value: string) => void;
|
|
118
|
+
onAddressLine1Change: (value: string) => void;
|
|
119
|
+
onAddressLine2Change: (value: string) => void;
|
|
120
|
+
onAddressPostalCodeChange: (value: string) => void;
|
|
121
|
+
onCountryChange: (countryId: string) => void;
|
|
122
|
+
onStateChange: (stateId: string) => void;
|
|
123
|
+
onCityChange: (cityId: string) => void;
|
|
124
|
+
onDistrictChange: (districtId: string) => void;
|
|
125
|
+
onDistrictInputChange: (value: string) => void;
|
|
126
|
+
onCorporateChange: (value: boolean) => void;
|
|
127
|
+
onCompanyChange: (value: string) => void;
|
|
128
|
+
onTaxNumberChange: (value: string) => void;
|
|
129
|
+
onTaxOfficeChange: (value: string) => void;
|
|
130
|
+
}
|
|
131
|
+
export {};
|
|
@@ -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,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { IkasOrderLineItem } from "../../../../../models/index";
|
|
3
|
+
import CheckoutViewModel from "../../../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,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,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,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,21 @@
|
|
|
1
|
+
import { IkasCustomerAddress } from "../../../../models/index";
|
|
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/index").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
|
+
}
|