{"version":3,"sources":["webpack:///./widgets/shopListingProductBlock.js","webpack:///./widgets/shopListingByCategoryBlock.js","webpack:///../partials/widgets/shopListingProductBlock.hbs"],"names":["ShopListingProductBlock","_createClass","element","_classCallCheck","CLS","ShopListingByCategoryBlock","this","$el","$","$searchResultsEmpty","find","concat","$shopProducts","$loadMoreBtn","$loadingScreen","$loadMore","getCategory","data","getProductsApi","getPageSize","getLoadMore","loadingProducts","allProductsLoaded","pageSize","pageNumber","$productBlock","initParams","handleScrollLoading","getItems","key","value","params","category","count","offset","shopListingProductBlock","require","Handlebars","registerPartial","precompiled","Function","precompile","template","loadMoreProducts","_this","url","setPageNumber","addClass","_","isEmpty","param","ajax","type","success","hide","empty","length","forEach","item","$column","append","getShopListingProductBlockTemplate","last","show","removeClass","error","complete","This","document","on","window","scrollTop","height","scroll","newPageNumber","module","exports","container","depth0","helpers","partials","stack1","lookupProperty","parent","propertyName","Object","prototype","hasOwnProperty","call","escapeExpression","lambda","helper","hooks","helperMissing","nullContext","alias1","alias2","alias3","alias4","program","noop"],"mappings":"o9BAEA,IAGaA,EAAuBC,GACnC,SAAAD,EAAYE,I,4FAASC,CAAA,KAAAH,O,q1BCHtB,IACMI,EAAM,6BAECC,EAA0B,WAwBrC,O,EAvBD,SAAAA,EAAYH,I,4FAASC,CAAA,KAAAE,GAEpBC,KAAKC,IAAMC,EAAEN,GACbI,KAAKG,oBAAsBH,KAAKC,IAAIG,KAAK,IAADC,OAAKP,EAAG,yBAChDE,KAAKM,cAAgBN,KAAKC,IAAIG,KAAK,IAADC,OAAKP,EAAG,cAC1CE,KAAKO,aAAeP,KAAKC,IAAIG,KAAK,IAADC,OAAKP,EAAG,kBACzCE,KAAKQ,eAAiBR,KAAKC,IAAIG,KAAK,IAADC,OAAKP,EAAG,iCAC3CE,KAAKS,UAAYT,KAAKC,IAAIG,KAAK,IAADC,OAAKP,EAAG,4BAEtCE,KAAKU,YAAcV,KAAKC,IAAIU,KAAK,YACjCX,KAAKY,eAAiBZ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';\n\nexport class ShopListingProductBlock {\n\tconstructor(element) {\n\n\t}\n\n}\n","import Handlebars from 'handlebars';\nimport { ShopListingProductBlock } from './shopListingProductBlock';\n\nconst NS = 'ShopListingByCategoryBlock';\nconst CLS = 'shopListingByCategoryBlock';\n\nexport class ShopListingByCategoryBlock {\n\tconstructor(element) {\n\t\t// $el is the widget node return by the loadShopProductBlock function\n\t\tthis.$el = $(element);\n\t\tthis.$searchResultsEmpty = this.$el.find(`.${CLS}-searchResults-empty`);\n\t\tthis.$shopProducts = this.$el.find(`.${CLS}-products`);\n\t\tthis.$loadMoreBtn = this.$el.find(`.${CLS}-loadMore-btn`);\n\t\tthis.$loadingScreen = this.$el.find(`.${CLS}-searchResults-loadingScreen`);\n\t\tthis.$loadMore = this.$el.find(`.${CLS}-searchResults-loadMore`);\n\n\t\tthis.getCategory = this.$el.data('category');\n\t\tthis.getProductsApi = this.$el.data('productsApi');\n\t\tthis.getPageSize = this.$el.data('pageSize');\n\t\tthis.getLoadMore = this.$el.data('loadMore');\n\t\tthis.loadingProducts = false;\n\t\tthis.allProductsLoaded = false;\n\t\tthis.pageSize = this.getPageSize;\n\t\tthis.pageNumber = 1;\n\t\tthis.$productBlock = [];\n\t\tthis.initParams();\n\t\tif(this.getLoadMore == \"True\"){\n\t\t\tthis.handleScrollLoading(this.getLoadMore);\n\t\t}\n\t\tthis.getItems(false);\n\t}\n\n\tinitParams(){\n\t\t\tthis.params = {\n\t\t\t\t// siteId: this.siteId,\n\t\t\t\tcategory: this.getCategory,\n\t\t\t\tcount: this.pageSize,\n\t\t\t\toffset: 0,\n\t\t\t};\n\t}\n\n\tgetShopListingProductBlockTemplate() {\n\t\tlet shopListingProductBlock = require('../../partials/widgets/shopListingProductBlock.hbs');\n\t\tHandlebars.registerPartial('shopListingProductBlock', shopListingProductBlock);\n\n\t\tlet template = `\n\t\t\t{{> shopListingProductBlock\n\t\t\t\twg=\"shopListingProductBlock\"\n\t\t\t\tns=\"ShopListingProductBlock\"\n\t\t\t}}\n\t\t`;\n\n\t\tlet precompiled = new Function('return ' + Handlebars.precompile(template))();\n\t\treturn Handlebars.template(precompiled);\n\t}\n\n\t// Get items (reload content)\n\tgetItems(loadMoreProducts) {\n\t\tif (!this.loadingProducts && !this.allProductsLoaded) {\n\t\t\tthis.loadingProducts = true;\n\n\t\t\tlet url = this.getProductsApi;\n\n\t\t\tif (loadMoreProducts) {\n\t\t\t\tthis.setPageNumber(this.pageNumber + 1);\n\t\t\t\tthis.$loadMore.addClass('active');\n\t\t\t} else {\n\t\t\t\tthis.$loadingScreen.addClass('active');\n\t\t\t}\n\t\t\tif (!_.isEmpty(this.params)) {\n\t\t\t\turl += `?${$.param(this.params)}`;\n\t\t\t}\n\n\t\t\t$.ajax({\n\t\t\t\ttype: 'GET',\n\t\t\t\turl: url,\n\t\t\t\tsuccess: (data) => {\n\t\t\t\t\tthis.$searchResultsEmpty.hide();\n\n\t\t\t\t\tif (!loadMoreProducts) {\n\t\t\t\t\t\tthis.$shopProducts.empty();\n\t\t\t\t\t}\n\n\t\t\t\t\tif (data.length > 0) {\n\t\t\t\t\t\tdata.forEach((item) => {\n\t\t\t\t\t\t\tlet $column = this.$shopProducts.append(this.getShopListingProductBlockTemplate()(item));\n\t\t\t\t\t\t\tnew ShopListingProductBlock($column.find(`[data-wg=\"ShopListingProductBlock\"]`).last()[0], item);\n\t\t\t\t\t\t});\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (loadMoreProducts) {\n\t\t\t\t\t\t\tthis.allProductsLoaded = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis.$searchResultsEmpty.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.$loadingScreen.removeClass('active');\n\t\t\t\t\tthis.$loadMore.removeClass('active');\n\t\t\t\t},\n\t\t\t\terror: (error) => {\n\n\t\t\t\t},\n\t\t\t\tcomplete: () => {\n\t\t\t\t\tthis.loadingProducts = false;\n\t\t\t\t},\n\t\t\t});\n\t\t}\n\t}\n\n\thandleScrollLoading() {\n\t\tlet offsetFromBottom = 10;\n\t\tconst This = this;\n\t\t$(document).on('touchmove', onScroll); // for mobile\n\t\tfunction onScroll() {\n\t\t\tif ($(window).scrollTop() + offsetFromBottom > $(document).height() - $(window).height()-400) {\n\t\t\t\tThis.getItems(true);\n\t\t\t}\n\t\t}\n\t\t$(window).scroll(function() {\n\t\t\tlet position = $(window).scrollTop() + offsetFromBottom;\n\t\t\tlet bottom = $(document).height() - $(window).height();\n\n\t\t\tif ( position >= bottom ) {\n\t\t\t This.getItems(true);\n\t\t\t}\n\t\t });\n\t}\n\n\tsetPageNumber(newPageNumber) {\n\t\tthis.pageNumber = newPageNumber;\n\t\tthis.params.offset = (this.pageNumber - 1) * this.pageSize;\n\t}\n}\n","var Handlebars = require('/Users/owenli/Documents/workspace/awi-woolmark-fe/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"\\n\t\t\t\t\t\t\"\n + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? lookupProperty(depth0,\"designers\") : depth0)) != null ? lookupProperty(stack1,\"0\") : stack1), depth0))\n + \"\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var helper, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"\t\t\t\t
\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=\"function\", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"
\\n\t\\n\t
\\n\t
\\n\t
\\n\t
\\n\t\t\t\\n\t\t\t\t

\\n\"\n + ((stack1 = lookupProperty(helpers,\"if\").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,\"designers\") : depth0)) != null ? lookupProperty(stack1,\"length\") : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data,\"loc\":{\"start\":{\"line\":9,\"column\":5},\"end\":{\"line\":12,\"column\":12}}})) != null ? stack1 : \"\")\n + \"\t\t\t\t

\\n\t\t\t
\\n\"\n + ((stack1 = lookupProperty(helpers,\"if\").call(alias1,(depth0 != null ? lookupProperty(depth0,\"isCertified\") : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data,\"loc\":{\"start\":{\"line\":15,\"column\":3},\"end\":{\"line\":17,\"column\":10}}})) != null ? stack1 : \"\")\n + \"\t\t\t

\"\n + alias4(((helper = (helper = lookupProperty(helpers,\"title\") || (depth0 != null ? lookupProperty(depth0,\"title\") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"title\",\"hash\":{},\"data\":data,\"loc\":{\"start\":{\"line\":18,\"column\":30},\"end\":{\"line\":18,\"column\":39}}}) : helper)))\n + \"

\\n\t
\\n
\";\n},\"useData\":true});"],"sourceRoot":""}