osmanli-veri-dagitim 2.0.45 → 2.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1815,7 +1815,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
1815
1815
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1816
1816
 
1817
1817
  "use strict";
1818
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/breadcrumb */ \"./src/utils/breadcrumb.js\");\n/* harmony import */ var _utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/tokenTools */ \"./src/utils/tokenTools.js\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"BuyDataPackage\",\n components: {\n PackageSlider: _components__WEBPACK_IMPORTED_MODULE_1__[\"PackageSlider\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n CardItem: _components__WEBPACK_IMPORTED_MODULE_1__[\"CardItem\"]\n },\n\n data() {\n return {\n recommendedPackages: null,\n currentTab: 1,\n profCurrentTab: null,\n algoCurrentTab: null,\n featureTypeId: null,\n esube: Object(_utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__[\"getItem\"])(\"esube\"),\n cusId: null\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"getRecommendedPackages\", \"customer\", \"apps\", \"allResearch\", \"profAlgoApps\", \"appsTab\", \"profAlgoTab\"]),\n\n customerId() {\n return this.$route.params.customerNumber;\n }\n\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getRecommendedPackageList\", \"searchCustomer\", \"getApps\", \"getAllResearch\", \"getProfAlgoApps\", \"getAppsTab\", \"getProfAlgoTab\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapMutations\"])([\"setProfAlgoApps\"]),\n\n tabClass(id, name = \"tab\", place = this.currentTab) {\n return [{\n active: place === id\n }, name];\n },\n\n errorMessage(response) {\n var _response$data;\n\n if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.error) === true) {\n return this.$toast.error(response.data.message);\n }\n },\n\n changeTab(id, featureTypeId) {\n this.featureTypeId = featureTypeId;\n this.currentTab = id;\n this.setProfAlgoApps([]);\n const professionalScreen = 2;\n const algoScreen = 3;\n const researchScreen = 4;\n\n if (id === professionalScreen) {\n this.getProfAlgoTab(professionalScreen).then(res => {\n if (res) {\n this.profCurrentTab = this.profAlgoTab[0].id;\n this.getProfAlgoApps([this.profCurrentTab, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n }\n });\n } else if (id === algoScreen) {\n this.getProfAlgoTab(algoScreen).then(res => {\n if (res) {\n this.algoCurrentTab = this.profAlgoTab[0].id;\n this.getProfAlgoApps([this.algoCurrentTab, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n }\n });\n } else if (id === researchScreen) {\n this.getAllResearch().then(response => {\n this.errorMessage(response);\n });\n return;\n }\n },\n\n changeSubTab(id, name) {\n this[name] = id;\n this.getProfAlgoApps([id, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n },\n\n getRecommendedData() {\n this.getRecommendedPackageList(this.cusId).then(res => {\n if (res) {\n this.recommendedPackages = this.getRecommendedPackages;\n }\n });\n },\n\n getCustomer() {\n this.searchCustomer({\n customerNo: this.customerId,\n cusId: this.cusId\n }).then(res => {\n if (res && this.$route.query.isRecommended === undefined) {\n Object(_utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__[\"getBreadCrumbs\"])({\n breadcrumbs: [\"CustomerDetail\", \"BuyDataPackage\"],\n customer: this.customer,\n customerDetail: this.customerId,\n buyDataPackage: this.customerId,\n cusId: this.cusId\n });\n }\n });\n }\n\n },\n\n mounted() {\n if (this.$route.query.isRecommended === undefined) {\n this.cusId = this.$route.query.c;\n }\n\n this.getRecommendedData();\n\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getApps(1);\n this.getAppsTab().then(response => {\n this.errorMessage(response);\n });\n }\n\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/BuyDataPackage.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
1818
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/breadcrumb */ \"./src/utils/breadcrumb.js\");\n/* harmony import */ var _utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/tokenTools */ \"./src/utils/tokenTools.js\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"BuyDataPackage\",\n components: {\n PackageSlider: _components__WEBPACK_IMPORTED_MODULE_1__[\"PackageSlider\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n CardItem: _components__WEBPACK_IMPORTED_MODULE_1__[\"CardItem\"]\n },\n props: {\n memberType: {\n type: Number\n }\n },\n\n data() {\n return {\n recommendedPackages: null,\n currentTab: 1,\n profCurrentTab: null,\n algoCurrentTab: null,\n featureTypeId: null,\n esube: Object(_utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__[\"getItem\"])(\"esube\"),\n cusId: null\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"getRecommendedPackages\", \"customer\", \"apps\", \"allResearch\", \"profAlgoApps\", \"appsTab\", \"profAlgoTab\"]),\n\n customerId() {\n return this.$route.params.customerNumber;\n }\n\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getRecommendedPackageList\", \"searchCustomer\", \"getApps\", \"getAllResearch\", \"getProfAlgoApps\", \"getAppsTab\", \"getProfAlgoTab\", \"getMember\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapMutations\"])([\"setProfAlgoApps\", \"setUserInfo\"]),\n\n tabClass(id, name = \"tab\", place = this.currentTab) {\n return [{\n active: place === id\n }, name];\n },\n\n errorMessage(response) {\n var _response$data;\n\n if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.error) === true) {\n return this.$toast.error(response.data.message);\n }\n },\n\n changeTab(id, featureTypeId) {\n this.featureTypeId = featureTypeId;\n this.currentTab = id;\n this.setProfAlgoApps([]);\n const professionalScreen = 2;\n const algoScreen = 3;\n const researchScreen = 4;\n\n if (id === professionalScreen) {\n this.getProfAlgoTab(professionalScreen).then(res => {\n if (res) {\n this.profCurrentTab = this.profAlgoTab[0].id;\n this.getProfAlgoApps([this.profCurrentTab, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n }\n });\n } else if (id === algoScreen) {\n this.getProfAlgoTab(algoScreen).then(res => {\n if (res) {\n this.algoCurrentTab = this.profAlgoTab[0].id;\n this.getProfAlgoApps([this.algoCurrentTab, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n }\n });\n } else if (id === researchScreen) {\n this.getAllResearch().then(response => {\n this.errorMessage(response);\n });\n return;\n }\n },\n\n changeSubTab(id, name) {\n this[name] = id;\n this.getProfAlgoApps([id, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n },\n\n getRecommendedData() {\n this.getRecommendedPackageList(this.cusId).then(res => {\n if (res) {\n this.recommendedPackages = this.getRecommendedPackages;\n }\n });\n },\n\n getCustomer() {\n this.searchCustomer({\n customerNo: this.customerId,\n cusId: this.cusId\n }).then(res => {\n if (res && this.$route.query.isRecommended === undefined) {\n Object(_utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__[\"getBreadCrumbs\"])({\n breadcrumbs: [\"CustomerDetail\", \"BuyDataPackage\"],\n customer: this.customer,\n customerDetail: this.customerId,\n buyDataPackage: this.customerId,\n cusId: this.cusId\n });\n }\n });\n }\n\n },\n\n mounted() {\n if (this.$route.query.isRecommended === undefined) {\n this.cusId = this.$route.query.c;\n } else {\n this.cusId = localStorage.getItem(\"userId\");\n }\n\n if (this.memberType) {\n if (this.cusId) {\n let userIdAsNumber = parseInt(this.cusId);\n let payload = {\n id: userIdAsNumber\n };\n this.getMember(payload).then(response => {\n this.setUserInfo({ ...response.data.loginInfo,\n memberType: this.memberType\n });\n });\n }\n }\n\n this.getRecommendedData();\n\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getApps(1);\n this.getAppsTab().then(response => {\n this.errorMessage(response);\n });\n }\n\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/BuyDataPackage.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
1819
1819
 
