@gofynd/fdk-store-gql 3.0.38-beta.9
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/.github/workflows/npm-publish.yml +29 -0
- package/README.md +84 -0
- package/azure-pipelines.yml +56 -0
- package/codegen.yml +6 -0
- package/lib/graphql/mutations/UnFollowById.handler.d.ts +3 -0
- package/lib/graphql/mutations/UnFollowById.handler.js +5 -0
- package/lib/graphql/mutations/UnFollowById.handler.js.map +1 -0
- package/lib/graphql/mutations/addItemsToCart.handler.d.ts +3 -0
- package/lib/graphql/mutations/addItemsToCart.handler.js +9 -0
- package/lib/graphql/mutations/addItemsToCart.handler.js.map +1 -0
- package/lib/graphql/mutations/applyCoupon.handler.d.ts +3 -0
- package/lib/graphql/mutations/applyCoupon.handler.js +7 -0
- package/lib/graphql/mutations/applyCoupon.handler.js.map +1 -0
- package/lib/graphql/mutations/applyRewardPoints.handler.d.ts +3 -0
- package/lib/graphql/mutations/applyRewardPoints.handler.js +7 -0
- package/lib/graphql/mutations/applyRewardPoints.handler.js.map +1 -0
- package/lib/graphql/mutations/followById.handler.d.ts +3 -0
- package/lib/graphql/mutations/followById.handler.js +5 -0
- package/lib/graphql/mutations/followById.handler.js.map +1 -0
- package/lib/graphql/mutations/getCartShareLink.handler.d.ts +3 -0
- package/lib/graphql/mutations/getCartShareLink.handler.js +7 -0
- package/lib/graphql/mutations/getCartShareLink.handler.js.map +1 -0
- package/lib/graphql/mutations/index.d.ts +2 -0
- package/lib/graphql/mutations/index.js +54 -0
- package/lib/graphql/mutations/index.js.map +1 -0
- package/lib/graphql/mutations/loginWithAppleIOS.handler.d.ts +3 -0
- package/lib/graphql/mutations/loginWithAppleIOS.handler.js +7 -0
- package/lib/graphql/mutations/loginWithAppleIOS.handler.js.map +1 -0
- package/lib/graphql/mutations/loginWithEmailAndPassword.handler.d.ts +3 -0
- package/lib/graphql/mutations/loginWithEmailAndPassword.handler.js +7 -0
- package/lib/graphql/mutations/loginWithEmailAndPassword.handler.js.map +1 -0
- package/lib/graphql/mutations/loginWithFacebook.handler.d.ts +3 -0
- package/lib/graphql/mutations/loginWithFacebook.handler.js +7 -0
- package/lib/graphql/mutations/loginWithFacebook.handler.js.map +1 -0
- package/lib/graphql/mutations/loginWithGoogle.handler.d.ts +3 -0
- package/lib/graphql/mutations/loginWithGoogle.handler.js +7 -0
- package/lib/graphql/mutations/loginWithGoogle.handler.js.map +1 -0
- package/lib/graphql/mutations/loginWithOTP.handler.d.ts +3 -0
- package/lib/graphql/mutations/loginWithOTP.handler.js +7 -0
- package/lib/graphql/mutations/loginWithOTP.handler.js.map +1 -0
- package/lib/graphql/mutations/removeCoupon.handler.d.ts +3 -0
- package/lib/graphql/mutations/removeCoupon.handler.js +7 -0
- package/lib/graphql/mutations/removeCoupon.handler.js.map +1 -0
- package/lib/graphql/mutations/selectAddress.handler.d.ts +3 -0
- package/lib/graphql/mutations/selectAddress.handler.js +5 -0
- package/lib/graphql/mutations/selectAddress.handler.js.map +1 -0
- package/lib/graphql/mutations/selectPaymentMode.handler.d.ts +3 -0
- package/lib/graphql/mutations/selectPaymentMode.handler.js +5 -0
- package/lib/graphql/mutations/selectPaymentMode.handler.js.map +1 -0
- package/lib/graphql/mutations/updateAddress.handler.d.ts +3 -0
- package/lib/graphql/mutations/updateAddress.handler.js +7 -0
- package/lib/graphql/mutations/updateAddress.handler.js.map +1 -0
- package/lib/graphql/mutations/updateCart.handler.d.ts +3 -0
- package/lib/graphql/mutations/updateCart.handler.js +14 -0
- package/lib/graphql/mutations/updateCart.handler.js.map +1 -0
- package/lib/graphql/mutations/updateCartMeta.handler.d.ts +3 -0
- package/lib/graphql/mutations/updateCartMeta.handler.js +7 -0
- package/lib/graphql/mutations/updateCartMeta.handler.js.map +1 -0
- package/lib/graphql/mutations/updateProfile.handler.d.ts +3 -0
- package/lib/graphql/mutations/updateProfile.handler.js +9 -0
- package/lib/graphql/mutations/updateProfile.handler.js.map +1 -0
- package/lib/graphql/mutations/verifyEmailOtp.handler.d.ts +3 -0
- package/lib/graphql/mutations/verifyEmailOtp.handler.js +7 -0
- package/lib/graphql/mutations/verifyEmailOtp.handler.js.map +1 -0
- package/lib/graphql/mutations/verifyMobileOTP.handler.d.ts +3 -0
- package/lib/graphql/mutations/verifyMobileOTP.handler.js +7 -0
- package/lib/graphql/mutations/verifyMobileOTP.handler.js.map +1 -0
- package/lib/graphql/query/address.handler.d.ts +3 -0
- package/lib/graphql/query/address.handler.js +7 -0
- package/lib/graphql/query/address.handler.js.map +1 -0
- package/lib/graphql/query/addresses.handler.d.ts +3 -0
- package/lib/graphql/query/addresses.handler.js +7 -0
- package/lib/graphql/query/addresses.handler.js.map +1 -0
- package/lib/graphql/query/aggregatorsConfig.handler.d.ts +3 -0
- package/lib/graphql/query/aggregatorsConfig.handler.js +7 -0
- package/lib/graphql/query/aggregatorsConfig.handler.js.map +1 -0
- package/lib/graphql/query/allCountries.handler.d.ts +3 -0
- package/lib/graphql/query/allCountries.handler.js +8 -0
- package/lib/graphql/query/allCountries.handler.js.map +1 -0
- package/lib/graphql/query/applicationConfiguration.handler.d.ts +3 -0
- package/lib/graphql/query/applicationConfiguration.handler.js +24 -0
- package/lib/graphql/query/applicationConfiguration.handler.js.map +1 -0
- package/lib/graphql/query/applicationContent.handler.d.ts +3 -0
- package/lib/graphql/query/applicationContent.handler.js +38 -0
- package/lib/graphql/query/applicationContent.handler.js.map +1 -0
- package/lib/graphql/query/applicationStaff.handler.d.ts +2 -0
- package/lib/graphql/query/applicationStaff.handler.js +7 -0
- package/lib/graphql/query/applicationStaff.handler.js.map +1 -0
- package/lib/graphql/query/blog.handler.d.ts +3 -0
- package/lib/graphql/query/blog.handler.js +7 -0
- package/lib/graphql/query/blog.handler.js.map +1 -0
- package/lib/graphql/query/brands.handler.d.ts +3 -0
- package/lib/graphql/query/brands.handler.js +8 -0
- package/lib/graphql/query/brands.handler.js.map +1 -0
- package/lib/graphql/query/bulkDiscountOffers.handler.d.ts +3 -0
- package/lib/graphql/query/bulkDiscountOffers.handler.js +7 -0
- package/lib/graphql/query/bulkDiscountOffers.handler.js.map +1 -0
- package/lib/graphql/query/cartHandler.d.ts +3 -0
- package/lib/graphql/query/cartHandler.js +9 -0
- package/lib/graphql/query/cartHandler.js.map +1 -0
- package/lib/graphql/query/cartShipmentDetails.handler.d.ts +3 -0
- package/lib/graphql/query/cartShipmentDetails.handler.js +7 -0
- package/lib/graphql/query/cartShipmentDetails.handler.js.map +1 -0
- package/lib/graphql/query/categories.handler.d.ts +3 -0
- package/lib/graphql/query/categories.handler.js +8 -0
- package/lib/graphql/query/categories.handler.js.map +1 -0
- package/lib/graphql/query/collection.handler.d.ts +3 -0
- package/lib/graphql/query/collection.handler.js +9 -0
- package/lib/graphql/query/collection.handler.js.map +1 -0
- package/lib/graphql/query/collectionItems.handler.d.ts +3 -0
- package/lib/graphql/query/collectionItems.handler.js +7 -0
- package/lib/graphql/query/collectionItems.handler.js.map +1 -0
- package/lib/graphql/query/collections.handler.d.ts +3 -0
- package/lib/graphql/query/collections.handler.js +7 -0
- package/lib/graphql/query/collections.handler.js.map +1 -0
- package/lib/graphql/query/coupons.handler.d.ts +3 -0
- package/lib/graphql/query/coupons.handler.js +7 -0
- package/lib/graphql/query/coupons.handler.js.map +1 -0
- package/lib/graphql/query/customPage.hadler.d.ts +2 -0
- package/lib/graphql/query/customPage.hadler.js +7 -0
- package/lib/graphql/query/customPage.hadler.js.map +1 -0
- package/lib/graphql/query/faqsByCategory.handler.d.ts +3 -0
- package/lib/graphql/query/faqsByCategory.handler.js +7 -0
- package/lib/graphql/query/faqsByCategory.handler.js.map +1 -0
- package/lib/graphql/query/followedListing.handler.d.ts +3 -0
- package/lib/graphql/query/followedListing.handler.js +7 -0
- package/lib/graphql/query/followedListing.handler.js.map +1 -0
- package/lib/graphql/query/followerCount.handler.d.ts +3 -0
- package/lib/graphql/query/followerCount.handler.js +7 -0
- package/lib/graphql/query/followerCount.handler.js.map +1 -0
- package/lib/graphql/query/index.d.ts +2 -0
- package/lib/graphql/query/index.js +83 -0
- package/lib/graphql/query/index.js.map +1 -0
- package/lib/graphql/query/localityHandler.d.ts +3 -0
- package/lib/graphql/query/localityHandler.js +7 -0
- package/lib/graphql/query/localityHandler.js.map +1 -0
- package/lib/graphql/query/order.handler.d.ts +3 -0
- package/lib/graphql/query/order.handler.js +5 -0
- package/lib/graphql/query/order.handler.js.map +1 -0
- package/lib/graphql/query/page.handler.d.ts +3 -0
- package/lib/graphql/query/page.handler.js +3 -0
- package/lib/graphql/query/page.handler.js.map +1 -0
- package/lib/graphql/query/paymentModeRoutes.handler.d.ts +3 -0
- package/lib/graphql/query/paymentModeRoutes.handler.js +8 -0
- package/lib/graphql/query/paymentModeRoutes.handler.js.map +1 -0
- package/lib/graphql/query/pincodeDetails.handler.d.ts +2 -0
- package/lib/graphql/query/pincodeDetails.handler.js +7 -0
- package/lib/graphql/query/pincodeDetails.handler.js.map +1 -0
- package/lib/graphql/query/platformConfig.handler.d.ts +3 -0
- package/lib/graphql/query/platformConfig.handler.js +7 -0
- package/lib/graphql/query/platformConfig.handler.js.map +1 -0
- package/lib/graphql/query/product.handler.d.ts +3 -0
- package/lib/graphql/query/product.handler.js +12 -0
- package/lib/graphql/query/product.handler.js.map +1 -0
- package/lib/graphql/query/productLadderPromotion.handler.d.ts +3 -0
- package/lib/graphql/query/productLadderPromotion.handler.js +7 -0
- package/lib/graphql/query/productLadderPromotion.handler.js.map +1 -0
- package/lib/graphql/query/productPrice.handler.d.ts +3 -0
- package/lib/graphql/query/productPrice.handler.js +5 -0
- package/lib/graphql/query/productPrice.handler.js.map +1 -0
- package/lib/graphql/query/productSellers.handler.d.ts +3 -0
- package/lib/graphql/query/productSellers.handler.js +7 -0
- package/lib/graphql/query/productSellers.handler.js.map +1 -0
- package/lib/graphql/query/products.handler.d.ts +3 -0
- package/lib/graphql/query/products.handler.js +9 -0
- package/lib/graphql/query/products.handler.js.map +1 -0
- package/lib/graphql/query/promotionOffers.handler.d.ts +3 -0
- package/lib/graphql/query/promotionOffers.handler.js +7 -0
- package/lib/graphql/query/promotionOffers.handler.js.map +1 -0
- package/lib/graphql/query/store.handler.d.ts +3 -0
- package/lib/graphql/query/store.handler.js +7 -0
- package/lib/graphql/query/store.handler.js.map +1 -0
- package/lib/graphql/query/theme.handler.d.ts +3 -0
- package/lib/graphql/query/theme.handler.js +13 -0
- package/lib/graphql/query/theme.handler.js.map +1 -0
- package/lib/graphql/query/user.handler.d.ts +3 -0
- package/lib/graphql/query/user.handler.js +12 -0
- package/lib/graphql/query/user.handler.js.map +1 -0
- package/lib/helpers/FPI-events.d.ts +34 -0
- package/lib/helpers/FPI-events.js +590 -0
- package/lib/helpers/FPI-events.js.map +1 -0
- package/lib/helpers/utils.d.ts +7 -0
- package/lib/helpers/utils.js +101 -0
- package/lib/helpers/utils.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +13 -0
- package/lib/index.js.map +1 -0
- package/lib/store/enums/keys.d.ts +35 -0
- package/lib/store/enums/keys.js +38 -0
- package/lib/store/enums/keys.js.map +1 -0
- package/lib/store/index.d.ts +24 -0
- package/lib/store/index.js +244 -0
- package/lib/store/index.js.map +1 -0
- package/lib/store/modules/custom.d.ts +8 -0
- package/lib/store/modules/custom.js +11 -0
- package/lib/store/modules/custom.js.map +1 -0
- package/lib/store/modules/payment.d.ts +6 -0
- package/lib/store/modules/payment.js +10 -0
- package/lib/store/modules/payment.js.map +1 -0
- package/lib/store/modules/theme.d.ts +17 -0
- package/lib/store/modules/theme.js +30 -0
- package/lib/store/modules/theme.js.map +1 -0
- package/lib/store/slices/address.d.ts +4 -0
- package/lib/store/slices/address.js +24 -0
- package/lib/store/slices/address.js.map +1 -0
- package/lib/store/slices/auth.d.ts +4 -0
- package/lib/store/slices/auth.js +25 -0
- package/lib/store/slices/auth.js.map +1 -0
- package/lib/store/slices/brands.d.ts +4 -0
- package/lib/store/slices/brands.js +18 -0
- package/lib/store/slices/brands.js.map +1 -0
- package/lib/store/slices/cart.d.ts +4 -0
- package/lib/store/slices/cart.js +62 -0
- package/lib/store/slices/cart.js.map +1 -0
- package/lib/store/slices/categories.d.ts +4 -0
- package/lib/store/slices/categories.js +17 -0
- package/lib/store/slices/categories.js.map +1 -0
- package/lib/store/slices/collection.d.ts +4 -0
- package/lib/store/slices/collection.js +25 -0
- package/lib/store/slices/collection.js.map +1 -0
- package/lib/store/slices/configuration.d.ts +4 -0
- package/lib/store/slices/configuration.js +45 -0
- package/lib/store/slices/configuration.js.map +1 -0
- package/lib/store/slices/content.d.ts +4 -0
- package/lib/store/slices/content.js +75 -0
- package/lib/store/slices/content.js.map +1 -0
- package/lib/store/slices/custom.d.ts +3 -0
- package/lib/store/slices/custom.js +17 -0
- package/lib/store/slices/custom.js.map +1 -0
- package/lib/store/slices/logistic.d.ts +4 -0
- package/lib/store/slices/logistic.js +81 -0
- package/lib/store/slices/logistic.js.map +1 -0
- package/lib/store/slices/order.d.ts +1 -0
- package/lib/store/slices/order.js +11 -0
- package/lib/store/slices/order.js.map +1 -0
- package/lib/store/slices/payment.d.ts +23 -0
- package/lib/store/slices/payment.js +57 -0
- package/lib/store/slices/payment.js.map +1 -0
- package/lib/store/slices/product.d.ts +4 -0
- package/lib/store/slices/product.js +70 -0
- package/lib/store/slices/product.js.map +1 -0
- package/lib/store/slices/products.d.ts +4 -0
- package/lib/store/slices/products.js +27 -0
- package/lib/store/slices/products.js.map +1 -0
- package/lib/store/slices/share.d.ts +1 -0
- package/lib/store/slices/share.js +11 -0
- package/lib/store/slices/share.js.map +1 -0
- package/lib/store/slices/theme.d.ts +25 -0
- package/lib/store/slices/theme.js +84 -0
- package/lib/store/slices/theme.js.map +1 -0
- package/lib/store/store.d.ts +64 -0
- package/lib/store/store.js +44 -0
- package/lib/store/store.js.map +1 -0
- package/lib/store/utils/gateways/ajiodhan.d.ts +8 -0
- package/lib/store/utils/gateways/ajiodhan.js +27 -0
- package/lib/store/utils/gateways/ajiodhan.js.map +1 -0
- package/lib/store/utils/gateways/ccavenue.d.ts +13 -0
- package/lib/store/utils/gateways/ccavenue.js +19 -0
- package/lib/store/utils/gateways/ccavenue.js.map +1 -0
- package/lib/store/utils/gateways/epaylater.d.ts +14 -0
- package/lib/store/utils/gateways/epaylater.js +28 -0
- package/lib/store/utils/gateways/epaylater.js.map +1 -0
- package/lib/store/utils/gateways/helper.d.ts +1 -0
- package/lib/store/utils/gateways/helper.js +17 -0
- package/lib/store/utils/gateways/helper.js.map +1 -0
- package/lib/store/utils/gateways/index.d.ts +1 -0
- package/lib/store/utils/gateways/index.js +27 -0
- package/lib/store/utils/gateways/index.js.map +1 -0
- package/lib/store/utils/gateways/jio.d.ts +12 -0
- package/lib/store/utils/gateways/jio.js +24 -0
- package/lib/store/utils/gateways/jio.js.map +1 -0
- package/lib/store/utils/gateways/jiopay.d.ts +21 -0
- package/lib/store/utils/gateways/jiopay.js +30 -0
- package/lib/store/utils/gateways/jiopay.js.map +1 -0
- package/lib/store/utils/gateways/juspay.d.ts +34 -0
- package/lib/store/utils/gateways/juspay.js +63 -0
- package/lib/store/utils/gateways/juspay.js.map +1 -0
- package/lib/store/utils/gateways/payumoney.d.ts +8 -0
- package/lib/store/utils/gateways/payumoney.js +17 -0
- package/lib/store/utils/gateways/payumoney.js.map +1 -0
- package/lib/store/utils/gateways/potlee.d.ts +63 -0
- package/lib/store/utils/gateways/potlee.js +315 -0
- package/lib/store/utils/gateways/potlee.js.map +1 -0
- package/lib/store/utils/gateways/razorpay.d.ts +46 -0
- package/lib/store/utils/gateways/razorpay.js +70 -0
- package/lib/store/utils/gateways/razorpay.js.map +1 -0
- package/lib/store/utils/gateways/rupifi.d.ts +17 -0
- package/lib/store/utils/gateways/rupifi.js +63 -0
- package/lib/store/utils/gateways/rupifi.js.map +1 -0
- package/lib/store/utils/gateways/simply.d.ts +43 -0
- package/lib/store/utils/gateways/simply.js +222 -0
- package/lib/store/utils/gateways/simply.js.map +1 -0
- package/lib/store/utils/gateways/standard_extension.d.ts +13 -0
- package/lib/store/utils/gateways/standard_extension.js +22 -0
- package/lib/store/utils/gateways/standard_extension.js.map +1 -0
- package/lib/store/utils/helper.d.ts +1 -0
- package/lib/store/utils/helper.js +17 -0
- package/lib/store/utils/helper.js.map +1 -0
- package/lib/store/utils/payment.d.ts +4 -0
- package/lib/store/utils/payment.js +496 -0
- package/lib/store/utils/payment.js.map +1 -0
- package/lib/store/utils/util.d.ts +14 -0
- package/lib/store/utils/util.js +67 -0
- package/lib/store/utils/util.js.map +1 -0
- package/lib/types/address.d.ts +7 -0
- package/lib/types/address.js +2 -0
- package/lib/types/address.js.map +1 -0
- package/lib/types/auth.d.ts +69 -0
- package/lib/types/auth.js +2 -0
- package/lib/types/auth.js.map +1 -0
- package/lib/types/brands.d.ts +6 -0
- package/lib/types/brands.js +2 -0
- package/lib/types/brands.js.map +1 -0
- package/lib/types/cart.d.ts +39 -0
- package/lib/types/cart.js +2 -0
- package/lib/types/cart.js.map +1 -0
- package/lib/types/categories.d.ts +5 -0
- package/lib/types/categories.js +2 -0
- package/lib/types/categories.js.map +1 -0
- package/lib/types/collection.d.ts +10 -0
- package/lib/types/collection.js +2 -0
- package/lib/types/collection.js.map +1 -0
- package/lib/types/configuration.d.ts +19 -0
- package/lib/types/configuration.js +2 -0
- package/lib/types/configuration.js.map +1 -0
- package/lib/types/content.d.ts +35 -0
- package/lib/types/content.js +2 -0
- package/lib/types/content.js.map +1 -0
- package/lib/types/custom.d.ts +12 -0
- package/lib/types/custom.js +2 -0
- package/lib/types/custom.js.map +1 -0
- package/lib/types/graphql.d.ts +11471 -0
- package/lib/types/graphql.js +198 -0
- package/lib/types/graphql.js.map +1 -0
- package/lib/types/index.d.ts +56 -0
- package/lib/types/index.js +2 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/logistic.d.ts +9 -0
- package/lib/types/logistic.js +2 -0
- package/lib/types/logistic.js.map +1 -0
- package/lib/types/product.d.ts +29 -0
- package/lib/types/product.js +2 -0
- package/lib/types/product.js.map +1 -0
- package/lib/types/products.d.ts +29 -0
- package/lib/types/products.js +2 -0
- package/lib/types/products.js.map +1 -0
- package/lib/types/theme.d.ts +26 -0
- package/lib/types/theme.js +2 -0
- package/lib/types/theme.js.map +1 -0
- package/package.json +45 -0
- package/schema.json +58765 -0
- package/webpack.config.js +23 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"address.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/address.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAI5D,MAAM,UAAU,cAAc,CAAC,OAAgB,EAAE,QAAkC;IACjF,IAAI,OAAO,CAAC,EAAE,EAAE;QACd,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAA;KAClC;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addresses.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/addresses.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAI1D,MAAM,UAAU,gBAAgB,CAAC,SAAoB,EAAE,QAAkC;IACvF,IAAI,SAAS,EAAE;QACb,QAAQ,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,CAAA;KACpC;AACD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { setaggregatorsConfig } from "../../store/slices/payment";
|
|
2
|
+
export function aggregatorsConfighandler(aggregatorsConfig, dispatch) {
|
|
3
|
+
if (aggregatorsConfig) {
|
|
4
|
+
dispatch(setaggregatorsConfig(aggregatorsConfig));
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=aggregatorsConfig.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aggregatorsConfig.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/aggregatorsConfig.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,UAAU,wBAAwB,CAAC,iBAA0C,EAAE,QAAkC;IACnH,IAAI,iBAAiB,EAAE;QACnB,QAAQ,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,CAAA;KACpD;AACL,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { setallCountries } from "../../store/slices/logistic";
|
|
2
|
+
const themeMap = {};
|
|
3
|
+
export function allCountrieshandler(allCountries, dispatch) {
|
|
4
|
+
if (allCountries) {
|
|
5
|
+
dispatch(setallCountries(allCountries));
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=allCountries.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allCountries.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/allCountries.handler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,MAAM,QAAQ,GAAG,EAEhB,CAAA;AAED,MAAM,UAAU,mBAAmB,CAAC,YAAyB,EAAE,QAAkC;IAC7F,IAAI,YAAY,EAAE;QACd,QAAQ,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAA;KAC1C;AACL,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { setappDetails, setContactInfo, setFeatures, setintegrationTokens, setdeploymentStore, setcurrency } from "../../store/slices/configuration";
|
|
2
|
+
export function applicationConfigurationHandler(appconfiguration, dispatch) {
|
|
3
|
+
const { app_details = null, contact_info = null, features = null, integration_tokens = null, } = appconfiguration;
|
|
4
|
+
const commonFeatures = (features === null || features === void 0 ? void 0 : features.common) || {};
|
|
5
|
+
if (app_details) {
|
|
6
|
+
dispatch(setappDetails(app_details));
|
|
7
|
+
}
|
|
8
|
+
if (contact_info) {
|
|
9
|
+
dispatch(setContactInfo(contact_info));
|
|
10
|
+
}
|
|
11
|
+
if (features) {
|
|
12
|
+
dispatch(setFeatures(features));
|
|
13
|
+
}
|
|
14
|
+
if (integration_tokens) {
|
|
15
|
+
dispatch(setintegrationTokens(integration_tokens));
|
|
16
|
+
}
|
|
17
|
+
if (commonFeatures.deployment_store_selection) {
|
|
18
|
+
dispatch(setdeploymentStore(commonFeatures.deployment_store_selection));
|
|
19
|
+
}
|
|
20
|
+
if (commonFeatures.currency) {
|
|
21
|
+
dispatch(setcurrency(commonFeatures.currency));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=applicationConfiguration.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicationConfiguration.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/applicationConfiguration.handler.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EACb,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,WAAW,EACZ,MAAM,kCAAkC,CAAC;AAG1C,MAAM,UAAU,+BAA+B,CAC7C,gBAA0C,EAC1C,QAAkC;IAGlC,MAAM,EACJ,WAAW,GAAG,IAAI,EAClB,YAAY,GAAG,IAAI,EACnB,QAAQ,GAAG,IAAI,EACf,kBAAkB,GAAG,IAAI,GAC1B,GAAG,gBAAgB,CAAC;IAErB,MAAM,cAAc,GAAG,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,KAAI,EAAE,CAAC;IAE9C,IAAI,WAAW,EAAE;QACf,QAAQ,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC;KACtC;IACD,IAAI,YAAY,EAAE;QAChB,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;KACxC;IACD,IAAI,QAAQ,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;KACjC;IACD,IAAI,kBAAkB,EAAE;QACtB,QAAQ,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,CAAC,CAAC;KACpD;IACD,IAAI,cAAc,CAAC,0BAA0B,EAAE;QAC7C,QAAQ,CAAC,kBAAkB,CAAC,cAAc,CAAC,0BAA0B,CAAC,CAAC,CAAC;KACzE;IACD,IAAI,cAAc,CAAC,QAAQ,EAAE;QAC3B,QAAQ,CAAC,WAAW,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC;KAChD;AACH,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { setnavigations, setseoConfiguration, setblogs, setdataLoaders, setannouncements, setsupportInformation, settags, setlandingPage, setlegalInformation, setfaqCategories, setfaqs } from "../../store/slices/content";
|
|
2
|
+
export function applicationContenthandler(applicationContent, dispatch) {
|
|
3
|
+
const { announcements, blogs, seo_configuration, custom_fields, data_loaders, faq_categories, faqs, landing_page, navigations, pages, slideshows, legal_information, support_information, tags } = applicationContent;
|
|
4
|
+
if (navigations) {
|
|
5
|
+
dispatch(setnavigations(navigations));
|
|
6
|
+
}
|
|
7
|
+
if (faq_categories) {
|
|
8
|
+
dispatch(setfaqCategories(faq_categories));
|
|
9
|
+
}
|
|
10
|
+
if (faqs) {
|
|
11
|
+
dispatch(setfaqs(faqs));
|
|
12
|
+
}
|
|
13
|
+
if (seo_configuration) {
|
|
14
|
+
dispatch(setseoConfiguration(seo_configuration));
|
|
15
|
+
}
|
|
16
|
+
if (legal_information) {
|
|
17
|
+
dispatch(setlegalInformation(legal_information));
|
|
18
|
+
}
|
|
19
|
+
if (blogs) {
|
|
20
|
+
dispatch(setblogs(blogs));
|
|
21
|
+
}
|
|
22
|
+
if (data_loaders) {
|
|
23
|
+
dispatch(setdataLoaders(data_loaders));
|
|
24
|
+
}
|
|
25
|
+
if (announcements) {
|
|
26
|
+
dispatch(setannouncements(announcements));
|
|
27
|
+
}
|
|
28
|
+
if (support_information) {
|
|
29
|
+
dispatch(setsupportInformation(support_information));
|
|
30
|
+
}
|
|
31
|
+
if (tags) {
|
|
32
|
+
dispatch(settags({ tags }));
|
|
33
|
+
}
|
|
34
|
+
if (landing_page) {
|
|
35
|
+
dispatch(setlandingPage(landing_page));
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=applicationContent.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicationContent.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/applicationContent.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAC,QAAQ,EAAE,cAAc,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAG5N,MAAM,UAAU,yBAAyB,CACvC,kBAAsC,EACtC,QAAkC;IAGlC,MAAM,EACJ,aAAa,EACb,KAAK,EACL,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,cAAc,EACd,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,KAAK,EACL,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,IAAI,EACL,GAAG,kBAAkB,CAAC;IAEvB,IAAI,WAAW,EAAE;QACf,QAAQ,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;KACvC;IACD,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC,CAAC;KAC5C;IACD,IAAI,IAAI,EAAE;QACR,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;KACzB;IACD,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,CAAC;KAClD;IACD,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,CAAC;KAClD;IACD,IAAI,KAAK,EAAE;QACT,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;KAC3B;IACD,IAAI,YAAY,EAAE;QAChB,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;KACxC;IACD,IAAI,aAAa,EAAE;QACjB,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC;KAC3C;IACD,IAAI,mBAAmB,EAAE;QACvB,QAAQ,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,CAAC,CAAC;KACtD;IACD,IAAI,IAAI,EAAE;QACR,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;KAC7B;IACD,IAAI,YAAY,EAAE;QAChB,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;KACxC;AACH,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { setapplicationStaff } from "../../store/slices/configuration";
|
|
2
|
+
export function applicationStaffHandler(applicationStaff, dispatch) {
|
|
3
|
+
if (applicationStaff) {
|
|
4
|
+
dispatch(setapplicationStaff(applicationStaff));
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=applicationStaff.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicationStaff.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/applicationStaff.handler.ts"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EAOpB,MAAM,kCAAkC,CAAC;AAG1C,MAAM,UAAU,uBAAuB,CACrC,gBAAqB,EACrB,QAAkC;IAGlC,IAAI,gBAAgB,EAAE;QACpB,QAAQ,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,CAAC;KACjD;AAEH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blog.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/blog.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAkI,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAGrL,MAAM,UAAU,WAAW,CACzB,IAAU,EACV,QAAkC;IAElC,IAAI,IAAI,EAAE;QACR,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;KACzB;AACH,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { setBrands } from "../../store/slices/brands";
|
|
2
|
+
const themeMap = {};
|
|
3
|
+
export function brandsHandler(brands, dispatch) {
|
|
4
|
+
if (brands === null || brands === void 0 ? void 0 : brands.items) {
|
|
5
|
+
dispatch(setBrands(brands));
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=brands.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brands.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/brands.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,MAAM,QAAQ,GAAG,EAEhB,CAAA;AAED,MAAM,UAAU,aAAa,CAAC,MAAuB,EAAE,QAAkC;IACrF,IAAI,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,KAAK,EAAE;QACf,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAA;KAC9B;AACL,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { setbulkDiscountOffers } from "../../store/slices/product";
|
|
2
|
+
export function bulkDiscountOffersHandler(bulkDiscountOffers, dispatch) {
|
|
3
|
+
if (bulkDiscountOffers) {
|
|
4
|
+
dispatch(setbulkDiscountOffers(bulkDiscountOffers));
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=bulkDiscountOffers.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulkDiscountOffers.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/bulkDiscountOffers.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,MAAM,UAAU,yBAAyB,CAAC,kBAAsC,EAAE,QAAkC;IAChH,IAAI,kBAAkB,EAAE;QACpB,QAAQ,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,CAAC,CAAA;KACtD;AACL,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { setCart } from "../../store/slices/cart";
|
|
2
|
+
import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
|
|
3
|
+
export function cartHandler(cart, dispatch, params, oldStore) {
|
|
4
|
+
if (cart) {
|
|
5
|
+
dispatch(setCart(cart));
|
|
6
|
+
emitFPIEvent(FPI_EVENTS.VIEW_CART, params, cart, oldStore);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=cartHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cartHandler.js","sourceRoot":"","sources":["../../../src/graphql/query/cartHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,WAAW,CAAC,IAAU,EAAE,QAAkC,EAAC,MAAc,EAAC,QAAgB;IACtG,IAAI,IAAI,EAAE;QACN,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAA;QACvB,YAAY,CACR,UAAU,CAAC,SAAS,EACpB,MAAM,EACN,IAAI,EACJ,QAAQ,CACT,CAAA;KACN;AACL,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { setCartShipmentDetails } from "../../store/slices/cart";
|
|
2
|
+
export function cartShipmentDetailsHandler(cartShipmentDetails, dispatch) {
|
|
3
|
+
if (cartShipmentDetails) {
|
|
4
|
+
dispatch(setCartShipmentDetails(cartShipmentDetails));
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=cartShipmentDetails.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cartShipmentDetails.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/cartShipmentDetails.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,MAAM,UAAU,0BAA0B,CAAC,mBAA0C,EAAE,QAAkC;IACvH,IAAI,mBAAmB,EAAE;QACvB,QAAQ,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,CAAC,CAAA;KACxD;AACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"categories.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/categories.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE9D,MAAM,QAAQ,GAAG,EAEhB,CAAA;AAED,MAAM,UAAU,iBAAiB,CAAC,UAAsB,EAAE,QAAkC;IACxF,IAAI,UAAU,EAAE;QACZ,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAA;KACtC;AACL,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { setcollection } from "../../store/slices/collection";
|
|
2
|
+
import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
|
|
3
|
+
export function collectionHandler(collection, dispatch, params, oldStore) {
|
|
4
|
+
if (collection) {
|
|
5
|
+
dispatch(setcollection(collection));
|
|
6
|
+
emitFPIEvent(FPI_EVENTS.COLLECTION_LIST_VIEW, params, collection, oldStore);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=collection.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/collection.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,iBAAiB,CAC/B,UAAsB,EACtB,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,UAAU,EAAE;QACd,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;QACpC,YAAY,CAAC,UAAU,CAAC,oBAAoB,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;KAC7E;AACH,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { setcollectionItems } from "../../store/slices/collection";
|
|
2
|
+
export function collectionItemsHandler(collectionItems, dispatch) {
|
|
3
|
+
if (collectionItems) {
|
|
4
|
+
dispatch(setcollectionItems(collectionItems));
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=collectionItems.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collectionItems.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/collectionItems.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAGnE,MAAM,UAAU,sBAAsB,CAAC,eAAgC,EAAE,QAAkC;IACvG,IAAI,eAAe,EAAE;QACjB,QAAQ,CAAC,kBAAkB,CAAC,eAAe,CAAC,CAAC,CAAA;KAChD;AACL,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collections.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/collections.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,MAAM,UAAU,kBAAkB,CAChC,WAAiC,EACjC,QAAkC;IAElC,IAAI,WAAW,EAAE;QACf,QAAQ,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;KACvC;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coupons.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/coupons.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,MAAM,UAAU,cAAc,CAAC,OAAgB,EAAE,QAAkC;IAC/E,IAAI,OAAO,EAAE;QACT,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAA;KAChC;AACL,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customPage.hadler.js","sourceRoot":"","sources":["../../../src/graphql/query/customPage.hadler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,MAAM,UAAU,iBAAiB,CAAC,UAAe,EAAE,QAAkC;IACjF,IAAI,UAAU,EAAE;QACZ,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAA;KACtC;AACL,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"faqsByCategory.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/faqsByCategory.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG/D,MAAM,UAAU,qBAAqB,CAAC,cAAoB,EAAE,QAAkC;IAC1F,IAAI,cAAc,EAAE;QAChB,QAAQ,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAA;KAC9C;AACL,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"followedListing.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/followedListing.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,MAAM,UAAU,sBAAsB,CAAC,eAA8B,EAAE,QAAkC;IACrG,IAAI,eAAe,EAAE;QACjB,QAAQ,CAAC,gBAAgB,CAAC,eAAe,CAAC,CAAC,CAAA;KAC9C;AACL,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"followerCount.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/followerCount.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,4BAA4B,CAAC;AAEhF,MAAM,UAAU,oBAAoB,CAAC,aAA4B,EAAE,QAAkC;IACjG,IAAI,aAAa,EAAE;QACf,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAA;KAC5C;AACL,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { addressHandler } from "./address.handler";
|
|
2
|
+
import { addressesHandler } from "./addresses.handler";
|
|
3
|
+
import { applicationConfigurationHandler } from "./applicationConfiguration.handler";
|
|
4
|
+
import { themeHandler } from "./theme.handler";
|
|
5
|
+
import { userHandler } from "./user.handler";
|
|
6
|
+
import { brandsHandler } from "./brands.handler";
|
|
7
|
+
import { cartHandler } from "./cartHandler";
|
|
8
|
+
import { categoriesHandler } from "./categories.handler";
|
|
9
|
+
import { cartShipmentDetailsHandler } from "./cartShipmentDetails.handler";
|
|
10
|
+
import { paymentModeRoutesHandler } from "./paymentModeRoutes.handler";
|
|
11
|
+
import { productHandler } from "./product.handler";
|
|
12
|
+
import { applicationContenthandler } from "./applicationContent.handler";
|
|
13
|
+
import { productsHandler } from "./products.handler";
|
|
14
|
+
import { pageHandler } from "./page.handler";
|
|
15
|
+
import { platformConfigHandler } from "./platformConfig.handler";
|
|
16
|
+
import { productLadderPromotionHandler } from "./productLadderPromotion.handler";
|
|
17
|
+
import { promotionOffersHandler } from "./promotionOffers.handler";
|
|
18
|
+
import { couponsHandler } from "./coupons.handler";
|
|
19
|
+
import { collectionHandler } from "./collection.handler";
|
|
20
|
+
import { collectionItemsHandler } from "./collectionItems.handler";
|
|
21
|
+
import { storeHandler } from "./store.handler";
|
|
22
|
+
import { bloghandler } from "./blog.handler";
|
|
23
|
+
import { customPageHandler } from "./customPage.hadler";
|
|
24
|
+
import { faqsByCategoryHandler } from "./faqsByCategory.handler";
|
|
25
|
+
import { allCountrieshandler } from "./allCountries.handler";
|
|
26
|
+
import { pincodeDetailsHandler } from "./pincodeDetails.handler";
|
|
27
|
+
import { aggregatorsConfighandler } from "./aggregatorsConfig.handler";
|
|
28
|
+
import { bulkDiscountOffersHandler } from "./bulkDiscountOffers.handler";
|
|
29
|
+
import { productPriceHandler } from "./productPrice.handler";
|
|
30
|
+
import { productSellersHandler } from "./productSellers.handler";
|
|
31
|
+
import { followedListingHandler } from "./followedListing.handler";
|
|
32
|
+
import { followerCountHandler } from "./followerCount.handler";
|
|
33
|
+
import { collectionsHandler } from "./collections.handler";
|
|
34
|
+
import { localityHandler } from "./localityHandler";
|
|
35
|
+
import { orderHandler } from "./order.handler";
|
|
36
|
+
const handlerMap = {
|
|
37
|
+
theme: themeHandler,
|
|
38
|
+
address: addressHandler,
|
|
39
|
+
addresses: addressesHandler,
|
|
40
|
+
user: userHandler,
|
|
41
|
+
applicationConfiguration: applicationConfigurationHandler,
|
|
42
|
+
brands: brandsHandler,
|
|
43
|
+
cart: cartHandler,
|
|
44
|
+
categories: categoriesHandler,
|
|
45
|
+
cartShipmentDetails: cartShipmentDetailsHandler,
|
|
46
|
+
paymentModeRoutes: paymentModeRoutesHandler,
|
|
47
|
+
product: productHandler,
|
|
48
|
+
products: productsHandler,
|
|
49
|
+
productLadderPromotion: productLadderPromotionHandler,
|
|
50
|
+
promotionOffers: promotionOffersHandler,
|
|
51
|
+
faqsByCategory: faqsByCategoryHandler,
|
|
52
|
+
collections: collectionsHandler,
|
|
53
|
+
applicationContent: applicationContenthandler,
|
|
54
|
+
page: pageHandler,
|
|
55
|
+
platformConfig: platformConfigHandler,
|
|
56
|
+
coupons: couponsHandler,
|
|
57
|
+
collection: collectionHandler,
|
|
58
|
+
collectionItems: collectionItemsHandler,
|
|
59
|
+
store: storeHandler,
|
|
60
|
+
blog: bloghandler,
|
|
61
|
+
customPage: customPageHandler,
|
|
62
|
+
allCountries: allCountrieshandler,
|
|
63
|
+
pincodeDetails: pincodeDetailsHandler,
|
|
64
|
+
locality: localityHandler,
|
|
65
|
+
aggregatorsConfig: aggregatorsConfighandler,
|
|
66
|
+
bulkDiscountOffers: bulkDiscountOffersHandler,
|
|
67
|
+
productPrice: productPriceHandler,
|
|
68
|
+
productSellers: productSellersHandler,
|
|
69
|
+
followedListing: followedListingHandler,
|
|
70
|
+
followerCount: followerCountHandler,
|
|
71
|
+
order: orderHandler
|
|
72
|
+
};
|
|
73
|
+
export function queryResponseHandler(responseData, dispatch, params) {
|
|
74
|
+
if (!responseData) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
Object.keys(handlerMap).forEach(key => {
|
|
78
|
+
if (responseData.hasOwnProperty(key)) {
|
|
79
|
+
handlerMap[key](responseData[key], dispatch, params);
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/graphql/query/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { setlocality } from "../../store/slices/logistic";
|
|
2
|
+
export function localityHandler(locality, dispatch, params) {
|
|
3
|
+
if (locality) {
|
|
4
|
+
dispatch(setlocality(Object.assign(Object.assign({}, locality), params)));
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=localityHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localityHandler.js","sourceRoot":"","sources":["../../../src/graphql/query/localityHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAI1D,MAAM,UAAU,eAAe,CAAC,QAAkB,EAAE,QAAkC,EAAC,MAAa;IAChG,IAAI,QAAQ,EAAE;QACV,QAAQ,CAAC,WAAW,iCAAK,QAAQ,GAAI,MAAM,EAAE,CAAC,CAAA;KACjD;AACL,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/order.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,YAAY,CAAC,GAAU,EAAE,QAAkC,EAAG,MAAe,EAC3F,QAAiB;IACjB,YAAY,CAAC,UAAU,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/page.handler.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,WAAW,CAAC,IAAU,EAAE,QAAkC;AAE1E,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { setPaymentModeRoutes } from "../../store/slices/payment";
|
|
2
|
+
const themeMap = {};
|
|
3
|
+
export function paymentModeRoutesHandler(paymentModeRoutes, dispatch) {
|
|
4
|
+
if (paymentModeRoutes.payment_options) {
|
|
5
|
+
dispatch(setPaymentModeRoutes(paymentModeRoutes.payment_options));
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=paymentModeRoutes.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paymentModeRoutes.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/paymentModeRoutes.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,QAAQ,GAAG,EAEhB,CAAA;AAED,MAAM,UAAU,wBAAwB,CAAC,iBAAyC,EAAE,QAAkC;IAClH,IAAI,iBAAiB,CAAC,eAAe,EAAE;QACnC,QAAQ,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAA;KACpE;AACL,CAAC"}
|