@ikas/storefront 4.0.0-alpha.6 → 4.0.0-alpha.60
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/index4.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/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 +32 -0
- package/build/components/checkout/index.js +1 -0
- package/build/components/checkout/model.d.ts +161 -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/image/index.d.ts +10 -0
- package/build/components/image/index.js +1 -0
- package/build/components/index.d.ts +5 -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 +21 -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/decode-uri-component/index.js +1 -0
- package/build/ext/filter-obj/index.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/query-string/index.js +1 -0
- package/build/ext/react-is/cjs/react-is.development.js +9 -0
- package/build/ext/react-is/cjs/react-is.production.min.js +9 -0
- package/build/ext/react-is/index.js +1 -0
- package/build/ext/react-tooltip/dist/index.es.js +1 -0
- package/build/ext/split-on-first/index.js +1 -0
- package/build/ext/strict-uri-encode/index.js +1 -0
- package/build/ext/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 +13 -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 +137 -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 +39 -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 +16 -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 +14 -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 +74 -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 +36 -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 +17 -16
- 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 -550
- 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 -209
- 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 -20
- package/src/components/checkout/components/phone-number-input/index.tsx +0 -120
- package/src/components/checkout/components/phone-number-input/locale/en.ts +0 -257
- 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 @@
|
|
|
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};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IkasStockLocationType } from "..";
|
|
2
|
+
import { IkasStockLocationAddress } from "../address";
|
|
3
|
+
import { IkasAvailableStockLocation as IAvailableStockLocation } from "@ikas/storefront-models";
|
|
4
|
+
export declare class IkasAvailableStockLocation implements IAvailableStockLocation {
|
|
5
|
+
address: IkasStockLocationAddress | null;
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
type: IkasStockLocationType | null;
|
|
9
|
+
constructor(data: IAvailableStockLocation);
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{IkasStockLocationAddress as s}from"../address/index.js";import{makeAutoObservable as d}from"mobx";var e=function(e){this.address=e.address?new s(e.address):null,this.id=e.id,this.name=e.name,this.type=e.type||null,d(this)};export{e as IkasAvailableStockLocation};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IkasStockLocationDeliveryTime, IkasStockLocationType, IkasStockLocation as IStockLocation } from "@ikas/storefront-models";
|
|
2
|
+
import { IkasStockLocationAddress } from "./address";
|
|
3
|
+
export declare class IkasStockLocation implements IStockLocation {
|
|
4
|
+
address: IkasStockLocationAddress | null;
|
|
5
|
+
deliveryTime: IkasStockLocationDeliveryTime | null;
|
|
6
|
+
description: string | null;
|
|
7
|
+
isRemindOutOfStockEnabled: boolean | null;
|
|
8
|
+
name: string;
|
|
9
|
+
outOfStockMailList: string[] | null;
|
|
10
|
+
type: IkasStockLocationType | null;
|
|
11
|
+
id: string;
|
|
12
|
+
constructor(data: IStockLocation);
|
|
13
|
+
}
|
|
14
|
+
export { IkasStockLocationDeliveryTime, IkasStockLocationType };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{IkasStockLocationDeliveryTime,IkasStockLocationType}from"@ikas/storefront-models";import{makeAutoObservable as i}from"mobx";import{IkasStockLocationAddress as t}from"./address/index.js";var s=function(s){this.address=null,this.deliveryTime=null,this.description=null,this.isRemindOutOfStockEnabled=null,this.outOfStockMailList=null,this.type=null,this.address=s.address?new t(s.address):null,this.deliveryTime=s.deliveryTime||null,this.description=s.description||null,this.isRemindOutOfStockEnabled=s.isRemindOutOfStockEnabled||null,this.name=s.name,this.outOfStockMailList=s.outOfStockMailList||null,this.type=s.type||null,this.id=s.id,i(this)};export{s as IkasStockLocation};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IkasStorefrontDomain as IStorefrontDomain } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasStorefrontDomain implements IStorefrontDomain {
|
|
3
|
+
id: string;
|
|
4
|
+
merchantDomainId: string;
|
|
5
|
+
name: string;
|
|
6
|
+
redirectDomainName: string | null;
|
|
7
|
+
isDefault: boolean | null;
|
|
8
|
+
constructor(data: IStorefrontDomain);
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var t=function(t){this.redirectDomainName=null,this.isDefault=null,this.id=t.id,this.merchantDomainId=t.merchantDomainId,this.name=t.name,this.redirectDomainName=t.redirectDomainName,this.isDefault=t.isDefault,i(this)};export{t as IkasStorefrontDomain};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IkasStorefrontLocalization } from "./localization";
|
|
2
|
+
import { IkasStorefrontDomain } from "./domain";
|
|
3
|
+
import { IkasStorefrontRouting } from "./routing";
|
|
4
|
+
import { IkasStorefrontTheme } from "./theme";
|
|
5
|
+
import { IkasStorefrontStatus } from "@ikas/storefront-models";
|
|
6
|
+
import { IkasStorefront as IStorefront } from "@ikas/storefront-models";
|
|
7
|
+
export declare class IkasStorefront implements IStorefront {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
status: IkasStorefrontStatus;
|
|
11
|
+
mainStorefrontThemeId: string | null;
|
|
12
|
+
pickUpStockLocationIds: string[] | null;
|
|
13
|
+
emailSettingsId: string | null;
|
|
14
|
+
salesChannelId: string | null;
|
|
15
|
+
fbpId: string | null;
|
|
16
|
+
gtmId: string | null;
|
|
17
|
+
analytics4Id: string | null;
|
|
18
|
+
universalAnalyticsId: string | null;
|
|
19
|
+
tiktokPixelId: string | null;
|
|
20
|
+
token: string | null;
|
|
21
|
+
localizations: IkasStorefrontLocalization[];
|
|
22
|
+
routings: IkasStorefrontRouting[];
|
|
23
|
+
domains: IkasStorefrontDomain[];
|
|
24
|
+
themes: IkasStorefrontTheme[];
|
|
25
|
+
constructor(data?: Partial<IkasStorefront>);
|
|
26
|
+
}
|
|
27
|
+
export { IkasStorefrontStatus };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{IkasStorefrontLocalization as t}from"./localization/index.js";import{IkasStorefrontDomain as i}from"./domain/index.js";import{IkasStorefrontRouting as n}from"./routing/index.js";import{IkasStorefrontTheme as o}from"./theme/index.js";import{IkasStorefrontStatus as s}from"@ikas/storefront-models";export{IkasStorefrontStatus}from"@ikas/storefront-models";import{makeAutoObservable as e}from"mobx";var l=function(l){void 0===l&&(l={}),this.id=l.id||"",this.name=l.name||"",this.status=l.status||s.WAITING,this.mainStorefrontThemeId=l.mainStorefrontThemeId||null,this.pickUpStockLocationIds=l.pickUpStockLocationIds||null,this.emailSettingsId=l.emailSettingsId||null,this.salesChannelId=l.salesChannelId||null,this.gtmId=l.gtmId||null,this.fbpId=l.fbpId||null,this.analytics4Id=l.analytics4Id||null,this.universalAnalyticsId=l.universalAnalyticsId||null,this.tiktokPixelId=l.tiktokPixelId||null,this.token=l.token||null,this.localizations=l.localizations?l.localizations.map((function(i){return new t(i)})):[],this.routings=l.routings?l.routings.map((function(t){return new n(t)})):[],this.domains=l.domains?l.domains.map((function(t){return new i(t)})):[],this.themes=l.themes?l.themes.map((function(t){return new o(t)})):[],e(this)};export{l as IkasStorefront};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IkasStorefrontLocalization as IStorefrontLocalization } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasStorefrontLocalization implements IStorefrontLocalization {
|
|
3
|
+
id: string;
|
|
4
|
+
isDefault: boolean;
|
|
5
|
+
locale: string;
|
|
6
|
+
name: string;
|
|
7
|
+
constructor(data: IStorefrontLocalization);
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var t=function(t){this.id=t.id,this.isDefault=t.isDefault,this.locale=t.locale,this.name=t.name,i(this)};export{t as IkasStorefrontLocalization};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IkasStorefrontDynamicCurrencySettings as IStorefrontDynamicCurrencySettings } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasStorefrontDynamicCurrencySettings implements IStorefrontDynamicCurrencySettings {
|
|
3
|
+
roundingFormat: string | null;
|
|
4
|
+
targetCurrencyCode: string;
|
|
5
|
+
constructor(data: IStorefrontDynamicCurrencySettings);
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as r}from"mobx";var t=function(t){this.roundingFormat=null,this.roundingFormat=t.roundingFormat||null,this.targetCurrencyCode=t.targetCurrencyCode,r(this)};export{t as IkasStorefrontDynamicCurrencySettings};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IkasStorefrontDynamicCurrencySettings } from "./dynamic-currency";
|
|
2
|
+
import { IkasStorefrontRouting as IStorefrontRouting } from "@ikas/storefront-models";
|
|
3
|
+
export declare class IkasStorefrontRouting implements IStorefrontRouting {
|
|
4
|
+
id: string;
|
|
5
|
+
countryCodes: string[] | null;
|
|
6
|
+
domain: string | null;
|
|
7
|
+
locale: string;
|
|
8
|
+
path: string | null;
|
|
9
|
+
priceListId: string | null;
|
|
10
|
+
dynamicCurrencySettings: IkasStorefrontDynamicCurrencySettings | null;
|
|
11
|
+
currencyCode: string | null;
|
|
12
|
+
currencySymbol: string | null;
|
|
13
|
+
constructor(data: IStorefrontRouting);
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var t=function(t){this.id=t.id,this.countryCodes=t.countryCodes,this.domain=t.domain,this.locale=t.locale,this.path=t.path,this.priceListId=t.priceListId,this.dynamicCurrencySettings=t.dynamicCurrencySettings,this.currencyCode=t.currencyCode,this.currencySymbol=t.currencySymbol,i(this)};export{t as IkasStorefrontRouting};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IkasStorefrontTheme as IStorefrontTheme, IkasStorefrontThemeStatus } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasStorefrontTheme implements IkasStorefrontTheme {
|
|
3
|
+
id: string;
|
|
4
|
+
isMainTheme: boolean;
|
|
5
|
+
name: string;
|
|
6
|
+
status: IkasStorefrontThemeStatus;
|
|
7
|
+
themeId: string;
|
|
8
|
+
themeVersionId: string;
|
|
9
|
+
constructor(data: IStorefrontTheme);
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as t}from"mobx";var e=function(e){this.id=e.id,this.isMainTheme=e.isMainTheme,this.name=e.name,this.status=e.status,this.themeId=e.themeId,this.themeVersionId=e.themeVersionId,t(this)};export{e as IkasStorefrontTheme};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IkasThemeJson } from "../../theme-json";
|
|
2
|
+
import { IkasStorefrontThemeLocalization as IStorefrontThemeLocalization } from "@ikas/storefront-models";
|
|
3
|
+
export declare class IkasStorefrontThemeLocalization implements IStorefrontThemeLocalization {
|
|
4
|
+
id: string;
|
|
5
|
+
locale: string;
|
|
6
|
+
storefrontId: string;
|
|
7
|
+
storefrontThemeId: string;
|
|
8
|
+
themeJson: IkasThemeJson;
|
|
9
|
+
privacyPolicy: string | null;
|
|
10
|
+
returnPolicy: string | null;
|
|
11
|
+
termsOfService: string | null;
|
|
12
|
+
constructor(data: IkasStorefrontThemeLocalization);
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{IkasThemeJson as t}from"../../theme-json/index.js";import{makeAutoObservable as e}from"mobx";var o=function(o){this.id=o.id,this.locale=o.locale,this.storefrontId=o.storefrontId,this.storefrontThemeId=o.storefrontThemeId,this.themeJson=new t(o.themeJson),this.privacyPolicy=o.privacyPolicy||null,this.returnPolicy=o.returnPolicy||null,this.termsOfService=o.termsOfService||null,e(this)};export{o as IkasStorefrontThemeLocalization};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IkasThemeJsonComponentProp } from "./prop";
|
|
2
|
+
import { IkasThemeJsonComponent as IThemeJsonComponent } from "@ikas/storefront-models";
|
|
3
|
+
export declare class IkasThemeJsonComponent implements IThemeJsonComponent {
|
|
4
|
+
id: string;
|
|
5
|
+
dir: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
description: string;
|
|
8
|
+
props: IkasThemeJsonComponentProp[];
|
|
9
|
+
isHeader: boolean;
|
|
10
|
+
isFooter: boolean;
|
|
11
|
+
translations: {
|
|
12
|
+
[locale: string]: ComponentTranslation;
|
|
13
|
+
};
|
|
14
|
+
constructor(data: Partial<IkasThemeJsonComponent>);
|
|
15
|
+
}
|
|
16
|
+
export declare class ComponentTranslation {
|
|
17
|
+
displayName: string | null;
|
|
18
|
+
description: string | null;
|
|
19
|
+
constructor(data?: Partial<ComponentTranslation>);
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";import{IkasThemeJsonComponentProp as s}from"./prop/index.js";var t=function(t){this.translations={},this.id=t.id||"",this.dir=t.dir||"",this.displayName=t.displayName||"",this.description=t.description||"",this.props=t.props?t.props.map((function(i){return new s(i)})):[],this.translations=t.translations||{},this.isHeader=t.isHeader||!1,this.isFooter=t.isFooter||!1,i(this)},o=function(i){void 0===i&&(i={}),this.displayName=i.displayName||null,this.description=i.description||null};export{o as ComponentTranslation,t as IkasThemeJsonComponent};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IkasProductAttributeType, IkasThemeJsonComponentPropType, IkasThemeJsonSliderData } from "@ikas/storefront-models";
|
|
2
|
+
import { IkasThemeJsonComponentProp as IThemeJsonComponentProp } from "@ikas/storefront-models";
|
|
3
|
+
export declare class IkasThemeJsonComponentProp implements IThemeJsonComponentProp {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
description: string;
|
|
8
|
+
type: IkasThemeJsonComponentPropType;
|
|
9
|
+
isRequired: boolean;
|
|
10
|
+
customDataId?: string | null;
|
|
11
|
+
requiredPropId?: string;
|
|
12
|
+
requiredEnumOptionId?: string;
|
|
13
|
+
requiredEnumOptionValue?: string;
|
|
14
|
+
attributeTypes?: IkasProductAttributeType[] | null;
|
|
15
|
+
sliderData: IkasThemeJsonSliderData;
|
|
16
|
+
translations: {
|
|
17
|
+
[locale: string]: PropTranslation;
|
|
18
|
+
};
|
|
19
|
+
constructor(data: Partial<IkasThemeJsonComponentProp>);
|
|
20
|
+
}
|
|
21
|
+
export { IkasThemeJsonComponentPropType };
|
|
22
|
+
declare class PropTranslation {
|
|
23
|
+
displayName: string | null;
|
|
24
|
+
description: string | null;
|
|
25
|
+
constructor(data?: Partial<PropTranslation>);
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{IkasThemeJsonComponentPropType as t}from"@ikas/storefront-models";export{IkasThemeJsonComponentPropType}from"@ikas/storefront-models";import{makeAutoObservable as i}from"mobx";var e=function(e){this.translations={},this.id=e.id||Date.now()+"",this.name=e.name||"",this.displayName=e.displayName||"",this.description=e.description||"",this.type=e.type||t.TEXT,this.isRequired=e.isRequired||!1,this.customDataId=e.customDataId||null,this.requiredPropId=e.requiredPropId,this.requiredEnumOptionId=e.requiredEnumOptionId,this.requiredEnumOptionValue=e.requiredEnumOptionValue,this.attributeTypes=e.attributeTypes||null,this.sliderData=e.sliderData||{},this.translations=e.translations||{},i(this)};export{e as IkasThemeJsonComponentProp};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { IkasProductAttributeType } from "../../../data/product/attribute";
|
|
2
|
+
import { IkasThemeJsonComponentPropType, IkasThemeJsonSliderData, IkasThemeJsonCustomData as IThemeJsonCustomData, IkasThemeJsonEnumOption as IThemeJsonEnumOption, IkasThemeJsonCustomDataTranslation as IThemeJsonCustomDataTranslation, IkasThemeJsonCustomDataEnumOptionTranslation as IThemeJsonCustomDataEnumOptionTranslation } from "@ikas/storefront-models";
|
|
3
|
+
export declare class IkasThemeJsonCustomData implements IThemeJsonCustomData {
|
|
4
|
+
id: string;
|
|
5
|
+
name?: string | null;
|
|
6
|
+
description?: string | null;
|
|
7
|
+
typescriptName?: string | null;
|
|
8
|
+
type: IkasThemeJsonComponentPropType;
|
|
9
|
+
isRequired: boolean;
|
|
10
|
+
translations: {
|
|
11
|
+
[locale: string]: IkasThemeJsonCustomDataTranslation;
|
|
12
|
+
};
|
|
13
|
+
key?: string | null;
|
|
14
|
+
nestedData?: IkasThemeJsonCustomData[] | null;
|
|
15
|
+
itemCount?: number | null;
|
|
16
|
+
attributeTypes?: IkasProductAttributeType[] | null;
|
|
17
|
+
enumOptions?: IkasThemeJsonEnumOption[] | null;
|
|
18
|
+
customDataId?: string | null;
|
|
19
|
+
sliderData: IkasThemeJsonSliderData;
|
|
20
|
+
isRoot: boolean;
|
|
21
|
+
parent?: IkasThemeJsonCustomData | null;
|
|
22
|
+
constructor(data?: Partial<IkasThemeJsonCustomData>);
|
|
23
|
+
get flat(): IkasThemeJsonCustomData[];
|
|
24
|
+
toJSON(): this;
|
|
25
|
+
}
|
|
26
|
+
export declare class IkasThemeJsonEnumOption implements IThemeJsonEnumOption {
|
|
27
|
+
id: string;
|
|
28
|
+
displayName: string;
|
|
29
|
+
value: string;
|
|
30
|
+
translations: {
|
|
31
|
+
[locale: string]: IkasThemeJsonCustomDataEnumOptionTranslation;
|
|
32
|
+
};
|
|
33
|
+
constructor(data?: Partial<IkasThemeJsonEnumOption>);
|
|
34
|
+
}
|
|
35
|
+
export declare class IkasThemeJsonCustomDataTranslation implements IThemeJsonCustomDataTranslation {
|
|
36
|
+
name: string | null;
|
|
37
|
+
description: string | null;
|
|
38
|
+
constructor(data?: Partial<IkasThemeJsonCustomDataTranslation>);
|
|
39
|
+
}
|
|
40
|
+
export declare class IkasThemeJsonCustomDataEnumOptionTranslation implements IThemeJsonCustomDataEnumOptionTranslation {
|
|
41
|
+
displayName: string | null;
|
|
42
|
+
constructor(data?: Partial<IkasThemeJsonCustomDataEnumOptionTranslation>);
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__assign as t}from'./../../../../ext/tslib/tslib.es6.js';import{makeAutoObservable as i}from"mobx";import n from"lodash/flatten";import{IkasThemeJsonComponentPropType as s}from"@ikas/storefront-models";var e=function(){function e(n){void 0===n&&(n={});var o,r=this;this.translations={},this.customDataId=null,this.id=n.id||"",this.name=n.name||null,this.description=n.description||null,this.typescriptName=n.name||null,this.type=n.type||s.TEXT,this.isRequired=void 0===n.isRequired||n.isRequired,this.translations=n.translations||{},this.key=n.key||null,this.parent=n.parent||null,this.itemCount=n.itemCount||null,this.attributeTypes=n.attributeTypes||null,this.enumOptions=(null===(o=n.enumOptions)||void 0===o?void 0:o.map((function(t){return new a(t)})))||null,this.customDataId=n.customDataId||null,this.sliderData=n.sliderData||{},this.isRoot=n.isRoot||!1,this.nestedData=n.nestedData?n.nestedData.map((function(i){return new e(t(t({},i),{parent:r}))})):null,this.type!==s.STATIC_LIST||this.itemCount||(this.itemCount=1),i(this)}return Object.defineProperty(e.prototype,"flat",{get:function(){if(!this.nestedData||!this.nestedData.length)return[this];var t=n(this.nestedData.map((function(t){return t.flat}))),i=[];return i.push(this),i=i.concat(t)},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){var i=t({},this);return delete i.parent,i},e}(),a=function(t){void 0===t&&(t={}),this.translations={},this.id=t.id||"",this.displayName=t.displayName||"",this.value=t.value||"",this.translations=t.translations||{},i(this)},o=function(t){void 0===t&&(t={}),this.name=t.name||null,this.description=t.description||null},r=function(t){void 0===t&&(t={}),this.displayName=t.displayName||null};export{e as IkasThemeJsonCustomData,r as IkasThemeJsonCustomDataEnumOptionTranslation,o as IkasThemeJsonCustomDataTranslation,a as IkasThemeJsonEnumOption};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IkasThemeJsonComponent } from "./component";
|
|
2
|
+
import { IkasThemeJsonCustomData } from "./custom-data";
|
|
3
|
+
import { IkasThemeJsonPage } from "./page";
|
|
4
|
+
import { IkasThemeJsonSettings } from "./settings";
|
|
5
|
+
export declare const CHECKOUT_ID = "checkout";
|
|
6
|
+
export declare class IkasThemeJson {
|
|
7
|
+
name: string;
|
|
8
|
+
components: IkasThemeJsonComponent[];
|
|
9
|
+
pages: IkasThemeJsonPage[];
|
|
10
|
+
settings: IkasThemeJsonSettings;
|
|
11
|
+
customData: IkasThemeJsonCustomData[];
|
|
12
|
+
constructor(data?: Partial<IkasThemeJson>);
|
|
13
|
+
get headerComponent(): IkasThemeJsonComponent | undefined;
|
|
14
|
+
get footerComponent(): IkasThemeJsonComponent | undefined;
|
|
15
|
+
private createCheckoutData;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as e}from"mobx";import{IkasThemeJsonComponent as o}from"./component/index.js";import{IkasThemeJsonComponentProp as t}from"./component/prop/index.js";import{IkasThemeJsonCustomData as n}from"./custom-data/index.js";import{IkasThemeJsonPage as r}from"./page/index.js";import{IkasThemeJsonPageComponent as i}from"./page/component/index.js";import{IkasThemeJsonSettings as s}from"./settings/index.js";import{IkasThemeJsonComponentPropType as a,IkasThemeJsonPageType as p}from"@ikas/storefront-models";var u="checkout",m=function(){function u(t){var i;void 0===t&&(t={}),this.name=t.name||"",this.components=t.components?t.components.map((function(e){return new o(e)})):[],this.pages=t.pages?t.pages.map((function(e){return new r(e)})):[],this.settings=t.settings?new s(t.settings):new s,this.customData=t.customData?null===(i=t.customData)||void 0===i?void 0:i.map((function(e){return new n(e)})):[],this.createCheckoutData(),e(this)}return Object.defineProperty(u.prototype,"headerComponent",{get:function(){return this.components.find((function(e){return e.isHeader}))},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"footerComponent",{get:function(){return this.components.find((function(e){return e.isFooter}))},enumerable:!1,configurable:!0}),u.prototype.createCheckoutData=function(){var e=this.components.find((function(e){return"checkout"===e.id})),n=this.pages.find((function(e){return"checkout"===e.id}));e||(e=new o({id:"checkout",dir:"",displayName:"",props:[new t({name:"showTax",isRequired:!1,type:a.BOOLEAN}),new t({name:"buttonBgColor",isRequired:!1,type:a.COLOR}),new t({name:"buttonTextColor",isRequired:!1,type:a.COLOR}),new t({name:"buttonDisabledBgColor",isRequired:!1,type:a.COLOR}),new t({name:"buttonDisabledTextColor",isRequired:!1,type:a.COLOR}),new t({name:"primaryTextColor",isRequired:!1,type:a.COLOR}),new t({name:"secondaryTextColor",isRequired:!1,type:a.COLOR}),new t({name:"primaryBgColor",isRequired:!1,type:a.COLOR}),new t({name:"secondaryBgColor",isRequired:!1,type:a.COLOR}),new t({name:"borderColor",isRequired:!1,type:a.COLOR}),new t({name:"cardBgColor",isRequired:!1,type:a.COLOR}),new t({name:"errorColor",isRequired:!1,type:a.COLOR}),new t({name:"errorLightColor",isRequired:!1,type:a.COLOR}),new t({name:"warningColor",isRequired:!1,type:a.COLOR}),new t({name:"warningLightColor",isRequired:!1,type:a.COLOR}),new t({name:"successColor",isRequired:!1,type:a.COLOR}),new t({name:"successLightColor",isRequired:!1,type:a.COLOR})]}),this.components.push(e)),n||this.pages.push(new r({id:"checkout",type:p.CHECKOUT,components:[new i({componentId:e.id,propValues:{showTax:!0,buttonBgColor:c,buttonTextColor:C,buttonDisabledBgColor:d,buttonDisabledTextColor:l,primaryTextColor:O,secondaryTextColor:g,primaryBgColor:F,secondaryBgColor:R,borderColor:y,cardBgColor:h,errorColor:w,errorLightColor:f,warningColor:L,warningLightColor:b,successColor:x,successLightColor:q}})]}))},u}(),c="#272727",C="#FFFFFF",d="#F7F7F9",l="#8A8B94",O="#272727",g="#8A8B94",F="#FFFFFF",R="#F7F7F9",y="#E5E4E9",h="#F7F7F9",w="#FB4E4E",f="#FCF3F4",L="#FFBC1F",b="#FFFAEE",x="#2DCA73",q="#F6FFED";export{u as CHECKOUT_ID,m as IkasThemeJson};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IkasThemeJsonPageComponent as IThemeJsonPageComponent } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasThemeJsonPageComponent implements IThemeJsonPageComponent {
|
|
3
|
+
id: string;
|
|
4
|
+
componentId: string;
|
|
5
|
+
propValues: Record<string, any>;
|
|
6
|
+
constructor(data: Partial<IkasThemeJsonPageComponent>);
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as o}from"mobx";var t=function(t){this.id=t.id||"",this.componentId=t.componentId||"",this.propValues=t.propValues||{},o(this)};export{t as IkasThemeJsonPageComponent};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IkasThemeJsonPageComponent } from "./component";
|
|
2
|
+
import { IkasThemeJsonPage as IThemeJsonPage, IkasThemeJsonPageType } from "@ikas/storefront-models";
|
|
3
|
+
export declare class IkasThemeJsonPage implements IThemeJsonPage {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string | null;
|
|
6
|
+
type: IkasThemeJsonPageType;
|
|
7
|
+
slug: string | null;
|
|
8
|
+
pageTitle: string | null;
|
|
9
|
+
description: string | null;
|
|
10
|
+
components: IkasThemeJsonPageComponent[];
|
|
11
|
+
specifications: IkasThemeJsonPageSpecification[] | null;
|
|
12
|
+
canonicals: string[] | null;
|
|
13
|
+
disableIndex: boolean | null;
|
|
14
|
+
constructor(data: Partial<IkasThemeJsonPage>);
|
|
15
|
+
}
|
|
16
|
+
export declare class IkasThemeJsonPageSpecification {
|
|
17
|
+
id: string;
|
|
18
|
+
components: IkasThemeJsonPageComponent[];
|
|
19
|
+
constructor(data: Partial<IkasThemeJsonPageSpecification>);
|
|
20
|
+
}
|
|
21
|
+
export { IkasThemeJsonPageType };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as n}from"mobx";import{IkasThemeJsonPageComponent as i}from"./component/index.js";import{IkasThemeJsonPageType as t}from"@ikas/storefront-models";export{IkasThemeJsonPageType}from"@ikas/storefront-models";var o=function(o){var e;this.id=o.id||Date.now()+"",this.name=o.name||null,this.type=o.type||t.INDEX,this.slug=o.slug||null,this.pageTitle=o.pageTitle||null,this.description=o.description||null,this.components=o.components?o.components.map((function(n){return new i(n)})):[],this.specifications=o.specifications?o.specifications.map((function(n){return new s(n)})):null,this.canonicals=o.canonicals||null,this.disableIndex=null!==(e=o.disableIndex)&&void 0!==e?e:null,n(this)},s=function(t){this.id=t.id||"",this.components=t.components?t.components.map((function(n){return new i(n)})):[],n(this)};export{o as IkasThemeJsonPage,s as IkasThemeJsonPageSpecification};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IkasThemeJsonColor as IThemeJsonColor, IkasThemeJsonColorTranslation as IThemeJsonColorTranslation } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasThemeJsonColor implements IThemeJsonColor {
|
|
3
|
+
id: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
key: string;
|
|
6
|
+
color: string;
|
|
7
|
+
translations: {
|
|
8
|
+
[locale: string]: IkasThemeJsonColorTranslation;
|
|
9
|
+
};
|
|
10
|
+
constructor(data: Partial<IkasThemeJsonColor>);
|
|
11
|
+
}
|
|
12
|
+
export declare class IkasThemeJsonColorTranslation implements IThemeJsonColorTranslation {
|
|
13
|
+
displayName: string | null;
|
|
14
|
+
constructor(data?: Partial<IkasThemeJsonColorTranslation>);
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var s=function(s){this.translations={},this.id=s.id||"",this.displayName=s.displayName||"",this.key=s.key||"",this.color=s.color||"",this.translations=s.translations||{},i(this)},t=function(i){void 0===i&&(i={}),this.displayName=i.displayName||null};export{s as IkasThemeJsonColor,t as IkasThemeJsonColorTranslation};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var o=function(o){this.id=(null==o?void 0:o.id)||null,i(this)};export{o as IkasThemeJsonFavicon};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IkasThemeJsonFontFamily as IThemeJsonFontFamily } from "@ikas/storefront-models";
|
|
2
|
+
export declare class IkasThemeJsonFontFamily implements IThemeJsonFontFamily {
|
|
3
|
+
name: string | null;
|
|
4
|
+
variants: string[] | null;
|
|
5
|
+
constructor(data?: Partial<IThemeJsonFontFamily>);
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as i}from"mobx";var n=function(n){void 0===n&&(n={}),this.name=n.name||null,this.variants=n.variants||null,i(this)};export{n as IkasThemeJsonFontFamily};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IkasThemeJsonStockPreference } from "@ikas/storefront-models";
|
|
2
|
+
import { IkasThemeJsonColor } from "./color";
|
|
3
|
+
import { IkasThemeJsonFavicon } from "./favicon";
|
|
4
|
+
import { IkasThemeJsonFontFamily } from "./font-family";
|
|
5
|
+
import { IkasThemeJsonSettings as IThemeJsonSettings } from "@ikas/storefront-models";
|
|
6
|
+
export declare class IkasThemeJsonSettings implements IThemeJsonSettings {
|
|
7
|
+
colors: IkasThemeJsonColor[];
|
|
8
|
+
favicon: IkasThemeJsonFavicon;
|
|
9
|
+
stockPreference: IkasThemeJsonStockPreference;
|
|
10
|
+
fontFamily: IkasThemeJsonFontFamily;
|
|
11
|
+
constructor(data?: Partial<IkasThemeJsonSettings>);
|
|
12
|
+
}
|
|
13
|
+
export { IkasThemeJsonStockPreference };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{IkasThemeJsonStockPreference as o}from"@ikas/storefront-models";export{IkasThemeJsonStockPreference}from"@ikas/storefront-models";import{makeAutoObservable as r}from"mobx";import{IkasThemeJsonColor as i}from"./color/index.js";import{IkasThemeJsonFavicon as e}from"./favicon/index.js";import{IkasThemeJsonFontFamily as n}from"./font-family/index.js";var t=function(t){var f;void 0===t&&(t={}),this.colors=t.colors?t.colors.map((function(o){return new i(o)})):[],this.favicon=(null===(f=t.favicon)||void 0===f?void 0:f.id)?t.favicon:new e,this.stockPreference=t.stockPreference||o.SHOW_ALL,this.fontFamily=t.fontFamily?new n(t.fontFamily):new n,r(this)};export{t as IkasThemeJsonSettings};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IkasVariantSelectionType, IkasVariantType as IVariantType, IkasVariantTypeTranslation } from "@ikas/storefront-models";
|
|
2
|
+
import { IkasVariantValue } from "./variant-value";
|
|
3
|
+
export declare class IkasVariantType implements IVariantType {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
selectionType: IkasVariantSelectionType;
|
|
7
|
+
values: IkasVariantValue[];
|
|
8
|
+
translations?: IkasVariantTypeTranslation[] | null;
|
|
9
|
+
constructor(data?: Partial<IVariantType>);
|
|
10
|
+
get isColorSelection(): boolean;
|
|
11
|
+
get slug(): string;
|
|
12
|
+
}
|
|
13
|
+
export { IkasVariantSelectionType };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__assign as e}from'./../../../ext/tslib/tslib.es6.js';import{IkasVariantTypeFunctions as t}from"@ikas/storefront-model-functions";import{IkasVariantSelectionType as o}from"@ikas/storefront-models";export{IkasVariantSelectionType}from"@ikas/storefront-models";import{makeAutoObservable as i}from"mobx";import{IkasVariantValue as r}from"./variant-value/index.js";var n=function(){function n(t){void 0===t&&(t={});var n=this;this.id=t.id||"",this.name=t.name||"",this.selectionType=t.selectionType||o.CHOICE,this.values=t.values?t.values.map((function(t){return new r(e(e({},t),{variantTypeId:n.id}))})):[],this.translations=t.translations,i(this)}return Object.defineProperty(n.prototype,"isColorSelection",{get:function(){return t.isColorSelection(this)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"slug",{get:function(){return t.getIkasVariantTypeSlug(this)},enumerable:!1,configurable:!0}),n}();export{n as IkasVariantType};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IkasImage } from "../../image";
|
|
2
|
+
import { IkasVariantValue as IVariantValue } from "@ikas/storefront-models";
|
|
3
|
+
export declare class IkasVariantValue implements IVariantValue {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
colorCode: string | null;
|
|
7
|
+
thumbnailImageId: string | null;
|
|
8
|
+
variantTypeId: string;
|
|
9
|
+
thumbnailImage?: IkasImage;
|
|
10
|
+
constructor(data: IVariantValue);
|
|
11
|
+
get slug(): string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{IkasImage as t}from"../../image/index.js";import{makeAutoObservable as e}from"mobx";import{IkasVariantValueFunctions as i}from"@ikas/storefront-model-functions";var o=function(){function o(i){this.colorCode=null,this.thumbnailImageId=null,this.id=i.id,this.name=i.name,this.colorCode=i.colorCode||null,this.variantTypeId=i.variantTypeId,this.thumbnailImage=i.thumbnailImage?new t(i.thumbnailImage):void 0,e(this)}return Object.defineProperty(o.prototype,"slug",{get:function(){return i.getIkasVariantValueSlug(this)},enumerable:!1,configurable:!0}),o}();export{o as IkasVariantValue};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { IkasBlogCategoryListPropValue } from "@ikas/storefront-providers";
|
|
2
|
+
import { IkasBlogCategory } from "../../data";
|
|
3
|
+
export declare class IkasBlogCategoryList {
|
|
4
|
+
data: IkasBlogCategory[];
|
|
5
|
+
private _type;
|
|
6
|
+
private _limit;
|
|
7
|
+
private _page;
|
|
8
|
+
private _count;
|
|
9
|
+
private _initialized;
|
|
10
|
+
private _minPage?;
|
|
11
|
+
private _blogCategoryListPropValue;
|
|
12
|
+
private _isLoading;
|
|
13
|
+
constructor(data: IkasBlogCategoryListParams);
|
|
14
|
+
get limit(): number;
|
|
15
|
+
get page(): number;
|
|
16
|
+
get count(): number;
|
|
17
|
+
get pageCount(): number;
|
|
18
|
+
get isInitialized(): boolean;
|
|
19
|
+
get isStatic(): boolean;
|
|
20
|
+
get hasPrev(): boolean;
|
|
21
|
+
get hasNext(): boolean;
|
|
22
|
+
get isLoading(): boolean;
|
|
23
|
+
private listBlogCategories;
|
|
24
|
+
getPrev: () => Promise<void>;
|
|
25
|
+
getNext: () => Promise<void>;
|
|
26
|
+
getPage: (page: number) => Promise<void>;
|
|
27
|
+
toJSON(): {
|
|
28
|
+
data: IkasBlogCategory[];
|
|
29
|
+
type: IkasBlogCategoryListType;
|
|
30
|
+
limit: number;
|
|
31
|
+
page: number;
|
|
32
|
+
count: number;
|
|
33
|
+
initialized: boolean;
|
|
34
|
+
minPage: number | null | undefined;
|
|
35
|
+
blogCategoryListPropValue: IkasBlogCategoryListPropValue;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export declare type IkasBlogCategoryListParams = {
|
|
39
|
+
data?: IkasBlogCategory[];
|
|
40
|
+
type?: IkasBlogCategoryListType;
|
|
41
|
+
limit?: number;
|
|
42
|
+
page?: number;
|
|
43
|
+
count?: number;
|
|
44
|
+
initialized?: boolean;
|
|
45
|
+
minPage?: number;
|
|
46
|
+
blogCategoryListPropValue: IkasBlogCategoryListPropValue;
|
|
47
|
+
};
|
|
48
|
+
export declare enum IkasBlogCategoryListType {
|
|
49
|
+
ALL = "ALL",
|
|
50
|
+
STATIC = "STATIC"
|
|
51
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as t,__generator as i}from'./../../../ext/tslib/tslib.es6.js';import{makeAutoObservable as e}from"mobx";import a from"../../../store/blog/index.js";import{IkasBlogCategory as o}from"../../data/blog/category/index.js";import"../../data/blog/content/index.js";import"../../data/blog/meta-data/index.js";import"../../data/blog/tag/index.js";import"../../data/blog/index.js";import"../../data/brand/index.js";import"@ikas/storefront-models";import"../../data/campaign-offer/index.js";import"../../data/cart/campaign-offer/index.js";import"../../data/cart/index.js";import"../../data/category/path-item/index.js";import"../../data/category/index.js";import"../../data/checkout/index.js";import"../../data/checkout-settings/index.js";import"../../data/city/index.js";import"../../data/country/index.js";import"../../data/customer/address/index.js";import"../../data/customer/attribute/index.js";import"../../data/customer/review/summary/index.js";import"../../data/customer/review/index.js";import"../../data/customer/index.js";import"../../data/district/index.js";import"../../data/favorite-product/index.js";import"../../data/filter-category/index.js";import"../../data/html-meta-data/index.js";import"../../data/image/index.js";import"../../data/order/address/index.js";import"../../data/order/line-item/variant/value/index.js";import"../../data/order/line-item/variant/index.js";import"../../data/order/line-item/index.js";import"../../data/order/package/index.js";import"../../data/order/index.js";import"../../data/payment-gateway/index.js";import"../../data/product/attribute-value/index.js";import"../../data/product/filter/index.js";import"../../data/product/option-set/option/index.js";import"../../data/product/option-set/index.js";import"../../data/product/variant/price/index.js";import"../../data/product/variant/index.js";import"../../data/variant-type/index.js";import"../../data/product/index.js";import"../../data/raffle/index.js";import"../../data/state/index.js";import"../../data/theme-json/index.js";import"../../data/theme-json/custom-data/index.js";import"../../data/variant-type/variant-value/index.js";var r,n=function(){function n(a){var n=this;this._initialized=!1,this._minPage=null,this._isLoading=!1,this.getPrev=function(){return t(n,void 0,void 0,(function(){var t,e,a,o,r,n;return i(this,(function(i){switch(i.label){case 0:if(this.isStatic||this._isLoading||!this.hasPrev)return[2];this._isLoading=!0,i.label=1;case 1:return i.trys.push([1,3,4,5]),t=this._minPage-1,[4,this.listBlogCategories(t,this.limit)];case 2:return e=i.sent(),this.data=(null===(r=null===(o=e.data)||void 0===o?void 0:o.data)||void 0===r?void 0:r.concat(this.data))||this.data,this._count=(null===(n=e.data)||void 0===n?void 0:n.count)||this._count,this._minPage=t,[3,5];case 3:return a=i.sent(),console.log(a),[3,5];case 4:return this._isLoading=!1,[7];case 5:return[2]}}))}))},this.getNext=function(){return t(n,void 0,void 0,(function(){var t,e,a,o;return i(this,(function(i){switch(i.label){case 0:if(this.isStatic||this._isLoading||!this.hasNext)return[2];this._isLoading=!0,i.label=1;case 1:return i.trys.push([1,3,4,5]),[4,this.listBlogCategories(this.page+1,this.limit)];case 2:return t=i.sent(),this.data=this.data.concat((null===(a=t.data)||void 0===a?void 0:a.data)||[]),this._count=(null===(o=t.data)||void 0===o?void 0:o.count)||this._count,this._page=this.page+1,[3,5];case 3:return e=i.sent(),console.log(e),[3,5];case 4:return this._isLoading=!1,[7];case 5:return[2]}}))}))},this.getPage=function(e){return t(n,void 0,void 0,(function(){var t,a,o,r;return i(this,(function(i){switch(i.label){case 0:if(this._isLoading||this.isStatic)return[2];this._isLoading=!0,i.label=1;case 1:return i.trys.push([1,3,4,5]),[4,this.listBlogCategories(e,this.limit)];case 2:return t=i.sent(),this.data=(null===(o=t.data)||void 0===o?void 0:o.data)||[],this._count=(null===(r=t.data)||void 0===r?void 0:r.count)||0,this._page=e,this._minPage=e,[3,5];case 3:return a=i.sent(),console.log(a),[3,5];case 4:return this._isLoading=!1,[7];case 5:return[2]}}))}))},this.data=a.data?a.data.map((function(t){return new o(t)})):[],this._type=a.type||a.blogCategoryListPropValue.blogCategoryListType||r.ALL,this._limit=a.limit||a.blogCategoryListPropValue.initialLimit||20,this._page=a.page||1,this._count=a.count||0,this._initialized=a.initialized||!1,this._minPage=a.minPage,this._blogCategoryListPropValue=a.blogCategoryListPropValue,e(this)}return Object.defineProperty(n.prototype,"limit",{get:function(){return this._limit},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"page",{get:function(){return this._page},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"count",{get:function(){return this._count},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pageCount",{get:function(){return Math.ceil(this._count/this._limit)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isInitialized",{get:function(){return this._initialized},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isStatic",{get:function(){return this._type===r.STATIC},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hasPrev",{get:function(){return!(this.isStatic||!this._minPage)&&this._minPage>1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hasNext",{get:function(){return!this.isStatic&&this.page*this.limit<this.count},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isLoading",{get:function(){return this._isLoading},enumerable:!1,configurable:!0}),n.prototype.listBlogCategories=function(e,o){return t(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,a.listBlogCategory({id:this.isStatic&&this._blogCategoryListPropValue.blogCategoryIds?{in:this._blogCategoryListPropValue.blogCategoryIds}:void 0,pagination:{page:e,limit:o}})];case 1:return[2,t.sent()]}}))}))},n.prototype.toJSON=function(){return{data:this.data,type:this._type,limit:this._limit,page:this._page,count:this._count,initialized:this._initialized,minPage:this._minPage,blogCategoryListPropValue:this._blogCategoryListPropValue}},n}();!function(t){t.ALL="ALL",t.STATIC="STATIC"}(r||(r={}));export{n as IkasBlogCategoryList,r as IkasBlogCategoryListType};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { IkasBlog } from "../../../models/data/blog";
|
|
2
|
+
import { IkasBlogListPropValue } from "@ikas/storefront-providers";
|
|
3
|
+
export declare class IkasBlogList {
|
|
4
|
+
data: IkasBlog[];
|
|
5
|
+
private _type;
|
|
6
|
+
private _limit;
|
|
7
|
+
private _page;
|
|
8
|
+
private _count;
|
|
9
|
+
private _initialized;
|
|
10
|
+
private _minPage?;
|
|
11
|
+
private _blogListPropValue;
|
|
12
|
+
private _filterCategoryId;
|
|
13
|
+
private _isLoading;
|
|
14
|
+
constructor(data: IkasBlogListParams);
|
|
15
|
+
get limit(): number;
|
|
16
|
+
get page(): number;
|
|
17
|
+
get count(): number;
|
|
18
|
+
get pageCount(): number;
|
|
19
|
+
get isInitialized(): boolean;
|
|
20
|
+
get isStatic(): boolean;
|
|
21
|
+
get hasPrev(): boolean;
|
|
22
|
+
get hasNext(): boolean;
|
|
23
|
+
get isLoading(): boolean;
|
|
24
|
+
private listBlogs;
|
|
25
|
+
getPrev: () => Promise<void>;
|
|
26
|
+
getNext: () => Promise<void>;
|
|
27
|
+
getPage: (page: number) => Promise<void>;
|
|
28
|
+
toJSON(): {
|
|
29
|
+
data: IkasBlog[];
|
|
30
|
+
type: IkasBlogListType;
|
|
31
|
+
limit: number;
|
|
32
|
+
page: number;
|
|
33
|
+
count: number;
|
|
34
|
+
initialized: boolean;
|
|
35
|
+
minPage: number | null | undefined;
|
|
36
|
+
blogListPropValue: IkasBlogListPropValue;
|
|
37
|
+
filterCategoryId: string | null;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export declare type IkasBlogListParams = {
|
|
41
|
+
data?: IkasBlog[];
|
|
42
|
+
type?: IkasBlogListType;
|
|
43
|
+
limit?: number;
|
|
44
|
+
page?: number;
|
|
45
|
+
count?: number;
|
|
46
|
+
initialized?: boolean;
|
|
47
|
+
minPage?: number;
|
|
48
|
+
blogListPropValue: IkasBlogListPropValue;
|
|
49
|
+
filterCategoryId: string | null;
|
|
50
|
+
};
|
|
51
|
+
export declare enum IkasBlogListType {
|
|
52
|
+
ALL = "ALL",
|
|
53
|
+
STATIC = "STATIC",
|
|
54
|
+
CATEGORY = "CATEGORY"
|
|
55
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as t,__generator as i}from'./../../../ext/tslib/tslib.es6.js';import{makeAutoObservable as e}from"mobx";import n from"../../../store/blog/index.js";import{IkasBlog as s}from"../../data/blog/index.js";var o,r=function(){function r(n){var r=this;this._initialized=!1,this._minPage=null,this._filterCategoryId=null,this._isLoading=!1,this.getPrev=function(){return t(r,void 0,void 0,(function(){var t,e,n,s,o,r;return i(this,(function(i){switch(i.label){case 0:if(this.isStatic||this._isLoading||!this.hasPrev)return[2];this._isLoading=!0,i.label=1;case 1:return i.trys.push([1,3,4,5]),t=this._minPage-1,[4,this.listBlogs(t,this.limit)];case 2:return e=i.sent(),n=(null===(o=e.data)||void 0===o?void 0:o.data)||[],this.data=n.concat(this.data),this._count=(null===(r=e.data)||void 0===r?void 0:r.count)||this._count,this._minPage=t,[3,5];case 3:return s=i.sent(),console.log(s),[3,5];case 4:return this._isLoading=!1,[7];case 5:return[2]}}))}))},this.getNext=function(){return t(r,void 0,void 0,(function(){var t,e,n,s,o;return i(this,(function(i){switch(i.label){case 0:if(this.isStatic||this._isLoading||!this.hasNext)return[2];this._isLoading=!0,i.label=1;case 1:return i.trys.push([1,3,4,5]),[4,this.listBlogs(this.page+1,this.limit)];case 2:return t=i.sent(),e=(null===(s=t.data)||void 0===s?void 0:s.data)||[],this.data=this.data.concat(e),this._count=(null===(o=t.data)||void 0===o?void 0:o.count)||this._count,this._page=this.page+1,[3,5];case 3:return n=i.sent(),console.log(n),[3,5];case 4:return this._isLoading=!1,[7];case 5:return[2]}}))}))},this.getPage=function(e){return t(r,void 0,void 0,(function(){var t,n,s,o,r;return i(this,(function(i){switch(i.label){case 0:if(this._isLoading||this.isStatic)return[2];this._isLoading=!0,i.label=1;case 1:return i.trys.push([1,3,4,5]),[4,this.listBlogs(e,this.limit)];case 2:return t=i.sent(),n=(null===(o=t.data)||void 0===o?void 0:o.data)||[],this.data=n,this._count=(null===(r=t.data)||void 0===r?void 0:r.count)||0,this._page=e,this._minPage=e,[3,5];case 3:return s=i.sent(),console.log(s),[3,5];case 4:return this._isLoading=!1,[7];case 5:return[2]}}))}))},this.data=n.data?n.data.map((function(t){return new s(t)})):[],this._type=n.type||n.blogListPropValue.blogListType||o.ALL,this._limit=n.limit||n.blogListPropValue.initialLimit||20,this._page=n.page||1,this._count=n.count||0,this._initialized=n.initialized||!1,this._minPage=n.minPage,this._blogListPropValue=n.blogListPropValue,this._filterCategoryId=n.filterCategoryId||null,e(this)}return Object.defineProperty(r.prototype,"limit",{get:function(){return this._limit},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"page",{get:function(){return this._page},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"count",{get:function(){return this._count},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"pageCount",{get:function(){return Math.ceil(this._count/this._limit)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isInitialized",{get:function(){return this._initialized},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isStatic",{get:function(){return this._type===o.STATIC},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hasPrev",{get:function(){return!(this.isStatic||!this._minPage)&&this._minPage>1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hasNext",{get:function(){return!this.isStatic&&this.page*this.limit<this.count},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isLoading",{get:function(){return this._isLoading},enumerable:!1,configurable:!0}),r.prototype.listBlogs=function(e,s){return t(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,n.listBlog({id:this.isStatic?{in:this._blogListPropValue.blogIds}:void 0,pagination:{page:e,limit:s},categoryId:this._filterCategoryId?{eq:this._filterCategoryId}:void 0})];case 1:return[2,t.sent()]}}))}))},r.prototype.toJSON=function(){return{data:this.data,type:this._type,limit:this._limit,page:this._page,count:this._count,initialized:this._initialized,minPage:this._minPage,blogListPropValue:this._blogListPropValue,filterCategoryId:this._filterCategoryId}},r}();!function(t){t.ALL="ALL",t.STATIC="STATIC",t.CATEGORY="CATEGORY"}(o||(o={}));export{r as IkasBlogList,o as IkasBlogListType};
|