1820
1820
  /***/ }),
1821
1821
 
@@ -1824,7 +1824,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
1824
1824
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1825
1825
 
1826
1826
  "use strict";
1827
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/breadcrumb */ \"./src/utils/breadcrumb.js\");\n/* harmony import */ var _utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/tokenTools */ \"./src/utils/tokenTools.js\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"BuyDataPackage\",\n components: {\n PackageSlider: _components__WEBPACK_IMPORTED_MODULE_1__[\"PackageSlider\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n CardItem: _components__WEBPACK_IMPORTED_MODULE_1__[\"CardItem\"]\n },\n\n data() {\n return {\n recommendedPackages: null,\n currentTab: 1,\n profCurrentTab: null,\n algoCurrentTab: null,\n featureTypeId: null,\n esube: Object(_utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__[\"getItem\"])(\"esube\"),\n cusId: null\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"getRecommendedPackages\", \"customer\", \"apps\", \"allResearch\", \"profAlgoApps\", \"appsTab\", \"profAlgoTab\"]),\n\n customerId() {\n return this.$route.params.customerNumber;\n }\n\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getRecommendedPackageList\", \"searchCustomer\", \"getApps\", \"getAllResearch\", \"getProfAlgoApps\", \"getAppsTab\", \"getProfAlgoTab\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapMutations\"])([\"setProfAlgoApps\"]),\n\n tabClass(id, name = \"tab\", place = this.currentTab) {\n return [{\n active: place === id\n }, name];\n },\n\n errorMessage(response) {\n var _response$data;\n\n if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.error) === true) {\n return this.$toast.error(response.data.message);\n }\n },\n\n changeTab(id, featureTypeId) {\n this.featureTypeId = featureTypeId;\n this.currentTab = id;\n this.setProfAlgoApps([]);\n const professionalScreen = 2;\n const algoScreen = 3;\n const researchScreen = 4;\n\n if (id === professionalScreen) {\n this.getProfAlgoTab(professionalScreen).then(res => {\n if (res) {\n this.profCurrentTab = this.profAlgoTab[0].id;\n this.getProfAlgoApps([this.profCurrentTab, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n }\n });\n } else if (id === algoScreen) {\n this.getProfAlgoTab(algoScreen).then(res => {\n if (res) {\n this.algoCurrentTab = this.profAlgoTab[0].id;\n this.getProfAlgoApps([this.algoCurrentTab, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n }\n });\n } else if (id === researchScreen) {\n this.getAllResearch().then(response => {\n this.errorMessage(response);\n });\n return;\n }\n },\n\n changeSubTab(id, name) {\n this[name] = id;\n this.getProfAlgoApps([id, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n },\n\n getRecommendedData() {\n this.getRecommendedPackageList(this.cusId).then(res => {\n if (res) {\n this.recommendedPackages = this.getRecommendedPackages;\n }\n });\n },\n\n getCustomer() {\n this.searchCustomer({\n customerNo: this.customerId,\n cusId: this.cusId\n }).then(res => {\n if (res && this.$route.query.isRecommended === undefined) {\n Object(_utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__[\"getBreadCrumbs\"])({\n breadcrumbs: [\"CustomerDetail\", \"BuyDataPackage\"],\n customer: this.customer,\n customerDetail: this.customerId,\n buyDataPackage: this.customerId,\n cusId: this.cusId\n });\n }\n });\n }\n\n },\n\n mounted() {\n if (this.$route.query.isRecommended === undefined) {\n this.cusId = this.$route.query.c;\n }\n\n this.getRecommendedData();\n\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getApps(1);\n this.getAppsTab().then(response => {\n this.errorMessage(response);\n });\n }\n\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/BuyDataPackage.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
1827
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/breadcrumb */ \"./src/utils/breadcrumb.js\");\n/* harmony import */ var _utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/tokenTools */ \"./src/utils/tokenTools.js\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"BuyDataPackage\",\n components: {\n PackageSlider: _components__WEBPACK_IMPORTED_MODULE_1__[\"PackageSlider\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n CardItem: _components__WEBPACK_IMPORTED_MODULE_1__[\"CardItem\"]\n },\n props: {\n memberType: {\n type: Number\n }\n },\n\n data() {\n return {\n recommendedPackages: null,\n currentTab: 1,\n profCurrentTab: null,\n algoCurrentTab: null,\n featureTypeId: null,\n esube: Object(_utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__[\"getItem\"])(\"esube\"),\n cusId: null\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"getRecommendedPackages\", \"customer\", \"apps\", \"allResearch\", \"profAlgoApps\", \"appsTab\", \"profAlgoTab\"]),\n\n customerId() {\n return this.$route.params.customerNumber;\n }\n\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getRecommendedPackageList\", \"searchCustomer\", \"getApps\", \"getAllResearch\", \"getProfAlgoApps\", \"getAppsTab\", \"getProfAlgoTab\", \"getMember\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapMutations\"])([\"setProfAlgoApps\", \"setUserInfo\"]),\n\n tabClass(id, name = \"tab\", place = this.currentTab) {\n return [{\n active: place === id\n }, name];\n },\n\n errorMessage(response) {\n var _response$data;\n\n if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.error) === true) {\n return this.$toast.error(response.data.message);\n }\n },\n\n changeTab(id, featureTypeId) {\n this.featureTypeId = featureTypeId;\n this.currentTab = id;\n this.setProfAlgoApps([]);\n const professionalScreen = 2;\n const algoScreen = 3;\n const researchScreen = 4;\n\n if (id === professionalScreen) {\n this.getProfAlgoTab(professionalScreen).then(res => {\n if (res) {\n this.profCurrentTab = this.profAlgoTab[0].id;\n this.getProfAlgoApps([this.profCurrentTab, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n }\n });\n } else if (id === algoScreen) {\n this.getProfAlgoTab(algoScreen).then(res => {\n if (res) {\n this.algoCurrentTab = this.profAlgoTab[0].id;\n this.getProfAlgoApps([this.algoCurrentTab, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n }\n });\n } else if (id === researchScreen) {\n this.getAllResearch().then(response => {\n this.errorMessage(response);\n });\n return;\n }\n },\n\n changeSubTab(id, name) {\n this[name] = id;\n this.getProfAlgoApps([id, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n },\n\n getRecommendedData() {\n this.getRecommendedPackageList(this.cusId).then(res => {\n if (res) {\n this.recommendedPackages = this.getRecommendedPackages;\n }\n });\n },\n\n getCustomer() {\n this.searchCustomer({\n customerNo: this.customerId,\n cusId: this.cusId\n }).then(res => {\n if (res && this.$route.query.isRecommended === undefined) {\n Object(_utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__[\"getBreadCrumbs\"])({\n breadcrumbs: [\"CustomerDetail\", \"BuyDataPackage\"],\n customer: this.customer,\n customerDetail: this.customerId,\n buyDataPackage: this.customerId,\n cusId: this.cusId\n });\n }\n });\n }\n\n },\n\n mounted() {\n if (this.$route.query.isRecommended === undefined) {\n this.cusId = this.$route.query.c;\n } else {\n this.cusId = localStorage.getItem(\"userId\");\n }\n\n if (this.memberType) {\n if (this.cusId) {\n let userIdAsNumber = parseInt(this.cusId);\n let payload = {\n id: userIdAsNumber\n };\n this.getMember(payload).then(response => {\n this.setUserInfo({ ...response.data.loginInfo,\n memberType: this.memberType\n });\n });\n }\n }\n\n this.getRecommendedData();\n\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getApps(1);\n this.getAppsTab().then(response => {\n this.errorMessage(response);\n });\n }\n\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/BuyDataPackage.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
1828
1828
 
