{"version":3,"sources":["webpack:///list-by-type/list-by-type.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","webpack:///./src/components/store-list-by-type-filter/store-list-by-type-filter.template.html","webpack:///./src/components/store-list-by-type/store-list-by-type.template.html","webpack:///./src/components/top-filter/top-filter.template.html","webpack:///./src/components/breadcrumbs/breadcrumbs.controller.ts?b9e9","webpack:///./src/components/product-list-sortoption/product-list-sortoption.controller.ts","webpack:///./src/components/compare-box/compare-box.template.html","webpack:///./src/components/store-list-by-type-filter/store-list-by-type-filter.ts","webpack:///./src/components/store-list-by-type/store-list-by-type.ts","webpack:///./src/components/top-filter/top-filter.ts","webpack:///./src/components/compare-box/compare-box.ts","webpack:///./src/services/compare/compare.ts?459f*","webpack:///./src/components/compare-box/compare-box.controller.ts","webpack:///./src/components/store-list-by-type-filter/store-list-by-type-filter.controller.ts","webpack:///./src/components/store-list-by-type/store-list-by-type.controller.ts","webpack:///./src/components/top-filter/top-filter.controller.ts","webpack:///./src/store-modules/list-by-type/list-by-type.ts","webpack:///./src/components/breadcrumbs/breadcrumbs.template.html?a28e","webpack:///./src/components/product-list-sortoption/product-list-sortoption.template.html","webpack:///./src/components/breadcrumbs/breadcrumbs.ts?d5d4","webpack:///./src/components/product-list-sortoption/product-list-sortoption.ts","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,S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tD;;AAEA,QAAQ,aAAa;AuB1hCrB;AACA;AACW,+BAAuB;IAC9B,UAAU,oBAAQ;IAClB,UAAU;QACN,OAAO;;IAEX,YAAW;;;;;;MvBiiCT;OACC,SAAS,QAAQ,SAAS,qBAAqB;;AAEtD;;AAEA,QAAQ,aAAa;AwB7iCrB;AACA;AAEW,yCAAiC;IACxC,UAAU,oBAAQ;IAClB,YAAW;;;;;;MxBmjCT;OACC,SAAS,QAAQ,SAAS,qBAAqB;;AAEtD;;;AAEA,QAAQ,aAAa;AyB9jCrB,4BAAmC,WAAW,YAAU;IACpD;IACA,OAAO,UAAU,IAAI,IAAI;QACrB,WAAW;YACP,KAAQ,WAAW,SAAM;YACzB,QAAQ,EAAE,QAAQ;YAClB,SAAS;YACT,OAAO;;QAEX,UAAU;YACN,KAAQ,WAAW,SAAM;YACzB,QAAQ,EAAE,OAAO;YACjB,SAAS;YACT,OAAO;;QAEX,cAAc;YACV,KAAQ,WAAW,SAAM;YACzB,QAAQ,EAAE,WAAW;YACrB,SAAS;YACT,OAAO;;;;AAnBnB","file":"list-by-type/list-by-type.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 = 428);\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/***/ 136:\n/***/ (function(module, exports) {\n\nmodule.exports = \"
{{filter.AttributeName }}
حذف فیلتر قیمت
{{$ctrl.slider.maxValue | currency:\\\"\\\":0 | toPersian}} تومان {{$ctrl.slider.minValue | currency:\\\"\\\":0 | toPersian}} تومان
12\\\" type=text ng-model=search class=attr-search placeholder=\\\"جستجوی {{filter.AttributeName}} ها\\\">
  • {{::checkbox.Value}}
\";\n\n/***/ }),\n\n/***/ 137:\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\";\n\n/***/ }),\n\n/***/ 146:\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/***/ 18:\n/***/ (function(module, exports) {\n\nmodule.exports = \"
0\\\">
{{$ctrl.items.length}} کالا در لیست مقایسه
\";\n\n/***/ }),\n\n/***/ 244:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\n__webpack_require__(136);\r\nvar store_list_by_type_filter_controller_1 = __webpack_require__(398);\r\nexports.storeListByTypeFilterComponent = {\r\n template: __webpack_require__(136),\r\n controller: store_list_by_type_filter_controller_1.storeListByTypeFilterController\r\n};\r\n\n\n/***/ }),\n\n/***/ 245:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\n__webpack_require__(137);\r\nvar store_list_by_type_controller_1 = __webpack_require__(399);\r\nexports.storeListByTypeComponent = {\r\n template: __webpack_require__(137),\r\n controller: store_list_by_type_controller_1.storeListByTypeController\r\n};\r\n\n\n/***/ }),\n\n/***/ 254:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\n__webpack_require__(146);\r\nvar top_filter_controller_1 = __webpack_require__(408);\r\nexports.topFilterComponent = {\r\n template: __webpack_require__(146),\r\n controller: top_filter_controller_1.topFilterController\r\n};\r\n\n\n/***/ }),\n\n/***/ 26:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\n__webpack_require__(18);\r\nvar compare_box_controller_1 = __webpack_require__(38);\r\nexports.compareBoxComponent = {\r\n template: __webpack_require__(18),\r\n controller: compare_box_controller_1.compareBoxController\r\n};\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/***/ 38:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nvar compareBoxController = /** @class */ (function () {\r\n function compareBoxController($compare, $rootScope, $state, $mPath) {\r\n \"ngInject\";\r\n this.$compare = $compare;\r\n this.$rootScope = $rootScope;\r\n this.$state = $state;\r\n this.$mPath = $mPath;\r\n this.showCompare = false;\r\n }\r\n compareBoxController.prototype.$onInit = function () {\r\n var _this = this;\r\n this.get();\r\n this.$mPath.get().then(function (response) {\r\n _this.productDetailUrl = response.StoreProductDetail;\r\n });\r\n this.$rootScope.$on('addCompare', function () {\r\n _this.get();\r\n });\r\n };\r\n compareBoxController.prototype.get = function () {\r\n this.items = this.$compare.get(this.$state.params.productTypeID);\r\n };\r\n compareBoxController.prototype.toggleCompare = function () {\r\n this.showCompare = !this.showCompare;\r\n };\r\n compareBoxController.prototype.remove = function (product) {\r\n this.$compare.remove(this.$state.params.productTypeID, product);\r\n this.get();\r\n };\r\n compareBoxController.prototype.clear = function () {\r\n this.$compare.clear(this.$state.params.productTypeID);\r\n this.get();\r\n };\r\n compareBoxController.prototype.doCompare = function () {\r\n this.$compare.doCompare(this.$state.params.productTypeID);\r\n };\r\n return compareBoxController;\r\n}());\r\nexports.compareBoxController = compareBoxController;\r\n\n\n/***/ }),\n\n/***/ 398:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nvar storeListByTypeFilterController = /** @class */ (function () {\r\n function storeListByTypeFilterController($$filter, $state, $timeout, $scope, $rootScope, $q) {\r\n \"ngInject\";\r\n this.$$filter = $$filter;\r\n this.$state = $state;\r\n this.$timeout = $timeout;\r\n this.$scope = $scope;\r\n this.$rootScope = $rootScope;\r\n this.$q = $q;\r\n this.slider = {};\r\n this.ajaxLoading = true;\r\n this.currenyFilter = false;\r\n }\r\n storeListByTypeFilterController.prototype.$onInit = function () {\r\n var _this = this;\r\n this.ajaxLoading = true;\r\n this.$$filter.right({ productTypeID: this.$state.params.productTypeID }, function (res) {\r\n _this.setSliderOption(res);\r\n _this.getFilterFromUrl(res).then(function (response) {\r\n _this.items = res;\r\n });\r\n _this.ajaxLoading = false;\r\n });\r\n this.$scope.$on(\"slideEnded\", function () {\r\n _this.currenyFilter = true;\r\n _this.onSlideChange(_this);\r\n });\r\n };\r\n storeListByTypeFilterController.prototype.myFilter = function (search) {\r\n return function (item) {\r\n return item.value.includes(search);\r\n };\r\n };\r\n storeListByTypeFilterController.prototype.change = function (filter) {\r\n this.setFilterToUrl(filter);\r\n };\r\n storeListByTypeFilterController.prototype.onSlideChange = function (self) {\r\n var filter = {\r\n AttributeAcceptableValuesID: self.slider.minValue + \"-\" + self.slider.maxValue,\r\n AttributeDefID: \"-1\",\r\n $selected: true\r\n };\r\n var newUrl = \"\";\r\n var oldUrl = this.$state.params.params || \"\";\r\n var urlArray = (oldUrl && oldUrl.split(\"/\")) || [];\r\n var indexOfDefID = urlArray.indexOf(\"defID\" + filter.AttributeDefID);\r\n if (indexOfDefID > -1) {\r\n // if defId exist in url\r\n var AttrAcceptableIds = urlArray[indexOfDefID + 1];\r\n var newAttrAcceptableIds = filter.AttributeAcceptableValuesID;\r\n newUrl = oldUrl.replace(\"defID\" + filter.AttributeDefID + \"/\" + AttrAcceptableIds, \"defID\" + filter.AttributeDefID + \"/\" + newAttrAcceptableIds);\r\n }\r\n else {\r\n // if defId NOT exist in url\r\n var addonUrl = \"defID\" +\r\n filter.AttributeDefID +\r\n \"/\" +\r\n filter.AttributeAcceptableValuesID +\r\n \"/\";\r\n newUrl = oldUrl + addonUrl;\r\n } //end else\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 };\r\n storeListByTypeFilterController.prototype.removeCurrenyFilter = function () {\r\n this.slider.minValue = this.items[0].ScalarValFrom;\r\n this.slider.maxValue = this.items[0].ScalarValTo;\r\n this.currenyFilter = false;\r\n var filter = {\r\n AttributeDefID: \"-1\",\r\n $selected: true\r\n };\r\n var newUrl = \"\";\r\n var oldUrl = this.$state.params.params || \"\";\r\n var urlArray = (oldUrl && oldUrl.split(\"/\")) || [];\r\n var indexOfDefID = urlArray.indexOf(\"defID\" + filter.AttributeDefID);\r\n var AttrAcceptableIds = urlArray[indexOfDefID + 1];\r\n newUrl = oldUrl.replace(\"defID\" + filter.AttributeDefID + \"/\" + AttrAcceptableIds + \"/\", \"\");\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 };\r\n storeListByTypeFilterController.prototype.getFilterFromUrl = function (res) {\r\n var _this = this;\r\n return this.$q(function (resolve, reject) {\r\n var fullUrl = _this.$state.params.params;\r\n var urlArray = (fullUrl && fullUrl.split(\"/\")) || [];\r\n angular.forEach(res, function (filter) {\r\n filter.$selected = [];\r\n var indexOfDefID = urlArray.indexOf(\"defID\" + filter.AttributeDefID);\r\n if (indexOfDefID > -1) {\r\n var AttrAcceptableIds_1 = urlArray[indexOfDefID + 1].split(\"-\");\r\n if (filter.AttributeDefID == -1) {\r\n _this.currenyFilter = true;\r\n _this.slider.minValue = AttrAcceptableIds_1[0];\r\n _this.slider.maxValue = AttrAcceptableIds_1[1];\r\n }\r\n else {\r\n angular.forEach(filter.ProductAttrAcceptableVal, function (AttrAcceptable) {\r\n if (AttrAcceptableIds_1.indexOf(AttrAcceptable.AttributeAcceptableValuesID.toString()) > -1) {\r\n AttrAcceptable.$selected = true;\r\n }\r\n });\r\n }\r\n }\r\n });\r\n resolve(res);\r\n });\r\n };\r\n storeListByTypeFilterController.prototype.setFilterToUrl = function (filter) {\r\n var newUrl = \"\";\r\n var oldUrl = this.$state.params.params || \"\";\r\n var urlArray = (oldUrl && oldUrl.split(\"/\")) || [];\r\n var indexOfDefID = urlArray.indexOf(\"defID\" + filter.AttributeDefID);\r\n if (indexOfDefID > -1) {\r\n // if defId exist in url\r\n var AttrAcceptableIds = urlArray[indexOfDefID + 1];\r\n if (filter.$selected) {\r\n // if checkbox checked and filter must add to url\r\n var newAttrAcceptableIds = AttrAcceptableIds + \"-\" + filter.AttributeAcceptableValuesID;\r\n newUrl = oldUrl.replace(\"defID\" + filter.AttributeDefID + \"/\" + AttrAcceptableIds, \"defID\" + filter.AttributeDefID + \"/\" + newAttrAcceptableIds);\r\n } //end if\r\n else {\r\n // if checkbox UNCHECKED and filter must REMOVE from url\r\n var newAttrAcceptableIds_1 = \"\";\r\n var AttrAcceptableIdsArray = AttrAcceptableIds.split(\"-\");\r\n var index = AttrAcceptableIdsArray.indexOf(filter.AttributeAcceptableValuesID.toString());\r\n if (index > -1) {\r\n AttrAcceptableIdsArray.splice(index, 1);\r\n angular.forEach(AttrAcceptableIdsArray, function (AttrAcceptableId, key) {\r\n newAttrAcceptableIds_1 += key == 0 ? \"\" : \"-\";\r\n newAttrAcceptableIds_1 = newAttrAcceptableIds_1 + AttrAcceptableId;\r\n });\r\n newUrl = oldUrl.replace(\"defID\" + filter.AttributeDefID + \"/\" + AttrAcceptableIds, \"defID\" + filter.AttributeDefID + \"/\" + newAttrAcceptableIds_1);\r\n if (AttrAcceptableIdsArray.length === 0) {\r\n newUrl = newUrl.replace(\"defID\" + filter.AttributeDefID + \"//\", \"\");\r\n }\r\n } //end if\r\n } //end else\r\n } //end if\r\n else {\r\n // if defId NOT exist in url\r\n var addonUrl = \"defID\" +\r\n filter.AttributeDefID +\r\n \"/\" +\r\n filter.AttributeAcceptableValuesID +\r\n \"/\";\r\n newUrl = oldUrl + addonUrl;\r\n } //end else\r\n if (newUrl !== oldUrl) {\r\n var 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 this.$state.params.params = newUrl;\r\n this.$state.go(this.$state.current, this.$state.params);\r\n this.$rootScope.$emit(\"$routeChangeSuccess\");\r\n }\r\n };\r\n storeListByTypeFilterController.prototype.setSliderOption = function (res) {\r\n var divider = 10;\r\n if (res[0].ScalarValTo - res[0].ScalarValFrom > 1000000) {\r\n divider = 30;\r\n }\r\n if (res[0].ScalarValTo - res[0].ScalarValFrom > 3000000) {\r\n divider = 50;\r\n }\r\n this.slider = {\r\n minValue: res[0].ScalarValFrom,\r\n maxValue: res[0].ScalarValTo,\r\n options: {\r\n ceil: res[0].ScalarValTo,\r\n floor: res[0].ScalarValFrom,\r\n step: (res[0].ScalarValTo - res[0].ScalarValFrom) / divider,\r\n translate: function (value, sliderId, label) {\r\n switch (label) {\r\n case \"model\":\r\n return \"\";\r\n case \"high\":\r\n return \"\";\r\n default:\r\n return \"\";\r\n }\r\n }\r\n }\r\n };\r\n };\r\n return storeListByTypeFilterController;\r\n}());\r\nexports.storeListByTypeFilterController = storeListByTypeFilterController;\r\n\n\n/***/ }),\n\n/***/ 399:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nvar storeListByTypeController = /** @class */ (function () {\r\n function storeListByTypeController($filter, $productList, $breadcrumbs, $compare, $state, $rootScope, $timeout) {\r\n \"ngInject\";\r\n var _this = this;\r\n this.$filter = $filter;\r\n this.$productList = $productList;\r\n this.$breadcrumbs = $breadcrumbs;\r\n this.$compare = $compare;\r\n this.$state = $state;\r\n this.$rootScope = $rootScope;\r\n this.$timeout = $timeout;\r\n this.breadcrumbs = [];\r\n this.listAttr = [];\r\n this.itemLoaded = 1;\r\n $rootScope.$on(\"$routeChangeSuccess\", function () {\r\n _this.getFilterFromUrl();\r\n });\r\n }\r\n storeListByTypeController.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 productTypeID: this.$state.params.productTypeID\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 storeListByTypeController.prototype.getProductList = function () {\r\n var _this = this;\r\n this.$rootScope.$emit(\"startLoading\");\r\n if (this.productListquery) {\r\n this.productListquery.$cancelRequest();\r\n }\r\n this.productListquery = this.$productList.getByType(this.listFilter, this.listAttr, function (res) {\r\n _this.totalItems = res.TotalCount;\r\n _this.originalProductList = res.ProductList;\r\n _this.productList = res.ProductList;\r\n // this.productList = this.originalProductList.slice(0, 12)\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 storeListByTypeController.prototype.loadMore = function () {\r\n var moreItems = this.originalProductList.slice(this.itemLoaded * 12, (this.itemLoaded + 1) * 12);\r\n var productList = this.productList.concat(moreItems);\r\n this.itemLoaded++;\r\n this.$rootScope.$emit(\"productListChange\", productList);\r\n };\r\n storeListByTypeController.prototype.getBreadCrumbs = function () {\r\n var _this = this;\r\n this.$breadcrumbs.getByType({\r\n typeID: this.$state.params.productTypeID\r\n }, function (res) {\r\n _this.breadcrumbs = res;\r\n _this.$rootScope.$emit(\"breadcrumbsLoaded\");\r\n });\r\n };\r\n storeListByTypeController.prototype.getFilterFromUrl = function () {\r\n this.listAttr = [];\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 _i = 0, urlDefIds_1 = urlDefIds; _i < urlDefIds_1.length; _i++) {\r\n var item = urlDefIds_1[_i];\r\n if (item) {\r\n var AttributeDefID = parseInt(item.split(\"/\")[0]);\r\n if (AttributeDefID || AttributeDefID == 0) {\r\n var obj = {\r\n AttributeDefID: AttributeDefID.toString(),\r\n Selected: item.split(\"/\")[1].split(\"-\")\r\n };\r\n this.listAttr.push(obj);\r\n }\r\n }\r\n }\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 storeListByTypeController;\r\n}());\r\nexports.storeListByTypeController = storeListByTypeController;\r\n\n\n/***/ }),\n\n/***/ 408:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nvar topFilterController = /** @class */ (function () {\r\n function topFilterController($state, $$filter, $rootScope, $q, $element) {\r\n \"ngInject\";\r\n this.$state = $state;\r\n this.$$filter = $$filter;\r\n this.$rootScope = $rootScope;\r\n this.$q = $q;\r\n this.$element = $element;\r\n this.ajaxLoading = true;\r\n }\r\n topFilterController.prototype.$onInit = function () {\r\n var _this = this;\r\n this.$element.find(\"input\").on(\"keydown\", function (ev) {\r\n ev.stopPropagation();\r\n });\r\n this.productTypeID = this.$state.params.productTypeID;\r\n this.$$filter.top({ productTypeID: this.productTypeID }, function (res) {\r\n _this.getFilterFromUrl(res).then(function (Response) {\r\n _this.items = Response;\r\n _this.ajaxLoading = false;\r\n });\r\n });\r\n };\r\n topFilterController.prototype.change = function (filter) {\r\n this.setFilterToUrl(filter);\r\n };\r\n topFilterController.prototype.remove = function (filter, selectedFilter, index) {\r\n selectedFilter.splice(index, 1);\r\n this.change(filter);\r\n };\r\n topFilterController.prototype.getFilterFromUrl = function (res) {\r\n var _this = this;\r\n return this.$q(function (resolve, reject) {\r\n var fullUrl = _this.$state.params.params;\r\n var urlArray = (fullUrl && fullUrl.split(\"/\")) || [];\r\n angular.forEach(res, function (filter) {\r\n filter.$selected = [];\r\n var indexOfDefID = urlArray.indexOf(\"defID\" + filter.AttributeDefID);\r\n if (indexOfDefID > -1) {\r\n var AttrAcceptableIds_1 = urlArray[indexOfDefID + 1].split(\"-\");\r\n angular.forEach(filter.ProductAttrAcceptableVal, function (AttrAcceptable) {\r\n if (AttrAcceptableIds_1.indexOf(AttrAcceptable.AttributeAcceptableValuesID.toString()) > -1) {\r\n filter.$selected.push(AttrAcceptable);\r\n }\r\n });\r\n }\r\n });\r\n resolve(res);\r\n });\r\n };\r\n topFilterController.prototype.setFilterToUrl = function (filter) {\r\n var oldUrl = this.$state.params.params || \"\";\r\n var urlArray = (oldUrl && oldUrl.split(\"/\")) || [];\r\n var indexOfDefID = urlArray.indexOf(\"defID\" + filter.AttributeDefID);\r\n if (indexOfDefID != -1) {\r\n // if defId exist in url\r\n var AttrAcceptableIds = urlArray[indexOfDefID + 1];\r\n var newAttrAcceptableIds_1 = \"\";\r\n filter.$selected.map(function (AttrAcceptableId, index) {\r\n newAttrAcceptableIds_1 += index == 0 ? \"\" : \"-\";\r\n newAttrAcceptableIds_1 =\r\n newAttrAcceptableIds_1 + AttrAcceptableId.AttributeAcceptableValuesID;\r\n }); //end map\r\n var newUrl = oldUrl.replace(\"defID\" + filter.AttributeDefID + \"/\" + AttrAcceptableIds, \"defID\" + filter.AttributeDefID + \"/\" + newAttrAcceptableIds_1);\r\n if (filter.$selected.length == 0) {\r\n // IF NO ITEM EXIST IN SELECTED REMOVE DEFID AND / FROM URL\r\n newUrl = newUrl.replace(\"defID\" + filter.AttributeDefID + \"//\", \"\");\r\n } // end if\r\n if (newUrl !== oldUrl) {\r\n var 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 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 if\r\n else {\r\n // if defId NOT exist in url\r\n var addonUrl_1 = \"defID\" + filter.AttributeDefID + \"/\";\r\n filter.$selected.map(function (AttrAcceptableId, index) {\r\n addonUrl_1 += index == 0 ? \"\" : \"-\";\r\n addonUrl_1 = addonUrl_1 + AttrAcceptableId.AttributeAcceptableValuesID;\r\n addonUrl_1 += index == filter.$selected.length - 1 ? \"/\" : \"\";\r\n }); //end map\r\n var newUrl = oldUrl + addonUrl_1;\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 else\r\n };\r\n return topFilterController;\r\n}());\r\nexports.topFilterController = topFilterController;\r\n\n\n/***/ }),\n\n/***/ 428:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nexports.__esModule = true;\r\nvar breadcrumbs_1 = __webpack_require__(7);\r\nvar compare_box_1 = __webpack_require__(26);\r\nvar top_filter_1 = __webpack_require__(254);\r\nvar product_list_sortoption_1 = __webpack_require__(8);\r\nvar store_list_by_type_1 = __webpack_require__(245);\r\nvar store_list_by_type_filter_1 = __webpack_require__(244);\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 app = angular.module('store-list-by-type', []);\r\napp.component('breadcrumbs', breadcrumbs_1.breadcrumbsComponent);\r\napp.component('compareBox', compare_box_1.compareBoxComponent);\r\napp.component('topFilter', top_filter_1.topFilterComponent);\r\napp.component('productListSortoption', product_list_sortoption_1.productListSortoptionComponent);\r\napp.component('storeListByType', store_list_by_type_1.storeListByTypeComponent);\r\napp.component('storeListByTypeFilter', store_list_by_type_filter_1.storeListByTypeFilterComponent);\r\napp.factory('$productList', productList_1.productListFactory);\r\napp.factory('$breadcrumbs', breadcrumbs_2.breadcrumbsFactory);\r\napp.service('$compare', compare_1.compareService);\r\napp.service('$notify', notify_1.notifyService);\r\napp.service('$mPath', modulePath_1.modulePathService);\r\napp.service('$$filter', filterService);\r\nfunction filterService($resource, MyConstant) {\r\n return $resource('', {}, {\r\n top: {\r\n url: MyConstant.ApiUrl + \"ECBTempGeneral/GetProductAttrByProductTypeID?productTypeID=:productTypeID\",\r\n params: {\r\n RightPane: false\r\n },\r\n isArray: true\r\n },\r\n right: {\r\n url: MyConstant.ApiUrl + \"ECBTempGeneral/GetProductAttrByProductTypeID?productTypeID=:productTypeID\",\r\n params: {\r\n RightPane: true\r\n },\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-type/list-by-type.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 = 428);\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 = \"
{{filter.AttributeName }}
حذف فیلتر قیمت
{{$ctrl.slider.maxValue | currency:\\\"\\\":0 | toPersian}} تومان {{$ctrl.slider.minValue | currency:\\\"\\\":0 | toPersian}} تومان
12\\\" type=text ng-model=search class=attr-search placeholder=\\\"جستجوی {{filter.AttributeName}} ها\\\">
  • {{::checkbox.Value}}
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/store-list-by-type-filter/store-list-by-type-filter.template.html\n// module id = 136\n// module chunks = 6","module.exports = \"
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/store-list-by-type/store-list-by-type.template.html\n// module id = 137\n// module chunks = 6","module.exports = \"\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/top-filter/top-filter.template.html\n// module id = 146\n// module chunks = 6","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","module.exports = \"
0\\\">
{{$ctrl.items.length}} کالا در لیست مقایسه
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/compare-box/compare-box.template.html\n// module id = 18\n// module chunks = 6 7","declare var require:any;\r\nimport './store-list-by-type-filter.template.html';\r\nimport {storeListByTypeFilterController} from './store-list-by-type-filter.controller'\r\n\r\nexport var storeListByTypeFilterComponent = {\r\n template: require('./store-list-by-type-filter.template.html'),\r\n controller:storeListByTypeFilterController\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/components/store-list-by-type-filter/store-list-by-type-filter.ts","declare var require:any;\r\nimport './store-list-by-type.template.html';\r\nimport {storeListByTypeController} from './store-list-by-type.controller'\r\n\r\nexport var storeListByTypeComponent = {\r\n template: require('./store-list-by-type.template.html'),\r\n controller:storeListByTypeController\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/components/store-list-by-type/store-list-by-type.ts","declare var require:any;\r\nimport './top-filter.template.html';\r\nimport {topFilterController} from './top-filter.controller'\r\n\r\nexport var topFilterComponent = {\r\n template: require('./top-filter.template.html'),\r\n controller:topFilterController\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/components/top-filter/top-filter.ts","declare var require:any;\r\nimport './compare-box.template.html';\r\nimport {compareBoxController} from './compare-box.controller'\r\n\r\nexport var compareBoxComponent = {\r\n template: require('./compare-box.template.html'),\r\n controller:compareBoxController\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/components/compare-box/compare-box.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","declare var angular:ng.IAngularStatic;\r\nexport class compareBoxController {\r\n items;\r\n showCompare = false;\r\n productDetailUrl\r\n constructor(public $compare, public $rootScope: ng.IRootScopeService, public $state, public $mPath) {\r\n \"ngInject\"\r\n }\r\n\r\n $onInit() {\r\n this.get()\r\n this.$mPath.get().then(\r\n response => {\r\n this.productDetailUrl = response.StoreProductDetail\r\n }\r\n )\r\n this.$rootScope.$on('addCompare', () => {\r\n this.get()\r\n })\r\n }\r\n\r\n get() {\r\n this.items = this.$compare.get(this.$state.params.productTypeID)\r\n }\r\n\r\n toggleCompare() {\r\n this.showCompare = !this.showCompare;\r\n }\r\n\r\n remove(product) {\r\n this.$compare.remove(this.$state.params.productTypeID, product)\r\n this.get()\r\n }\r\n\r\n clear() {\r\n this.$compare.clear(this.$state.params.productTypeID)\r\n this.get()\r\n }\r\n\r\n doCompare(){\r\n this.$compare.doCompare(this.$state.params.productTypeID)\r\n }\r\n}\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/compare-box/compare-box.controller.ts","export class storeListByTypeFilterController {\r\n items;\r\n slider: any = {};\r\n ajaxLoading = true;\r\n currenyFilter = false;\r\n constructor(\r\n private $$filter,\r\n private $state,\r\n private $timeout,\r\n private $scope,\r\n private $rootScope,\r\n private $q\r\n ) {\r\n \"ngInject\";\r\n }\r\n\r\n $onInit() {\r\n this.ajaxLoading = true;\r\n this.$$filter.right(\r\n { productTypeID: this.$state.params.productTypeID },\r\n res => {\r\n this.setSliderOption(res);\r\n this.getFilterFromUrl(res).then(response => {\r\n this.items = res;\r\n });\r\n this.ajaxLoading = false;\r\n }\r\n );\r\n\r\n this.$scope.$on(\"slideEnded\", () => {\r\n this.currenyFilter = true;\r\n this.onSlideChange(this);\r\n });\r\n }\r\n myFilter(search) {\r\n return function(item) {\r\n return item.value.includes(search);\r\n };\r\n }\r\n change(filter) {\r\n this.setFilterToUrl(filter);\r\n }\r\n\r\n onSlideChange(self) {\r\n let filter = {\r\n AttributeAcceptableValuesID:\r\n self.slider.minValue + \"-\" + self.slider.maxValue,\r\n AttributeDefID: \"-1\",\r\n $selected: true\r\n };\r\n let newUrl = \"\";\r\n let oldUrl = this.$state.params.params || \"\";\r\n let urlArray = (oldUrl && oldUrl.split(\"/\")) || [];\r\n let indexOfDefID = urlArray.indexOf(\"defID\" + filter.AttributeDefID);\r\n if (indexOfDefID > -1) {\r\n // if defId exist in url\r\n let AttrAcceptableIds = urlArray[indexOfDefID + 1];\r\n let newAttrAcceptableIds = filter.AttributeAcceptableValuesID;\r\n newUrl = oldUrl.replace(\r\n \"defID\" + filter.AttributeDefID + \"/\" + AttrAcceptableIds,\r\n \"defID\" + filter.AttributeDefID + \"/\" + newAttrAcceptableIds\r\n );\r\n } else {\r\n // if defId NOT exist in url\r\n\r\n let addonUrl =\r\n \"defID\" +\r\n filter.AttributeDefID +\r\n \"/\" +\r\n filter.AttributeAcceptableValuesID +\r\n \"/\";\r\n newUrl = oldUrl + addonUrl;\r\n } //end else\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 }\r\n\r\n removeCurrenyFilter() {\r\n this.slider.minValue = this.items[0].ScalarValFrom;\r\n this.slider.maxValue = this.items[0].ScalarValTo;\r\n this.currenyFilter = false;\r\n let filter = {\r\n AttributeDefID: \"-1\",\r\n $selected: true\r\n };\r\n let newUrl = \"\";\r\n let oldUrl = this.$state.params.params || \"\";\r\n let urlArray = (oldUrl && oldUrl.split(\"/\")) || [];\r\n let indexOfDefID = urlArray.indexOf(\"defID\" + filter.AttributeDefID);\r\n let AttrAcceptableIds = urlArray[indexOfDefID + 1];\r\n newUrl = oldUrl.replace(\r\n \"defID\" + filter.AttributeDefID + \"/\" + AttrAcceptableIds + \"/\",\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 }\r\n\r\n private getFilterFromUrl(res) {\r\n return this.$q((resolve, reject) => {\r\n let fullUrl = this.$state.params.params;\r\n let urlArray = (fullUrl && fullUrl.split(\"/\")) || [];\r\n angular.forEach(res, filter => {\r\n filter.$selected = [];\r\n let indexOfDefID = urlArray.indexOf(\"defID\" + filter.AttributeDefID);\r\n if (indexOfDefID > -1) {\r\n let AttrAcceptableIds = urlArray[indexOfDefID + 1].split(\"-\");\r\n if (filter.AttributeDefID == -1) {\r\n this.currenyFilter = true;\r\n this.slider.minValue = AttrAcceptableIds[0];\r\n this.slider.maxValue = AttrAcceptableIds[1];\r\n } else {\r\n angular.forEach(filter.ProductAttrAcceptableVal, AttrAcceptable => {\r\n if (\r\n AttrAcceptableIds.indexOf(\r\n AttrAcceptable.AttributeAcceptableValuesID.toString()\r\n ) > -1\r\n ) {\r\n AttrAcceptable.$selected = true;\r\n }\r\n });\r\n }\r\n }\r\n });\r\n resolve(res);\r\n });\r\n }\r\n\r\n private setFilterToUrl(filter) {\r\n let newUrl = \"\";\r\n let oldUrl = this.$state.params.params || \"\";\r\n let urlArray = (oldUrl && oldUrl.split(\"/\")) || [];\r\n let indexOfDefID = urlArray.indexOf(\"defID\" + filter.AttributeDefID);\r\n\r\n if (indexOfDefID > -1) {\r\n // if defId exist in url\r\n\r\n let AttrAcceptableIds = urlArray[indexOfDefID + 1];\r\n if (filter.$selected) {\r\n // if checkbox checked and filter must add to url\r\n\r\n let newAttrAcceptableIds =\r\n AttrAcceptableIds + \"-\" + filter.AttributeAcceptableValuesID;\r\n newUrl = oldUrl.replace(\r\n \"defID\" + filter.AttributeDefID + \"/\" + AttrAcceptableIds,\r\n \"defID\" + filter.AttributeDefID + \"/\" + newAttrAcceptableIds\r\n );\r\n } //end if\r\n else {\r\n // if checkbox UNCHECKED and filter must REMOVE from url\r\n let newAttrAcceptableIds = \"\";\r\n let AttrAcceptableIdsArray = AttrAcceptableIds.split(\"-\");\r\n let index = AttrAcceptableIdsArray.indexOf(\r\n filter.AttributeAcceptableValuesID.toString()\r\n );\r\n if (index > -1) {\r\n AttrAcceptableIdsArray.splice(index, 1);\r\n angular.forEach(AttrAcceptableIdsArray, (AttrAcceptableId, key) => {\r\n newAttrAcceptableIds += key == 0 ? \"\" : \"-\";\r\n newAttrAcceptableIds = newAttrAcceptableIds + AttrAcceptableId;\r\n });\r\n newUrl = oldUrl.replace(\r\n \"defID\" + filter.AttributeDefID + \"/\" + AttrAcceptableIds,\r\n \"defID\" + filter.AttributeDefID + \"/\" + newAttrAcceptableIds\r\n );\r\n if (AttrAcceptableIdsArray.length === 0) {\r\n newUrl = newUrl.replace(\"defID\" + filter.AttributeDefID + \"//\", \"\");\r\n }\r\n } //end if\r\n } //end else\r\n } //end if\r\n else {\r\n // if defId NOT exist in url\r\n\r\n let addonUrl =\r\n \"defID\" +\r\n filter.AttributeDefID +\r\n \"/\" +\r\n filter.AttributeAcceptableValuesID +\r\n \"/\";\r\n newUrl = oldUrl + addonUrl;\r\n } //end else\r\n if (newUrl !== oldUrl) {\r\n let index = urlArray.indexOf(\"pageNumber\");\r\n if (index > -1) {\r\n // if sortItem exist in Url\r\n newUrl = newUrl.replace(\r\n \"pageNumber\" + \"/\" + urlArray[index + 1],\r\n \"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 }\r\n }\r\n\r\n private setSliderOption(res) {\r\n let divider = 10;\r\n if (res[0].ScalarValTo - res[0].ScalarValFrom > 1000000) {\r\n divider = 30\r\n }\r\n if (res[0].ScalarValTo - res[0].ScalarValFrom > 3000000) {\r\n divider = 50;\r\n }\r\n this.slider = {\r\n minValue: res[0].ScalarValFrom,\r\n maxValue: res[0].ScalarValTo,\r\n options: {\r\n ceil: res[0].ScalarValTo,\r\n floor: res[0].ScalarValFrom,\r\n step: (res[0].ScalarValTo - res[0].ScalarValFrom) / divider,\r\n\r\n translate: function(value, sliderId, label) {\r\n switch (label) {\r\n case \"model\":\r\n return \"\";\r\n case \"high\":\r\n return \"\";\r\n default:\r\n return \"\";\r\n }\r\n }\r\n }\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/store-list-by-type-filter/store-list-by-type-filter.controller.ts","declare let defaultIsAsc, defaultPageSize;\r\nexport class storeListByTypeController {\r\n productListquery: any;\r\n totalItems: any;\r\n breadcrumbs = [];\r\n listFilter;\r\n listAttr = [];\r\n productList;\r\n originalProductList;\r\n itemLoaded = 1;\r\n constructor(\r\n private $filter,\r\n private $productList,\r\n private $breadcrumbs,\r\n private $compare,\r\n private $state,\r\n public $rootScope,\r\n private $timeout\r\n ) {\r\n \"ngInject\";\r\n $rootScope.$on(\"$routeChangeSuccess\", () => {\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 productTypeID: this.$state.params.productTypeID\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 if (this.productListquery) {\r\n this.productListquery.$cancelRequest();\r\n }\r\n this.productListquery = this.$productList.getByType(\r\n this.listFilter,\r\n this.listAttr,\r\n res => {\r\n this.totalItems = res.TotalCount;\r\n this.originalProductList = res.ProductList;\r\n this.productList = res.ProductList;\r\n // this.productList = this.originalProductList.slice(0, 12)\r\n if (this.breadcrumbs.length > 0) {\r\n this.breadcrumbs[0].totalItems = res.TotalCount;\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 loadMore() {\r\n let moreItems = this.originalProductList.slice(\r\n this.itemLoaded * 12,\r\n (this.itemLoaded + 1) * 12\r\n );\r\n let productList = this.productList.concat(moreItems);\r\n this.itemLoaded++;\r\n this.$rootScope.$emit(\"productListChange\", productList);\r\n }\r\n getBreadCrumbs() {\r\n this.$breadcrumbs.getByType(\r\n {\r\n typeID: this.$state.params.productTypeID\r\n },\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 this.listAttr = [];\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 of urlDefIds) {\r\n if (item) {\r\n let AttributeDefID = parseInt(item.split(\"/\")[0]);\r\n if (AttributeDefID || AttributeDefID == 0) {\r\n let obj = {\r\n AttributeDefID: AttributeDefID.toString(),\r\n Selected: item.split(\"/\")[1].split(\"-\")\r\n };\r\n this.listAttr.push(obj);\r\n }\r\n }\r\n }\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 this.getProductList();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/store-list-by-type/store-list-by-type.controller.ts","declare var angular: ng.IAngularStatic;\r\nexport class topFilterController {\r\n ajaxLoading: boolean = true;\r\n items;\r\n productTypeID;\r\n constructor(\r\n private $state,\r\n private $$filter,\r\n private $rootScope,\r\n private $q,\r\n private $element\r\n ) {\r\n \"ngInject\";\r\n }\r\n\r\n $onInit() {\r\n this.$element.find(\"input\").on(\"keydown\", function(ev) {\r\n ev.stopPropagation();\r\n });\r\n this.productTypeID = this.$state.params.productTypeID;\r\n this.$$filter.top({ productTypeID: this.productTypeID }, res => {\r\n this.getFilterFromUrl(res).then(Response => {\r\n this.items = Response;\r\n this.ajaxLoading = false;\r\n });\r\n });\r\n }\r\n\r\n change(filter) {\r\n this.setFilterToUrl(filter);\r\n }\r\n\r\n remove(filter, selectedFilter, index) {\r\n selectedFilter.splice(index, 1);\r\n this.change(filter);\r\n }\r\n\r\n private getFilterFromUrl(res) {\r\n return this.$q((resolve, reject) => {\r\n let fullUrl = this.$state.params.params;\r\n let urlArray = (fullUrl && fullUrl.split(\"/\")) || [];\r\n angular.forEach(res, filter => {\r\n filter.$selected = [];\r\n let indexOfDefID = urlArray.indexOf(\"defID\" + filter.AttributeDefID);\r\n if (indexOfDefID > -1) {\r\n let AttrAcceptableIds = urlArray[indexOfDefID + 1].split(\"-\");\r\n angular.forEach(filter.ProductAttrAcceptableVal, AttrAcceptable => {\r\n if (\r\n AttrAcceptableIds.indexOf(\r\n AttrAcceptable.AttributeAcceptableValuesID.toString()\r\n ) > -1\r\n ) {\r\n filter.$selected.push(AttrAcceptable);\r\n }\r\n });\r\n }\r\n });\r\n resolve(res);\r\n });\r\n }\r\n\r\n private setFilterToUrl(filter) {\r\n let oldUrl = this.$state.params.params || \"\";\r\n let urlArray = (oldUrl && oldUrl.split(\"/\")) || [];\r\n let indexOfDefID = urlArray.indexOf(\"defID\" + filter.AttributeDefID);\r\n if (indexOfDefID != -1) {\r\n // if defId exist in url\r\n let AttrAcceptableIds = urlArray[indexOfDefID + 1];\r\n let newAttrAcceptableIds = \"\";\r\n filter.$selected.map((AttrAcceptableId, index) => {\r\n newAttrAcceptableIds += index == 0 ? \"\" : \"-\";\r\n newAttrAcceptableIds =\r\n newAttrAcceptableIds + AttrAcceptableId.AttributeAcceptableValuesID;\r\n }); //end map\r\n let newUrl = oldUrl.replace(\r\n \"defID\" + filter.AttributeDefID + \"/\" + AttrAcceptableIds,\r\n \"defID\" + filter.AttributeDefID + \"/\" + newAttrAcceptableIds\r\n );\r\n if (filter.$selected.length == 0) {\r\n // IF NO ITEM EXIST IN SELECTED REMOVE DEFID AND / FROM URL\r\n newUrl = newUrl.replace(\"defID\" + filter.AttributeDefID + \"//\", \"\");\r\n } // end if\r\n if (newUrl !== oldUrl) {\r\n let index = urlArray.indexOf(\"pageNumber\");\r\n if (index > -1) {\r\n // if sortItem exist in Url\r\n newUrl = newUrl.replace(\r\n \"pageNumber\" + \"/\" + urlArray[index + 1],\r\n \"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 } //end if\r\n else {\r\n // if defId NOT exist in url\r\n let addonUrl = \"defID\" + filter.AttributeDefID + \"/\";\r\n filter.$selected.map((AttrAcceptableId, index) => {\r\n addonUrl += index == 0 ? \"\" : \"-\";\r\n addonUrl = addonUrl + AttrAcceptableId.AttributeAcceptableValuesID;\r\n addonUrl += index == filter.$selected.length - 1 ? \"/\" : \"\";\r\n }); //end map\r\n let newUrl = oldUrl + addonUrl;\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 else\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/top-filter/top-filter.controller.ts","declare const angular: ng.IAngularStatic, cdv;\r\ndeclare var defaultIsAsc;\r\n\r\nimport { breadcrumbsComponent } from '../../components/breadcrumbs/breadcrumbs'\r\nimport { compareBoxComponent } from '../../components/compare-box/compare-box'\r\nimport { topFilterComponent } from '../../components/top-filter/top-filter'\r\nimport { productListSortoptionComponent } from '../../components/product-list-sortoption/product-list-sortoption'\r\nimport { storeListByTypeComponent } from '../../components/store-list-by-type/store-list-by-type'\r\nimport { storeListByTypeFilterComponent } from '../../components/store-list-by-type-filter/store-list-by-type-filter'\r\n\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\nlet app = angular.module('store-list-by-type', [])\r\napp.component('breadcrumbs', breadcrumbsComponent);\r\napp.component('compareBox', compareBoxComponent);\r\napp.component('topFilter', topFilterComponent);\r\napp.component('productListSortoption', productListSortoptionComponent);\r\n\r\napp.component('storeListByType', storeListByTypeComponent);\r\napp.component('storeListByTypeFilter', storeListByTypeFilterComponent);\r\n\r\n\r\napp.factory('$productList', productListFactory)\r\napp.factory('$breadcrumbs', breadcrumbsFactory)\r\n\r\napp.service('$compare', compareService);\r\napp.service('$notify', notifyService);\r\napp.service('$mPath', modulePathService);\r\napp.service('$$filter', filterService)\r\nfunction filterService($resource, MyConstant) {\r\n return $resource('', {}, {\r\n top: {\r\n url: `${MyConstant.ApiUrl}ECBTempGeneral/GetProductAttrByProductTypeID?productTypeID=:productTypeID`,\r\n params: {\r\n RightPane: false\r\n },\r\n isArray: true\r\n },\r\n right: {\r\n url: `${MyConstant.ApiUrl}ECBTempGeneral/GetProductAttrByProductTypeID?productTypeID=:productTypeID`,\r\n params: {\r\n RightPane: true,\r\n },\r\n isArray: true\r\n\r\n }\r\n })\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/store-modules/list-by-type/list-by-type.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":""}