osmanli-veri-dagitim 2.0.88 → 2.0.90-dev

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.
@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuel
20
20
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21
21
 
22
22
  "use strict";
23
- 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 vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuelidate/lib/validators */ \"./node_modules/vuelidate/lib/validators/index.js\");\n/* harmony import */ var vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _components_productAndPackage_PhotoUpload__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/productAndPackage/PhotoUpload */ \"./src/components/productAndPackage/PhotoUpload.vue\");\n/* harmony import */ var _mixins_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../mixins/index */ \"./src/mixins/index.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"AlgoDefinitionForm\",\n mixins: [_mixins_index__WEBPACK_IMPORTED_MODULE_4__[\"default\"]],\n props: {\n clickedNewItemBtn: Boolean,\n applicationId: Number,\n selectedDataApplicationId: Number,\n id: Number,\n selectedDataId: Number,\n name: String,\n selectedDataName: String,\n order: Number,\n selectedDataOrder: Number,\n isAgreementMandatory: Boolean,\n isHighLevel: Boolean,\n isExternalPurchasable: Boolean,\n isConnectMainProduct: Boolean,\n price: Number,\n priceCostMultiplier: Number,\n screenPrice: Number,\n cost: Number,\n priceType: Number,\n fundAmount: Number,\n commissionAmount: Number,\n vdProducrtWarnings: Array,\n selectedDataPrice: Number,\n selectedDataPriceCostMultiplier: Number,\n selectedDataScreenPrice: Number,\n selectedDataCost: Number,\n selectedDataFundAmount: Number,\n selectedDataCommissionAmount: Number,\n selectedDataVdProducrtWarnings: Array,\n additionalWarnings: Array,\n selectedShortContent: String,\n selectedDescription: String,\n shortContent: String,\n description: String,\n selectedDataApplication: Object,\n filterAttribute: Array\n },\n\n data() {\n return {\n selectedDataAppVal: \"\",\n clickedNewBtn: this.clickedNewItemBtn,\n selectedMandatoryGroupVal: {\n label: \"Evet\",\n value: true,\n code: 1\n },\n selectedLevelGroupVal: {\n label: \"Evet\",\n value: true,\n code: 1\n },\n selectedPurchasableGroupVal: {\n label: \"Evet\",\n value: true,\n code: 1\n },\n selectedIsConnectedToMainProduct: {\n label: \"Evet\",\n value: true,\n code: 1\n },\n invalidMessage: \"Bu alan boş bırakılamaz!\",\n booleanOptions: [{\n label: \"Evet\",\n value: true,\n code: 1\n }, {\n label: \"Hayır\",\n value: false,\n code: 2\n }],\n selectedAppGroupOptions: [],\n submitted: false,\n formItems: {\n application: this.selectedDataApplication,\n applicationId: this.selectedDataApplicationId,\n id: this.selectedDataId,\n name: this.selectedDataName,\n order: this.selectedDataOrder,\n shortContent: this.selectedShortContent,\n description: this.selectedDescription,\n isAgreementMandatory: this.isAgreementMandatory,\n isHighLevel: this.isHighLevel,\n isExternalPurchasable: this.isExternalPurchasable,\n isConnectMainProduct: this.selectedIsConnectedToMainProduct,\n price: this.selectedDataPrice,\n priceCostMultiplier: this.selectedDataPriceCostMultiplier,\n screenPrice: this.selectedDataScreenPrice,\n cost: this.selectedDataCost,\n fundAmount: this.selectedDataFundAmount,\n commissionAmount: this.selectedDataCommissionAmount,\n vdProducrtWarnings: this.additionalWarnings,\n year: null,\n month: null\n }\n };\n },\n\n methods: {\n getFilter() {\n this.selectedAppGroupOptions = this.getFilterList.filter(o => o.name === \"Applications\")[0].values;\n const firstItem = this.selectedAppGroupOptions.filter(x => x.code === 0);\n\n if (firstItem.length === 0) {\n this.selectedAppGroupOptions.unshift({\n code: 0,\n label: \"Uygulam Seçiniz\"\n });\n }\n\n if (this.clickedNewItemBtn) {\n this.formItems.applicationId = 0;\n this.formItems.application = this.selectedAppGroupOptions[0].label;\n }\n },\n\n calculate(price) {\n this.formItems.commissionAmount = Math.round(Number(price) * Number(this.formItems.priceCostMultiplier));\n let calculatedFundAmount = Number(this.formItems.commissionAmount) / 0.9 * 1200;\n this.formItems.fundAmount = this.integersToRound(calculatedFundAmount, String(this.formItems.commissionAmount).length);\n },\n\n addRemoveAdditionalWarnings(index = null) {\n if (index === null) {\n this.additionalWarnings.push(\"\");\n } else {\n this.additionalWarnings.splice(index, 1);\n }\n },\n\n changeIsAgreementMandatoryGroup(value) {\n this.formItems.isAgreementMandatory = value.value;\n },\n\n changeIsHighLevelGroup(value) {\n this.formItems.isHighLevel = value.value;\n },\n\n changeIsExternalPurchasableGroup(value) {\n this.formItems.isExternalPurchasable = value.value;\n },\n\n changeIsConnectedMainProduct(value) {\n this.formItems.isConnectMainProduct = value.value;\n },\n\n changeSelectedApp(value) {\n this.formItems.applicationId = value.code;\n this.formItems.application = value.label;\n },\n\n sendForm() {\n this.submitted = true;\n this.$v.$touch();\n\n if (this.$v.$invalid) {\n return;\n }\n\n this.formItems.id = Number(this.formItems.id);\n this.formItems.applicationId = Number(this.formItems.applicationId) === 0 ? this.selectedAppGroupOptions[0].code : Number(this.formItems.applicationId);\n this.formItems.order = Number(this.formItems.order);\n this.formItems.price = Number(this.formItems.price);\n this.formItems.priceCostMultiplier = Number(this.formItems.priceCostMultiplier);\n this.formItems.screenPrice = Number(this.formItems.screenPrice);\n this.formItems.cost = Number(this.formItems.cost);\n this.formItems.fundAmount = Number(this.formItems.fundAmount);\n this.formItems.commissionAmount = Number(this.formItems.commissionAmount);\n\n if (this.formItems.vdProducrtWarnings.length === 1 && this.formItems.vdProducrtWarnings[0] === \"\") {\n this.formItems.vdProducrtWarnings = [];\n }\n\n if (this.clickedNewItemBtn) {\n delete this.formItems.id;\n delete this.formItems.order;\n }\n\n this.formItems.year = this.getAlgoManagementFilter.year;\n this.formItems.month = this.getAlgoManagementFilter.month;\n this.$emit(\"submit-form\", this.formItems);\n },\n\n setPhotoForForm(base64) {\n this.formItems.imageFileBase64 = base64;\n }\n\n },\n components: {\n BaseSelect: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseSelect\"],\n BaseInput: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseInput\"],\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseButton\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n PhotoUpload: _components_productAndPackage_PhotoUpload__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"getFilterList\", \"getProductManagementAlgoFilter\"]),\n\n getAlgoManagementFilter() {\n return this.getProductManagementAlgoFilter;\n }\n\n },\n\n mounted() {\n this.getFilter();\n /* if (this.selectedDataId === null) {\n this.addRemoveAdditionalWarnings();\n }*/\n\n this.selectedMandatoryGroupVal = this.booleanOptions.find(x => x.value === this.isAgreementMandatory);\n this.selectedLevelGroupVal = this.booleanOptions.find(x => x.value === this.isHighLevel);\n this.selectedPurchasableGroupVal = this.booleanOptions.find(x => x.value === this.isExternalPurchasable);\n this.selectedIsConnectedToMainProduct = this.booleanOptions.find(x => x.value === this.isConnectMainProduct);\n },\n\n watch: {\n priceCostMultiplier(val) {\n const priceMultiplier = Number(val);\n this.priceMultiplier = priceMultiplier;\n this.formItems.priceCostMultiplier = priceMultiplier;\n },\n\n getAlgoManagementFilter: {\n handler: function (newVal) {\n this.formItems.year = newVal.year;\n this.formItems.month = newVal.month;\n }\n }\n },\n validations: {\n formItems: {\n applicationId: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(1)\n },\n name: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"]\n },\n price: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"]\n },\n priceCostMultiplier: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"]\n },\n screenPrice: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"]\n },\n cost: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"]\n },\n fundAmount: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"]\n },\n commissionAmount: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"]\n }\n }\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/AlgoDefinitionForm.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");
23
+ 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 vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuelidate/lib/validators */ \"./node_modules/vuelidate/lib/validators/index.js\");\n/* harmony import */ var vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _components_productAndPackage_PhotoUpload__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/productAndPackage/PhotoUpload */ \"./src/components/productAndPackage/PhotoUpload.vue\");\n/* harmony import */ var _mixins_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../mixins/index */ \"./src/mixins/index.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"AlgoDefinitionForm\",\n mixins: [_mixins_index__WEBPACK_IMPORTED_MODULE_4__[\"default\"]],\n props: {\n clickedNewItemBtn: Boolean,\n applicationId: Number,\n selectedDataApplicationId: Number,\n id: Number,\n selectedDataId: Number,\n name: String,\n selectedDataName: String,\n order: Number,\n selectedDataOrder: Number,\n isAgreementMandatory: Boolean,\n isHighLevel: Boolean,\n isExternalPurchasable: Boolean,\n isConnectMainProduct: Boolean,\n price: Number,\n priceCostMultiplier: Number,\n screenPrice: Number,\n cost: Number,\n priceType: Number,\n fundAmount: Number,\n commissionAmount: Number,\n vdProducrtWarnings: Array,\n selectedDataPrice: Number,\n selectedDataPriceCostMultiplier: Number,\n selectedDataScreenPrice: Number,\n selectedDataCost: Number,\n selectedDataFundAmount: Number,\n selectedDataCommissionAmount: Number,\n selectedDataVdProducrtWarnings: Array,\n additionalWarnings: Array,\n selectedShortContent: String,\n selectedDescription: String,\n shortContent: String,\n description: String,\n selectedDataApplication: Object,\n filterAttribute: Array\n },\n\n data() {\n return {\n selectedDataAppVal: \"\",\n clickedNewBtn: this.clickedNewItemBtn,\n selectedMandatoryGroupVal: {\n label: \"Evet\",\n value: true,\n code: 1\n },\n selectedLevelGroupVal: {\n label: \"Evet\",\n value: true,\n code: 1\n },\n selectedPurchasableGroupVal: {\n label: \"Evet\",\n value: true,\n code: 1\n },\n selectedIsConnectedToMainProduct: {\n label: \"Evet\",\n value: true,\n code: 1\n },\n invalidMessage: \"Bu alan boş bırakılamaz!\",\n booleanOptions: [{\n label: \"Evet\",\n value: true,\n code: 1\n }, {\n label: \"Hayır\",\n value: false,\n code: 2\n }],\n selectedAppGroupOptions: [],\n submitted: false,\n formItems: {\n application: this.selectedDataApplication,\n applicationId: this.selectedDataApplicationId,\n id: this.selectedDataId,\n name: this.selectedDataName,\n order: this.selectedDataOrder,\n shortContent: this.selectedShortContent,\n description: this.selectedDescription,\n isAgreementMandatory: this.isAgreementMandatory,\n isHighLevel: this.isHighLevel,\n isExternalPurchasable: this.isExternalPurchasable,\n isConnectMainProduct: this.selectedIsConnectedToMainProduct,\n price: this.selectedDataPrice,\n priceCostMultiplier: this.selectedDataPriceCostMultiplier,\n screenPrice: this.selectedDataScreenPrice,\n cost: this.selectedDataCost,\n fundAmount: this.selectedDataFundAmount,\n commissionAmount: this.selectedDataCommissionAmount,\n vdProducrtWarnings: this.additionalWarnings,\n year: null,\n month: null\n }\n };\n },\n\n methods: {\n getFilter() {\n this.selectedAppGroupOptions = this.getFilterList.filter(o => o.name === \"Applications\")[0].values;\n const firstItem = this.selectedAppGroupOptions.filter(x => x.code === 0);\n\n if (firstItem.length === 0) {\n this.selectedAppGroupOptions.unshift({\n code: 0,\n label: \"Uygulam Seçiniz\"\n });\n }\n\n if (this.clickedNewItemBtn) {\n this.formItems.applicationId = 0;\n this.formItems.application = this.selectedAppGroupOptions[0].label;\n }\n },\n\n calculate(price) {\n this.formItems.commissionAmount = Math.round(Number(price) * Number(this.formItems.priceCostMultiplier));\n let calculatedFundAmount = Number(this.formItems.commissionAmount) / 0.9 * 1200;\n this.formItems.fundAmount = this.integersToRound(calculatedFundAmount, String(this.formItems.commissionAmount).length);\n },\n\n addRemoveAdditionalWarnings(index = null) {\n if (index === null) {\n this.additionalWarnings.push(\"\");\n } else {\n this.additionalWarnings.splice(index, 1);\n }\n },\n\n changeIsAgreementMandatoryGroup(value) {\n this.formItems.isAgreementMandatory = value.value;\n },\n\n changeIsHighLevelGroup(value) {\n this.formItems.isHighLevel = value.value;\n },\n\n changeIsExternalPurchasableGroup(value) {\n this.formItems.isExternalPurchasable = value.value;\n },\n\n changeIsConnectedMainProduct(value) {\n this.formItems.isConnectMainProduct = value.value;\n },\n\n changeSelectedApp(value) {\n this.formItems.applicationId = value.code;\n this.formItems.application = value.label;\n },\n\n sendForm() {\n this.submitted = true;\n this.$v.$touch();\n\n if (this.$v.$invalid) {\n return;\n }\n\n this.formItems.id = Number(this.formItems.id);\n this.formItems.applicationId = Number(this.formItems.applicationId) === 0 ? this.selectedAppGroupOptions[0].code : Number(this.formItems.applicationId);\n this.formItems.order = Number(this.formItems.order);\n this.formItems.price = Number(this.formItems.price);\n this.formItems.priceCostMultiplier = Number(this.formItems.priceCostMultiplier);\n this.formItems.screenPrice = Number(this.formItems.screenPrice);\n this.formItems.cost = Number(this.formItems.cost);\n this.formItems.fundAmount = Number(this.formItems.fundAmount);\n this.formItems.commissionAmount = Number(this.formItems.commissionAmount);\n\n if (this.formItems.vdProducrtWarnings.length === 1 && this.formItems.vdProducrtWarnings[0] === \"\") {\n this.formItems.vdProducrtWarnings = [];\n }\n\n if (this.clickedNewItemBtn) {\n delete this.formItems.id;\n delete this.formItems.order;\n }\n\n this.formItems.year = this.getAlgoManagementFilter.year;\n this.formItems.month = this.getAlgoManagementFilter.month;\n this.$emit(\"submit-form\", this.formItems);\n },\n\n setPhotoForForm(base64) {\n this.formItems.imageFileBase64 = base64;\n }\n\n },\n components: {\n BaseSelect: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseSelect\"],\n BaseInput: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseInput\"],\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseButton\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n PhotoUpload: _components_productAndPackage_PhotoUpload__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"getFilterList\", \"getProductManagementAlgoFilter\"]),\n\n getAlgoManagementFilter() {\n return this.getProductManagementAlgoFilter;\n }\n\n },\n\n mounted() {\n this.getFilter();\n this.selectedMandatoryGroupVal = this.booleanOptions.find(x => x.value === this.isAgreementMandatory);\n this.selectedLevelGroupVal = this.booleanOptions.find(x => x.value === this.isHighLevel);\n this.selectedPurchasableGroupVal = this.booleanOptions.find(x => x.value === this.isExternalPurchasable);\n this.selectedIsConnectedToMainProduct = this.booleanOptions.find(x => x.value === this.isConnectMainProduct);\n },\n\n watch: {\n priceCostMultiplier(val) {\n const priceMultiplier = Number(val);\n this.priceMultiplier = priceMultiplier;\n this.formItems.priceCostMultiplier = priceMultiplier;\n },\n\n getAlgoManagementFilter: {\n handler: function (newVal) {\n this.formItems.year = newVal.year;\n this.formItems.month = newVal.month;\n }\n }\n },\n validations: {\n formItems: {\n applicationId: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(1)\n },\n name: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"]\n },\n price: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"]\n },\n priceCostMultiplier: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"]\n },\n screenPrice: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"]\n },\n cost: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"]\n },\n fundAmount: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"]\n },\n commissionAmount: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"]\n }\n }\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/AlgoDefinitionForm.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");
24
24
 
25
25
  /***/ }),
26
26
 
@@ -56,7 +56,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
56
56
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
57
57
 
58
58
  "use strict";
59
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.error.cause.js */ \"./node_modules/core-js/modules/es.error.cause.js\");\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var vue2_datepicker__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue2-datepicker */ \"./node_modules/vue2-datepicker/index.esm.js\");\n/* harmony import */ var vue2_datepicker_index_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue2-datepicker/index.css */ \"./node_modules/vue2-datepicker/index.css\");\n/* harmony import */ var vue2_datepicker_index_css__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(vue2_datepicker_index_css__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"GanericTable\",\n props: {\n tableHeader: {\n type: Array,\n required: true\n },\n tableData: {\n type: Array,\n required: false\n },\n headerParentId: Number,\n onLoadFilterDate: Date,\n showRemoveBtn: Boolean,\n showAddBtn: Boolean,\n remove: Function,\n edit: Function,\n newItem: Function,\n label: String,\n haveSort: Boolean,\n changeSort: Function\n },\n\n data() {\n return {\n filterDate: this.onLoadFilterDate ? this.onLoadFilterDate : null,\n modalName: \"\",\n modalId: \"\",\n modal: {\n month: \"\",\n payload: {\n month: null,\n year: null,\n platformId: null,\n featureSettingId: null,\n applicationId: null,\n id: null\n },\n isButtonClicked: true\n }\n };\n },\n\n components: {\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseButton\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n DatePicker: vue2_datepicker__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n },\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_4__[\"mapGetters\"])([\"getProductManagementFilter\", \"getProductManagementAlgoFilter\", \"getProductManagementResearchFilter\", \"getProductManagementProductFilter\"]),\n\n getManagementFilter() {\n return this.getProductManagementFilter;\n },\n\n getManagementAlgoFilter() {\n return this.getProductManagementAlgoFilter;\n },\n\n getManagementResearchFilter() {\n return this.getProductManagementResearchFilter;\n },\n\n getManagementProductFilter() {\n return this.getProductManagementProductFilter;\n }\n\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_4__[\"mapActions\"])([\"copyFeatureSettingItem\", \"copyAlgorithmsItem\", \"copyResearchsItem\", \"getFeatureSettingList\", \"getResearchList\", \"getAllAlgorithmAndServers\", \"deActivateAlgorithmAndServer\", \"activateAlgorithmAndServer\", \"deActivateResearch\", \"activateResearch\", \"deActivateFeatureSetting\", \"activateFeatureSetting\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_4__[\"mapMutations\"])([\"setProductPackageAlgoFilter\", \"setProductPackageResearchFilter\", \"setProductPackageProductFilter\"]),\n\n changeSortByLocal(type, item, index, totalCount) {\n if (index === 0 && type === \"up\" || index === totalCount && type === \"down\") {\n return;\n }\n\n item.sortType = type;\n this.changeSort(item);\n },\n\n disabledBeforeTodayAndAfterAWeek(date) {\n const today = new Date();\n today.setHours(0, 0, 0, 0);\n today.setMonth(today.getMonth() - 1);\n return date < today; // || date > new Date(today.getTime() + 7 * 24 * 3600 * 1000)\n },\n\n monthToggle(type) {\n const inputVal = this.filterDate;\n this.$emit(\"dateToggle\", type, inputVal);\n },\n\n togglePackageActivation(id, type) {\n let args = {\n id: id\n };\n\n switch (this.headerParentId) {\n case 6:\n if (type === \"deactivate\") {\n this.deActivateAlgorithmAndServer(args).then(response => {\n var _response$data;\n\n if (response !== null && response !== void 0 && (_response$data = response.data) !== null && _response$data !== void 0 && _response$data.error) {\n this.$toast.error(response.data.message);\n } else {\n this.$emit(\"activationToggled\", true);\n this.$toast.warning(\"Paket İptal Edildi\");\n }\n });\n } else if (type === \"activate\") {\n this.activateAlgorithmAndServer(args).then(response => {\n var _response$data2;\n\n if (response !== null && response !== void 0 && (_response$data2 = response.data) !== null && _response$data2 !== void 0 && _response$data2.error) {\n this.$toast.error(response.data.message);\n } else {\n this.$emit(\"activationToggled\", true);\n this.$toast.success(\"Aktif Edildi\");\n }\n });\n }\n\n break;\n\n case 7:\n if (type === \"deactivate\") {\n this.deActivateFeatureSetting(args).then(response => {\n var _response$data3;\n\n if (response !== null && response !== void 0 && (_response$data3 = response.data) !== null && _response$data3 !== void 0 && _response$data3.error) {\n this.$toast.error(response.data.message);\n } else {\n this.$emit(\"activationToggled\", true);\n this.$toast.warning(\"Paket İptal Edildi\");\n }\n });\n } else if (type === \"activate\") {\n this.activateFeatureSetting(args).then(response => {\n var _response$data4;\n\n if (response !== null && response !== void 0 && (_response$data4 = response.data) !== null && _response$data4 !== void 0 && _response$data4.error) {\n this.$toast.error(response.message);\n } else {\n this.$emit(\"activationToggled\", true);\n this.$toast.success(\"Aktif Edildi\");\n }\n });\n }\n\n break;\n\n case 8:\n if (type === \"deactivate\") {\n this.deActivateResearch(args).then(response => {\n var _response$data5;\n\n if (response !== null && response !== void 0 && (_response$data5 = response.data) !== null && _response$data5 !== void 0 && _response$data5.error) {\n this.$toast.error(response.data.message);\n } else {\n this.$emit(\"activationToggled\", true);\n this.$toast.warning(\"Paket İptal Edildi\");\n }\n });\n } else if (type === \"activate\") {\n this.activateResearch(args).then(response => {\n var _response$data6;\n\n if (response !== null && response !== void 0 && (_response$data6 = response.data) !== null && _response$data6 !== void 0 && _response$data6.error) {\n this.$toast.error(response.data.message);\n } else {\n this.$emit(\"activationToggled\", true);\n this.$toast.success(\"Aktif Edildi\");\n }\n });\n }\n\n break;\n\n default:\n break;\n }\n },\n\n showModal(param, modalName, platformIdOrId, featureSettingId, applicationId) {\n this.modal.month = \"\";\n this.modalId = param;\n this.modalName = modalName;\n this.modal.payload.platformId = Number(platformIdOrId);\n this.modal.payload.featureSettingId = Number(featureSettingId);\n this.modal.payload.applicationId = Number(applicationId);\n this.modal.payload.id = Number(platformIdOrId);\n this.$nextTick(() => {\n this.$modal.show(this.modalId);\n });\n },\n\n closeModal(param) {\n this.$nextTick(() => {\n this.$modal.hide(param);\n this.modalId = \"\";\n this.modalName = \"\";\n this.modal.month = \"\";\n });\n },\n\n calenderChanged() {\n var _this$filterDate;\n\n this.$emit(\"filterDataAfterChange\", {\n id: this.headerParentId,\n value: (_this$filterDate = this.filterDate) === null || _this$filterDate === void 0 ? void 0 : _this$filterDate.toJSON()\n });\n },\n\n modalCalenderChanged() {\n const unFormatted = JSON.stringify(this.modal.month);\n let splitDateFromTime = unFormatted.split(\"T\")[0];\n let splitHyphen = splitDateFromTime.split(\"-\");\n let getYear = splitHyphen[0].replace('\"', \"\");\n let getMonth = splitHyphen[1];\n this.modal.payload.month = Number(getMonth) == 12 ? 1 : Number(getMonth) + 1;\n this.modal.payload.year = Number(getMonth) == 12 ? Number(getYear) + 1 : Number(getYear);\n this.modal.isButtonClicked = false;\n },\n\n copyItem() {\n if (this.modal.payload.month == null || this.modal.payload.platformId == null) {\n this.$toast.error(\"Değerler boş gönderilemez.\");\n } else {\n this.modal.isButtonClicked = true;\n\n switch (this.headerParentId) {\n case 6:\n this.copyAlgorithmsItem(this.modal.payload).then(response => {\n if (response.error) {\n this.modal.isButtonClicked = false;\n return this.$toast.error(response.message);\n } else {\n this.getAllAlgorithmAndServers({\n Year: response.year,\n Month: response.month\n }).then(reply => {\n const servers = reply;\n\n for (let i = 0; i < servers.length; i++) {\n var _item$application;\n\n const item = servers[i];\n item.applicationName = item === null || item === void 0 ? void 0 : (_item$application = item.application) === null || _item$application === void 0 ? void 0 : _item$application.name;\n item.updateDate = this.$moment(item.updatedAt).format(\"DD.MM.YYYY\");\n\n if (item.year && item.month) {\n this.setProductPackageAlgoFilter({\n year: item.year,\n month: item.month,\n inputVal: null\n });\n }\n }\n\n this.$modal.hide(this.modalId);\n this.$toast.success(\"Durum güncellendi.\");\n this.$emit(\"rowCopied\", {\n data: servers\n });\n });\n this.modal.isButtonClicked = false;\n }\n });\n break;\n\n case 7:\n this.copyFeatureSettingItem(this.modal.payload).then(response => {\n if (response.error) {\n this.modal.isButtonClicked = false;\n return this.$toast.error(response.message);\n } else {\n this.getFeatureSettingList({\n Year: response.year,\n Month: response.month\n }).then(reply => {\n const formatedData = reply;\n\n for (let i = 0; i < formatedData.length; i++) {\n const item = formatedData[i];\n item.platformName = item.platform.name;\n item.platformId = item.platform.id;\n const marketNames = [];\n\n for (let f = 0; f < item.licences.length; f++) {\n marketNames.push(item.licences[f].name);\n }\n\n item.marketName = marketNames.toString();\n item.updateDate = this.$moment(item.updatedAt).format(\"DD.MM.YYYY\");\n\n if (item.year && item.month) {\n this.setProductPackageProductFilter({\n year: item.year,\n month: item.month,\n inputVal: null\n });\n }\n }\n\n this.$modal.hide(this.modalId);\n this.$toast.success(\"Durum güncellendi.\");\n this.$emit(\"rowCopied\", {\n data: formatedData\n });\n });\n this.modal.isButtonClicked = false;\n }\n });\n break;\n\n case 8:\n this.copyResearchsItem(this.modal.payload).then(response => {\n if (response.error) {\n this.modal.isButtonClicked = false;\n return this.$toast.error(response.message);\n } else {\n this.getResearchList({\n Year: response.year,\n Month: response.month\n }).then(reply => {\n const servers = reply;\n\n for (let i = 0; i < servers.length; i++) {\n const item = servers[i];\n\n if (!item.application) {\n item.applicationName = \"Ana Ürün\";\n } else {\n item.applicationName = item.application.name;\n }\n\n item.updateDate = this.$moment(item.updatedAt).format(\"DD.MM.YYYY\");\n\n if (item.year && item.month) {\n this.setProductPackageResearchFilter({\n year: item.year,\n month: item.month,\n inputVal: null\n });\n }\n }\n\n this.$modal.hide(this.modalId);\n this.$toast.success(\"Durum güncellendi.\");\n this.$emit(\"rowCopied\", {\n data: servers\n });\n });\n this.modal.isButtonClicked = false;\n }\n });\n break;\n\n default:\n return Promise.reject(new Error(`Beklenmedik bir hata oluştu`));\n }\n }\n }\n\n },\n watch: {\n getManagementAlgoFilter: {\n handler: function (newVal) {\n if (this.headerParentId == 6) {\n this.filterDate = newVal.inputVal;\n }\n }\n },\n getManagementResearchFilter: {\n handler: function (newVal) {\n if (this.headerParentId == 8) {\n this.filterDate = newVal.inputVal;\n }\n }\n },\n getManagementProductFilter: {\n handler: function (newVal) {\n if (this.headerParentId == 7) {\n this.filterDate = newVal.inputVal;\n }\n }\n }\n },\n\n mounted() {\n if (this.headerParentId == 6) {\n this.filterDate = this.getManagementAlgoFilter ? new Date(this.getManagementAlgoFilter.year + \"/\" + this.getManagementAlgoFilter.month) : null;\n } else if (this.headerParentId == 7) {\n this.filterDate = this.getManagementProductFilter ? new Date(this.getManagementProductFilter.year + \"/\" + this.getManagementProductFilter.month) : null;\n } else if (this.headerParentId == 8) {\n this.filterDate = this.getManagementResearchFilter ? new Date(this.getManagementResearchFilter.year + \"/\" + this.getManagementResearchFilter.month) : null;\n }\n }\n\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/GenericTable.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");
59
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.error.cause.js */ \"./node_modules/core-js/modules/es.error.cause.js\");\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var vue2_datepicker__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue2-datepicker */ \"./node_modules/vue2-datepicker/index.esm.js\");\n/* harmony import */ var vue2_datepicker_index_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue2-datepicker/index.css */ \"./node_modules/vue2-datepicker/index.css\");\n/* harmony import */ var vue2_datepicker_index_css__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(vue2_datepicker_index_css__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"GanericTable\",\n props: {\n tableHeader: {\n type: Array,\n required: true\n },\n tableData: {\n type: Array,\n required: false\n },\n headerParentId: Number,\n onLoadFilterDate: Date,\n showRemoveBtn: Boolean,\n showAddBtn: Boolean,\n remove: Function,\n edit: Function,\n newItem: Function,\n label: String,\n haveSort: Boolean,\n changeSort: Function\n },\n\n data() {\n return {\n filterDate: this.onLoadFilterDate ? this.onLoadFilterDate : null,\n modalName: \"\",\n modalId: \"\",\n modal: {\n month: \"\",\n payload: {\n month: null,\n year: null,\n platformId: null,\n featureSettingId: null,\n applicationId: null,\n id: null\n },\n isButtonClicked: true\n }\n };\n },\n\n components: {\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseButton\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n DatePicker: vue2_datepicker__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n },\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_4__[\"mapGetters\"])([\"getProductManagementFilter\", \"getProductManagementAlgoFilter\", \"getProductManagementResearchFilter\", \"getProductManagementProductFilter\"]),\n\n getManagementFilter() {\n return this.getProductManagementFilter;\n },\n\n getManagementAlgoFilter() {\n return this.getProductManagementAlgoFilter;\n },\n\n getManagementResearchFilter() {\n return this.getProductManagementResearchFilter;\n },\n\n getManagementProductFilter() {\n return this.getProductManagementProductFilter;\n }\n\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_4__[\"mapActions\"])([\"copyFeatureSettingItem\", \"copyAlgorithmsItem\", \"copyResearchsItem\", \"getFeatureSettingList\", \"getResearchList\", \"getAllAlgorithmAndServers\", \"deActivateAlgorithmAndServer\", \"activateAlgorithmAndServer\", \"deActivateResearch\", \"activateResearch\", \"deActivateFeatureSetting\", \"activateFeatureSetting\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_4__[\"mapMutations\"])([\"setProductPackageAlgoFilter\", \"setProductPackageResearchFilter\", \"setProductPackageProductFilter\"]),\n\n changeSortByLocal(type, item, index, totalCount) {\n if (index === 0 && type === \"up\" || index === totalCount && type === \"down\") {\n return;\n }\n\n item.sortType = type;\n this.changeSort(item);\n },\n\n disabledBeforeTodayAndAfterAWeek(date) {\n const today = new Date();\n today.setHours(0, 0, 0, 0);\n today.setMonth(today.getMonth() - 1);\n return date < today; // || date > new Date(today.getTime() + 7 * 24 * 3600 * 1000)\n },\n\n monthToggle(type) {\n const inputVal = this.filterDate;\n this.$emit(\"dateToggle\", type, inputVal);\n },\n\n togglePackageActivation(id, type) {\n let args = {\n id: id\n };\n\n switch (this.headerParentId) {\n case 6:\n if (type === \"deactivate\") {\n this.deActivateAlgorithmAndServer(args).then(response => {\n var _response$data;\n\n if (response !== null && response !== void 0 && (_response$data = response.data) !== null && _response$data !== void 0 && _response$data.error) {\n this.$toast.error(response.data.message);\n } else {\n this.$emit(\"activationToggled\", true);\n this.$toast.warning(\"Paket İptal Edildi\");\n }\n });\n } else if (type === \"activate\") {\n this.activateAlgorithmAndServer(args).then(response => {\n var _response$data2;\n\n if (response !== null && response !== void 0 && (_response$data2 = response.data) !== null && _response$data2 !== void 0 && _response$data2.error) {\n this.$toast.error(response.data.message);\n } else {\n this.$emit(\"activationToggled\", true);\n this.$toast.success(\"Aktif Edildi\");\n }\n });\n }\n\n break;\n\n case 7:\n if (type === \"deactivate\") {\n this.deActivateFeatureSetting(args).then(response => {\n var _response$data3;\n\n if (response !== null && response !== void 0 && (_response$data3 = response.data) !== null && _response$data3 !== void 0 && _response$data3.error) {\n this.$toast.error(response.data.message);\n } else {\n this.$emit(\"activationToggled\", true);\n this.$toast.warning(\"Paket İptal Edildi\");\n }\n });\n } else if (type === \"activate\") {\n this.activateFeatureSetting(args).then(response => {\n var _response$data4;\n\n if (response !== null && response !== void 0 && (_response$data4 = response.data) !== null && _response$data4 !== void 0 && _response$data4.error) {\n this.$toast.error(response.message);\n } else {\n this.$emit(\"activationToggled\", true);\n this.$toast.success(\"Aktif Edildi\");\n }\n });\n }\n\n break;\n\n case 8:\n if (type === \"deactivate\") {\n this.deActivateResearch(args).then(response => {\n var _response$data5;\n\n if (response !== null && response !== void 0 && (_response$data5 = response.data) !== null && _response$data5 !== void 0 && _response$data5.error) {\n this.$toast.error(response.data.message);\n } else {\n this.$emit(\"activationToggled\", true);\n this.$toast.warning(\"Paket İptal Edildi\");\n }\n });\n } else if (type === \"activate\") {\n this.activateResearch(args).then(response => {\n var _response$data6;\n\n if (response !== null && response !== void 0 && (_response$data6 = response.data) !== null && _response$data6 !== void 0 && _response$data6.error) {\n this.$toast.error(response.data.message);\n } else {\n this.$emit(\"activationToggled\", true);\n this.$toast.success(\"Aktif Edildi\");\n }\n });\n }\n\n break;\n\n default:\n break;\n }\n },\n\n showModal(param, modalName, platformIdOrId, featureSettingId, applicationId) {\n this.modal.month = \"\";\n this.modalId = param;\n this.modalName = modalName;\n this.modal.payload.platformId = Number(platformIdOrId);\n this.modal.payload.featureSettingId = Number(featureSettingId);\n this.modal.payload.applicationId = Number(applicationId);\n this.modal.payload.id = Number(platformIdOrId);\n this.$nextTick(() => {\n this.$modal.show(this.modalId);\n });\n },\n\n closeModal(param) {\n this.$nextTick(() => {\n this.$modal.hide(param);\n this.modalId = \"\";\n this.modalName = \"\";\n this.modal.month = \"\";\n });\n },\n\n calenderChanged() {\n var _this$filterDate;\n\n this.$emit(\"filterDataAfterChange\", {\n id: this.headerParentId,\n value: (_this$filterDate = this.filterDate) === null || _this$filterDate === void 0 ? void 0 : _this$filterDate.toJSON()\n });\n },\n\n modalCalenderChanged() {\n const unFormatted = JSON.stringify(this.modal.month);\n let splitDateFromTime = unFormatted.split(\"T\")[0];\n let splitHyphen = splitDateFromTime.split(\"-\");\n let getYear = splitHyphen[0].replace('\"', \"\");\n let getMonth = splitHyphen[1];\n this.modal.payload.month = Number(getMonth) == 12 ? 1 : Number(getMonth) + 1;\n this.modal.payload.year = Number(getMonth) == 12 ? Number(getYear) + 1 : Number(getYear);\n this.modal.isButtonClicked = false;\n },\n\n copyItem() {\n if (this.modal.payload.month == null || this.modal.payload.platformId == null) {\n this.$toast.error(\"Değerler boş gönderilemez.\");\n } else {\n this.modal.isButtonClicked = true;\n\n switch (this.headerParentId) {\n case 6:\n this.copyAlgorithmsItem(this.modal.payload).then(response => {\n if (response.error) {\n this.modal.isButtonClicked = false;\n return this.$toast.error(response.message);\n } else {\n this.getAllAlgorithmAndServers({\n Year: response.year,\n Month: response.month\n }).then(reply => {\n const servers = reply;\n\n for (const item of servers) {\n var _item$application;\n\n item.applicationName = item === null || item === void 0 ? void 0 : (_item$application = item.application) === null || _item$application === void 0 ? void 0 : _item$application.name;\n item.updateDate = this.$moment(item.updatedAt).format(\"DD.MM.YYYY\");\n\n if (item.year && item.month) {\n this.setProductPackageAlgoFilter({\n year: item.year,\n month: item.month,\n inputVal: null\n });\n }\n }\n\n this.$modal.hide(this.modalId);\n this.$toast.success(\"Durum güncellendi.\");\n this.$emit(\"rowCopied\", {\n data: servers\n });\n });\n this.modal.isButtonClicked = false;\n }\n });\n break;\n\n case 7:\n this.copyFeatureSettingItem(this.modal.payload).then(response => {\n if (response.error) {\n this.modal.isButtonClicked = false;\n return this.$toast.error(response.message);\n } else {\n this.getFeatureSettingList({\n Year: response.year,\n Month: response.month\n }).then(reply => {\n const formatedData = reply;\n\n for (const item of formatedData) {\n item.platformName = item.platform.name;\n item.platformId = item.platform.id;\n const marketNames = [];\n\n for (const license of item.licences) {\n marketNames.push(license.name);\n }\n\n item.marketName = marketNames.join(\", \");\n item.updateDate = this.$moment(item.updatedAt).format(\"DD.MM.YYYY\");\n\n if (item.year && item.month) {\n this.setProductPackageProductFilter({\n year: item.year,\n month: item.month,\n inputVal: null\n });\n }\n }\n\n this.$modal.hide(this.modalId);\n this.$toast.success(\"Durum güncellendi.\");\n this.$emit(\"rowCopied\", {\n data: formatedData\n });\n });\n this.modal.isButtonClicked = false;\n }\n });\n break;\n\n case 8:\n this.copyResearchsItem(this.modal.payload).then(response => {\n if (response.error) {\n this.modal.isButtonClicked = false;\n return this.$toast.error(response.message);\n } else {\n this.getResearchList({\n Year: response.year,\n Month: response.month\n }).then(reply => {\n const servers = reply;\n\n for (const item of servers) {\n if (!item.application) {\n item.applicationName = \"Ana Ürün\";\n } else {\n item.applicationName = item.application.name;\n }\n\n item.updateDate = this.$moment(item.updatedAt).format(\"DD.MM.YYYY\");\n\n if (item.year && item.month) {\n this.setProductPackageResearchFilter({\n year: item.year,\n month: item.month,\n inputVal: null\n });\n }\n }\n\n this.$modal.hide(this.modalId);\n this.$toast.success(\"Durum güncellendi.\");\n this.$emit(\"rowCopied\", {\n data: servers\n });\n });\n this.modal.isButtonClicked = false;\n }\n });\n break;\n\n default:\n return Promise.reject(new Error(`Beklenmedik bir hata oluştu`));\n }\n }\n }\n\n },\n watch: {\n getManagementAlgoFilter: {\n handler: function (newVal) {\n if (this.headerParentId == 6) {\n this.filterDate = newVal.inputVal;\n }\n }\n },\n getManagementResearchFilter: {\n handler: function (newVal) {\n if (this.headerParentId == 8) {\n this.filterDate = newVal.inputVal;\n }\n }\n },\n getManagementProductFilter: {\n handler: function (newVal) {\n if (this.headerParentId == 7) {\n this.filterDate = newVal.inputVal;\n }\n }\n }\n },\n\n mounted() {\n if (this.headerParentId == 6) {\n this.filterDate = this.getManagementAlgoFilter ? new Date(this.getManagementAlgoFilter.year + \"/\" + this.getManagementAlgoFilter.month) : null;\n } else if (this.headerParentId == 7) {\n this.filterDate = this.getManagementProductFilter ? new Date(this.getManagementProductFilter.year + \"/\" + this.getManagementProductFilter.month) : null;\n } else if (this.headerParentId == 8) {\n this.filterDate = this.getManagementResearchFilter ? new Date(this.getManagementResearchFilter.year + \"/\" + this.getManagementResearchFilter.month) : null;\n }\n }\n\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/GenericTable.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");
60
60
 
