@ikas/storefront 4.0.0-alpha.7 → 4.0.0-alpha.70
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/_virtual/_commonjsHelpers.js +1 -0
- package/build/_virtual/axios.js +1 -0
- package/build/_virtual/index.js +1 -0
- package/build/_virtual/index2.js +1 -0
- package/build/_virtual/index3.js +1 -0
- package/build/_virtual/react-is.development.js +1 -0
- package/build/_virtual/react-is.production.min.js +1 -0
- package/build/_virtual/react-stripe.umd.js +1 -0
- package/build/analytics/analytics.d.ts +37 -0
- package/build/analytics/analytics.js +1 -0
- package/build/analytics/events.d.ts +37 -0
- package/build/analytics/events.js +1 -0
- package/build/analytics/facebookPixel.d.ts +15 -0
- package/build/analytics/facebookPixel.js +1 -0
- package/build/analytics/googleAnalytics.d.ts +13 -0
- package/build/analytics/googleAnalytics.js +1 -0
- package/build/analytics/googleTagManager.d.ts +203 -0
- package/build/analytics/googleTagManager.js +1 -0
- package/build/analytics/googleUniversal.d.ts +9 -0
- package/build/analytics/googleUniversal.js +1 -0
- package/build/analytics/head/index.d.ts +7 -0
- package/build/analytics/head/index.js +1 -0
- package/build/analytics/ikas.d.ts +134 -0
- package/build/analytics/ikas.js +1 -0
- package/build/analytics/index.d.ts +2 -0
- package/build/analytics/tiktokPixel.d.ts +13 -0
- package/build/analytics/tiktokPixel.js +1 -0
- package/build/components/checkout/components/address-form/index.d.ts +3 -0
- package/build/components/checkout/components/address-form/index.js +1 -0
- package/build/components/checkout/components/address-form/model.d.ts +87 -0
- package/build/components/checkout/components/address-form/model.js +1 -0
- package/build/components/checkout/components/button/index.d.ts +13 -0
- package/build/components/checkout/components/button/index.js +1 -0
- package/build/components/checkout/components/button/style.module.scss.js +1 -0
- package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +10 -0
- package/build/components/checkout/components/cart-summary/cart-item/index.js +1 -0
- package/build/components/checkout/components/cart-summary/cart-item/style.module.scss.js +1 -0
- package/build/components/checkout/components/cart-summary/index.d.ts +8 -0
- package/build/components/checkout/components/cart-summary/index.js +1 -0
- package/build/components/checkout/components/cart-summary/style.module.scss.js +1 -0
- package/build/components/checkout/components/checkbox/check.d.ts +6 -0
- package/build/components/checkout/components/checkbox/check.js +1 -0
- package/build/components/checkout/components/checkbox/index.d.ts +10 -0
- package/build/components/checkout/components/checkbox/index.js +1 -0
- package/build/components/checkout/components/checkbox/style.module.scss.js +1 -0
- package/build/components/checkout/components/credit-card-form/index.d.ts +7 -0
- package/build/components/checkout/components/credit-card-form/index.js +1 -0
- package/build/components/checkout/components/credit-card-form/model.d.ts +26 -0
- package/build/components/checkout/components/credit-card-form/model.js +1 -0
- package/build/components/checkout/components/credit-card-form/style.module.scss.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/amex.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/amex.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/master-card.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/master-card.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/troy.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/troy.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/visa.d.ts +6 -0
- package/build/components/checkout/components/credit-card-form/svg/visa.js +1 -0
- package/build/components/checkout/components/customer-addresses/index.d.ts +19 -0
- package/build/components/checkout/components/customer-addresses/index.js +1 -0
- package/build/components/checkout/components/customer-addresses/model.d.ts +21 -0
- package/build/components/checkout/components/customer-addresses/model.js +1 -0
- package/build/components/checkout/components/customer-addresses/style.module.scss.js +1 -0
- package/build/components/checkout/components/delivery-methods/icon-button/index.d.ts +10 -0
- package/build/components/checkout/components/delivery-methods/icon-button/index.js +1 -0
- package/build/components/checkout/components/delivery-methods/icon-button/style.module.scss.js +1 -0
- package/build/components/checkout/components/delivery-methods/icons/box.d.ts +6 -0
- package/build/components/checkout/components/delivery-methods/icons/box.js +1 -0
- package/build/components/checkout/components/delivery-methods/icons/store.d.ts +6 -0
- package/build/components/checkout/components/delivery-methods/icons/store.js +1 -0
- package/build/components/checkout/components/delivery-methods/index.d.ts +7 -0
- package/build/components/checkout/components/delivery-methods/index.js +1 -0
- package/build/components/checkout/components/delivery-methods/style.module.scss.js +1 -0
- package/build/components/checkout/components/error/customer-login-required-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/customer-login-required-error/index.js +1 -0
- package/build/components/checkout/components/error/index.d.ts +7 -0
- package/build/components/checkout/components/error/index.js +1 -0
- package/build/components/checkout/components/error/no-shipping-error/index.d.ts +3 -0
- package/build/components/checkout/components/error/no-shipping-error/index.js +1 -0
- package/build/components/checkout/components/error/payment-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/payment-error/index.js +1 -0
- package/build/components/checkout/components/error/stock-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/stock-error/index.js +1 -0
- package/build/components/checkout/components/error/stock-error/style.module.scss.js +1 -0
- package/build/components/checkout/components/error/unknown-error/index.d.ts +8 -0
- package/build/components/checkout/components/error/unknown-error/index.js +1 -0
- package/build/components/checkout/components/expandable-section/index.d.ts +6 -0
- package/build/components/checkout/components/expandable-section/index.js +1 -0
- package/build/components/checkout/components/expandable-section/style.module.scss.js +1 -0
- package/build/components/checkout/components/form-item/caret-down.d.ts +6 -0
- package/build/components/checkout/components/form-item/caret-down.js +1 -0
- package/build/components/checkout/components/form-item/index.d.ts +3 -0
- package/build/components/checkout/components/form-item/index.js +1 -0
- package/build/components/checkout/components/form-item/model.d.ts +61 -0
- package/build/components/checkout/components/form-item/model.js +1 -0
- package/build/components/checkout/components/form-item/style.module.scss.js +1 -0
- package/build/components/checkout/components/fullscreen-loading/index.d.ts +2 -0
- package/build/components/checkout/components/fullscreen-loading/index.js +1 -0
- package/build/components/checkout/components/fullscreen-loading/style.module.scss.js +1 -0
- package/build/components/checkout/components/input-with-button/index.d.ts +11 -0
- package/build/components/checkout/components/input-with-button/index.js +1 -0
- package/build/components/checkout/components/input-with-button/style.module.scss.js +1 -0
- package/build/components/checkout/components/klarna/index.d.ts +9 -0
- package/build/components/checkout/components/klarna/index.js +1 -0
- package/build/components/checkout/components/master-pass/credit-card-form/index.d.ts +8 -0
- package/build/components/checkout/components/master-pass/credit-card-form/index.js +1 -0
- package/build/components/checkout/components/master-pass/credit-card-form/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal/index.d.ts +11 -0
- package/build/components/checkout/components/master-pass/modal/index.js +1 -0
- package/build/components/checkout/components/master-pass/modal/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal/svg/modal-close.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal/svg/modal-close.js +1 -0
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/index.d.ts +10 -0
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/index.js +1 -0
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/info-mark.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/info-mark.js +1 -0
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/master-pass-by-master-card-big.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/master-pass-by-master-card-big.js +1 -0
- package/build/components/checkout/components/master-pass/modal-otp/index.d.ts +10 -0
- package/build/components/checkout/components/master-pass/modal-otp/index.js +1 -0
- package/build/components/checkout/components/master-pass/modal-otp/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.js +1 -0
- package/build/components/checkout/components/master-pass/modal-response/index.d.ts +9 -0
- package/build/components/checkout/components/master-pass/modal-response/index.js +1 -0
- package/build/components/checkout/components/master-pass/modal-response/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal-success/index.d.ts +10 -0
- package/build/components/checkout/components/master-pass/modal-success/index.js +1 -0
- package/build/components/checkout/components/master-pass/modal-success/style.module.scss.js +1 -0
- package/build/components/checkout/components/master-pass/modal-success/svg/master-pass-by-master-card-small.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal-success/svg/master-pass-by-master-card-small.js +1 -0
- package/build/components/checkout/components/master-pass/modal-success/svg/success.d.ts +2 -0
- package/build/components/checkout/components/master-pass/modal-success/svg/success.js +1 -0
- package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.d.ts +2 -0
- package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.js +1 -0
- package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.d.ts +3 -0
- package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.js +1 -0
- package/build/components/checkout/components/modal/index.d.ts +8 -0
- package/build/components/checkout/components/modal/index.js +1 -0
- package/build/components/checkout/components/modal/style.module.scss.js +1 -0
- package/build/components/checkout/components/modal/useEscape.d.ts +5 -0
- package/build/components/checkout/components/modal/useEscape.js +1 -0
- package/build/components/checkout/components/notification-box/index.d.ts +9 -0
- package/build/components/checkout/components/notification-box/index.js +1 -0
- package/build/components/checkout/components/notification-box/style.module.scss.js +1 -0
- package/build/components/checkout/components/offer-product/index.d.ts +8 -0
- package/build/components/checkout/components/offer-product/index.js +1 -0
- package/build/components/checkout/components/offer-product/select/arrows.d.ts +6 -0
- package/build/components/checkout/components/offer-product/select/arrows.js +1 -0
- package/build/components/checkout/components/offer-product/select/index.d.ts +11 -0
- package/build/components/checkout/components/offer-product/select/index.js +1 -0
- package/build/components/checkout/components/offer-product/select/style.module.scss.js +1 -0
- package/build/components/checkout/components/offer-product/style.module.scss.js +1 -0
- package/build/components/checkout/components/phone-number-input/compare-strings.d.ts +2 -0
- package/build/components/checkout/components/phone-number-input/compare-strings.js +1 -0
- package/build/components/checkout/components/phone-number-input/get-countries.d.ts +7 -0
- package/build/components/checkout/components/phone-number-input/get-countries.js +1 -0
- package/build/components/checkout/components/phone-number-input/index.d.ts +10 -0
- package/build/components/checkout/components/phone-number-input/index.js +1 -0
- package/build/components/checkout/components/phone-number-input/style.module.scss.js +1 -0
- package/build/components/checkout/components/select-box/index.d.ts +13 -0
- package/build/components/checkout/components/select-box/index.js +1 -0
- package/build/components/checkout/components/select-box/style.module.scss.js +1 -0
- package/build/components/checkout/components/step-container/index.d.ts +15 -0
- package/build/components/checkout/components/step-container/index.js +1 -0
- package/build/components/checkout/components/step-container/style.module.scss.js +1 -0
- package/build/components/checkout/components/stripe/checkout-form.d.ts +8 -0
- package/build/components/checkout/components/stripe/checkout-form.js +1 -0
- package/build/components/checkout/components/stripe/index.d.ts +9 -0
- package/build/components/checkout/components/stripe/index.js +1 -0
- package/build/components/checkout/components/stripe/style.module.scss.js +1 -0
- package/build/components/checkout/components/svg/arrow-down.d.ts +6 -0
- package/build/components/checkout/components/svg/arrow-down.js +1 -0
- package/build/components/checkout/components/svg/arrow-left.d.ts +6 -0
- package/build/components/checkout/components/svg/arrow-right.d.ts +6 -0
- package/build/components/checkout/components/svg/cross.d.ts +6 -0
- package/build/components/checkout/components/svg/cross.js +1 -0
- package/build/components/checkout/components/svg/discount.d.ts +6 -0
- package/build/components/checkout/components/svg/external.d.ts +6 -0
- package/build/components/checkout/components/svg/external.js +1 -0
- package/build/components/checkout/components/svg/gift.d.ts +7 -0
- package/build/components/checkout/components/svg/gift.js +1 -0
- package/build/components/checkout/components/svg/ikas.d.ts +6 -0
- package/build/components/checkout/components/svg/ikas.js +1 -0
- package/build/components/checkout/components/svg/lock.d.ts +6 -0
- package/build/components/checkout/components/svg/lock.js +1 -0
- package/build/components/checkout/components/svg/shopping-cart.d.ts +6 -0
- package/build/components/checkout/components/svg/success-circle.d.ts +6 -0
- package/build/components/checkout/components/svg/success-circle.js +1 -0
- package/build/components/checkout/components/svg/tag.d.ts +6 -0
- package/build/components/checkout/components/svg/warning.d.ts +6 -0
- package/build/components/checkout/components/svg/warning.js +1 -0
- package/build/components/checkout/components/toggle/index.d.ts +10 -0
- package/build/components/checkout/components/toggle/index.js +1 -0
- package/build/components/checkout/components/toggle/style.module.scss.js +1 -0
- package/build/components/checkout/components/tooltip/index.d.ts +8 -0
- package/build/components/checkout/components/tooltip/index.js +1 -0
- package/build/components/checkout/components/tooltip/style.module.scss.js +1 -0
- package/build/components/checkout/index.d.ts +34 -0
- package/build/components/checkout/index.js +1 -0
- package/build/components/checkout/model.d.ts +167 -0
- package/build/components/checkout/model.js +1 -0
- package/build/components/checkout/modelMasterPass.d.ts +201 -0
- package/build/components/checkout/modelMasterPass.js +1 -0
- package/build/components/checkout/steps/step-info/index.d.ts +7 -0
- package/build/components/checkout/steps/step-info/index.js +1 -0
- package/build/components/checkout/steps/step-payment/billing-address/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/billing-address/index.js +1 -0
- package/build/components/checkout/steps/step-payment/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-shipping/index.d.ts +7 -0
- package/build/components/checkout/steps/step-shipping/index.js +1 -0
- package/build/components/checkout/steps/step-shipping/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-success/index.d.ts +7 -0
- package/build/components/checkout/steps/step-success/index.js +1 -0
- package/build/components/checkout/steps/step-success/style.module.scss.js +1 -0
- package/build/components/checkout/style.module.scss.js +1 -0
- package/build/components/checkout/styles/common.module.scss.js +1 -0
- package/build/components/google-captcha/index.d.ts +9 -0
- package/build/components/google-captcha/index.js +1 -0
- package/build/components/image/index.d.ts +10 -0
- package/build/components/image/index.js +1 -0
- package/build/components/index.d.ts +6 -0
- package/build/components/link/index.d.ts +16 -0
- package/build/components/link/index.js +1 -0
- package/build/components/page/ThemeComponent.d.ts +21 -0
- package/build/components/page/ThemeComponent.js +1 -0
- package/build/components/page/head.d.ts +15 -0
- package/build/components/page/head.js +1 -0
- package/build/components/page/index.d.ts +23 -0
- package/build/components/page/index.js +1 -0
- package/build/components/page-editor/ThemeComponentEditor.d.ts +32 -0
- package/build/components/page-editor/ThemeComponentEditor.js +1 -0
- package/build/components/page-editor/error/index.d.ts +4 -0
- package/build/components/page-editor/error/index.js +1 -0
- package/build/components/page-editor/index.d.ts +4 -0
- package/build/components/page-editor/index.js +1 -0
- package/build/components/page-editor/loader/index.d.ts +6 -0
- package/build/components/page-editor/loader/index.js +1 -0
- package/build/components/page-editor/loader/style.module.scss.js +1 -0
- package/build/components/page-editor/model.d.ts +75 -0
- package/build/components/page-editor/model.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/_virtual/_commonjsHelpers.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/_virtual/axios-error-format.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/_virtual/core.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/_virtual/index.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/axios-error-format.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/core.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.mjs.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Hash.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_ListCache.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Map.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_MapCache.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Symbol.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_assocIndexOf.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseGetTag.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseIsNative.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseToString.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_coreJsData.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_defineProperty.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_freeGlobal.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getMapData.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getNative.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getRawTag.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getValue.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashClear.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashDelete.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashGet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashHas.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashSet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isKeyable.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isMasked.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheClear.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheDelete.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheGet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheHas.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheSet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheClear.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheDelete.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheGet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheHas.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheSet.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_memoizeCapped.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_nativeCreate.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_objectToString.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_root.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_stringToPath.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_toSource.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/eq.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/isFunction.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/isObject.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/memoize.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/utils/api.js +1 -0
- package/build/ext/@stripe/react-stripe-js/dist/react-stripe.umd.js +1 -0
- package/build/ext/@stripe/stripe-js/dist/stripe.esm.js +1 -0
- package/build/ext/axios/index.js +1 -0
- package/build/ext/axios/lib/adapters/xhr.js +1 -0
- package/build/ext/axios/lib/axios.js +1 -0
- package/build/ext/axios/lib/cancel/Cancel.js +1 -0
- package/build/ext/axios/lib/cancel/CancelToken.js +1 -0
- package/build/ext/axios/lib/cancel/isCancel.js +1 -0
- package/build/ext/axios/lib/core/Axios.js +1 -0
- package/build/ext/axios/lib/core/InterceptorManager.js +1 -0
- package/build/ext/axios/lib/core/buildFullPath.js +1 -0
- package/build/ext/axios/lib/core/createError.js +1 -0
- package/build/ext/axios/lib/core/dispatchRequest.js +1 -0
- package/build/ext/axios/lib/core/enhanceError.js +1 -0
- package/build/ext/axios/lib/core/mergeConfig.js +1 -0
- package/build/ext/axios/lib/core/settle.js +1 -0
- package/build/ext/axios/lib/core/transformData.js +1 -0
- package/build/ext/axios/lib/defaults/index.js +1 -0
- package/build/ext/axios/lib/defaults/transitional.js +1 -0
- package/build/ext/axios/lib/env/data.js +1 -0
- package/build/ext/axios/lib/helpers/bind.js +1 -0
- package/build/ext/axios/lib/helpers/buildURL.js +1 -0
- package/build/ext/axios/lib/helpers/combineURLs.js +1 -0
- package/build/ext/axios/lib/helpers/cookies.js +1 -0
- package/build/ext/axios/lib/helpers/isAbsoluteURL.js +1 -0
- package/build/ext/axios/lib/helpers/isAxiosError.js +1 -0
- package/build/ext/axios/lib/helpers/isURLSameOrigin.js +1 -0
- package/build/ext/axios/lib/helpers/normalizeHeaderName.js +1 -0
- package/build/ext/axios/lib/helpers/parseHeaders.js +1 -0
- package/build/ext/axios/lib/helpers/spread.js +1 -0
- package/build/ext/axios/lib/helpers/validator.js +1 -0
- package/build/ext/axios/lib/utils.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouType.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.complete.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.util.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeParser.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeState.js +1 -0
- package/build/ext/libphonenumber-js/es6/ParseError.js +1 -0
- package/build/ext/libphonenumber-js/es6/PhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/PhoneNumberMatcher.js +1 -0
- package/build/ext/libphonenumber-js/es6/constants.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/LRUCache.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/Leniency.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/RegExpCache.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/isValidCandidate.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/isValidPreCandidate.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/parsePreCandidate.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/utf-8.js +1 -0
- package/build/ext/libphonenumber-js/es6/findNumbers/util.js +1 -0
- package/build/ext/libphonenumber-js/es6/findPhoneNumbers_.js +1 -0
- package/build/ext/libphonenumber-js/es6/formatIncompletePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/format_.js +1 -0
- package/build/ext/libphonenumber-js/es6/getCountries.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/RFC3966.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/checkNumberLength.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extension/extractExtension.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractNationalNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/getIddPrefix.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/getNumberType.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/matchesEntirely.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/mergeArrays.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/parseDigits.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/stripIddPrefix.js +1 -0
- package/build/ext/libphonenumber-js/es6/isPossibleNumber_.js +1 -0
- package/build/ext/libphonenumber-js/es6/metadata.js +1 -0
- package/build/ext/libphonenumber-js/es6/parseIncompletePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumberFromString.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumberFromString_.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumber_.js +1 -0
- package/build/ext/libphonenumber-js/es6/parse_.js +1 -0
- package/build/ext/libphonenumber-js/es6/tools/semver-compare.js +1 -0
- package/build/ext/libphonenumber-js/es6/validate_.js +1 -0
- package/build/ext/libphonenumber-js/index.es6.exports/PhoneNumberSearch.js +1 -0
- package/build/ext/libphonenumber-js/metadata.min.json.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/AsYouType.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/Metadata.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/PhoneNumberMatcher.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/formatIncompletePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/getCountries.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/getCountryCallingCode.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/parsePhoneNumberFromString.js +1 -0
- package/build/ext/libphonenumber-js/min/exports/withMetadataArgument.js +1 -0
- package/build/ext/object-assign/index.js +6 -0
- package/build/ext/prop-types/checkPropTypes.js +1 -0
- package/build/ext/prop-types/factoryWithThrowingShims.js +1 -0
- package/build/ext/prop-types/factoryWithTypeCheckers.js +1 -0
- package/build/ext/prop-types/index.js +1 -0
- package/build/ext/prop-types/lib/ReactPropTypesSecret.js +1 -0
- package/build/ext/prop-types/lib/has.js +1 -0
- package/build/ext/react-is/cjs/react-is.development.js +9 -0
- package/build/ext/react-is/cjs/react-is.production.min.js +9 -0
- package/build/ext/react-is/index.js +1 -0
- package/build/ext/react-tooltip/dist/index.es.js +1 -0
- package/build/ext/style-inject/dist/style-inject.es.js +1 -0
- package/build/ext/tslib/tslib.es6.js +1 -0
- package/build/ext/uuid/dist/esm-browser/bytesToUuid.js +1 -0
- package/build/ext/uuid/dist/esm-browser/md5.js +1 -0
- package/build/ext/uuid/dist/esm-browser/rng.js +1 -0
- package/build/ext/uuid/dist/esm-browser/sha1.js +1 -0
- package/build/ext/uuid/dist/esm-browser/v3.js +1 -0
- package/build/ext/uuid/dist/esm-browser/v35.js +1 -0
- package/build/ext/uuid/dist/esm-browser/v4.js +1 -0
- package/build/ext/uuid/dist/esm-browser/v5.js +1 -0
- package/build/index.d.ts +6 -0
- package/build/index.js +1 -0
- package/build/models/data/base/index.d.ts +8 -0
- package/build/models/data/base/index.js +1 -0
- package/build/models/data/blog/category/index.d.ts +12 -0
- package/build/models/data/blog/category/index.js +1 -0
- package/build/models/data/blog/content/index.d.ts +6 -0
- package/build/models/data/blog/content/index.js +1 -0
- package/build/models/data/blog/index.d.ts +27 -0
- package/build/models/data/blog/index.js +1 -0
- package/build/models/data/blog/meta-data/index.d.ts +16 -0
- package/build/models/data/blog/meta-data/index.js +1 -0
- package/build/models/data/blog/tag/index.d.ts +6 -0
- package/build/models/data/blog/tag/index.js +1 -0
- package/build/models/data/blog/writer/index.d.ts +6 -0
- package/build/models/data/blog/writer/index.js +1 -0
- package/build/models/data/brand/index.d.ts +26 -0
- package/build/models/data/brand/index.js +1 -0
- package/build/models/data/brand/translation/index.d.ts +7 -0
- package/build/models/data/brand/translation/index.js +1 -0
- package/build/models/data/campaign-offer/index.d.ts +21 -0
- package/build/models/data/campaign-offer/index.js +1 -0
- package/build/models/data/campaign-offer/product/index.d.ts +24 -0
- package/build/models/data/campaign-offer/product/index.js +1 -0
- package/build/models/data/cart/available-shipping-method/index.d.ts +10 -0
- package/build/models/data/cart/available-shipping-method/index.js +1 -0
- package/build/models/data/cart/campaign-offer/index.d.ts +16 -0
- package/build/models/data/cart/campaign-offer/index.js +1 -0
- package/build/models/data/cart/index.d.ts +13 -0
- package/build/models/data/cart/index.js +1 -0
- package/build/models/data/category/index.d.ts +22 -0
- package/build/models/data/category/index.js +1 -0
- package/build/models/data/category/path-item/index.d.ts +14 -0
- package/build/models/data/category/path-item/index.js +1 -0
- package/build/models/data/category/translations/index.d.ts +7 -0
- package/build/models/data/category/translations/index.js +1 -0
- package/build/models/data/checkout/index.d.ts +22 -0
- package/build/models/data/checkout/index.js +1 -0
- package/build/models/data/checkout-settings/index.d.ts +20 -0
- package/build/models/data/checkout-settings/index.js +1 -0
- package/build/models/data/checkout-settings/option/index.d.ts +6 -0
- package/build/models/data/checkout-settings/option/index.js +1 -0
- package/build/models/data/checkout-settings/price/index.d.ts +7 -0
- package/build/models/data/checkout-settings/price/index.js +1 -0
- package/build/models/data/city/index.d.ts +12 -0
- package/build/models/data/city/index.js +1 -0
- package/build/models/data/contact-form/index.d.ts +9 -0
- package/build/models/data/contact-form/index.js +1 -0
- package/build/models/data/country/index.d.ts +18 -0
- package/build/models/data/country/index.js +1 -0
- package/build/models/data/country/location-translations/index.d.ts +7 -0
- package/build/models/data/customer/address/city/index.d.ts +7 -0
- package/build/models/data/customer/address/city/index.js +1 -0
- package/build/models/data/customer/address/country/index.d.ts +9 -0
- package/build/models/data/customer/address/country/index.js +1 -0
- package/build/models/data/customer/address/district/index.d.ts +7 -0
- package/build/models/data/customer/address/district/index.js +1 -0
- package/build/models/data/customer/address/index.d.ts +40 -0
- package/build/models/data/customer/address/index.js +1 -0
- package/build/models/data/customer/address/state/index.d.ts +7 -0
- package/build/models/data/customer/address/state/index.js +1 -0
- package/build/models/data/customer/attribute/index.d.ts +17 -0
- package/build/models/data/customer/attribute/index.js +1 -0
- package/build/models/data/customer/attribute/option/index.d.ts +9 -0
- package/build/models/data/customer/attribute/option/index.js +1 -0
- package/build/models/data/customer/attribute/sales-channel/index.d.ts +8 -0
- package/build/models/data/customer/attribute/sales-channel/index.js +1 -0
- package/build/models/data/customer/attribute/translation/index.d.ts +9 -0
- package/build/models/data/customer/attribute/translation/index.js +1 -0
- package/build/models/data/customer/attribute/translation/option/index.d.ts +6 -0
- package/build/models/data/customer/attribute/translation/option/index.js +1 -0
- package/build/models/data/customer/attribute/value/index.d.ts +11 -0
- package/build/models/data/customer/attribute/value/index.js +1 -0
- package/build/models/data/customer/index.d.ts +38 -0
- package/build/models/data/customer/index.js +1 -0
- package/build/models/data/customer/review/index.d.ts +22 -0
- package/build/models/data/customer/review/index.js +1 -0
- package/build/models/data/customer/review/settings/index.d.ts +6 -0
- package/build/models/data/customer/review/settings/index.js +1 -0
- package/build/models/data/customer/review/summary/index.d.ts +10 -0
- package/build/models/data/customer/review/summary/index.js +1 -0
- package/build/models/data/customer/review/summary/star/index.d.ts +6 -0
- package/build/models/data/customer/review/summary/star/index.js +1 -0
- package/build/models/data/district/index.d.ts +12 -0
- package/build/models/data/district/index.js +1 -0
- package/build/models/data/favorite-product/index.d.ts +7 -0
- package/build/models/data/favorite-product/index.js +1 -0
- package/build/models/data/filter-category/index.d.ts +12 -0
- package/build/models/data/filter-category/index.js +1 -0
- package/build/models/data/html-meta-data/index.d.ts +28 -0
- package/build/models/data/html-meta-data/index.js +1 -0
- package/build/models/data/html-meta-data/translations/index.d.ts +7 -0
- package/build/models/data/html-meta-data/translations/index.js +1 -0
- package/build/models/data/image/index.d.ts +9 -0
- package/build/models/data/image/index.js +1 -0
- package/build/models/data/index.d.ts +136 -0
- package/build/models/data/last-viewed-product/index.d.ts +6 -0
- package/build/models/data/last-viewed-product/index.js +1 -0
- package/build/models/data/merchant-settings/index.d.ts +12 -0
- package/build/models/data/merchant-settings/index.js +1 -0
- package/build/models/data/order/address/city/index.d.ts +7 -0
- package/build/models/data/order/address/city/index.js +1 -0
- package/build/models/data/order/address/country/index.d.ts +9 -0
- package/build/models/data/order/address/country/index.js +1 -0
- package/build/models/data/order/address/district/index.d.ts +7 -0
- package/build/models/data/order/address/district/index.js +1 -0
- package/build/models/data/order/address/index.d.ts +37 -0
- package/build/models/data/order/address/index.js +1 -0
- package/build/models/data/order/address/state/index.d.ts +7 -0
- package/build/models/data/order/address/state/index.js +1 -0
- package/build/models/data/order/adjustment/applied-order-line/index.d.ts +8 -0
- package/build/models/data/order/adjustment/applied-order-line/index.js +1 -0
- package/build/models/data/order/adjustment/index.d.ts +15 -0
- package/build/models/data/order/adjustment/index.js +1 -0
- package/build/models/data/order/customer/index.d.ts +11 -0
- package/build/models/data/order/customer/index.js +1 -0
- package/build/models/data/order/gift-line/index.d.ts +6 -0
- package/build/models/data/order/gift-line/index.js +1 -0
- package/build/models/data/order/index.d.ts +67 -0
- package/build/models/data/order/index.js +1 -0
- package/build/models/data/order/invoice/index.d.ts +12 -0
- package/build/models/data/order/invoice/index.js +1 -0
- package/build/models/data/order/line-item/base-unit/index.d.ts +9 -0
- package/build/models/data/order/line-item/base-unit/index.js +1 -0
- package/build/models/data/order/line-item/base-unit/unit-type/index.d.ts +6 -0
- package/build/models/data/order/line-item/base-unit/unit-type/index.js +1 -0
- package/build/models/data/order/line-item/discount/index.d.ts +11 -0
- package/build/models/data/order/line-item/discount/index.js +1 -0
- package/build/models/data/order/line-item/index.d.ts +45 -0
- package/build/models/data/order/line-item/index.js +1 -0
- package/build/models/data/order/line-item/option/index.d.ts +10 -0
- package/build/models/data/order/line-item/option/index.js +1 -0
- package/build/models/data/order/line-item/option/value/index.d.ts +7 -0
- package/build/models/data/order/line-item/option/value/index.js +1 -0
- package/build/models/data/order/line-item/variant/brand/index.d.ts +6 -0
- package/build/models/data/order/line-item/variant/brand/index.js +1 -0
- package/build/models/data/order/line-item/variant/category/index.d.ts +12 -0
- package/build/models/data/order/line-item/variant/category/index.js +1 -0
- package/build/models/data/order/line-item/variant/index.d.ts +30 -0
- package/build/models/data/order/line-item/variant/index.js +1 -0
- package/build/models/data/order/line-item/variant/price/index.d.ts +10 -0
- package/build/models/data/order/line-item/variant/price/index.js +1 -0
- package/build/models/data/order/line-item/variant/unit/index.d.ts +6 -0
- package/build/models/data/order/line-item/variant/unit/index.js +1 -0
- package/build/models/data/order/line-item/variant/value/index.d.ts +11 -0
- package/build/models/data/order/line-item/variant/value/index.js +1 -0
- package/build/models/data/order/package/index.d.ts +14 -0
- package/build/models/data/order/package/index.js +1 -0
- package/build/models/data/order/package/tracking-info/index.d.ts +9 -0
- package/build/models/data/order/package/tracking-info/index.js +1 -0
- package/build/models/data/order/payment-method/index.d.ts +9 -0
- package/build/models/data/order/payment-method/index.js +1 -0
- package/build/models/data/order/refund/index.d.ts +7 -0
- package/build/models/data/order/refund/index.js +1 -0
- package/build/models/data/order/refund/line-item/index.d.ts +6 -0
- package/build/models/data/order/refund/line-item/index.js +1 -0
- package/build/models/data/order/refund/settings/index.d.ts +7 -0
- package/build/models/data/order/refund/settings/index.js +1 -0
- package/build/models/data/order/shipping-line/index.d.ts +12 -0
- package/build/models/data/order/shipping-line/index.js +1 -0
- package/build/models/data/order/tax-line/index.d.ts +6 -0
- package/build/models/data/order/tax-line/index.js +1 -0
- package/build/models/data/order/transaction/error/index.d.ts +7 -0
- package/build/models/data/order/transaction/error/index.js +1 -0
- package/build/models/data/order/transaction/index.d.ts +25 -0
- package/build/models/data/order/transaction/index.js +1 -0
- package/build/models/data/order/transaction/payment-method-detail/index.d.ts +13 -0
- package/build/models/data/order/transaction/payment-method-detail/index.js +1 -0
- package/build/models/data/order/transaction/payment-method-detail/installment-price/index.d.ts +9 -0
- package/build/models/data/order/transaction/payment-method-detail/installment-price/index.js +1 -0
- package/build/models/data/payment-gateway/additional-price/index.d.ts +9 -0
- package/build/models/data/payment-gateway/additional-price/index.js +1 -0
- package/build/models/data/payment-gateway/index.d.ts +31 -0
- package/build/models/data/payment-gateway/index.js +1 -0
- package/build/models/data/payment-gateway/settings/index.d.ts +10 -0
- package/build/models/data/payment-gateway/settings/index.js +1 -0
- package/build/models/data/payment-gateway/translation/index.d.ts +7 -0
- package/build/models/data/payment-gateway/translation/index.js +1 -0
- package/build/models/data/product/attribute/index.d.ts +15 -0
- package/build/models/data/product/attribute/index.js +1 -0
- package/build/models/data/product/attribute/option/index.d.ts +6 -0
- package/build/models/data/product/attribute/option/index.js +1 -0
- package/build/models/data/product/attribute/table-cell/index.d.ts +6 -0
- package/build/models/data/product/attribute/table-cell/index.js +1 -0
- package/build/models/data/product/attribute/table-template/index.d.ts +7 -0
- package/build/models/data/product/attribute/table-template/index.js +1 -0
- package/build/models/data/product/attribute/translation/index.d.ts +13 -0
- package/build/models/data/product/attribute/translation/index.js +1 -0
- package/build/models/data/product/attribute-value/index.d.ts +28 -0
- package/build/models/data/product/attribute-value/index.js +1 -0
- package/build/models/data/product/back-in-stock-settings/index.d.ts +5 -0
- package/build/models/data/product/back-in-stock-settings/index.js +1 -0
- package/build/models/data/product/base-unit/index.d.ts +12 -0
- package/build/models/data/product/base-unit/index.js +1 -0
- package/build/models/data/product/campaign/data/index.d.ts +27 -0
- package/build/models/data/product/campaign/data/index.js +1 -0
- package/build/models/data/product/campaign/filter/index.d.ts +7 -0
- package/build/models/data/product/campaign/filter/index.js +1 -0
- package/build/models/data/product/campaign/index.d.ts +7 -0
- package/build/models/data/product/campaign/index.js +1 -0
- package/build/models/data/product/campaign/product-buyx-then-gety/index.d.ts +20 -0
- package/build/models/data/product/campaign/product-buyx-then-gety/index.js +1 -0
- package/build/models/data/product/campaign/product-campaign-date-range-field/index.d.ts +6 -0
- package/build/models/data/product/campaign/product-campaign-date-range-field/index.js +1 -0
- package/build/models/data/product/campaign/product-fixed-discount/index.d.ts +14 -0
- package/build/models/data/product/campaign/product-fixed-discount/index.js +1 -0
- package/build/models/data/product/filter/index.d.ts +84 -0
- package/build/models/data/product/filter/index.js +1 -0
- package/build/models/data/product/image/index.d.ts +10 -0
- package/build/models/data/product/image/index.js +1 -0
- package/build/models/data/product/index.d.ts +62 -0
- package/build/models/data/product/index.js +1 -0
- package/build/models/data/product/option-set/index.d.ts +29 -0
- package/build/models/data/product/option-set/index.js +1 -0
- package/build/models/data/product/option-set/option/index.d.ts +72 -0
- package/build/models/data/product/option-set/option/index.js +1 -0
- package/build/models/data/product/tag/index.d.ts +6 -0
- package/build/models/data/product/tag/index.js +1 -0
- package/build/models/data/product/variant/index.d.ts +31 -0
- package/build/models/data/product/variant/index.js +1 -0
- package/build/models/data/product/variant/price/index.d.ts +19 -0
- package/build/models/data/product/variant/price/index.js +1 -0
- package/build/models/data/product/variant/unit/index.d.ts +6 -0
- package/build/models/data/product/variant/unit/index.js +1 -0
- package/build/models/data/product/variant-type/index.d.ts +8 -0
- package/build/models/data/product/variant-type/index.js +1 -0
- package/build/models/data/product/variant-type/init.d.ts +2 -0
- package/build/models/data/raffle/index.d.ts +63 -0
- package/build/models/data/raffle/index.js +1 -0
- package/build/models/data/sales-channel/index.d.ts +19 -0
- package/build/models/data/sales-channel/index.js +1 -0
- package/build/models/data/state/index.d.ts +8 -0
- package/build/models/data/state/index.js +1 -0
- package/build/models/data/stock-location/address/city/index.d.ts +7 -0
- package/build/models/data/stock-location/address/city/index.js +1 -0
- package/build/models/data/stock-location/address/country/index.d.ts +7 -0
- package/build/models/data/stock-location/address/country/index.js +1 -0
- package/build/models/data/stock-location/address/district/index.d.ts +7 -0
- package/build/models/data/stock-location/address/district/index.js +1 -0
- package/build/models/data/stock-location/address/index.d.ts +15 -0
- package/build/models/data/stock-location/address/index.js +1 -0
- package/build/models/data/stock-location/address/state/index.d.ts +7 -0
- package/build/models/data/stock-location/address/state/index.js +1 -0
- package/build/models/data/stock-location/available/index.d.ts +10 -0
- package/build/models/data/stock-location/available/index.js +1 -0
- package/build/models/data/stock-location/index.d.ts +14 -0
- package/build/models/data/stock-location/index.js +1 -0
- package/build/models/data/storefront/domain/index.d.ts +9 -0
- package/build/models/data/storefront/domain/index.js +1 -0
- package/build/models/data/storefront/index.d.ts +27 -0
- package/build/models/data/storefront/index.js +1 -0
- package/build/models/data/storefront/localization/index.d.ts +8 -0
- package/build/models/data/storefront/localization/index.js +1 -0
- package/build/models/data/storefront/routing/dynamic-currency/index.d.ts +6 -0
- package/build/models/data/storefront/routing/dynamic-currency/index.js +1 -0
- package/build/models/data/storefront/routing/index.d.ts +14 -0
- package/build/models/data/storefront/routing/index.js +1 -0
- package/build/models/data/storefront/theme/index.d.ts +10 -0
- package/build/models/data/storefront/theme/index.js +1 -0
- package/build/models/data/storefront/theme-localization/index.d.ts +15 -0
- package/build/models/data/storefront/theme-localization/index.js +1 -0
- package/build/models/data/theme-json/component/index.d.ts +20 -0
- package/build/models/data/theme-json/component/index.js +1 -0
- package/build/models/data/theme-json/component/prop/index.d.ts +26 -0
- package/build/models/data/theme-json/component/prop/index.js +1 -0
- package/build/models/data/theme-json/custom-data/index.d.ts +43 -0
- package/build/models/data/theme-json/custom-data/index.js +1 -0
- package/build/models/data/theme-json/index.d.ts +16 -0
- package/build/models/data/theme-json/index.js +1 -0
- package/build/models/data/theme-json/page/component/index.d.ts +7 -0
- package/build/models/data/theme-json/page/component/index.js +1 -0
- package/build/models/data/theme-json/page/index.d.ts +21 -0
- package/build/models/data/theme-json/page/index.js +1 -0
- package/build/models/data/theme-json/settings/color/index.d.ts +15 -0
- package/build/models/data/theme-json/settings/color/index.js +1 -0
- package/build/models/data/theme-json/settings/favicon/index.d.ts +5 -0
- package/build/models/data/theme-json/settings/favicon/index.js +1 -0
- package/build/models/data/theme-json/settings/font-family/index.d.ts +6 -0
- package/build/models/data/theme-json/settings/font-family/index.js +1 -0
- package/build/models/data/theme-json/settings/index.d.ts +13 -0
- package/build/models/data/theme-json/settings/index.js +1 -0
- package/build/models/data/variant-type/index.d.ts +13 -0
- package/build/models/data/variant-type/index.js +1 -0
- package/build/models/data/variant-type/variant-value/index.d.ts +12 -0
- package/build/models/data/variant-type/variant-value/index.js +1 -0
- package/build/models/index.d.ts +2 -0
- package/build/models/ui/blog-category-list/index.d.ts +51 -0
- package/build/models/ui/blog-category-list/index.js +1 -0
- package/build/models/ui/blog-list/index.d.ts +55 -0
- package/build/models/ui/blog-list/index.js +1 -0
- package/build/models/ui/brand-list/index.d.ts +61 -0
- package/build/models/ui/brand-list/index.js +1 -0
- package/build/models/ui/category-list/index.d.ts +61 -0
- package/build/models/ui/category-list/index.js +1 -0
- package/build/models/ui/component-renderer/index.d.ts +7 -0
- package/build/models/ui/component-renderer/index.js +1 -0
- package/build/models/ui/customer-review-list/index.d.ts +43 -0
- package/build/models/ui/customer-review-list/index.js +1 -0
- package/build/models/ui/customer-review-summary-list/index.d.ts +43 -0
- package/build/models/ui/customer-review-summary-list/index.js +1 -0
- package/build/models/ui/index.d.ts +25 -0
- package/build/models/ui/navigation-link/index.d.ts +8 -0
- package/build/models/ui/navigation-link/index.js +1 -0
- package/build/models/ui/product-attribute-detail/index.d.ts +8 -0
- package/build/models/ui/product-attribute-detail/index.js +1 -0
- package/build/models/ui/product-attribute-list/index.d.ts +8 -0
- package/build/models/ui/product-attribute-list/index.js +1 -0
- package/build/models/ui/product-list/index.d.ts +138 -0
- package/build/models/ui/product-list/index.js +1 -0
- package/build/models/ui/raffle-list/index.d.ts +53 -0
- package/build/models/ui/raffle-list/index.js +1 -0
- package/build/models/ui/validator/form/account-info.d.ts +39 -0
- package/build/models/ui/validator/form/account-info.js +1 -0
- package/build/models/ui/validator/form/address.d.ts +75 -0
- package/build/models/ui/validator/form/address.js +1 -0
- package/build/models/ui/validator/form/contact-form.d.ts +42 -0
- package/build/models/ui/validator/form/contact-form.js +1 -0
- package/build/models/ui/validator/form/customer-review.d.ts +34 -0
- package/build/models/ui/validator/form/customer-review.js +1 -0
- package/build/models/ui/validator/form/forgot-password.d.ts +26 -0
- package/build/models/ui/validator/form/forgot-password.js +1 -0
- package/build/models/ui/validator/form/login.d.ts +32 -0
- package/build/models/ui/validator/form/login.js +1 -0
- package/build/models/ui/validator/form/raffle-form.d.ts +62 -0
- package/build/models/ui/validator/form/raffle-form.js +1 -0
- package/build/models/ui/validator/form/recover-password.d.ts +33 -0
- package/build/models/ui/validator/form/recover-password.js +1 -0
- package/build/models/ui/validator/form/register.d.ts +49 -0
- package/build/models/ui/validator/form/register.js +1 -0
- package/build/models/ui/validator/index.d.ts +27 -0
- package/build/models/ui/validator/index.js +1 -0
- package/build/models/ui/validator/rules/index.d.ts +101 -0
- package/build/models/ui/validator/rules/index.js +1 -0
- package/build/page-data-init/index.d.ts +40 -0
- package/build/page-data-init/index.js +1 -0
- package/build/pages/404.d.ts +4 -0
- package/build/pages/404.js +1 -0
- package/build/pages/[slug]/index.d.ts +4 -0
- package/build/pages/_slug_/index.js +1 -0
- package/build/pages/account/addresses.d.ts +4 -0
- package/build/pages/account/addresses.js +1 -0
- package/build/pages/account/favorite-products.d.ts +4 -0
- package/build/pages/account/favorite-products.js +1 -0
- package/build/pages/account/forgot-password.d.ts +4 -0
- package/build/pages/account/forgot-password.js +1 -0
- package/build/pages/account/index.d.ts +4 -0
- package/build/pages/account/index.js +1 -0
- package/build/pages/account/login.d.ts +4 -0
- package/build/pages/account/login.js +1 -0
- package/build/pages/account/orders/[id].d.ts +4 -0
- package/build/pages/account/orders/_id_.js +1 -0
- package/build/pages/account/orders/index.d.ts +4 -0
- package/build/pages/account/orders/index.js +1 -0
- package/build/pages/account/raffles.d.ts +4 -0
- package/build/pages/account/raffles.js +1 -0
- package/build/pages/account/recover-password.d.ts +4 -0
- package/build/pages/account/recover-password.js +1 -0
- package/build/pages/account/register.d.ts +4 -0
- package/build/pages/account/register.js +1 -0
- package/build/pages/blog/[slug].d.ts +4 -0
- package/build/pages/blog/_slug_.js +1 -0
- package/build/pages/blog/index.d.ts +4 -0
- package/build/pages/blog/index.js +1 -0
- package/build/pages/cart.d.ts +4 -0
- package/build/pages/cart.js +1 -0
- package/build/pages/checkout.d.ts +18 -0
- package/build/pages/checkout.js +1 -0
- package/build/pages/editor.d.ts +10 -0
- package/build/pages/editor.js +1 -0
- package/build/pages/home.d.ts +4 -0
- package/build/pages/home.js +1 -0
- package/build/pages/index.d.ts +22 -0
- package/build/pages/pages/[slug].d.ts +4 -0
- package/build/pages/pages/_slug_.js +1 -0
- package/build/pages/raffle/[slug].d.ts +4 -0
- package/build/pages/raffle/_slug_.js +1 -0
- package/build/pages/raffle/index.d.ts +4 -0
- package/build/pages/raffle/index.js +1 -0
- package/build/pages/search.d.ts +4 -0
- package/build/pages/search.js +1 -0
- package/build/store/base.d.ts +44 -0
- package/build/store/base.js +1 -0
- package/build/store/blog/index.d.ts +26 -0
- package/build/store/blog/index.js +1 -0
- package/build/store/brand/index.d.ts +12 -0
- package/build/store/brand/index.js +1 -0
- package/build/store/cart/api.d.ts +10 -0
- package/build/store/cart/api.js +1 -0
- package/build/store/cart/index.d.ts +27 -0
- package/build/store/cart/index.js +1 -0
- package/build/store/category/index.d.ts +12 -0
- package/build/store/category/index.js +1 -0
- package/build/store/checkout/index.d.ts +15 -0
- package/build/store/checkout/index.js +1 -0
- package/build/store/customer/api.d.ts +54 -0
- package/build/store/customer/api.js +1 -0
- package/build/store/customer/index.d.ts +80 -0
- package/build/store/customer/index.js +1 -0
- package/build/store/html-meta-data/index.d.ts +6 -0
- package/build/store/html-meta-data/index.js +1 -0
- package/build/store/index.d.ts +3 -0
- package/build/store/location/index.d.ts +9 -0
- package/build/store/location/index.js +1 -0
- package/build/store/merchant/index.d.ts +6 -0
- package/build/store/product/index.d.ts +37 -0
- package/build/store/product/index.js +1 -0
- package/build/store/raffle/index.d.ts +15 -0
- package/build/store/raffle/index.js +1 -0
- package/build/store/storefront/index.d.ts +5 -0
- package/build/utils/constants.d.ts +2 -0
- package/build/utils/constants.js +1 -0
- package/build/utils/currency.d.ts +7 -0
- package/build/utils/currency.js +1 -0
- package/build/utils/google-fonts.d.ts +2 -0
- package/build/utils/google-fonts.js +1 -0
- package/build/utils/helper.d.ts +4 -0
- package/build/utils/helper.js +1 -0
- package/build/utils/i18n.d.ts +11 -0
- package/build/utils/i18n.js +1 -0
- package/build/utils/index.d.ts +3 -0
- package/package.json +21 -19
- package/src/analytics/analytics.ts +0 -536
- package/src/analytics/events.ts +0 -116
- package/src/analytics/facebookPixel.ts +0 -226
- package/src/analytics/googleAnalytics.ts +0 -227
- package/src/analytics/googleTagManager.ts +0 -341
- package/src/analytics/googleUniversal.ts +0 -136
- package/src/analytics/head/index.tsx +0 -135
- package/src/analytics/ikas.ts +0 -558
- package/src/analytics/index.ts +0 -2
- package/src/analytics/tiktokPixel.ts +0 -223
- package/src/components/checkout/components/address-form/index.tsx +0 -406
- package/src/components/checkout/components/address-form/model.ts +0 -397
- package/src/components/checkout/components/button/index.tsx +0 -44
- package/src/components/checkout/components/button/style.module.scss +0 -103
- package/src/components/checkout/components/cart-summary/cart-item/index.tsx +0 -180
- package/src/components/checkout/components/cart-summary/cart-item/style.module.scss +0 -107
- package/src/components/checkout/components/cart-summary/index.tsx +0 -481
- package/src/components/checkout/components/cart-summary/style.module.scss +0 -251
- package/src/components/checkout/components/checkbox/check.tsx +0 -23
- package/src/components/checkout/components/checkbox/index.tsx +0 -50
- package/src/components/checkout/components/checkbox/style.module.scss +0 -72
- package/src/components/checkout/components/credit-card-form/index.tsx +0 -122
- package/src/components/checkout/components/credit-card-form/model.ts +0 -56
- package/src/components/checkout/components/credit-card-form/style.module.scss +0 -6
- package/src/components/checkout/components/credit-card-form/svg/amex.tsx +0 -30
- package/src/components/checkout/components/credit-card-form/svg/master-card.tsx +0 -38
- package/src/components/checkout/components/credit-card-form/svg/troy.tsx +0 -54
- package/src/components/checkout/components/credit-card-form/svg/visa.tsx +0 -46
- package/src/components/checkout/components/customer-addresses/index.tsx +0 -333
- package/src/components/checkout/components/customer-addresses/model.ts +0 -126
- package/src/components/checkout/components/customer-addresses/style.module.scss +0 -38
- package/src/components/checkout/components/delivery-methods/icon-button/index.tsx +0 -29
- package/src/components/checkout/components/delivery-methods/icon-button/style.module.scss +0 -41
- package/src/components/checkout/components/delivery-methods/icons/box.tsx +0 -22
- package/src/components/checkout/components/delivery-methods/icons/store.tsx +0 -22
- package/src/components/checkout/components/delivery-methods/index.tsx +0 -39
- package/src/components/checkout/components/delivery-methods/style.module.scss +0 -4
- package/src/components/checkout/components/error/customer-login-required-error/index.tsx +0 -23
- package/src/components/checkout/components/error/index.tsx +0 -54
- package/src/components/checkout/components/error/no-shipping-error/index.tsx +0 -14
- package/src/components/checkout/components/error/payment-error/index.tsx +0 -21
- package/src/components/checkout/components/error/stock-error/index.tsx +0 -72
- package/src/components/checkout/components/error/stock-error/style.module.scss +0 -11
- package/src/components/checkout/components/error/unknown-error/index.tsx +0 -19
- package/src/components/checkout/components/expandable-section/index.tsx +0 -37
- package/src/components/checkout/components/expandable-section/style.module.scss +0 -29
- package/src/components/checkout/components/form-item/caret-down.tsx +0 -20
- package/src/components/checkout/components/form-item/index.tsx +0 -207
- package/src/components/checkout/components/form-item/model.ts +0 -145
- package/src/components/checkout/components/form-item/style.module.scss +0 -216
- package/src/components/checkout/components/fullscreen-loading/index.tsx +0 -10
- package/src/components/checkout/components/fullscreen-loading/style.module.scss +0 -56
- package/src/components/checkout/components/input-with-button/index.tsx +0 -53
- package/src/components/checkout/components/input-with-button/style.module.scss +0 -104
- package/src/components/checkout/components/master-pass/credit-card-form/index.tsx +0 -160
- package/src/components/checkout/components/master-pass/credit-card-form/style.module.scss +0 -15
- package/src/components/checkout/components/master-pass/modal/index.tsx +0 -32
- package/src/components/checkout/components/master-pass/modal/style.module.scss +0 -42
- package/src/components/checkout/components/master-pass/modal/svg/modal-close.tsx +0 -20
- package/src/components/checkout/components/master-pass/modal-link-card-to-client/index.tsx +0 -62
- package/src/components/checkout/components/master-pass/modal-link-card-to-client/style.module.scss +0 -27
- package/src/components/checkout/components/master-pass/modal-link-card-to-client/svg/info-mark.tsx +0 -19
- package/src/components/checkout/components/master-pass/modal-link-card-to-client/svg/master-pass-by-master-card-big.tsx +0 -41
- package/src/components/checkout/components/master-pass/modal-otp/index.tsx +0 -202
- package/src/components/checkout/components/master-pass/modal-otp/style.module.scss +0 -47
- package/src/components/checkout/components/master-pass/modal-otp/svg/master-pass.tsx +0 -28
- package/src/components/checkout/components/master-pass/modal-response/index.tsx +0 -24
- package/src/components/checkout/components/master-pass/modal-response/style.module.scss +0 -7
- package/src/components/checkout/components/master-pass/modal-success/index.tsx +0 -54
- package/src/components/checkout/components/master-pass/modal-success/style.module.scss +0 -25
- package/src/components/checkout/components/master-pass/modal-success/svg/master-pass-by-master-card-small.tsx +0 -41
- package/src/components/checkout/components/master-pass/modal-success/svg/success.tsx +0 -21
- package/src/components/checkout/components/master-pass/payment-gateway/svg/master-card.tsx +0 -14
- package/src/components/checkout/components/master-pass/svg/master-pass-by-master-card.tsx +0 -34
- package/src/components/checkout/components/modal/index.tsx +0 -41
- package/src/components/checkout/components/modal/style.module.scss +0 -68
- package/src/components/checkout/components/modal/useEscape.tsx +0 -20
- package/src/components/checkout/components/notification-box/index.tsx +0 -70
- package/src/components/checkout/components/notification-box/style.module.scss +0 -69
- package/src/components/checkout/components/offer-product/index.tsx +0 -180
- package/src/components/checkout/components/offer-product/select/arrows.tsx +0 -22
- package/src/components/checkout/components/offer-product/select/index.tsx +0 -40
- package/src/components/checkout/components/offer-product/select/style.module.scss +0 -28
- package/src/components/checkout/components/offer-product/style.module.scss +0 -117
- package/src/components/checkout/components/phone-number-input/compare-strings.ts +0 -5
- package/src/components/checkout/components/phone-number-input/get-countries.ts +0 -52
- package/src/components/checkout/components/phone-number-input/index.tsx +0 -125
- package/src/components/checkout/components/phone-number-input/style.module.scss +0 -83
- package/src/components/checkout/components/select-box/index.tsx +0 -60
- package/src/components/checkout/components/select-box/style.module.scss +0 -55
- package/src/components/checkout/components/step-container/index.tsx +0 -107
- package/src/components/checkout/components/step-container/style.module.scss +0 -86
- package/src/components/checkout/components/stripe/checkout-form.tsx +0 -55
- package/src/components/checkout/components/stripe/index.tsx +0 -91
- package/src/components/checkout/components/stripe/style.module.scss +0 -75
- package/src/components/checkout/components/svg/arrow-down.tsx +0 -23
- package/src/components/checkout/components/svg/arrow-left.tsx +0 -23
- package/src/components/checkout/components/svg/arrow-right.tsx +0 -23
- package/src/components/checkout/components/svg/cross.tsx +0 -23
- package/src/components/checkout/components/svg/discount.tsx +0 -34
- package/src/components/checkout/components/svg/external.tsx +0 -101
- package/src/components/checkout/components/svg/gift.tsx +0 -40
- package/src/components/checkout/components/svg/ikas.tsx +0 -39
- package/src/components/checkout/components/svg/lock.tsx +0 -23
- package/src/components/checkout/components/svg/shopping-cart.tsx +0 -23
- package/src/components/checkout/components/svg/success-circle.tsx +0 -26
- package/src/components/checkout/components/svg/tag.tsx +0 -23
- package/src/components/checkout/components/svg/warning.tsx +0 -30
- package/src/components/checkout/components/toggle/index.tsx +0 -51
- package/src/components/checkout/components/toggle/style.module.scss +0 -75
- package/src/components/checkout/components/tooltip/index.tsx +0 -27
- package/src/components/checkout/components/tooltip/style.module.scss +0 -86
- package/src/components/checkout/index.tsx +0 -641
- package/src/components/checkout/model.ts +0 -1466
- package/src/components/checkout/modelMasterPass.ts +0 -1001
- package/src/components/checkout/steps/step-info/index.tsx +0 -85
- package/src/components/checkout/steps/step-payment/billing-address/index.tsx +0 -48
- package/src/components/checkout/steps/step-payment/index.tsx +0 -104
- package/src/components/checkout/steps/step-payment/payment-gateways/index.tsx +0 -218
- package/src/components/checkout/steps/step-payment/payment-gateways/installments/index.tsx +0 -54
- package/src/components/checkout/steps/step-payment/payment-gateways/installments/style.module.scss +0 -50
- package/src/components/checkout/steps/step-payment/payment-gateways/style.module.scss +0 -32
- package/src/components/checkout/steps/step-payment/style.module.scss +0 -32
- package/src/components/checkout/steps/step-shipping/index.tsx +0 -126
- package/src/components/checkout/steps/step-shipping/style.module.scss +0 -44
- package/src/components/checkout/steps/step-success/index.tsx +0 -366
- package/src/components/checkout/steps/step-success/style.module.scss +0 -161
- package/src/components/checkout/style.module.scss +0 -366
- package/src/components/checkout/styles/common.module.scss +0 -59
- package/src/components/checkout/styles/variables.scss +0 -40
- package/src/components/image/index.tsx +0 -43
- package/src/components/index.ts +0 -5
- package/src/components/link/index.tsx +0 -26
- package/src/components/page/ThemeComponent.tsx +0 -108
- package/src/components/page/head.tsx +0 -358
- package/src/components/page/index.tsx +0 -219
- package/src/components/page-editor/ThemeComponentEditor.tsx +0 -270
- package/src/components/page-editor/error/index.tsx +0 -18
- package/src/components/page-editor/index.tsx +0 -194
- package/src/components/page-editor/loader/index.tsx +0 -18
- package/src/components/page-editor/loader/style.module.scss +0 -59
- package/src/components/page-editor/model.ts +0 -847
- package/src/index.ts +0 -6
- package/src/models/data/base/index.ts +0 -15
- package/src/models/data/blog/category/index.ts +0 -36
- package/src/models/data/blog/content/index.ts +0 -16
- package/src/models/data/blog/index.ts +0 -75
- package/src/models/data/blog/meta-data/index.ts +0 -39
- package/src/models/data/blog/tag/index.ts +0 -16
- package/src/models/data/blog/writer/index.ts +0 -17
- package/src/models/data/brand/index.ts +0 -58
- package/src/models/data/brand/translation/index.ts +0 -16
- package/src/models/data/campaign-offer/index.ts +0 -79
- package/src/models/data/campaign-offer/product/index.ts +0 -69
- package/src/models/data/cart/available-shipping-method/index.ts +0 -25
- package/src/models/data/cart/campaign-offer/index.ts +0 -43
- package/src/models/data/cart/index.ts +0 -38
- package/src/models/data/category/index.ts +0 -69
- package/src/models/data/category/init.ts +0 -33
- package/src/models/data/category/path-item/index.ts +0 -42
- package/src/models/data/category/translations/index.ts +0 -16
- package/src/models/data/checkout/index.ts +0 -55
- package/src/models/data/checkout-settings/index.ts +0 -63
- package/src/models/data/checkout-settings/option/index.ts +0 -14
- package/src/models/data/checkout-settings/price/index.ts +0 -14
- package/src/models/data/city/index.ts +0 -34
- package/src/models/data/contact-form/index.ts +0 -20
- package/src/models/data/country/index.ts +0 -46
- package/src/models/data/customer/address/city/index.ts +0 -16
- package/src/models/data/customer/address/country/index.ts +0 -20
- package/src/models/data/customer/address/district/index.ts +0 -16
- package/src/models/data/customer/address/index.tsx +0 -136
- package/src/models/data/customer/address/state/index.ts +0 -16
- package/src/models/data/customer/attribute/index.ts +0 -61
- package/src/models/data/customer/attribute/option/index.ts +0 -20
- package/src/models/data/customer/attribute/sales-channel/index.ts +0 -24
- package/src/models/data/customer/attribute/translation/index.ts +0 -23
- package/src/models/data/customer/attribute/translation/option/index.ts +0 -16
- package/src/models/data/customer/attribute/value/index.ts +0 -29
- package/src/models/data/customer/index.ts +0 -122
- package/src/models/data/customer/review/index.ts +0 -70
- package/src/models/data/customer/review/settings/index.ts +0 -14
- package/src/models/data/customer/review/summary/index.ts +0 -29
- package/src/models/data/customer/review/summary/star/index.ts +0 -16
- package/src/models/data/district/index.ts +0 -36
- package/src/models/data/favorite-product/index.ts +0 -23
- package/src/models/data/filter-category/index.ts +0 -30
- package/src/models/data/html-meta-data/index.ts +0 -69
- package/src/models/data/html-meta-data/translations/index.ts +0 -16
- package/src/models/data/image/index.ts +0 -33
- package/src/models/data/index.ts +0 -192
- package/src/models/data/last-viewed-product/index.ts +0 -14
- package/src/models/data/merchant-settings/index.ts +0 -26
- package/src/models/data/order/address/city/index.ts +0 -16
- package/src/models/data/order/address/country/index.ts +0 -20
- package/src/models/data/order/address/district/index.ts +0 -16
- package/src/models/data/order/address/index.ts +0 -96
- package/src/models/data/order/address/state/index.ts +0 -16
- package/src/models/data/order/adjustment/applied-order-line/index.ts +0 -20
- package/src/models/data/order/adjustment/index.ts +0 -39
- package/src/models/data/order/customer/index.ts +0 -24
- package/src/models/data/order/gift-line/index.ts +0 -14
- package/src/models/data/order/index.ts +0 -241
- package/src/models/data/order/invoice/index.ts +0 -29
- package/src/models/data/order/line-item/discount/index.ts +0 -23
- package/src/models/data/order/line-item/index.ts +0 -153
- package/src/models/data/order/line-item/option/index.ts +0 -24
- package/src/models/data/order/line-item/option/value/index.ts +0 -16
- package/src/models/data/order/line-item/variant/brand/index.ts +0 -14
- package/src/models/data/order/line-item/variant/category/index.ts +0 -36
- package/src/models/data/order/line-item/variant/index.ts +0 -62
- package/src/models/data/order/line-item/variant/price/index.ts +0 -20
- package/src/models/data/order/line-item/variant/value/index.ts +0 -31
- package/src/models/data/order/package/index.ts +0 -41
- package/src/models/data/order/package/tracking-info/index.ts +0 -20
- package/src/models/data/order/payment-method/index.ts +0 -23
- package/src/models/data/order/refund/index.ts +0 -17
- package/src/models/data/order/refund/line-item/index.ts +0 -16
- package/src/models/data/order/refund/settings/index.ts +0 -16
- package/src/models/data/order/shipping-line/index.ts +0 -29
- package/src/models/data/order/tax-line/index.ts +0 -14
- package/src/models/data/order/transaction/error/index.ts +0 -16
- package/src/models/data/order/transaction/index.ts +0 -58
- package/src/models/data/order/transaction/payment-method-detail/index.ts +0 -33
- package/src/models/data/order/transaction/payment-method-detail/installment-price/index.ts +0 -22
- package/src/models/data/payment-gateway/additional-price/index.ts +0 -29
- package/src/models/data/payment-gateway/index.ts +0 -90
- package/src/models/data/payment-gateway/settings/index.ts +0 -21
- package/src/models/data/payment-gateway/translation/index.ts +0 -18
- package/src/models/data/product/attribute/index.ts +0 -37
- package/src/models/data/product/attribute/option/index.ts +0 -14
- package/src/models/data/product/attribute/table-cell/index.ts +0 -16
- package/src/models/data/product/attribute/table-template/index.ts +0 -19
- package/src/models/data/product/attribute/translation/index.ts +0 -39
- package/src/models/data/product/attribute-value/index.ts +0 -69
- package/src/models/data/product/back-in-stock-settings/index.ts +0 -14
- package/src/models/data/product/campaign/data/index.ts +0 -70
- package/src/models/data/product/campaign/filter/index.ts +0 -19
- package/src/models/data/product/campaign/index.ts +0 -15
- package/src/models/data/product/campaign/product-buyx-then-gety/index.ts +0 -57
- package/src/models/data/product/campaign/product-campaign-date-range-field/index.ts +0 -16
- package/src/models/data/product/campaign/product-fixed-discount/index.ts +0 -40
- package/src/models/data/product/filter/index.ts +0 -285
- package/src/models/data/product/image/index.ts +0 -22
- package/src/models/data/product/index.ts +0 -298
- package/src/models/data/product/option-set/index.ts +0 -94
- package/src/models/data/product/option-set/option/index.ts +0 -245
- package/src/models/data/product/tag/index.ts +0 -14
- package/src/models/data/product/variant/index.ts +0 -104
- package/src/models/data/product/variant/price/index.ts +0 -58
- package/src/models/data/product/variant-type/index.ts +0 -17
- package/src/models/data/product/variant-type/init.ts +0 -15
- package/src/models/data/raffle/index.ts +0 -155
- package/src/models/data/sales-channel/index.ts +0 -56
- package/src/models/data/state/index.ts +0 -18
- package/src/models/data/stock-location/address/city/index.ts +0 -16
- package/src/models/data/stock-location/address/country/index.ts +0 -18
- package/src/models/data/stock-location/address/district/index.ts +0 -18
- package/src/models/data/stock-location/address/index.ts +0 -34
- package/src/models/data/stock-location/address/state/index.ts +0 -18
- package/src/models/data/stock-location/available/index.ts +0 -22
- package/src/models/data/stock-location/index.ts +0 -35
- package/src/models/data/storefront/domain/index.ts +0 -20
- package/src/models/data/storefront/index.ts +0 -65
- package/src/models/data/storefront/localization/index.tsx +0 -18
- package/src/models/data/storefront/routing/dynamic-currency/index.ts +0 -16
- package/src/models/data/storefront/routing/index.tsx +0 -25
- package/src/models/data/storefront/theme/index.tsx +0 -25
- package/src/models/data/storefront/theme-localization/index.tsx +0 -31
- package/src/models/data/theme-json/component/index.ts +0 -41
- package/src/models/data/theme-json/component/prop/index.ts +0 -55
- package/src/models/data/theme-json/custom-data/index.ts +0 -132
- package/src/models/data/theme-json/index.ts +0 -210
- package/src/models/data/theme-json/page/component/index.ts +0 -22
- package/src/models/data/theme-json/page/index.ts +0 -54
- package/src/models/data/theme-json/settings/color/index.ts +0 -35
- package/src/models/data/theme-json/settings/favicon/index.ts +0 -12
- package/src/models/data/theme-json/settings/font-family/index.ts +0 -14
- package/src/models/data/theme-json/settings/index.ts +0 -30
- package/src/models/data/variant-type/index.ts +0 -44
- package/src/models/data/variant-type/variant-value/index.ts +0 -32
- package/src/models/index.ts +0 -2
- package/src/models/ui/blog-category-list/index.ts +0 -169
- package/src/models/ui/blog-list/index.ts +0 -175
- package/src/models/ui/brand-list/index.ts +0 -237
- package/src/models/ui/category-list/index.ts +0 -237
- package/src/models/ui/component-renderer/index.ts +0 -9
- package/src/models/ui/customer-review-list/index.ts +0 -173
- package/src/models/ui/customer-review-summary-list/index.ts +0 -175
- package/src/models/ui/index.ts +0 -40
- package/src/models/ui/navigation-link/index.ts +0 -23
- package/src/models/ui/product-attribute-detail/index.ts +0 -29
- package/src/models/ui/product-attribute-list/index.ts +0 -52
- package/src/models/ui/product-list/index.ts +0 -998
- package/src/models/ui/raffle-list/index.ts +0 -178
- package/src/models/ui/validator/form/account-info.ts +0 -167
- package/src/models/ui/validator/form/address.ts +0 -490
- package/src/models/ui/validator/form/contact-form.ts +0 -177
- package/src/models/ui/validator/form/customer-review.ts +0 -132
- package/src/models/ui/validator/form/forgot-password.ts +0 -96
- package/src/models/ui/validator/form/login.ts +0 -128
- package/src/models/ui/validator/form/raffle-form.ts +0 -276
- package/src/models/ui/validator/form/recover-password.ts +0 -148
- package/src/models/ui/validator/form/register.ts +0 -206
- package/src/models/ui/validator/index.ts +0 -121
- package/src/models/ui/validator/rules/index.ts +0 -310
- package/src/page-data-init/index.ts +0 -904
- package/src/pages/404.tsx +0 -10
- package/src/pages/[slug]/index.tsx +0 -9
- package/src/pages/account/addresses.tsx +0 -10
- package/src/pages/account/favorite-products.tsx +0 -9
- package/src/pages/account/forgot-password.tsx +0 -9
- package/src/pages/account/index.tsx +0 -9
- package/src/pages/account/login.tsx +0 -9
- package/src/pages/account/orders/[id].tsx +0 -9
- package/src/pages/account/orders/index.tsx +0 -9
- package/src/pages/account/raffles.tsx +0 -9
- package/src/pages/account/recover-password.tsx +0 -9
- package/src/pages/account/register.tsx +0 -9
- package/src/pages/blog/[slug].tsx +0 -9
- package/src/pages/blog/index.tsx +0 -9
- package/src/pages/cart.tsx +0 -9
- package/src/pages/checkout.tsx +0 -163
- package/src/pages/editor.tsx +0 -30
- package/src/pages/home.tsx +0 -10
- package/src/pages/index.ts +0 -22
- package/src/pages/pages/[slug].tsx +0 -9
- package/src/pages/raffle/[slug].tsx +0 -9
- package/src/pages/raffle/index.tsx +0 -9
- package/src/pages/search.tsx +0 -9
- package/src/store/base.ts +0 -238
- package/src/store/blog/index.ts +0 -49
- package/src/store/brand/index.ts +0 -16
- package/src/store/cart/api.ts +0 -58
- package/src/store/cart/index.ts +0 -311
- package/src/store/category/index.ts +0 -16
- package/src/store/checkout/index.ts +0 -92
- package/src/store/customer/api.ts +0 -273
- package/src/store/customer/index.ts +0 -658
- package/src/store/html-meta-data/index.ts +0 -16
- package/src/store/index.ts +0 -1
- package/src/store/location/index.ts +0 -56
- package/src/store/merchant/index.ts +0 -16
- package/src/store/product/index.ts +0 -113
- package/src/store/raffle/index.ts +0 -58
- package/src/store/storefront/index.ts +0 -18
- package/src/typings/global.d.ts +0 -7
- package/src/utils/constants.ts +0 -2
- package/src/utils/currency.ts +0 -250
- package/src/utils/google-fonts.ts +0 -52
- package/src/utils/helper.ts +0 -77
- package/src/utils/i18n.ts +0 -126
- package/src/utils/index.ts +0 -3
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IkasProductCampaignFilter } from "../filter";
|
|
2
|
+
import { IkasCampaignMinMaxRangeField as ICampaignMinMaxRangeField, IkasProductFixedDiscount as IProductFixedDiscount } from "@ikas/storefront-models";
|
|
3
|
+
export declare class IkasCampaignMinMaxRangeField implements ICampaignMinMaxRangeField {
|
|
4
|
+
min: number | null;
|
|
5
|
+
max: number | null;
|
|
6
|
+
constructor(data: ICampaignMinMaxRangeField);
|
|
7
|
+
}
|
|
8
|
+
export declare class IkasProductFixedDiscount implements IProductFixedDiscount {
|
|
9
|
+
amount: number | null;
|
|
10
|
+
filters: IkasProductCampaignFilter | null;
|
|
11
|
+
lineItemQuantityRange: IkasCampaignMinMaxRangeField | null;
|
|
12
|
+
priceRange: IkasCampaignMinMaxRangeField | null;
|
|
13
|
+
constructor(data: IProductFixedDiscount);
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{IkasProductCampaignFilter as n}from"../filter/index.js";import{makeAutoObservable as i}from"mobx";var t=function(n){this.min=n.min||null,this.max=n.max||null,i(this)},e=function(e){this.amount=e.amount||null,this.filters=e.filters?new n(e.filters):null,this.lineItemQuantityRange=e.lineItemQuantityRange?new t(e.lineItemQuantityRange):null,this.priceRange=e.priceRange?new t(e.priceRange):null,i(this)};export{t as IkasCampaignMinMaxRangeField,e as IkasProductFixedDiscount};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { IkasImage } from "../../image";
|
|
2
|
+
import { IkasProductFilterDisplayType, IkasProductFilterSortType, IkasProductFilterType, IkasProductFilter as IProductFilter, IkasApplicableProductFilterValue as IApplicableProductFilterValue, IkasProductFilterValue as IProductFilterValue, IkasProductFilterSettings as IProductFilterSettings, IkasFilterRangeValue as IFilterRangeValue, IkasProductFilterNumberRangeListOption as IProductFilterNumberRangeListOption } from "@ikas/storefront-models";
|
|
3
|
+
import { IkasProductFilterFunctions } from "@ikas/storefront-model-functions";
|
|
4
|
+
import { IkasProductList } from "../../../ui/product-list";
|
|
5
|
+
export declare class IkasProductFilter implements IProductFilter {
|
|
6
|
+
id: string;
|
|
7
|
+
key: string;
|
|
8
|
+
name: string;
|
|
9
|
+
order: number;
|
|
10
|
+
type: IkasProductFilterType;
|
|
11
|
+
displayType: IkasProductFilterDisplayType;
|
|
12
|
+
isMultiSelect: boolean;
|
|
13
|
+
isFacetFilter: boolean | null;
|
|
14
|
+
values?: IkasApplicableProductFilterValue[] | null;
|
|
15
|
+
customValues?: string[] | null;
|
|
16
|
+
settings?: IkasProductFilterSettings | null;
|
|
17
|
+
private productList?;
|
|
18
|
+
private _numberRange?;
|
|
19
|
+
numberRangeLimit?: IkasFilterRangeValue | null;
|
|
20
|
+
numberRangeListOptions?: IkasProductFilterNumberRangeListOption[] | null;
|
|
21
|
+
constructor(data: IProductFilter, productList?: IkasProductList | null);
|
|
22
|
+
get numberRange(): IkasFilterRangeValue | null | undefined;
|
|
23
|
+
get isCustomValueFilter(): boolean;
|
|
24
|
+
get isStockFilter(): boolean;
|
|
25
|
+
get valueList(): string[];
|
|
26
|
+
get keyList(): string[];
|
|
27
|
+
get displayedValues(): IkasApplicableProductFilterValue[];
|
|
28
|
+
onFilterValueClick: (filterValue: IkasApplicableProductFilterValue) => void;
|
|
29
|
+
onNumberRangeClick: (option: IkasProductFilterNumberRangeListOption) => void;
|
|
30
|
+
onNumberRangeChange: (numberRange: IkasFilterRangeValue | null) => void;
|
|
31
|
+
clear: () => void;
|
|
32
|
+
toInput: () => IkasProductFilterFunctions.IkasSearchInputFilterListInput;
|
|
33
|
+
toJSON(): this;
|
|
34
|
+
applyQueryParam: (value: string) => void;
|
|
35
|
+
}
|
|
36
|
+
export declare class IkasApplicableProductFilterValue implements IApplicableProductFilterValue {
|
|
37
|
+
id: string;
|
|
38
|
+
key: string;
|
|
39
|
+
name: string;
|
|
40
|
+
colorCode?: string | null;
|
|
41
|
+
thumbnailImageId?: string | null;
|
|
42
|
+
thumbnailImage?: IkasImage | null;
|
|
43
|
+
resultCount?: number | null;
|
|
44
|
+
isSelected: boolean;
|
|
45
|
+
constructor(data: IApplicableProductFilterValue);
|
|
46
|
+
}
|
|
47
|
+
export declare class IkasProductFilterValue implements IProductFilterValue {
|
|
48
|
+
id: string;
|
|
49
|
+
type: IkasProductFilterType;
|
|
50
|
+
displayType: IkasProductFilterDisplayType;
|
|
51
|
+
valueList: string[];
|
|
52
|
+
constructor(data: IProductFilterValue);
|
|
53
|
+
}
|
|
54
|
+
export declare class IkasProductFilterSettings implements IProductFilterSettings {
|
|
55
|
+
useAndFilter?: boolean | null;
|
|
56
|
+
showCollapsedOnDesktop: boolean;
|
|
57
|
+
showCollapsedOnMobile: boolean;
|
|
58
|
+
sortType: IkasProductFilterSortType;
|
|
59
|
+
customSortedValues: string[] | null;
|
|
60
|
+
constructor(data: Partial<IkasProductFilterSettings>);
|
|
61
|
+
}
|
|
62
|
+
export declare type IkasProductFacetInput = {
|
|
63
|
+
id: string;
|
|
64
|
+
type: IkasProductFilterType;
|
|
65
|
+
displayType: IkasProductFilterDisplayType;
|
|
66
|
+
};
|
|
67
|
+
export declare class IkasFilterRangeValue implements IFilterRangeValue {
|
|
68
|
+
from: number;
|
|
69
|
+
to: number | undefined | null;
|
|
70
|
+
constructor(data: Partial<IFilterRangeValue>);
|
|
71
|
+
}
|
|
72
|
+
export declare class IkasProductFilterNumberRangeListOption implements IProductFilterNumberRangeListOption {
|
|
73
|
+
from: number;
|
|
74
|
+
to: number | undefined | null;
|
|
75
|
+
key: string;
|
|
76
|
+
private _isSelected;
|
|
77
|
+
constructor(data: Partial<IProductFilterNumberRangeListOption>);
|
|
78
|
+
get isSelected(): boolean;
|
|
79
|
+
toJSON(): this & {
|
|
80
|
+
isSelected: boolean;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
export { IkasProductFilterDisplayType, IkasProductFilterSortType, IkasProductFilterType, };
|
|
84
|
+
export declare function parseRangeStr(rangeStr: string): IFilterRangeValue;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__assign as t}from'./../../../../ext/tslib/tslib.es6.js';import{IkasImage as e}from"../../image/index.js";import{IkasProductFilterType as i,IkasProductFilterDisplayType as s,IkasProductFilterSortType as n}from"@ikas/storefront-models";export{IkasProductFilterDisplayType,IkasProductFilterSortType,IkasProductFilterType}from"@ikas/storefront-models";import{makeAutoObservable as o}from"mobx";import{IkasProductFilterFunctions as r}from"@ikas/storefront-model-functions";var l=function(){function e(e,n){var l=this;if(this.productList=null,this.onFilterValueClick=function(t){var e;r.onFilterValueClick(l,t),null===(e=l.productList)||void 0===e||e.applyFilters()},this.onNumberRangeClick=function(t){var e;r.onNumberRangeClick(l,t),null===(e=l.productList)||void 0===e||e.applyFilters()},this.onNumberRangeChange=function(t){var e;r.onNumberRangeChange(l,t),null===(e=l.productList)||void 0===e||e.applyFilters()},this.clear=function(){r.clear(l)},this.toInput=function(){return r.toInput(l)},this.applyQueryParam=function(t){r.applyQueryParam(l,t)},this.id=e.id||"",this.key=e.key||"",this.name=e.name||"",this.order=e.order||0,this.type=e.type||i.BRAND,this.displayType=e.displayType||s.BOX,this.isMultiSelect=e.isMultiSelect||!1,this.isFacetFilter=e.isFacetFilter||!1,this.values=e.values?e.values.map((function(t){return new u(t)})):null,this.customValues=e.customValues||null,this.settings=e.settings?new h(e.settings):null,this.displayType===s.NUMBER_RANGE_LIST&&this.customValues&&this.customValues.length&&(this.numberRangeListOptions=this.customValues.map((function(e){return new c(t(t({key:e},d(e)),{isSelected:!1}))}))),this.displayType===s.NUMBER_RANGE&&this.customValues&&this.customValues.length){var a=this.customValues[0];this.numberRangeLimit=d(a)}this.productList=n,o(this)}return Object.defineProperty(e.prototype,"numberRange",{get:function(){return this._numberRange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isCustomValueFilter",{get:function(){return r.isCustomValueFilter(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isStockFilter",{get:function(){return r.isStockFilter(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"valueList",{get:function(){return r.getValueList(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"keyList",{get:function(){return r.getKeyList(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"displayedValues",{get:function(){return r.getDisplayedValues(this)},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){var e=t({},this);return delete e.productList,e},e}(),u=function(t){this.id=t.id||"",this.key=t.key||"",this.name=t.name||"",this.colorCode=t.colorCode||null,this.thumbnailImageId=t.thumbnailImageId||null,this.thumbnailImageId&&(this.thumbnailImage=new e({id:this.thumbnailImageId,isVideo:!1})),this.isSelected=t.isSelected||!1,this.resultCount=void 0!==t.resultCount&&null!==t.resultCount?t.resultCount:null,o(this)},a=function(t){this.id=t.id,this.type=t.type,this.displayType=t.displayType,this.valueList=t.valueList,o(this)},h=function(t){this.useAndFilter=t.useAndFilter||!1,this.showCollapsedOnDesktop=t.showCollapsedOnDesktop||!1,this.showCollapsedOnMobile=t.showCollapsedOnMobile||!1,this.sortType=t.sortType||n.ALPHABETICAL_ASC,this.customSortedValues=t.customSortedValues||null,o(this)},p=function(t){this.from=t.from||0,this.to=t.to||null,o(this)},c=function(){function e(t){this.from=t.from||0,this.to=t.to||null,this.key=t.key||"",this._isSelected=t.isSelected||!1,o(this)}return Object.defineProperty(e.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return t(t({},this),{isSelected:this._isSelected})},e}();function d(t){return r.parseRangeStr(t)}export{u as IkasApplicableProductFilterValue,p as IkasFilterRangeValue,l as IkasProductFilter,c as IkasProductFilterNumberRangeListOption,h as IkasProductFilterSettings,a as IkasProductFilterValue,d as parseRangeStr};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IkasImage } from "../../image";
|
|
2
|
+
import { IkasProductImage as IProductImage } from "@ikas/storefront-models";
|
|
3
|
+
export declare class IkasProductImage implements IProductImage {
|
|
4
|
+
imageId: string | null;
|
|
5
|
+
isMain: boolean;
|
|
6
|
+
isVideo: boolean | null;
|
|
7
|
+
order: number;
|
|
8
|
+
image?: IkasImage | null;
|
|
9
|
+
constructor(data: IProductImage);
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{IkasImage as i}from"../../image/index.js";import{makeAutoObservable as e}from"mobx";var m=function(m){this.imageId=m.imageId||null,this.isMain=m.isMain||!1,this.isVideo=m.isVideo||!1,this.order=m.order,this.image=m.image?new i(m.image):null,e(this)};export{m as IkasProductImage};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { IkasCategory } from "../category";
|
|
2
|
+
import { IkasProductVariant } from "./variant";
|
|
3
|
+
import { IkasProductAttributeValue } from "./attribute-value";
|
|
4
|
+
import { IkasProductVariantType } from "./variant-type";
|
|
5
|
+
import { IkasBrand } from "../brand";
|
|
6
|
+
import { IkasHTMLMetaData } from "../html-meta-data";
|
|
7
|
+
import { IkasProductTag } from "./tag";
|
|
8
|
+
import { IkasProduct as IProduct, IkasProductType } from "@ikas/storefront-models";
|
|
9
|
+
import { IkasProductOptionSet } from "./option-set";
|
|
10
|
+
import { IkasVariantValue } from "../variant-type/variant-value";
|
|
11
|
+
import { IkasProductCampaign } from "./campaign";
|
|
12
|
+
import { IkasVariantType } from "../variant-type";
|
|
13
|
+
import { IkasProductAttributeMap } from "./attribute-value";
|
|
14
|
+
import { IkasProductBaseUnit } from "./base-unit";
|
|
15
|
+
export declare class IkasProduct implements IProduct {
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
type: IkasProductType;
|
|
19
|
+
description: string;
|
|
20
|
+
shortDescription: string;
|
|
21
|
+
metaData: IkasHTMLMetaData | null;
|
|
22
|
+
brand: IkasBrand | null;
|
|
23
|
+
categories: IkasCategory[];
|
|
24
|
+
tags: IkasProductTag[] | null;
|
|
25
|
+
variants: IkasProductVariant[];
|
|
26
|
+
attributes: IkasProductAttributeValue[];
|
|
27
|
+
variantTypes: IkasProductVariantType[];
|
|
28
|
+
productOptionSetId: string | null;
|
|
29
|
+
baseUnit: IkasProductBaseUnit | null;
|
|
30
|
+
productOptionSet?: IkasProductOptionSet | null;
|
|
31
|
+
campaigns?: IkasProductCampaign[] | null;
|
|
32
|
+
selectedVariantValues: IkasVariantValue[];
|
|
33
|
+
constructor(data?: Partial<IkasProduct>);
|
|
34
|
+
get hasVariant(): boolean;
|
|
35
|
+
get hasStock(): boolean;
|
|
36
|
+
get hasValidProductOptionValues(): boolean;
|
|
37
|
+
get href(): string;
|
|
38
|
+
get productHref(): string;
|
|
39
|
+
get mainVariantType(): IkasVariantType | undefined;
|
|
40
|
+
get mainVariantValue(): IkasVariantValue | undefined;
|
|
41
|
+
get selectedVariant(): IkasProductVariant;
|
|
42
|
+
get displayedVariantTypes(): IkasDisplayedVariantType[];
|
|
43
|
+
get isCustomerReviewEnabled(): boolean;
|
|
44
|
+
get isCustomerReviewLoginRequired(): boolean;
|
|
45
|
+
get isAddToCartEnabled(): boolean;
|
|
46
|
+
get groupedAttributeValues(): IkasProductAttributeMap[];
|
|
47
|
+
get selectedVariantUnitPriceText(): string | undefined;
|
|
48
|
+
selectVariantValue(variantValue: IkasVariantValue): void;
|
|
49
|
+
getVariantUnitPriceText(variant: IkasProductVariant): string | undefined;
|
|
50
|
+
private setOptionPrices;
|
|
51
|
+
}
|
|
52
|
+
export { IkasProductType };
|
|
53
|
+
export declare type IkasDisplayedVariantValue = {
|
|
54
|
+
variant: IkasProductVariant;
|
|
55
|
+
variantValue: IkasVariantValue;
|
|
56
|
+
hasStock: boolean;
|
|
57
|
+
isSelected: boolean;
|
|
58
|
+
};
|
|
59
|
+
export declare type IkasDisplayedVariantType = {
|
|
60
|
+
variantType: IkasVariantType;
|
|
61
|
+
displayedVariantValues: IkasDisplayedVariantValue[];
|
|
62
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__spreadArray as t}from'./../../../ext/tslib/tslib.es6.js';import e from"lodash/sortBy";import{IkasCategory as i}from"../category/index.js";import{IkasProductVariant as r}from"./variant/index.js";import{IkasProductAttributeValue as n}from"./attribute-value/index.js";import{IkasProductVariantType as a}from"./variant-type/index.js";import{IkasBrand as o}from"../brand/index.js";import{IkasHTMLMetaData as s}from"../html-meta-data/index.js";import{IkasProductTag as u}from"./tag/index.js";import{IkasProductType as c}from"@ikas/storefront-models";export{IkasProductType}from"@ikas/storefront-models";import{IkasProductOptionSet as l}from"./option-set/index.js";import{makeAutoObservable as p}from"mobx";import{IkasProductFunctions as d}from"@ikas/storefront-model-functions";import{IkasProductCampaign as f}from"./campaign/index.js";import{IkasStorefrontConfig as m}from"@ikas/storefront-config";import{Analytics as h}from"../../../analytics/analytics.js";import"../../../analytics/head/index.js";import{IkasBaseStore as v}from"../../../store/base.js";import b from"lodash/groupBy";import{IkasProductBaseUnit as y}from"./base-unit/index.js";import{formatCurrency as g}from"../../../utils/currency.js";import"lodash/get";var V=function(){function V(t){var d;void 0===t&&(t={}),this.metaData=null,this.brand=null,this.tags=null,this.productOptionSetId=null,this.productOptionSet=null,this.campaigns=null,this.selectedVariantValues=[],this.id=t.id||Date.now()+"",this.name=t.name||"",this.type=t.type||c.PHYSICAL,this.description=t.description||"",this.shortDescription=t.shortDescription||"",this.metaData=t.metaData?new s(t.metaData):null,this.brand=t.brand?new o(t.brand):null,this.categories=t.categories?t.categories.map((function(t){return new i(t)})):[],this.tags=t.tags?t.tags.map((function(t){return new u(t)})):[],this.variants=t.variants?t.variants.map((function(t){return new r(t)})):[],this.attributes=t.attributes?t.attributes.map((function(t){return new n(t)})):[],this.variantTypes=t.variantTypes?t.variantTypes.map((function(t){return new a(t)})):[],this.productOptionSetId=t.productOptionSetId||null,this.baseUnit=t.baseUnit?new y(t.baseUnit):null,this.productOptionSet=t.productOptionSet?new l(t.productOptionSet):null,this.campaigns=(null===(d=t.campaigns)||void 0===d?void 0:d.map((function(t){return new f(t)})))||null,this.selectedVariantValues=t.selectedVariantValues||[],this.variantTypes=e(this.variantTypes,"order"),this.setOptionPrices(),p(this)}return Object.defineProperty(V.prototype,"hasVariant",{get:function(){return d.hasVariant(this)},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"hasStock",{get:function(){return d.hasStock(this)},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"hasValidProductOptionValues",{get:function(){return!this.productOptionSet||this.productOptionSet.hasValidValues},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"href",{get:function(){return d.getSelectedVariantHref(this,this.selectedVariantValues)},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"productHref",{get:function(){return d.getProductHref(this)},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"mainVariantType",{get:function(){return d.getMainVariantType(this)},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"mainVariantValue",{get:function(){return d.getMainVariantValue(this.selectedVariantValues)},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"selectedVariant",{get:function(){if(!this.hasVariant)return this.variants[0];var t=this.selectedVariantValues.map((function(t){return t.id}));return this.variants.find((function(e){return e.variantValues.every((function(e){return t.includes(e.id)}))}))},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"displayedVariantTypes",{get:function(){return d.getDisplayedVariantTypes(this,this.selectedVariantValues)},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"isCustomerReviewEnabled",{get:function(){return m.isCustomerReviewEnabled()},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"isCustomerReviewLoginRequired",{get:function(){return m.isCustomerReviewLoginRequired()},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"isAddToCartEnabled",{get:function(){return this.hasValidProductOptionValues&&(this.selectedVariant.hasStock||this.selectedVariant.sellIfOutOfStock)},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"groupedAttributeValues",{get:function(){var t,e=b(this.attributes,"productAttributeId");return(null===(t=this.attributes)||void 0===t?void 0:t.map((function(t){var i=t.productAttributeId;if(i){var r=e[i];return(null==r?void 0:r.length)&&r[0].productAttribute?{attribute:r[0].productAttribute,values:r}:void 0}})).filter((function(t){return!!t})))||[]},enumerable:!1,configurable:!0}),Object.defineProperty(V.prototype,"selectedVariantUnitPriceText",{get:function(){return this.getVariantUnitPriceText(this.selectedVariant)},enumerable:!1,configurable:!0}),V.prototype.selectVariantValue=function(e){var i,r=this,n=this.metaData,a=this.selectedVariantValues.map((function(t){return t.variantTypeId===e.variantTypeId?e:t})),o=this.variants.find((function(t){return t.isActive&&a.every((function(e){return t.variantValues.some((function(t){return t.id===e.id}))}))}));if(o)this.selectedVariantValues=a;else{var s=this.variantTypes.findIndex((function(t){return t.variantType.id===e.variantTypeId}));if(s>0){var u=this.variantTypes.slice(0,s),c=this.selectedVariantValues.filter((function(t){return u.some((function(e){return e.variantType.id===t.variantTypeId}))})),l=t(t([],c,!0),[e],!1);o=this.variants.find((function(t){return t.isActive&&l.every((function(e){return t.variantValues.some((function(t){return t.id===e.id}))}))}))}else{var p=a.slice(0,a.length-1);(o=this.variants.find((function(t){return t.isActive&&p.every((function(e){return t.variantValues.some((function(t){return t.id===e.id}))}))})))||(o=this.variants.find((function(t){return t.isActive&&t.variantValues.some((function(t){return t.id===e.id}))})))}if(!o)return;this.selectedVariantValues=o.variantValues}var d=this.variantTypes.map((function(t){var e=t.variantType,i=e.values.find((function(t){return r.selectedVariantValues.some((function(e){return e.id===t.id}))}));if(i)return"".concat(e.slug,"=").concat(i.slug)})).filter((function(t){return!!t})).join("&"),f="/".concat(n.slug);if(d&&(f="/".concat(n.slug,"?").concat(d)),f!==window.location.pathname){var m="production"!==process.env.NODE_ENV;null===(i=v.getInstance().router)||void 0===i||i.replace(f,void 0,{shallow:m,scroll:!1}),h.productView(this)}},V.prototype.getVariantUnitPriceText=function(t){var e,i,r=t.price;if(r.unitPrice&&this.baseUnit)return"".concat(g(r.unitPrice,r.currency||"",r.currencySymbol||"")," / ").concat(null===(i=null===(e=this.baseUnit)||void 0===e?void 0:e.unit)||void 0===i?void 0:i.name)},V.prototype.setOptionPrices=function(){var t,e=this.variants[0];if(e){var i=e.price.currency;null===(t=this.productOptionSet)||void 0===t||t.options.forEach((function(t){var e;t.selectSettings&&t.selectSettings.values.forEach((function(t){var e;t.otherPrices&&(t.price=(null===(e=t.otherPrices.find((function(t){return t.currencyCode===i})))||void 0===e?void 0:e.price)||t.price)})),t.otherPrices&&(t.price=(null===(e=t.otherPrices.find((function(t){return t.currencyCode===i})))||void 0===e?void 0:e.price)||t.price)}))}},V}();export{V as IkasProduct};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IkasProductOption } from "./option";
|
|
2
|
+
import { IkasProductOptionSelectValueTranslations as IProductOptionSelectValueTranslations, IkasProductOptionTranslations as IProductOptionTranslations, IkasProductOptionSetTranslations as IProductOptionSetTranslations, IkasProductOptionSet as IProductOptionSet } from "@ikas/storefront-models";
|
|
3
|
+
export declare class IkasProductOptionSelectValueTranslations implements IProductOptionSelectValueTranslations {
|
|
4
|
+
id: string;
|
|
5
|
+
value: string | null;
|
|
6
|
+
constructor(data: Partial<IProductOptionSelectValueTranslations>);
|
|
7
|
+
}
|
|
8
|
+
export declare class IkasProductOptionTranslations implements IProductOptionTranslations {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string | null;
|
|
11
|
+
optionalText: string | null;
|
|
12
|
+
values: IkasProductOptionSelectValueTranslations[] | null;
|
|
13
|
+
constructor(data: Partial<IProductOptionTranslations>);
|
|
14
|
+
}
|
|
15
|
+
export declare class IkasProductOptionSetTranslations implements IProductOptionSetTranslations {
|
|
16
|
+
locale: string;
|
|
17
|
+
options: IkasProductOptionTranslations[] | null;
|
|
18
|
+
constructor(data: Partial<IProductOptionSetTranslations>);
|
|
19
|
+
}
|
|
20
|
+
export declare class IkasProductOptionSet implements IProductOptionSet {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
options: IkasProductOption[];
|
|
24
|
+
translations: IkasProductOptionSetTranslations[] | null;
|
|
25
|
+
constructor(data: Partial<IkasProductOptionSet>);
|
|
26
|
+
get displayedOptions(): IkasProductOption[];
|
|
27
|
+
get hasValidValues(): boolean;
|
|
28
|
+
initOptionValues: () => Promise<void>;
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as t,__generator as i,__assign as n}from'./../../../../ext/tslib/tslib.es6.js';import{makeAutoObservable as o}from"mobx";import{IkasProductOption as e}from"./option/index.js";import{IkasProductOptionSetFunctions as s}from"@ikas/storefront-model-functions";var r=function(t){this.id=t.id||"",this.value=t.value||null,o(this)},u=function(t){var i;this.id=t.id||"",this.name=t.name||null,this.optionalText=t.optionalText||null,this.values=(null===(i=t.values)||void 0===i?void 0:i.map((function(t){return new r(t)})))||[],o(this)},l=function(t){var i;this.locale=t.locale||"",this.options=(null===(i=t.options)||void 0===i?void 0:i.map((function(t){return new u(t)})))||[],o(this)},a=function(){function r(s){var r,u,a=this;this.initOptionValues=function(){return t(a,void 0,void 0,(function(){return i(this,(function(t){return this.options.forEach((function(t){return t.initValues()})),[2]}))}))},this.id=s.id||"",this.name=s.name||"",this.options=(null===(r=s.options)||void 0===r?void 0:r.map((function(t){return new e(n(n({},t),{productOptionSetId:a.id}))})))||[],this.translations=s.translations?null===(u=s.translations)||void 0===u?void 0:u.map((function(t){return new l(t)})):null,this.initOptionValues(),o(this)}return Object.defineProperty(r.prototype,"displayedOptions",{get:function(){return s.getDisplayedOptions(this)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hasValidValues",{get:function(){return this.displayedOptions.every((function(t){return t.hasValidValues}))},enumerable:!1,configurable:!0}),r}();export{r as IkasProductOptionSelectValueTranslations,a as IkasProductOptionSet,l as IkasProductOptionSetTranslations,u as IkasProductOptionTranslations};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { IkasProductOptionSelectType, IkasProductOptionType, IkasProductOptionOtherPrice as IProductOptionOtherPrice, IkasProductOptionSelectValue as IProductOptionSelectValue, IkasProductOptionSelectSettings as IProductOptionSelectSettings, IkasProductOptionDateSettings as IProductOptionDateSettings, IkasProductOptionTextSettings as IProductOptionTextSettings, IkasProductOptionFileSettings as IProductOptionFileSettings, IkasProductOption as IProductOption } from "@ikas/storefront-models";
|
|
2
|
+
import { IkasImage } from "../../../image";
|
|
3
|
+
export declare class IkasProductOptionOtherPrice implements IProductOptionOtherPrice {
|
|
4
|
+
currencyCode: string;
|
|
5
|
+
price: number;
|
|
6
|
+
constructor(data: IProductOptionOtherPrice);
|
|
7
|
+
}
|
|
8
|
+
export declare class IkasProductOptionSelectValue implements IProductOptionSelectValue {
|
|
9
|
+
id: string;
|
|
10
|
+
order: number;
|
|
11
|
+
value: string;
|
|
12
|
+
price: number | null;
|
|
13
|
+
otherPrices: IkasProductOptionOtherPrice[] | null;
|
|
14
|
+
thumbnailImageId: string | null;
|
|
15
|
+
colorCode: string | null;
|
|
16
|
+
thumbnailImage: IkasImage | null;
|
|
17
|
+
constructor(data?: Partial<IProductOptionSelectValue>);
|
|
18
|
+
}
|
|
19
|
+
export declare class IkasProductOptionSelectSettings implements IProductOptionSelectSettings {
|
|
20
|
+
type: IkasProductOptionSelectType;
|
|
21
|
+
minSelect: number | null;
|
|
22
|
+
maxSelect: number | null;
|
|
23
|
+
values: IkasProductOptionSelectValue[];
|
|
24
|
+
constructor(data?: Partial<IProductOptionSelectSettings>);
|
|
25
|
+
}
|
|
26
|
+
export declare class IkasProductOptionDateSettings implements IProductOptionDateSettings {
|
|
27
|
+
min: Date | null;
|
|
28
|
+
max: Date | null;
|
|
29
|
+
minRelativeNextDate: number | null;
|
|
30
|
+
maxRelativeNextDate: number | null;
|
|
31
|
+
constructor(data: Partial<IProductOptionDateSettings>);
|
|
32
|
+
}
|
|
33
|
+
export declare class IkasProductOptionTextSettings implements IProductOptionTextSettings {
|
|
34
|
+
min: number | null;
|
|
35
|
+
max: number | null;
|
|
36
|
+
constructor(data?: Partial<IProductOptionTextSettings>);
|
|
37
|
+
}
|
|
38
|
+
export declare class IkasProductOptionFileSettings {
|
|
39
|
+
allowedExtensions: string[] | null;
|
|
40
|
+
minQuantity: number | null;
|
|
41
|
+
maxQuantity: number | null;
|
|
42
|
+
constructor(data: Partial<IProductOptionFileSettings>);
|
|
43
|
+
}
|
|
44
|
+
export declare class IkasProductOption implements IProductOption {
|
|
45
|
+
id: string;
|
|
46
|
+
productOptionSetId: string;
|
|
47
|
+
name: string;
|
|
48
|
+
order: number;
|
|
49
|
+
type: IkasProductOptionType;
|
|
50
|
+
selectSettings: IkasProductOptionSelectSettings | null;
|
|
51
|
+
textSettings: IkasProductOptionTextSettings | null;
|
|
52
|
+
fileSettings: IkasProductOptionFileSettings | null;
|
|
53
|
+
dateSettings: IkasProductOptionDateSettings | null;
|
|
54
|
+
price: number | null;
|
|
55
|
+
otherPrices: IkasProductOptionOtherPrice[] | null;
|
|
56
|
+
isOptional: boolean;
|
|
57
|
+
optionalText: string | null;
|
|
58
|
+
requiredOptionId: string | null;
|
|
59
|
+
requiredOptionValueIds: string[] | null;
|
|
60
|
+
private _values;
|
|
61
|
+
private _childOptions;
|
|
62
|
+
constructor(data: Partial<IProductOption>);
|
|
63
|
+
get displayedChildOptions(): IkasProductOption[];
|
|
64
|
+
productOptionFileUpload: (files: File[]) => Promise<string[]>;
|
|
65
|
+
get hasValidValues(): boolean;
|
|
66
|
+
get values(): string[];
|
|
67
|
+
set values(values: string[]);
|
|
68
|
+
get childOptions(): IkasProductOption[];
|
|
69
|
+
set childOptions(options: IkasProductOption[]);
|
|
70
|
+
initValues: () => void;
|
|
71
|
+
}
|
|
72
|
+
export { IkasProductOptionSelectType, IkasProductOptionType };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as t,__generator as i}from'./../../../../../ext/tslib/tslib.es6.js';import{IkasProductOptionSelectType as e,IkasProductOptionType as n}from"@ikas/storefront-models";export{IkasProductOptionSelectType,IkasProductOptionType}from"@ikas/storefront-models";import{makeAutoObservable as l}from"mobx";import{IkasImage as s}from"../../../image/index.js";import o from"lodash/sortBy";import{IkasProductOptionFunctions as a}from"@ikas/storefront-model-functions";import{uploadFile as r,getProductOptionFileUrl as u}from"@ikas/storefront-api";var h=function(t){this.currencyCode=t.currencyCode,this.price=t.price,l(this)},d=function(t){void 0===t&&(t={}),this.id=t.id||"",this.order=t.order||0,this.value=t.value||"",this.price=t.price||null,this.otherPrices=t.otherPrices||null,this.thumbnailImageId=t.thumbnailImageId||null,this.colorCode=t.colorCode||null,this.thumbnailImage=t.thumbnailImage?new s(t.thumbnailImage):null,l(this)},c=function(t){var i;void 0===t&&(t={}),this.type=t.type||e.BOX,this.minSelect=null!==t.minSelect&&void 0!==t.minSelect?t.minSelect:null,this.maxSelect=null!==t.maxSelect&&void 0!==t.maxSelect?t.maxSelect:null,this.values=o((null===(i=t.values)||void 0===i?void 0:i.map((function(t){return new d(t)})))||[],"order"),l(this)},m=function(t){this.min=t.min||null,this.max=t.max||null,this.minRelativeNextDate=void 0!==t.minRelativeNextDate?t.minRelativeNextDate:null,this.maxRelativeNextDate=void 0!==t.maxRelativeNextDate?t.maxRelativeNextDate:null,l(this)},p=function(t){void 0===t&&(t={}),this.min=null!==t.min&&void 0!==t.min?t.min:null,this.max=null!==t.max&&void 0!==t.max?t.max:null,l(this)},f=function(t){this.allowedExtensions=t.allowedExtensions||null,this.minQuantity=null!==t.minQuantity&&void 0!==t.minQuantity?t.minQuantity:null,this.maxQuantity=null!==t.maxQuantity&&void 0!==t.maxQuantity?t.maxQuantity:null,l(this)},v=function(){function e(s){var o=this;this._values=[],this._childOptions=[],this.productOptionFileUpload=function(e){return t(o,void 0,void 0,(function(){var t,n,l,s,o,a=this;return i(this,(function(i){switch(i.label){case 0:return 0===e.length||this.fileSettings&&this.fileSettings.maxQuantity&&this.fileSettings.maxQuantity<e.length?[2,[]]:[4,Promise.all(e.map((function(t){return u({fileName:t.name,productOptionSetId:a.productOptionSetId,productOptionId:a.id},t)})))];case 1:t=i.sent().filter((function(t){return t.data})),n=[],l=0,s=t,i.label=2;case 2:return l<s.length?(o=s[l],[4,r(o.data,o.data.file)]):[3,5];case 3:i.sent()&&n.push(o.data.optionUrl),i.label=4;case 4:return l++,[3,2];case 5:return[2,n]}}))}))},this.initValues=function(){o.isOptional||(o.values=[],o.childOptions&&o.childOptions.forEach((function(t){return t.initValues()})))},this.id=s.id||"",this.productOptionSetId=s.productOptionSetId||"",this.name=s.name||"",this.order=s.order||0,this.type=s.type||n.CHOICE,this.selectSettings=s.selectSettings?new c(s.selectSettings||{}):null,this.textSettings=s.textSettings?new p(s.textSettings||{}):null,this.fileSettings=s.fileSettings?new f(s.fileSettings||{}):null,this.dateSettings=s.dateSettings?new m(s.dateSettings||{}):null,this.price=s.price||null,this.otherPrices=s.otherPrices||null,this.isOptional=s.isOptional||!1,this.optionalText=s.optionalText||null,this.requiredOptionId=s.requiredOptionId||null,this.requiredOptionValueIds=s.requiredOptionValueIds||null,this.values=s.values||[],this.childOptions=s.childOptions?s.childOptions.map((function(t){return new e(t)})):[],l(this)}return Object.defineProperty(e.prototype,"displayedChildOptions",{get:function(){return a.getDisplayedChildOptions(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasValidValues",{get:function(){return a.hasValidValues(this)&&this.displayedChildOptions.every((function(t){return t.hasValidValues}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"values",{get:function(){return this._values},set:function(t){this._values=t,t.length||this.childOptions.forEach((function(t){return t.values=[]}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childOptions",{get:function(){return this._childOptions},set:function(t){this._childOptions=t},enumerable:!1,configurable:!0}),e}();export{v as IkasProductOption,m as IkasProductOptionDateSettings,f as IkasProductOptionFileSettings,h as IkasProductOptionOtherPrice,c as IkasProductOptionSelectSettings,d as IkasProductOptionSelectValue,p as IkasProductOptionTextSettings};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var t=function(t){this.id=t.id,this.name=t.name,i(this)};export{t as IkasProductTag};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IkasProductPrice } from "./price";
|
|
2
|
+
import { IkasVariantValue } from "../../variant-type/variant-value";
|
|
3
|
+
import { IkasProductAttributeMap, IkasProductAttributeValue } from "../attribute-value";
|
|
4
|
+
import { IkasProductCampaign } from "../campaign";
|
|
5
|
+
import { IkasProductImage } from "../image";
|
|
6
|
+
import { IkasProductVariant as IProductVariant } from "@ikas/storefront-models";
|
|
7
|
+
import { IkasProductVariantUnit } from "./unit";
|
|
8
|
+
export declare class IkasProductVariant implements IProductVariant {
|
|
9
|
+
id: string;
|
|
10
|
+
sku: string | null;
|
|
11
|
+
barcodeList: string[] | null;
|
|
12
|
+
variantValues: IkasVariantValue[];
|
|
13
|
+
attributes: IkasProductAttributeValue[];
|
|
14
|
+
price: IkasProductPrice;
|
|
15
|
+
stock: number;
|
|
16
|
+
isActive: boolean;
|
|
17
|
+
productId: string;
|
|
18
|
+
sellIfOutOfStock: boolean;
|
|
19
|
+
images: IkasProductImage[] | null;
|
|
20
|
+
campaigns?: IkasProductCampaign[];
|
|
21
|
+
unit: IkasProductVariantUnit | null;
|
|
22
|
+
private _backInStockReminderSaved;
|
|
23
|
+
constructor(data?: Partial<IProductVariant>);
|
|
24
|
+
get mainImage(): IkasProductImage | undefined;
|
|
25
|
+
get hasStock(): boolean;
|
|
26
|
+
get isBackInStockEnabled(): boolean;
|
|
27
|
+
get isBackInStockCustomerLoginRequired(): boolean | null | undefined;
|
|
28
|
+
get isBackInStockReminderSaved(): boolean;
|
|
29
|
+
get groupedAttributeValues(): IkasProductAttributeMap[];
|
|
30
|
+
saveBackInStockReminder(email: string): Promise<boolean>;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as t,__generator as e}from'./../../../../ext/tslib/tslib.es6.js';import{IkasProductPrice as i}from"./price/index.js";import{IkasVariantValue as r}from"../../variant-type/variant-value/index.js";import{IkasProductAttributeValue as n}from"../attribute-value/index.js";import{IkasProductImage as o}from"../image/index.js";import{makeAutoObservable as a}from"mobx";import{IkasProductVariantFunctions as u}from"@ikas/storefront-model-functions";import{IkasStorefrontConfig as s}from"@ikas/storefront-config";import{saveProductBackInStockRemind as c,listProductBackInStockRemind as d}from"@ikas/storefront-api";import p from"lodash/groupBy";import{IkasProductVariantUnit as m}from"./unit/index.js";var f=function(){function f(t){void 0===t&&(t={}),this._backInStockReminderSaved=!1,this.id=t.id||Date.now()+"",this.productId=t.productId||"",this.sku=t.sku||null,this.barcodeList=t.barcodeList||[],this.variantValues=t.variantValues?t.variantValues.map((function(t){return new r(t)})):[],this.images=t.images?t.images.map((function(t){return new o(t)})):[],this.attributes=t.attributes?t.attributes.map((function(t){return new n(t)})):[],this.price=t.price?new i(t.price):new i,this.stock=t.stock||0,this.isActive=void 0===t.isActive||t.isActive,this.campaigns=t.campaigns||[],this.unit=t.unit?new m(t.unit):null,this.sellIfOutOfStock=t.sellIfOutOfStock||!1,a(this)}return Object.defineProperty(f.prototype,"mainImage",{get:function(){var t=u.getMainImage(this);return t?new o(t):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"hasStock",{get:function(){return u.hasStock(this)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"isBackInStockEnabled",{get:function(){return s.isBackInStockEnabled()},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"isBackInStockCustomerLoginRequired",{get:function(){return s.isCustomerLoginRequiredForBackInStock()},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"isBackInStockReminderSaved",{get:function(){return this._backInStockReminderSaved},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"groupedAttributeValues",{get:function(){var t,e=p(this.attributes,"productAttributeId");return(null===(t=this.attributes)||void 0===t?void 0:t.map((function(t){var i=t.productAttributeId;if(i){var r=e[i];return(null==r?void 0:r.length)&&r[0].productAttribute?{attribute:r[0].productAttribute,values:r}:void 0}})).filter((function(t){return!!t})))||[]},enumerable:!1,configurable:!0}),f.prototype.saveBackInStockReminder=function(i){var r;return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,d({email:{eq:i},productId:{eq:this.productId},variantId:{eq:this.id}})];case 1:return(t=e.sent())&&(null===(r=t.data)||void 0===r?void 0:r.length)?(this._backInStockReminderSaved=!0,[2,!1]):[3,2];case 2:return[4,c({input:{email:i,productId:this.productId,variantId:this.id}})];case 3:return e.sent().isSuccess?(this._backInStockReminderSaved=!0,[2,!0]):(this._backInStockReminderSaved=!1,[2,!1]);case 4:return[2]}}))}))},f}();export{f as IkasProductVariant};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IkasProductPrice as IProductPrice } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasProductPrice implements IProductPrice {
|
|
3
|
+
buyPrice: number | null;
|
|
4
|
+
currency: string | null;
|
|
5
|
+
currencySymbol: string | null;
|
|
6
|
+
discountPrice: number | null;
|
|
7
|
+
priceListId: string | null;
|
|
8
|
+
sellPrice: number;
|
|
9
|
+
unitPrice: number | null;
|
|
10
|
+
constructor(data?: IProductPrice);
|
|
11
|
+
get finalPrice(): number;
|
|
12
|
+
get formattedFinalPrice(): string;
|
|
13
|
+
get formattedBuyPrice(): string;
|
|
14
|
+
get formattedDiscountPrice(): string;
|
|
15
|
+
get formattedSellPrice(): string;
|
|
16
|
+
get hasDiscount(): boolean;
|
|
17
|
+
get discountAmount(): number;
|
|
18
|
+
get discountPercentage(): string | 0;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{IkasProductPriceFunctions as e}from"@ikas/storefront-model-functions";import{makeAutoObservable as r}from"mobx";import{formatCurrency as t}from"../../../../../utils/currency.js";var i=function(){function i(e){var t,i,n,u,c,o,l;this.buyPrice=null,this.currency=null,this.currencySymbol=null,this.discountPrice=null,this.priceListId=null,this.unitPrice=null,this.buyPrice=null!==(t=null==e?void 0:e.buyPrice)&&void 0!==t?t:null,this.currency=null!==(i=null==e?void 0:e.currency)&&void 0!==i?i:null,this.currencySymbol=null!==(n=null==e?void 0:e.currencySymbol)&&void 0!==n?n:"",this.discountPrice=null!==(u=null==e?void 0:e.discountPrice)&&void 0!==u?u:null,this.priceListId=null!==(c=null==e?void 0:e.priceListId)&&void 0!==c?c:null,this.sellPrice=null!==(o=null==e?void 0:e.sellPrice)&&void 0!==o?o:0,this.unitPrice=null!==(l=null==e?void 0:e.unitPrice)&&void 0!==l?l:null,r(this)}return Object.defineProperty(i.prototype,"finalPrice",{get:function(){return e.getFinalPrice(this)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"formattedFinalPrice",{get:function(){return t(this.finalPrice,this.currency||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"formattedBuyPrice",{get:function(){return t(this.buyPrice||0,this.currency||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"formattedDiscountPrice",{get:function(){return t(this.discountPrice||0,this.currency||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"formattedSellPrice",{get:function(){return t(this.sellPrice||0,this.currency||"",this.currencySymbol||"")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"hasDiscount",{get:function(){return e.hasDiscount(this)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"discountAmount",{get:function(){return e.getDiscountAmount(this)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"discountPercentage",{get:function(){return e.getDiscountPercentage(this)},enumerable:!1,configurable:!0}),i}();export{i as IkasProductPrice};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IkasProductUnitType, IkasProductVariantUnit as IProductVariantUnit } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasProductVariantUnit implements IProductVariantUnit {
|
|
3
|
+
amount: number | null;
|
|
4
|
+
type: IkasProductUnitType;
|
|
5
|
+
constructor(data: IProductVariantUnit);
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as t}from"mobx";var o=function(o){this.amount=o.amount,this.type=o.type,t(this)};export{o as IkasProductVariantUnit};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IkasVariantType } from "../../variant-type";
|
|
2
|
+
import { IkasProductVariantType as IProductVariantType } from "@ikas/storefront-models";
|
|
3
|
+
export declare class IkasProductVariantType implements IProductVariantType {
|
|
4
|
+
order: number;
|
|
5
|
+
variantType: IkasVariantType;
|
|
6
|
+
variantValueIds: string[];
|
|
7
|
+
constructor(data: Partial<IkasProductVariantType>);
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{IkasVariantType as r}from"../../variant-type/index.js";import{makeAutoObservable as a}from"mobx";var t=function(t){this.order=t.order||0,this.variantType=t.variantType?new r(t.variantType):new r,this.variantValueIds=t.variantValueIds||[],a(this)};export{t as IkasProductVariantType};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { IkasProduct } from "../product";
|
|
2
|
+
import { IkasRaffleDateRangeField as IRaffleDateRangeField, IkasRaffle as IRaffle, IkasRaffleMetaData as IRaffleMetaData, IkasRaffleParticipant as IRaffleParticipant, IkasRaffleAppliedProduct as IRaffleAppliedProduct, IkasRaffleVerificationType, IkasRaffleMetadataTargetType, IkasRaffleParticipantStatus } from "@ikas/storefront-models";
|
|
3
|
+
export { IkasRaffleVerificationType, IkasRaffleMetadataTargetType };
|
|
4
|
+
export declare class IkasRaffleDateRangeField implements IRaffleDateRangeField {
|
|
5
|
+
start: number | null;
|
|
6
|
+
end: number | null;
|
|
7
|
+
constructor(data: Partial<IkasRaffleDateRangeField>);
|
|
8
|
+
}
|
|
9
|
+
export declare class IkasRaffle implements IRaffle {
|
|
10
|
+
id: string;
|
|
11
|
+
createdAt: number;
|
|
12
|
+
updatedAt: number;
|
|
13
|
+
deleted: boolean | null;
|
|
14
|
+
dateRange: IkasRaffleDateRangeField | null;
|
|
15
|
+
metadata: IkasRaffleMetaData | null;
|
|
16
|
+
name: string;
|
|
17
|
+
requiredCustomerAccount: boolean;
|
|
18
|
+
status: boolean;
|
|
19
|
+
variants: IkasRaffleAppliedProduct[] | null;
|
|
20
|
+
verificationType: IkasRaffleVerificationType;
|
|
21
|
+
products: IkasProduct[];
|
|
22
|
+
constructor(data?: Partial<IkasRaffle>);
|
|
23
|
+
get isRaffleAvailable(): boolean | 0 | null | undefined;
|
|
24
|
+
}
|
|
25
|
+
export declare class IkasRaffleMetaData implements IRaffleMetaData {
|
|
26
|
+
id: string;
|
|
27
|
+
createdAt: number;
|
|
28
|
+
updatedAt: number;
|
|
29
|
+
deleted: boolean | null;
|
|
30
|
+
description: string | null;
|
|
31
|
+
pageTitle: string | null;
|
|
32
|
+
slug: string;
|
|
33
|
+
targetId: string | null;
|
|
34
|
+
targetType: IkasRaffleMetadataTargetType | null;
|
|
35
|
+
canonicals: string[] | null;
|
|
36
|
+
disableIndex: boolean | null;
|
|
37
|
+
constructor(data: Partial<IkasRaffleMetaData>);
|
|
38
|
+
}
|
|
39
|
+
export declare class IkasRaffleParticipant implements IRaffleParticipant {
|
|
40
|
+
id: string | null;
|
|
41
|
+
createdAt: number | null;
|
|
42
|
+
updatedAt: number | null;
|
|
43
|
+
deleted: boolean | null;
|
|
44
|
+
customerId: string | null;
|
|
45
|
+
raffleId: string;
|
|
46
|
+
firstName: string;
|
|
47
|
+
lastName: string;
|
|
48
|
+
fullName: string | null;
|
|
49
|
+
email: string;
|
|
50
|
+
applicationDate: number;
|
|
51
|
+
phone: string | null;
|
|
52
|
+
isDeliveredCargo: boolean | null;
|
|
53
|
+
raffle: IkasRaffle | null;
|
|
54
|
+
status: IkasRaffleParticipantStatus | null;
|
|
55
|
+
extraData: Record<string, any> | null;
|
|
56
|
+
appliedProduct: IkasRaffleAppliedProduct;
|
|
57
|
+
constructor(data: Partial<IkasRaffleParticipant>);
|
|
58
|
+
}
|
|
59
|
+
export declare class IkasRaffleAppliedProduct implements IRaffleAppliedProduct {
|
|
60
|
+
productId: string;
|
|
61
|
+
variantId: string;
|
|
62
|
+
constructor(data: Partial<IkasRaffleAppliedProduct>);
|
|
63
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as t}from"mobx";import{IkasProduct as e}from"../product/index.js";import{IkasRaffleVerificationType as i,IkasRaffleMetadataTargetType as a}from"@ikas/storefront-models";export{IkasRaffleMetadataTargetType,IkasRaffleVerificationType}from"@ikas/storefront-models";import{IkasRaffleFunctions as s}from"@ikas/storefront-model-functions";var l=function(e){this.start=e.start||null,this.end=e.end||null,t(this)},n=function(){function t(t){var a,s;void 0===t&&(t={}),this.id=t.id||Date.now()+"",this.createdAt=t.createdAt||Date.now(),this.updatedAt=t.updatedAt||Date.now(),this.deleted=t.deleted||null,this.name=t.name||"",this.requiredCustomerAccount=t.requiredCustomerAccount||!1,this.status=t.status||!1,this.verificationType=t.verificationType||i.EMAIL,this.dateRange=t.dateRange?new l(t.dateRange):null,this.metadata=t.metadata?new d(t.metadata):null,this.variants=(null===(a=t.variants)||void 0===a?void 0:a.map((function(t){return new o(t)})))||[],this.products=(null===(s=t.products)||void 0===s?void 0:s.map((function(t){return new e(t)})))||[]}return Object.defineProperty(t.prototype,"isRaffleAvailable",{get:function(){return s.isRaffleAvailable(this)},enumerable:!1,configurable:!0}),t}(),d=function(e){var i,s;this.canonicals=null,this.disableIndex=null,this.id=e.id||Date.now()+"",this.createdAt=e.createdAt||Date.now(),this.updatedAt=e.updatedAt||Date.now(),this.deleted=e.deleted||null,this.description=e.description||"",this.pageTitle=e.pageTitle||"",this.slug=e.slug||"",this.targetId=e.targetId||"",this.targetType=e.targetType||a.RAFFLE,this.canonicals=null!==(i=e.canonicals)&&void 0!==i?i:null,this.disableIndex=null!==(s=e.disableIndex)&&void 0!==s?s:null,t(this)},r=function(e){this.id=null,this.createdAt=null,this.updatedAt=null,this.deleted=null,this.customerId=null,this.fullName=null,this.phone=null,this.extraData=null,this.id=e.id||null,this.createdAt=e.createdAt||Date.now(),this.updatedAt=e.updatedAt||Date.now(),this.deleted=e.deleted||!1,this.customerId=e.customerId||null,this.raffleId=e.raffleId||"",this.firstName=e.firstName||"",this.lastName=e.lastName||"",this.fullName=e.fullName||null,this.email=e.email||"",this.applicationDate=e.applicationDate||0,this.phone=e.phone||null,this.isDeliveredCargo=e.isDeliveredCargo||!1,this.raffle=e.raffle?new n(e.raffle):null,this.status=e.status||null,this.extraData=e.extraData||{},this.appliedProduct=new o(e.appliedProduct||{}),t(this)},o=function(e){this.productId=e.productId||"",this.variantId=e.variantId||"",t(this)};export{n as IkasRaffle,o as IkasRaffleAppliedProduct,l as IkasRaffleDateRangeField,d as IkasRaffleMetaData,r as IkasRaffleParticipant};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IkasSalesChannel as ISalesChannel, IkasSalesChannelStockLocation as ISalesChannelStockLocation, IkasSalesChannelPaymentGateway as ISalesChannelPaymentGateway } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasSalesChannel implements ISalesChannel {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
priceListId: string | null;
|
|
6
|
+
stockLocations: IkasSalesChannelStockLocation[] | null;
|
|
7
|
+
paymentGateways: IkasSalesChannelPaymentGateway[] | null;
|
|
8
|
+
constructor(data: ISalesChannel);
|
|
9
|
+
}
|
|
10
|
+
export declare class IkasSalesChannelStockLocation implements ISalesChannelStockLocation {
|
|
11
|
+
id: string;
|
|
12
|
+
order: number;
|
|
13
|
+
constructor(data: ISalesChannelStockLocation);
|
|
14
|
+
}
|
|
15
|
+
export declare class IkasSalesChannelPaymentGateway implements ISalesChannelPaymentGateway {
|
|
16
|
+
id: string;
|
|
17
|
+
order: number;
|
|
18
|
+
constructor(data: ISalesChannelStockLocation);
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var t=function(t){var o,e;this.priceListId=null,this.stockLocations=null,this.paymentGateways=null,this.id=t.id,this.name=t.name,this.priceListId=t.priceListId||null,this.stockLocations=(null===(o=t.stockLocations)||void 0===o?void 0:o.map((function(i){return new n(i)})))||null,this.paymentGateways=(null===(e=t.paymentGateways)||void 0===e?void 0:e.map((function(i){return new s(i)})))||null,i(this)},n=function(t){this.id=t.id,this.order=t.order,i(this)},s=function(t){this.id=t.id,this.order=t.order,i(this)};export{t as IkasSalesChannel,s as IkasSalesChannelPaymentGateway,n as IkasSalesChannelStockLocation};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IkasBaseModel } from "../base";
|
|
2
|
+
import { IkasState as IState } from "@ikas/storefront-models";
|
|
3
|
+
export declare class IkasState extends IkasBaseModel implements IState {
|
|
4
|
+
countryId: string;
|
|
5
|
+
name: string;
|
|
6
|
+
stateCode: string | null;
|
|
7
|
+
constructor(data: IState);
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__extends as t}from'./../../../ext/tslib/tslib.es6.js';import{IkasBaseModel as o}from"../base/index.js";import{makeObservable as e,observable as r}from"mobx";var n=function(o){function n(t){var n=o.call(this,t)||this;return n.countryId=t.countryId,n.name=t.name,n.stateCode=t.stateCode,e(n,{countryId:r,name:r,stateCode:r}),n}return t(n,o),n}(o);export{n as IkasState};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IkasStockLocationAddressCity as IStockLocationAddressCity } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasStockLocationAddressCity implements IStockLocationAddressCity {
|
|
3
|
+
code: string | null;
|
|
4
|
+
id: string | null;
|
|
5
|
+
name: string;
|
|
6
|
+
constructor(data: IStockLocationAddressCity);
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var t=function(t){this.code=null,this.id=null,this.code=t.code,this.id=t.id,this.name=t.name,i(this)};export{t as IkasStockLocationAddressCity};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IkasStockLocationAddressCountry as IStockLocationAddressCountry } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasStockLocationAddressCountry implements IStockLocationAddressCountry {
|
|
3
|
+
code: string | null;
|
|
4
|
+
id: string | null;
|
|
5
|
+
name: string;
|
|
6
|
+
constructor(data: IStockLocationAddressCountry);
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var t=function(t){this.code=null,this.id=null,this.code=t.code,this.id=t.id,this.name=t.name,i(this)};export{t as IkasStockLocationAddressCountry};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IkasStockLocationAddressDistrict as IStockLocationAddressDistrict } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasStockLocationAddressDistrict implements IStockLocationAddressDistrict {
|
|
3
|
+
code: string | null;
|
|
4
|
+
id: string | null;
|
|
5
|
+
name: string | null;
|
|
6
|
+
constructor(data: IStockLocationAddressDistrict);
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var t=function(t){this.code=null,this.id=null,this.name=null,this.code=t.code,this.id=t.id,this.name=t.name,i(this)};export{t as IkasStockLocationAddressDistrict};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IkasStockLocationAddressCity } from "./city";
|
|
2
|
+
import { IkasStockLocationAddressCountry } from "./country";
|
|
3
|
+
import { IkasStockLocationAddressDistrict } from "./district";
|
|
4
|
+
import { IkasStockLocationAddressState } from "./state";
|
|
5
|
+
import { IkasStockLocationAddress as IStockLocationAddress } from "@ikas/storefront-models";
|
|
6
|
+
export declare class IkasStockLocationAddress implements IStockLocationAddress {
|
|
7
|
+
address: string | null;
|
|
8
|
+
city: IkasStockLocationAddressCity | null;
|
|
9
|
+
country: IkasStockLocationAddressCountry | null;
|
|
10
|
+
district: IkasStockLocationAddressDistrict | null;
|
|
11
|
+
state: IkasStockLocationAddressState | null;
|
|
12
|
+
phone: string | null;
|
|
13
|
+
postalCode: string | null;
|
|
14
|
+
constructor(data: IStockLocationAddress);
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{IkasStockLocationAddressCity as t}from"./city/index.js";import{IkasStockLocationAddressCountry as i}from"./country/index.js";import{IkasStockLocationAddressDistrict as s}from"./district/index.js";import{IkasStockLocationAddressState as n}from"./state/index.js";import{makeAutoObservable as l}from"mobx";var o=function(o){this.address=null,this.city=null,this.country=null,this.district=null,this.state=null,this.phone=null,this.postalCode=null,this.address=o.address||null,this.city=o.city?new t(o.city):null,this.country=o.country?new i(o.country):null,this.district=o.district?new s(o.district):null,this.state=o.state?new n(o.state):null,this.phone=o.phone||null,this.postalCode=o.postalCode||null,l(this)};export{o as IkasStockLocationAddress};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IkasStockLocationAddressState as IStockLocationAddressState } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasStockLocationAddressState implements IStockLocationAddressState {
|
|
3
|
+
code: string | null;
|
|
4
|
+
id: string | null;
|
|
5
|
+
name: string | null;
|
|
6
|
+
constructor(data: IStockLocationAddressState);
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var t=function(t){this.code=null,this.id=null,this.name=null,this.code=t.code,this.id=t.id,this.name=t.name,i(this)};export{t as IkasStockLocationAddressState};
|