{"version":3,"sources":["webpack:///list-by-cat/list-by-cat.js","webpack:///webpack/bootstrap 4a81f45e611e7f404202?1600*****","webpack:///./src/services/notify/notify.ts?54f6******","webpack:///./src/services/modulePath/modulePath.ts?e29e*****","webpack:///./src/factories/productList/productList.ts?623a*","webpack:///./src/components/store-list-by-cat-filter/store-list-by-cat-filter.template.html","webpack:///./src/components/store-list-by-cat/store-list-by-cat.template.html","webpack:///./src/components/breadcrumbs/breadcrumbs.controller.ts?b9e9**","webpack:///./src/components/product-list-sortoption/product-list-sortoption.controller.ts?1053*","webpack:///./src/components/store-list-by-cat-filter/store-list-by-cat-filter.ts","webpack:///./src/components/store-list-by-cat/store-list-by-cat.ts","webpack:///./src/directives/category-list-tree/category-list-tree.ts","webpack:///./src/services/compare/compare.ts?459f***","webpack:///./src/components/store-list-by-cat-filter/store-list-by-cat-filter.controller.ts","webpack:///./src/components/store-list-by-cat/store-list-by-cat.controller.ts","webpack:///./src/store-modules/list-by-cat/list-by-cat.ts","webpack:///./src/components/breadcrumbs/breadcrumbs.template.html?a28e**","webpack:///./src/components/product-list-sortoption/product-list-sortoption.template.html?7749*","webpack:///./src/components/breadcrumbs/breadcrumbs.ts?d5d4**","webpack:///./src/components/product-list-sortoption/product-list-sortoption.ts?8778*","webpack:///./src/factories/breadcrumbs/breadcrumbs.ts?be20**"],"names":[],"mappings":"AAAA,SAAS,CAAC,SAAS,SAAS;;UCC5B;;;UAGA;;;WAGA;YACA;;;WAGA;YACA;YACA;YACA;;;;WAIA;;;WAGA;;;WAGA;;;;;UAKA;;;UAGA;;;UAGA,0CAA2C;;;UAG3C;WACA;YACA;aACA;aACA;aACA;;;;;;UAMA;WACA;YACA,wBAA2B;YAC3B,8BAAiC;WACjC;WACA;;;;UAIA,qDAAsD;;;UAGtD;;;UAGA;;;UDIU;;MAEJ;OACC,SAAS,QAAQ,SAAS,qBAAqB;;AAEtD;;AAEA,QAAQ,aAAa;AEtErB;;IACI,uBAAoB,UAAkB,IAAE;QACpC;Q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cat/list-by-cat.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 427);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 0:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nvar notifyService = /** @class */ (function () {\r\n function notifyService($mdToast, $q) {\r\n \"ngInject\";\r\n this.$mdToast = $mdToast;\r\n this.$q = $q;\r\n }\r\n notifyService.prototype.show = function (_a) {\r\n var text = _a.text, _b = _a.pinTo, pinTo = _b === void 0 ? \"right top\" : _b, _c = _a.hideDelay, hideDelay = _c === void 0 ? 3000 : _c;\r\n this.$mdToast.show(this.$mdToast.notify()\r\n .textContent(text)\r\n .position(pinTo)\r\n .hideDelay(hideDelay)\r\n .parent(angular.element(document.getElementById('Body'))));\r\n };\r\n notifyService.prototype.action = function (_a) {\r\n var text = _a.text, _b = _a.pinTo, pinTo = _b === void 0 ? \"right top\" : _b, _c = _a.hideDelay, hideDelay = _c === void 0 ? 10000 : _c, action = _a.action, _d = _a.highlightClass, highlightClass = _d === void 0 ? \"md-primary\" : _d, actionUrl = _a.actionUrl, _e = _a.actionTarget, actionTarget = _e === void 0 ? \"_blank\" : _e;\r\n return this.$mdToast.show(this.$mdToast.action()\r\n .textContent(text)\r\n .action(action)\r\n .actionUrl(actionUrl)\r\n .actionTarget(actionTarget)\r\n .highlightClass(highlightClass) // Accent is used by default, this just demonstrates the usage.\r\n .hideDelay(hideDelay)\r\n .parent(angular.element(document.getElementById('Body')))\r\n .position(pinTo));\r\n };\r\n return notifyService;\r\n}());\r\nexports.notifyService = notifyService;\r\n\n\n/***/ }),\n\n/***/ 1:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nvar modulePathService = /** @class */ (function () {\r\n function modulePathService(localStorageService, $http, MyConstant, $q) {\r\n \"ngInject\";\r\n this.localStorageService = localStorageService;\r\n this.$http = $http;\r\n this.MyConstant = MyConstant;\r\n this.$q = $q;\r\n }\r\n // get(module) {\r\n // return this.getFromServer().then(\r\n // response => {\r\n // return response[module]\r\n // }\r\n // )\r\n // }\r\n modulePathService.prototype.get = function () {\r\n var _this = this;\r\n var cdv = this.localStorageService.get('cdv') || 1;\r\n var modulePath = this.localStorageService.get('modulePath');\r\n var path = this.$q(function (resolve, reject) {\r\n if (modulePath && modulePath.cdv == cdv) {\r\n resolve(modulePath);\r\n }\r\n else {\r\n _this.$http.get(_this.MyConstant.ApiUrl + \"Settings/GetSettings\", { cache: true }).then(function (response) {\r\n response.data.ModulePath.cdv = _this.localStorageService.get('cdv') || 1;\r\n _this.localStorageService.set('modulePath', response.data.ModulePath);\r\n resolve(response.data.ModulePath);\r\n }, function (error) {\r\n reject(error);\r\n });\r\n }\r\n });\r\n return path;\r\n };\r\n return modulePathService;\r\n}());\r\nexports.modulePathService = modulePathService;\r\n\n\n/***/ }),\n\n/***/ 10:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nfunction productListFactory($resource, MyConstant, $q, $rootScope) {\r\n \"ngInject\";\r\n var stopRequestGetAllQuestions = $q.defer();\r\n return $resource(\"\", {}, {\r\n getByType: {\r\n url: MyConstant.ApiUrl + \"ECBTempGeneral/GetProductsByTypeID?productTypeID=:productTypeID&sortField=:sortField&sortAsc=:sortOrder&rowsPerPage=:pageSize&pageNumber=:pageNumber&justUsedItems=:usedItem&justAvailableProducts=:existItem\",\r\n method: \"Post\",\r\n cancellable: true\r\n // cache: true\r\n },\r\n getByCat: {\r\n url: MyConstant.ApiUrl + \"ECBTempGeneral/GetProductsByCatID/?catID=:catID&sortField=:sortField&sortAsc=:sortOrder&rowsPerPage=:pageSize&pageNumber=:pageNumber&justUsedItems=:usedItem&justAvailableProducts=:existItem\",\r\n method: \"GET\"\r\n // cache: true\r\n },\r\n getByVendor: {\r\n url: MyConstant.ApiUrl + \"ECBTempGeneral/GetVendorProducts/?VendorID=:vendorId&CategoryId=:categoryId&ProductTypeId=:productTypeId&sortField=:sortField&sortAsc=:sortOrder&rowsPerPage=:pageSize&pageNumber=:pageNumber&justUsedItems=:usedItem&justAvailableProducts=:existItem\",\r\n method: \"GET\"\r\n // cache: true\r\n },\r\n getByKeyword: {\r\n url: MyConstant.ApiUrl + \"ECBTempGeneral/SearchProducts/?VendorId=null&CategoryId=null&ProductTypeId=null&SortField=:sortField&sortAsc=:sortOrder&RowPerPage=:pageSize&pageNumber=:pageNumber&JustUsedProduct=:usedItem&JustAvailableProducts=:existItem&FilterText=:keywords&SearchInName=true&SearchInAttr=true&SearchInBrand=true&SearchInCat=true\",\r\n method: \"GET\"\r\n // cache: true\r\n }\r\n });\r\n}\r\nexports.productListFactory = productListFactory;\r\n\n\n/***/ }),\n\n/***/ 134:\n/***/ (function(module, exports) {\n\nmodule.exports = \"
بازگشت
\";\n\n/***/ }),\n\n/***/ 135:\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\";\n\n/***/ }),\n\n/***/ 16:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nvar breadcrumbsController = /** @class */ (function () {\r\n function breadcrumbsController($rootScope, $timeout, $state) {\r\n \"ngInject\";\r\n this.$rootScope = $rootScope;\r\n this.$timeout = $timeout;\r\n this.$state = $state;\r\n }\r\n breadcrumbsController.prototype.routeChange = function () {\r\n var _this = this;\r\n if (this.$state.current.name == \"listByCat\")\r\n this.$timeout(function () {\r\n _this.$rootScope.$emit('$routeChangeSuccess');\r\n }, 10);\r\n };\r\n breadcrumbsController.prototype.$onInit = function () {\r\n };\r\n return breadcrumbsController;\r\n}());\r\nexports.breadcrumbsController = breadcrumbsController;\r\n\n\n/***/ }),\n\n/***/ 17:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nvar productListSortoptionController = /** @class */ (function () {\r\n function productListSortoptionController($state, $rootScope) {\r\n \"ngInject\";\r\n this.$state = $state;\r\n this.$rootScope = $rootScope;\r\n this.showList = defaultIsGrid == 'true' ? true : false;\r\n this.existItem = false;\r\n this.usedItem = false;\r\n this.sortItems = {\r\n sortField: {\r\n items: ['ProductName', 'Meta_MinPrice', 'Meta_DatePublish', 'Meta_DateModifed', 'Meta_UserViews', 'Meta_SaleCount', 'Meta_CommentCount', 'Meta_UserRating'],\r\n $selected: defaultSortBy || 'Meta_DateModifed',\r\n $preValue: defaultSortBy || 'Meta_DateModifed'\r\n },\r\n sortOrder: {\r\n items: [\"asc\", \"desc\"],\r\n $selected: defaultIsAsc == 'true' ? 'asc' : 'desc',\r\n $preValue: defaultIsAsc == 'true' ? 'asc' : 'desc'\r\n },\r\n pageSize: {\r\n items: [12, 24, 36, 48],\r\n $selected: defaultPageSize || 12,\r\n $preValue: defaultPageSize || 12\r\n }\r\n };\r\n }\r\n productListSortoptionController.prototype.toggleSize = function () {\r\n this.showList = !this.showList;\r\n this.$rootScope.$emit('changeProductView');\r\n }; //end toggleSize\r\n productListSortoptionController.prototype.change = function (sortItem, value) {\r\n if (this.sortItems[sortItem].$preValue != value) {\r\n this.setToUrl(sortItem, value);\r\n this.sortItems[sortItem].$preValue = value;\r\n } //end if\r\n }; //end change\r\n productListSortoptionController.prototype.change_filter = function (sortItem, value) {\r\n this.setToUrl(sortItem, value);\r\n };\r\n productListSortoptionController.prototype.$onInit = function () {\r\n this.getFromUrl();\r\n }; //end $onInit\r\n productListSortoptionController.prototype.setToUrl = function (sortItem, value) {\r\n var url = this.$state.params.params || \"\";\r\n var urlArray = url && url.split('/') || [];\r\n var index = urlArray.indexOf(sortItem);\r\n var newUrl;\r\n if (index > -1) {\r\n // if sortItem exist in Url\r\n newUrl = url.replace(sortItem + '/' + urlArray[index + 1], sortItem + '/' + value);\r\n } //end if\r\n else {\r\n // if sortItem NOT exist in url\r\n var addonUrl = sortItem + '/' + value + '/';\r\n newUrl = url + addonUrl;\r\n } //end else\r\n if (url !== newUrl) {\r\n var index_1 = urlArray.indexOf('pageNumber');\r\n if (index_1 > -1) {\r\n // if sortItem exist in Url\r\n newUrl = newUrl.replace('pageNumber' + '/' + urlArray[index_1 + 1], 'pageNumber' + '/' + 1);\r\n }\r\n this.$state.params.params = newUrl;\r\n this.$state.go(this.$state.current, this.$state.params);\r\n this.$rootScope.$emit('$routeChangeSuccess');\r\n } //end if\r\n }; // end setToUrl\r\n productListSortoptionController.prototype.getFromUrl = function () {\r\n var url = this.$state.params.params;\r\n var urlArray = url && url.split('/') || [];\r\n angular.forEach(this.sortItems, function (sortItem, key) {\r\n var index = urlArray.indexOf(key);\r\n if (index > -1) {\r\n sortItem.$selected = urlArray[index + 1];\r\n sortItem.$preValue = urlArray[index + 1];\r\n } //end if\r\n }); //end forEach\r\n for (var _i = 0, _a = ['existItem', 'usedItem']; _i < _a.length; _i++) {\r\n var item = _a[_i];\r\n var index = urlArray.indexOf(item);\r\n if (index > -1) {\r\n this[item] = urlArray[index + 1] == 'false' ? false : true;\r\n } //end if\r\n } //end for\r\n }; //end getFromUrl\r\n return productListSortoptionController;\r\n}());\r\nexports.productListSortoptionController = productListSortoptionController;\r\n\n\n/***/ }),\n\n/***/ 242:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\n__webpack_require__(134);\r\nvar store_list_by_cat_filter_controller_1 = __webpack_require__(396);\r\nexports.storeListByCatFilterComponent = {\r\n template: __webpack_require__(134),\r\n controller: store_list_by_cat_filter_controller_1.storeListByCatFilterController\r\n};\r\n\n\n/***/ }),\n\n/***/ 243:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\n__webpack_require__(135);\r\nvar store_list_by_cat_controller_1 = __webpack_require__(397);\r\nexports.storeListByCatComponent = {\r\n template: __webpack_require__(135),\r\n controller: store_list_by_cat_controller_1.storeListByCatController\r\n};\r\n\n\n/***/ }),\n\n/***/ 263:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nfunction categoryListTreeDirective($rootScope) {\r\n \"ngInject\";\r\n var template = \"\";\r\n return {\r\n restrict: \"A\",\r\n link: link,\r\n template: template,\r\n scope: {\r\n model: '='\r\n }\r\n };\r\n function link(scope, element, attr) {\r\n }\r\n}\r\nexports.categoryListTreeDirective = categoryListTreeDirective;\r\n\n\n/***/ }),\n\n/***/ 3:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nvar compareService = /** @class */ (function () {\r\n function compareService(localStorageService, $notify, $rootScope, $mPath, $window) {\r\n \"ngInject\";\r\n var _this = this;\r\n this.localStorageService = localStorageService;\r\n this.$notify = $notify;\r\n this.$rootScope = $rootScope;\r\n this.$mPath = $mPath;\r\n this.$window = $window;\r\n this.$mPath.get().then(function (response) {\r\n _this.compareUrl = response.StoreCompare + \"/\";\r\n });\r\n }\r\n compareService.prototype.get = function (productTypeID) {\r\n var obj = this.localStorageService.get(\"compare\" + productTypeID) || [];\r\n return obj;\r\n };\r\n compareService.prototype.add = function (productTypeID, product) {\r\n var obj = this.get(productTypeID);\r\n var isExist = this.checkExist(obj, product);\r\n if (obj.length > 4) {\r\n var actionUrl = this.doComareUrl(productTypeID);\r\n this.$notify.action({ text: 'تعداد محصول های لیست مقایسه نمی تواند بیشتر از 5 عدد باشد', action: \"برو به صفحه مقایسه\", actionUrl: actionUrl });\r\n }\r\n if (isExist) {\r\n var actionUrl = this.doComareUrl(productTypeID);\r\n this.$notify.action({ text: 'این محصول در لیست مقایسه وجود دارد', action: \"برو به صفحه مقایسه\", actionUrl: actionUrl });\r\n product.compareStatus = true;\r\n }\r\n if (!isExist && obj.length < 5) {\r\n obj.push(product);\r\n this.localStorageService.set(\"compare\" + productTypeID, obj);\r\n var actionUrl = this.doComareUrl(productTypeID);\r\n this.$notify.action({ text: 'این محصول با موفقیت به لیست مقایسه اضافه شد', action: \"برو به صفحه مقایسه\", actionUrl: actionUrl });\r\n this.$rootScope.$emit('addCompare');\r\n product.compareStatus = true;\r\n }\r\n };\r\n compareService.prototype.remove = function (productTypeID, product) {\r\n var obj = this.get(productTypeID);\r\n obj = this.removeItem(obj, product);\r\n this.localStorageService.set(\"compare\" + productTypeID, obj);\r\n this.$notify.show({ text: 'با موفقیت از لیست حذف شد' });\r\n };\r\n compareService.prototype.clear = function (productTypeID) {\r\n var obj = [];\r\n this.localStorageService.set(\"compare\" + productTypeID, obj);\r\n this.$notify.show({ text: 'لیست با موفقیت پاک سازی شد' });\r\n };\r\n compareService.prototype.doComareUrl = function (productTypeID) {\r\n var urlAddon = \"\";\r\n var items = this.get(productTypeID);\r\n angular.forEach(items, function (val) {\r\n urlAddon = urlAddon + val.ProductID + '/';\r\n });\r\n return this.compareUrl + urlAddon;\r\n };\r\n compareService.prototype.doCompare = function (productTypeID) {\r\n var compareUrl = this.doComareUrl(productTypeID);\r\n this.$window.location.href = compareUrl;\r\n };\r\n compareService.prototype.checkExist = function (obj, product) {\r\n var isExist = false;\r\n angular.forEach(obj, function (val) {\r\n if (val.ProductID === product.ProductID) {\r\n isExist = true;\r\n }\r\n });\r\n return isExist;\r\n };\r\n compareService.prototype.removeItem = function (obj, product) {\r\n angular.forEach(obj, function (val, key) {\r\n if (val.ProductID === product.ProductID) {\r\n obj.splice(key, 1);\r\n }\r\n });\r\n return obj;\r\n };\r\n return compareService;\r\n}());\r\nexports.compareService = compareService;\r\n\n\n/***/ }),\n\n/***/ 396:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nvar storeListByCatFilterController = /** @class */ (function () {\r\n function storeListByCatFilterController($$subcategory, $state, $rootScope, $timeout) {\r\n \"ngInject\";\r\n this.$$subcategory = $$subcategory;\r\n this.$state = $state;\r\n this.$rootScope = $rootScope;\r\n this.$timeout = $timeout;\r\n this.ajaxLoading = true;\r\n }\r\n storeListByCatFilterController.prototype.$onInit = function () {\r\n var _this = this;\r\n this.getSubCategories(this.$state.params.catID);\r\n this.$rootScope.$on('$routeChangeSuccess', function () {\r\n _this.getSubCategories(_this.$state.params.catID);\r\n });\r\n };\r\n storeListByCatFilterController.prototype.back = function () {\r\n var _this = this;\r\n this.$state.params.catID = this.selectedCat.ParentID;\r\n this.$state.params.params = null;\r\n this.$state.go(this.$state.current, this.$state.params);\r\n this.getSubCategories(this.selectedCat.ParentID);\r\n this.$timeout(function () {\r\n _this.$rootScope.$emit('$routeChangeSuccess');\r\n }, 10);\r\n };\r\n storeListByCatFilterController.prototype.changeCategory = function (item) {\r\n var _this = this;\r\n if (item.Type == 'Category') {\r\n this.getSubCategories(item.ID);\r\n this.$timeout(function () {\r\n _this.$rootScope.$emit('$routeChangeSuccess');\r\n }, 10);\r\n }\r\n };\r\n storeListByCatFilterController.prototype.getSubCategories = function (id) {\r\n var _this = this;\r\n this.ajaxLoading = true;\r\n this.$$subcategory.query({\r\n catID: id,\r\n whole: false,\r\n RecursiveLimit: 1\r\n }, function (res) {\r\n if (res.length) {\r\n _this.selectedCat = res[0];\r\n _this.SubCategories = res[0].SubCategories;\r\n _this.ajaxLoading = false;\r\n }\r\n });\r\n };\r\n return storeListByCatFilterController;\r\n}());\r\nexports.storeListByCatFilterController = storeListByCatFilterController;\r\n\n\n/***/ }),\n\n/***/ 397:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nvar storeListByCatController = /** @class */ (function () {\r\n function storeListByCatController($productList, $breadcrumbs, $state, $rootScope) {\r\n \"ngInject\";\r\n var _this = this;\r\n this.$productList = $productList;\r\n this.$breadcrumbs = $breadcrumbs;\r\n this.$state = $state;\r\n this.$rootScope = $rootScope;\r\n this.breadcrumbs = [];\r\n // $rootScope.$watch(()=> this.$state.params.catID, ()=>{\r\n // \r\n // })\r\n $rootScope.$on('$routeChangeSuccess', function () {\r\n _this.listFilter.catID = _this.$state.params.catID;\r\n _this.getBreadCrumbs();\r\n _this.getFilterFromUrl();\r\n });\r\n }\r\n storeListByCatController.prototype.$onInit = function () {\r\n var params = this.$state.params.params;\r\n if (params[params.length - 1] != '/') {\r\n params = params + '/';\r\n this.$state.params.params = params;\r\n this.$state.go(this.$state.current, this.$state.params);\r\n }\r\n this.listFilter = {\r\n pageSize: defaultPageSize || 12,\r\n pageNumber: 1,\r\n sortOrder: defaultIsAsc == 'true' ? true : false,\r\n usedItem: false,\r\n existItem: false,\r\n sortField: 'Meta_DateModifed',\r\n catID: this.$state.params.catID\r\n };\r\n this.getBreadCrumbs();\r\n this.getFilterFromUrl();\r\n // this.$rootScope.$on('$stateChangeSuccess',\r\n // function (event, toState, toParams, fromState, fromParams) { \r\n };\r\n storeListByCatController.prototype.getProductList = function () {\r\n var _this = this;\r\n this.$rootScope.$emit('startLoading');\r\n this.$productList.getByCat(this.listFilter, function (res) {\r\n _this.totalItems = res.TotalCount;\r\n _this.productList = res.ProductList;\r\n if (_this.breadcrumbs.length > 0) {\r\n _this.breadcrumbs[0].totalItems = res.TotalCount;\r\n }\r\n else {\r\n _this.$rootScope.$on('breadcrumbsLoaded', function () {\r\n _this.breadcrumbs[0].totalItems = res.TotalCount;\r\n });\r\n }\r\n _this.$rootScope.$emit('endLoading', _this.productList);\r\n });\r\n };\r\n storeListByCatController.prototype.getBreadCrumbs = function () {\r\n var _this = this;\r\n this.$breadcrumbs.getByCat({\r\n catID: this.$state.params.catID\r\n }, function (res) {\r\n _this.breadcrumbs = res;\r\n _this.$rootScope.$emit('breadcrumbsLoaded');\r\n });\r\n };\r\n storeListByCatController.prototype.getFilterFromUrl = function () {\r\n var fullUrl = this.$state.params.params;\r\n var urlDefIds = fullUrl && fullUrl.split('defID') || [];\r\n var urlArray = fullUrl && fullUrl.split('/') || [];\r\n for (var item in this.listFilter) {\r\n var indexOfDefID = urlArray.indexOf(item);\r\n if (indexOfDefID > -1) {\r\n this.listFilter[item] = urlArray[indexOfDefID + 1];\r\n if (item == 'sortOrder') {\r\n this.listFilter[item] = this.listFilter[item] == 'asc' ? true : false;\r\n }\r\n }\r\n }\r\n this.getProductList();\r\n };\r\n return storeListByCatController;\r\n}());\r\nexports.storeListByCatController = storeListByCatController;\r\n\n\n/***/ }),\n\n/***/ 427:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nvar breadcrumbs_1 = __webpack_require__(7);\r\nvar product_list_sortoption_1 = __webpack_require__(8);\r\nvar store_list_by_cat_1 = __webpack_require__(243);\r\nvar store_list_by_cat_filter_1 = __webpack_require__(242);\r\nvar breadcrumbs_2 = __webpack_require__(9);\r\nvar productList_1 = __webpack_require__(10);\r\nvar compare_1 = __webpack_require__(3);\r\nvar notify_1 = __webpack_require__(0);\r\nvar modulePath_1 = __webpack_require__(1);\r\nvar category_list_tree_1 = __webpack_require__(263);\r\nvar app = angular.module('store-list-by-cat', []);\r\napp.component('breadcrumbs', breadcrumbs_1.breadcrumbsComponent);\r\napp.component('productListSortoption', product_list_sortoption_1.productListSortoptionComponent);\r\napp.component('storeListByCat', store_list_by_cat_1.storeListByCatComponent);\r\napp.component('storeListByCatFilter', store_list_by_cat_filter_1.storeListByCatFilterComponent);\r\napp.factory('$breadcrumbs', breadcrumbs_2.breadcrumbsFactory);\r\napp.factory('$productList', productList_1.productListFactory);\r\napp.service('$compare', compare_1.compareService);\r\napp.service('$notify', notify_1.notifyService);\r\napp.service('$mPath', modulePath_1.modulePathService);\r\napp.directive('categoryListTree', category_list_tree_1.categoryListTreeDirective);\r\napp.factory('$$subcategory', subcategoryFactory);\r\nfunction subcategoryFactory($resource, MyConstant) {\r\n \"ngInject\";\r\n return $resource(MyConstant.ApiUrl + \"ECBTempGeneral/GetSubCategories/?catID=:catID&vendorID=null&hasWholeCategoryList=:whole\", {}, {\r\n query: {\r\n cache: true,\r\n url: MyConstant.ApiUrl + \"ECBTempGeneral/GetSubCategories/?catID=:catID&vendorID=null&hasWholeCategoryList=:whole\",\r\n method: 'GET',\r\n isArray: true\r\n }\r\n });\r\n}\r\n\n\n/***/ }),\n\n/***/ 5:\n/***/ (function(module, exports) {\n\nmodule.exports = \"\";\n\n/***/ }),\n\n/***/ 6:\n/***/ (function(module, exports) {\n\nmodule.exports = \"
{{item | translates:'FA'}}
موجود
\";\n\n/***/ }),\n\n/***/ 7:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\n__webpack_require__(5);\r\nvar breadcrumbs_controller_1 = __webpack_require__(16);\r\nexports.breadcrumbsComponent = {\r\n template: __webpack_require__(5),\r\n bindings: {\r\n items: '='\r\n },\r\n controller: breadcrumbs_controller_1.breadcrumbsController\r\n};\r\n\n\n/***/ }),\n\n/***/ 8:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\n__webpack_require__(6);\r\nvar product_list_sortoption_controller_1 = __webpack_require__(17);\r\nexports.productListSortoptionComponent = {\r\n template: __webpack_require__(6),\r\n controller: product_list_sortoption_controller_1.productListSortoptionController\r\n};\r\n\n\n/***/ }),\n\n/***/ 9:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nfunction breadcrumbsFactory($resource, MyConstant) {\r\n \"ngInject\";\r\n return $resource('', {}, {\r\n getByType: {\r\n url: MyConstant.ApiUrl + \"Settings/GetBreadCrumbByTypeID?typeID=:typeID\",\r\n params: { typeID: '@productTypeID' },\r\n isArray: true,\r\n cache: true\r\n },\r\n getByCat: {\r\n url: MyConstant.ApiUrl + \"Settings/GetBreadCrumbByCatID?catID=:catID\",\r\n params: { catID: '@categoryID' },\r\n isArray: true,\r\n cache: true\r\n },\r\n getByProduct: {\r\n url: MyConstant.ApiUrl + \"Settings/GetBreadCrumbByProductID?productId=:productId\",\r\n params: { productId: '@productId' },\r\n isArray: true,\r\n cache: true\r\n }\r\n });\r\n}\r\nexports.breadcrumbsFactory = breadcrumbsFactory;\r\n\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// list-by-cat/list-by-cat.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 427);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 4a81f45e611e7f404202","declare var angular: ng.IAngularStatic;\r\nexport interface INotifyService {\r\n show(obj: { text?: string, pinTo?: string, hideDelay?: number })\r\n action(obj:{ text?:string, pinTo ?:string, hideDelay ?:number, action?:string, highlightClass?:string, actionUrl?:string, actionTarget?:string })\r\n}\r\nexport class notifyService {\r\n constructor(private $mdToast, private $q) {\r\n \"ngInject\";\r\n }\r\n show({ text, pinTo = \"right top\", hideDelay = 3000 }) {\r\n this.$mdToast.show(\r\n this.$mdToast.notify()\r\n .textContent(text)\r\n .position(pinTo)\r\n .hideDelay(hideDelay)\r\n .parent(angular.element(document.getElementById('Body')))\r\n )\r\n }\r\n\r\n action({ text, pinTo = \"right top\", hideDelay = 10000, action, highlightClass = \"md-primary\", actionUrl, actionTarget = \"_blank\" }) {\r\n\r\n return this.$mdToast.show(\r\n this.$mdToast.action()\r\n .textContent(text)\r\n .action(action)\r\n .actionUrl(actionUrl)\r\n .actionTarget(actionTarget)\r\n .highlightClass(highlightClass)// Accent is used by default, this just demonstrates the usage.\r\n .hideDelay(hideDelay)\r\n .parent(angular.element(document.getElementById('Body')))\r\n .position(pinTo)\r\n )\r\n }\r\n\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/services/notify/notify.ts","export class modulePathService {\r\n constructor(public localStorageService, public $http, private MyConstant, private $q) {\r\n \"ngInject\"\r\n\r\n }\r\n\r\n // get(module) {\r\n // return this.getFromServer().then(\r\n // response => {\r\n // return response[module]\r\n // }\r\n // )\r\n // }\r\n\r\n get() {\r\n let cdv = this.localStorageService.get('cdv') || 1;\r\n let modulePath = this.localStorageService.get('modulePath')\r\n let path = this.$q((resolve, reject) => {\r\n if (modulePath && modulePath.cdv == cdv) {\r\n resolve(modulePath)\r\n }\r\n else {\r\n this.$http.get(`${this.MyConstant.ApiUrl}Settings/GetSettings`, { cache: true }).then(\r\n response => {\r\n response.data.ModulePath.cdv = this.localStorageService.get('cdv') || 1;\r\n this.localStorageService.set('modulePath', response.data.ModulePath)\r\n resolve(response.data.ModulePath)\r\n },\r\n error => {\r\n reject(error)\r\n }\r\n )\r\n\r\n }\r\n })\r\n\r\n\r\n return path\r\n }\r\n\r\n\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/services/modulePath/modulePath.ts","export function productListFactory($resource, MyConstant, $q, $rootScope) {\r\n \"ngInject\";\r\n var stopRequestGetAllQuestions = $q.defer();\r\n return $resource(\r\n \"\",\r\n {},\r\n {\r\n getByType: {\r\n url: `${\r\n MyConstant.ApiUrl\r\n }ECBTempGeneral/GetProductsByTypeID?productTypeID=:productTypeID&sortField=:sortField&sortAsc=:sortOrder&rowsPerPage=:pageSize&pageNumber=:pageNumber&justUsedItems=:usedItem&justAvailableProducts=:existItem`,\r\n method: \"Post\",\r\n cancellable: true\r\n // cache: true\r\n },\r\n getByCat: {\r\n url: `${\r\n MyConstant.ApiUrl\r\n }ECBTempGeneral/GetProductsByCatID/?catID=:catID&sortField=:sortField&sortAsc=:sortOrder&rowsPerPage=:pageSize&pageNumber=:pageNumber&justUsedItems=:usedItem&justAvailableProducts=:existItem`,\r\n method: \"GET\"\r\n // cache: true\r\n },\r\n getByVendor: {\r\n url: `${\r\n MyConstant.ApiUrl\r\n }ECBTempGeneral/GetVendorProducts/?VendorID=:vendorId&CategoryId=:categoryId&ProductTypeId=:productTypeId&sortField=:sortField&sortAsc=:sortOrder&rowsPerPage=:pageSize&pageNumber=:pageNumber&justUsedItems=:usedItem&justAvailableProducts=:existItem`,\r\n method: \"GET\"\r\n // cache: true\r\n },\r\n getByKeyword: {\r\n url: `${\r\n MyConstant.ApiUrl\r\n }ECBTempGeneral/SearchProducts/?VendorId=null&CategoryId=null&ProductTypeId=null&SortField=:sortField&sortAsc=:sortOrder&RowPerPage=:pageSize&pageNumber=:pageNumber&JustUsedProduct=:usedItem&JustAvailableProducts=:existItem&FilterText=:keywords&SearchInName=true&SearchInAttr=true&SearchInBrand=true&SearchInCat=true`,\r\n method: \"GET\"\r\n // cache: true\r\n }\r\n }\r\n );\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/factories/productList/productList.ts","module.exports = \"
بازگشت
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/store-list-by-cat-filter/store-list-by-cat-filter.template.html\n// module id = 134\n// module chunks = 8","module.exports = \"
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/store-list-by-cat/store-list-by-cat.template.html\n// module id = 135\n// module chunks = 8","export class breadcrumbsController {\r\n constructor(private $rootScope, private $timeout, private $state) {\r\n \"ngInject\"\r\n\r\n }\r\n\r\n routeChange() {\r\n if (this.$state.current.name == \"listByCat\")\r\n this.$timeout(() => {\r\n this.$rootScope.$emit('$routeChangeSuccess')\r\n }, 10)\r\n }\r\n\r\n $onInit() {\r\n\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/components/breadcrumbs/breadcrumbs.controller.ts","declare var defaultSortBy, defaultIsAsc, defaultPageSize, defaultIsGrid, angular: ng.IAngularStatic;\r\n\r\nexport class productListSortoptionController {\r\n showList = defaultIsGrid == 'true' ? true : false;\r\n existItem = false;\r\n usedItem = false;\r\n sortItems = {\r\n sortField: {\r\n items: ['ProductName', 'Meta_MinPrice', 'Meta_DatePublish', 'Meta_DateModifed', 'Meta_UserViews', 'Meta_SaleCount', 'Meta_CommentCount', 'Meta_UserRating'],\r\n $selected: defaultSortBy || 'Meta_DateModifed',\r\n $preValue: defaultSortBy || 'Meta_DateModifed'\r\n },\r\n sortOrder: {\r\n items: [\"asc\", \"desc\"],\r\n $selected: defaultIsAsc == 'true' ? 'asc' : 'desc',\r\n $preValue: defaultIsAsc == 'true' ? 'asc' : 'desc'\r\n },\r\n pageSize: {\r\n items: [12, 24, 36, 48],\r\n $selected: defaultPageSize || 12,\r\n $preValue: defaultPageSize || 12\r\n }\r\n }\r\n constructor(private $state, private $rootScope) {\r\n \"ngInject\"\r\n\r\n }\r\n\r\n toggleSize() {\r\n this.showList = !this.showList;\r\n this.$rootScope.$emit('changeProductView')\r\n }//end toggleSize\r\n\r\n change(sortItem, value) {\r\n if (this.sortItems[sortItem].$preValue != value) {\r\n this.setToUrl(sortItem, value)\r\n this.sortItems[sortItem].$preValue = value;\r\n } //end if\r\n\r\n }//end change\r\n\r\n change_filter(sortItem, value) {\r\n this.setToUrl(sortItem, value)\r\n }\r\n\r\n $onInit() {\r\n this.getFromUrl();\r\n }//end $onInit\r\n\r\n private setToUrl(sortItem, value) {\r\n\r\n let url = this.$state.params.params || \"\";\r\n let urlArray = url && url.split('/') || [];\r\n let index = urlArray.indexOf(sortItem);\r\n let newUrl;\r\n\r\n if (index > -1) {\r\n // if sortItem exist in Url\r\n newUrl = url.replace(sortItem + '/' + urlArray[index + 1], sortItem + '/' + value)\r\n\r\n } //end if\r\n\r\n else {\r\n // if sortItem NOT exist in url\r\n let addonUrl = sortItem + '/' + value + '/'\r\n newUrl = url + addonUrl;\r\n } //end else\r\n\r\n if (url !== newUrl) {\r\n let index = urlArray.indexOf('pageNumber');\r\n if (index > -1) {\r\n // if sortItem exist in Url\r\n newUrl = newUrl.replace('pageNumber' + '/' + urlArray[index + 1], 'pageNumber' + '/' + 1)\r\n\r\n }\r\n this.$state.params.params = newUrl;\r\n this.$state.go(this.$state.current, this.$state.params)\r\n this.$rootScope.$emit('$routeChangeSuccess')\r\n }//end if\r\n\r\n }// end setToUrl\r\n\r\n\r\n private getFromUrl() {\r\n let url = this.$state.params.params;\r\n let urlArray = url && url.split('/') || [];\r\n angular.forEach(this.sortItems, (sortItem, key) => {\r\n let index = urlArray.indexOf(key);\r\n if (index > -1) {\r\n sortItem.$selected = urlArray[index + 1]\r\n sortItem.$preValue = urlArray[index + 1]\r\n }//end if\r\n })//end forEach\r\n\r\n for (let item of ['existItem', 'usedItem']) {\r\n\r\n let index = urlArray.indexOf(item);\r\n if (index > -1) {\r\n this[item] = urlArray[index + 1] == 'false' ? false : true\r\n }//end if\r\n }//end for\r\n }//end getFromUrl\r\n\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/components/product-list-sortoption/product-list-sortoption.controller.ts","declare var require:any;\r\nimport './store-list-by-cat-filter.template.html';\r\nimport {storeListByCatFilterController} from './store-list-by-cat-filter.controller'\r\n\r\nexport var storeListByCatFilterComponent = {\r\n template: require('./store-list-by-cat-filter.template.html'),\r\n controller:storeListByCatFilterController\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/components/store-list-by-cat-filter/store-list-by-cat-filter.ts","declare var require:any;\r\nimport './store-list-by-cat.template.html';\r\nimport {storeListByCatController} from './store-list-by-cat.controller'\r\n\r\nexport var storeListByCatComponent = {\r\n template: require('./store-list-by-cat.template.html'),\r\n controller:storeListByCatController\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/components/store-list-by-cat/store-list-by-cat.ts","export function categoryListTreeDirective($rootScope) {\r\n \"ngInject\"\r\n const template = ``\r\n return {\r\n restrict: \"A\",\r\n link: link,\r\n template: template,\r\n scope: {\r\n model: '='\r\n },\r\n }\r\n\r\n function link(scope, element, attr) {\r\n \r\n }\r\n}\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/directives/category-list-tree/category-list-tree.ts","declare var angular: ng.IAngularStatic;\r\nexport class compareService {\r\n compareUrl\r\n constructor(private localStorageService, private $notify, public $rootScope, private $mPath, private $window) {\r\n \"ngInject\"\r\n\r\n this.$mPath.get().then(\r\n response => {\r\n this.compareUrl = response.StoreCompare + \"/\"\r\n }\r\n )\r\n }\r\n\r\n get(productTypeID) {\r\n let obj = this.localStorageService.get(`compare${productTypeID}`) || []\r\n return obj;\r\n }\r\n\r\n add(productTypeID, product) {\r\n let obj = this.get(productTypeID);\r\n\r\n let isExist = this.checkExist(obj, product)\r\n if (obj.length > 4) {\r\n let actionUrl = this.doComareUrl(productTypeID)\r\n this.$notify.action({ text: 'تعداد محصول های لیست مقایسه نمی تواند بیشتر از 5 عدد باشد', action: \"برو به صفحه مقایسه\", actionUrl: actionUrl })\r\n }\r\n if (isExist) {\r\n let actionUrl = this.doComareUrl(productTypeID)\r\n this.$notify.action({ text: 'این محصول در لیست مقایسه وجود دارد', action: \"برو به صفحه مقایسه\", actionUrl: actionUrl })\r\n product.compareStatus = true;\r\n }\r\n if (!isExist && obj.length < 5) {\r\n obj.push(product)\r\n this.localStorageService.set(`compare${productTypeID}`, obj)\r\n let actionUrl = this.doComareUrl(productTypeID)\r\n\r\n this.$notify.action({ text: 'این محصول با موفقیت به لیست مقایسه اضافه شد', action: \"برو به صفحه مقایسه\", actionUrl: actionUrl })\r\n this.$rootScope.$emit('addCompare')\r\n product.compareStatus = true;\r\n }\r\n }\r\n\r\n remove(productTypeID, product) {\r\n let obj = this.get(productTypeID);\r\n obj = this.removeItem(obj, product)\r\n this.localStorageService.set(`compare${productTypeID}`, obj)\r\n this.$notify.show({ text: 'با موفقیت از لیست حذف شد' })\r\n }\r\n\r\n clear(productTypeID) {\r\n let obj = [];\r\n this.localStorageService.set(`compare${productTypeID}`, obj)\r\n this.$notify.show({ text: 'لیست با موفقیت پاک سازی شد' })\r\n }\r\n\r\n doComareUrl(productTypeID) {\r\n let urlAddon = \"\"\r\n let items = this.get(productTypeID)\r\n angular.forEach(items, (val) => {\r\n urlAddon = urlAddon + val.ProductID + '/';\r\n })\r\n return this.compareUrl + urlAddon;\r\n }\r\n\r\n doCompare(productTypeID){\r\n let compareUrl = this.doComareUrl(productTypeID)\r\n this.$window.location.href = compareUrl;\r\n }\r\n\r\n private checkExist(obj, product) {\r\n let isExist = false;\r\n angular.forEach(obj, (val) => {\r\n if (val.ProductID === product.ProductID) {\r\n isExist = true;\r\n }\r\n })\r\n return isExist\r\n }\r\n\r\n private removeItem(obj, product) {\r\n angular.forEach(obj, (val, key) => {\r\n if (val.ProductID === product.ProductID) {\r\n obj.splice(key, 1)\r\n }\r\n })\r\n return obj\r\n }\r\n\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/services/compare/compare.ts","export class storeListByCatFilterController {\r\n selectedCat;\r\n SubCategories;\r\n ajaxLoading = true;\r\n constructor(private $$subcategory, private $state, private $rootScope, private $timeout) {\r\n \"ngInject\"\r\n\r\n }\r\n $onInit() {\r\n this.getSubCategories(this.$state.params.catID)\r\n this.$rootScope.$on('$routeChangeSuccess', () => {\r\n this.getSubCategories(this.$state.params.catID)\r\n })\r\n }\r\n back() {\r\n this.$state.params.catID = this.selectedCat.ParentID;\r\n this.$state.params.params = null\r\n this.$state.go(this.$state.current, this.$state.params)\r\n this.getSubCategories(this.selectedCat.ParentID)\r\n this.$timeout(() => {\r\n this.$rootScope.$emit('$routeChangeSuccess')\r\n }, 10)\r\n }\r\n changeCategory(item) {\r\n if (item.Type == 'Category') {\r\n this.getSubCategories(item.ID)\r\n this.$timeout(() => {\r\n this.$rootScope.$emit('$routeChangeSuccess')\r\n }, 10)\r\n }\r\n }\r\n\r\n getSubCategories(id) {\r\n this.ajaxLoading = true\r\n this.$$subcategory.query({\r\n catID: id,\r\n whole: false,\r\n RecursiveLimit: 1\r\n }, (res: Array) => {\r\n if (res.length) {\r\n\r\n this.selectedCat = res[0];\r\n this.SubCategories = res[0].SubCategories;\r\n this.ajaxLoading = false;\r\n }\r\n })\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/components/store-list-by-cat-filter/store-list-by-cat-filter.controller.ts","declare let defaultIsAsc, defaultPageSize;\r\nexport class storeListByCatController {\r\n totalItems: any;\r\n breadcrumbs = [];\r\n listFilter;\r\n productList;\r\n constructor(private $productList, private $breadcrumbs, private $state, public $rootScope) {\r\n \"ngInject\"\r\n // $rootScope.$watch(()=> this.$state.params.catID, ()=>{\r\n // \r\n // })\r\n $rootScope.$on('$routeChangeSuccess', () => {\r\n this.listFilter.catID = this.$state.params.catID;\r\n this.getBreadCrumbs()\r\n this.getFilterFromUrl()\r\n });\r\n }\r\n\r\n $onInit() {\r\n let params = this.$state.params.params;\r\n if (params[params.length - 1] != '/') {\r\n params = params + '/'\r\n this.$state.params.params = params;\r\n this.$state.go(this.$state.current, this.$state.params)\r\n }\r\n this.listFilter = {\r\n pageSize: defaultPageSize || 12,\r\n pageNumber: 1,\r\n sortOrder: defaultIsAsc == 'true' ? true : false,\r\n usedItem: false,\r\n existItem: false,\r\n sortField: 'Meta_DateModifed',\r\n catID: this.$state.params.catID\r\n }\r\n this.getBreadCrumbs();\r\n this.getFilterFromUrl()\r\n // this.$rootScope.$on('$stateChangeSuccess',\r\n // function (event, toState, toParams, fromState, fromParams) { \r\n }\r\n\r\n getProductList() {\r\n this.$rootScope.$emit('startLoading')\r\n this.$productList.getByCat(this.listFilter, (res) => {\r\n this.totalItems = res.TotalCount\r\n this.productList = res.ProductList;\r\n if (this.breadcrumbs.length > 0) {\r\n this.breadcrumbs[0].totalItems = res.TotalCount;\r\n }\r\n else {\r\n this.$rootScope.$on('breadcrumbsLoaded', () => {\r\n this.breadcrumbs[0].totalItems = res.TotalCount;\r\n })\r\n }\r\n this.$rootScope.$emit('endLoading', this.productList)\r\n\r\n })\r\n }\r\n\r\n getBreadCrumbs() {\r\n\r\n this.$breadcrumbs.getByCat({\r\n catID: this.$state.params.catID\r\n }, (res) => {\r\n this.breadcrumbs = res;\r\n this.$rootScope.$emit('breadcrumbsLoaded')\r\n });\r\n\r\n }\r\n\r\n private getFilterFromUrl() {\r\n let fullUrl = this.$state.params.params;\r\n let urlDefIds = fullUrl && fullUrl.split('defID') || [];\r\n let urlArray = fullUrl && fullUrl.split('/') || [];\r\n for (let item in this.listFilter) {\r\n let indexOfDefID = urlArray.indexOf(item)\r\n if (indexOfDefID > -1) {\r\n this.listFilter[item] = urlArray[indexOfDefID + 1]\r\n if (item == 'sortOrder') {\r\n this.listFilter[item] = this.listFilter[item] == 'asc' ? true : false;\r\n }\r\n }\r\n }\r\n\r\n this.getProductList();\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/components/store-list-by-cat/store-list-by-cat.controller.ts","declare const angular: ng.IAngularStatic, defaultIsAsc;\r\n\r\nimport { breadcrumbsComponent } from '../../components/breadcrumbs/breadcrumbs'\r\nimport { productListSortoptionComponent } from '../../components/product-list-sortoption/product-list-sortoption'\r\nimport { paginationComponent } from '../../components/pagination/pagination'\r\nimport { productListComponent } from '../../components/product-list/product-list'\r\nimport { productComponent } from '../../components/product/product'\r\nimport { productGridViewComponent } from '../../components/product-grid-view/product-grid-view'\r\nimport { productlistViewComponent } from '../../components/product-list-view/product-list-view'\r\nimport { storeListByCatComponent } from '../../components/store-list-by-cat/store-list-by-cat'\r\nimport { storeListByCatFilterComponent } from '../../components/store-list-by-cat-filter/store-list-by-cat-filter'\r\n\r\nimport { breadcrumbsFactory } from '../../factories/breadcrumbs/breadcrumbs'\r\nimport { productListFactory } from '../../factories/productList/productList'\r\n\r\nimport { compareService } from '../../services/compare/compare'\r\nimport { notifyService } from '../../services/notify/notify'\r\nimport { modulePathService } from '../../services/modulePath/modulePath'\r\n\r\nimport { categoryListTreeDirective } from '../../directives/category-list-tree/category-list-tree'\r\nlet app = angular.module('store-list-by-cat', [])\r\napp.component('breadcrumbs', breadcrumbsComponent);\r\napp.component('productListSortoption', productListSortoptionComponent);\r\napp.component('storeListByCat', storeListByCatComponent);\r\napp.component('storeListByCatFilter', storeListByCatFilterComponent);\r\n\r\napp.factory('$breadcrumbs', breadcrumbsFactory)\r\napp.factory('$productList', productListFactory)\r\n\r\napp.service('$compare', compareService);\r\napp.service('$notify', notifyService);\r\napp.service('$mPath', modulePathService);\r\n\r\napp.directive('categoryListTree', categoryListTreeDirective)\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\napp.factory('$$subcategory', subcategoryFactory)\r\nfunction subcategoryFactory($resource, MyConstant) {\r\n \"ngInject\";\r\n return $resource(`${MyConstant.ApiUrl}ECBTempGeneral/GetSubCategories/?catID=:catID&vendorID=null&hasWholeCategoryList=:whole`, {}, {\r\n query: {\r\n cache: true,\r\n url: `${MyConstant.ApiUrl}ECBTempGeneral/GetSubCategories/?catID=:catID&vendorID=null&hasWholeCategoryList=:whole`,\r\n method: 'GET',\r\n isArray: true\r\n }\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/store-modules/list-by-cat/list-by-cat.ts","module.exports = \"\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/breadcrumbs/breadcrumbs.template.html\n// module id = 5\n// module chunks = 3 6 7 8","module.exports = \"
{{item | translates:'FA'}}
موجود
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/product-list-sortoption/product-list-sortoption.template.html\n// module id = 6\n// module chunks = 6 7 8 10","declare var require: any;\r\nimport './breadcrumbs.template.html';\r\nimport { breadcrumbsController } from './breadcrumbs.controller'\r\nexport var breadcrumbsComponent = {\r\n template: require('./breadcrumbs.template.html'),\r\n bindings: {\r\n items: '='\r\n },\r\n controller:breadcrumbsController,\r\n\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/components/breadcrumbs/breadcrumbs.ts","declare var require:any;\r\nimport './product-list-sortoption.template.html';\r\nimport {productListSortoptionController} from './product-list-sortoption.controller'\r\n\r\nexport var productListSortoptionComponent = {\r\n template: require('./product-list-sortoption.template.html'),\r\n controller:productListSortoptionController\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/components/product-list-sortoption/product-list-sortoption.ts","export function breadcrumbsFactory($resource, MyConstant) {\r\n \"ngInject\"\r\n return $resource('', {}, {\r\n getByType: {\r\n url: `${MyConstant.ApiUrl}Settings/GetBreadCrumbByTypeID?typeID=:typeID`,\r\n params: { typeID: '@productTypeID' },\r\n isArray: true,\r\n cache: true\r\n },\r\n getByCat: {\r\n url: `${MyConstant.ApiUrl}Settings/GetBreadCrumbByCatID?catID=:catID`,\r\n params: { catID: '@categoryID' },\r\n isArray: true,\r\n cache: true\r\n },\r\n getByProduct: {\r\n url: `${MyConstant.ApiUrl}Settings/GetBreadCrumbByProductID?productId=:productId`,\r\n params: { productId: '@productId' },\r\n isArray: true,\r\n cache: true\r\n }\r\n })\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/factories/breadcrumbs/breadcrumbs.ts"],"sourceRoot":""}