61
61
  /***/ }),
62
62
 
@@ -116,7 +116,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _com
116
116
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
117
117
 
118
118
  "use strict";
119
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"./node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuelidate/lib/validators */ \"./node_modules/vuelidate/lib/validators/index.js\");\n/* harmony import */ var vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _components_productAndPackage_PhotoUpload__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/productAndPackage/PhotoUpload */ \"./src/components/productAndPackage/PhotoUpload.vue\");\n/* harmony import */ var _mixins_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../mixins/index */ \"./src/mixins/index.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"ProductDescribing\",\n mixins: [_mixins_index__WEBPACK_IMPORTED_MODULE_4__[\"default\"]],\n props: {\n clickedNewItemBtn: Boolean,\n fullData: [],\n selectboxItems: [],\n costMultiplier: Number\n },\n\n data() {\n return {\n licences: [],\n basePerspectiveModel: {\n perspectiveId: 0,\n cost: 0,\n price: 0,\n priceMultiplier: 0,\n fundAmount: 0,\n commissionAmount: 0,\n name: \"\"\n },\n baseVendorModel: {\n vendorId: 0,\n cost: 0,\n price: 0,\n priceMultiplier: 0,\n fundAmount: 0,\n commissionAmount: 0,\n name: \"\"\n },\n licenseBaseModel: {\n licenceId: 0,\n name: \"\",\n perspectives: [],\n vendors: []\n },\n formItems: {\n applicationTypeId: 0,\n applicationId: 0,\n name: \"\",\n platform: {\n platformId: 0,\n cost: 0,\n price: 0,\n priceMultiplier: 0,\n fundAmount: 0,\n commissionAmount: 0\n },\n licences: [],\n researchIds: [],\n researchs: [],\n foreignIndiceIds: [],\n algorithmsIds: [],\n foreignIndices: [],\n algorithmIds: [],\n algorithms: []\n },\n calculateOnLoad: false,\n platforms: [],\n applications: [],\n applicationTypes: [],\n markets: [],\n perspectives: [],\n vendors: [],\n algorithms: [],\n researchs: [],\n foreignIndices: [],\n siteSettings: {},\n loadStatusComplate: false,\n priceMultiplier: String(this.costMultiplier),\n isSaveClicked: false\n };\n },\n\n components: {\n BaseSelect: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseSelect\"],\n BaseInput: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseInput\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseButton\"],\n PhotoUpload: _components_productAndPackage_PhotoUpload__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n validations: {\n formItems: {\n applicationTypeId: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(1)\n },\n applicationId: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(1)\n },\n platform: {\n platformId: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(1)\n },\n cost: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(0)\n },\n price: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(0)\n },\n priceMultiplier: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(0)\n },\n fundAmount: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(0)\n },\n commissionAmount: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(0)\n }\n },\n licences: {\n $each: {\n licenceId: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(1)\n }\n }\n }\n }\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_5__[\"mapGetters\"])([\"getProductManagementProductFilter\"]),\n\n addRemovelicenseData(index = null) {\n if (index === null) {\n if (this.licenseBaseModel.perspectives.length === 0) {\n this.licenseBaseModel.perspectives.push(JSON.parse(JSON.stringify(this.basePerspectiveModel)));\n }\n\n if (this.licenseBaseModel.vendors.length === 0) {\n this.licenseBaseModel.vendors.push(JSON.parse(JSON.stringify(this.baseVendorModel)));\n }\n\n this.licences.push(JSON.parse(JSON.stringify(this.licenseBaseModel)));\n } else {\n this.licences.splice(index, 1);\n }\n },\n\n addRemovePerspective(index, subIndex = null) {\n if (subIndex === null) {\n this.licences[index].perspectives.push(JSON.parse(JSON.stringify(this.basePerspectiveModel)));\n } else {\n this.licences[index].perspectives.splice(subIndex, 1);\n }\n },\n\n addRemoveVendor(index, subIndex = null) {\n if (subIndex === null) {\n this.licences[index].vendors.push(JSON.parse(JSON.stringify(this.baseVendorModel)));\n } else {\n this.licences[index].vendors.splice(subIndex, 1);\n }\n },\n\n checkIsSaveClicked() {\n this.isSaveClicked = true;\n },\n\n /*formatDataForSelect(list) {\n list.unshift({ Key: 0, Value: \"Seçiniz\" });\n return list.map((data) => {\n return { code: data.Key, label: data.Value };\n });\n },*/\n calculate(index, subIndex, prop) {\n if (this.calculateOnLoad) {\n let item = {};\n\n if (index !== null && subIndex !== null) {\n item = this.formItems.licences[index][prop][subIndex];\n } else {\n item = this.formItems[prop];\n }\n\n item.commissionAmount = Math.round(Number(item.price) * Number(this.costMultiplier));\n let calculatedFundAmount = Number(item.commissionAmount) / 0.9 * 1200;\n item.fundAmount = this.integersToRound(calculatedFundAmount, String(item.commissionAmount).length);\n }\n },\n\n setName(index, subIndex, arrayName, idPropName) {\n setTimeout(() => {\n let item = {};\n\n if (subIndex !== null) {\n item = this.formItems.licences[index][arrayName][subIndex];\n } else {\n item = this.formItems.licences[index];\n }\n\n item.name = this.findName(arrayName, item[idPropName]);\n }, 10);\n },\n\n findName(arrayName, filterValue) {\n return this[arrayName].find(x => x.code === filterValue).label;\n },\n\n formatMultiselectValues(idPropName, sourceArray, definationArray, index) {\n setTimeout(() => {\n let selectedIds = index !== null ? this.formItems.licences[index][sourceArray] : this.formItems[sourceArray];\n const items = this[index !== null ? sourceArray : definationArray].filter(x => selectedIds.includes(x.code));\n const formatedList = items.map(x => {\n return {\n [idPropName]: x.code,\n name: x.label\n };\n });\n\n if (index !== null) {\n this.formItems.licences[index][definationArray] = formatedList;\n } else {\n this.formItems[definationArray] = formatedList;\n }\n }, 10);\n },\n\n formatArray(source, prop) {\n const newArray = [];\n source.forEach(element => {\n newArray.push(element[prop]);\n });\n return newArray;\n },\n\n formatDecimal(obj, array = null) {\n if (array !== null) {\n array.forEach(item => {\n item.commissionAmount = Number(item.commissionAmount);\n item.cost = Number(item.cost);\n item.fundAmount = Number(item.fundAmount);\n item.price = Number(item.price);\n item.priceMultiplier = this.priceMultiplier;\n });\n return array;\n } else {\n obj.commissionAmount = Number(obj.commissionAmount);\n obj.cost = Number(obj.cost);\n obj.fundAmount = Number(obj.fundAmount);\n obj.price = Number(obj.price);\n obj.priceMultiplier = this.priceMultiplier;\n return obj;\n }\n },\n\n setSelectedItem(item) {\n const selectedItem = JSON.parse(JSON.stringify(item));\n setTimeout(() => {\n this.formItems.applicationId = selectedItem.applicationId;\n this.formItems.applicationTypeId = selectedItem.applicationTypeId;\n this.formItems.name = selectedItem.name;\n this.formItems.platform = this.formatDecimal(selectedItem.platform);\n this.formItems.id = selectedItem.id;\n this.formItems.algorithmIds = this.formatArray(selectedItem.algorithms, \"algorithmId\");\n this.formItems.algorithms = selectedItem.algorithms;\n selectedItem.licences.forEach(element => {\n const perspectives = this.formatDecimal({}, element.perspectives);\n const vendors = this.formatDecimal({}, element.vendors);\n\n if (element.perspectives.length === 0) {\n perspectives.push(this.basePerspectiveModel);\n }\n\n if (element.vendors.length === 0) {\n vendors.push(this.baseVendorModel);\n }\n\n this.formItems.licences.push({\n id: element.id,\n licenceId: element.licenceId,\n name: element.name,\n perspectives: perspectives,\n vendors: vendors\n });\n });\n this.formItems.researchs = selectedItem.researchs;\n this.formItems.foreignIndices = selectedItem.foreignIndices;\n this.formItems.foreignIndiceIds = this.formatArray(selectedItem.foreignIndices, \"foreignIndiceId\");\n });\n },\n\n submitForm() {\n this.$v.formItems.$touch();\n\n if (this.$v.$invalid) {\n return;\n }\n\n const formDatas = JSON.parse(JSON.stringify(this.formItems));\n const formatedPlatform = this.formatDecimal(formDatas.platform);\n formDatas.licences.forEach(item => {\n item.perspectives = this.formatDecimal({}, item.perspectives);\n item.vendors = this.formatDecimal({}, item.vendors);\n\n for (let i = 0; i < item.perspectives.length; i++) {\n const perspective = item.perspectives[i];\n\n if (perspective.perspectiveId === 0) {\n item.perspectives.splice(i, 1);\n }\n }\n\n for (let i = 0; i < item.vendors.length; i++) {\n const vendor = item.vendors[i];\n\n if (vendor.vendorId === 0) {\n item.vendors.splice(i, 1);\n }\n }\n });\n const researchs = this.researchs.map(x => {\n return {\n researchId: x.code,\n name: x.label\n };\n });\n const params = {\n applicationTypeId: formDatas.applicationTypeId,\n applicationId: formDatas.applicationId,\n name: this.findName(\"applications\", formDatas.applicationId),\n platform: { ...formatedPlatform,\n name: this.findName(\"platforms\", formDatas.platform.platformId)\n },\n licences: [...formDatas.licences],\n algorithms: [...formDatas.algorithms],\n researchs: researchs,\n foreignIndices: [...formDatas.foreignIndices],\n year: this.getProductManagementFilters().year ? this.getProductManagementFilters().year : null,\n month: this.getProductManagementFilters().month ? this.getProductManagementFilters().month : null\n };\n const id = Number(this.$route.query.featureSettingId);\n params.id = 0;\n\n if (id > 0) {\n params.id = id;\n }\n\n if (formDatas.imageFileBase64 !== \"\") {\n params.imageFileBase64 = this.formItems.imageFileBase64;\n }\n\n this.$emit(\"submit-form\", params);\n },\n\n setPhotoForForm(base64) {\n this.formItems.imageFileBase64 = base64;\n }\n\n },\n computed: {\n getProductManagementFilters() {\n return this.getProductManagementProductFilter;\n }\n\n },\n watch: {\n fullData: {\n handler(val) {\n const id = Number(this.$route.query.featureSettingId);\n const platformId = Number(this.$route.query.platformId);\n\n if (id > 0) {\n const item = val.find(x => x.id === id && x.platformId === platformId);\n this.setSelectedItem(item);\n }\n },\n\n deep: true\n },\n selectboxItems: {\n handler(val) {\n const firstItem = {\n code: 0,\n label: \"Seçiniz\"\n };\n this.applications = val.find(x => x.name === \"Applications\").values;\n this.applications.unshift(firstItem);\n this.applicationTypes = val.find(x => x.name === \"ApplicationTypes\").values;\n this.applicationTypes.unshift(firstItem);\n this.platforms = val.find(x => x.name === \"Platforms\").values;\n this.platforms.unshift(firstItem);\n this.markets = val.find(x => x.name === \"Markets\").values;\n this.markets.unshift(firstItem);\n this.perspectives = val.find(x => x.name === \"Perspectives\").values;\n this.perspectives.unshift(firstItem);\n this.vendors = val.find(x => x.name === \"Vendors\").values;\n this.vendors.unshift(firstItem);\n this.researchs = val.find(x => x.name === \"Researchs\").values;\n setTimeout(() => {\n this.algorithms = val.find(x => x.name === \"AlgorithmAndServers\").values;\n this.algorithms.unshift(firstItem);\n this.foreignIndices = val.find(x => x.name === \"ForeignIndices\").values;\n }, 300);\n },\n\n deep: true\n },\n\n costMultiplier(val) {\n const priceMultiplier = Number(val);\n this.priceMultiplier = priceMultiplier;\n this.basePerspectiveModel.priceMultiplier = priceMultiplier;\n this.baseVendorModel.priceMultiplier = priceMultiplier;\n this.formItems.platform.priceMultiplier = priceMultiplier;\n const featureSettingId = Number(this.$route.query.featureSettingId);\n\n if (featureSettingId === 0) {\n this.addRemovelicenseData();\n }\n }\n\n },\n\n created() {\n this.calculateOnLoad = false;\n },\n\n mounted() {\n this.formItems.licences = this.licences;\n this.$nextTick(() => {\n setTimeout(() => {\n this.calculateOnLoad = true;\n }, 300);\n });\n }\n\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/ProductDescribingForm.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");
119
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"./node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuelidate/lib/validators */ \"./node_modules/vuelidate/lib/validators/index.js\");\n/* harmony import */ var vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _components_productAndPackage_PhotoUpload__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/productAndPackage/PhotoUpload */ \"./src/components/productAndPackage/PhotoUpload.vue\");\n/* harmony import */ var _mixins_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../mixins/index */ \"./src/mixins/index.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"ProductDescribing\",\n mixins: [_mixins_index__WEBPACK_IMPORTED_MODULE_4__[\"default\"]],\n props: {\n clickedNewItemBtn: Boolean,\n fullData: [],\n selectboxItems: [],\n costMultiplier: Number\n },\n\n data() {\n return {\n licences: [],\n basePerspectiveModel: {\n perspectiveId: 0,\n cost: 0,\n price: 0,\n priceMultiplier: 0,\n fundAmount: 0,\n commissionAmount: 0,\n name: \"\"\n },\n baseVendorModel: {\n vendorId: 0,\n cost: 0,\n price: 0,\n priceMultiplier: 0,\n fundAmount: 0,\n commissionAmount: 0,\n name: \"\"\n },\n licenseBaseModel: {\n licenceId: 0,\n name: \"\",\n perspectives: [],\n vendors: []\n },\n formItems: {\n applicationTypeId: 0,\n applicationId: 0,\n name: \"\",\n platform: {\n platformId: 0,\n cost: 0,\n price: 0,\n priceMultiplier: 0,\n fundAmount: 0,\n commissionAmount: 0\n },\n licences: [],\n researchIds: [],\n researchs: [],\n foreignIndiceIds: [],\n algorithmsIds: [],\n foreignIndices: [],\n algorithmIds: [],\n algorithms: []\n },\n calculateOnLoad: false,\n platforms: [],\n applications: [],\n applicationTypes: [],\n markets: [],\n perspectives: [],\n vendors: [],\n algorithms: [],\n researchs: [],\n foreignIndices: [],\n siteSettings: {},\n loadStatusComplate: false,\n priceMultiplier: String(this.costMultiplier),\n isSaveClicked: false\n };\n },\n\n components: {\n BaseSelect: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseSelect\"],\n BaseInput: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseInput\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseButton\"],\n PhotoUpload: _components_productAndPackage_PhotoUpload__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n validations: {\n formItems: {\n applicationTypeId: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(1)\n },\n applicationId: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(1)\n },\n platform: {\n platformId: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(1)\n },\n cost: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(0)\n },\n price: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(0)\n },\n priceMultiplier: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(0)\n },\n fundAmount: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(0)\n },\n commissionAmount: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(0)\n }\n },\n licences: {\n $each: {\n licenceId: {\n required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"required\"],\n minValue: Object(vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_2__[\"minValue\"])(1)\n }\n }\n }\n }\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_5__[\"mapGetters\"])([\"getProductManagementProductFilter\"]),\n\n addRemovelicenseData(index = null) {\n if (index === null) {\n if (this.licenseBaseModel.perspectives.length === 0) {\n this.licenseBaseModel.perspectives.push(JSON.parse(JSON.stringify(this.basePerspectiveModel)));\n }\n\n if (this.licenseBaseModel.vendors.length === 0) {\n this.licenseBaseModel.vendors.push(JSON.parse(JSON.stringify(this.baseVendorModel)));\n }\n\n this.licences.push(JSON.parse(JSON.stringify(this.licenseBaseModel)));\n } else {\n this.licences.splice(index, 1);\n }\n },\n\n addRemovePerspective(index, subIndex = null) {\n if (subIndex === null) {\n this.licences[index].perspectives.push(JSON.parse(JSON.stringify(this.basePerspectiveModel)));\n } else {\n this.licences[index].perspectives.splice(subIndex, 1);\n }\n },\n\n addRemoveVendor(index, subIndex = null) {\n if (subIndex === null) {\n this.licences[index].vendors.push(JSON.parse(JSON.stringify(this.baseVendorModel)));\n } else {\n this.licences[index].vendors.splice(subIndex, 1);\n }\n },\n\n checkIsSaveClicked() {\n this.isSaveClicked = true;\n },\n\n /*formatDataForSelect(list) {\n list.unshift({ Key: 0, Value: \"Seçiniz\" });\n return list.map((data) => {\n return { code: data.Key, label: data.Value };\n });\n },*/\n calculate(index, subIndex, prop) {\n if (this.calculateOnLoad) {\n let item = {};\n\n if (index !== null && subIndex !== null) {\n item = this.formItems.licences[index][prop][subIndex];\n } else {\n item = this.formItems[prop];\n }\n\n item.commissionAmount = Math.round(Number(item.price) * Number(this.costMultiplier));\n let calculatedFundAmount = Number(item.commissionAmount) / 0.9 * 1200;\n item.fundAmount = this.integersToRound(calculatedFundAmount, String(item.commissionAmount).length);\n }\n },\n\n setName(index, subIndex, arrayName, idPropName) {\n setTimeout(() => {\n let item = {};\n\n if (subIndex !== null) {\n item = this.formItems.licences[index][arrayName][subIndex];\n } else {\n item = this.formItems.licences[index];\n }\n\n item.name = this.findName(arrayName, item[idPropName]);\n }, 10);\n },\n\n findName(arrayName, filterValue) {\n return this[arrayName].find(x => x.code === filterValue).label;\n },\n\n formatMultiselectValues(idPropName, sourceArray, definationArray, index) {\n setTimeout(() => {\n let selectedIds = index !== null ? this.formItems.licences[index][sourceArray] : this.formItems[sourceArray];\n const items = this[index !== null ? sourceArray : definationArray].filter(x => selectedIds.includes(x.code));\n const formatedList = items.map(x => {\n return {\n [idPropName]: x.code,\n name: x.label\n };\n });\n\n if (index !== null) {\n this.formItems.licences[index][definationArray] = formatedList;\n } else {\n this.formItems[definationArray] = formatedList;\n }\n }, 10);\n },\n\n formatArray(source, prop) {\n const newArray = [];\n source.forEach(element => {\n newArray.push(element[prop]);\n });\n return newArray;\n },\n\n formatDecimal(obj, array = null) {\n if (array !== null) {\n array.forEach(item => {\n item.commissionAmount = Number(item.commissionAmount);\n item.cost = Number(item.cost);\n item.fundAmount = Number(item.fundAmount);\n item.price = Number(item.price);\n item.priceMultiplier = this.priceMultiplier;\n });\n return array;\n } else {\n obj.commissionAmount = Number(obj.commissionAmount);\n obj.cost = Number(obj.cost);\n obj.fundAmount = Number(obj.fundAmount);\n obj.price = Number(obj.price);\n obj.priceMultiplier = this.priceMultiplier;\n return obj;\n }\n },\n\n setSelectedItem(item) {\n const selectedItem = JSON.parse(JSON.stringify(item));\n setTimeout(() => {\n this.formItems.applicationId = selectedItem.applicationId;\n this.formItems.applicationTypeId = selectedItem.applicationTypeId;\n this.formItems.name = selectedItem.name;\n this.formItems.platform = this.formatDecimal(selectedItem.platform);\n this.formItems.id = selectedItem.id;\n this.formItems.algorithmIds = this.formatArray(selectedItem.algorithms, \"algorithmId\");\n this.formItems.algorithms = selectedItem.algorithms;\n selectedItem.licences.forEach(element => {\n const perspectives = this.formatDecimal({}, element.perspectives);\n const vendors = this.formatDecimal({}, element.vendors);\n\n if (element.perspectives.length === 0) {\n perspectives.push(this.basePerspectiveModel);\n }\n\n if (element.vendors.length === 0) {\n vendors.push(this.baseVendorModel);\n }\n\n this.formItems.licences.push({\n id: element.id,\n licenceId: element.licenceId,\n name: element.name,\n perspectives: perspectives,\n vendors: vendors\n });\n });\n this.formItems.researchs = selectedItem.researchs;\n this.formItems.foreignIndices = selectedItem.foreignIndices;\n this.formItems.foreignIndiceIds = this.formatArray(selectedItem.foreignIndices, \"foreignIndiceId\");\n });\n },\n\n submitForm() {\n this.$v.formItems.$touch();\n\n if (this.$v.$invalid) {\n return;\n }\n\n const formDatas = JSON.parse(JSON.stringify(this.formItems));\n const formatedPlatform = this.formatDecimal(formDatas.platform);\n formDatas.licences.forEach(item => {\n item.perspectives = this.formatDecimal({}, item.perspectives);\n item.vendors = this.formatDecimal({}, item.vendors);\n\n for (let i = 0; i < item.perspectives.length; i++) {\n const perspective = item.perspectives[i];\n\n if (perspective.perspectiveId === 0) {\n item.perspectives.splice(i, 1);\n }\n }\n\n for (let i = 0; i < item.vendors.length; i++) {\n const vendor = item.vendors[i];\n\n if (vendor.vendorId === 0) {\n item.vendors.splice(i, 1);\n }\n }\n });\n const researchs = this.researchs.map(x => {\n return {\n researchId: x.code,\n name: x.label\n };\n });\n const params = {\n applicationTypeId: formDatas.applicationTypeId,\n applicationId: formDatas.applicationId,\n name: this.findName(\"applications\", formDatas.applicationId),\n platform: { ...formatedPlatform,\n name: this.findName(\"platforms\", formDatas.platform.platformId)\n },\n licences: [...formDatas.licences],\n algorithms: [...formDatas.algorithms],\n researchs: researchs,\n foreignIndices: [...formDatas.foreignIndices],\n year: this.getProductManagementFilters().year ? this.getProductManagementFilters().year : null,\n month: this.getProductManagementFilters().month ? this.getProductManagementFilters().month : null\n };\n const id = Number(this.$route.query.featureSettingId);\n params.id = 0;\n\n if (id > 0) {\n params.id = id;\n }\n\n if (formDatas.imageFileBase64 !== \"\") {\n params.imageFileBase64 = this.formItems.imageFileBase64;\n }\n\n this.$emit(\"submit-form\", params);\n },\n\n setPhotoForForm(base64) {\n this.formItems.imageFileBase64 = base64;\n }\n\n },\n computed: {\n getProductManagementFilters() {\n return this.getProductManagementProductFilter;\n }\n\n },\n watch: {\n fullData: {\n handler(val) {\n const id = Number(this.$route.query.featureSettingId);\n const platformId = Number(this.$route.query.platformId);\n\n if (id > 0) {\n const item = val.find(x => x.id === id && x.platformId === platformId);\n this.setSelectedItem(item);\n }\n },\n\n deep: true\n },\n selectboxItems: {\n handler(val) {\n const firstItem = {\n code: 0,\n label: \"Seçiniz\"\n };\n this.applications = val.find(x => x.name === \"Applications\").values;\n this.applications.unshift(firstItem);\n this.applicationTypes = val.find(x => x.name === \"ApplicationTypes\").values;\n this.applicationTypes.unshift(firstItem);\n this.platforms = val.find(x => x.name === \"Platforms\").values;\n this.platforms.unshift(firstItem);\n this.markets = val.find(x => x.name === \"Markets\").values;\n this.markets.unshift(firstItem);\n this.perspectives = val.find(x => x.name === \"Perspectives\").values;\n this.perspectives.unshift(firstItem);\n this.vendors = val.find(x => x.name === \"Vendors\").values;\n this.vendors.unshift(firstItem);\n this.researchs = val.find(x => x.name === \"Researchs\").values;\n setTimeout(() => {\n this.algorithms = val.find(x => x.name === \"AlgorithmAndServers\").values;\n this.algorithms.unshift(firstItem);\n this.foreignIndices = val.find(x => x.name === \"ForeignIndices\").values;\n }, 300);\n },\n\n deep: true\n },\n\n costMultiplier(val) {\n const priceMultiplier = Number(val);\n this.priceMultiplier = priceMultiplier;\n this.basePerspectiveModel.priceMultiplier = priceMultiplier;\n this.baseVendorModel.priceMultiplier = priceMultiplier;\n this.formItems.platform.priceMultiplier = priceMultiplier;\n const featureSettingId = Number(this.$route.query.featureSettingId);\n\n if (featureSettingId === 0) {\n this.addRemovelicenseData();\n }\n }\n\n },\n\n created() {\n this.calculateOnLoad = false;\n },\n\n mounted() {\n this.formItems.licences = this.licences;\n this.$nextTick(() => {\n setTimeout(() => {\n this.calculateOnLoad = true;\n }, 300);\n });\n }\n\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/ProductDescribingForm.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");
120
120
 
121
121
  /***/ }),
122
122
 
@@ -152,7 +152,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _com
152
152
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
153
153
 
154
154
  "use strict";