1829
1829
  /***/ }),
1830
1830
 
@@ -1824,7 +1824,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
1824
1824
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1825
1825
 
1826
1826
  "use strict";
1827
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/breadcrumb */ \"./src/utils/breadcrumb.js\");\n/* harmony import */ var _utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/tokenTools */ \"./src/utils/tokenTools.js\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"BuyDataPackage\",\n components: {\n PackageSlider: _components__WEBPACK_IMPORTED_MODULE_1__[\"PackageSlider\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n CardItem: _components__WEBPACK_IMPORTED_MODULE_1__[\"CardItem\"]\n },\n\n data() {\n return {\n recommendedPackages: null,\n currentTab: 1,\n profCurrentTab: null,\n algoCurrentTab: null,\n featureTypeId: null,\n esube: Object(_utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__[\"getItem\"])(\"esube\"),\n cusId: null\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"getRecommendedPackages\", \"customer\", \"apps\", \"allResearch\", \"profAlgoApps\", \"appsTab\", \"profAlgoTab\"]),\n\n customerId() {\n return this.$route.params.customerNumber;\n }\n\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getRecommendedPackageList\", \"searchCustomer\", \"getApps\", \"getAllResearch\", \"getProfAlgoApps\", \"getAppsTab\", \"getProfAlgoTab\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapMutations\"])([\"setProfAlgoApps\"]),\n\n tabClass(id, name = \"tab\", place = this.currentTab) {\n return [{\n active: place === id\n }, name];\n },\n\n errorMessage(response) {\n var _response$data;\n\n if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.error) === true) {\n return this.$toast.error(response.data.message);\n }\n },\n\n changeTab(id, featureTypeId) {\n this.featureTypeId = featureTypeId;\n this.currentTab = id;\n this.setProfAlgoApps([]);\n const professionalScreen = 2;\n const algoScreen = 3;\n const researchScreen = 4;\n\n if (id === professionalScreen) {\n this.getProfAlgoTab(professionalScreen).then(res => {\n if (res) {\n this.profCurrentTab = this.profAlgoTab[0].id;\n this.getProfAlgoApps([this.profCurrentTab, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n }\n });\n } else if (id === algoScreen) {\n this.getProfAlgoTab(algoScreen).then(res => {\n if (res) {\n this.algoCurrentTab = this.profAlgoTab[0].id;\n this.getProfAlgoApps([this.algoCurrentTab, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n }\n });\n } else if (id === researchScreen) {\n this.getAllResearch().then(response => {\n this.errorMessage(response);\n });\n return;\n }\n },\n\n changeSubTab(id, name) {\n this[name] = id;\n this.getProfAlgoApps([id, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n },\n\n getRecommendedData() {\n this.getRecommendedPackageList(this.cusId).then(res => {\n if (res) {\n this.recommendedPackages = this.getRecommendedPackages;\n }\n });\n },\n\n getCustomer() {\n this.searchCustomer({\n customerNo: this.customerId,\n cusId: this.cusId\n }).then(res => {\n if (res && this.$route.query.isRecommended === undefined) {\n Object(_utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__[\"getBreadCrumbs\"])({\n breadcrumbs: [\"CustomerDetail\", \"BuyDataPackage\"],\n customer: this.customer,\n customerDetail: this.customerId,\n buyDataPackage: this.customerId,\n cusId: this.cusId\n });\n }\n });\n }\n\n },\n\n mounted() {\n if (this.$route.query.isRecommended === undefined) {\n this.cusId = this.$route.query.c;\n }\n\n this.getRecommendedData();\n\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getApps(1);\n this.getAppsTab().then(response => {\n this.errorMessage(response);\n });\n }\n\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/BuyDataPackage.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
1827
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/breadcrumb */ \"./src/utils/breadcrumb.js\");\n/* harmony import */ var _utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/tokenTools */ \"./src/utils/tokenTools.js\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"BuyDataPackage\",\n components: {\n PackageSlider: _components__WEBPACK_IMPORTED_MODULE_1__[\"PackageSlider\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n CardItem: _components__WEBPACK_IMPORTED_MODULE_1__[\"CardItem\"]\n },\n props: {\n memberType: {\n type: Number\n }\n },\n\n data() {\n return {\n recommendedPackages: null,\n currentTab: 1,\n profCurrentTab: null,\n algoCurrentTab: null,\n featureTypeId: null,\n esube: Object(_utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__[\"getItem\"])(\"esube\"),\n cusId: null\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"getRecommendedPackages\", \"customer\", \"apps\", \"allResearch\", \"profAlgoApps\", \"appsTab\", \"profAlgoTab\"]),\n\n customerId() {\n return this.$route.params.customerNumber;\n }\n\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getRecommendedPackageList\", \"searchCustomer\", \"getApps\", \"getAllResearch\", \"getProfAlgoApps\", \"getAppsTab\", \"getProfAlgoTab\", \"getMember\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapMutations\"])([\"setProfAlgoApps\", \"setUserInfo\"]),\n\n tabClass(id, name = \"tab\", place = this.currentTab) {\n return [{\n active: place === id\n }, name];\n },\n\n errorMessage(response) {\n var _response$data;\n\n if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.error) === true) {\n return this.$toast.error(response.data.message);\n }\n },\n\n changeTab(id, featureTypeId) {\n this.featureTypeId = featureTypeId;\n this.currentTab = id;\n this.setProfAlgoApps([]);\n const professionalScreen = 2;\n const algoScreen = 3;\n const researchScreen = 4;\n\n if (id === professionalScreen) {\n this.getProfAlgoTab(professionalScreen).then(res => {\n if (res) {\n this.profCurrentTab = this.profAlgoTab[0].id;\n this.getProfAlgoApps([this.profCurrentTab, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n }\n });\n } else if (id === algoScreen) {\n this.getProfAlgoTab(algoScreen).then(res => {\n if (res) {\n this.algoCurrentTab = this.profAlgoTab[0].id;\n this.getProfAlgoApps([this.algoCurrentTab, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n }\n });\n } else if (id === researchScreen) {\n this.getAllResearch().then(response => {\n this.errorMessage(response);\n });\n return;\n }\n },\n\n changeSubTab(id, name) {\n this[name] = id;\n this.getProfAlgoApps([id, this.featureTypeId, this.cusId]).then(response => {\n this.errorMessage(response);\n });\n },\n\n getRecommendedData() {\n this.getRecommendedPackageList(this.cusId).then(res => {\n if (res) {\n this.recommendedPackages = this.getRecommendedPackages;\n }\n });\n },\n\n getCustomer() {\n this.searchCustomer({\n customerNo: this.customerId,\n cusId: this.cusId\n }).then(res => {\n if (res && this.$route.query.isRecommended === undefined) {\n Object(_utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__[\"getBreadCrumbs\"])({\n breadcrumbs: [\"CustomerDetail\", \"BuyDataPackage\"],\n customer: this.customer,\n customerDetail: this.customerId,\n buyDataPackage: this.customerId,\n cusId: this.cusId\n });\n }\n });\n }\n\n },\n\n mounted() {\n if (this.$route.query.isRecommended === undefined) {\n this.cusId = this.$route.query.c;\n } else {\n this.cusId = localStorage.getItem(\"userId\");\n }\n\n if (this.memberType) {\n if (this.cusId) {\n let userIdAsNumber = parseInt(this.cusId);\n let payload = {\n id: userIdAsNumber\n };\n this.getMember(payload).then(response => {\n this.setUserInfo({ ...response.data.loginInfo,\n memberType: this.memberType\n });\n });\n }\n }\n\n this.getRecommendedData();\n\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getApps(1);\n this.getAppsTab().then(response => {\n this.errorMessage(response);\n });\n }\n\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/BuyDataPackage.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
1828
1828
 
1829
1829
  /***/ }),
1830
1830
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osmanli-veri-dagitim",
3
- "version": "2.0.45",
3
+ "version": "2.0.47",
4
4
  "main": "./dist/OsmanliPackage.umd.min.js",
5
5
  "files": [
6
6
  "dist"