155
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"./node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components_productAndPackage_GenericTable_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/productAndPackage/GenericTable.vue */ \"./src/components/productAndPackage/GenericTable.vue\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _components_productAndPackage_VendorDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../components/productAndPackage/VendorDefinitionForm.vue */ \"./src/components/productAndPackage/VendorDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_DataGroupDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../components/productAndPackage/DataGroupDefinitionForm.vue */ \"./src/components/productAndPackage/DataGroupDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_PlatformDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../components/productAndPackage/PlatformDefinitionForm.vue */ \"./src/components/productAndPackage/PlatformDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_AlgoDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../components/productAndPackage/AlgoDefinitionForm.vue */ \"./src/components/productAndPackage/AlgoDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_PerspectiveDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../components/productAndPackage/PerspectiveDefinitionForm.vue */ \"./src/components/productAndPackage/PerspectiveDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_AkdDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../components/productAndPackage/AkdDefinitionForm.vue */ \"./src/components/productAndPackage/AkdDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_MarketDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../components/productAndPackage/MarketDefinitionForm.vue */ \"./src/components/productAndPackage/MarketDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_ProductDescribingForm__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/components/productAndPackage/ProductDescribingForm */ \"./src/components/productAndPackage/ProductDescribingForm.vue\");\n/* harmony import */ var _components_productAndPackage_ResearchDefinitionForm__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/components/productAndPackage/ResearchDefinitionForm */ \"./src/components/productAndPackage/ResearchDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_ForeignIndicesForm__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/components/productAndPackage/ForeignIndicesForm */ \"./src/components/productAndPackage/ForeignIndicesForm.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"ProductAndPackageManagement\",\n\n data() {\n return {\n selectedDeleteName: \"\",\n deleteInfoText: \"İlgili kaydı silmek istediğinizden emin misiniz?\",\n selectedId: 7,\n selectedData: [],\n application: {},\n selectedDataApplication: {},\n applicationId: 0,\n researchId: 0,\n selectedDataApplicationId: 0,\n selectedforeignIndiceId: 0,\n selectedDataResearchId: 0,\n selectedDataId: 7,\n selectedDataName: \"\",\n selectedDataDepth: 0,\n selectedShortContent: \"\",\n selectedDescription: \"\",\n selectedPriceType: 1,\n order: 7,\n selectedDataOrder: 7,\n isAgreementMandatory: false,\n isHighLevel: false,\n isExternalPurchasable: false,\n isConnectMainProduct: false,\n selectedDataPrice: 850,\n selectedDataPriceCostMultiplier: 0,\n selectedDataScreenPrice: 0,\n selectedDataCost: 0,\n selectedDataFundAmount: 1880000,\n selectedDataCommissionAmount: 1410,\n selectedDataVdProducrtWarnings: [\"\"],\n additionalWarnings: [\"\"],\n selectedTab: 1,\n selectedLabel: \"Veri Grubu\",\n tableHeader: [],\n showRemoveBtn: true,\n showAddBtn: true,\n clickedNewItemBtn: false,\n data: [],\n onLoadFilterDateValue: null,\n tabMenuItems: [{\n id: 1,\n name: \"VERİ GRUBU İŞLEMLERİ\",\n label: \"Veri Grubu\",\n actionNames: [\"getAllApplicationTypes\", \"updateApplicationType\", \"createApplicationType\", \"deleteApplicationType\", \"changeApplicationTypeOrderDecrease\", \"changeApplicationTypeOrderIncrease\"],\n tableHeaderProp: \"dataGroupHeader\",\n formName: \"DataGroupDefinition\",\n showRemoveBtn: true,\n showAddBtn: true,\n reqParams: null,\n haveSort: true\n }, {\n id: 2,\n name: \"İŞLEM YERİ İŞLEMLERİ\",\n label: \"İşlem Yeri\",\n actionNames: [\"getAllPlatforms\", \"updatePlatform\", \"createPlatform\", \"deletePlatform\", \"changePlatformOrderDecrease\", \"changePlatformOrderIncrease\"],\n tableHeaderProp: \"platformHeader\",\n formName: \"PlatformDefinition\",\n showRemoveBtn: true,\n showAddBtn: true,\n reqParams: null,\n haveSort: true\n }, {\n id: 3,\n name: \"DERİNLİK İŞLEMLERİ\",\n label: \"Derinlik\",\n actionNames: [\"getAllPerspectives\", \"updatePerspective\", \"createPerspective\", \"deletePerspective\", \"changePerspectiveOrderDecrease\", \"changePerspectiveOrderIncrease\"],\n tableHeaderProp: \"perspectiveHeader\",\n formName: \"PerspectiveDefinition\",\n showRemoveBtn: true,\n showAddBtn: true,\n reqParams: null,\n haveSort: true\n }, {\n id: 4,\n name: \"AKD İŞLEMLERİ\",\n label: \"AKD\",\n actionNames: [\"getAllAKDs\", \"updateAKD\", \"createAKD\", \"deleteAKD\", \"changeAkdOrderDecrease\", \"changeAkdOrderIncrease\"],\n tableHeaderProp: \"akdHeader\",\n formName: \"AkdDefinition\",\n showRemoveBtn: true,\n showAddBtn: true,\n reqParams: null,\n haveSort: true\n }, {\n id: 5,\n name: \"PİYASA İŞLEMLERİ\",\n label: \"Piyasa\",\n actionNames: [\"getAllMarkets\", \"updateMarket\", \"createMarket\", \"deleteMarket\", \"changeMarketOrderDecrease\", \"changeMarketOrderIncrease\"],\n tableHeaderProp: \"marketHeader\",\n formName: \"MarketDefinition\",\n showRemoveBtn: true,\n showAddBtn: true,\n reqParams: null,\n haveSort: true\n }, {\n id: 6,\n name: \"ALGORİTMALAR-DİĞER İŞLEMLER\",\n label: \"Algoritmalar-Diğer İşlemler\",\n actionNames: [\"getAllAlgorithmAndServers\", \"updateAlgorithmAndServer\", \"createAlgorithmAndServer\", \"deleteAlgorithmAndServer\", \"changeAlgorithmAndServerOrderDecrease\", \"changeAlgorithmAndServerOrderIncrease\"],\n tableHeaderProp: \"algoHeader\",\n formName: \"AlgoDefinition\",\n showRemoveBtn: true,\n showAddBtn: false,\n reqParams: {\n year: null,\n month: null\n },\n haveSort: true\n }, {\n id: 8,\n name: \"ARAŞTIRMA VE DİĞER UYGULAMALAR\",\n label: \"Araştırma ve Diğer Uygulama\",\n actionNames: [\"getResearchList\", \"updateResearch\", \"createResearch\", \"deleteResearch\", \"changeResearchOrderDecrease\", \"changeResearchOrderIncrease\"],\n tableHeaderProp: \"algoHeader\",\n formName: \"ResearchDefinitionForm\",\n showRemoveBtn: true,\n showAddBtn: false,\n reqParams: {\n year: null,\n month: null\n },\n haveSort: true\n }, // {\n // id: 9,\n // name: \"YABANCI ENDEKSLER\",\n // label: \"Yabancı Endeksler\",\n // actionNames: [\n // \"getForeignList\",\n // \"updateForeign\",\n // \"createForeign\",\n // \"deleteForeign\",\n // \"changeResearchOrderDecrease\",\n // \"changeResearchOrderIncrease\",\n // ],\n // tableHeaderProp: \"foreignHeader\",\n // formName: \"ForeignIndicesForm\",\n // showRemoveBtn: true,\n // showAddBtn: true,\n // reqParams: null,\n // haveSort: false,\n // },\n {\n id: 7,\n name: \"ÜRÜN İŞLEMLERİ\",\n label: \"Ürün İşlemi\",\n actionNames: [\"getFeatureSettingList\", \"updateFeatureSetting\", \"createFeatureSetting\", \"deleteFeatureSetting\"],\n tableHeaderProp: \"featureSettingsHeader\",\n formName: \"ProductDescribingForm\",\n showRemoveBtn: true,\n showAddBtn: false,\n reqParams: {\n applicationId: 0,\n platformId: 0,\n marketId: 0,\n perspectiveIds: [],\n vendorIds: [],\n researchIds: [],\n algorithmIds: [],\n foreignIndiceIds: [],\n cost: 0,\n screenPrice: 0,\n price: 0,\n priceType: 0,\n fundAmount: 0,\n commissionAmount: 0,\n year: null,\n month: null\n }\n }],\n vendorHeader: [{\n title: \"Sıra No\",\n column: \"order\"\n }, {\n title: \"Ad\",\n column: \"name\"\n }, {\n title: \"Entegrasyon Türü\",\n column: \"integrationType\"\n }, {\n title: \"Tarih\",\n column: \"date\"\n }, {\n title: \"Veri Grubu\",\n column: \"dataGroup\"\n }, {\n title: \"Son İşlem Yapan\",\n column: \"lastModifier\"\n }],\n platformHeader: [{\n title: \"Adı\",\n column: \"name\"\n }, {\n title: \"Kısa Tanım\",\n column: \"shortContent\"\n }, {\n title: \"Açıklama\",\n column: \"description\"\n }],\n perspectiveHeader: [{\n title: \"Adı\",\n column: \"name\"\n }, {\n title: \"Kısa Tanım\",\n column: \"shortContent\"\n }, {\n title: \"Açıklama\",\n column: \"description\"\n }],\n akdHeader: [{\n title: \"Adı\",\n column: \"name\"\n }, {\n title: \"Kısa Tanım\",\n column: \"shortContent\"\n }, {\n title: \"Açıklama\",\n column: \"description\"\n }],\n marketHeader: [{\n title: \"Adı\",\n column: \"name\"\n }, {\n title: \"Kısa Tanım\",\n column: \"shortContent\"\n }, {\n title: \"Açıklama\",\n column: \"description\"\n }],\n algoHeader: [{\n title: \"İşlem Platformu\",\n column: \"applicationName\"\n }, {\n title: \"Ürün Adı\",\n column: \"name\"\n }, {\n title: \"Fiyat\",\n column: \"price\"\n }, {\n title: \"Tarih\",\n column: \"updateDate\"\n }],\n foreignHeader: [{\n title: \"İşlem Platformu\",\n column: \"applicationName\"\n }, {\n title: \"Ürün Adı\",\n column: \"name\"\n }, {\n title: \"Fiyat\",\n column: \"price\"\n }, {\n title: \"Fiyat Tipi\",\n column: \"priceType\"\n }],\n dataGroupHeader: [\n /* { title: \"Sıra No\", column: \"order\" },*/\n {\n title: \"Ad\",\n column: \"name\"\n }, {\n title: \"Kısa Tanım\",\n column: \"shortContent\"\n },\n /*{ title: \"Şablon\", column: \"template\" },*/\n {\n title: \"Tarih\",\n column: \"date\"\n }, {\n title: \"Son İşlem Yapan\",\n column: \"lastModifier\"\n }],\n featureSettingsHeader: [{\n title: \"Veri Grubu\",\n column: \"applicationTypeName\"\n }, {\n title: \"İşlem Platformu\",\n column: \"name\"\n }, {\n title: \"Platform\",\n column: \"platformName\"\n }, {\n title: \"Piyasa\",\n column: \"marketName\"\n }, {\n title: \"Tarih\",\n column: \"updateDate\"\n }],\n selectedMenuItem: null,\n menuItemIndex: 0,\n filterAttributes: [],\n costMultiplier: 2.5,\n formReRender: false\n };\n },\n\n components: {\n GenericTable: _components_productAndPackage_GenericTable_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_3__[\"BaseButton\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_3__[\"BaseIcon\"],\n VendorDefination: _components_productAndPackage_VendorDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n DataGroupDefinition: _components_productAndPackage_DataGroupDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n PlatformDefinition: _components_productAndPackage_PlatformDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n PerspectiveDefinition: _components_productAndPackage_PerspectiveDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n AkdDefinition: _components_productAndPackage_AkdDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n MarketDefinition: _components_productAndPackage_MarketDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n AlgoDefinition: _components_productAndPackage_AlgoDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n ProductDescribingForm: _components_productAndPackage_ProductDescribingForm__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n ResearchDefinitionForm: _components_productAndPackage_ResearchDefinitionForm__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n ForeignIndicesForm: _components_productAndPackage_ForeignIndicesForm__WEBPACK_IMPORTED_MODULE_13__[\"default\"]\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_1__[\"mapActions\"])([\"getAllApplicationTypes\", \"updateApplicationType\", \"createApplicationType\", \"deleteApplicationType\", \"getAllPlatforms\", \"updatePlatform\", \"createPlatform\", \"deletePlatform\", \"getAllPerspectives\", \"updatePerspective\", \"createPerspective\", \"deletePerspective\", \"getAllAKDs\", \"updateAKD\", \"createAKD\", \"deleteAKD\", \"getAllMarkets\", \"updateMarket\", \"createMarket\", \"deleteMarket\", \"getAllAlgorithmAndServers\", \"updateAlgorithmAndServer\", \"createAlgorithmAndServer\", \"deleteAlgorithmAndServer\", \"getFeatureSettingList\", \"fillFilter\", \"createFeatureSetting\", \"getSiteSettings\", \"updateFeatureSetting\", \"deleteFeatureSetting\", \"getResearchList\", \"updateResearch\", \"createResearch\", \"deleteResearch\", \"changeApplicationTypeOrderIncrease\", \"changeApplicationTypeOrderDecrease\", \"changePlatformOrderDecrease\", \"changePlatformOrderIncrease\", \"changeAlgorithmAndServerOrderDecrease\", \"changeAlgorithmAndServerOrderIncrease\", \"changePerspectiveOrderDecrease\", \"changePerspectiveOrderIncrease\", \"changeMarketOrderDecrease\", \"changeMarketOrderIncrease\", \"changeAkdOrderDecrease\", \"changeAkdOrderIncrease\", \"getForeignList\", \"updateForeign\", \"createForeign\", \"deleteForeign\", \"changeResearchOrderDecrease\", \"changeResearchOrderIncrease\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_1__[\"mapMutations\"])([\"setProductPackageFilter\", \"setProductPackageAlgoFilter\", \"setProductPackageResearchFilter\", \"setProductPackageProductFilter\"]),\n\n updateInfoMessage() {\n this.$toast.success(\"İlgili Kayıt Düzenlendi\");\n this.closeModal();\n this.changeTab(this.selectedMenuItem);\n },\n\n createInfoMessage() {\n this.$toast.success(\"İlgili Kayıt Eklendi\");\n this.closeModal();\n this.changeTab(this.selectedMenuItem);\n },\n\n deleteSuccessMessage() {\n this.$toast.success(\"İlgili Kayıt Silindi\");\n this.$modal.hide(\"deleteModal\");\n this.changeTab(this.selectedMenuItem);\n },\n\n deleteErrorMessage(param) {\n this.$modal.hide(\"deleteModal\");\n\n if (param != null) {\n this.$toast.error(param);\n } else {\n this.$toast.error(\"Bir Hata oluştu\");\n }\n\n this.changeTab(this.selectedMenuItem);\n },\n\n submitform(params) {\n const actionName = this.clickedNewItemBtn ? this.selectedMenuItem.actionNames[2] : this.selectedMenuItem.actionNames[1];\n this[actionName](params).then(response => {\n if (response.error) {\n if (response.result) {\n this.$toast.error(response.result.data[0].errors[0]);\n } else {\n this.$toast.error(response.message);\n }\n } else {\n if (this.clickedNewItemBtn) {\n this.createInfoMessage();\n } else {\n this.updateInfoMessage();\n }\n\n this.$router.push({\n query: {\n item: this.$route.query.item\n }\n });\n }\n });\n this.$modal.hide(\"modal\");\n },\n\n isRowCopied(response) {\n this.data = response.data;\n },\n\n activationCheck(param) {\n if (param) {\n this.getData(this.selectedMenuItem);\n }\n },\n\n dateChecker(param) {\n const isNext = param === \"next\";\n let currentYear;\n let currentMonth;\n\n if (this.selectedMenuItem.id == 6) {\n currentYear = this.getManagementAlgoFilter.year;\n currentMonth = this.getManagementAlgoFilter.month;\n } else if (this.selectedMenuItem.id == 7) {\n currentYear = this.getManagementProductFilter.year;\n currentMonth = this.getManagementProductFilter.month;\n } else if (this.selectedMenuItem.id == 8) {\n currentYear = this.getManagementResearchFilter.year;\n currentMonth = this.getManagementResearchFilter.month;\n }\n\n const nextYear = isNext ? currentMonth > 11 ? currentYear + 1 : currentYear : currentMonth < 2 ? currentYear - 1 : currentYear;\n const nextMonth = isNext ? currentMonth > 11 ? 1 : currentMonth + 1 : currentMonth < 2 ? 12 : currentMonth - 1;\n\n if (this.selectedMenuItem.id == 6) {\n this.setProductPackageAlgoFilter({\n year: nextYear,\n month: nextMonth,\n inputVal: new Date(nextYear + \"/\" + nextMonth)\n });\n } else if (this.selectedMenuItem.id == 7) {\n this.setProductPackageProductFilter({\n year: nextYear,\n month: nextMonth,\n inputVal: new Date(nextYear + \"/\" + nextMonth)\n });\n } else if (this.selectedMenuItem.id == 8) {\n this.setProductPackageResearchFilter({\n year: nextYear,\n month: nextMonth,\n inputVal: new Date(nextYear + \"/\" + nextMonth)\n });\n }\n\n if ([6, 7, 8].includes(this.selectedMenuItem.id)) {\n this.selectedMenuItem.reqParams.year = nextYear;\n this.selectedMenuItem.reqParams.month = nextMonth;\n this.getData(this.selectedMenuItem);\n }\n },\n\n selectedTabItem(id) {\n this.selectedMenuItem = this.tabMenuItems.find(x => x.id === id);\n return this.selectedMenuItem;\n },\n\n async changeTab(item) {\n if (item.id === 6) {\n item.reqParams.year = this.getManagementAlgoFilter.year;\n item.reqParams.month = this.getManagementAlgoFilter.month;\n this.onLoadFilterDateValue = this.getManagementAlgoFilter.inputVal;\n } else if (item.id === 8) {\n item.reqParams.year = this.getManagementResearchFilter.year;\n item.reqParams.month = this.getManagementResearchFilter.month;\n this.onLoadFilterDateValue = this.getManagementResearchFilter.inputVal;\n } else if (item.id == 7 && this.clickedNewItemBtn) {\n this.setProductPackageProductFilter({\n year: null,\n month: null,\n inputVal: null\n });\n item.reqParams.year = null;\n item.reqParams.month = null;\n this.onLoadFilterDateValue = null;\n } else if (item.id == 7 && !this.clickedNewItemBtn) {\n this.setProductPackageProductFilter({\n year: this.getManagementProductFilter.year,\n month: this.getManagementProductFilter.month,\n inputVal: this.getManagementProductFilter.inputVal\n });\n item.reqParams.year = this.getManagementProductFilter.year;\n item.reqParams.month = this.getManagementProductFilter.month;\n this.onLoadFilterDateValue = this.getManagementProductFilter.inputVal;\n }\n\n await this.getData(item);\n },\n\n async getData(item) {\n this.formRender = false;\n this.selectedTab = item.id;\n this.selectedLabel = item.label;\n this.showRemoveBtn = item.showRemoveBtn;\n this.showAddBtn = item.showAddBtn;\n await this[item.actionNames[0]](item.reqParams).then(response => {\n if (item.id === 6) {\n const servers = response;\n\n for (let i = 0; i < servers.length; i++) {\n const item = servers[i];\n item.applicationName = item.application.name;\n item.updateDate = this.$moment(item.updatedAt).format(\"DD.MM.YYYY\");\n\n if (item.year && item.month) {\n this.setProductPackageAlgoFilter({\n year: item.year,\n month: item.month,\n inputVal: null\n });\n }\n }\n\n this.data = servers;\n } else if (item.id === 7) {\n const formatedData = response;\n\n for (let i = 0; i < formatedData.length; i++) {\n const item = formatedData[i];\n item.platformName = item.platform.name;\n item.platformId = item.platform.id;\n const marketNames = [];\n\n for (let f = 0; f < item.licences.length; f++) {\n marketNames.push(item.licences[f].name);\n }\n\n item.marketName = marketNames.toString();\n item.updateDate = this.$moment(item.updatedAt).format(\"DD.MM.YYYY\");\n\n if (item.year && item.month) {\n this.setProductPackageProductFilter({\n year: item.year,\n month: item.month,\n inputVal: null\n });\n }\n }\n\n this.data = formatedData;\n } else if (item.id === 8) {\n const servers = response;\n\n for (let i = 0; i < servers.length; i++) {\n const item = servers[i];\n\n if (!item.application) {\n item.applicationName = \"Ana Ürün\";\n } else {\n item.applicationName = item.application.name;\n }\n\n item.updateDate = this.$moment(item.updatedAt).format(\"DD.MM.YYYY\");\n\n if (item.year && item.month) {\n this.setProductPackageResearchFilter({\n year: item.year,\n month: item.month,\n inputVal: null\n });\n }\n }\n\n this.data = servers;\n } else {\n this.data = response;\n }\n });\n\n if (item.tableHeaderProp !== \"\") {\n this.tableHeader = this[item.tableHeaderProp];\n } else {\n this.tableHeader = [];\n }\n },\n\n parseDateFromString(dateString) {\n const [year, month, day] = dateString.split(\"T\")[0].split(\"-\");\n return {\n year: Number(year),\n month: Number(month),\n day: Number(day)\n };\n },\n\n getNextMonth({\n year,\n month\n }) {\n if (month === 12) {\n return {\n year: year + 1,\n month: 1\n };\n } else {\n return {\n year,\n month: month + 1\n };\n }\n },\n\n filterDataChanged(args) {\n const item = this.selectedTabItem(this.selectedTab);\n const hasFilterDate = args.value;\n const dateObj = hasFilterDate ? this.parseDateFromString(args.value) : null;\n const setMonthOptions = this.getNextMonth(dateObj);\n const filterMethods = {\n 6: this.setProductPackageAlgoFilter,\n 7: this.setProductPackageProductFilter,\n 8: this.setProductPackageResearchFilter\n };\n\n if (args.id in filterMethods) {\n item.reqParams.year = setMonthOptions.year;\n item.reqParams.month = setMonthOptions.month;\n const filterMethod = filterMethods[args.id];\n filterMethod({\n year: setMonthOptions.year,\n month: setMonthOptions.month,\n inputVal: args.inputVal\n });\n this.getData(item);\n }\n },\n\n newItem() {\n this.formReRender = false;\n this.clickedNewItemBtn = true;\n\n if (this.$route.query.item != \"7\") {\n this.selectedData = this.selectedTabItem(this.selectedTab);\n this.selectedDataId = null;\n this.selectedDataName = \"\";\n this.selectedDataDepth = null;\n this.selectedDataOrder = null;\n this.applicationId = null;\n this.selectedDataApplicationId = null;\n this.selectedDataResearchId = null;\n this.selectedforeignIndiceId = null;\n this.selectedShortContent = \"\";\n this.selectedDescription = \"\";\n this.isAgreementMandatory = false;\n this.isHighLevel = false;\n this.isExternalPurchasable = false;\n this.isConnectMainProduct = false;\n this.selectedDataPrice = null;\n this.selectedDataPriceCostMultiplier = this.costMultiplier;\n this.selectedDataScreenPrice = null;\n this.selectedDataCost = null;\n this.selectedDataFundAmount = null;\n this.selectedDataCommissionAmount = null;\n this.selectedDataVdProducrtWarnings = [];\n this.additionalWarnings = [];\n setTimeout(() => {\n this.formReRender = true;\n }, 10);\n this.openModal();\n } else {\n this.$router.push({\n query: {\n item: this.$route.query.item,\n featureSettingId: 0\n }\n });\n }\n },\n\n edit(item) {\n this.formReRender = false;\n this.clickedNewItemBtn = false;\n\n if (this.$route.query.item != \"7\") {\n this.clickedNewItemBtn = false;\n this.selectedData = this.selectedTabItem(this.selectedTab);\n this.applicationId = item.applicationId;\n this.researchId = item.researchId;\n this.selectedDataApplicationId = item.applicationId;\n this.selectedforeignIndiceId = item.foreignIndiceId;\n this.selectedDataResearchId = item.researchId;\n this.selectedDataId = item.id;\n this.selectedDataName = item.name;\n this.selectedDataDepth = item.depth ? item.depth : 0;\n this.selectedDataOrder = item.order;\n this.selectedShortContent = item.shortContent;\n this.selectedDescription = item.description;\n this.isAgreementMandatory = item.isAgreementMandatory;\n this.isHighLevel = item.isHighLevel;\n this.isExternalPurchasable = item.isExternalPurchasable;\n this.isConnectMainProduct = item.isConnectMainProduct;\n this.selectedDataPrice = item.price;\n this.selectedPriceType = item.priceType;\n this.selectedDataPriceCostMultiplier = this.costMultiplier;\n this.selectedDataScreenPrice = item.screenPrice;\n this.selectedDataCost = item.cost;\n this.selectedDataFundAmount = item.fundAmount;\n this.selectedDataCommissionAmount = item.commissionAmount;\n this.selectedDataVdProducrtWarnings = item.vdProducrtWarnings;\n this.additionalWarnings = item.vdProducrtWarnings;\n setTimeout(() => {\n this.formReRender = true;\n }, 10);\n this.openModal();\n } else {\n this.$router.push({\n query: {\n item: this.$route.query.item,\n featureSettingId: item.id,\n platformId: item.platformId,\n isEditing: true\n }\n });\n }\n },\n\n changeSort(item) {\n // eslint-disable-next-line no-unused-vars\n const actionName = item.sortType === \"up\" ? this.selectedMenuItem.actionNames[4] : this.selectedMenuItem.actionNames[5]; // eslint-disable-next-line no-unused-vars\n\n const params = {};\n\n if (this.selectedMenuItem.id === 8) {\n params.id = item.researchId;\n } else {\n params.id = item.id;\n }\n\n this[actionName](params).then(response => {\n const error = response.error ? false : true;\n\n if (response.status === 200 && error) {\n this.$toast.error(\"Bir Hata oluştu\");\n } else {\n this.getData(this.selectedMenuItem);\n }\n });\n },\n\n openModal() {\n this.$modal.show(\"modal\");\n },\n\n closeModal() {\n this.$modal.hide(\"modal\");\n },\n\n removeModalC(selectedId) {\n let stateMonth;\n let stateYear;\n\n if (this.selectedData.id == 6) {\n stateMonth = this.getManagementAlgoFilter.month;\n stateYear = this.getManagementAlgoFilter.year;\n } else if (this.selectedData.id == 7) {\n stateMonth = this.getManagementProductFilter.month;\n stateYear = this.getManagementProductFilter.year;\n } else if (this.selectedData.id == 8) {\n stateMonth = this.getManagementResearchFilter.month;\n stateYear = this.getManagementResearchFilter.year;\n }\n\n const args = {\n id: selectedId,\n year: stateYear,\n month: stateMonth\n };\n this[this.selectedMenuItem.actionNames[3]](args).then(response => {\n if (!response.data.error) {\n this.deleteSuccessMessage();\n } else {\n this.deleteErrorMessage(response.data.message);\n }\n });\n },\n\n remove(item) {\n this.selectedData = this.selectedTabItem(this.selectedTab);\n this.selectedDeleteName = item.name;\n\n if (this.$route.query.item != \"7\") {\n this.selectedId = item.id;\n } else {\n this.selectedId = item.platform.id;\n }\n\n this.$modal.show(\"deleteModal\");\n }\n\n },\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_1__[\"mapGetters\"])([\"allAlgorithmAndServers\", \"updateAlgorithmAndServerResponse\", \"createAlgorithmAndServerResponse\", \"deleteAlgorithmAndServerResponse\", \"allApplicationTypes\", \"updateApplicationTypeResponse\", \"createApplicationTypeResponse\", \"deleteApplicationTypeResponse\", \"allPlatforms\", \"updatePlatformResponse\", \"createPlatformResponse\", \"deletePlatformResponse\", \"allPerspectives\", \"updatePerspectiveResponse\", \"createPerspectiveResponse\", \"deletePerspectiveResponse\", \"allAKDs\", \"updateAKDResponse\", \"createAKDResponse\", \"deleteAKDResponse\", \"allMarkets\", \"updateMarketResponse\", \"createMarketResponse\", \"deleteMarketResponse\", \"getFilterList\", \"getProductManagementFilter\", \"getProductManagementAlgoFilter\", \"getProductManagementResearchFilter\", \"getProductManagementProductFilter\"]),\n\n getManagementAlgoFilter() {\n return this.getProductManagementAlgoFilter;\n },\n\n getManagementResearchFilter() {\n return this.getProductManagementResearchFilter;\n },\n\n getManagementProductFilter() {\n return this.getProductManagementProductFilter;\n }\n\n },\n\n created() {},\n\n mounted() {\n this.selectedMenuItem = this.tabMenuItems[0];\n\n if (this.selectedMenuItem.id !== 7 && this.$route.query.featureSettingId == \"0\") {\n this.clickedNewItemBtn = true;\n } else if (this.selectedMenuItem.id !== 7 && this.$route.query.featureSettingId != \"0\") {\n this.clickedNewItemBtn = false;\n }\n\n this.fillFilter().then(() => {\n this.getSiteSettings().then(r => {\n this.costMultiplier = r.costMultiplexer;\n });\n });\n this.menuItemIndex = this.$route.query.item ? this.$route.query.item : 0;\n this.selectedMenuItem = this.tabMenuItems[this.menuItemIndex];\n this.changeTab(this.selectedMenuItem);\n },\n\n watch: {\n getProductManagementProductFilter: {\n handler: function (newVal) {\n this.tabMenuItems[7].reqParams.year = newVal.year;\n this.tabMenuItems[7].reqParams.month = newVal.month;\n }\n }\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/ProductAndPackageManagement.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");
155
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"./node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components_productAndPackage_GenericTable_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/productAndPackage/GenericTable.vue */ \"./src/components/productAndPackage/GenericTable.vue\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _components_productAndPackage_VendorDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../components/productAndPackage/VendorDefinitionForm.vue */ \"./src/components/productAndPackage/VendorDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_DataGroupDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../components/productAndPackage/DataGroupDefinitionForm.vue */ \"./src/components/productAndPackage/DataGroupDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_PlatformDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../components/productAndPackage/PlatformDefinitionForm.vue */ \"./src/components/productAndPackage/PlatformDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_AlgoDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../components/productAndPackage/AlgoDefinitionForm.vue */ \"./src/components/productAndPackage/AlgoDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_PerspectiveDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../components/productAndPackage/PerspectiveDefinitionForm.vue */ \"./src/components/productAndPackage/PerspectiveDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_AkdDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../components/productAndPackage/AkdDefinitionForm.vue */ \"./src/components/productAndPackage/AkdDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_MarketDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../components/productAndPackage/MarketDefinitionForm.vue */ \"./src/components/productAndPackage/MarketDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_ProductDescribingForm__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/components/productAndPackage/ProductDescribingForm */ \"./src/components/productAndPackage/ProductDescribingForm.vue\");\n/* harmony import */ var _components_productAndPackage_ResearchDefinitionForm__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/components/productAndPackage/ResearchDefinitionForm */ \"./src/components/productAndPackage/ResearchDefinitionForm.vue\");\n/* harmony import */ var _components_productAndPackage_ForeignIndicesForm__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/components/productAndPackage/ForeignIndicesForm */ \"./src/components/productAndPackage/ForeignIndicesForm.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"ProductAndPackageManagement\",\n\n data() {\n return {\n selectedDeleteName: \"\",\n deleteInfoText: \"İlgili kaydı silmek istediğinizden emin misiniz?\",\n selectedId: 7,\n selectedData: [],\n application: {},\n selectedDataApplication: {},\n applicationId: 0,\n researchId: 0,\n selectedDataApplicationId: 0,\n selectedforeignIndiceId: 0,\n selectedDataResearchId: 0,\n selectedDataId: 7,\n selectedDataName: \"\",\n selectedDataDepth: 0,\n selectedShortContent: \"\",\n selectedDescription: \"\",\n selectedPriceType: 1,\n order: 7,\n selectedDataOrder: 7,\n isAgreementMandatory: false,\n isHighLevel: false,\n isExternalPurchasable: false,\n isConnectMainProduct: false,\n selectedDataPrice: 850,\n selectedDataPriceCostMultiplier: 0,\n selectedDataScreenPrice: 0,\n selectedDataCost: 0,\n selectedDataFundAmount: 1880000,\n selectedDataCommissionAmount: 1410,\n selectedDataVdProducrtWarnings: [\"\"],\n additionalWarnings: [\"\"],\n selectedTab: 1,\n selectedLabel: \"Veri Grubu\",\n tableHeader: [],\n showRemoveBtn: true,\n showAddBtn: true,\n clickedNewItemBtn: false,\n data: [],\n onLoadFilterDateValue: null,\n tabMenuItems: [{\n id: 1,\n name: \"VERİ GRUBU İŞLEMLERİ\",\n label: \"Veri Grubu\",\n actionNames: [\"getAllApplicationTypes\", \"updateApplicationType\", \"createApplicationType\", \"deleteApplicationType\", \"changeApplicationTypeOrderDecrease\", \"changeApplicationTypeOrderIncrease\"],\n tableHeaderProp: \"dataGroupHeader\",\n formName: \"DataGroupDefinition\",\n showRemoveBtn: true,\n showAddBtn: true,\n reqParams: null,\n haveSort: true\n }, {\n id: 2,\n name: \"İŞLEM YERİ İŞLEMLERİ\",\n label: \"İşlem Yeri\",\n actionNames: [\"getAllPlatforms\", \"updatePlatform\", \"createPlatform\", \"deletePlatform\", \"changePlatformOrderDecrease\", \"changePlatformOrderIncrease\"],\n tableHeaderProp: \"platformHeader\",\n formName: \"PlatformDefinition\",\n showRemoveBtn: true,\n showAddBtn: true,\n reqParams: null,\n haveSort: true\n }, {\n id: 3,\n name: \"DERİNLİK İŞLEMLERİ\",\n label: \"Derinlik\",\n actionNames: [\"getAllPerspectives\", \"updatePerspective\", \"createPerspective\", \"deletePerspective\", \"changePerspectiveOrderDecrease\", \"changePerspectiveOrderIncrease\"],\n tableHeaderProp: \"perspectiveHeader\",\n formName: \"PerspectiveDefinition\",\n showRemoveBtn: true,\n showAddBtn: true,\n reqParams: null,\n haveSort: true\n }, {\n id: 4,\n name: \"AKD İŞLEMLERİ\",\n label: \"AKD\",\n actionNames: [\"getAllAKDs\", \"updateAKD\", \"createAKD\", \"deleteAKD\", \"changeAkdOrderDecrease\", \"changeAkdOrderIncrease\"],\n tableHeaderProp: \"akdHeader\",\n formName: \"AkdDefinition\",\n showRemoveBtn: true,\n showAddBtn: true,\n reqParams: null,\n haveSort: true\n }, {\n id: 5,\n name: \"PİYASA İŞLEMLERİ\",\n label: \"Piyasa\",\n actionNames: [\"getAllMarkets\", \"updateMarket\", \"createMarket\", \"deleteMarket\", \"changeMarketOrderDecrease\", \"changeMarketOrderIncrease\"],\n tableHeaderProp: \"marketHeader\",\n formName: \"MarketDefinition\",\n showRemoveBtn: true,\n showAddBtn: true,\n reqParams: null,\n haveSort: true\n }, {\n id: 6,\n name: \"ALGORİTMALAR-DİĞER İŞLEMLER\",\n label: \"Algoritmalar-Diğer İşlemler\",\n actionNames: [\"getAllAlgorithmAndServers\", \"updateAlgorithmAndServer\", \"createAlgorithmAndServer\", \"deleteAlgorithmAndServer\", \"changeAlgorithmAndServerOrderDecrease\", \"changeAlgorithmAndServerOrderIncrease\"],\n tableHeaderProp: \"algoHeader\",\n formName: \"AlgoDefinition\",\n showRemoveBtn: true,\n showAddBtn: false,\n reqParams: {\n year: null,\n month: null\n },\n haveSort: true\n }, {\n id: 8,\n name: \"ARAŞTIRMA VE DİĞER UYGULAMALAR\",\n label: \"Araştırma ve Diğer Uygulama\",\n actionNames: [\"getResearchList\", \"updateResearch\", \"createResearch\", \"deleteResearch\", \"changeResearchOrderDecrease\", \"changeResearchOrderIncrease\"],\n tableHeaderProp: \"algoHeader\",\n formName: \"ResearchDefinitionForm\",\n showRemoveBtn: true,\n showAddBtn: false,\n reqParams: {\n year: null,\n month: null\n },\n haveSort: true\n }, // {\n // id: 9,\n // name: \"YABANCI ENDEKSLER\",\n // label: \"Yabancı Endeksler\",\n // actionNames: [\n // \"getForeignList\",\n // \"updateForeign\",\n // \"createForeign\",\n // \"deleteForeign\",\n // \"changeResearchOrderDecrease\",\n // \"changeResearchOrderIncrease\",\n // ],\n // tableHeaderProp: \"foreignHeader\",\n // formName: \"ForeignIndicesForm\",\n // showRemoveBtn: true,\n // showAddBtn: true,\n // reqParams: null,\n // haveSort: false,\n // },\n {\n id: 7,\n name: \"ÜRÜN İŞLEMLERİ\",\n label: \"Ürün İşlemi\",\n actionNames: [\"getFeatureSettingList\", \"updateFeatureSetting\", \"createFeatureSetting\", \"deleteFeatureSetting\"],\n tableHeaderProp: \"featureSettingsHeader\",\n formName: \"ProductDescribingForm\",\n showRemoveBtn: true,\n showAddBtn: false,\n reqParams: {\n applicationId: 0,\n platformId: 0,\n marketId: 0,\n perspectiveIds: [],\n vendorIds: [],\n researchIds: [],\n algorithmIds: [],\n foreignIndiceIds: [],\n cost: 0,\n screenPrice: 0,\n price: 0,\n priceType: 0,\n fundAmount: 0,\n commissionAmount: 0,\n year: null,\n month: null\n }\n }],\n vendorHeader: [{\n title: \"Sıra No\",\n column: \"order\"\n }, {\n title: \"Ad\",\n column: \"name\"\n }, {\n title: \"Entegrasyon Türü\",\n column: \"integrationType\"\n }, {\n title: \"Tarih\",\n column: \"date\"\n }, {\n title: \"Veri Grubu\",\n column: \"dataGroup\"\n }, {\n title: \"Son İşlem Yapan\",\n column: \"lastModifier\"\n }],\n platformHeader: [{\n title: \"Adı\",\n column: \"name\"\n }, {\n title: \"Kısa Tanım\",\n column: \"shortContent\"\n }, {\n title: \"Açıklama\",\n column: \"description\"\n }],\n perspectiveHeader: [{\n title: \"Adı\",\n column: \"name\"\n }, {\n title: \"Kısa Tanım\",\n column: \"shortContent\"\n }, {\n title: \"Açıklama\",\n column: \"description\"\n }],\n akdHeader: [{\n title: \"Adı\",\n column: \"name\"\n }, {\n title: \"Kısa Tanım\",\n column: \"shortContent\"\n }, {\n title: \"Açıklama\",\n column: \"description\"\n }],\n marketHeader: [{\n title: \"Adı\",\n column: \"name\"\n }, {\n title: \"Kısa Tanım\",\n column: \"shortContent\"\n }, {\n title: \"Açıklama\",\n column: \"description\"\n }],\n algoHeader: [{\n title: \"İşlem Platformu\",\n column: \"applicationName\"\n }, {\n title: \"Ürün Adı\",\n column: \"name\"\n }, {\n title: \"Fiyat\",\n column: \"price\"\n }, {\n title: \"Tarih\",\n column: \"updateDate\"\n }],\n foreignHeader: [{\n title: \"İşlem Platformu\",\n column: \"applicationName\"\n }, {\n title: \"Ürün Adı\",\n column: \"name\"\n }, {\n title: \"Fiyat\",\n column: \"price\"\n }, {\n title: \"Fiyat Tipi\",\n column: \"priceType\"\n }],\n dataGroupHeader: [\n /* { title: \"Sıra No\", column: \"order\" },*/\n {\n title: \"Ad\",\n column: \"name\"\n }, {\n title: \"Kısa Tanım\",\n column: \"shortContent\"\n },\n /*{ title: \"Şablon\", column: \"template\" },*/\n {\n title: \"Tarih\",\n column: \"date\"\n }, {\n title: \"Son İşlem Yapan\",\n column: \"lastModifier\"\n }],\n featureSettingsHeader: [{\n title: \"Veri Grubu\",\n column: \"applicationTypeName\"\n }, {\n title: \"İşlem Platformu\",\n column: \"name\"\n }, {\n title: \"Platform\",\n column: \"platformName\"\n }, {\n title: \"Piyasa\",\n column: \"marketName\"\n }, {\n title: \"Tarih\",\n column: \"updateDate\"\n }],\n selectedMenuItem: null,\n menuItemIndex: 0,\n filterAttributes: [],\n costMultiplier: 2.5,\n formReRender: false\n };\n },\n\n components: {\n GenericTable: _components_productAndPackage_GenericTable_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_3__[\"BaseButton\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_3__[\"BaseIcon\"],\n VendorDefination: _components_productAndPackage_VendorDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n DataGroupDefinition: _components_productAndPackage_DataGroupDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n PlatformDefinition: _components_productAndPackage_PlatformDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n PerspectiveDefinition: _components_productAndPackage_PerspectiveDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n AkdDefinition: _components_productAndPackage_AkdDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n MarketDefinition: _components_productAndPackage_MarketDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n AlgoDefinition: _components_productAndPackage_AlgoDefinitionForm_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n ProductDescribingForm: _components_productAndPackage_ProductDescribingForm__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n ResearchDefinitionForm: _components_productAndPackage_ResearchDefinitionForm__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n ForeignIndicesForm: _components_productAndPackage_ForeignIndicesForm__WEBPACK_IMPORTED_MODULE_13__[\"default\"]\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_1__[\"mapActions\"])([\"getAllApplicationTypes\", \"updateApplicationType\", \"createApplicationType\", \"deleteApplicationType\", \"getAllPlatforms\", \"updatePlatform\", \"createPlatform\", \"deletePlatform\", \"getAllPerspectives\", \"updatePerspective\", \"createPerspective\", \"deletePerspective\", \"getAllAKDs\", \"updateAKD\", \"createAKD\", \"deleteAKD\", \"getAllMarkets\", \"updateMarket\", \"createMarket\", \"deleteMarket\", \"getAllAlgorithmAndServers\", \"updateAlgorithmAndServer\", \"createAlgorithmAndServer\", \"deleteAlgorithmAndServer\", \"getFeatureSettingList\", \"fillFilter\", \"createFeatureSetting\", \"getSiteSettings\", \"updateFeatureSetting\", \"deleteFeatureSetting\", \"getResearchList\", \"updateResearch\", \"createResearch\", \"deleteResearch\", \"changeApplicationTypeOrderIncrease\", \"changeApplicationTypeOrderDecrease\", \"changePlatformOrderDecrease\", \"changePlatformOrderIncrease\", \"changeAlgorithmAndServerOrderDecrease\", \"changeAlgorithmAndServerOrderIncrease\", \"changePerspectiveOrderDecrease\", \"changePerspectiveOrderIncrease\", \"changeMarketOrderDecrease\", \"changeMarketOrderIncrease\", \"changeAkdOrderDecrease\", \"changeAkdOrderIncrease\", \"getForeignList\", \"updateForeign\", \"createForeign\", \"deleteForeign\", \"changeResearchOrderDecrease\", \"changeResearchOrderIncrease\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_1__[\"mapMutations\"])([\"setProductPackageFilter\", \"setProductPackageAlgoFilter\", \"setProductPackageResearchFilter\", \"setProductPackageProductFilter\"]),\n\n updateInfoMessage() {\n this.$toast.success(\"İlgili Kayıt Düzenlendi\");\n this.closeModal();\n this.changeTab(this.selectedMenuItem);\n },\n\n createInfoMessage() {\n this.$toast.success(\"İlgili Kayıt Eklendi\");\n this.closeModal();\n this.changeTab(this.selectedMenuItem);\n },\n\n deleteSuccessMessage() {\n this.$toast.success(\"İlgili Kayıt Silindi\");\n this.$modal.hide(\"deleteModal\");\n this.changeTab(this.selectedMenuItem);\n },\n\n deleteErrorMessage(param) {\n this.$modal.hide(\"deleteModal\");\n\n if (param != null) {\n this.$toast.error(param);\n } else {\n this.$toast.error(\"Bir Hata oluştu\");\n }\n\n this.changeTab(this.selectedMenuItem);\n },\n\n submitform(params) {\n const actionName = this.clickedNewItemBtn ? this.selectedMenuItem.actionNames[2] : this.selectedMenuItem.actionNames[1];\n this[actionName](params).then(response => {\n if (response.error) {\n if (response.result) {\n this.$toast.error(response.result.data[0].errors[0]);\n } else {\n this.$toast.error(response.message);\n }\n } else {\n if (this.clickedNewItemBtn) {\n this.createInfoMessage();\n } else {\n this.updateInfoMessage();\n }\n\n this.$router.push({\n query: {\n item: this.$route.query.item\n }\n });\n }\n });\n this.$modal.hide(\"modal\");\n },\n\n isRowCopied(response) {\n this.data = response.data;\n },\n\n activationCheck(param) {\n if (param) {\n this.getData(this.selectedMenuItem);\n }\n },\n\n dateChecker(param) {\n const isNext = param === \"next\";\n let currentYear;\n let currentMonth;\n\n if (this.selectedMenuItem.id == 6) {\n currentYear = this.getManagementAlgoFilter.year;\n currentMonth = this.getManagementAlgoFilter.month;\n } else if (this.selectedMenuItem.id == 7) {\n currentYear = this.getManagementProductFilter.year;\n currentMonth = this.getManagementProductFilter.month;\n } else if (this.selectedMenuItem.id == 8) {\n currentYear = this.getManagementResearchFilter.year;\n currentMonth = this.getManagementResearchFilter.month;\n }\n\n const nextYear = isNext ? currentMonth > 11 ? currentYear + 1 : currentYear : currentMonth < 2 ? currentYear - 1 : currentYear;\n const nextMonth = isNext ? currentMonth > 11 ? 1 : currentMonth + 1 : currentMonth < 2 ? 12 : currentMonth - 1;\n\n if (this.selectedMenuItem.id == 6) {\n this.setProductPackageAlgoFilter({\n year: nextYear,\n month: nextMonth,\n inputVal: new Date(nextYear + \"/\" + nextMonth)\n });\n } else if (this.selectedMenuItem.id == 7) {\n this.setProductPackageProductFilter({\n year: nextYear,\n month: nextMonth,\n inputVal: new Date(nextYear + \"/\" + nextMonth)\n });\n } else if (this.selectedMenuItem.id == 8) {\n this.setProductPackageResearchFilter({\n year: nextYear,\n month: nextMonth,\n inputVal: new Date(nextYear + \"/\" + nextMonth)\n });\n }\n\n if ([6, 7, 8].includes(this.selectedMenuItem.id)) {\n this.selectedMenuItem.reqParams.year = nextYear;\n this.selectedMenuItem.reqParams.month = nextMonth;\n this.getData(this.selectedMenuItem);\n }\n },\n\n selectedTabItem(id) {\n this.selectedMenuItem = this.tabMenuItems.find(x => x.id === id);\n return this.selectedMenuItem;\n },\n\n async changeTab(item) {\n if (item.id === 6) {\n item.reqParams.year = this.getManagementAlgoFilter.year;\n item.reqParams.month = this.getManagementAlgoFilter.month;\n this.onLoadFilterDateValue = this.getManagementAlgoFilter.inputVal;\n } else if (item.id === 8) {\n item.reqParams.year = this.getManagementResearchFilter.year;\n item.reqParams.month = this.getManagementResearchFilter.month;\n this.onLoadFilterDateValue = this.getManagementResearchFilter.inputVal;\n } else if (item.id == 7 && this.clickedNewItemBtn) {\n this.setProductPackageProductFilter({\n year: null,\n month: null,\n inputVal: null\n });\n item.reqParams.year = null;\n item.reqParams.month = null;\n this.onLoadFilterDateValue = null;\n } else if (item.id == 7 && !this.clickedNewItemBtn) {\n this.setProductPackageProductFilter({\n year: this.getManagementProductFilter.year,\n month: this.getManagementProductFilter.month,\n inputVal: this.getManagementProductFilter.inputVal\n });\n item.reqParams.year = this.getManagementProductFilter.year;\n item.reqParams.month = this.getManagementProductFilter.month;\n this.onLoadFilterDateValue = this.getManagementProductFilter.inputVal;\n }\n\n await this.getData(item);\n },\n\n async getData(item) {\n this.formRender = false;\n this.selectedTab = item.id;\n this.selectedLabel = item.label;\n this.showRemoveBtn = item.showRemoveBtn;\n this.showAddBtn = item.showAddBtn;\n await this[item.actionNames[0]](item.reqParams).then(response => {\n if (item.id === 6) {\n const servers = response;\n\n for (const item of servers) {\n item.applicationName = item.application.name;\n item.updateDate = this.$moment(item.updatedAt).format(\"DD.MM.YYYY\");\n\n if (item.year && item.month) {\n this.setProductPackageAlgoFilter({\n year: item.year,\n month: item.month,\n inputVal: null\n });\n }\n }\n\n this.data = servers;\n } else if (item.id === 7) {\n const formatedData = response;\n\n for (const itemData of formatedData) {\n itemData.platformName = itemData.platform.name;\n itemData.platformId = itemData.platform.id;\n const marketNames = [];\n\n for (const license of itemData.licences) {\n marketNames.push(license.name);\n }\n\n itemData.marketName = marketNames.join(\", \"); // Use join to concatenate array elements with a separator\n\n itemData.updateDate = this.$moment(itemData.updatedAt).format(\"DD.MM.YYYY\");\n\n if (itemData.year && itemData.month) {\n this.setProductPackageProductFilter({\n year: itemData.year,\n month: itemData.month,\n inputVal: null\n });\n }\n }\n } else if (item.id === 8) {\n const servers = response;\n\n for (const item of servers) {\n if (!item.application) {\n item.applicationName = \"Ana Ürün\";\n } else {\n item.applicationName = item.application.name;\n }\n\n item.updateDate = this.$moment(item.updatedAt).format(\"DD.MM.YYYY\");\n\n if (item.year && item.month) {\n this.setProductPackageResearchFilter({\n year: item.year,\n month: item.month,\n inputVal: null\n });\n }\n }\n\n this.data = servers;\n } else {\n this.data = response;\n }\n });\n\n if (item.tableHeaderProp !== \"\") {\n this.tableHeader = this[item.tableHeaderProp];\n } else {\n this.tableHeader = [];\n }\n },\n\n parseDateFromString(dateString) {\n const [year, month, day] = dateString.split(\"T\")[0].split(\"-\");\n return {\n year: Number(year),\n month: Number(month),\n day: Number(day)\n };\n },\n\n getNextMonth({\n year,\n month\n }) {\n if (month === 12) {\n return {\n year: year + 1,\n month: 1\n };\n } else {\n return {\n year,\n month: month + 1\n };\n }\n },\n\n filterDataChanged(args) {\n const item = this.selectedTabItem(this.selectedTab);\n const hasFilterDate = args.value;\n const dateObj = hasFilterDate ? this.parseDateFromString(args.value) : null;\n const setMonthOptions = this.getNextMonth(dateObj);\n const filterMethods = {\n 6: this.setProductPackageAlgoFilter,\n 7: this.setProductPackageProductFilter,\n 8: this.setProductPackageResearchFilter\n };\n\n if (args.id in filterMethods) {\n item.reqParams.year = setMonthOptions.year;\n item.reqParams.month = setMonthOptions.month;\n const filterMethod = filterMethods[args.id];\n filterMethod({\n year: setMonthOptions.year,\n month: setMonthOptions.month,\n inputVal: args.inputVal\n });\n this.getData(item);\n }\n },\n\n newItem() {\n this.formReRender = false;\n this.clickedNewItemBtn = true;\n\n if (this.$route.query.item != \"7\") {\n this.selectedData = this.selectedTabItem(this.selectedTab);\n this.selectedDataId = null;\n this.selectedDataName = \"\";\n this.selectedDataDepth = null;\n this.selectedDataOrder = null;\n this.applicationId = null;\n this.selectedDataApplicationId = null;\n this.selectedDataResearchId = null;\n this.selectedforeignIndiceId = null;\n this.selectedShortContent = \"\";\n this.selectedDescription = \"\";\n this.isAgreementMandatory = false;\n this.isHighLevel = false;\n this.isExternalPurchasable = false;\n this.isConnectMainProduct = false;\n this.selectedDataPrice = null;\n this.selectedDataPriceCostMultiplier = this.costMultiplier;\n this.selectedDataScreenPrice = null;\n this.selectedDataCost = null;\n this.selectedDataFundAmount = null;\n this.selectedDataCommissionAmount = null;\n this.selectedDataVdProducrtWarnings = [];\n this.additionalWarnings = [];\n setTimeout(() => {\n this.formReRender = true;\n }, 10);\n this.openModal();\n } else {\n this.$router.push({\n query: {\n item: this.$route.query.item,\n featureSettingId: 0\n }\n });\n }\n },\n\n edit(item) {\n this.formReRender = false;\n this.clickedNewItemBtn = false;\n\n if (this.$route.query.item != \"7\") {\n this.clickedNewItemBtn = false;\n this.selectedData = this.selectedTabItem(this.selectedTab);\n this.applicationId = item.applicationId;\n this.researchId = item.researchId;\n this.selectedDataApplicationId = item.applicationId;\n this.selectedforeignIndiceId = item.foreignIndiceId;\n this.selectedDataResearchId = item.researchId;\n this.selectedDataId = item.id;\n this.selectedDataName = item.name;\n this.selectedDataDepth = item.depth ? item.depth : 0;\n this.selectedDataOrder = item.order;\n this.selectedShortContent = item.shortContent;\n this.selectedDescription = item.description;\n this.isAgreementMandatory = item.isAgreementMandatory;\n this.isHighLevel = item.isHighLevel;\n this.isExternalPurchasable = item.isExternalPurchasable;\n this.isConnectMainProduct = item.isConnectMainProduct;\n this.selectedDataPrice = item.price;\n this.selectedPriceType = item.priceType;\n this.selectedDataPriceCostMultiplier = this.costMultiplier;\n this.selectedDataScreenPrice = item.screenPrice;\n this.selectedDataCost = item.cost;\n this.selectedDataFundAmount = item.fundAmount;\n this.selectedDataCommissionAmount = item.commissionAmount;\n this.selectedDataVdProducrtWarnings = item.vdProducrtWarnings;\n this.additionalWarnings = item.vdProducrtWarnings;\n setTimeout(() => {\n this.formReRender = true;\n }, 10);\n this.openModal();\n } else {\n this.$router.push({\n query: {\n item: this.$route.query.item,\n featureSettingId: item.id,\n platformId: item.platformId,\n isEditing: true\n }\n });\n }\n },\n\n changeSort(item) {\n // eslint-disable-next-line no-unused-vars\n const actionName = item.sortType === \"up\" ? this.selectedMenuItem.actionNames[4] : this.selectedMenuItem.actionNames[5]; // eslint-disable-next-line no-unused-vars\n\n const params = {};\n\n if (this.selectedMenuItem.id === 8) {\n params.id = item.researchId;\n } else {\n params.id = item.id;\n }\n\n this[actionName](params).then(response => {\n const error = response.error ? false : true;\n\n if (response.status === 200 && error) {\n this.$toast.error(\"Bir Hata oluştu\");\n } else {\n this.getData(this.selectedMenuItem);\n }\n });\n },\n\n openModal() {\n this.$modal.show(\"modal\");\n },\n\n closeModal() {\n this.$modal.hide(\"modal\");\n },\n\n removeModalC(selectedId) {\n let stateMonth;\n let stateYear;\n\n if (this.selectedData.id == 6) {\n stateMonth = this.getManagementAlgoFilter.month;\n stateYear = this.getManagementAlgoFilter.year;\n } else if (this.selectedData.id == 7) {\n stateMonth = this.getManagementProductFilter.month;\n stateYear = this.getManagementProductFilter.year;\n } else if (this.selectedData.id == 8) {\n stateMonth = this.getManagementResearchFilter.month;\n stateYear = this.getManagementResearchFilter.year;\n }\n\n const args = {\n id: selectedId,\n year: stateYear,\n month: stateMonth\n };\n this[this.selectedMenuItem.actionNames[3]](args).then(response => {\n if (!response.data.error) {\n this.deleteSuccessMessage();\n } else {\n this.deleteErrorMessage(response.data.message);\n }\n });\n },\n\n remove(item) {\n this.selectedData = this.selectedTabItem(this.selectedTab);\n this.selectedDeleteName = item.name;\n\n if (this.$route.query.item != \"7\") {\n this.selectedId = item.id;\n } else {\n this.selectedId = item.platform.id;\n }\n\n this.$modal.show(\"deleteModal\");\n }\n\n },\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_1__[\"mapGetters\"])([\"allAlgorithmAndServers\", \"updateAlgorithmAndServerResponse\", \"createAlgorithmAndServerResponse\", \"deleteAlgorithmAndServerResponse\", \"allApplicationTypes\", \"updateApplicationTypeResponse\", \"createApplicationTypeResponse\", \"deleteApplicationTypeResponse\", \"allPlatforms\", \"updatePlatformResponse\", \"createPlatformResponse\", \"deletePlatformResponse\", \"allPerspectives\", \"updatePerspectiveResponse\", \"createPerspectiveResponse\", \"deletePerspectiveResponse\", \"allAKDs\", \"updateAKDResponse\", \"createAKDResponse\", \"deleteAKDResponse\", \"allMarkets\", \"updateMarketResponse\", \"createMarketResponse\", \"deleteMarketResponse\", \"getFilterList\", \"getProductManagementFilter\", \"getProductManagementAlgoFilter\", \"getProductManagementResearchFilter\", \"getProductManagementProductFilter\"]),\n\n getManagementAlgoFilter() {\n return this.getProductManagementAlgoFilter;\n },\n\n getManagementResearchFilter() {\n return this.getProductManagementResearchFilter;\n },\n\n getManagementProductFilter() {\n return this.getProductManagementProductFilter;\n }\n\n },\n\n created() {},\n\n mounted() {\n this.selectedMenuItem = this.tabMenuItems[0];\n\n if (this.selectedMenuItem.id !== 7 && this.$route.query.featureSettingId == \"0\") {\n this.clickedNewItemBtn = true;\n } else if (this.selectedMenuItem.id !== 7 && this.$route.query.featureSettingId != \"0\") {\n this.clickedNewItemBtn = false;\n }\n\n this.fillFilter().then(() => {\n this.getSiteSettings().then(r => {\n this.costMultiplier = r.costMultiplexer;\n });\n });\n this.menuItemIndex = this.$route.query.item ? this.$route.query.item : 0;\n this.selectedMenuItem = this.tabMenuItems[this.menuItemIndex];\n this.changeTab(this.selectedMenuItem);\n },\n\n watch: {\n getProductManagementProductFilter: {\n handler: function (newVal) {\n this.tabMenuItems[7].reqParams.year = newVal.year;\n this.tabMenuItems[7].reqParams.month = newVal.month;\n }\n }\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/ProductAndPackageManagement.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");
156
156
 
157
157
  /***/ }),
158
158
 
@@ -176,7 +176,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
176
176
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
177
177
 
178
178
  "use strict";
179
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", [\n _c(\"div\", { staticClass: \"algo-form\" }, [\n _c(\n \"div\",\n { staticClass: \"modal-body\" },\n [\n _vm.selectedAppGroupOptions.length > 0\n ? _c(\"base-select\", {\n attrs: {\n id: \"application\",\n options: _vm.selectedAppGroupOptions,\n fieldLabel: \"Uygulama\",\n placeholder: \"Uygulama Seç\",\n \"selected-id\": _vm.formItems.applicationId,\n error: _vm.$v.formItems.applicationId.$error,\n },\n on: { change: _vm.changeSelectedApp },\n model: {\n value: _vm.formItems.applicationId,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"applicationId\", $$v)\n },\n expression: \"formItems.applicationId\",\n },\n })\n : _vm._e(),\n _c(\"base-input\", {\n class: { \"is-invalid\": _vm.$v.formItems.name.$error },\n attrs: { inputType: \"text\", labelText: \"Adı\" },\n on: {\n input: function ($event) {\n return _vm.$v.formItems.name.$touch()\n },\n },\n model: {\n value: _vm.formItems.name,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"name\", $$v)\n },\n expression: \"formItems.name\",\n },\n }),\n _vm.$v.formItems.name.$error\n ? _c(\"div\", [\n _vm.$v.formItems.name.$invalid\n ? _c(\"p\", { staticClass: \"invalid-feedback\" }, [\n _vm._v(_vm._s(_vm.invalidMessage)),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n _c(\"base-input\", {\n attrs: {\n inputType: \"hidden\",\n labelText: \"Sıra No\",\n value: \"formItems.order\",\n },\n model: {\n value: _vm.formItems.order,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"order\", $$v)\n },\n expression: \"formItems.order\",\n },\n }),\n _c(\"base-input\", {\n attrs: { inputType: \"text\", labelText: \"Kısa Tanım\" },\n model: {\n value: _vm.formItems.shortContent,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"shortContent\", $$v)\n },\n expression: \"formItems.shortContent\",\n },\n }),\n _c(\"base-input\", {\n attrs: { inputType: \"text\", labelText: \"Açıklama\" },\n model: {\n value: _vm.formItems.description,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"description\", $$v)\n },\n expression: \"formItems.description\",\n },\n }),\n _c(\"base-select\", {\n attrs: {\n id: \"isAgreementMandatory\",\n options: _vm.booleanOptions,\n fieldLabel: \"Sözleşme Kontrolü gerekli mi?\",\n placeholder: \"isAgreementMandatory Seç\",\n \"selected-id\": _vm.selectedMandatoryGroupVal.code,\n },\n on: { change: _vm.changeIsAgreementMandatoryGroup },\n model: {\n value: _vm.selectedMandatoryGroupVal,\n callback: function ($$v) {\n _vm.selectedMandatoryGroupVal = $$v\n },\n expression: \"selectedMandatoryGroupVal\",\n },\n }),\n _c(\"base-select\", {\n attrs: {\n value: _vm.selectedLevelGroupVal,\n id: \"isHighLevel\",\n options: _vm.booleanOptions,\n fieldLabel: \"Alınabilecek en yüksek paket mi?\",\n placeholder: \"isHighLevel Seç\",\n \"selected-id\": _vm.selectedLevelGroupVal.code,\n },\n on: { change: _vm.changeIsHighLevelGroup },\n model: {\n value: _vm.selectedLevelGroupVal,\n callback: function ($$v) {\n _vm.selectedLevelGroupVal = $$v\n },\n expression: \"selectedLevelGroupVal\",\n },\n }),\n _c(\"base-select\", {\n attrs: {\n value: _vm.selectedPurchasableGroupVal,\n id: \"isExternalPurchasable\",\n options: _vm.booleanOptions,\n fieldLabel: \"Harici Terminal ile alınabilir mi?\",\n placeholder: \"isExternalPurchasable Seç\",\n \"selected-id\": _vm.selectedPurchasableGroupVal.code,\n },\n on: { change: _vm.changeIsExternalPurchasableGroup },\n model: {\n value: _vm.selectedPurchasableGroupVal,\n callback: function ($$v) {\n _vm.selectedPurchasableGroupVal = $$v\n },\n expression: \"selectedPurchasableGroupVal\",\n },\n }),\n _c(\"base-select\", {\n attrs: {\n value: _vm.selectedIsConnectedToMainProduct,\n id: \"isConnectedMainProduct\",\n options: _vm.booleanOptions,\n fieldLabel: \"Ana Ürüne Bağlanacak mı?\",\n placeholder: \"Ana Ürüne Bağlanacak mı?\",\n \"selected-id\": _vm.selectedIsConnectedToMainProduct.code,\n },\n on: { change: _vm.changeIsConnectedMainProduct },\n model: {\n value: _vm.selectedIsConnectedToMainProduct,\n callback: function ($$v) {\n _vm.selectedIsConnectedToMainProduct = $$v\n },\n expression: \"selectedIsConnectedToMainProduct\",\n },\n }),\n _c(\"base-input\", {\n class: { \"is-invalid\": _vm.$v.formItems.price.$error },\n attrs: {\n inputType: \"number\",\n labelText: \"Fiyat\",\n id: \"algoPrice\",\n value: \"formItems.price\",\n allowDecimals: true,\n },\n on: {\n input: function ($event) {\n return _vm.$v.formItems.price.$touch()\n },\n change: function ($event) {\n return _vm.calculate(_vm.formItems.price)\n },\n },\n model: {\n value: _vm.formItems.price,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"price\", $$v)\n },\n expression: \"formItems.price\",\n },\n }),\n _vm.$v.formItems.price.$error\n ? _c(\"div\", [\n _vm.$v.formItems.price.$invalid\n ? _c(\"p\", { staticClass: \"invalid-feedback\" }, [\n _vm._v(_vm._s(_vm.invalidMessage)),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n _c(\"base-input\", {\n class: {\n \"is-invalid\": _vm.$v.formItems.priceCostMultiplier.$error,\n },\n attrs: {\n inputType: \"number\",\n labelText: \"Fiyat Maliyet Çarpanı\",\n isDisabled: true,\n id: \"algoPriceCostMultiplier\",\n },\n on: {\n input: function ($event) {\n return _vm.$v.formItems.priceCostMultiplier.$touch()\n },\n },\n model: {\n value: _vm.formItems.priceCostMultiplier,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"priceCostMultiplier\", $$v)\n },\n expression: \"formItems.priceCostMultiplier\",\n },\n }),\n _vm.$v.formItems.priceCostMultiplier.$error\n ? _c(\"div\", [\n _vm.$v.formItems.priceCostMultiplier.$invalid\n ? _c(\"p\", { staticClass: \"invalid-feedback\" }, [\n _vm._v(_vm._s(_vm.invalidMessage)),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n _c(\"base-input\", {\n class: {\n \"is-invalid\": _vm.$v.formItems.screenPrice.$error,\n },\n attrs: {\n inputType: \"number\",\n labelText: \"Ekran Ücreti\",\n id: \"algoScreenPrice\",\n },\n on: {\n input: function ($event) {\n return _vm.$v.formItems.screenPrice.$touch()\n },\n },\n model: {\n value: _vm.formItems.screenPrice,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"screenPrice\", $$v)\n },\n expression: \"formItems.screenPrice\",\n },\n }),\n _vm.$v.formItems.screenPrice.$error\n ? _c(\"div\", [\n _vm.$v.formItems.screenPrice.$invalid\n ? _c(\"p\", { staticClass: \"invalid-feedback\" }, [\n _vm._v(_vm._s(_vm.invalidMessage)),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n _c(\"base-input\", {\n class: {\n \"is-invalid\": _vm.$v.formItems.cost.$error,\n },\n attrs: {\n inputType: \"number\",\n labelText: \"Maliyet\",\n id: \"algoCost\",\n },\n on: {\n input: function ($event) {\n return _vm.$v.formItems.cost.$touch()\n },\n },\n model: {\n value: _vm.formItems.cost,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"cost\", $$v)\n },\n expression: \"formItems.cost\",\n },\n }),\n _vm.$v.formItems.cost.$error\n ? _c(\"div\", [\n _vm.$v.formItems.cost.$invalid\n ? _c(\"p\", { staticClass: \"invalid-feedback\" }, [\n _vm._v(_vm._s(_vm.invalidMessage)),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n _c(\"base-input\", {\n class: {\n \"is-invalid\": _vm.$v.formItems.fundAmount.$error,\n },\n attrs: {\n inputType: \"number\",\n labelText: \"Fon Miktarı\",\n isDisabled: true,\n id: \"algoFundAmount\",\n },\n on: {\n input: function ($event) {\n return _vm.$v.formItems.fundAmount.$touch()\n },\n },\n model: {\n value: _vm.formItems.fundAmount,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"fundAmount\", $$v)\n },\n expression: \"formItems.fundAmount\",\n },\n }),\n _vm.$v.formItems.fundAmount.$error\n ? _c(\"div\", [\n _vm.$v.formItems.fundAmount.$invalid\n ? _c(\"p\", { staticClass: \"invalid-feedback\" }, [\n _vm._v(_vm._s(_vm.invalidMessage)),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n _c(\"base-input\", {\n class: {\n \"is-invalid\": _vm.$v.formItems.commissionAmount.$error,\n },\n attrs: {\n inputType: \"number\",\n labelText: \"Komisyon Miktarı\",\n isDisabled: true,\n id: \"algoCommissionAmount\",\n },\n on: {\n input: function ($event) {\n return _vm.$v.formItems.commissionAmount.$touch()\n },\n },\n model: {\n value: _vm.formItems.commissionAmount,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"commissionAmount\", $$v)\n },\n expression: \"formItems.commissionAmount\",\n },\n }),\n !_vm.$v.formItems.commissionAmount.required\n ? _c(\"div\", { staticClass: \"invalid-feedback\" })\n : _vm._e(),\n _vm._l(_vm.additionalWarnings, function (item, index) {\n return _c(\n \"div\",\n { key: index, staticClass: \"grouped-container with-button\" },\n [\n _c(\"base-input\", {\n attrs: {\n inputType: \"text\",\n labelText: \"Uyarılar\",\n id: \"algoVdProducrtWarnings\",\n },\n model: {\n value: _vm.additionalWarnings[index],\n callback: function ($$v) {\n _vm.$set(_vm.additionalWarnings, index, $$v)\n },\n expression: \"additionalWarnings[index]\",\n },\n }),\n index === 0\n ? _c(\n \"div\",\n {\n staticClass: \"add-button\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemoveAdditionalWarnings()\n },\n },\n },\n [_c(\"base-icon\", { attrs: { name: \"plus-circle\" } })],\n 1\n )\n : _c(\n \"div\",\n {\n staticClass: \"add-button remove\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemoveAdditionalWarnings(index)\n },\n },\n },\n [_c(\"base-icon\", { attrs: { name: \"close-colored\" } })],\n 1\n ),\n ],\n 1\n )\n }),\n _c(\"br\"),\n _c(\"photo-upload\", { attrs: { base64Img: _vm.setPhotoForForm } }),\n ],\n 2\n ),\n _c(\n \"div\",\n { staticClass: \"modal-bottom\" },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"giveUp\",\n on: {\n click: function ($event) {\n return _vm.$modal.hide(\"modal\")\n },\n },\n },\n [_vm._v(\"Vazgeç\")]\n ),\n _c(\n \"base-button\",\n {\n staticClass: \"add\",\n class: { disabled: _vm.$v.$invalid },\n attrs: { disabled: _vm.$v.$invalid },\n on: { click: _vm.sendForm },\n },\n [_vm._v(\"Kaydet\")]\n ),\n ],\n 1\n ),\n ]),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/AlgoDefinitionForm.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225a848ef0-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
179
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", [\n _c(\"div\", { staticClass: \"algo-form\" }, [\n _c(\n \"div\",\n { staticClass: \"modal-body\" },\n [\n _vm.selectedAppGroupOptions.length > 0\n ? _c(\"base-select\", {\n attrs: {\n id: \"application\",\n options: _vm.selectedAppGroupOptions,\n fieldLabel: \"Uygulama\",\n placeholder: \"Uygulama Seç\",\n \"selected-id\": _vm.formItems.applicationId,\n error: _vm.$v.formItems.applicationId.$error,\n },\n on: { change: _vm.changeSelectedApp },\n model: {\n value: _vm.formItems.applicationId,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"applicationId\", $$v)\n },\n expression: \"formItems.applicationId\",\n },\n })\n : _vm._e(),\n _c(\"base-input\", {\n class: { \"is-invalid\": _vm.$v.formItems.name.$error },\n attrs: { inputType: \"text\", labelText: \"Adı\" },\n on: {\n input: function ($event) {\n return _vm.$v.formItems.name.$touch()\n },\n },\n model: {\n value: _vm.formItems.name,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"name\", $$v)\n },\n expression: \"formItems.name\",\n },\n }),\n _vm.$v.formItems.name.$error\n ? _c(\"div\", [\n _vm.$v.formItems.name.$invalid\n ? _c(\"p\", { staticClass: \"invalid-feedback\" }, [\n _vm._v(\" \" + _vm._s(_vm.invalidMessage) + \" \"),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n _c(\"base-input\", {\n attrs: {\n inputType: \"hidden\",\n labelText: \"Sıra No\",\n value: \"formItems.order\",\n },\n model: {\n value: _vm.formItems.order,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"order\", $$v)\n },\n expression: \"formItems.order\",\n },\n }),\n _c(\"base-input\", {\n attrs: { inputType: \"text\", labelText: \"Kısa Tanım\" },\n model: {\n value: _vm.formItems.shortContent,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"shortContent\", $$v)\n },\n expression: \"formItems.shortContent\",\n },\n }),\n _c(\"base-input\", {\n attrs: { inputType: \"text\", labelText: \"Açıklama\" },\n model: {\n value: _vm.formItems.description,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"description\", $$v)\n },\n expression: \"formItems.description\",\n },\n }),\n _c(\"base-select\", {\n attrs: {\n id: \"isAgreementMandatory\",\n options: _vm.booleanOptions,\n fieldLabel: \"Sözleşme Kontrolü gerekli mi?\",\n placeholder: \"isAgreementMandatory Seç\",\n \"selected-id\": _vm.selectedMandatoryGroupVal.code,\n },\n on: { change: _vm.changeIsAgreementMandatoryGroup },\n model: {\n value: _vm.selectedMandatoryGroupVal,\n callback: function ($$v) {\n _vm.selectedMandatoryGroupVal = $$v\n },\n expression: \"selectedMandatoryGroupVal\",\n },\n }),\n _c(\"base-select\", {\n attrs: {\n value: _vm.selectedLevelGroupVal,\n id: \"isHighLevel\",\n options: _vm.booleanOptions,\n fieldLabel: \"Alınabilecek en yüksek paket mi?\",\n placeholder: \"isHighLevel Seç\",\n \"selected-id\": _vm.selectedLevelGroupVal.code,\n },\n on: { change: _vm.changeIsHighLevelGroup },\n model: {\n value: _vm.selectedLevelGroupVal,\n callback: function ($$v) {\n _vm.selectedLevelGroupVal = $$v\n },\n expression: \"selectedLevelGroupVal\",\n },\n }),\n _c(\"base-select\", {\n attrs: {\n value: _vm.selectedPurchasableGroupVal,\n id: \"isExternalPurchasable\",\n options: _vm.booleanOptions,\n fieldLabel: \"Harici Terminal ile alınabilir mi?\",\n placeholder: \"isExternalPurchasable Seç\",\n \"selected-id\": _vm.selectedPurchasableGroupVal.code,\n },\n on: { change: _vm.changeIsExternalPurchasableGroup },\n model: {\n value: _vm.selectedPurchasableGroupVal,\n callback: function ($$v) {\n _vm.selectedPurchasableGroupVal = $$v\n },\n expression: \"selectedPurchasableGroupVal\",\n },\n }),\n _c(\"base-select\", {\n attrs: {\n value: _vm.selectedIsConnectedToMainProduct,\n id: \"isConnectedMainProduct\",\n options: _vm.booleanOptions,\n fieldLabel: \"Ana Ürüne Bağlanacak mı?\",\n placeholder: \"Ana Ürüne Bağlanacak mı?\",\n \"selected-id\": _vm.selectedIsConnectedToMainProduct.code,\n },\n on: { change: _vm.changeIsConnectedMainProduct },\n model: {\n value: _vm.selectedIsConnectedToMainProduct,\n callback: function ($$v) {\n _vm.selectedIsConnectedToMainProduct = $$v\n },\n expression: \"selectedIsConnectedToMainProduct\",\n },\n }),\n _c(\"base-input\", {\n class: { \"is-invalid\": _vm.$v.formItems.price.$error },\n attrs: {\n inputType: \"number\",\n labelText: \"Fiyat\",\n id: \"algoPrice\",\n value: \"formItems.price\",\n allowDecimals: true,\n },\n on: {\n input: function ($event) {\n return _vm.$v.formItems.price.$touch()\n },\n change: function ($event) {\n return _vm.calculate(_vm.formItems.price)\n },\n },\n model: {\n value: _vm.formItems.price,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"price\", $$v)\n },\n expression: \"formItems.price\",\n },\n }),\n _vm.$v.formItems.price.$error\n ? _c(\"div\", [\n _vm.$v.formItems.price.$invalid\n ? _c(\"p\", { staticClass: \"invalid-feedback\" }, [\n _vm._v(\" \" + _vm._s(_vm.invalidMessage) + \" \"),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n _c(\"base-input\", {\n class: {\n \"is-invalid\": _vm.$v.formItems.priceCostMultiplier.$error,\n },\n attrs: {\n inputType: \"number\",\n labelText: \"Fiyat Maliyet Çarpanı\",\n isDisabled: true,\n id: \"algoPriceCostMultiplier\",\n },\n on: {\n input: function ($event) {\n return _vm.$v.formItems.priceCostMultiplier.$touch()\n },\n },\n model: {\n value: _vm.formItems.priceCostMultiplier,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"priceCostMultiplier\", $$v)\n },\n expression: \"formItems.priceCostMultiplier\",\n },\n }),\n _vm.$v.formItems.priceCostMultiplier.$error\n ? _c(\"div\", [\n _vm.$v.formItems.priceCostMultiplier.$invalid\n ? _c(\"p\", { staticClass: \"invalid-feedback\" }, [\n _vm._v(\" \" + _vm._s(_vm.invalidMessage) + \" \"),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n _c(\"base-input\", {\n class: {\n \"is-invalid\": _vm.$v.formItems.screenPrice.$error,\n },\n attrs: {\n inputType: \"number\",\n labelText: \"Ekran Ücreti\",\n id: \"algoScreenPrice\",\n },\n on: {\n input: function ($event) {\n return _vm.$v.formItems.screenPrice.$touch()\n },\n },\n model: {\n value: _vm.formItems.screenPrice,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"screenPrice\", $$v)\n },\n expression: \"formItems.screenPrice\",\n },\n }),\n _vm.$v.formItems.screenPrice.$error\n ? _c(\"div\", [\n _vm.$v.formItems.screenPrice.$invalid\n ? _c(\"p\", { staticClass: \"invalid-feedback\" }, [\n _vm._v(\" \" + _vm._s(_vm.invalidMessage) + \" \"),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n _c(\"base-input\", {\n class: {\n \"is-invalid\": _vm.$v.formItems.cost.$error,\n },\n attrs: {\n inputType: \"number\",\n labelText: \"Maliyet\",\n id: \"algoCost\",\n },\n on: {\n input: function ($event) {\n return _vm.$v.formItems.cost.$touch()\n },\n },\n model: {\n value: _vm.formItems.cost,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"cost\", $$v)\n },\n expression: \"formItems.cost\",\n },\n }),\n _vm.$v.formItems.cost.$error\n ? _c(\"div\", [\n _vm.$v.formItems.cost.$invalid\n ? _c(\"p\", { staticClass: \"invalid-feedback\" }, [\n _vm._v(\" \" + _vm._s(_vm.invalidMessage) + \" \"),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n _c(\"base-input\", {\n class: {\n \"is-invalid\": _vm.$v.formItems.fundAmount.$error,\n },\n attrs: {\n inputType: \"number\",\n labelText: \"Fon Miktarı\",\n isDisabled: true,\n id: \"algoFundAmount\",\n },\n on: {\n input: function ($event) {\n return _vm.$v.formItems.fundAmount.$touch()\n },\n },\n model: {\n value: _vm.formItems.fundAmount,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"fundAmount\", $$v)\n },\n expression: \"formItems.fundAmount\",\n },\n }),\n _vm.$v.formItems.fundAmount.$error\n ? _c(\"div\", [\n _vm.$v.formItems.fundAmount.$invalid\n ? _c(\"p\", { staticClass: \"invalid-feedback\" }, [\n _vm._v(\" \" + _vm._s(_vm.invalidMessage) + \" \"),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n _c(\"base-input\", {\n class: {\n \"is-invalid\": _vm.$v.formItems.commissionAmount.$error,\n },\n attrs: {\n inputType: \"number\",\n labelText: \"Komisyon Miktarı\",\n isDisabled: true,\n id: \"algoCommissionAmount\",\n },\n on: {\n input: function ($event) {\n return _vm.$v.formItems.commissionAmount.$touch()\n },\n },\n model: {\n value: _vm.formItems.commissionAmount,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"commissionAmount\", $$v)\n },\n expression: \"formItems.commissionAmount\",\n },\n }),\n !_vm.$v.formItems.commissionAmount.required\n ? _c(\"div\", { staticClass: \"invalid-feedback\" })\n : _vm._e(),\n _vm._l(_vm.additionalWarnings, function (item, index) {\n return _c(\n \"div\",\n { key: index, staticClass: \"grouped-container with-button\" },\n [\n _c(\"base-input\", {\n attrs: {\n inputType: \"text\",\n labelText: \"Uyarılar\",\n id: \"algoVdProducrtWarnings\",\n },\n model: {\n value: _vm.additionalWarnings[index],\n callback: function ($$v) {\n _vm.$set(_vm.additionalWarnings, index, $$v)\n },\n expression: \"additionalWarnings[index]\",\n },\n }),\n index === 0\n ? _c(\n \"div\",\n {\n staticClass: \"add-button\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemoveAdditionalWarnings()\n },\n },\n },\n [_c(\"base-icon\", { attrs: { name: \"plus-circle\" } })],\n 1\n )\n : _c(\n \"div\",\n {\n staticClass: \"add-button remove\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemoveAdditionalWarnings(index)\n },\n },\n },\n [_c(\"base-icon\", { attrs: { name: \"close-colored\" } })],\n 1\n ),\n ],\n 1\n )\n }),\n _c(\"br\"),\n _c(\"photo-upload\", { attrs: { base64Img: _vm.setPhotoForForm } }),\n ],\n 2\n ),\n _c(\n \"div\",\n { staticClass: \"modal-bottom\" },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"giveUp\",\n on: {\n click: function ($event) {\n return _vm.$modal.hide(\"modal\")\n },\n },\n },\n [_vm._v(\"Vazgeç\")]\n ),\n _c(\n \"base-button\",\n {\n staticClass: \"add\",\n class: { disabled: _vm.$v.$invalid },\n attrs: { disabled: _vm.$v.$invalid },\n on: { click: _vm.sendForm },\n },\n [_vm._v(\"Kaydet\")]\n ),\n ],\n 1\n ),\n ]),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/AlgoDefinitionForm.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225a848ef0-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
180
180
 
181
181
  /***/ }),
182
182
 
@@ -212,7 +212,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
212
212
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
213
213
 
214
214
  "use strict";
215
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"table-wrapper\" },\n [\n _c(\n \"div\",\n {\n staticClass: \"button-container\",\n class:\n _vm.headerParentId == 7 ||\n _vm.headerParentId == 8 ||\n _vm.headerParentId == 6\n ? \"d-flex\"\n : \"\",\n },\n [\n _vm.showAddBtn\n ? _c(\n \"base-button\",\n { staticClass: \"new-btn\", on: { click: _vm.newItem } },\n [_vm._v(_vm._s(_vm.label) + \" Ekle\")]\n )\n : _vm._e(),\n _vm.headerParentId == 7 ||\n _vm.headerParentId == 8 ||\n _vm.headerParentId == 6\n ? _c(\"div\", { staticClass: \"filter-future-date\" }, [\n _c(\"h5\", [_vm._v(\"Tarih Filtresi\")]),\n _c(\n \"div\",\n { staticClass: \"filter-wrapper\" },\n [\n _c(\n \"button\",\n {\n staticClass: \"prev\",\n on: {\n click: function ($event) {\n return _vm.monthToggle(\"prev\")\n },\n },\n },\n [_c(\"base-icon\", { attrs: { name: \"arrow-fat-left\" } })],\n 1\n ),\n _c(\"date-picker\", {\n attrs: {\n defaultValue: new Date(),\n clearable: false,\n type: \"month\",\n placeholder:\n _vm.headerParentId === 6 &&\n _vm.getManagementAlgoFilter\n ? _vm.getManagementAlgoFilter.year +\n \"-\" +\n _vm.getManagementAlgoFilter.month\n : _vm.headerParentId === 7 &&\n _vm.getManagementProductFilter\n ? _vm.getManagementProductFilter.year +\n \"-\" +\n _vm.getManagementProductFilter.month\n : _vm.headerParentId === 8 &&\n _vm.getManagementResearchFilter\n ? _vm.getManagementResearchFilter.year +\n \"-\" +\n _vm.getManagementResearchFilter.month\n : \"\",\n },\n on: { change: _vm.calenderChanged },\n model: {\n value: _vm.filterDate,\n callback: function ($$v) {\n _vm.filterDate = $$v\n },\n expression: \"filterDate\",\n },\n }),\n _c(\n \"button\",\n {\n staticClass: \"next\",\n on: {\n click: function ($event) {\n return _vm.monthToggle(\"next\")\n },\n },\n },\n [_c(\"base-icon\", { attrs: { name: \"arrow-fat-right\" } })],\n 1\n ),\n ],\n 1\n ),\n _vm.headerParentId == 6\n ? _c(\"h4\", [\n _c(\"span\", [\n _vm._v(\n \"Listelenen Tarih: \" +\n _vm._s(_vm.getManagementAlgoFilter.month) +\n \" / \" +\n _vm._s(_vm.getManagementAlgoFilter.year)\n ),\n ]),\n ])\n : _vm.headerParentId == 7\n ? _c(\"h4\", [\n _c(\"span\", [\n _vm._v(\n \"Listelenen Tarih: \" +\n _vm._s(_vm.getManagementProductFilter.month) +\n \" / \" +\n _vm._s(_vm.getManagementProductFilter.year)\n ),\n ]),\n ])\n : _vm.headerParentId == 8\n ? _c(\"h4\", [\n _c(\"span\", [\n _vm._v(\n \"Listelenen Tarih: \" +\n _vm._s(_vm.getManagementResearchFilter.month) +\n \" / \" +\n _vm._s(_vm.getManagementResearchFilter.year)\n ),\n ]),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"table-container\" }, [\n _c(\n \"table\",\n [\n _c(\"caption\"),\n _c(\n \"tr\",\n [\n _vm.haveSort ? _c(\"th\", [_vm._v(\"Sıra\")]) : _vm._e(),\n _vm._l(_vm.tableHeader, function (item, index) {\n return _c(\"th\", { key: index, attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(item.title)),\n ])\n }),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"İşlem\")]),\n ],\n 2\n ),\n _vm._l(_vm.tableData, function (item, index) {\n return _c(\n \"tr\",\n { key: index },\n [\n _vm.haveSort\n ? _c(\"td\", [\n _c(\"div\", { staticClass: \"order-container\" }, [\n _c(\n \"div\",\n {\n staticClass: \"icon-container\",\n on: {\n click: function ($event) {\n return _vm.changeSortByLocal(\n \"up\",\n item,\n index,\n _vm.tableData.length - 1\n )\n },\n },\n },\n [\n _c(\"base-icon\", {\n attrs: {\n \"class-name\":\n index === 0\n ? \"sort-icon-style disabled-style\"\n : \"sort-icon-style\",\n name: \"order-arrow-up\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n {\n staticClass: \"icon-container\",\n on: {\n click: function ($event) {\n return _vm.changeSortByLocal(\n \"down\",\n item,\n index,\n _vm.tableData.length - 1\n )\n },\n },\n },\n [\n _c(\"base-icon\", {\n attrs: {\n \"class-name\":\n index === _vm.tableData.length - 1\n ? \"sort-icon-style disabled-style\"\n : \"sort-icon-style\",\n name: \"order-arrow-down\",\n },\n }),\n ],\n 1\n ),\n ]),\n ])\n : _vm._e(),\n _vm._l(_vm.tableHeader, function (dataItem, columnIndex) {\n return _c(\n \"td\",\n { key: columnIndex, attrs: { scope: \"row\" } },\n [\n dataItem.column === \"priceType\" &&\n item[dataItem.column] == \"1\"\n ? _c(\"span\", [_vm._v(\"₺\")])\n : dataItem.column === \"priceType\" &&\n item[dataItem.column] == \"2\"\n ? _c(\"span\", [_vm._v(\"$\")])\n : dataItem.column === \"priceType\" &&\n item[dataItem.column] == \"3\"\n ? _c(\"span\", [_vm._v(\"€\")])\n : _c(\"span\", [_vm._v(_vm._s(item[dataItem.column]))]),\n ]\n )\n }),\n _c(\"td\", { attrs: { scope: \"row\" } }, [\n _c(\n \"div\",\n [\n _vm.headerParentId != 6 &&\n _vm.headerParentId != 7 &&\n _vm.headerParentId != 8\n ? _c(\n \"span\",\n [\n _c(\n \"base-button\",\n {\n staticClass: \"little-btn\",\n on: {\n click: function ($event) {\n return _vm.edit(item)\n },\n },\n },\n [_vm._v(\"Düzenle\")]\n ),\n ],\n 1\n )\n : _vm._e(),\n item.isActiveVersion || item.isActive\n ? _c(\n \"span\",\n [\n _vm.headerParentId == 6 &&\n item.isActiveVersion != false\n ? _c(\n \"base-button\",\n {\n staticClass: \"little-btn blue\",\n on: {\n click: function ($event) {\n return _vm.showModal(\n \"\" + item.id,\n \"\" + item.name,\n \"\" + item.id,\n \"\" + item.id,\n \"\" + item.application.id\n )\n },\n },\n },\n [_vm._v(\"Çoğalt\")]\n )\n : _vm.headerParentId == 7 &&\n item.isActiveVersion != false\n ? _c(\n \"base-button\",\n {\n staticClass: \"little-btn blue\",\n on: {\n click: function ($event) {\n return _vm.showModal(\n \"\" + item.id,\n item.applicationTypeName +\n \" / \" +\n item.name +\n \" / \" +\n item.platformName +\n \" / \" +\n item.marketName,\n \"\" + item.platform.id,\n \"\" + item.id\n )\n },\n },\n },\n [_vm._v(\"Çoğalt\")]\n )\n : _vm.headerParentId == 8 &&\n item.isActiveVersion != false\n ? _c(\n \"base-button\",\n {\n staticClass: \"little-btn blue\",\n on: {\n click: function ($event) {\n return _vm.showModal(\n \"\" + item.id,\n \"\" + item.name,\n \"\" + item.id,\n \"\" + item.id\n )\n },\n },\n },\n [_vm._v(\"Çoğalt\")]\n )\n : _vm._e(),\n item.isActiveVersion != false\n ? _c(\n \"base-button\",\n {\n staticClass: \"little-btn\",\n on: {\n click: function ($event) {\n return _vm.edit(item)\n },\n },\n },\n [_vm._v(\"Düzenle\")]\n )\n : _vm._e(),\n _vm.headerParentId == 6 ||\n _vm.headerParentId == 7 ||\n _vm.headerParentId == 8\n ? _c(\n \"base-button\",\n {\n staticClass: \"little-btn orange\",\n on: {\n click: function ($event) {\n return _vm.togglePackageActivation(\n _vm.headerParentId == 7\n ? item.platform.id\n : item.id,\n \"deactivate\"\n )\n },\n },\n },\n [_vm._v(\"Paketi İptal Et\")]\n )\n : _vm._e(),\n ],\n 1\n )\n : _c(\n \"span\",\n [\n _vm.headerParentId == 6 ||\n _vm.headerParentId == 7 ||\n _vm.headerParentId == 8\n ? _c(\n \"base-button\",\n {\n staticClass: \"little-btn blue\",\n on: {\n click: function ($event) {\n return _vm.togglePackageActivation(\n _vm.headerParentId == 7\n ? item.platform.id\n : item.id,\n \"activate\"\n )\n },\n },\n },\n [_vm._v(\"Paketi Aktif Et\")]\n )\n : _vm._e(),\n ],\n 1\n ),\n _vm.showRemoveBtn\n ? _c(\n \"base-button\",\n {\n staticClass: \"little-btn red\",\n on: {\n click: function ($event) {\n return _vm.remove(item)\n },\n },\n },\n [\n _vm.headerParentId == 6 ||\n _vm.headerParentId == 7 ||\n _vm.headerParentId == 8\n ? _c(\"span\", [_vm._v(\"Kaydı Sil\")])\n : _c(\"span\", [_vm._v(\"Sil\")]),\n ]\n )\n : _vm._e(),\n ],\n 1\n ),\n ]),\n ],\n 2\n )\n }),\n ],\n 2\n ),\n ]),\n _c(\n \"modal\",\n {\n staticClass: \"dublicator-modal\",\n attrs: { height: \"auto\", name: _vm.modalId },\n },\n [\n _c(\"div\", { staticClass: \"modal-heading\" }, [\n _c(\"div\", { staticClass: \"modal-title\" }, [\n _c(\"h5\", [_vm._v(\"Çoğaltma işlemi\")]),\n ]),\n _c(\n \"a\",\n {\n on: {\n click: function ($event) {\n return _vm.closeModal(_vm.modalId)\n },\n },\n },\n [\n _c(\"base-icon\", {\n staticClass: \"close\",\n attrs: { name: \"close-circle\" },\n }),\n ],\n 1\n ),\n ]),\n _c(\"div\", { staticClass: \"modal-body\" }, [\n _c(\"div\", { staticClass: \"modal-body__top\" }, [\n _c(\n \"div\",\n { staticClass: \"modal-body__info\" },\n [\n _c(\"span\", { staticClass: \"title\" }, [_vm._v(\"Seçilen:\")]),\n _c(\"span\", { staticClass: \"block-quote\" }, [\n _vm._v(_vm._s(_vm.modalName)),\n ]),\n _c(\"span\", { staticClass: \"title\" }, [\n _vm._v(\"Çoğaltmak istediğiniz ürün için tarih seçiniz:\"),\n ]),\n _c(\"br\"),\n _c(\"date-picker\", {\n attrs: {\n type: \"month\",\n placeholder: \"Tarih seçiniz\",\n \"disabled-date\": _vm.disabledBeforeTodayAndAfterAWeek,\n },\n on: { change: _vm.modalCalenderChanged },\n model: {\n value: _vm.modal.month,\n callback: function ($$v) {\n _vm.$set(_vm.modal, \"month\", $$v)\n },\n expression: \"modal.month\",\n },\n }),\n _c(\"span\"),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"modal-body__detail\" }, [\n _c(\"div\", [_vm._v(\"İşlemi onaylıyor musunuz?\")]),\n ]),\n ]),\n ]),\n _c(\n \"div\",\n { staticClass: \"modal-bottom\" },\n [\n _c(\n \"base-button\",\n {\n class: {\n disabled:\n _vm.modal.isButtonClicked ||\n (_vm.modal.payload.month == null &&\n _vm.modal.payload.year == null),\n },\n on: {\n click: function ($event) {\n return _vm.copyItem()\n },\n },\n },\n [_vm._v(\"Evet\")]\n ),\n _c(\n \"base-button\",\n {\n staticClass: \"warning\",\n on: {\n click: function ($event) {\n return _vm.closeModal(_vm.modalId)\n },\n },\n },\n [_vm._v(\"Hayır\")]\n ),\n ],\n 1\n ),\n ]\n ),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/GenericTable.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225a848ef0-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
215
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"table-wrapper\" },\n [\n _c(\n \"div\",\n {\n staticClass: \"button-container\",\n class:\n _vm.headerParentId == 7 ||\n _vm.headerParentId == 8 ||\n _vm.headerParentId == 6\n ? \"d-flex\"\n : \"\",\n },\n [\n _vm.showAddBtn\n ? _c(\n \"base-button\",\n { staticClass: \"new-btn\", on: { click: _vm.newItem } },\n [_vm._v(_vm._s(_vm.label) + \" Ekle\")]\n )\n : _vm._e(),\n _vm.headerParentId == 7 ||\n _vm.headerParentId == 8 ||\n _vm.headerParentId == 6\n ? _c(\"div\", { staticClass: \"filter-future-date\" }, [\n _c(\"h5\", [_vm._v(\"Tarih Filtresi\")]),\n _c(\n \"div\",\n { staticClass: \"filter-wrapper\" },\n [\n _c(\n \"button\",\n {\n staticClass: \"prev\",\n on: {\n click: function ($event) {\n return _vm.monthToggle(\"prev\")\n },\n },\n },\n [_c(\"base-icon\", { attrs: { name: \"arrow-fat-left\" } })],\n 1\n ),\n _c(\"date-picker\", {\n attrs: {\n defaultValue: new Date(),\n clearable: false,\n type: \"month\",\n placeholder:\n _vm.headerParentId === 6 &&\n _vm.getManagementAlgoFilter\n ? _vm.getManagementAlgoFilter.year +\n \"-\" +\n _vm.getManagementAlgoFilter.month\n : _vm.headerParentId === 7 &&\n _vm.getManagementProductFilter\n ? _vm.getManagementProductFilter.year +\n \"-\" +\n _vm.getManagementProductFilter.month\n : _vm.headerParentId === 8 &&\n _vm.getManagementResearchFilter\n ? _vm.getManagementResearchFilter.year +\n \"-\" +\n _vm.getManagementResearchFilter.month\n : \"\",\n },\n on: { change: _vm.calenderChanged },\n model: {\n value: _vm.filterDate,\n callback: function ($$v) {\n _vm.filterDate = $$v\n },\n expression: \"filterDate\",\n },\n }),\n _c(\n \"button\",\n {\n staticClass: \"next\",\n on: {\n click: function ($event) {\n return _vm.monthToggle(\"next\")\n },\n },\n },\n [_c(\"base-icon\", { attrs: { name: \"arrow-fat-right\" } })],\n 1\n ),\n ],\n 1\n ),\n _vm.headerParentId == 6\n ? _c(\"h4\", [\n _c(\"span\", [\n _vm._v(\n \" Listelenen Tarih: \" +\n _vm._s(_vm.getManagementAlgoFilter.month) +\n \" / \" +\n _vm._s(_vm.getManagementAlgoFilter.year) +\n \" \"\n ),\n ]),\n ])\n : _vm.headerParentId == 7\n ? _c(\"h4\", [\n _c(\"span\", [\n _vm._v(\n \" Listelenen Tarih: \" +\n _vm._s(_vm.getManagementProductFilter.month) +\n \" / \" +\n _vm._s(_vm.getManagementProductFilter.year) +\n \" \"\n ),\n ]),\n ])\n : _vm.headerParentId == 8\n ? _c(\"h4\", [\n _c(\"span\", [\n _vm._v(\n \" Listelenen Tarih: \" +\n _vm._s(_vm.getManagementResearchFilter.month) +\n \" / \" +\n _vm._s(_vm.getManagementResearchFilter.year) +\n \" \"\n ),\n ]),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"table-container\" }, [\n _c(\n \"table\",\n [\n _c(\"caption\"),\n _c(\n \"tr\",\n [\n _vm.haveSort ? _c(\"th\", [_vm._v(\"Sıra\")]) : _vm._e(),\n _vm._l(_vm.tableHeader, function (item, index) {\n return _c(\"th\", { key: index, attrs: { scope: \"col\" } }, [\n _vm._v(\" \" + _vm._s(item.title) + \" \"),\n ])\n }),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"İşlem\")]),\n ],\n 2\n ),\n _vm._l(_vm.tableData, function (item, index) {\n return _c(\n \"tr\",\n { key: index },\n [\n _vm.haveSort\n ? _c(\"td\", [\n _c(\"div\", { staticClass: \"order-container\" }, [\n _c(\n \"div\",\n {\n staticClass: \"icon-container\",\n on: {\n click: function ($event) {\n return _vm.changeSortByLocal(\n \"up\",\n item,\n index,\n _vm.tableData.length - 1\n )\n },\n },\n },\n [\n _c(\"base-icon\", {\n attrs: {\n \"class-name\":\n index === 0\n ? \"sort-icon-style disabled-style\"\n : \"sort-icon-style\",\n name: \"order-arrow-up\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n {\n staticClass: \"icon-container\",\n on: {\n click: function ($event) {\n return _vm.changeSortByLocal(\n \"down\",\n item,\n index,\n _vm.tableData.length - 1\n )\n },\n },\n },\n [\n _c(\"base-icon\", {\n attrs: {\n \"class-name\":\n index === _vm.tableData.length - 1\n ? \"sort-icon-style disabled-style\"\n : \"sort-icon-style\",\n name: \"order-arrow-down\",\n },\n }),\n ],\n 1\n ),\n ]),\n ])\n : _vm._e(),\n _vm._l(_vm.tableHeader, function (dataItem, columnIndex) {\n return _c(\"td\", { key: columnIndex }, [\n dataItem.column === \"priceType\" &&\n item[dataItem.column] == \"1\"\n ? _c(\"span\", [_vm._v(\"₺\")])\n : dataItem.column === \"priceType\" &&\n item[dataItem.column] == \"2\"\n ? _c(\"span\", [_vm._v(\"$\")])\n : dataItem.column === \"priceType\" &&\n item[dataItem.column] == \"3\"\n ? _c(\"span\", [_vm._v(\"€\")])\n : _c(\"span\", [_vm._v(_vm._s(item[dataItem.column]))]),\n ])\n }),\n _c(\"td\", [\n _c(\n \"div\",\n [\n _vm.headerParentId != 6 &&\n _vm.headerParentId != 7 &&\n _vm.headerParentId != 8\n ? _c(\n \"span\",\n [\n _c(\n \"base-button\",\n {\n staticClass: \"little-btn\",\n on: {\n click: function ($event) {\n return _vm.edit(item)\n },\n },\n },\n [_vm._v(\"Düzenle\")]\n ),\n ],\n 1\n )\n : _vm._e(),\n item.isActiveVersion || item.isActive\n ? _c(\n \"span\",\n [\n _vm.headerParentId == 6 &&\n item.isActiveVersion != false\n ? _c(\n \"base-button\",\n {\n staticClass: \"little-btn blue\",\n on: {\n click: function ($event) {\n return _vm.showModal(\n \"\" + item.id,\n \"\" + item.name,\n \"\" + item.id,\n \"\" + item.id,\n \"\" + item.application.id\n )\n },\n },\n },\n [_vm._v(\"Çoğalt\")]\n )\n : _vm.headerParentId == 7 &&\n item.isActiveVersion != false\n ? _c(\n \"base-button\",\n {\n staticClass: \"little-btn blue\",\n on: {\n click: function ($event) {\n return _vm.showModal(\n \"\" + item.id,\n item.applicationTypeName +\n \" / \" +\n item.name +\n \" / \" +\n item.platformName +\n \" / \" +\n item.marketName,\n \"\" + item.platform.id,\n \"\" + item.id\n )\n },\n },\n },\n [_vm._v(\"Çoğalt\")]\n )\n : _vm.headerParentId == 8 &&\n item.isActiveVersion != false\n ? _c(\n \"base-button\",\n {\n staticClass: \"little-btn blue\",\n on: {\n click: function ($event) {\n return _vm.showModal(\n \"\" + item.id,\n \"\" + item.name,\n \"\" + item.id,\n \"\" + item.id\n )\n },\n },\n },\n [_vm._v(\"Çoğalt\")]\n )\n : _vm._e(),\n item.isActiveVersion != false\n ? _c(\n \"base-button\",\n {\n staticClass: \"little-btn\",\n on: {\n click: function ($event) {\n return _vm.edit(item)\n },\n },\n },\n [_vm._v(\"Düzenle\")]\n )\n : _vm._e(),\n _vm.headerParentId == 6 ||\n _vm.headerParentId == 7 ||\n _vm.headerParentId == 8\n ? _c(\n \"base-button\",\n {\n staticClass: \"little-btn orange\",\n on: {\n click: function ($event) {\n return _vm.togglePackageActivation(\n _vm.headerParentId == 7\n ? item.platform.id\n : item.id,\n \"deactivate\"\n )\n },\n },\n },\n [_vm._v(\"Paketi İptal Et\")]\n )\n : _vm._e(),\n ],\n 1\n )\n : _c(\n \"span\",\n [\n _vm.headerParentId == 6 ||\n _vm.headerParentId == 7 ||\n _vm.headerParentId == 8\n ? _c(\n \"base-button\",\n {\n staticClass: \"little-btn blue\",\n on: {\n click: function ($event) {\n return _vm.togglePackageActivation(\n _vm.headerParentId == 7\n ? item.platform.id\n : item.id,\n \"activate\"\n )\n },\n },\n },\n [_vm._v(\"Paketi Aktif Et\")]\n )\n : _vm._e(),\n ],\n 1\n ),\n _vm.showRemoveBtn\n ? _c(\n \"base-button\",\n {\n staticClass: \"little-btn red\",\n on: {\n click: function ($event) {\n return _vm.remove(item)\n },\n },\n },\n [\n _vm.headerParentId == 6 ||\n _vm.headerParentId == 7 ||\n _vm.headerParentId == 8\n ? _c(\"span\", [_vm._v(\"Kaydı Sil\")])\n : _c(\"span\", [_vm._v(\"Sil\")]),\n ]\n )\n : _vm._e(),\n ],\n 1\n ),\n ]),\n ],\n 2\n )\n }),\n ],\n 2\n ),\n ]),\n _c(\n \"modal\",\n {\n staticClass: \"dublicator-modal\",\n attrs: { height: \"auto\", name: _vm.modalId },\n },\n [\n _c(\"div\", { staticClass: \"modal-heading\" }, [\n _c(\"div\", { staticClass: \"modal-title\" }, [\n _c(\"h5\", [_vm._v(\"Çoğaltma işlemi\")]),\n ]),\n _c(\n \"a\",\n {\n on: {\n click: function ($event) {\n return _vm.closeModal(_vm.modalId)\n },\n },\n },\n [\n _c(\"base-icon\", {\n staticClass: \"close\",\n attrs: { name: \"close-circle\" },\n }),\n ],\n 1\n ),\n ]),\n _c(\"div\", { staticClass: \"modal-body\" }, [\n _c(\"div\", { staticClass: \"modal-body__top\" }, [\n _c(\n \"div\",\n { staticClass: \"modal-body__info\" },\n [\n _c(\"span\", { staticClass: \"title\" }, [_vm._v(\"Seçilen:\")]),\n _c(\"span\", { staticClass: \"block-quote\" }, [\n _vm._v(_vm._s(_vm.modalName)),\n ]),\n _c(\"span\", { staticClass: \"title\" }, [\n _vm._v(\"Çoğaltmak istediğiniz ürün için tarih seçiniz:\"),\n ]),\n _c(\"br\"),\n _c(\"date-picker\", {\n attrs: {\n type: \"month\",\n placeholder: \"Tarih seçiniz\",\n \"disabled-date\": _vm.disabledBeforeTodayAndAfterAWeek,\n },\n on: { change: _vm.modalCalenderChanged },\n model: {\n value: _vm.modal.month,\n callback: function ($$v) {\n _vm.$set(_vm.modal, \"month\", $$v)\n },\n expression: \"modal.month\",\n },\n }),\n _c(\"span\"),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"modal-body__detail\" }, [\n _c(\"div\", [_vm._v(\"İşlemi onaylıyor musunuz?\")]),\n ]),\n ]),\n ]),\n _c(\n \"div\",\n { staticClass: \"modal-bottom\" },\n [\n _c(\n \"base-button\",\n {\n class: {\n disabled:\n _vm.modal.isButtonClicked ||\n (_vm.modal.payload.month == null &&\n _vm.modal.payload.year == null),\n },\n on: {\n click: function ($event) {\n return _vm.copyItem()\n },\n },\n },\n [_vm._v(\"Evet\")]\n ),\n _c(\n \"base-button\",\n {\n staticClass: \"warning\",\n on: {\n click: function ($event) {\n return _vm.closeModal(_vm.modalId)\n },\n },\n },\n [_vm._v(\"Hayır\")]\n ),\n ],\n 1\n ),\n ]\n ),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/GenericTable.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225a848ef0-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
216
216
 
217
217
  /***/ }),
218
218
 
@@ -272,7 +272,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
272
272
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
273
273
 
274
274
  "use strict";
275
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"product-describing-form\" }, [\n _c(\"div\", { staticClass: \"main-container\" }, [\n _c(\n \"form\",\n {\n on: {\n submit: function ($event) {\n $event.preventDefault()\n return _vm.submitForm()\n },\n },\n },\n [\n _c(\"div\", { staticClass: \"grid-container first\" }, [\n _c(\n \"div\",\n { staticClass: \"item\" },\n [\n _c(\"base-select\", {\n attrs: {\n id: \"applicationTypes\",\n options: _vm.applicationTypes.filter(function (x) {\n return x.code !== 3 && x.code !== 4\n }),\n fieldLabel: \"Veri Grubu\",\n placeholder: \"Seçiniz\",\n clearable: false,\n \"selected-id\": _vm.formItems.applicationTypeId,\n error: _vm.$v.formItems.applicationTypeId.$error,\n },\n model: {\n value: _vm.formItems.applicationTypeId,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"applicationTypeId\", $$v)\n },\n expression: \"formItems.applicationTypeId\",\n },\n }),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"item\" }, [\n !_vm.formItems.id\n ? _c(\n \"div\",\n [\n _c(\"base-select\", {\n attrs: {\n id: \"application\",\n options: _vm.applications,\n fieldLabel: \"İşlem Platformu\",\n placeholder: \"Seçiniz\",\n clearable: false,\n \"selected-id\": _vm.formItems.applicationId,\n error: _vm.$v.formItems.applicationId.$error,\n },\n model: {\n value: _vm.formItems.applicationId,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"applicationId\", $$v)\n },\n expression: \"formItems.applicationId\",\n },\n }),\n ],\n 1\n )\n : _c(\"div\", { staticClass: \"disable-selectbox\" }, [\n _c(\"p\", { staticClass: \"form-control-label\" }, [\n _vm._v(\"Vendor\"),\n ]),\n _c(\"ul\", [_c(\"li\", [_vm._v(_vm._s(_vm.formItems.name))])]),\n ]),\n ]),\n ]),\n _c(\"div\", { staticClass: \"grouped-container\" }, [\n _c(\"div\", { staticClass: \"title\" }, [_vm._v(\"İşlem Yeri\")]),\n _c(\"div\", { staticClass: \"input-container\" }, [\n _c(\"div\", { staticClass: \"grid-container\" }, [\n _c(\"div\", { staticClass: \"item\" }, [\n !_vm.formItems.id\n ? _c(\n \"div\",\n [\n _c(\"base-select\", {\n attrs: {\n options: _vm.platforms,\n fieldLabel: \"İşlem Yeri\",\n placeholder: \"Seçiniz\",\n clearable: false,\n \"selected-id\": _vm.formItems.platform.platformId,\n error:\n _vm.$v.formItems.platform.platformId.$error,\n },\n model: {\n value: _vm.formItems.platform.platformId,\n callback: function ($$v) {\n _vm.$set(\n _vm.formItems.platform,\n \"platformId\",\n $$v\n )\n },\n expression: \"formItems.platform.platformId\",\n },\n }),\n ],\n 1\n )\n : _c(\"div\", { staticClass: \"disable-selectbox\" }, [\n _c(\"p\", [_vm._v(\"İşlem Yeri\")]),\n _c(\"ul\", [\n _c(\"li\", [\n _vm._v(_vm._s(_vm.formItems.platform.name)),\n ]),\n ]),\n ]),\n ]),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Maliyet\",\n cssClass: \"input-style\",\n error: _vm.$v.formItems.platform.cost.$error,\n },\n model: {\n value: _vm.formItems.platform.cost,\n callback: function ($$v) {\n _vm.$set(_vm.formItems.platform, \"cost\", $$v)\n },\n expression: \"formItems.platform.cost\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Fiyat\",\n cssClass: \"input-style\",\n error: _vm.$v.formItems.platform.price.$error,\n },\n on: {\n change: function ($event) {\n return _vm.calculate(null, null, \"platform\")\n },\n },\n model: {\n value: _vm.formItems.platform.price,\n callback: function ($$v) {\n _vm.$set(_vm.formItems.platform, \"price\", $$v)\n },\n expression: \"formItems.platform.price\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"text\",\n labelText: \"Çarpan Değeri\",\n cssClass: \"input-style\",\n isDisabled: true,\n },\n model: {\n value: _vm.priceMultiplier,\n callback: function ($$v) {\n _vm.priceMultiplier = $$v\n },\n expression: \"priceMultiplier\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"text\",\n labelText: \"BES ve FON Büyüklüğü\",\n cssClass: \"input-style\",\n isDisabled: true,\n error: _vm.$v.formItems.platform.fundAmount.$error,\n },\n model: {\n value: _vm.formItems.platform.fundAmount,\n callback: function ($$v) {\n _vm.$set(_vm.formItems.platform, \"fundAmount\", $$v)\n },\n expression: \"formItems.platform.fundAmount\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Komisyon\",\n cssClass: \"input-style\",\n isDisabled: true,\n error:\n _vm.$v.formItems.platform.commissionAmount.$error,\n },\n model: {\n value: _vm.formItems.platform.commissionAmount,\n callback: function ($$v) {\n _vm.$set(\n _vm.formItems.platform,\n \"commissionAmount\",\n $$v\n )\n },\n expression: \"formItems.platform.commissionAmount\",\n },\n }),\n ],\n 1\n ),\n ]),\n ]),\n ]),\n _vm._l(_vm.licences, function (licenseData, index) {\n return _c(\n \"div\",\n { key: index, staticClass: \"grouped-container with-button\" },\n [\n _c(\"div\", { staticClass: \"title\" }, [\n _vm._v(\"Lisans Bilgileri\"),\n ]),\n _c(\"div\", { staticClass: \"input-container\" }, [\n _c(\"div\", { staticClass: \"grid-container\" }, [\n _c(\n \"div\",\n { staticClass: \"item short\" },\n [\n _c(\"base-select\", {\n attrs: {\n options: _vm.markets,\n fieldLabel: \"Piyasa\",\n placeholder: \"Seçiniz\",\n clearable: false,\n \"selected-id\": licenseData.licenceId,\n error:\n _vm.$v.formItems.licences.$each[index].licenceId\n .$error,\n },\n on: {\n change: function ($event) {\n return _vm.setName(\n index,\n null,\n \"markets\",\n \"licenceId\"\n )\n },\n },\n model: {\n value: licenseData.licenceId,\n callback: function ($$v) {\n _vm.$set(licenseData, \"licenceId\", $$v)\n },\n expression: \"licenseData.licenceId\",\n },\n }),\n ],\n 1\n ),\n ]),\n ]),\n _vm._l(\n licenseData.perspectives,\n function (perspective, perspectivesIndex) {\n return _c(\n \"div\",\n {\n key: perspectivesIndex + \"-1\",\n staticClass: \"input-container\",\n },\n [\n _c(\n \"div\",\n {\n staticClass: \"grouped-container with-button inner\",\n },\n [\n _c(\"div\", { staticClass: \"title\" }, [\n _vm._v(\"Derinlik\"),\n ]),\n _c(\"div\", { staticClass: \"grid-container\" }, [\n _c(\n \"div\",\n { staticClass: \"item select-item\" },\n [\n _c(\"base-select\", {\n staticClass: \"item-select\",\n attrs: {\n options: _vm.perspectives,\n fieldLabel: \"Derinlik\",\n placeholder: \"Seçiniz\",\n clearable: false,\n \"selected-id\": perspective.perspectiveId,\n },\n on: {\n change: function ($event) {\n return _vm.setName(\n index,\n perspectivesIndex,\n \"perspectives\",\n \"perspectiveId\"\n )\n },\n },\n model: {\n value: perspective.perspectiveId,\n callback: function ($$v) {\n _vm.$set(\n perspective,\n \"perspectiveId\",\n $$v\n )\n },\n expression: \"perspective.perspectiveId\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Maliyet\",\n cssClass: \"input-style\",\n },\n model: {\n value: perspective.cost,\n callback: function ($$v) {\n _vm.$set(perspective, \"cost\", $$v)\n },\n expression: \"perspective.cost\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Fiyat\",\n cssClass: \"input-style\",\n },\n on: {\n change: function ($event) {\n return _vm.calculate(\n index,\n perspectivesIndex,\n \"perspectives\"\n )\n },\n },\n model: {\n value: perspective.price,\n callback: function ($$v) {\n _vm.$set(perspective, \"price\", $$v)\n },\n expression: \"perspective.price\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"text\",\n labelText: \"Çarpan Değeri\",\n isDisabled: true,\n cssClass: \"input-style\",\n },\n model: {\n value: _vm.priceMultiplier,\n callback: function ($$v) {\n _vm.priceMultiplier = $$v\n },\n expression: \"priceMultiplier\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"BES ve FON Büyüklüğü\",\n cssClass: \"input-style\",\n },\n model: {\n value: perspective.fundAmount,\n callback: function ($$v) {\n _vm.$set(perspective, \"fundAmount\", $$v)\n },\n expression: \"perspective.fundAmount\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Komisyon\",\n cssClass: \"input-style\",\n },\n model: {\n value: perspective.commissionAmount,\n callback: function ($$v) {\n _vm.$set(\n perspective,\n \"commissionAmount\",\n $$v\n )\n },\n expression:\n \"perspective.commissionAmount\",\n },\n }),\n ],\n 1\n ),\n ]),\n perspectivesIndex === 0\n ? _c(\n \"div\",\n {\n staticClass: \"add-button\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemovePerspective(\n index,\n null\n )\n },\n },\n },\n [\n _c(\"base-icon\", {\n attrs: { name: \"plus-circle\" },\n }),\n ],\n 1\n )\n : _c(\n \"div\",\n {\n staticClass: \"add-button remove\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemovePerspective(\n index,\n perspectivesIndex\n )\n },\n },\n },\n [\n _c(\"base-icon\", {\n attrs: { name: \"close-colored\" },\n }),\n ],\n 1\n ),\n ]\n ),\n ]\n )\n }\n ),\n _c(\"hr\"),\n _vm._l(licenseData.vendors, function (vendor, vendorIndex) {\n return _c(\n \"div\",\n { key: vendorIndex, staticClass: \"input-container\" },\n [\n _c(\n \"div\",\n { staticClass: \"grouped-container with-button inner\" },\n [\n _c(\"div\", { staticClass: \"title\" }, [_vm._v(\"AKD\")]),\n _c(\"div\", { staticClass: \"grid-container\" }, [\n _c(\n \"div\",\n { staticClass: \"item select-item\" },\n [\n _c(\"base-select\", {\n staticClass: \"item-select\",\n attrs: {\n options: _vm.vendors,\n fieldLabel: \"AKD\",\n placeholder: \"Seçiniz\",\n clearable: false,\n \"selected-id\": vendor.vendorId,\n },\n on: {\n change: function ($event) {\n return _vm.setName(\n index,\n vendorIndex,\n \"vendors\",\n \"vendorId\"\n )\n },\n },\n model: {\n value: vendor.vendorId,\n callback: function ($$v) {\n _vm.$set(vendor, \"vendorId\", $$v)\n },\n expression: \"vendor.vendorId\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Maliyet\",\n cssClass: \"input-style\",\n },\n model: {\n value: vendor.cost,\n callback: function ($$v) {\n _vm.$set(vendor, \"cost\", $$v)\n },\n expression: \"vendor.cost\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Fiyat\",\n cssClass: \"input-style\",\n },\n on: {\n change: function ($event) {\n return _vm.calculate(\n index,\n vendorIndex,\n \"vendors\"\n )\n },\n },\n model: {\n value: vendor.price,\n callback: function ($$v) {\n _vm.$set(vendor, \"price\", $$v)\n },\n expression: \"vendor.price\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"text\",\n labelText: \"Çarpan Değeri\",\n isDisabled: true,\n cssClass: \"input-style\",\n },\n model: {\n value: _vm.priceMultiplier,\n callback: function ($$v) {\n _vm.priceMultiplier = $$v\n },\n expression: \"priceMultiplier\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"BES ve FON Büyüklüğü\",\n cssClass: \"input-style\",\n },\n model: {\n value: vendor.fundAmount,\n callback: function ($$v) {\n _vm.$set(vendor, \"fundAmount\", $$v)\n },\n expression: \"vendor.fundAmount\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Komisyon\",\n cssClass: \"input-style\",\n },\n model: {\n value: vendor.commissionAmount,\n callback: function ($$v) {\n _vm.$set(vendor, \"commissionAmount\", $$v)\n },\n expression: \"vendor.commissionAmount\",\n },\n }),\n ],\n 1\n ),\n ]),\n vendorIndex === 0\n ? _c(\n \"div\",\n {\n staticClass: \"add-button\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemoveVendor(index, null)\n },\n },\n },\n [\n _c(\"base-icon\", {\n attrs: { name: \"plus-circle\" },\n }),\n ],\n 1\n )\n : _c(\n \"div\",\n {\n staticClass: \"add-button remove\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemoveVendor(\n index,\n vendorIndex\n )\n },\n },\n },\n [\n _c(\"base-icon\", {\n attrs: { name: \"close-colored\" },\n }),\n ],\n 1\n ),\n ]\n ),\n ]\n )\n }),\n index === 0\n ? _c(\n \"div\",\n {\n staticClass: \"add-button\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemovelicenseData()\n },\n },\n },\n [_c(\"base-icon\", { attrs: { name: \"plus-circle\" } })],\n 1\n )\n : _c(\n \"div\",\n {\n staticClass: \"add-button remove\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemovelicenseData(index)\n },\n },\n },\n [_c(\"base-icon\", { attrs: { name: \"close-colored\" } })],\n 1\n ),\n ],\n 2\n )\n }),\n _c(\"div\", { staticClass: \"grouped-container\" }, [\n _c(\"div\", { staticClass: \"title\" }, [_vm._v(\"Algoritmalar\")]),\n _c(\"div\", { staticClass: \"input-container\" }, [\n _c(\"div\", { staticClass: \"grid-container\" }, [\n _c(\n \"div\",\n { staticClass: \"item select-item\" },\n [\n _vm.algorithms.length\n ? _c(\"base-select\", {\n attrs: {\n options: _vm.algorithms,\n fieldLabel: \"Algoritmalar\",\n placeholder: \"Seçiniz\",\n clearable: false,\n multiple: true,\n \"selected-id\": _vm.formItems.algorithmIds,\n },\n on: {\n change: function ($event) {\n return _vm.formatMultiselectValues(\n \"algorithmId\",\n \"algorithmIds\",\n \"algorithms\",\n null\n )\n },\n },\n model: {\n value: _vm.formItems.algorithmIds,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"algorithmIds\", $$v)\n },\n expression: \"formItems.algorithmIds\",\n },\n })\n : _vm._e(),\n ],\n 1\n ),\n ]),\n ]),\n ]),\n _c(\"div\", { staticClass: \"grouped-container\" }, [\n _c(\"div\", { staticClass: \"title\" }, [_vm._v(\"Ek Paketler\")]),\n _c(\"div\", { staticClass: \"input-container\" }, [\n _c(\"div\", { staticClass: \"grid-container\" }, [\n _c(\"div\", { staticClass: \"item\" }, [\n _c(\"div\", { staticClass: \"disable-selectbox multiple\" }, [\n _c(\"p\", [_vm._v(\"Araştırma ve Diğer\")]),\n _c(\n \"ul\",\n _vm._l(_vm.formItems.researchs, function (item) {\n return _c(\"li\", { key: item.id }, [\n _vm._v(_vm._s(item.name)),\n ])\n }),\n 0\n ),\n ]),\n ]),\n ]),\n _c(\"div\", { staticClass: \"grid-container\" }, [\n _c(\n \"div\",\n { staticClass: \"item\" },\n [\n _vm.foreignIndices.length\n ? _c(\"base-select\", {\n attrs: {\n options: _vm.foreignIndices,\n fieldLabel: \"Yabancı Endeksler\",\n placeholder: \"Seçiniz\",\n clearable: false,\n multiple: true,\n \"selected-id\": _vm.formItems.foreignIndiceIds,\n },\n on: {\n change: function ($event) {\n return _vm.formatMultiselectValues(\n \"foreignIndiceId\",\n \"foreignIndiceIds\",\n \"foreignIndices\",\n null\n )\n },\n },\n model: {\n value: _vm.formItems.foreignIndiceIds,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"foreignIndiceIds\", $$v)\n },\n expression: \"formItems.foreignIndiceIds\",\n },\n })\n : _vm._e(),\n ],\n 1\n ),\n ]),\n ]),\n ]),\n _c(\n \"div\",\n { staticClass: \"upload-main-container\" },\n [_c(\"photo-upload\", { attrs: { base64Img: _vm.setPhotoForForm } })],\n 1\n ),\n _c(\"hr\"),\n _c(\n \"div\",\n { staticClass: \"button-container\" },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"ok-btn cancel\",\n attrs: { type: \"button\" },\n on: {\n click: function ($event) {\n return _vm.$router.push({\n query: { item: 7 },\n })\n },\n },\n },\n [_vm._v(\"Vazgeç\")]\n ),\n _c(\n \"base-button\",\n {\n staticClass: \"ok-btn\",\n class: _vm.isSaveClicked ? \"disabled\" : \"\",\n attrs: { type: \"submit\" },\n on: { click: _vm.checkIsSaveClicked },\n },\n [_vm._v(\"Kaydet\")]\n ),\n ],\n 1\n ),\n ],\n 2\n ),\n ]),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/ProductDescribingForm.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225a848ef0-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
275
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"product-describing-form\" }, [\n _c(\"div\", { staticClass: \"main-container\" }, [\n _c(\n \"form\",\n {\n on: {\n submit: function ($event) {\n $event.preventDefault()\n return _vm.submitForm()\n },\n },\n },\n [\n _c(\"div\", { staticClass: \"grid-container first\" }, [\n _c(\n \"div\",\n { staticClass: \"item\" },\n [\n _c(\"base-select\", {\n attrs: {\n id: \"applicationTypes\",\n options: _vm.applicationTypes.filter(function (x) {\n return x.code !== 3 && x.code !== 4\n }),\n fieldLabel: \"Veri Grubu\",\n placeholder: \"Seçiniz\",\n clearable: false,\n \"selected-id\": _vm.formItems.applicationTypeId,\n error: _vm.$v.formItems.applicationTypeId.$error,\n },\n model: {\n value: _vm.formItems.applicationTypeId,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"applicationTypeId\", $$v)\n },\n expression: \"formItems.applicationTypeId\",\n },\n }),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"item\" }, [\n !_vm.formItems.id\n ? _c(\n \"div\",\n [\n _c(\"base-select\", {\n attrs: {\n id: \"application\",\n options: _vm.applications,\n fieldLabel: \"İşlem Platformu\",\n placeholder: \"Seçiniz\",\n clearable: false,\n \"selected-id\": _vm.formItems.applicationId,\n error: _vm.$v.formItems.applicationId.$error,\n },\n model: {\n value: _vm.formItems.applicationId,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"applicationId\", $$v)\n },\n expression: \"formItems.applicationId\",\n },\n }),\n ],\n 1\n )\n : _c(\"div\", { staticClass: \"disable-selectbox\" }, [\n _c(\"p\", { staticClass: \"form-control-label\" }, [\n _vm._v(\"Vendor\"),\n ]),\n _c(\"ul\", [_c(\"li\", [_vm._v(_vm._s(_vm.formItems.name))])]),\n ]),\n ]),\n ]),\n _c(\"div\", { staticClass: \"grouped-container\" }, [\n _c(\"div\", { staticClass: \"title\" }, [_vm._v(\"İşlem Yeri\")]),\n _c(\"div\", { staticClass: \"input-container\" }, [\n _c(\"div\", { staticClass: \"grid-container\" }, [\n _c(\"div\", { staticClass: \"item\" }, [\n !_vm.formItems.id\n ? _c(\n \"div\",\n [\n _c(\"base-select\", {\n attrs: {\n options: _vm.platforms,\n fieldLabel: \"İşlem Yeri\",\n placeholder: \"Seçiniz\",\n clearable: false,\n \"selected-id\": _vm.formItems.platform.platformId,\n error:\n _vm.$v.formItems.platform.platformId.$error,\n },\n model: {\n value: _vm.formItems.platform.platformId,\n callback: function ($$v) {\n _vm.$set(\n _vm.formItems.platform,\n \"platformId\",\n $$v\n )\n },\n expression: \"formItems.platform.platformId\",\n },\n }),\n ],\n 1\n )\n : _c(\"div\", { staticClass: \"disable-selectbox\" }, [\n _c(\"p\", [_vm._v(\"İşlem Yeri\")]),\n _c(\"ul\", [\n _c(\"li\", [\n _vm._v(_vm._s(_vm.formItems.platform.name)),\n ]),\n ]),\n ]),\n ]),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Maliyet\",\n cssClass: \"input-style\",\n error: _vm.$v.formItems.platform.cost.$error,\n },\n model: {\n value: _vm.formItems.platform.cost,\n callback: function ($$v) {\n _vm.$set(_vm.formItems.platform, \"cost\", $$v)\n },\n expression: \"formItems.platform.cost\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Fiyat\",\n cssClass: \"input-style\",\n error: _vm.$v.formItems.platform.price.$error,\n },\n on: {\n change: function ($event) {\n return _vm.calculate(null, null, \"platform\")\n },\n },\n model: {\n value: _vm.formItems.platform.price,\n callback: function ($$v) {\n _vm.$set(_vm.formItems.platform, \"price\", $$v)\n },\n expression: \"formItems.platform.price\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"text\",\n labelText: \"Çarpan Değeri\",\n cssClass: \"input-style\",\n isDisabled: true,\n },\n model: {\n value: _vm.priceMultiplier,\n callback: function ($$v) {\n _vm.priceMultiplier = $$v\n },\n expression: \"priceMultiplier\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"text\",\n labelText: \"BES ve FON Büyüklüğü\",\n cssClass: \"input-style\",\n isDisabled: true,\n error: _vm.$v.formItems.platform.fundAmount.$error,\n },\n model: {\n value: _vm.formItems.platform.fundAmount,\n callback: function ($$v) {\n _vm.$set(_vm.formItems.platform, \"fundAmount\", $$v)\n },\n expression: \"formItems.platform.fundAmount\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Komisyon\",\n cssClass: \"input-style\",\n isDisabled: true,\n error:\n _vm.$v.formItems.platform.commissionAmount.$error,\n },\n model: {\n value: _vm.formItems.platform.commissionAmount,\n callback: function ($$v) {\n _vm.$set(\n _vm.formItems.platform,\n \"commissionAmount\",\n $$v\n )\n },\n expression: \"formItems.platform.commissionAmount\",\n },\n }),\n ],\n 1\n ),\n ]),\n ]),\n ]),\n _vm._l(_vm.licences, function (licenseData, index) {\n return _c(\n \"div\",\n { key: index, staticClass: \"grouped-container with-button\" },\n [\n _c(\"div\", { staticClass: \"title\" }, [\n _vm._v(\"Lisans Bilgileri\"),\n ]),\n _c(\"div\", { staticClass: \"input-container\" }, [\n _c(\"div\", { staticClass: \"grid-container\" }, [\n _c(\n \"div\",\n { staticClass: \"item short\" },\n [\n _c(\"base-select\", {\n attrs: {\n options: _vm.markets,\n fieldLabel: \"Piyasa\",\n placeholder: \"Seçiniz\",\n clearable: false,\n \"selected-id\": licenseData.licenceId,\n error:\n _vm.$v.formItems.licences.$each[index].licenceId\n .$error,\n },\n on: {\n change: function ($event) {\n return _vm.setName(\n index,\n null,\n \"markets\",\n \"licenceId\"\n )\n },\n },\n model: {\n value: licenseData.licenceId,\n callback: function ($$v) {\n _vm.$set(licenseData, \"licenceId\", $$v)\n },\n expression: \"licenseData.licenceId\",\n },\n }),\n ],\n 1\n ),\n ]),\n ]),\n _vm._l(\n licenseData.perspectives,\n function (perspective, perspectivesIndex) {\n return _c(\n \"div\",\n {\n key: perspectivesIndex + \"-1\",\n staticClass: \"input-container\",\n },\n [\n _c(\n \"div\",\n {\n staticClass: \"grouped-container with-button inner\",\n },\n [\n _c(\"div\", { staticClass: \"title\" }, [\n _vm._v(\"Derinlik\"),\n ]),\n _c(\"div\", { staticClass: \"grid-container\" }, [\n _c(\n \"div\",\n { staticClass: \"item select-item\" },\n [\n _c(\"base-select\", {\n staticClass: \"item-select\",\n attrs: {\n options: _vm.perspectives,\n fieldLabel: \"Derinlik\",\n placeholder: \"Seçiniz\",\n clearable: false,\n \"selected-id\": perspective.perspectiveId,\n },\n on: {\n change: function ($event) {\n return _vm.setName(\n index,\n perspectivesIndex,\n \"perspectives\",\n \"perspectiveId\"\n )\n },\n },\n model: {\n value: perspective.perspectiveId,\n callback: function ($$v) {\n _vm.$set(\n perspective,\n \"perspectiveId\",\n $$v\n )\n },\n expression: \"perspective.perspectiveId\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Maliyet\",\n cssClass: \"input-style\",\n },\n model: {\n value: perspective.cost,\n callback: function ($$v) {\n _vm.$set(perspective, \"cost\", $$v)\n },\n expression: \"perspective.cost\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Fiyat\",\n cssClass: \"input-style\",\n },\n on: {\n change: function ($event) {\n return _vm.calculate(\n index,\n perspectivesIndex,\n \"perspectives\"\n )\n },\n },\n model: {\n value: perspective.price,\n callback: function ($$v) {\n _vm.$set(perspective, \"price\", $$v)\n },\n expression: \"perspective.price\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"text\",\n labelText: \"Çarpan Değeri\",\n isDisabled: true,\n cssClass: \"input-style\",\n },\n model: {\n value: _vm.priceMultiplier,\n callback: function ($$v) {\n _vm.priceMultiplier = $$v\n },\n expression: \"priceMultiplier\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"BES ve FON Büyüklüğü\",\n cssClass: \"input-style\",\n },\n model: {\n value: perspective.fundAmount,\n callback: function ($$v) {\n _vm.$set(perspective, \"fundAmount\", $$v)\n },\n expression: \"perspective.fundAmount\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Komisyon\",\n cssClass: \"input-style\",\n },\n model: {\n value: perspective.commissionAmount,\n callback: function ($$v) {\n _vm.$set(\n perspective,\n \"commissionAmount\",\n $$v\n )\n },\n expression:\n \"perspective.commissionAmount\",\n },\n }),\n ],\n 1\n ),\n ]),\n perspectivesIndex === 0\n ? _c(\n \"div\",\n {\n staticClass: \"add-button\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemovePerspective(\n index,\n null\n )\n },\n },\n },\n [\n _c(\"base-icon\", {\n attrs: { name: \"plus-circle\" },\n }),\n ],\n 1\n )\n : _c(\n \"div\",\n {\n staticClass: \"add-button remove\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemovePerspective(\n index,\n perspectivesIndex\n )\n },\n },\n },\n [\n _c(\"base-icon\", {\n attrs: { name: \"close-colored\" },\n }),\n ],\n 1\n ),\n ]\n ),\n ]\n )\n }\n ),\n _c(\"hr\"),\n _vm._l(licenseData.vendors, function (vendor, vendorIndex) {\n return _c(\n \"div\",\n { key: vendorIndex, staticClass: \"input-container\" },\n [\n _c(\n \"div\",\n { staticClass: \"grouped-container with-button inner\" },\n [\n _c(\"div\", { staticClass: \"title\" }, [_vm._v(\"AKD\")]),\n _c(\"div\", { staticClass: \"grid-container\" }, [\n _c(\n \"div\",\n { staticClass: \"item select-item\" },\n [\n _c(\"base-select\", {\n staticClass: \"item-select\",\n attrs: {\n options: _vm.vendors,\n fieldLabel: \"AKD\",\n placeholder: \"Seçiniz\",\n clearable: false,\n \"selected-id\": vendor.vendorId,\n },\n on: {\n change: function ($event) {\n return _vm.setName(\n index,\n vendorIndex,\n \"vendors\",\n \"vendorId\"\n )\n },\n },\n model: {\n value: vendor.vendorId,\n callback: function ($$v) {\n _vm.$set(vendor, \"vendorId\", $$v)\n },\n expression: \"vendor.vendorId\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Maliyet\",\n cssClass: \"input-style\",\n },\n model: {\n value: vendor.cost,\n callback: function ($$v) {\n _vm.$set(vendor, \"cost\", $$v)\n },\n expression: \"vendor.cost\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Fiyat\",\n cssClass: \"input-style\",\n },\n on: {\n change: function ($event) {\n return _vm.calculate(\n index,\n vendorIndex,\n \"vendors\"\n )\n },\n },\n model: {\n value: vendor.price,\n callback: function ($$v) {\n _vm.$set(vendor, \"price\", $$v)\n },\n expression: \"vendor.price\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"text\",\n labelText: \"Çarpan Değeri\",\n isDisabled: true,\n cssClass: \"input-style\",\n },\n model: {\n value: _vm.priceMultiplier,\n callback: function ($$v) {\n _vm.priceMultiplier = $$v\n },\n expression: \"priceMultiplier\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"BES ve FON Büyüklüğü\",\n cssClass: \"input-style\",\n },\n model: {\n value: vendor.fundAmount,\n callback: function ($$v) {\n _vm.$set(vendor, \"fundAmount\", $$v)\n },\n expression: \"vendor.fundAmount\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"item input-item\" },\n [\n _c(\"base-input\", {\n staticClass: \"item-input-container\",\n attrs: {\n inputType: \"number\",\n labelText: \"Komisyon\",\n cssClass: \"input-style\",\n },\n model: {\n value: vendor.commissionAmount,\n callback: function ($$v) {\n _vm.$set(vendor, \"commissionAmount\", $$v)\n },\n expression: \"vendor.commissionAmount\",\n },\n }),\n ],\n 1\n ),\n ]),\n vendorIndex === 0\n ? _c(\n \"div\",\n {\n staticClass: \"add-button\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemoveVendor(index, null)\n },\n },\n },\n [\n _c(\"base-icon\", {\n attrs: { name: \"plus-circle\" },\n }),\n ],\n 1\n )\n : _c(\n \"div\",\n {\n staticClass: \"add-button remove\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemoveVendor(\n index,\n vendorIndex\n )\n },\n },\n },\n [\n _c(\"base-icon\", {\n attrs: { name: \"close-colored\" },\n }),\n ],\n 1\n ),\n ]\n ),\n ]\n )\n }),\n index === 0\n ? _c(\n \"div\",\n {\n staticClass: \"add-button\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemovelicenseData()\n },\n },\n },\n [_c(\"base-icon\", { attrs: { name: \"plus-circle\" } })],\n 1\n )\n : _c(\n \"div\",\n {\n staticClass: \"add-button remove\",\n on: {\n click: function ($event) {\n $event.preventDefault()\n return _vm.addRemovelicenseData(index)\n },\n },\n },\n [_c(\"base-icon\", { attrs: { name: \"close-colored\" } })],\n 1\n ),\n ],\n 2\n )\n }),\n _c(\"div\", { staticClass: \"grouped-container\" }, [\n _c(\"div\", { staticClass: \"title\" }, [_vm._v(\"Algoritmalar\")]),\n _c(\"div\", { staticClass: \"input-container\" }, [\n _c(\"div\", { staticClass: \"grid-container\" }, [\n _c(\n \"div\",\n { staticClass: \"item select-item\" },\n [\n _vm.algorithms.length\n ? _c(\"base-select\", {\n attrs: {\n options: _vm.algorithms,\n fieldLabel: \"Algoritmalar\",\n placeholder: \"Seçiniz\",\n clearable: false,\n multiple: true,\n \"selected-id\": _vm.formItems.algorithmIds,\n },\n on: {\n change: function ($event) {\n return _vm.formatMultiselectValues(\n \"algorithmId\",\n \"algorithmIds\",\n \"algorithms\",\n null\n )\n },\n },\n model: {\n value: _vm.formItems.algorithmIds,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"algorithmIds\", $$v)\n },\n expression: \"formItems.algorithmIds\",\n },\n })\n : _vm._e(),\n ],\n 1\n ),\n ]),\n ]),\n ]),\n _c(\"div\", { staticClass: \"grouped-container\" }, [\n _c(\"div\", { staticClass: \"title\" }, [_vm._v(\"Ek Paketler\")]),\n _c(\"div\", { staticClass: \"input-container\" }, [\n _c(\"div\", { staticClass: \"grid-container\" }, [\n _c(\"div\", { staticClass: \"item\" }, [\n _c(\"div\", { staticClass: \"disable-selectbox multiple\" }, [\n _c(\"p\", [_vm._v(\"Araştırma ve Diğer\")]),\n _c(\n \"ul\",\n _vm._l(_vm.formItems.researchs, function (item) {\n return _c(\"li\", { key: item.id }, [\n _vm._v(\" \" + _vm._s(item.name) + \" \"),\n ])\n }),\n 0\n ),\n ]),\n ]),\n ]),\n _c(\"div\", { staticClass: \"grid-container\" }, [\n _c(\n \"div\",\n { staticClass: \"item\" },\n [\n _vm.foreignIndices.length\n ? _c(\"base-select\", {\n attrs: {\n options: _vm.foreignIndices,\n fieldLabel: \"Yabancı Endeksler\",\n placeholder: \"Seçiniz\",\n clearable: false,\n multiple: true,\n \"selected-id\": _vm.formItems.foreignIndiceIds,\n },\n on: {\n change: function ($event) {\n return _vm.formatMultiselectValues(\n \"foreignIndiceId\",\n \"foreignIndiceIds\",\n \"foreignIndices\",\n null\n )\n },\n },\n model: {\n value: _vm.formItems.foreignIndiceIds,\n callback: function ($$v) {\n _vm.$set(_vm.formItems, \"foreignIndiceIds\", $$v)\n },\n expression: \"formItems.foreignIndiceIds\",\n },\n })\n : _vm._e(),\n ],\n 1\n ),\n ]),\n ]),\n ]),\n _c(\n \"div\",\n { staticClass: \"upload-main-container\" },\n [_c(\"photo-upload\", { attrs: { base64Img: _vm.setPhotoForForm } })],\n 1\n ),\n _c(\"hr\"),\n _c(\n \"div\",\n { staticClass: \"button-container\" },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"ok-btn cancel\",\n attrs: { type: \"button\" },\n on: {\n click: function ($event) {\n return _vm.$router.push({\n query: { item: 7 },\n })\n },\n },\n },\n [_vm._v(\"Vazgeç\")]\n ),\n _c(\n \"base-button\",\n {\n staticClass: \"ok-btn\",\n class: _vm.isSaveClicked ? \"disabled\" : \"\",\n attrs: { type: \"submit\" },\n on: { click: _vm.checkIsSaveClicked },\n },\n [_vm._v(\"Kaydet\")]\n ),\n ],\n 1\n ),\n ],\n 2\n ),\n ]),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/ProductDescribingForm.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225a848ef0-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
276
276
 
277
277
  /***/ }),
278
278
 
@@ -308,7 +308,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
308
308
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
309
309
 
310
310
  "use strict";
311
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"product-managements-container\" },\n [\n _c(\n \"div\",\n { staticClass: \"menu-tabs\" },\n _vm._l(_vm.tabMenuItems, function (item, index) {\n return _c(\n \"div\",\n {\n key: index,\n staticClass: \"tab\",\n class: _vm.selectedTab === item.id ? \"is-tab-selected\" : \"\",\n on: {\n click: function ($event) {\n return _vm.$router.push({\n query: { item: index },\n })\n },\n },\n },\n [_vm._v(_vm._s(item.name))]\n )\n }),\n 0\n ),\n _vm.$route.query.featureSettingId === undefined\n ? _c(\n \"div\",\n [\n _vm.tableHeader.length > 0\n ? _c(\"generic-table\", {\n attrs: {\n tableHeader: _vm.tableHeader,\n tableData: _vm.data,\n edit: _vm.edit,\n showRemoveBtn: _vm.showRemoveBtn,\n showAddBtn: _vm.showAddBtn,\n remove: _vm.remove,\n label: _vm.selectedLabel,\n newItem: _vm.newItem,\n haveSort: _vm.selectedMenuItem.haveSort,\n changeSort: _vm.changeSort,\n headerParentId: _vm.tabMenuItems[_vm.menuItemIndex].id,\n onLoadFilterDate: _vm.onLoadFilterDateValue,\n },\n on: {\n filterDataAfterChange: _vm.filterDataChanged,\n activationToggled: function ($event) {\n return _vm.activationCheck($event)\n },\n dateToggle: function ($event) {\n return _vm.dateChecker($event)\n },\n rowCopied: function ($event) {\n return _vm.isRowCopied($event)\n },\n },\n })\n : _vm._e(),\n ],\n 1\n )\n : _c(\n \"div\",\n [\n _c(\"product-describing-form\", {\n attrs: {\n clickedNewItemBtn: _vm.clickedNewItemBtn,\n fullData: _vm.data,\n \"selectbox-items\": _vm.getFilterList,\n \"cost-multiplier\": _vm.costMultiplier,\n },\n on: { \"submit-form\": _vm.submitform },\n }),\n ],\n 1\n ),\n _c(\n \"modal\",\n { staticClass: \"modal\", attrs: { height: \"auto\", name: \"modal\" } },\n [\n _c(\"div\", { staticClass: \"modal-heading\" }, [\n _c(\"div\", { staticClass: \"modal-title\" }, [\n _vm.clickedNewItemBtn\n ? _c(\"h5\", [_vm._v(_vm._s(_vm.selectedData.name) + \" EKLE\")])\n : _c(\"h5\", [\n _vm._v(_vm._s(_vm.selectedData.name) + \" DÜZENLE\"),\n ]),\n ]),\n _c(\n \"a\",\n { on: { click: _vm.closeModal } },\n [\n _c(\"base-icon\", {\n staticClass: \"close\",\n attrs: { name: \"close-circle\" },\n }),\n ],\n 1\n ),\n ]),\n _vm.selectedMenuItem !== null && _vm.formReRender\n ? _c(_vm.selectedMenuItem.formName, {\n tag: \"component\",\n attrs: {\n clickedNewItemBtn: _vm.clickedNewItemBtn,\n selectedDataApplicationId: _vm.selectedDataApplicationId,\n selectedDataResearchId: _vm.selectedDataResearchId,\n selectedDataId: _vm.selectedDataId,\n selectedDataName: _vm.selectedDataName,\n selectedDataDepth: _vm.selectedDataDepth,\n selectedDataOrder: _vm.selectedDataOrder,\n selectedShortContent: _vm.selectedShortContent,\n selectedDescription: _vm.selectedDescription,\n isAgreementMandatory: _vm.isAgreementMandatory,\n isHighLevel: _vm.isHighLevel,\n isExternalPurchasable: _vm.isExternalPurchasable,\n isConnectMainProduct: _vm.isConnectMainProduct,\n selectedDataPrice: _vm.selectedDataPrice,\n selectedDataPriceCostMultiplier:\n _vm.selectedDataPriceCostMultiplier,\n selectedDataScreenPrice: _vm.selectedDataScreenPrice,\n selectedDataCost: _vm.selectedDataCost,\n selectedDataFundAmount: _vm.selectedDataFundAmount,\n selectedDataCommissionAmount:\n _vm.selectedDataCommissionAmount,\n selectedDataVdProducrtWarnings:\n _vm.selectedDataVdProducrtWarnings,\n selectedforeignIndiceId: _vm.selectedforeignIndiceId,\n selectedPriceType: _vm.selectedPriceType,\n additionalWarnings: _vm.additionalWarnings,\n },\n on: { \"submit-form\": _vm.submitform },\n })\n : _vm._e(),\n ],\n 1\n ),\n _c(\n \"modal\",\n {\n staticClass: \"modal\",\n attrs: { height: \"auto\", name: \"deleteModal\" },\n },\n [\n _c(\"div\", { staticClass: \"modal-heading\" }, [\n _c(\"div\", { staticClass: \"modal-title\" }, [\n _c(\"h5\", [_vm._v(_vm._s(_vm.selectedDeleteName))]),\n ]),\n _c(\n \"a\",\n {\n on: {\n click: function ($event) {\n return _vm.$modal.hide(\"deleteModal\")\n },\n },\n },\n [\n _c(\"base-icon\", {\n staticClass: \"close\",\n attrs: { name: \"close-circle\" },\n }),\n ],\n 1\n ),\n ]),\n _c(\"div\", { staticClass: \"modal-body\" }, [\n _vm._v(_vm._s(_vm.deleteInfoText)),\n ]),\n _c(\n \"div\",\n { staticClass: \"modal-bottom\" },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"giveUp\",\n on: {\n click: function ($event) {\n return _vm.$modal.hide(\"deleteModal\")\n },\n },\n },\n [_vm._v(\"Vazgeç\")]\n ),\n _c(\n \"base-button\",\n {\n staticClass: \"delete red\",\n on: {\n click: function ($event) {\n return _vm.removeModalC(_vm.selectedId)\n },\n },\n },\n [_vm._v(\"Sil\")]\n ),\n ],\n 1\n ),\n ]\n ),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/ProductAndPackageManagement.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225a848ef0-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
311
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"product-managements-container\" },\n [\n _c(\n \"div\",\n { staticClass: \"menu-tabs\" },\n _vm._l(_vm.tabMenuItems, function (item, index) {\n return _c(\n \"div\",\n {\n key: index,\n staticClass: \"tab\",\n class: _vm.selectedTab === item.id ? \"is-tab-selected\" : \"\",\n on: {\n click: function ($event) {\n return _vm.$router.push({\n query: { item: index },\n })\n },\n },\n },\n [_vm._v(\" \" + _vm._s(item.name) + \" \")]\n )\n }),\n 0\n ),\n _vm.$route.query.featureSettingId === undefined\n ? _c(\n \"div\",\n [\n _vm.tableHeader.length > 0\n ? _c(\"generic-table\", {\n attrs: {\n tableHeader: _vm.tableHeader,\n tableData: _vm.data,\n edit: _vm.edit,\n showRemoveBtn: _vm.showRemoveBtn,\n showAddBtn: _vm.showAddBtn,\n remove: _vm.remove,\n label: _vm.selectedLabel,\n newItem: _vm.newItem,\n haveSort: _vm.selectedMenuItem.haveSort,\n changeSort: _vm.changeSort,\n headerParentId: _vm.tabMenuItems[_vm.menuItemIndex].id,\n onLoadFilterDate: _vm.onLoadFilterDateValue,\n },\n on: {\n filterDataAfterChange: _vm.filterDataChanged,\n activationToggled: function ($event) {\n return _vm.activationCheck($event)\n },\n dateToggle: function ($event) {\n return _vm.dateChecker($event)\n },\n rowCopied: function ($event) {\n return _vm.isRowCopied($event)\n },\n },\n })\n : _vm._e(),\n ],\n 1\n )\n : _c(\n \"div\",\n [\n _c(\"product-describing-form\", {\n attrs: {\n clickedNewItemBtn: _vm.clickedNewItemBtn,\n fullData: _vm.data,\n \"selectbox-items\": _vm.getFilterList,\n \"cost-multiplier\": _vm.costMultiplier,\n },\n on: { \"submit-form\": _vm.submitform },\n }),\n ],\n 1\n ),\n _c(\n \"modal\",\n { staticClass: \"modal\", attrs: { height: \"auto\", name: \"modal\" } },\n [\n _c(\"div\", { staticClass: \"modal-heading\" }, [\n _c(\"div\", { staticClass: \"modal-title\" }, [\n _vm.clickedNewItemBtn\n ? _c(\"h5\", [_vm._v(_vm._s(_vm.selectedData.name) + \" EKLE\")])\n : _c(\"h5\", [\n _vm._v(_vm._s(_vm.selectedData.name) + \" DÜZENLE\"),\n ]),\n ]),\n _c(\n \"a\",\n { on: { click: _vm.closeModal } },\n [\n _c(\"base-icon\", {\n staticClass: \"close\",\n attrs: { name: \"close-circle\" },\n }),\n ],\n 1\n ),\n ]),\n _vm.selectedMenuItem !== null && _vm.formReRender\n ? _c(_vm.selectedMenuItem.formName, {\n tag: \"component\",\n attrs: {\n clickedNewItemBtn: _vm.clickedNewItemBtn,\n selectedDataApplicationId: _vm.selectedDataApplicationId,\n selectedDataResearchId: _vm.selectedDataResearchId,\n selectedDataId: _vm.selectedDataId,\n selectedDataName: _vm.selectedDataName,\n selectedDataDepth: _vm.selectedDataDepth,\n selectedDataOrder: _vm.selectedDataOrder,\n selectedShortContent: _vm.selectedShortContent,\n selectedDescription: _vm.selectedDescription,\n isAgreementMandatory: _vm.isAgreementMandatory,\n isHighLevel: _vm.isHighLevel,\n isExternalPurchasable: _vm.isExternalPurchasable,\n isConnectMainProduct: _vm.isConnectMainProduct,\n selectedDataPrice: _vm.selectedDataPrice,\n selectedDataPriceCostMultiplier:\n _vm.selectedDataPriceCostMultiplier,\n selectedDataScreenPrice: _vm.selectedDataScreenPrice,\n selectedDataCost: _vm.selectedDataCost,\n selectedDataFundAmount: _vm.selectedDataFundAmount,\n selectedDataCommissionAmount:\n _vm.selectedDataCommissionAmount,\n selectedDataVdProducrtWarnings:\n _vm.selectedDataVdProducrtWarnings,\n selectedforeignIndiceId: _vm.selectedforeignIndiceId,\n selectedPriceType: _vm.selectedPriceType,\n additionalWarnings: _vm.additionalWarnings,\n },\n on: { \"submit-form\": _vm.submitform },\n })\n : _vm._e(),\n ],\n 1\n ),\n _c(\n \"modal\",\n {\n staticClass: \"modal\",\n attrs: { height: \"auto\", name: \"deleteModal\" },\n },\n [\n _c(\"div\", { staticClass: \"modal-heading\" }, [\n _c(\"div\", { staticClass: \"modal-title\" }, [\n _c(\"h5\", [_vm._v(_vm._s(_vm.selectedDeleteName))]),\n ]),\n _c(\n \"a\",\n {\n on: {\n click: function ($event) {\n return _vm.$modal.hide(\"deleteModal\")\n },\n },\n },\n [\n _c(\"base-icon\", {\n staticClass: \"close\",\n attrs: { name: \"close-circle\" },\n }),\n ],\n 1\n ),\n ]),\n _c(\"div\", { staticClass: \"modal-body\" }, [\n _vm._v(_vm._s(_vm.deleteInfoText)),\n ]),\n _c(\n \"div\",\n { staticClass: \"modal-bottom\" },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"giveUp\",\n on: {\n click: function ($event) {\n return _vm.$modal.hide(\"deleteModal\")\n },\n },\n },\n [_vm._v(\"Vazgeç\")]\n ),\n _c(\n \"base-button\",\n {\n staticClass: \"delete red\",\n on: {\n click: function ($event) {\n return _vm.removeModalC(_vm.selectedId)\n },\n },\n },\n [_vm._v(\"Sil\")]\n ),\n ],\n 1\n ),\n ]\n ),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/ProductAndPackageManagement.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225a848ef0-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
312
312
 
313
313
  /***/ }),
314
314
 
@@ -330,7 +330,7 @@ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../.
330
330
  /*! no static exports found */
331
331
  /***/ (function(module, exports, __webpack_require__) {
332
332
 
333
- eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".product-managements-container .modal-body .grouped-container[data-v-56b79d8b] {\\n position: relative;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button[data-v-56b79d8b] {\\n width: 100%;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button .add-button[data-v-56b79d8b] {\\n position: absolute;\\n right: -14px;\\n top: calc(50% - 10px);\\n width: 35px;\\n height: 35px;\\n padding: 6px;\\n border-radius: 4px;\\n background-color: #242424;\\n box-sizing: border-box;\\n cursor: pointer;\\n color: white;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button .add-button.remove[data-v-56b79d8b] {\\n background-color: #dc3545;\\n color: white;\\n}\\n.product-managements-container .modal-body .grouped-container .title[data-v-56b79d8b] {\\n position: absolute;\\n top: -9px;\\n left: 30px;\\n font-family: \\\"Roboto\\\", sans-serif;\\n font-weight: bold;\\n font-size: 14px;\\n color: #242424;\\n background-color: white;\\n padding: 0 8px;\\n}\\n.product-managements-container .modal-body .form-group[data-v-56b79d8b] {\\n width: 93%;\\n margin-left: 10px;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/AlgoDefinitionForm.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
333
+ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".product-managements-container .modal-body .grouped-container[data-v-56b79d8b] {\\n position: relative;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button[data-v-56b79d8b] {\\n width: 100%;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button .add-button[data-v-56b79d8b] {\\n position: absolute;\\n right: -14px;\\n top: calc(50% - 10px);\\n width: 35px;\\n height: 35px;\\n padding: 6px;\\n border-radius: 4px;\\n background-color: #242424;\\n box-sizing: border-box;\\n cursor: pointer;\\n color: white;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button .add-button.remove[data-v-56b79d8b] {\\n background-color: #dc3545;\\n color: white;\\n}\\n.product-managements-container .modal-body .grouped-container .title[data-v-56b79d8b] {\\n position: absolute;\\n top: -9px;\\n left: 30px;\\n font-weight: bold;\\n font-size: 14px;\\n color: #242424;\\n background-color: white;\\n padding: 0 8px;\\n}\\n.product-managements-container .modal-body .form-group[data-v-56b79d8b] {\\n width: 93%;\\n margin-left: 10px;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/AlgoDefinitionForm.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
334
334
 
335
335
  /***/ }),
336
336
 
@@ -363,7 +363,7 @@ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../.
363
363
  /*! no static exports found */
364
364
  /***/ (function(module, exports, __webpack_require__) {
365
365
 
366
- eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".product-managements-container .modal-body .grouped-container[data-v-783e2690] {\\n position: relative;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button[data-v-783e2690] {\\n width: 100%;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button .add-button[data-v-783e2690] {\\n position: absolute;\\n right: -14px;\\n top: calc(50% - 10px);\\n width: 35px;\\n height: 35px;\\n padding: 6px;\\n border-radius: 4px;\\n background-color: #242424;\\n box-sizing: border-box;\\n cursor: pointer;\\n color: white;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button .add-button.remove[data-v-783e2690] {\\n background-color: #dc3545;\\n color: white;\\n}\\n.product-managements-container .modal-body .grouped-container .title[data-v-783e2690] {\\n position: absolute;\\n top: -9px;\\n left: 30px;\\n font-family: \\\"Roboto\\\", sans-serif;\\n font-weight: bold;\\n font-size: 14px;\\n color: #242424;\\n background-color: white;\\n padding: 0 8px;\\n}\\n.product-managements-container .modal-body .upload-container[data-v-783e2690] {\\n padding: 10px 10px;\\n display: flex;\\n flex-flow: row wrap;\\n justify-content: space-around;\\n}\\n.product-managements-container .modal-body .upload-container input[data-v-783e2690] {\\n display: none;\\n}\\n.product-managements-container .modal-body .upload-container .content-item .dummy-image[data-v-783e2690] {\\n width: 58px;\\n height: 58px;\\n border-radius: 3px;\\n background-color: #f3f3f3;\\n background-position: center center;\\n background-size: cover;\\n padding: 17px 17px;\\n box-sizing: border-box;\\n cursor: pointer;\\n}\\n.product-managements-container .modal-body .upload-container .content-item .dummy-image .plus[data-v-783e2690] {\\n color: #b9b9b9;\\n}\\n.product-managements-container .modal-body .form-group[data-v-783e2690] {\\n width: 93%;\\n margin-left: 10px;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/ForeignIndicesForm.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
366
+ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".product-managements-container .modal-body .grouped-container[data-v-783e2690] {\\n position: relative;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button[data-v-783e2690] {\\n width: 100%;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button .add-button[data-v-783e2690] {\\n position: absolute;\\n right: -14px;\\n top: calc(50% - 10px);\\n width: 35px;\\n height: 35px;\\n padding: 6px;\\n border-radius: 4px;\\n background-color: #242424;\\n box-sizing: border-box;\\n cursor: pointer;\\n color: white;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button .add-button.remove[data-v-783e2690] {\\n background-color: #dc3545;\\n color: white;\\n}\\n.product-managements-container .modal-body .grouped-container .title[data-v-783e2690] {\\n position: absolute;\\n top: -9px;\\n left: 30px;\\n font-weight: bold;\\n font-size: 14px;\\n color: #242424;\\n background-color: white;\\n padding: 0 8px;\\n}\\n.product-managements-container .modal-body .upload-container[data-v-783e2690] {\\n padding: 10px 10px;\\n display: flex;\\n flex-flow: row wrap;\\n justify-content: space-around;\\n}\\n.product-managements-container .modal-body .upload-container input[data-v-783e2690] {\\n display: none;\\n}\\n.product-managements-container .modal-body .upload-container .content-item .dummy-image[data-v-783e2690] {\\n width: 58px;\\n height: 58px;\\n border-radius: 3px;\\n background-color: #f3f3f3;\\n background-position: center center;\\n background-size: cover;\\n padding: 17px 17px;\\n box-sizing: border-box;\\n cursor: pointer;\\n}\\n.product-managements-container .modal-body .upload-container .content-item .dummy-image .plus[data-v-783e2690] {\\n color: #b9b9b9;\\n}\\n.product-managements-container .modal-body .form-group[data-v-783e2690] {\\n width: 93%;\\n margin-left: 10px;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/ForeignIndicesForm.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
367
367
 
368
368
  /***/ }),
369
369
 
@@ -385,7 +385,7 @@ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../.
385
385
  /*! no static exports found */
386
386
  /***/ (function(module, exports, __webpack_require__) {
387
387
 
388
- eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".table-wrapper[data-v-1498a7d0] {\\n padding-bottom: 50px;\\n}\\n.table-wrapper .filter-future-date[data-v-1498a7d0] {\\n text-align: center;\\n}\\n.table-wrapper .filter-future-date h5[data-v-1498a7d0] {\\n margin-bottom: 5px;\\n}\\n.table-wrapper .filter-future-date .filter-wrapper[data-v-1498a7d0] {\\n display: flex;\\n}\\n.table-wrapper .filter-future-date .filter-wrapper .next[data-v-1498a7d0],\\n .table-wrapper .filter-future-date .filter-wrapper .prev[data-v-1498a7d0] {\\n border: none;\\n background: transparent;\\n height: auto;\\n display: inline-flex;\\n justify-content: center;\\n align-items: center;\\n cursor: pointer;\\n transition: all 0.2s ease-in-out;\\n transform: scale(1);\\n}\\n.table-wrapper .filter-future-date .filter-wrapper .next[data-v-1498a7d0]:hover,\\n .table-wrapper .filter-future-date .filter-wrapper .prev[data-v-1498a7d0]:hover {\\n transform: scale(0.6);\\n}\\n.table-width[data-v-1498a7d0], .button-container[data-v-1498a7d0], .table-container[data-v-1498a7d0] {\\n width: 100%;\\n max-width: 97%;\\n}\\n.button-container[data-v-1498a7d0] {\\n margin: 30px auto;\\n}\\n.button-container.d-flex[data-v-1498a7d0] {\\n display: flex;\\n justify-content: flex-end;\\n}\\n.table-container[data-v-1498a7d0] {\\n margin: auto;\\n text-align: center;\\n border: 1px solid #e9e9eb;\\n border-radius: 5px;\\n font-size: 14px;\\n overflow-x: auto;\\n}\\n.table-container table[data-v-1498a7d0] {\\n font-family: arial, sans-serif;\\n border-collapse: collapse;\\n width: 100%;\\n}\\n.table-container table tr th[data-v-1498a7d0] {\\n border-bottom: 2px solid #e9e9eb;\\n padding: 20px 5px;\\n box-sizing: border-box;\\n}\\n.table-container table tr td[data-v-1498a7d0] {\\n border-bottom: 1px solid #e9e9eb;\\n padding: 12px 0px;\\n box-sizing: border-box;\\n}\\n.table-container table tr[data-v-1498a7d0]:nth-child(odd) {\\n background-color: #f9f9fa;\\n}\\n.table-container table tr[data-v-1498a7d0]:first-of-type {\\n background-color: white;\\n}\\n.little-btn[data-v-1498a7d0] {\\n width: auto;\\n height: 31px;\\n border-radius: 4px;\\n background-color: #28a745;\\n margin-right: 5px;\\n font-weight: normal;\\n font-size: 13px;\\n}\\n.little-btn.red[data-v-1498a7d0] {\\n background-color: #dc3545;\\n}\\n.little-btn.orange[data-v-1498a7d0] {\\n background-color: #ffa500;\\n}\\n.little-btn.blue[data-v-1498a7d0] {\\n background-color: #253ee0;\\n margin-left: 0;\\n}\\n.new-btn[data-v-1498a7d0] {\\n width: auto;\\n height: 44px;\\n font-size: 16px;\\n padding: 0 30px;\\n}\\ntable[data-v-1498a7d0] {\\n width: 100%;\\n border-collapse: collapse;\\n}\\n.order-container[data-v-1498a7d0] {\\n margin: auto;\\n height: 40px;\\n width: 40px;\\n background-color: #f3f3f4;\\n border-radius: 50%;\\n border: 1px solid #e8e8e8;\\n color: #686871;\\n}\\n.order-container .icon-container[data-v-1498a7d0] {\\n width: 35px;\\n}\\n.order-container .icon-container .sort-icon-style[data-v-1498a7d0] {\\n display: block;\\n margin: auto;\\n cursor: pointer;\\n width: 19px;\\n height: 19px;\\n}\\n.order-container .icon-container .sort-icon-style.disabled-style[data-v-1498a7d0] {\\n color: #d4d4d7;\\n cursor: unset;\\n}\\n.dublicator-modal[data-v-1498a7d0] {\\n z-index: 1;\\n}\\n.dublicator-modal[data-v-1498a7d0] .vm--modal {\\n overflow-y: scroll;\\n}\\n@media (max-width: 1024px) {\\n.dublicator-modal[data-v-1498a7d0] .vm--modal {\\n width: 90% !important;\\n left: 50% !important;\\n transform: translateX(-50%);\\n}\\n}\\n.dublicator-modal .modal-heading[data-v-1498a7d0] {\\n height: 40px;\\n border-bottom: 1px solid var(--grayscale-30);\\n display: flex;\\n align-items: center;\\n padding: 15px 30px;\\n justify-content: space-between;\\n}\\n.dublicator-modal .modal-heading .close[data-v-1498a7d0] {\\n margin: 5px;\\n cursor: pointer;\\n}\\n.dublicator-modal .modal-bottom[data-v-1498a7d0] {\\n margin-top: 1em;\\n border-top: 1px solid var(--grayscale-30);\\n display: flex;\\n justify-content: space-between;\\n padding: 15px 30px;\\n}\\n.dublicator-modal .modal-bottom .base-button[data-v-1498a7d0] {\\n background-color: var(--color-primary-default);\\n color: var(--grayscale-0);\\n width: 180px;\\n font-size: 15px;\\n}\\n.dublicator-modal .modal-bottom .base-button.warning[data-v-1498a7d0] {\\n background-color: var(--color-warning);\\n}\\n.dublicator-modal .modal-bottom .base-button.disabled[data-v-1498a7d0] {\\n pointer-events: none;\\n}\\n.dublicator-modal .modal-body[data-v-1498a7d0] {\\n padding: 15px 30px;\\n}\\n.dublicator-modal .modal-body__top[data-v-1498a7d0] {\\n display: flex;\\n align-items: center;\\n flex-wrap: wrap;\\n}\\n.dublicator-modal .modal-body__top .block-quote[data-v-1498a7d0] {\\n background: #e1e1e1;\\n border-left: 3px solid #555;\\n padding: 10px;\\n display: block;\\n height: auto;\\n margin-bottom: 5px;\\n}\\n.dublicator-modal .modal-body__top .title[data-v-1498a7d0] {\\n display: inline-block;\\n text-decoration: underline;\\n font-style: italic;\\n margin-bottom: 5px;\\n}\\n.dublicator-modal .modal-body__image .image[data-v-1498a7d0] {\\n margin-right: 30px;\\n width: 96px;\\n height: 140px;\\n -o-object-fit: contain;\\n object-fit: contain;\\n}\\n.dublicator-modal .modal-body__detail[data-v-1498a7d0] {\\n width: 100%;\\n margin-top: 20px;\\n}\\n.dublicator-modal .modal-body__detail .base-form-input[data-v-1498a7d0] input {\\n height: 40px;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/GenericTable.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
388
+ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".table-wrapper[data-v-1498a7d0] {\\n padding-bottom: 50px;\\n}\\n.table-wrapper .filter-future-date[data-v-1498a7d0] {\\n text-align: center;\\n}\\n.table-wrapper .filter-future-date h5[data-v-1498a7d0] {\\n margin-bottom: 5px;\\n}\\n.table-wrapper .filter-future-date .filter-wrapper[data-v-1498a7d0] {\\n display: flex;\\n}\\n.table-wrapper .filter-future-date .filter-wrapper .next[data-v-1498a7d0],\\n .table-wrapper .filter-future-date .filter-wrapper .prev[data-v-1498a7d0] {\\n border: none;\\n background: transparent;\\n height: auto;\\n display: inline-flex;\\n justify-content: center;\\n align-items: center;\\n cursor: pointer;\\n transition: all 0.2s ease-in-out;\\n transform: scale(1);\\n}\\n.table-wrapper .filter-future-date .filter-wrapper .next[data-v-1498a7d0]:hover,\\n .table-wrapper .filter-future-date .filter-wrapper .prev[data-v-1498a7d0]:hover {\\n transform: scale(0.6);\\n}\\n.table-width[data-v-1498a7d0], .button-container[data-v-1498a7d0], .table-container[data-v-1498a7d0] {\\n width: 100%;\\n max-width: 97%;\\n}\\n.button-container[data-v-1498a7d0] {\\n margin: 30px auto;\\n}\\n.button-container.d-flex[data-v-1498a7d0] {\\n display: flex;\\n justify-content: flex-end;\\n}\\n.table-container[data-v-1498a7d0] {\\n margin: auto;\\n text-align: center;\\n border: 1px solid #e9e9eb;\\n border-radius: 5px;\\n font-size: 14px;\\n overflow-x: auto;\\n}\\n.table-container table[data-v-1498a7d0] {\\n border-collapse: collapse;\\n width: 100%;\\n}\\n.table-container table tr th[data-v-1498a7d0] {\\n border-bottom: 2px solid #e9e9eb;\\n padding: 20px 5px;\\n box-sizing: border-box;\\n}\\n.table-container table tr td[data-v-1498a7d0] {\\n border-bottom: 1px solid #e9e9eb;\\n padding: 12px 0px;\\n box-sizing: border-box;\\n}\\n.table-container table tr[data-v-1498a7d0]:nth-child(odd) {\\n background-color: #f9f9fa;\\n}\\n.table-container table tr[data-v-1498a7d0]:first-of-type {\\n background-color: white;\\n}\\n.little-btn[data-v-1498a7d0] {\\n width: auto;\\n height: 31px;\\n border-radius: 4px;\\n background-color: #28a745;\\n margin-right: 5px;\\n font-weight: normal;\\n font-size: 13px;\\n}\\n.little-btn.red[data-v-1498a7d0] {\\n background-color: #dc3545;\\n}\\n.little-btn.orange[data-v-1498a7d0] {\\n background-color: #ffa500;\\n}\\n.little-btn.blue[data-v-1498a7d0] {\\n background-color: #253ee0;\\n margin-left: 0;\\n}\\n.new-btn[data-v-1498a7d0] {\\n width: auto;\\n height: 44px;\\n font-size: 16px;\\n padding: 0 30px;\\n}\\ntable[data-v-1498a7d0] {\\n width: 100%;\\n border-collapse: collapse;\\n}\\n.order-container[data-v-1498a7d0] {\\n margin: auto;\\n height: 40px;\\n width: 40px;\\n background-color: #f3f3f4;\\n border-radius: 50%;\\n border: 1px solid #e8e8e8;\\n color: #686871;\\n}\\n.order-container .icon-container[data-v-1498a7d0] {\\n width: 35px;\\n}\\n.order-container .icon-container .sort-icon-style[data-v-1498a7d0] {\\n display: block;\\n margin: auto;\\n cursor: pointer;\\n width: 19px;\\n height: 19px;\\n}\\n.order-container .icon-container .sort-icon-style.disabled-style[data-v-1498a7d0] {\\n color: #d4d4d7;\\n cursor: unset;\\n}\\n.dublicator-modal[data-v-1498a7d0] {\\n z-index: 1;\\n}\\n.dublicator-modal[data-v-1498a7d0] .vm--modal {\\n overflow-y: scroll;\\n}\\n@media (max-width: 1024px) {\\n.dublicator-modal[data-v-1498a7d0] .vm--modal {\\n width: 90% !important;\\n left: 50% !important;\\n transform: translateX(-50%);\\n}\\n}\\n.dublicator-modal .modal-heading[data-v-1498a7d0] {\\n height: 40px;\\n border-bottom: 1px solid var(--grayscale-30);\\n display: flex;\\n align-items: center;\\n padding: 15px 30px;\\n justify-content: space-between;\\n}\\n.dublicator-modal .modal-heading .close[data-v-1498a7d0] {\\n margin: 5px;\\n cursor: pointer;\\n}\\n.dublicator-modal .modal-bottom[data-v-1498a7d0] {\\n margin-top: 1em;\\n border-top: 1px solid var(--grayscale-30);\\n display: flex;\\n justify-content: space-between;\\n padding: 15px 30px;\\n}\\n.dublicator-modal .modal-bottom .base-button[data-v-1498a7d0] {\\n background-color: var(--color-primary-default);\\n color: var(--grayscale-0);\\n width: 180px;\\n font-size: 15px;\\n}\\n.dublicator-modal .modal-bottom .base-button.warning[data-v-1498a7d0] {\\n background-color: var(--color-warning);\\n}\\n.dublicator-modal .modal-bottom .base-button.disabled[data-v-1498a7d0] {\\n pointer-events: none;\\n}\\n.dublicator-modal .modal-body[data-v-1498a7d0] {\\n padding: 15px 30px;\\n}\\n.dublicator-modal .modal-body__top[data-v-1498a7d0] {\\n display: flex;\\n align-items: center;\\n flex-wrap: wrap;\\n}\\n.dublicator-modal .modal-body__top .block-quote[data-v-1498a7d0] {\\n background: #e1e1e1;\\n border-left: 3px solid #555;\\n padding: 10px;\\n display: block;\\n height: auto;\\n margin-bottom: 5px;\\n}\\n.dublicator-modal .modal-body__top .title[data-v-1498a7d0] {\\n display: inline-block;\\n text-decoration: underline;\\n font-style: italic;\\n margin-bottom: 5px;\\n}\\n.dublicator-modal .modal-body__image .image[data-v-1498a7d0] {\\n margin-right: 30px;\\n width: 96px;\\n height: 140px;\\n -o-object-fit: contain;\\n object-fit: contain;\\n}\\n.dublicator-modal .modal-body__detail[data-v-1498a7d0] {\\n width: 100%;\\n margin-top: 20px;\\n}\\n.dublicator-modal .modal-body__detail .base-form-input[data-v-1498a7d0] input {\\n height: 40px;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/GenericTable.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
389
389
 
390
390
  /***/ }),
391
391
 
@@ -440,7 +440,7 @@ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../.
440
440
  /*! no static exports found */
441
441
  /***/ (function(module, exports, __webpack_require__) {
442
442
 
443
- eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".main-container[data-v-c455b22c] {\\n width: 100%;\\n padding: 0 20px;\\n box-sizing: border-box;\\n background-color: white;\\n margin-top: 20px;\\n}\\n.main-container .grouped-container[data-v-c455b22c] {\\n position: relative;\\n border-radius: 6px;\\n border: solid 3px #d4d4d7;\\n margin-bottom: 70px;\\n box-sizing: border-box;\\n padding-bottom: 28px;\\n}\\n.main-container .grouped-container hr[data-v-c455b22c] {\\n border: none;\\n border-top: 1px solid #d4d4d7;\\n margin: 30px 0 0 0;\\n}\\n.main-container .grouped-container .input-container[data-v-c455b22c] {\\n padding: 18px 18px 0px 20px;\\n}\\n.main-container .grouped-container.with-button[data-v-c455b22c] {\\n width: 93%;\\n}\\n.main-container .grouped-container.with-button .add-button[data-v-c455b22c] {\\n position: absolute;\\n right: -56px;\\n top: 50%;\\n transform: translateY(-50%);\\n width: 48px;\\n height: 48px;\\n padding: 12px;\\n border-radius: 4px;\\n background-color: #242424;\\n box-sizing: border-box;\\n cursor: pointer;\\n color: white;\\n}\\n@media (max-width: 768px) {\\n.main-container .grouped-container.with-button .add-button[data-v-c455b22c] {\\n position: relative;\\n top: auto;\\n right: auto;\\n margin: 0 auto;\\n margin-top: 10px;\\n transform: translateY(0px);\\n}\\n}\\n.main-container .grouped-container.with-button .add-button.remove[data-v-c455b22c] {\\n background-color: #dc3545;\\n color: white;\\n}\\n.main-container .grouped-container .title[data-v-c455b22c] {\\n position: absolute;\\n top: -9px;\\n left: 40px;\\n font-family: \\\"Roboto\\\", sans-serif;\\n font-weight: bold;\\n font-size: 14px;\\n color: #242424;\\n background-color: white;\\n padding: 0 8px;\\n}\\n.main-container .grouped-container.inner[data-v-c455b22c] {\\n padding: 18px 22px 29px 20px;\\n margin: 20px 0 0 6px;\\n}\\n.main-container .grouped-container.inner .title[data-v-c455b22c] {\\n left: 10px;\\n}\\n.main-container .upload-main-container[data-v-c455b22c] {\\n width: 300px;\\n}\\n.main-container .upload-main-container .upload-container[data-v-c455b22c] {\\n padding: 0;\\n}\\n.main-container .button-container[data-v-c455b22c] {\\n padding: 10px 0 30px 0;\\n text-align: right;\\n}\\n.main-container .button-container .ok-btn[data-v-c455b22c] {\\n display: unset;\\n width: 220px;\\n height: 50px;\\n background-color: #28a745;\\n}\\n.main-container .button-container .ok-btn.disabled[data-v-c455b22c] {\\n pointer-events: none;\\n}\\n.main-container .button-container .ok-btn.cancel[data-v-c455b22c] {\\n width: 150px;\\n background-color: transparent;\\n color: var(--grayscale-60);\\n margin-right: 20px;\\n}\\n.grid-container[data-v-c455b22c] {\\n display: flex;\\n justify-content: flex-start;\\n align-content: flex-start;\\n flex-wrap: wrap;\\n align-items: stretch;\\n}\\n.grid-container.first[data-v-c455b22c] {\\n margin-bottom: 30px;\\n margin-left: -10px;\\n margin-right: -10px;\\n}\\n.grid-container.between[data-v-c455b22c] {\\n justify-content: space-between;\\n flex-flow: row;\\n}\\n.grid-container.centered[data-v-c455b22c] {\\n align-content: center;\\n}\\n.grid-container .break[data-v-c455b22c] {\\n width: 100%;\\n}\\n.grid-container .item[data-v-c455b22c] {\\n flex-grow: 1;\\n padding: 0 5px;\\n box-sizing: border-box;\\n}\\n.grid-container .item.long[data-v-c455b22c] {\\n width: 70%;\\n}\\n.grid-container .item.short[data-v-c455b22c] {\\n max-width: 295px;\\n}\\n.grid-container .item.input-item[data-v-c455b22c] {\\n padding: 6px 0;\\n}\\n@media (min-width: 1024px) {\\n.grid-container .item.input-item[data-v-c455b22c] {\\n max-width: 35%;\\n}\\n}\\n.grid-container .item.select-item[data-v-c455b22c] {\\n width: auto;\\n padding: 0 9px;\\n}\\n.grid-container .item .disable-selectbox[data-v-c455b22c] {\\n position: relative;\\n border: 1px solid #d4d4d7;\\n border-radius: 4px;\\n box-sizing: border-box;\\n padding: 11px 11px;\\n margin-top: 19px;\\n}\\n.grid-container .item .disable-selectbox p[data-v-c455b22c] {\\n font-size: 12px;\\n color: var(--grayscale-70);\\n position: absolute;\\n top: -7px;\\n left: 15px;\\n z-index: 2;\\n background-color: white;\\n}\\n.grid-container .item .disable-selectbox li[data-v-c455b22c] {\\n font-size: 14px;\\n display: inline-block;\\n align-items: center;\\n line-height: 1.4;\\n margin: 4px 2px 0px 2px;\\n padding: 0 0.25em;\\n}\\n.grid-container .item .disable-selectbox li.multiple[data-v-c455b22c] {\\n background-color: #f0f0f0;\\n border: 1px solid rgba(60, 60, 60, 0.26);\\n}\\n.grid-container .item .disable-selectbox.multiple[data-v-c455b22c] {\\n padding: 10px 11px;\\n margin-top: 12px;\\n}\\n.grid-container .item .disable-selectbox.multiple li[data-v-c455b22c] {\\n border-radius: 4px;\\n background-color: #f0f0f0;\\n border: 1px solid rgba(60, 60, 60, 0.26);\\n}\\n.product-managements-container .form-group[data-v-c455b22c] {\\n margin: 0;\\n width: 100%;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/ProductDescribingForm.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
443
+ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".main-container[data-v-c455b22c] {\\n width: 100%;\\n padding: 0 20px;\\n box-sizing: border-box;\\n background-color: white;\\n margin-top: 20px;\\n}\\n.main-container .grouped-container[data-v-c455b22c] {\\n position: relative;\\n border-radius: 6px;\\n border: solid 3px #d4d4d7;\\n margin-bottom: 70px;\\n box-sizing: border-box;\\n padding-bottom: 28px;\\n}\\n.main-container .grouped-container hr[data-v-c455b22c] {\\n border: none;\\n border-top: 1px solid #d4d4d7;\\n margin: 30px 0 0 0;\\n}\\n.main-container .grouped-container .input-container[data-v-c455b22c] {\\n padding: 18px 18px 0px 20px;\\n}\\n.main-container .grouped-container.with-button[data-v-c455b22c] {\\n width: 93%;\\n}\\n.main-container .grouped-container.with-button .add-button[data-v-c455b22c] {\\n position: absolute;\\n right: -56px;\\n top: 50%;\\n transform: translateY(-50%);\\n width: 48px;\\n height: 48px;\\n padding: 12px;\\n border-radius: 4px;\\n background-color: #242424;\\n box-sizing: border-box;\\n cursor: pointer;\\n color: white;\\n}\\n@media (max-width: 768px) {\\n.main-container .grouped-container.with-button .add-button[data-v-c455b22c] {\\n position: relative;\\n top: auto;\\n right: auto;\\n margin: 0 auto;\\n margin-top: 10px;\\n transform: translateY(0px);\\n}\\n}\\n.main-container .grouped-container.with-button .add-button.remove[data-v-c455b22c] {\\n background-color: #dc3545;\\n color: white;\\n}\\n.main-container .grouped-container .title[data-v-c455b22c] {\\n position: absolute;\\n top: -9px;\\n left: 40px;\\n font-weight: bold;\\n font-size: 14px;\\n color: #242424;\\n background-color: white;\\n padding: 0 8px;\\n}\\n.main-container .grouped-container.inner[data-v-c455b22c] {\\n padding: 18px 22px 29px 20px;\\n margin: 20px 0 0 6px;\\n}\\n.main-container .grouped-container.inner .title[data-v-c455b22c] {\\n left: 10px;\\n}\\n.main-container .upload-main-container[data-v-c455b22c] {\\n width: 300px;\\n}\\n.main-container .upload-main-container .upload-container[data-v-c455b22c] {\\n padding: 0;\\n}\\n.main-container .button-container[data-v-c455b22c] {\\n padding: 10px 0 30px 0;\\n text-align: right;\\n}\\n.main-container .button-container .ok-btn[data-v-c455b22c] {\\n display: unset;\\n width: 220px;\\n height: 50px;\\n background-color: #28a745;\\n}\\n.main-container .button-container .ok-btn.disabled[data-v-c455b22c] {\\n pointer-events: none;\\n}\\n.main-container .button-container .ok-btn.cancel[data-v-c455b22c] {\\n width: 150px;\\n background-color: transparent;\\n color: var(--grayscale-60);\\n margin-right: 20px;\\n}\\n.grid-container[data-v-c455b22c] {\\n display: flex;\\n justify-content: flex-start;\\n align-content: flex-start;\\n flex-wrap: wrap;\\n align-items: stretch;\\n}\\n.grid-container.first[data-v-c455b22c] {\\n margin-bottom: 30px;\\n margin-left: -10px;\\n margin-right: -10px;\\n}\\n.grid-container.between[data-v-c455b22c] {\\n justify-content: space-between;\\n flex-flow: row;\\n}\\n.grid-container.centered[data-v-c455b22c] {\\n align-content: center;\\n}\\n.grid-container .break[data-v-c455b22c] {\\n width: 100%;\\n}\\n.grid-container .item[data-v-c455b22c] {\\n flex-grow: 1;\\n padding: 0 5px;\\n box-sizing: border-box;\\n}\\n.grid-container .item.long[data-v-c455b22c] {\\n width: 70%;\\n}\\n.grid-container .item.short[data-v-c455b22c] {\\n max-width: 295px;\\n}\\n.grid-container .item.input-item[data-v-c455b22c] {\\n padding: 6px 0;\\n}\\n@media (min-width: 1024px) {\\n.grid-container .item.input-item[data-v-c455b22c] {\\n max-width: 35%;\\n}\\n}\\n.grid-container .item.select-item[data-v-c455b22c] {\\n width: auto;\\n padding: 0 9px;\\n}\\n.grid-container .item .disable-selectbox[data-v-c455b22c] {\\n position: relative;\\n border: 1px solid #d4d4d7;\\n border-radius: 4px;\\n box-sizing: border-box;\\n padding: 11px 11px;\\n margin-top: 19px;\\n}\\n.grid-container .item .disable-selectbox p[data-v-c455b22c] {\\n font-size: 12px;\\n color: var(--grayscale-70);\\n position: absolute;\\n top: -7px;\\n left: 15px;\\n z-index: 2;\\n background-color: white;\\n}\\n.grid-container .item .disable-selectbox li[data-v-c455b22c] {\\n font-size: 14px;\\n display: inline-block;\\n align-items: center;\\n line-height: 1.4;\\n margin: 4px 2px 0px 2px;\\n padding: 0 0.25em;\\n}\\n.grid-container .item .disable-selectbox li.multiple[data-v-c455b22c] {\\n background-color: #f0f0f0;\\n border: 1px solid rgba(60, 60, 60, 0.26);\\n}\\n.grid-container .item .disable-selectbox.multiple[data-v-c455b22c] {\\n padding: 10px 11px;\\n margin-top: 12px;\\n}\\n.grid-container .item .disable-selectbox.multiple li[data-v-c455b22c] {\\n border-radius: 4px;\\n background-color: #f0f0f0;\\n border: 1px solid rgba(60, 60, 60, 0.26);\\n}\\n.product-managements-container .form-group[data-v-c455b22c] {\\n margin: 0;\\n width: 100%;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/ProductDescribingForm.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
444
444
 
445
445
  /***/ }),
446
446
 
@@ -462,7 +462,7 @@ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../.
462
462
  /*! no static exports found */
463
463
  /***/ (function(module, exports, __webpack_require__) {
464
464
 
465
- eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".product-managements-container .modal-body .grouped-container[data-v-17153653] {\\n position: relative;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button[data-v-17153653] {\\n width: 100%;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button .add-button[data-v-17153653] {\\n position: absolute;\\n right: -14px;\\n top: calc(50% - 10px);\\n width: 35px;\\n height: 35px;\\n padding: 6px;\\n border-radius: 4px;\\n background-color: #242424;\\n box-sizing: border-box;\\n cursor: pointer;\\n color: white;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button .add-button.remove[data-v-17153653] {\\n background-color: #dc3545;\\n color: white;\\n}\\n.product-managements-container .modal-body .grouped-container .title[data-v-17153653] {\\n position: absolute;\\n top: -9px;\\n left: 30px;\\n font-family: \\\"Roboto\\\", sans-serif;\\n font-weight: bold;\\n font-size: 14px;\\n color: #242424;\\n background-color: white;\\n padding: 0 8px;\\n}\\n.product-managements-container .modal-body .upload-container[data-v-17153653] {\\n padding: 10px 10px;\\n display: flex;\\n flex-flow: row wrap;\\n justify-content: space-around;\\n}\\n.product-managements-container .modal-body .upload-container input[data-v-17153653] {\\n display: none;\\n}\\n.product-managements-container .modal-body .upload-container .content-item .dummy-image[data-v-17153653] {\\n width: 58px;\\n height: 58px;\\n border-radius: 3px;\\n background-color: #f3f3f3;\\n background-position: center center;\\n background-size: cover;\\n padding: 17px 17px;\\n box-sizing: border-box;\\n cursor: pointer;\\n}\\n.product-managements-container .modal-body .upload-container .content-item .dummy-image .plus[data-v-17153653] {\\n color: #b9b9b9;\\n}\\n.product-managements-container .modal-body .form-group[data-v-17153653] {\\n width: 93%;\\n margin-left: 10px;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/ResearchDefinitionForm.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
465
+ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".product-managements-container .modal-body .grouped-container[data-v-17153653] {\\n position: relative;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button[data-v-17153653] {\\n width: 100%;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button .add-button[data-v-17153653] {\\n position: absolute;\\n right: -14px;\\n top: calc(50% - 10px);\\n width: 35px;\\n height: 35px;\\n padding: 6px;\\n border-radius: 4px;\\n background-color: #242424;\\n box-sizing: border-box;\\n cursor: pointer;\\n color: white;\\n}\\n.product-managements-container .modal-body .grouped-container.with-button .add-button.remove[data-v-17153653] {\\n background-color: #dc3545;\\n color: white;\\n}\\n.product-managements-container .modal-body .grouped-container .title[data-v-17153653] {\\n position: absolute;\\n top: -9px;\\n left: 30px;\\n font-weight: bold;\\n font-size: 14px;\\n color: #242424;\\n background-color: white;\\n padding: 0 8px;\\n}\\n.product-managements-container .modal-body .upload-container[data-v-17153653] {\\n padding: 10px 10px;\\n display: flex;\\n flex-flow: row wrap;\\n justify-content: space-around;\\n}\\n.product-managements-container .modal-body .upload-container input[data-v-17153653] {\\n display: none;\\n}\\n.product-managements-container .modal-body .upload-container .content-item .dummy-image[data-v-17153653] {\\n width: 58px;\\n height: 58px;\\n border-radius: 3px;\\n background-color: #f3f3f3;\\n background-position: center center;\\n background-size: cover;\\n padding: 17px 17px;\\n box-sizing: border-box;\\n cursor: pointer;\\n}\\n.product-managements-container .modal-body .upload-container .content-item .dummy-image .plus[data-v-17153653] {\\n color: #b9b9b9;\\n}\\n.product-managements-container .modal-body .form-group[data-v-17153653] {\\n width: 93%;\\n margin-left: 10px;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/productAndPackage/ResearchDefinitionForm.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
466
466
 
467
467
  /***/ }),
468
468
 
@@ -495,7 +495,7 @@ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../.
495
495
  /*! no static exports found */
496
496
  /***/ (function(module, exports, __webpack_require__) {
497
497
 
498
- eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".product-managements-container {\\n padding-bottom: 50px;\\n background-color: white;\\n font-family: \\\"Poppins\\\", sans-serif;\\n}\\n.product-managements-container .menu-tabs {\\n overflow: hidden;\\n display: flex;\\n border-bottom: 1px solid black;\\n}\\n@media (max-width: 1024px) {\\n.product-managements-container .menu-tabs {\\n overflow-x: scroll;\\n}\\n}\\n.product-managements-container .menu-tabs .tab {\\n cursor: pointer;\\n padding: 20px 30px;\\n color: #242424;\\n font-size: 14px;\\n border-bottom: 2px solid transparent;\\n box-sizing: border-box;\\n}\\n.product-managements-container .menu-tabs .tab.is-tab-selected {\\n border-bottom-color: black;\\n}\\n.product-managements-container .base-form-input {\\n margin: 0 10px;\\n}\\n.product-managements-container .base-form-input input {\\n width: 95%;\\n height: 43px;\\n box-shadow: none;\\n border: 1px solid #ccc;\\n position: relative;\\n}\\n.product-managements-container .base-form-input label {\\n width: -webkit-max-content;\\n width: -moz-max-content;\\n width: max-content;\\n top: 8px;\\n margin-bottom: 0;\\n}\\n.product-managements-container .form-control-label,\\n .product-managements-container .base-form-input label {\\n font-size: 12px;\\n color: var(--grayscale-70);\\n position: relative;\\n padding: 0 7px;\\n margin-left: 10px;\\n z-index: 2;\\n background: #ffffff;\\n}\\n@media (min-width: 768px) and (max-width: 1024px) {\\n.product-managements-container .form-control-label,\\n .product-managements-container .base-form-input label {\\n width: 90%;\\n}\\n}\\n.product-managements-container .form-control-label {\\n top: 10px;\\n}\\n.product-managements-container .modal .vm--modal {\\n max-width: 600px;\\n width: 100%;\\n left: 0 !important;\\n margin: 0 auto;\\n}\\n@media (max-width: 768px) {\\n.product-managements-container .modal .vm--modal {\\n width: 95% !important;\\n}\\n}\\n.product-managements-container .modal .modal-heading {\\n height: 40px;\\n border-bottom: 1px solid var(--grayscale-30);\\n display: flex;\\n align-items: center;\\n padding: 15px 30px;\\n justify-content: space-between;\\n}\\n.product-managements-container .modal .modal-heading .close {\\n margin: 5px;\\n cursor: pointer;\\n}\\n.product-managements-container .modal .modal-bottom {\\n margin-top: 1em;\\n border-top: 1px solid var(--grayscale-30);\\n display: flex;\\n justify-content: flex-end;\\n padding: 15px 30px;\\n}\\n.product-managements-container .modal .modal-bottom .add,\\n .product-managements-container .modal .modal-bottom .update {\\n background-color: #28a745;\\n}\\n.product-managements-container .modal .modal-bottom .red {\\n background-color: #dc3545;\\n}\\n.product-managements-container .modal .modal-bottom .base-button {\\n width: 180px;\\n font-size: 15px;\\n margin-left: 10px;\\n}\\n.product-managements-container .modal .modal-bottom .base-button.giveUp {\\n background: none;\\n color: var(--grayscale-60);\\n}\\n.product-managements-container .modal .modal-body {\\n padding: 15px 25px;\\n display: flex;\\n flex-wrap: wrap;\\n justify-content: left;\\n align-items: center;\\n overflow-y: auto;\\n max-height: 277px;\\n}\\n.product-managements-container .modal .modal-body .base-form-input {\\n width: 95%;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/ProductAndPackageManagement.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
498
+ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".product-managements-container {\\n padding-bottom: 50px;\\n background-color: white;\\n}\\n.product-managements-container .menu-tabs {\\n overflow: hidden;\\n display: flex;\\n border-bottom: 1px solid black;\\n}\\n@media (max-width: 1024px) {\\n.product-managements-container .menu-tabs {\\n overflow-x: scroll;\\n}\\n}\\n.product-managements-container .menu-tabs .tab {\\n cursor: pointer;\\n padding: 20px 30px;\\n color: #242424;\\n font-size: 14px;\\n border-bottom: 2px solid transparent;\\n box-sizing: border-box;\\n}\\n.product-managements-container .menu-tabs .tab.is-tab-selected {\\n border-bottom-color: black;\\n}\\n.product-managements-container .base-form-input {\\n margin: 0 10px;\\n}\\n.product-managements-container .base-form-input input {\\n width: 95%;\\n height: 43px;\\n box-shadow: none;\\n border: 1px solid #ccc;\\n position: relative;\\n}\\n.product-managements-container .base-form-input label {\\n width: -webkit-max-content;\\n width: -moz-max-content;\\n width: max-content;\\n top: 8px;\\n margin-bottom: 0;\\n}\\n.product-managements-container .form-control-label,\\n .product-managements-container .base-form-input label {\\n font-size: 12px;\\n color: var(--grayscale-70);\\n position: relative;\\n padding: 0 7px;\\n margin-left: 10px;\\n z-index: 2;\\n background: #ffffff;\\n}\\n@media (min-width: 768px) and (max-width: 1024px) {\\n.product-managements-container .form-control-label,\\n .product-managements-container .base-form-input label {\\n width: 90%;\\n}\\n}\\n.product-managements-container .form-control-label {\\n top: 10px;\\n}\\n.product-managements-container .modal .vm--modal {\\n max-width: 600px;\\n width: 100%;\\n left: 0 !important;\\n margin: 0 auto;\\n}\\n@media (max-width: 768px) {\\n.product-managements-container .modal .vm--modal {\\n width: 95% !important;\\n}\\n}\\n.product-managements-container .modal .modal-heading {\\n height: 40px;\\n border-bottom: 1px solid var(--grayscale-30);\\n display: flex;\\n align-items: center;\\n padding: 15px 30px;\\n justify-content: space-between;\\n}\\n.product-managements-container .modal .modal-heading .close {\\n margin: 5px;\\n cursor: pointer;\\n}\\n.product-managements-container .modal .modal-bottom {\\n margin-top: 1em;\\n border-top: 1px solid var(--grayscale-30);\\n display: flex;\\n justify-content: flex-end;\\n padding: 15px 30px;\\n}\\n.product-managements-container .modal .modal-bottom .add,\\n .product-managements-container .modal .modal-bottom .update {\\n background-color: #28a745;\\n}\\n.product-managements-container .modal .modal-bottom .red {\\n background-color: #dc3545;\\n}\\n.product-managements-container .modal .modal-bottom .base-button {\\n width: 180px;\\n font-size: 15px;\\n margin-left: 10px;\\n}\\n.product-managements-container .modal .modal-bottom .base-button.giveUp {\\n background: none;\\n color: var(--grayscale-60);\\n}\\n.product-managements-container .modal .modal-body {\\n padding: 15px 25px;\\n display: flex;\\n flex-wrap: wrap;\\n justify-content: left;\\n align-items: center;\\n overflow-y: auto;\\n max-height: 277px;\\n}\\n.product-managements-container .modal .modal-body .base-form-input {\\n width: 95%;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/ProductAndPackageManagement.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
499
499
 
500
500
  /***/ }),
501
501