osmanli-veri-dagitim 2.1.32-dev → 2.1.34-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.
|
@@ -1572,7 +1572,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
|
|
|
1572
1572
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1573
1573
|
|
|
1574
1574
|
"use strict";
|
|
1575
|
-
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 vue_select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue-select */ \"./node_modules/vue-select/dist/vue-select.js\");\n/* harmony import */ var vue_select__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vue_select__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _popperjs_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @popperjs/core */ \"./node_modules/@popperjs/core/lib/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/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"SelectInput\",\n props: {\n fieldLabel: String,\n options: Array,\n id: String,\n error: Boolean,\n errorText: String,\n isSearchable: Boolean,\n selectedId: {\n type: [Number, String, Object, Array],\n required: false\n },\n readonly: Boolean,\n multiple: Boolean,\n clearable: Boolean,\n placeholder: String,\n defaultIndex: Number,\n setSmallFontsForOptions: Boolean\n },\n components: {\n VueSelect: (vue_select__WEBPACK_IMPORTED_MODULE_1___default())\n },\n\n data() {\n return {\n selectedVal: null,\n placement: \"bottom\",\n routeRuleName: \"Checkout\",\n vcoConfig: {\n handler: this.handler,\n middleware: this.middleware,\n events: [\"click\"]\n }\n };\n },\n\n mounted() {\n if (this.multiple) {\n if (this.options.length > 0 && this.selectedId !== undefined) {\n this.selectedVal = this.options.filter(x => this.selectedId.includes(x.code));\n }\n } else {\n this.checkSelected();\n }\n },\n\n methods: {\n onChange() {\n if (this.multiple) {\n this.$emit(\"change\", this.selectedVal ? this.selectedVal : []);\n const selectedItems = this.selectedVal.map(data => {\n return data.code;\n });\n this.$emit(\"input\", selectedItems);\n } else {\n this.$emit(\"change\", this.selectedVal ? this.selectedVal : null);\n this.$emit(\"input\", this.selectedVal ? this.selectedVal.code : null);\n }\n\n this.fakeClickForClosingDropdown();\n },\n\n middleware(event) {\n var _event$target$classNa;\n\n return ((_event$target$classNa = event.target.className) === null || _event$target$classNa === void 0 ? void 0 : _event$target$classNa.baseVal) !== \"veri-dagitim-selectbox\";\n },\n\n handler() {\n const vdSelect = this.$refs.vdSelect;\n\n if (vdSelect.open) {\n this.$refs.vdSelect.$refs.dropdownMenu.remove();\n this.$refs.vdSelect.closeSearchOptions(true);\n this.$refs.vdSelect.onSearchBlur(true);\n this.fakeClickForClosingDropdown();\n }\n },\n\n fakeClickForClosingDropdown() {\n const clickEvent = new Event(\"click\");\n document.dispatchEvent(clickEvent);\n },\n\n reset() {\n this.selectedVal = null;\n },\n\n changeToSpecificValue(id) {\n this.selectedVal = this.options.find(o => o.option === id);\n },\n\n checkSelected() {\n if (typeof this.selectedId === \"number\" || typeof this.selectedId === \"string\") {\n this.selectDetermineSelectedValue(this.selectedId);\n }\n },\n\n selectDetermineSelectedValue(status) {\n this.options.filter(option => {\n if (option.code == status) {\n this.selectedVal = option;\n }\n });\n },\n\n multiSelectDetermineSelectedValue(val) {\n if (!val || !val.length) this.selectedVal = this.options[0];else {\n this.selectedVal = val.map(v => this.options.find(o => o.option == v));\n }\n },\n\n withPopper(dropdownList, component, {\n width\n }) {\n dropdownList.style.width = width;\n const popper = Object(_popperjs_core__WEBPACK_IMPORTED_MODULE_2__[\"createPopper\"])(component.$refs.toggle, dropdownList, {\n placement: this.placement,\n modifiers: [{\n name: \"offset\",\n options: {\n offset: [0, -1]\n }\n }, {\n name: \"toggleClass\",\n enabled: true,\n phase: \"write\",\n\n fn({\n state\n }) {\n component.$el.classList.toggle(\"drop-up\", state.placement === \"top\");\n }\n\n }]\n });\n return () => popper.destroy();\n }\n\n },\n computed: {\n addClass() {\n return [{\n error: this.error\n }, {\n readonly: this.readonly\n }, {\n smallFonts: this.setSmallFontsForOptions\n }];\n }\n\n },\n watch: {\n selectedId(val) {\n if (typeof val === \"number\" || typeof val === \"string\") {\n this.selectDetermineSelectedValue(val);\n }\n }\n\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/base/SelectInput.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");
|
|
1575
|
+
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 vue_select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue-select */ \"./node_modules/vue-select/dist/vue-select.js\");\n/* harmony import */ var vue_select__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vue_select__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _popperjs_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @popperjs/core */ \"./node_modules/@popperjs/core/lib/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/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"SelectInput\",\n props: {\n fieldLabel: String,\n options: Array,\n id: String,\n error: Boolean,\n errorText: String,\n isSearchable: Boolean,\n selectedId: {\n type: [Number, String, Object, Array],\n required: false\n },\n readonly: Boolean,\n multiple: Boolean,\n clearable: Boolean,\n placeholder: String,\n defaultIndex: Number,\n setSmallFontsForOptions: Boolean\n },\n components: {\n VueSelect: (vue_select__WEBPACK_IMPORTED_MODULE_1___default())\n },\n\n data() {\n return {\n selectedVal: null,\n placement: \"bottom\",\n routeRuleName: \"Checkout\",\n vcoConfig: {\n handler: this.handler,\n middleware: this.middleware,\n events: [\"click\"]\n }\n };\n },\n\n mounted() {\n if (this.multiple) {\n if (this.options.length > 0 && this.selectedId !== undefined) {\n this.selectedVal = this.options.filter(x => this.selectedId.includes(x.code));\n }\n } else {\n this.checkSelected();\n }\n },\n\n methods: {\n onChange() {\n if (this.multiple) {\n this.$emit(\"change\", this.selectedVal ? this.selectedVal : []);\n const selectedItems = this.selectedVal.map(data => {\n return data.code;\n });\n this.$emit(\"input\", selectedItems);\n } else {\n this.$emit(\"change\", this.selectedVal ? this.selectedVal : null);\n this.$emit(\"input\", this.selectedVal ? this.selectedVal.code : null);\n }\n\n this.fakeClickForClosingDropdown();\n },\n\n middleware(event) {\n var _event$target$classNa;\n\n return ((_event$target$classNa = event.target.className) === null || _event$target$classNa === void 0 ? void 0 : _event$target$classNa.baseVal) !== \"veri-dagitim-selectbox\";\n },\n\n handler() {\n const vdSelect = this.$refs.vdSelect;\n\n if (vdSelect.open) {\n this.$refs.vdSelect.$refs.dropdownMenu.remove();\n this.$refs.vdSelect.closeSearchOptions(true);\n this.$refs.vdSelect.onSearchBlur(true);\n this.fakeClickForClosingDropdown();\n }\n },\n\n fakeClickForClosingDropdown() {\n const clickEvent = new Event(\"click\");\n document.dispatchEvent(clickEvent);\n },\n\n reset() {\n this.selectedVal = null;\n },\n\n changeToSpecificValue(id) {\n this.selectedVal = this.options.find(o => o.option === id);\n },\n\n checkSelected() {\n if (typeof this.selectedId === \"number\" || typeof this.selectedId === \"string\") {\n this.selectDetermineSelectedValue(this.selectedId);\n }\n },\n\n selectDetermineSelectedValue(status) {\n this.options.filter(option => {\n if (option.code == status) {\n this.selectedVal = option;\n }\n });\n },\n\n multiSelectDetermineSelectedValue(val) {\n if (!val || !val.length) this.selectedVal = this.options[0];else {\n this.selectedVal = val.map(v => this.options.find(o => o.option == v));\n }\n },\n\n withPopper(dropdownList, component, {\n width\n }) {\n dropdownList.style.width = width;\n console.log(width);\n console.log(component);\n const popper = Object(_popperjs_core__WEBPACK_IMPORTED_MODULE_2__[\"createPopper\"])(component.$refs.toggle, dropdownList, {\n placement: this.placement,\n modifiers: [{\n name: \"offset\",\n options: {\n offset: [0, -1]\n }\n }, {\n name: \"toggleClass\",\n enabled: true,\n phase: \"write\",\n\n fn({\n state\n }) {\n component.$el.classList.toggle(\"drop-up\", state.placement === \"top\");\n }\n\n }]\n });\n return () => popper.destroy();\n }\n\n },\n computed: {\n addClass() {\n return [{\n error: this.error\n }, {\n readonly: this.readonly\n }, {\n smallFonts: this.setSmallFontsForOptions\n }];\n }\n\n },\n watch: {\n selectedId(val) {\n if (typeof val === \"number\" || typeof val === \"string\") {\n this.selectDetermineSelectedValue(val);\n }\n }\n\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/base/SelectInput.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");
|
|
1576
1576
|
|
|
1577
1577
|
/***/ }),
|
|
1578
1578
|
|
|
@@ -1716,7 +1716,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
|
|
|
1716
1716
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1717
1717
|
|
|
1718
1718
|
"use strict";
|
|
1719
|
-
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 _PackageSettingType_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./PackageSettingType.vue */ \"./src/components/customer/PackageSettingType.vue\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _mixins___WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../mixins/ */ \"./src/mixins/index.js\");\n/* harmony import */ var _base_InfoArea_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../base/InfoArea.vue */ \"./src/components/base/InfoArea.vue\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../constants */ \"./src/constants/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/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"PackageSettigns\",\n mixins: [_mixins___WEBPACK_IMPORTED_MODULE_3__[\"default\"]],\n components: {\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_2__[\"BaseButton\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_2__[\"BaseIcon\"],\n PopupRight: _components__WEBPACK_IMPORTED_MODULE_2__[\"PopupRight\"],\n PackageSettingType: _PackageSettingType_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n AccordionResearch: _components__WEBPACK_IMPORTED_MODULE_2__[\"AccordionResearch\"],\n AccordionForeign: _components__WEBPACK_IMPORTED_MODULE_2__[\"AccordionForeign\"],\n AccordionAlgoServer: _components__WEBPACK_IMPORTED_MODULE_2__[\"AccordionAlgoServer\"],\n InfoArea: _base_InfoArea_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n },\n props: {\n dataItem: Object,\n marketInfo: Array,\n isPopupVisible: Boolean\n },\n\n data() {\n return {\n isResponsive: false,\n fund: 0,\n commission: 0,\n topPrice: 0,\n bottomFund: 0,\n bottomCommission: 0,\n totalPrice: 0,\n startDateSelection: this.dataItem.dateSelection,\n selectData: [],\n research: [],\n foreign: [],\n algoServer: [],\n isButtonClicked: false,\n warningMessage: false,\n infoText: [\"BES ve yatırım fonu büyüklüğü ve/veya komisyon şartı sağlandığı taktirde; o ay toplamda belirtilen ekran ücreti sizden alınmayacaktır.\", \"Karma Lisans paketinde derinlik bilgisi bulunmamaktadır.\"],\n startDate: [{\n label: \"Seçiniz\",\n code: -1\n }, {\n label: \"Hemen\",\n code: 0\n }, {\n label: \"Ay Başında\",\n code: 1\n }],\n cusId: null\n };\n },\n\n created() {\n this.handleWidth();\n window.addEventListener(\"resize\", this.handleWidth());\n },\n\n mounted() {\n this.setSelectedForeign([]);\n this.setSelectedAlgoServer([]);\n this.setSelectedResearch([]);\n this.cusId = this.$route.params.customerId !== undefined ? this.$route.params.customerId : null;\n\n if (this.$route.name === \"Checkout\") {\n this.cusId = this.$route.query.c !== undefined ? this.$route.query.c : this.$route.params.customerId;\n this.startDateSelection = this.dataItem.dateSelection;\n }\n\n this.sumFundCommission();\n this.getForeign([this.dataItem.application.applicationId, this.dataItem.platform.platformId, this.cusId]).then(res => {\n let details = {};\n details = res.data;\n\n if (this.getDraftPackageDetails.foreignIndice) {\n this.getDraftPackageDetails.foreignIndice.forEach((element, index) => {\n if (element.foreignIndiceFeature.id == details[index].id) {\n details[index].dateSelection = Number(element.dateSelection.key);\n }\n });\n }\n\n this.foreign.push({\n id: 2,\n active: false,\n title: \"Yabancı Endeksler\",\n details\n });\n });\n this.getResearch([this.dataItem.application.applicationId, this.cusId]).then(res => {\n let details = {};\n details = res.data;\n\n if (this.getDraftPackageDetails.research) {\n this.getDraftPackageDetails.research.forEach((element, index) => {\n if (element.researchFeature.id == details[index].id) {\n details[index].dateSelection = Number(element.dateSelection.key);\n }\n });\n }\n\n this.research = [{\n id: 1,\n active: false,\n title: \"Araştırma ve Diğer Uygulamalar\",\n details\n }];\n });\n this.$nextTick(() => {\n this.getAlgoServer([this.dataItem.application.applicationId, this.cusId]).then(res => {\n let details = {};\n details = res.data;\n\n if (this.getDraftPackageDetails.algorithm) {\n this.getDraftPackageDetails.algorithm.forEach((element, index) => {\n if (element.algorithmFeature.id == details[index].id) {\n details[index].dateSelection = Number(element.dateSelection.key);\n }\n });\n }\n\n this.algoServer.push({\n id: 3,\n active: false,\n title: \"Algoritmalar\",\n details\n });\n });\n });\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"getSelectedAlgoServerInfo\", \"customer\", \"getResearchInfo\", \"getSelectedForeignInfo\", \"getForeignInfo\", \"getAlgoServerInfo\", \"getSelectedResearchInfo\", \"getPackageInfo\", \"getDraftPackageDetails\", \"getUserInfo\"]),\n\n getMemberType() {\n return this.getUserInfo.memberType;\n },\n\n currencySymbol() {\n return _constants__WEBPACK_IMPORTED_MODULE_5__[\"CurrencySymbol\"];\n },\n\n researchTotal() {\n return this.getSelectedResearchInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.price) || 0) + totald;\n }, 0);\n },\n\n foraignDollarTotal() {\n return this.getSelectedForeignInfo.reduce((totald, item) => {\n if (item.priceInfo === \"$\") {\n return ((item === null || item === void 0 ? void 0 : item.price) || 0) + totald;\n } else {\n return 0 + totald;\n }\n }, 0);\n },\n\n getStartDateSelection() {\n return this.dataItem.dateSelection;\n },\n\n foraignEuroTotal() {\n return this.getSelectedForeignInfo.reduce((totald, item) => {\n if (item.priceInfo === \"€\") {\n return ((item === null || item === void 0 ? void 0 : item.price) || 0) + totald;\n } else {\n return 0 + totald;\n }\n }, 0);\n },\n\n algoServerTotal() {\n return this.getSelectedAlgoServerInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.price) || 0) + totald;\n }, 0);\n },\n\n researchFund() {\n return this.getSelectedResearchInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.fundAmount) || 0) + totald;\n }, 0);\n },\n\n foreignFund() {\n return this.getSelectedForeignInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.fundAmount) || 0) + totald;\n }, 0);\n },\n\n algoServerFund() {\n return this.getSelectedAlgoServerInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.fundAmount) || 0) + totald;\n }, 0);\n },\n\n researchCommission() {\n return this.getSelectedResearchInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.commissionAmount) || 0) + totald;\n }, 0);\n },\n\n foreignCommission() {\n return this.getSelectedForeignInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.commissionAmount) || 0) + totald;\n }, 0);\n },\n\n foraignTurkishLiraTotal() {\n return this.getSelectedForeignInfo.reduce((totald, item) => {\n if (item.priceInfo === \"₺\") {\n return ((item === null || item === void 0 ? void 0 : item.price) || 0) + totald;\n } else {\n return 0 + totald;\n }\n }, 0);\n },\n\n algoServerCommission() {\n return this.getSelectedAlgoServerInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.commissionAmount) || 0) + totald;\n }, 0);\n },\n\n totalPriceDollar() {\n var _this$dataItem, _this$dataItem$price, _this$dataItem$price$;\n\n return (_this$dataItem = this.dataItem) === null || _this$dataItem === void 0 ? void 0 : (_this$dataItem$price = _this$dataItem.price) === null || _this$dataItem$price === void 0 ? void 0 : (_this$dataItem$price$ = _this$dataItem$price.prices) === null || _this$dataItem$price$ === void 0 ? void 0 : _this$dataItem$price$.filter(e => e.info === this.currencySymbol.dolar)[0];\n },\n\n totalPriceEuro() {\n var _this$dataItem2, _this$dataItem2$price, _this$dataItem2$price2;\n\n return (_this$dataItem2 = this.dataItem) === null || _this$dataItem2 === void 0 ? void 0 : (_this$dataItem2$price = _this$dataItem2.price) === null || _this$dataItem2$price === void 0 ? void 0 : (_this$dataItem2$price2 = _this$dataItem2$price.prices) === null || _this$dataItem2$price2 === void 0 ? void 0 : _this$dataItem2$price2.filter(e => e.info === this.currencySymbol.euro)[0];\n },\n\n totalPriceTl() {\n var _this$dataItem3, _this$dataItem3$price, _this$dataItem3$price2;\n\n return (_this$dataItem3 = this.dataItem) === null || _this$dataItem3 === void 0 ? void 0 : (_this$dataItem3$price = _this$dataItem3.price) === null || _this$dataItem3$price === void 0 ? void 0 : (_this$dataItem3$price2 = _this$dataItem3$price.prices) === null || _this$dataItem3$price2 === void 0 ? void 0 : _this$dataItem3$price2.filter(e => e.info === this.currencySymbol.tl)[0].totalPrice;\n },\n\n totalPriceCalc() {\n var _this$totalPriceDolla, _this$totalPriceEuro;\n\n let totalDollar = `${this.totalPriceDollar ? ` + ${this.formatPriceDollar((_this$totalPriceDolla = this.totalPriceDollar) === null || _this$totalPriceDolla === void 0 ? void 0 : _this$totalPriceDolla.totalPrice)} Dolar` : \"\"}`;\n let totalEuro = `${this.totalPriceEuro ? ` + ${this.formatPriceEuro((_this$totalPriceEuro = this.totalPriceEuro) === null || _this$totalPriceEuro === void 0 ? void 0 : _this$totalPriceEuro.totalPrice)} Euro` : \"\"}`;\n return this.formatPrice(this.totalPriceTl) + this.currencySymbol.tl + totalDollar + totalEuro;\n }\n\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getForeign\", \"getAllPackages\", \"getDraftPackageDetail\", \"getResearch\", \"updatePackage\", \"getAlgoServer\", \"createPackage\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapMutations\"])([\"setSelectedForeign\", \"setSelectedAlgoServer\", \"setSelectedResearch\"]),\n\n checkSpesificWarning(param) {\n this.warningMessage = param;\n },\n\n setDefaultValues() {\n this.bottomCommission = 0;\n this.totalPrice = 0;\n this.bottomFund = 0;\n this.selectData = [];\n this.startDateSelection = this.startDate[0].code;\n this.setSelectedForeign([]);\n this.setSelectedAlgoServer([]);\n this.setSelectedResearch([]);\n this.$emit(\"close\");\n },\n\n handleWidth() {\n let w = window.innerWidth;\n this.isResponsive = w <= 640;\n },\n\n sumFundCommission() {\n this.fund = this.dataItem.price.totalFundAmount;\n this.commission = this.dataItem.price.totalCommissionAmount;\n this.topPrice = this.totalPriceCalc;\n this.totalPrice = this.topPrice;\n },\n\n changeSelected(data) {\n this.selectData = data;\n },\n\n async submitShow() {\n this.isButtonClicked = true;\n const packageData = this.buildPackageData();\n const getEveryDateSelection = packageData.filter(o => o.dateSelection == -1);\n const getResearchDateSelection = this.getSelectedResearchInfo.filter(o => o.dateSelection == -1);\n const getForeignDateSelection = this.getSelectedForeignInfo.filter(o => o.dateSelection == -1);\n const getSelectedAlgoSvInfo = this.getSelectedAlgoServerInfo.filter(o => o.dateSelection == -1);\n\n if (getEveryDateSelection.length > 0 || getResearchDateSelection.length > 0 || getForeignDateSelection.length > 0 || getSelectedAlgoSvInfo.length > 0) {\n this.$toast.error(\"Başlangıç zamanı seçiniz.\");\n this.isButtonClicked = false;\n return;\n }\n\n const researchData = this.buildResearchData();\n const foreignData = this.buildForeignData();\n const algoServerData = this.buildAlgoServerData();\n const args = this.buildArgsObject(packageData, researchData, foreignData, algoServerData);\n const actionName = this.getActionName();\n const sendAction = await this[actionName](args);\n\n if (sendAction.error) {\n this.handleError(sendAction);\n } else {\n this.handleSuccess(sendAction, actionName);\n this.args = {};\n }\n },\n\n buildPackageData() {\n return this.selectData.map(item => {\n var _this$dataItem4, _this$dataItem4$appli, _this$dataItem5, _this$dataItem5$platf, _item$marketFeature, _item$perspectiveFeat, _item$vendorFeature, _item$vendorFeature2, _item$vendorFeature3;\n\n return {\n applicationId: (_this$dataItem4 = this.dataItem) === null || _this$dataItem4 === void 0 ? void 0 : (_this$dataItem4$appli = _this$dataItem4.application) === null || _this$dataItem4$appli === void 0 ? void 0 : _this$dataItem4$appli.id,\n platformId: ((_this$dataItem5 = this.dataItem) === null || _this$dataItem5 === void 0 ? void 0 : (_this$dataItem5$platf = _this$dataItem5.platform) === null || _this$dataItem5$platf === void 0 ? void 0 : _this$dataItem5$platf.id) || null,\n marketId: (item === null || item === void 0 ? void 0 : (_item$marketFeature = item.marketFeature) === null || _item$marketFeature === void 0 ? void 0 : _item$marketFeature.id) || null,\n perspectiveId: (item === null || item === void 0 ? void 0 : (_item$perspectiveFeat = item.perspectiveFeature) === null || _item$perspectiveFeat === void 0 ? void 0 : _item$perspectiveFeat.id) || null,\n vendorId: (item === null || item === void 0 ? void 0 : (_item$vendorFeature = item.vendorFeature) === null || _item$vendorFeature === void 0 ? void 0 : _item$vendorFeature.id) === undefined || (item === null || item === void 0 ? void 0 : (_item$vendorFeature2 = item.vendorFeature) === null || _item$vendorFeature2 === void 0 ? void 0 : _item$vendorFeature2.id) === null ? null : item === null || item === void 0 ? void 0 : (_item$vendorFeature3 = item.vendorFeature) === null || _item$vendorFeature3 === void 0 ? void 0 : _item$vendorFeature3.id,\n dateSelection: item.dateSelection\n };\n });\n },\n\n buildResearchData() {\n return this.getSelectedResearchInfo.map(item => ({\n applicationId: this.dataItem.application.id || null,\n researchId: item.id || null,\n dateSelection: item.dateSelection\n }));\n },\n\n buildForeignData() {\n return this.getSelectedForeignInfo.map(item => ({\n applicationId: this.dataItem.application.id,\n foreignIndiceId: item.id || null,\n dateSelection: item.dateSelection\n }));\n },\n\n buildAlgoServerData() {\n return this.getSelectedAlgoServerInfo.map(item => ({\n applicationId: this.dataItem.application.id,\n algorithmAndServerId: item.id || null,\n dateSelection: item.dateSelection\n }));\n },\n\n buildArgsObject(packageData, researchData, foreignData, algoServerData) {\n var _this$dataItem6, _this$dataItem6$appli, _this$dataItem7, _this$dataItem7$platf, _this$dataItem8, _this$dataItem9, _this$dataItem9$platf;\n\n return {\n customerId: this.customer.id,\n purchaseId: this.dataItem.id,\n purchaseNumber: this.dataItem.purchaseNo.toString(),\n applicationId: ((_this$dataItem6 = this.dataItem) === null || _this$dataItem6 === void 0 ? void 0 : (_this$dataItem6$appli = _this$dataItem6.application) === null || _this$dataItem6$appli === void 0 ? void 0 : _this$dataItem6$appli.applicationId) || null,\n platformId: ((_this$dataItem7 = this.dataItem) === null || _this$dataItem7 === void 0 ? void 0 : (_this$dataItem7$platf = _this$dataItem7.platform) === null || _this$dataItem7$platf === void 0 ? void 0 : _this$dataItem7$platf.platformId) || null,\n applicationFeatureId: ((_this$dataItem8 = this.dataItem) === null || _this$dataItem8 === void 0 ? void 0 : _this$dataItem8.application.id) || null,\n platformFeatureId: (_this$dataItem9 = this.dataItem) === null || _this$dataItem9 === void 0 ? void 0 : (_this$dataItem9$platf = _this$dataItem9.platform) === null || _this$dataItem9$platf === void 0 ? void 0 : _this$dataItem9$platf.id,\n features: packageData,\n research: researchData,\n foreignIndice: foreignData,\n algorithmAndServer: algoServerData,\n cusId: this.cusId\n };\n },\n\n getActionName() {\n return this.dataItem.packageStatus.id === 2 ? \"updatePackage\" : \"createPackage\";\n },\n\n handleError(res) {\n if (res.result !== undefined && res.result !== null) {\n this.$toast.error(res.result.data[0].errors[0]);\n } else {\n this.$toast.error(res.message);\n }\n\n this.isButtonClicked = false;\n },\n\n handleSuccess(res, actionName) {\n if (actionName === \"updatePackage\") {\n this.handleUpdatePackageSuccess(res);\n } else {\n this.handleCreatePackageSuccess(res);\n }\n },\n\n async handleUpdatePackageSuccess() {\n const response = await this.getDraftPackageDetail([this.dataItem.id, this.cusId]);\n setTimeout(() => {\n this.$router.push({\n name: \"Checkout\",\n params: {\n packageNumber: response.data.id,\n customerNumber: this.getMemberType == 3 ? localStorage.getItem(\"userId\") : this.$route.params.customerNumber\n },\n query: {\n c: this.getMemberType == 3 ? localStorage.getItem(\"userId\") : this.$route.query.c,\n timeStamp: new Date()\n }\n }).catch(() => {\n location.reload();\n });\n }, 300);\n },\n\n handleCreatePackageSuccess(res) {\n if (this.$route.name === \"Checkout\") {\n this.$router.push({\n name: \"Checkout\",\n params: {\n packageNumber: res.purchaseId,\n customerNumber: this.$route.params.customerNumber\n },\n query: {\n c: this.$route.query.c\n }\n });\n } else {\n this.$emit(\"close\");\n this.getAllPackages(this.cusId);\n }\n\n this.setSelectedResearch([]);\n this.setSelectedForeign([]);\n this.setSelectedAlgoServer([]);\n },\n\n calculatePrice(items) {\n var _this$dataItem$applic, _this$dataItem$applic2;\n\n this.bottomFund = items.reduce((totald, item) => {\n var _item$marketFeature2, _item$perspectiveFeat2, _item$vendorFeature4;\n\n return ((item === null || item === void 0 ? void 0 : (_item$marketFeature2 = item.marketFeature) === null || _item$marketFeature2 === void 0 ? void 0 : _item$marketFeature2.fundAmount) || 0) + ((item === null || item === void 0 ? void 0 : (_item$perspectiveFeat2 = item.perspectiveFeature) === null || _item$perspectiveFeat2 === void 0 ? void 0 : _item$perspectiveFeat2.fundAmount) || 0) + ((item === null || item === void 0 ? void 0 : (_item$vendorFeature4 = item.vendorFeature) === null || _item$vendorFeature4 === void 0 ? void 0 : _item$vendorFeature4.fundAmount) || 0) + totald;\n }, (_this$dataItem$applic = this.dataItem.application) === null || _this$dataItem$applic === void 0 ? void 0 : _this$dataItem$applic.fundAmount);\n this.bottomCommission = items.reduce((totald, item) => {\n var _item$marketFeature3, _item$perspectiveFeat3, _item$vendorFeature5;\n\n return ((item === null || item === void 0 ? void 0 : (_item$marketFeature3 = item.marketFeature) === null || _item$marketFeature3 === void 0 ? void 0 : _item$marketFeature3.commissionAmount) || 0) + ((item === null || item === void 0 ? void 0 : (_item$perspectiveFeat3 = item.perspectiveFeature) === null || _item$perspectiveFeat3 === void 0 ? void 0 : _item$perspectiveFeat3.commissionAmount) || 0) + ((item === null || item === void 0 ? void 0 : (_item$vendorFeature5 = item.vendorFeature) === null || _item$vendorFeature5 === void 0 ? void 0 : _item$vendorFeature5.commissionAmount) || 0) + totald;\n }, (_this$dataItem$applic2 = this.dataItem.application) === null || _this$dataItem$applic2 === void 0 ? void 0 : _this$dataItem$applic2.commissionAmount);\n const total = items.reduce((totald, item) => {\n var _item$perspectiveFeat4, _item$vendorFeature6;\n\n return (\n /* (item?.marketFeature?.price || 0) +\n (item?.platformFeature?.price || 0)*/\n +((item === null || item === void 0 ? void 0 : (_item$perspectiveFeat4 = item.perspectiveFeature) === null || _item$perspectiveFeat4 === void 0 ? void 0 : _item$perspectiveFeat4.price) || 0) + ((item === null || item === void 0 ? void 0 : (_item$vendorFeature6 = item.vendorFeature) === null || _item$vendorFeature6 === void 0 ? void 0 : _item$vendorFeature6.price) || 0) + totald\n );\n }, 0);\n this.totalPrice = total + this.dataItem.application.price;\n },\n\n calculateTotalPrice() {\n return this.dataItem.price + this.totalPrice + this.researchTotal() + this.foraignTurkishLiraTotal() + this.algoServerTotal();\n }\n\n },\n watch: {\n selectData: {\n handler(newVal) {\n this.calculatePrice(newVal);\n },\n\n deep: true,\n immediate: true\n }\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/customer/PackageSettigns.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");
|
|
1719
|
+
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 _PackageSettingType_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./PackageSettingType.vue */ \"./src/components/customer/PackageSettingType.vue\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _mixins___WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../mixins/ */ \"./src/mixins/index.js\");\n/* harmony import */ var _base_InfoArea_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../base/InfoArea.vue */ \"./src/components/base/InfoArea.vue\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../constants */ \"./src/constants/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/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"PackageSettigns\",\n mixins: [_mixins___WEBPACK_IMPORTED_MODULE_3__[\"default\"]],\n components: {\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_2__[\"BaseButton\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_2__[\"BaseIcon\"],\n PopupRight: _components__WEBPACK_IMPORTED_MODULE_2__[\"PopupRight\"],\n PackageSettingType: _PackageSettingType_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n AccordionResearch: _components__WEBPACK_IMPORTED_MODULE_2__[\"AccordionResearch\"],\n AccordionForeign: _components__WEBPACK_IMPORTED_MODULE_2__[\"AccordionForeign\"],\n AccordionAlgoServer: _components__WEBPACK_IMPORTED_MODULE_2__[\"AccordionAlgoServer\"],\n InfoArea: _base_InfoArea_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n },\n props: {\n dataItem: Object,\n marketInfo: Array,\n isPopupVisible: Boolean\n },\n\n data() {\n return {\n isResponsive: false,\n fund: 0,\n commission: 0,\n topPrice: 0,\n bottomFund: 0,\n bottomCommission: 0,\n totalPrice: 0,\n startDateSelection: this.dataItem.dateSelection,\n selectData: [],\n research: [],\n foreign: [],\n algoServer: [],\n isButtonClicked: false,\n warningMessage: false,\n infoText: \"BES ve yatırım fonu büyüklüğü ve/veya komisyon şartı sağlandığı taktirde; o ay toplamda belirtilen ekran ücreti sizden alınmayacaktır.\",\n startDate: [{\n label: \"Seçiniz\",\n code: -1\n }, {\n label: \"Hemen\",\n code: 0\n }, {\n label: \"Ay Başında\",\n code: 1\n }],\n cusId: null\n };\n },\n\n created() {\n this.handleWidth();\n window.addEventListener(\"resize\", this.handleWidth());\n },\n\n mounted() {\n this.setSelectedForeign([]);\n this.setSelectedAlgoServer([]);\n this.setSelectedResearch([]);\n this.cusId = this.$route.params.customerId !== undefined ? this.$route.params.customerId : null;\n\n if (this.$route.name === \"Checkout\") {\n this.cusId = this.$route.query.c !== undefined ? this.$route.query.c : this.$route.params.customerId;\n this.startDateSelection = this.dataItem.dateSelection;\n }\n\n this.sumFundCommission();\n this.getForeign([this.dataItem.application.applicationId, this.dataItem.platform.platformId, this.cusId]).then(res => {\n let details = {};\n details = res.data;\n\n if (this.getDraftPackageDetails.foreignIndice) {\n this.getDraftPackageDetails.foreignIndice.forEach((element, index) => {\n if (element.foreignIndiceFeature.id == details[index].id) {\n details[index].dateSelection = Number(element.dateSelection.key);\n }\n });\n }\n\n this.foreign.push({\n id: 2,\n active: false,\n title: \"Yabancı Endeksler\",\n details\n });\n });\n this.getResearch([this.dataItem.application.applicationId, this.cusId]).then(res => {\n let details = {};\n details = res.data;\n\n if (this.getDraftPackageDetails.research) {\n this.getDraftPackageDetails.research.forEach((element, index) => {\n if (element.researchFeature.id == details[index].id) {\n details[index].dateSelection = Number(element.dateSelection.key);\n }\n });\n }\n\n this.research = [{\n id: 1,\n active: false,\n title: \"Araştırma ve Diğer Uygulamalar\",\n details\n }];\n });\n this.$nextTick(() => {\n this.getAlgoServer([this.dataItem.application.applicationId, this.cusId]).then(res => {\n let details = {};\n details = res.data;\n\n if (this.getDraftPackageDetails.algorithm) {\n this.getDraftPackageDetails.algorithm.forEach((element, index) => {\n if (element.algorithmFeature.id == details[index].id) {\n details[index].dateSelection = Number(element.dateSelection.key);\n }\n });\n }\n\n this.algoServer.push({\n id: 3,\n active: false,\n title: \"Algoritmalar\",\n details\n });\n });\n });\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"getSelectedAlgoServerInfo\", \"customer\", \"getResearchInfo\", \"getSelectedForeignInfo\", \"getForeignInfo\", \"getAlgoServerInfo\", \"getSelectedResearchInfo\", \"getPackageInfo\", \"getDraftPackageDetails\", \"getUserInfo\"]),\n\n getMemberType() {\n return this.getUserInfo.memberType;\n },\n\n currencySymbol() {\n return _constants__WEBPACK_IMPORTED_MODULE_5__[\"CurrencySymbol\"];\n },\n\n researchTotal() {\n return this.getSelectedResearchInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.price) || 0) + totald;\n }, 0);\n },\n\n foraignDollarTotal() {\n return this.getSelectedForeignInfo.reduce((totald, item) => {\n if (item.priceInfo === \"$\") {\n return ((item === null || item === void 0 ? void 0 : item.price) || 0) + totald;\n } else {\n return 0 + totald;\n }\n }, 0);\n },\n\n getStartDateSelection() {\n return this.dataItem.dateSelection;\n },\n\n foraignEuroTotal() {\n return this.getSelectedForeignInfo.reduce((totald, item) => {\n if (item.priceInfo === \"€\") {\n return ((item === null || item === void 0 ? void 0 : item.price) || 0) + totald;\n } else {\n return 0 + totald;\n }\n }, 0);\n },\n\n algoServerTotal() {\n return this.getSelectedAlgoServerInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.price) || 0) + totald;\n }, 0);\n },\n\n researchFund() {\n return this.getSelectedResearchInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.fundAmount) || 0) + totald;\n }, 0);\n },\n\n foreignFund() {\n return this.getSelectedForeignInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.fundAmount) || 0) + totald;\n }, 0);\n },\n\n algoServerFund() {\n return this.getSelectedAlgoServerInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.fundAmount) || 0) + totald;\n }, 0);\n },\n\n researchCommission() {\n return this.getSelectedResearchInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.commissionAmount) || 0) + totald;\n }, 0);\n },\n\n foreignCommission() {\n return this.getSelectedForeignInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.commissionAmount) || 0) + totald;\n }, 0);\n },\n\n foraignTurkishLiraTotal() {\n return this.getSelectedForeignInfo.reduce((totald, item) => {\n if (item.priceInfo === \"₺\") {\n return ((item === null || item === void 0 ? void 0 : item.price) || 0) + totald;\n } else {\n return 0 + totald;\n }\n }, 0);\n },\n\n algoServerCommission() {\n return this.getSelectedAlgoServerInfo.reduce((totald, item) => {\n return ((item === null || item === void 0 ? void 0 : item.commissionAmount) || 0) + totald;\n }, 0);\n },\n\n totalPriceDollar() {\n var _this$dataItem, _this$dataItem$price, _this$dataItem$price$;\n\n return (_this$dataItem = this.dataItem) === null || _this$dataItem === void 0 ? void 0 : (_this$dataItem$price = _this$dataItem.price) === null || _this$dataItem$price === void 0 ? void 0 : (_this$dataItem$price$ = _this$dataItem$price.prices) === null || _this$dataItem$price$ === void 0 ? void 0 : _this$dataItem$price$.filter(e => e.info === this.currencySymbol.dolar)[0];\n },\n\n totalPriceEuro() {\n var _this$dataItem2, _this$dataItem2$price, _this$dataItem2$price2;\n\n return (_this$dataItem2 = this.dataItem) === null || _this$dataItem2 === void 0 ? void 0 : (_this$dataItem2$price = _this$dataItem2.price) === null || _this$dataItem2$price === void 0 ? void 0 : (_this$dataItem2$price2 = _this$dataItem2$price.prices) === null || _this$dataItem2$price2 === void 0 ? void 0 : _this$dataItem2$price2.filter(e => e.info === this.currencySymbol.euro)[0];\n },\n\n totalPriceTl() {\n var _this$dataItem3, _this$dataItem3$price, _this$dataItem3$price2;\n\n return (_this$dataItem3 = this.dataItem) === null || _this$dataItem3 === void 0 ? void 0 : (_this$dataItem3$price = _this$dataItem3.price) === null || _this$dataItem3$price === void 0 ? void 0 : (_this$dataItem3$price2 = _this$dataItem3$price.prices) === null || _this$dataItem3$price2 === void 0 ? void 0 : _this$dataItem3$price2.filter(e => e.info === this.currencySymbol.tl)[0].totalPrice;\n },\n\n totalPriceCalc() {\n var _this$totalPriceDolla, _this$totalPriceEuro;\n\n let totalDollar = `${this.totalPriceDollar ? ` + ${this.formatPriceDollar((_this$totalPriceDolla = this.totalPriceDollar) === null || _this$totalPriceDolla === void 0 ? void 0 : _this$totalPriceDolla.totalPrice)} Dolar` : \"\"}`;\n let totalEuro = `${this.totalPriceEuro ? ` + ${this.formatPriceEuro((_this$totalPriceEuro = this.totalPriceEuro) === null || _this$totalPriceEuro === void 0 ? void 0 : _this$totalPriceEuro.totalPrice)} Euro` : \"\"}`;\n return this.formatPrice(this.totalPriceTl) + this.currencySymbol.tl + totalDollar + totalEuro;\n }\n\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getForeign\", \"getAllPackages\", \"getDraftPackageDetail\", \"getResearch\", \"updatePackage\", \"getAlgoServer\", \"createPackage\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapMutations\"])([\"setSelectedForeign\", \"setSelectedAlgoServer\", \"setSelectedResearch\"]),\n\n checkSpesificWarning(param) {\n this.warningMessage = param;\n },\n\n setDefaultValues() {\n this.bottomCommission = 0;\n this.totalPrice = 0;\n this.bottomFund = 0;\n this.selectData = [];\n this.startDateSelection = this.startDate[0].code;\n this.setSelectedForeign([]);\n this.setSelectedAlgoServer([]);\n this.setSelectedResearch([]);\n this.$emit(\"close\");\n },\n\n handleWidth() {\n let w = window.innerWidth;\n this.isResponsive = w <= 640;\n },\n\n sumFundCommission() {\n this.fund = this.dataItem.price.totalFundAmount;\n this.commission = this.dataItem.price.totalCommissionAmount;\n this.topPrice = this.totalPriceCalc;\n this.totalPrice = this.topPrice;\n },\n\n changeSelected(data) {\n this.selectData = data;\n },\n\n async submitShow() {\n this.isButtonClicked = true;\n const packageData = this.buildPackageData();\n const getEveryDateSelection = packageData.filter(o => o.dateSelection == -1);\n const getResearchDateSelection = this.getSelectedResearchInfo.filter(o => o.dateSelection == -1);\n const getForeignDateSelection = this.getSelectedForeignInfo.filter(o => o.dateSelection == -1);\n const getSelectedAlgoSvInfo = this.getSelectedAlgoServerInfo.filter(o => o.dateSelection == -1);\n\n if (getEveryDateSelection.length > 0 || getResearchDateSelection.length > 0 || getForeignDateSelection.length > 0 || getSelectedAlgoSvInfo.length > 0) {\n this.$toast.error(\"Başlangıç zamanı seçiniz.\");\n this.isButtonClicked = false;\n return;\n }\n\n const researchData = this.buildResearchData();\n const foreignData = this.buildForeignData();\n const algoServerData = this.buildAlgoServerData();\n const args = this.buildArgsObject(packageData, researchData, foreignData, algoServerData);\n const actionName = this.getActionName();\n const sendAction = await this[actionName](args);\n\n if (sendAction.error) {\n this.handleError(sendAction);\n } else {\n this.handleSuccess(sendAction, actionName);\n this.args = {};\n }\n },\n\n buildPackageData() {\n return this.selectData.map(item => {\n var _this$dataItem4, _this$dataItem4$appli, _this$dataItem5, _this$dataItem5$platf, _item$marketFeature, _item$perspectiveFeat, _item$vendorFeature, _item$vendorFeature2, _item$vendorFeature3;\n\n return {\n applicationId: (_this$dataItem4 = this.dataItem) === null || _this$dataItem4 === void 0 ? void 0 : (_this$dataItem4$appli = _this$dataItem4.application) === null || _this$dataItem4$appli === void 0 ? void 0 : _this$dataItem4$appli.id,\n platformId: ((_this$dataItem5 = this.dataItem) === null || _this$dataItem5 === void 0 ? void 0 : (_this$dataItem5$platf = _this$dataItem5.platform) === null || _this$dataItem5$platf === void 0 ? void 0 : _this$dataItem5$platf.id) || null,\n marketId: (item === null || item === void 0 ? void 0 : (_item$marketFeature = item.marketFeature) === null || _item$marketFeature === void 0 ? void 0 : _item$marketFeature.id) || null,\n perspectiveId: (item === null || item === void 0 ? void 0 : (_item$perspectiveFeat = item.perspectiveFeature) === null || _item$perspectiveFeat === void 0 ? void 0 : _item$perspectiveFeat.id) || null,\n vendorId: (item === null || item === void 0 ? void 0 : (_item$vendorFeature = item.vendorFeature) === null || _item$vendorFeature === void 0 ? void 0 : _item$vendorFeature.id) === undefined || (item === null || item === void 0 ? void 0 : (_item$vendorFeature2 = item.vendorFeature) === null || _item$vendorFeature2 === void 0 ? void 0 : _item$vendorFeature2.id) === null ? null : item === null || item === void 0 ? void 0 : (_item$vendorFeature3 = item.vendorFeature) === null || _item$vendorFeature3 === void 0 ? void 0 : _item$vendorFeature3.id,\n dateSelection: item.dateSelection\n };\n });\n },\n\n buildResearchData() {\n return this.getSelectedResearchInfo.map(item => ({\n applicationId: this.dataItem.application.id || null,\n researchId: item.id || null,\n dateSelection: item.dateSelection\n }));\n },\n\n buildForeignData() {\n return this.getSelectedForeignInfo.map(item => ({\n applicationId: this.dataItem.application.id,\n foreignIndiceId: item.id || null,\n dateSelection: item.dateSelection\n }));\n },\n\n buildAlgoServerData() {\n return this.getSelectedAlgoServerInfo.map(item => ({\n applicationId: this.dataItem.application.id,\n algorithmAndServerId: item.id || null,\n dateSelection: item.dateSelection\n }));\n },\n\n buildArgsObject(packageData, researchData, foreignData, algoServerData) {\n var _this$dataItem6, _this$dataItem6$appli, _this$dataItem7, _this$dataItem7$platf, _this$dataItem8, _this$dataItem9, _this$dataItem9$platf;\n\n return {\n customerId: this.customer.id,\n purchaseId: this.dataItem.id,\n purchaseNumber: this.dataItem.purchaseNo.toString(),\n applicationId: ((_this$dataItem6 = this.dataItem) === null || _this$dataItem6 === void 0 ? void 0 : (_this$dataItem6$appli = _this$dataItem6.application) === null || _this$dataItem6$appli === void 0 ? void 0 : _this$dataItem6$appli.applicationId) || null,\n platformId: ((_this$dataItem7 = this.dataItem) === null || _this$dataItem7 === void 0 ? void 0 : (_this$dataItem7$platf = _this$dataItem7.platform) === null || _this$dataItem7$platf === void 0 ? void 0 : _this$dataItem7$platf.platformId) || null,\n applicationFeatureId: ((_this$dataItem8 = this.dataItem) === null || _this$dataItem8 === void 0 ? void 0 : _this$dataItem8.application.id) || null,\n platformFeatureId: (_this$dataItem9 = this.dataItem) === null || _this$dataItem9 === void 0 ? void 0 : (_this$dataItem9$platf = _this$dataItem9.platform) === null || _this$dataItem9$platf === void 0 ? void 0 : _this$dataItem9$platf.id,\n features: packageData,\n research: researchData,\n foreignIndice: foreignData,\n algorithmAndServer: algoServerData,\n cusId: this.cusId\n };\n },\n\n getActionName() {\n return this.dataItem.packageStatus.id === 2 ? \"updatePackage\" : \"createPackage\";\n },\n\n handleError(res) {\n if (res.result !== undefined && res.result !== null) {\n this.$toast.error(res.result.data[0].errors[0]);\n } else {\n this.$toast.error(res.message);\n }\n\n this.isButtonClicked = false;\n },\n\n handleSuccess(res, actionName) {\n if (actionName === \"updatePackage\") {\n this.handleUpdatePackageSuccess(res);\n } else {\n this.handleCreatePackageSuccess(res);\n }\n },\n\n async handleUpdatePackageSuccess() {\n const response = await this.getDraftPackageDetail([this.dataItem.id, this.cusId]);\n setTimeout(() => {\n this.$router.push({\n name: \"Checkout\",\n params: {\n packageNumber: response.data.id,\n customerNumber: this.getMemberType == 3 ? localStorage.getItem(\"userId\") : this.$route.params.customerNumber\n },\n query: {\n c: this.getMemberType == 3 ? localStorage.getItem(\"userId\") : this.$route.query.c,\n timeStamp: new Date()\n }\n }).catch(() => {\n location.reload();\n });\n }, 300);\n },\n\n handleCreatePackageSuccess(res) {\n if (this.$route.name === \"Checkout\") {\n this.$router.push({\n name: \"Checkout\",\n params: {\n packageNumber: res.purchaseId,\n customerNumber: this.$route.params.customerNumber\n },\n query: {\n c: this.$route.query.c\n }\n });\n } else {\n this.$emit(\"close\");\n this.getAllPackages(this.cusId);\n }\n\n this.setSelectedResearch([]);\n this.setSelectedForeign([]);\n this.setSelectedAlgoServer([]);\n },\n\n calculatePrice(items) {\n var _this$dataItem$applic, _this$dataItem$applic2;\n\n this.bottomFund = items.reduce((totald, item) => {\n var _item$marketFeature2, _item$perspectiveFeat2, _item$vendorFeature4;\n\n return ((item === null || item === void 0 ? void 0 : (_item$marketFeature2 = item.marketFeature) === null || _item$marketFeature2 === void 0 ? void 0 : _item$marketFeature2.fundAmount) || 0) + ((item === null || item === void 0 ? void 0 : (_item$perspectiveFeat2 = item.perspectiveFeature) === null || _item$perspectiveFeat2 === void 0 ? void 0 : _item$perspectiveFeat2.fundAmount) || 0) + ((item === null || item === void 0 ? void 0 : (_item$vendorFeature4 = item.vendorFeature) === null || _item$vendorFeature4 === void 0 ? void 0 : _item$vendorFeature4.fundAmount) || 0) + totald;\n }, (_this$dataItem$applic = this.dataItem.application) === null || _this$dataItem$applic === void 0 ? void 0 : _this$dataItem$applic.fundAmount);\n this.bottomCommission = items.reduce((totald, item) => {\n var _item$marketFeature3, _item$perspectiveFeat3, _item$vendorFeature5;\n\n return ((item === null || item === void 0 ? void 0 : (_item$marketFeature3 = item.marketFeature) === null || _item$marketFeature3 === void 0 ? void 0 : _item$marketFeature3.commissionAmount) || 0) + ((item === null || item === void 0 ? void 0 : (_item$perspectiveFeat3 = item.perspectiveFeature) === null || _item$perspectiveFeat3 === void 0 ? void 0 : _item$perspectiveFeat3.commissionAmount) || 0) + ((item === null || item === void 0 ? void 0 : (_item$vendorFeature5 = item.vendorFeature) === null || _item$vendorFeature5 === void 0 ? void 0 : _item$vendorFeature5.commissionAmount) || 0) + totald;\n }, (_this$dataItem$applic2 = this.dataItem.application) === null || _this$dataItem$applic2 === void 0 ? void 0 : _this$dataItem$applic2.commissionAmount);\n const total = items.reduce((totald, item) => {\n var _item$perspectiveFeat4, _item$vendorFeature6;\n\n return (\n /* (item?.marketFeature?.price || 0) +\n (item?.platformFeature?.price || 0)*/\n +((item === null || item === void 0 ? void 0 : (_item$perspectiveFeat4 = item.perspectiveFeature) === null || _item$perspectiveFeat4 === void 0 ? void 0 : _item$perspectiveFeat4.price) || 0) + ((item === null || item === void 0 ? void 0 : (_item$vendorFeature6 = item.vendorFeature) === null || _item$vendorFeature6 === void 0 ? void 0 : _item$vendorFeature6.price) || 0) + totald\n );\n }, 0);\n this.totalPrice = total + this.dataItem.application.price;\n },\n\n calculateTotalPrice() {\n return this.dataItem.price + this.totalPrice + this.researchTotal() + this.foraignTurkishLiraTotal() + this.algoServerTotal();\n }\n\n },\n watch: {\n selectData: {\n handler(newVal) {\n this.calculatePrice(newVal);\n },\n\n deep: true,\n immediate: true\n }\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/customer/PackageSettigns.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");
|
|
1720
1720
|
|
|
1721
1721
|
/***/ }),
|
|
1722
1722
|
|
|
@@ -1740,7 +1740,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
|
|
|
1740
1740
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1741
1741
|
|
|
1742
1742
|
"use strict";
|
|
1743
|
-
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 _PackageSettingSelect_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./PackageSettingSelect.vue */ \"./src/components/customer/PackageSettingSelect.vue\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/tokenTools */ \"./src/utils/tokenTools.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/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"PackageSettingType\",\n components: {\n PackageSettingSelect: _PackageSettingSelect_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n BaseSelect: _components__WEBPACK_IMPORTED_MODULE_2__[\"BaseSelect\"]\n },\n props: {\n dataItem: Object,\n platformInfo: Object,\n selectData: Array,\n item: Object,\n isResponsive: Boolean\n },\n\n data() {\n return {\n isHighlighted: false,\n perspectiveData: [],\n distributionData: [],\n packageFeatureSelected: {},\n isPerspectiveShow: false,\n isDistributionShow: false,\n uuid: new Date().getTime(),\n selectedMarketID: null,\n defaultPerspectiveID: null,\n defaultDistrubitionID: null,\n cusId: null,\n showSelectbox: false,\n currentDate: new Date(),\n esube: Object(_utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__[\"getItem\"])(\"esube\"),\n startDateSelection: -1,\n startDate: [{\n label: \"Seçiniz\",\n code: -1\n }, {\n label: \"Hemen\",\n code: 0\n }, {\n label: \"Ay Başında\",\n code: 1\n }]\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"getPerspectiveInfo\", \"getDistributionInfo\", \"getUserInfo\", \"getOverallLimit\", \"customerBefore\", \"allPackages\"]),\n\n itemParse() {\n return JSON.stringify(this.item);\n },\n\n getMemberType() {\n return this.getUserInfo.memberType;\n },\n\n isUserRegisteredBeforeTwentieth() {\n var _this$accountOpeningD;\n\n const accountOpeningDate = (_this$accountOpeningD = this.accountOpeningDate.customers[0]) === null || _this$accountOpeningD === void 0 ? void 0 : _this$accountOpeningD.accountOpeningDate;\n const registrationDate = this.parseDate(accountOpeningDate);\n const getLastDayOfMonth = this.parseDateCheckLastDay(this.currentDate);\n\n if (registrationDate.getFullYear() === this.currentDate.getFullYear() && registrationDate.getMonth() === this.currentDate.getMonth() && registrationDate.getDate() >= 20 && getLastDayOfMonth) {\n return true;\n }\n\n return false;\n }\n\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getPerspective\", \"getDistribution\"]),\n\n loadPerspectiveSelect(e) {\n const dataValue = JSON.parse(e.target.getAttribute(\"data-value\"));\n this.isHighlighted = false;\n if (this.isPerspectiveShow) this.isPerspectiveShow = false;\n if (this.isDistributionShow) this.isDistributionShow = false;\n\n if (e.target.checked) {\n this.isHighlighted = true;\n this.showSelectbox = true;\n this.getPerspective([this.dataItem.applicationId, this.dataItem.platform.id, e.target.value, this.cusId]).then(data => {\n if (this.getPerspectiveInfo.length > 0) {\n this.perspectiveData = data;\n this.selectedMarketID = e.target.value;\n this.defaultPerspectiveID = null;\n this.defaultDistrubitionID = null;\n this.isPerspectiveShow = true;\n this.loadDistributionSelect();\n this.fillData(dataValue, this.perspectiveData[0]);\n this.checkSelectedData();\n } else {\n this.fillData(dataValue, null);\n this.checkSelectedData();\n }\n });\n\n if (dataValue.name === \"Hisse + VİOP\") {\n this.$emit(\"showSpesificWarning\", true);\n }\n } else {\n this.showSelectbox = false;\n\n if (dataValue.name === \"Hisse + VİOP\") {\n this.$emit(\"showSpesificWarning\", false);\n }\n\n this.$emit(\"update\", this.selectData.filter(item => {\n var _item$marketFeature;\n\n return (item === null || item === void 0 ? void 0 : (_item$marketFeature = item.marketFeature) === null || _item$marketFeature === void 0 ? void 0 : _item$marketFeature.id) !== dataValue.id;\n }));\n }\n },\n\n loadDistributionSelect() {\n this.getDistribution([this.dataItem.applicationId, this.dataItem.platform.id, this.selectedMarketID, this.cusId]).then(data => {\n if (this.getDistributionInfo.length > 0) {\n this.distributionData = data;\n this.isDistributionShow = true;\n this.packageFeatureSelected.vendorFeature = this.distributionData[0];\n }\n });\n },\n\n changeStartDate(value) {\n this.startDateSelection = value.code;\n this.packageFeatureSelected.dateSelection = value.code;\n this.checkSelectedData();\n },\n\n changePerspective(value) {\n this.uuid = new Date().getTime();\n this.packageFeatureSelected.perspectiveFeature = value;\n this.checkSelectedData();\n },\n\n changeDistribution(value) {\n this.packageFeatureSelected.vendorFeature = value;\n this.defaultDistrubitionID = value.id;\n this.checkSelectedData();\n },\n\n fillData(marketFeature, perspectiveFeature, vendorFeature = {}) {\n this.packageFeatureSelected.packageId = this.dataItem.id;\n this.packageFeatureSelected.marketFeature = marketFeature;\n this.packageFeatureSelected.platformFeature = this.platformInfo;\n this.packageFeatureSelected.perspectiveFeature = perspectiveFeature;\n this.packageFeatureSelected.vendorFeature = vendorFeature;\n this.packageFeatureSelected.dateSelection = this.startDateSelection;\n },\n\n parseDate(dateString) {\n const [day, month, year, time] = dateString.split(/\\/|\\s/);\n const [hours, minutes, seconds] = time.split(\":\");\n return new Date(`${year}-${month}-${day}T${hours}:${minutes}:${seconds}`);\n },\n\n parseDateCheckLastDay(dateString) {\n const year = dateString.getFullYear(),\n month = dateString.getMonth(),\n day = this.currentDate.getDate(),\n getLastDate = new Date(year, month + 1, -1).getDate();\n return day === getLastDate;\n },\n\n checkSelectedData() {\n const findData = this.selectData.find(item => {\n var _item$marketFeature2;\n\n return (item === null || item === void 0 ? void 0 : (_item$marketFeature2 = item.marketFeature) === null || _item$marketFeature2 === void 0 ? void 0 : _item$marketFeature2.id) === this.packageFeatureSelected.marketFeature.id;\n });\n\n if (findData) {\n const newData = { ...findData,\n ...this.packageFeatureSelected\n };\n const lastData = this.selectData.map(item => {\n if (item.marketFeature.id === newData.marketFeature.id) {\n return newData;\n }\n\n return item;\n });\n this.$emit(\"update\", lastData);\n } else {\n this.selectData.push(this.packageFeatureSelected);\n this.$emit(\"update\", this.selectData);\n }\n },\n\n setStartDates(listType, startDateSelections) {\n if (listType == -1) {\n this.startDate = [{\n label: \"Seçiniz\",\n code: -1\n }, {\n label: \"Hemen\",\n code: 0\n }, {\n label: \"Ay Başında\",\n code: 1\n }];\n } else if (listType == 0) {\n this.startDate = [{\n label: \"Hemen\",\n code: 0\n }];\n } else if (listType == 1) {\n this.startDate = [{\n label: \"Ay Başında\",\n code: 1\n }];\n }\n\n this.startDateSelection = startDateSelections;\n }\n\n },\n\n mounted() {\n if (this.$route.params.customerId !== undefined) {\n this.cusId = this.$route.params.customerId;\n }\n },\n\n watch: {\n customerBefore(val) {\n if (val && !val.error && this.esube == \"no\") {// const overall = parseInt(val.customers[0].overall);\n // if (!this.allPackages.data.length) {\n // this.setStartDates(-1, 0);\n // if (\n // this.currentDate >= 20 && // Bugünün tarihi\n // (this.isUserRegisteredBeforeTwentieth && //Kullanıcı kayıt tarihi\n // this.item.marketId == 3 && // Canlı piyasa ID\n // overall && // overall kontrolü\n // (this.item.applicationId == 3 || this.item.applicationId == 2)) // OSM ürünü kontrolü\n // ) {\n // this.setStartDates(1, 1);\n // }\n // } else {\n // this.setStartDates(-1, -1);\n // }\n }\n }\n\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/customer/PackageSettingCreateType.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");
|
|
1743
|
+
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 _PackageSettingSelect_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./PackageSettingSelect.vue */ \"./src/components/customer/PackageSettingSelect.vue\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/tokenTools */ \"./src/utils/tokenTools.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/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"PackageSettingType\",\n components: {\n PackageSettingSelect: _PackageSettingSelect_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n BaseSelect: _components__WEBPACK_IMPORTED_MODULE_2__[\"BaseSelect\"]\n },\n props: {\n dataItem: Object,\n platformInfo: Object,\n selectData: Array,\n item: Object,\n isResponsive: Boolean\n },\n\n data() {\n return {\n isHighlighted: false,\n perspectiveData: [],\n distributionData: [],\n packageFeatureSelected: {},\n isPerspectiveShow: false,\n isDistributionShow: false,\n uuid: new Date().getTime(),\n selectedMarketID: null,\n defaultPerspectiveID: null,\n defaultDistrubitionID: null,\n cusId: null,\n showSelectbox: false,\n currentDate: new Date(),\n esube: Object(_utils_tokenTools__WEBPACK_IMPORTED_MODULE_3__[\"getItem\"])(\"esube\"),\n startDateSelection: -1,\n startDate: [{\n label: \"Seçiniz\",\n code: -1\n }, {\n label: \"Hemen\",\n code: 0\n }, {\n label: \"Ay Başında\",\n code: 1\n }]\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"getPerspectiveInfo\", \"getDistributionInfo\", \"getUserInfo\", \"getOverallLimit\", \"customerBefore\", \"allPackages\"]),\n\n itemParse() {\n return JSON.stringify(this.item);\n },\n\n getMemberType() {\n return this.getUserInfo.memberType;\n },\n\n isUserRegisteredBeforeTwentieth() {\n var _this$customerBefore$;\n\n const accountOpeningDate = (_this$customerBefore$ = this.customerBefore.customers[0]) === null || _this$customerBefore$ === void 0 ? void 0 : _this$customerBefore$.accountOpeningDate;\n const registrationDate = this.parseDate(accountOpeningDate);\n const getLastDayOfMonth = this.parseDateCheckLastDay(registrationDate);\n\n if (registrationDate.getFullYear() === this.currentDate.getFullYear() && registrationDate.getMonth() === this.currentDate.getMonth() && registrationDate.getDate() >= 20 && getLastDayOfMonth) {\n return true;\n }\n\n return false;\n }\n\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getPerspective\", \"getDistribution\"]),\n\n loadPerspectiveSelect(e) {\n const dataValue = JSON.parse(e.target.getAttribute(\"data-value\"));\n this.isHighlighted = false;\n if (this.isPerspectiveShow) this.isPerspectiveShow = false;\n if (this.isDistributionShow) this.isDistributionShow = false;\n\n if (e.target.checked) {\n this.isHighlighted = true;\n this.showSelectbox = true;\n this.getPerspective([this.dataItem.applicationId, this.dataItem.platform.id, e.target.value, this.cusId]).then(data => {\n if (this.getPerspectiveInfo.length > 0) {\n this.perspectiveData = data;\n this.selectedMarketID = e.target.value;\n this.defaultPerspectiveID = null;\n this.defaultDistrubitionID = null;\n this.isPerspectiveShow = true;\n this.loadDistributionSelect();\n this.fillData(dataValue, this.perspectiveData[0]);\n this.checkSelectedData();\n } else {\n this.fillData(dataValue, null);\n this.checkSelectedData();\n }\n });\n\n if (dataValue.name === \"Hisse + VİOP\") {\n this.$emit(\"showSpesificWarning\", true);\n }\n } else {\n this.showSelectbox = false;\n\n if (dataValue.name === \"Hisse + VİOP\") {\n this.$emit(\"showSpesificWarning\", false);\n }\n\n this.$emit(\"update\", this.selectData.filter(item => {\n var _item$marketFeature;\n\n return (item === null || item === void 0 ? void 0 : (_item$marketFeature = item.marketFeature) === null || _item$marketFeature === void 0 ? void 0 : _item$marketFeature.id) !== dataValue.id;\n }));\n }\n },\n\n loadDistributionSelect() {\n this.getDistribution([this.dataItem.applicationId, this.dataItem.platform.id, this.selectedMarketID, this.cusId]).then(data => {\n if (this.getDistributionInfo.length > 0) {\n this.distributionData = data;\n this.isDistributionShow = true;\n this.packageFeatureSelected.vendorFeature = this.distributionData[0];\n }\n });\n },\n\n changeStartDate(value) {\n this.startDateSelection = value.code;\n this.packageFeatureSelected.dateSelection = value.code;\n this.checkSelectedData();\n },\n\n changePerspective(value) {\n this.uuid = new Date().getTime();\n this.packageFeatureSelected.perspectiveFeature = value;\n this.checkSelectedData();\n },\n\n changeDistribution(value) {\n this.packageFeatureSelected.vendorFeature = value;\n this.defaultDistrubitionID = value.id;\n this.checkSelectedData();\n },\n\n fillData(marketFeature, perspectiveFeature, vendorFeature = {}) {\n this.packageFeatureSelected.packageId = this.dataItem.id;\n this.packageFeatureSelected.marketFeature = marketFeature;\n this.packageFeatureSelected.platformFeature = this.platformInfo;\n this.packageFeatureSelected.perspectiveFeature = perspectiveFeature;\n this.packageFeatureSelected.vendorFeature = vendorFeature;\n this.packageFeatureSelected.dateSelection = this.startDateSelection;\n },\n\n parseDate(dateString) {\n const [day, month, year, time] = dateString.split(/\\/|\\s/);\n const [hours, minutes, seconds] = time.split(\":\");\n return new Date(`${year}-${month}-${day}T${hours}:${minutes}:${seconds}`);\n },\n\n parseDateCheckLastDay(dateString) {\n const year = dateString.getFullYear(),\n month = dateString.getMonth(),\n day = this.currentDate.getDate(),\n getLastDate = new Date(year, month + 1, -1).getDate();\n return day === getLastDate;\n },\n\n checkSelectedData() {\n const findData = this.selectData.find(item => {\n var _item$marketFeature2;\n\n return (item === null || item === void 0 ? void 0 : (_item$marketFeature2 = item.marketFeature) === null || _item$marketFeature2 === void 0 ? void 0 : _item$marketFeature2.id) === this.packageFeatureSelected.marketFeature.id;\n });\n\n if (findData) {\n const newData = { ...findData,\n ...this.packageFeatureSelected\n };\n const lastData = this.selectData.map(item => {\n if (item.marketFeature.id === newData.marketFeature.id) {\n return newData;\n }\n\n return item;\n });\n this.$emit(\"update\", lastData);\n } else {\n this.selectData.push(this.packageFeatureSelected);\n this.$emit(\"update\", this.selectData);\n }\n },\n\n setStartDates(listType, startDateSelections) {\n if (listType == -1) {\n this.startDate = [{\n label: \"Seçiniz\",\n code: -1\n }, {\n label: \"Hemen\",\n code: 0\n }, {\n label: \"Ay Başında\",\n code: 1\n }];\n } else if (listType == 0) {\n this.startDate = [{\n label: \"Hemen\",\n code: 0\n }];\n } else if (listType == 1) {\n this.startDate = [{\n label: \"Ay Başında\",\n code: 1\n }];\n }\n\n this.startDateSelection = startDateSelections;\n }\n\n },\n\n mounted() {\n if (this.$route.params.customerId !== undefined) {\n this.cusId = this.$route.params.customerId;\n }\n },\n\n watch: {\n customerBefore(val) {\n if (val && !val.error) {\n var _val$customers$;\n\n console.log(\"vall:\", val);\n const overall = parseInt(val === null || val === void 0 ? void 0 : (_val$customers$ = val.customers[0]) === null || _val$customers$ === void 0 ? void 0 : _val$customers$.overall);\n\n if ((this.item.applicationId == 3 || this.item.applicationId == 2) && this.item.marketId == 3) {\n if (this.currentDate >= 20 && this.esube == \"no\" && this.isUserRegisteredBeforeTwentieth && overall) {\n // esube yes olarak revize olmalı\n this.setStartDates(1, 1);\n } else if (this.currentDate >= 20 && this.esube == \"no\" || this.currentDate <= 20 && this.esube == \"yes\" && !this.isUserRegisteredBeforeTwentieth && overall) {\n this.setStartDates(-1, -1);\n }\n } else {\n this.setStartDates(-1, -1);\n }\n }\n }\n\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/customer/PackageSettingCreateType.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");
|
|
1744
1744
|
|
|
1745
1745
|
/***/ }),
|
|
1746
1746
|
|
|
@@ -1860,7 +1860,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
|
|
|
1860
1860
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1861
1861
|
|
|
1862
1862
|
"use strict";
|
|
1863
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/breadcrumb */ \"./src/utils/breadcrumb.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../constants */ \"./src/constants/index.js\");\n/* harmony import */ var _mixins__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../mixins */ \"./src/mixins/index.js\");\n/* harmony import */ var _components_base_ScreenPrices_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../components/base/ScreenPrices.vue */ \"./src/components/base/ScreenPrices.vue\");\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"CustomerDetail\",\n components: {\n CustomerInfo: _components__WEBPACK_IMPORTED_MODULE_1__[\"CustomerInfo\"],\n DataRequestItem: _components__WEBPACK_IMPORTED_MODULE_1__[\"DataRequestItem\"],\n Pager: _components__WEBPACK_IMPORTED_MODULE_1__[\"Pager\"],\n FundCommissionRate: _components__WEBPACK_IMPORTED_MODULE_1__[\"FundCommissionRate\"],\n HistoryFilter: _components__WEBPACK_IMPORTED_MODULE_1__[\"HistoryFilter\"],\n DataHistoryItem: _components__WEBPACK_IMPORTED_MODULE_1__[\"DataHistoryItem\"],\n InvoiceFilter: _components__WEBPACK_IMPORTED_MODULE_1__[\"InvoiceFilter\"],\n DataInvoiceItem: _components__WEBPACK_IMPORTED_MODULE_1__[\"DataInvoiceItem\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n InfoArea: _components__WEBPACK_IMPORTED_MODULE_1__[\"InfoArea\"],\n ScreenPrices: _components_base_ScreenPrices_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n },\n\n mounted() {\n if (this.$route.params.customerId !== undefined) {\n this.cusId = this.$route.params.customerId;\n } else {\n this.cusId = this.veriDagitimModel.userId;\n }\n\n this.fillFilter();\n this.getAllPackages(this.cusId);\n this.getRecommendedData();\n this.fillFilter();\n\n if (!this.veriDagitimModel) {\n localStorage.setItem(\"userCusId\", this.cusId);\n this.setUserCustomerId(this.cusId);\n this.getCustomer();\n } else {\n this.getCustomer();\n this.handleCustomer(this.veriDagitimModel);\n localStorage.setItem(\"esube\", \"yes\");\n localStorage.setItem(\"userId\", this.cusId);\n\n if (this.cusId) {\n let userIdAsNumber = parseInt(this.cusId);\n let payload = {\n id: userIdAsNumber\n };\n this.getMember(payload).then(response => {\n this.setUserInfo({ ...response.data.loginInfo,\n memberType: this.memberType\n });\n });\n }\n }\n },\n\n mixins: [_mixins__WEBPACK_IMPORTED_MODULE_4__[\"default\"]],\n props: {\n veriDagitimModel: Object,\n memberType: {\n type: Number\n }\n },\n\n data() {\n return {\n recommendedPackages: null,\n getPaymentStatuses: [],\n currentCustomer: null,\n monthArr: _constants__WEBPACK_IMPORTED_MODULE_3__[\"monthArr\"],\n currentYearNumber: new Date().getFullYear(),\n currentMonthNumber: new Date().getMonth() + 1,\n countDown: 10,\n timerRunning: true,\n logsLoader: false,\n timerStatus: \"Yenileniyor\",\n screenPriceList: [],\n featureScreenPricesList: [],\n newScreenPrice: [],\n tabs: [{\n id: 0,\n text: \"Veri Paketlerim\"\n }, {\n id: 1,\n text: \"Veri Paketi Ekstrelerim\"\n }, {\n id: 3,\n text: \"Ekran Ücretleri\"\n }, {\n id: 4,\n text: \"Paket Talep Et\"\n }, {\n id: 2,\n text: \"Değişiklikler\"\n }],\n currentTab: 0,\n cusId: null,\n isDataInvoiceLoaded: true,\n activeIndex: null,\n isActiveRow: false,\n isLoading: false,\n REQUESTED_PACKAGE_STATUS_ID: 6,\n SUCCESSFUL_INTEGRATION: true,\n UNSUCCESSFUL_INTEGRATION: false,\n EXCLUDED_APPLICATION_NAME: \"Foreks\"\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"apps\", \"profAlgoApps\", \"appsTab\", \"profAlgoTab\", \"fundAndCommissionRates\", \"customer\", \"allPackages\", \"getRecommendedPackages\", \"history\", \"historyList\", \"getFilterList\", \"invoiceList\", \"getHistoryFilter\", \"getUserInfo\"]),\n\n getUserType() {\n const REPRESENTATIVE_CODE = 3;\n const userType = this.getUserInfo.memberType;\n return userType && userType === REPRESENTATIVE_CODE;\n },\n\n customerId() {\n if (this.$route.params.customerNumber) {\n return this.$route.params.customerNumber;\n } else {\n return this.veriDagitimModel.customerId;\n }\n },\n\n getAllPackagesData() {\n return this.allPackages;\n },\n\n isCompleted() {\n return this.fundAndCommissionRates.fundAmount >= this.fundAndCommissionRates.targetFundAmount || this.fundAndCommissionRates.commissionAmount >= this.fundAndCommissionRates.targetCommissionAmount;\n }\n\n },\n\n created() {\n if (this.veriDagitimModel) {\n localStorage.setItem(\"veri-dagitim-token\", this.veriDagitimModel.token);\n }\n },\n\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"handleCustomer\", \"searchCustomer\", \"getAllPackages\", \"getRecommendedPackageList\", \"getHistoryList\", \"getInvoiceList\", \"getScreenPrices\", \"getFeatureScreenPrices\", \"getApps\", \"getAppsTab\", \"getProfAlgoTab\", \"getAllResearch\", \"getProfAlgoApps\", \"setUserInfo\", \"getMember\", \"fillFilter\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapMutations\"])([\"setGeneralFilter\", \"setMemberType\", \"setUserInfo\", \"setUserCustomerId\", \"setInvoiceFilter\", \"setHistoryFilter\", \"setProfAlgoApps\"]),\n\n tabClass(id) {\n return [{\n active: this.currentTab === id\n }, \"tab\"];\n },\n\n changeTab(id) {\n const ctrId = this.$route.params.customerId;\n this.currentTab = id;\n this.setGeneralFilter({\n page: 1,\n size: 5,\n filter: {}\n });\n this.timerRunning = false;\n\n if (this.currentTab === 0) {\n this.getAllPackages(ctrId);\n this.timerRunning = true;\n this.countDown = 10;\n } else if (this.currentTab === 1) {\n this.setInvoiceFilter({\n page: 1,\n size: 5,\n filter: {\n Year: this.currentYearNumber.toString(),\n Month: this.currentMonthNumber.toString()\n }\n });\n this.getInvoiceList(ctrId);\n } else if (this.currentTab === 2) {\n this.setHistoryFilter({\n page: 1,\n size: 5,\n filter: {}\n });\n this.getHistoryList(ctrId);\n } else if (this.currentTab === 3) {\n this.screenPriceList = [];\n this.getFeatureScreenPrices().then(response => {\n response.forEach(element => {\n this.screenPriceList.push(element);\n });\n });\n } else if (this.currentTab === 4) {\n this.navigate();\n }\n },\n\n returnPriceTypeForScreenPrices(priceTypeNumber) {\n if (priceTypeNumber == 1) {\n return \"TL\";\n } else if (priceTypeNumber == 2) {\n return \"Dolar\";\n } else if (priceTypeNumber == 3) {\n return \"Euro\";\n }\n },\n\n navigate() {\n const params = {\n customerNumber: this.customerId,\n memberType: this.getUserType\n };\n const query = {};\n let cusId = this.$route.params.customerId;\n params.customerId = cusId !== undefined ? cusId : localStorage.getItem(\"userId\");\n query.c = params.customerId;\n query.m = params.memberType;\n this.$router.push({\n name: \"BuyDataPackage\",\n params,\n query\n });\n },\n\n getRecommendedData() {\n this.getRecommendedPackageList(this.cusId).then(res => {\n if (res) {\n this.recommendedPackages = this.getRecommendedPackages;\n }\n });\n },\n\n checkIsDataInvoiceFilterChangedAndLoaded(param) {\n this.isDataInvoiceLoaded = param;\n },\n\n getCustomer() {\n this.searchCustomer({\n customerNo: this.customerId,\n cusId: this.cusId\n }).then(res => {\n if (!res.statusCode) {\n Object(_utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__[\"getBreadCrumbs\"])({\n breadcrumbs: [\"CustomerDetail\"],\n customer: this.customer,\n customerDetail: this.customerId,\n cusId: this.cusId\n });\n const paymentStatuses = this.getFilterList.filter(o => {\n return o.name === \"PaymentStatus\";\n });\n if (paymentStatuses.length > 0) this.getPaymentStatuses = paymentStatuses[0].values;\n this.currentCustomer = this.customer;\n }\n });\n },\n\n toggleCountdown() {\n this.timerRunning = !this.timerRunning;\n\n if (!this.timerRunning) {\n this.timerStatus = \"Duraklatıldı\";\n } else {\n this.timerStatus = \"Yenileniyor.\";\n this.countDown = 10;\n }\n },\n\n timerChecker(isPopupOpened) {\n if (isPopupOpened) {\n this.timerRunning = false;\n } else {\n this.timerRunning = true;\n this.countDown = 10;\n }\n },\n\n toggleAccordion(applicationId, platformId, researchId, index) {\n this.activeIndex = this.activeIndex === index ? null : index;\n const args = {\n applicationId: applicationId != null ? applicationId : 0,\n platformId: platformId != null ? platformId : 0,\n researchId: researchId != null ? researchId : 0\n };\n this.featureScreenPricesList = [];\n\n if (this.activeIndex == index) {\n this.getScreenPrices(args).then(res => {\n this.$nextTick(() => {\n const screenPrice = res.filter(x => x.featureType == 2);\n const withoutScreenPrice = res.filter(x => x.featureType != 2);\n this.featureScreenPricesList = withoutScreenPrice;\n this.newScreenPrice = screenPrice;\n });\n });\n }\n }\n\n },\n watch: {\n countDown: {\n handler(value) {\n if (this.currentTab == 0 && value >= -1) {\n if (this.timerRunning) {\n setTimeout(() => {\n this.countDown--;\n\n if (this.countDown === 0) {\n this.logsLoader = true;\n this.getAllPackages(this.$route.params.customerId);\n this.getRecommendedData();\n } else if (this.countDown === -1) {\n this.logsLoader = false;\n this.countDown = 10;\n }\n }, 1000);\n }\n }\n },\n\n immediate: true,\n deep: true\n },\n getAllPackagesData: {\n handler(value) {\n const allData = JSON.parse(JSON.stringify(value.data));\n const checkIsRequested = allData.filter(o => {\n var _o$application;\n\n return o.packageStatus.id === this.REQUESTED_PACKAGE_STATUS_ID && o.isSuccessfulIntegration === this.SUCCESSFUL_INTEGRATION && ((_o$application = o.application) === null || _o$application === void 0 ? void 0 : _o$application.name) !== this.EXCLUDED_APPLICATION_NAME;\n });\n const checkisSuccessfulIntegration = allData.filter(o => o.packageStatus.id === this.REQUESTED_PACKAGE_STATUS_ID && o.isSuccessfulIntegration === this.UNSUCCESSFUL_INTEGRATION);\n this.timerRunning = (checkIsRequested.length > 0 ? true : false) || (checkIsRequested.length === checkisSuccessfulIntegration.length ? false : true);\n },\n\n deep: true\n }\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/CustomerDetail.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");
|
|
1863
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/breadcrumb */ \"./src/utils/breadcrumb.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../constants */ \"./src/constants/index.js\");\n/* harmony import */ var _mixins__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../mixins */ \"./src/mixins/index.js\");\n/* harmony import */ var _components_base_ScreenPrices_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../components/base/ScreenPrices.vue */ \"./src/components/base/ScreenPrices.vue\");\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"CustomerDetail\",\n components: {\n CustomerInfo: _components__WEBPACK_IMPORTED_MODULE_1__[\"CustomerInfo\"],\n DataRequestItem: _components__WEBPACK_IMPORTED_MODULE_1__[\"DataRequestItem\"],\n Pager: _components__WEBPACK_IMPORTED_MODULE_1__[\"Pager\"],\n FundCommissionRate: _components__WEBPACK_IMPORTED_MODULE_1__[\"FundCommissionRate\"],\n HistoryFilter: _components__WEBPACK_IMPORTED_MODULE_1__[\"HistoryFilter\"],\n DataHistoryItem: _components__WEBPACK_IMPORTED_MODULE_1__[\"DataHistoryItem\"],\n InvoiceFilter: _components__WEBPACK_IMPORTED_MODULE_1__[\"InvoiceFilter\"],\n DataInvoiceItem: _components__WEBPACK_IMPORTED_MODULE_1__[\"DataInvoiceItem\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n InfoArea: _components__WEBPACK_IMPORTED_MODULE_1__[\"InfoArea\"],\n ScreenPrices: _components_base_ScreenPrices_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n },\n\n mounted() {\n if (this.$route.params.customerId !== undefined) {\n this.cusId = this.$route.params.customerId;\n } else {\n this.cusId = this.veriDagitimModel.userId;\n }\n\n this.getAllPackages(this.cusId);\n this.getRecommendedData();\n this.fillFilter();\n\n if (!this.veriDagitimModel) {\n localStorage.setItem(\"userCusId\", this.cusId);\n this.setUserCustomerId(this.cusId);\n this.getCustomer();\n } else {\n this.getCustomer();\n this.handleCustomer(this.veriDagitimModel);\n localStorage.setItem(\"esube\", \"yes\");\n localStorage.setItem(\"userId\", this.cusId);\n\n if (this.cusId) {\n let userIdAsNumber = parseInt(this.cusId);\n let payload = {\n id: userIdAsNumber\n };\n this.getMember(payload).then(response => {\n this.setUserInfo({ ...response.data.loginInfo,\n memberType: this.memberType\n });\n });\n }\n }\n },\n\n mixins: [_mixins__WEBPACK_IMPORTED_MODULE_4__[\"default\"]],\n props: {\n veriDagitimModel: Object,\n memberType: {\n type: Number\n }\n },\n\n data() {\n return {\n recommendedPackages: null,\n getPaymentStatuses: [],\n currentCustomer: null,\n monthArr: _constants__WEBPACK_IMPORTED_MODULE_3__[\"monthArr\"],\n currentYearNumber: new Date().getFullYear(),\n currentMonthNumber: new Date().getMonth() + 1,\n countDown: 10,\n timerRunning: true,\n logsLoader: false,\n timerStatus: \"Yenileniyor\",\n screenPriceList: [],\n featureScreenPricesList: [],\n newScreenPrice: [],\n tabs: [{\n id: 0,\n text: \"Veri Paketlerim\"\n }, {\n id: 1,\n text: \"Veri Paketi Ekstrelerim\"\n }, {\n id: 3,\n text: \"Ekran Ücretleri\"\n }, {\n id: 4,\n text: \"Paket Talep Et\"\n }, {\n id: 2,\n text: \"Değişiklikler\"\n }],\n currentTab: 0,\n cusId: null,\n isDataInvoiceLoaded: true,\n activeIndex: null,\n isActiveRow: false,\n isLoading: false,\n REQUESTED_PACKAGE_STATUS_ID: 6,\n SUCCESSFUL_INTEGRATION: true,\n UNSUCCESSFUL_INTEGRATION: false,\n EXCLUDED_APPLICATION_NAME: \"Foreks\"\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"apps\", \"profAlgoApps\", \"appsTab\", \"profAlgoTab\", \"fundAndCommissionRates\", \"customer\", \"allPackages\", \"getRecommendedPackages\", \"history\", \"historyList\", \"getFilterList\", \"invoiceList\", \"getHistoryFilter\", \"getUserInfo\"]),\n\n getUserType() {\n const REPRESENTATIVE_CODE = 3;\n const userType = this.getUserInfo.memberType;\n return userType && userType === REPRESENTATIVE_CODE;\n },\n\n customerId() {\n if (this.$route.params.customerNumber) {\n return this.$route.params.customerNumber;\n } else {\n return this.veriDagitimModel.customerId;\n }\n },\n\n getAllPackagesData() {\n return this.allPackages;\n },\n\n isCompleted() {\n return this.fundAndCommissionRates.fundAmount >= this.fundAndCommissionRates.targetFundAmount || this.fundAndCommissionRates.commissionAmount >= this.fundAndCommissionRates.targetCommissionAmount;\n }\n\n },\n\n created() {\n if (this.veriDagitimModel) {\n localStorage.setItem(\"veri-dagitim-token\", this.veriDagitimModel.token);\n }\n },\n\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"handleCustomer\", \"searchCustomer\", \"getAllPackages\", \"getRecommendedPackageList\", \"getHistoryList\", \"getInvoiceList\", \"getScreenPrices\", \"getFeatureScreenPrices\", \"getApps\", \"getAppsTab\", \"getProfAlgoTab\", \"getAllResearch\", \"getProfAlgoApps\", \"setUserInfo\", \"getMember\", \"fillFilter\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapMutations\"])([\"setGeneralFilter\", \"setMemberType\", \"setUserInfo\", \"setUserCustomerId\", \"setInvoiceFilter\", \"setHistoryFilter\", \"setProfAlgoApps\"]),\n\n tabClass(id) {\n return [{\n active: this.currentTab === id\n }, \"tab\"];\n },\n\n changeTab(id) {\n const ctrId = this.$route.params.customerId;\n this.currentTab = id;\n this.setGeneralFilter({\n page: 1,\n size: 5,\n filter: {}\n });\n this.timerRunning = false;\n\n if (this.currentTab === 0) {\n this.getAllPackages(ctrId);\n this.timerRunning = true;\n this.countDown = 10;\n } else if (this.currentTab === 1) {\n this.setInvoiceFilter({\n page: 1,\n size: 5,\n filter: {\n Year: this.currentYearNumber.toString(),\n Month: this.currentMonthNumber.toString()\n }\n });\n this.getInvoiceList(ctrId);\n } else if (this.currentTab === 2) {\n this.setHistoryFilter({\n page: 1,\n size: 5,\n filter: {}\n });\n this.getHistoryList(ctrId);\n } else if (this.currentTab === 3) {\n this.screenPriceList = [];\n this.getFeatureScreenPrices().then(response => {\n response.forEach(element => {\n this.screenPriceList.push(element);\n });\n });\n } else if (this.currentTab === 4) {\n this.navigate();\n }\n },\n\n returnPriceTypeForScreenPrices(priceTypeNumber) {\n if (priceTypeNumber == 1) {\n return \"TL\";\n } else if (priceTypeNumber == 2) {\n return \"Dolar\";\n } else if (priceTypeNumber == 3) {\n return \"Euro\";\n }\n },\n\n navigate() {\n const params = {\n customerNumber: this.customerId,\n memberType: this.getUserType\n };\n const query = {};\n let cusId = this.$route.params.customerId;\n params.customerId = cusId !== undefined ? cusId : localStorage.getItem(\"userId\");\n query.c = params.customerId;\n query.m = params.memberType;\n this.$router.push({\n name: \"BuyDataPackage\",\n params,\n query\n });\n },\n\n getRecommendedData() {\n this.getRecommendedPackageList(this.cusId).then(res => {\n if (res) {\n this.recommendedPackages = this.getRecommendedPackages;\n }\n });\n },\n\n checkIsDataInvoiceFilterChangedAndLoaded(param) {\n this.isDataInvoiceLoaded = param;\n },\n\n getCustomer() {\n this.searchCustomer({\n customerNo: this.customerId,\n cusId: this.cusId\n }).then(res => {\n if (!res.statusCode) {\n Object(_utils_breadcrumb__WEBPACK_IMPORTED_MODULE_2__[\"getBreadCrumbs\"])({\n breadcrumbs: [\"CustomerDetail\"],\n customer: this.customer,\n customerDetail: this.customerId,\n cusId: this.cusId\n });\n const paymentStatuses = this.getFilterList.filter(o => {\n return o.name === \"PaymentStatus\";\n });\n if (paymentStatuses.length > 0) this.getPaymentStatuses = paymentStatuses[0].values;\n this.currentCustomer = this.customer;\n }\n });\n },\n\n toggleCountdown() {\n this.timerRunning = !this.timerRunning;\n\n if (!this.timerRunning) {\n this.timerStatus = \"Duraklatıldı\";\n } else {\n this.timerStatus = \"Yenileniyor.\";\n this.countDown = 10;\n }\n },\n\n timerChecker(isPopupOpened) {\n if (isPopupOpened) {\n this.timerRunning = false;\n } else {\n this.timerRunning = true;\n this.countDown = 10;\n }\n },\n\n toggleAccordion(applicationId, platformId, researchId, index) {\n this.activeIndex = this.activeIndex === index ? null : index;\n const args = {\n applicationId: applicationId != null ? applicationId : 0,\n platformId: platformId != null ? platformId : 0,\n researchId: researchId != null ? researchId : 0\n };\n this.featureScreenPricesList = [];\n\n if (this.activeIndex == index) {\n this.getScreenPrices(args).then(res => {\n this.$nextTick(() => {\n const screenPrice = res.filter(x => x.featureType == 2);\n const withoutScreenPrice = res.filter(x => x.featureType != 2);\n this.featureScreenPricesList = withoutScreenPrice;\n this.newScreenPrice = screenPrice;\n });\n });\n }\n }\n\n },\n watch: {\n countDown: {\n handler(value) {\n if (this.currentTab == 0 && value >= -1) {\n if (this.timerRunning) {\n setTimeout(() => {\n this.countDown--;\n\n if (this.countDown === 0) {\n this.logsLoader = true;\n this.getAllPackages(this.$route.params.customerId);\n this.getRecommendedData();\n } else if (this.countDown === -1) {\n this.logsLoader = false;\n this.countDown = 10;\n }\n }, 1000);\n }\n }\n },\n\n immediate: true,\n deep: true\n },\n getAllPackagesData: {\n handler(value) {\n const allData = JSON.parse(JSON.stringify(value.data));\n const checkIsRequested = allData.filter(o => {\n var _o$application;\n\n return o.packageStatus.id === this.REQUESTED_PACKAGE_STATUS_ID && o.isSuccessfulIntegration === this.SUCCESSFUL_INTEGRATION && ((_o$application = o.application) === null || _o$application === void 0 ? void 0 : _o$application.name) !== this.EXCLUDED_APPLICATION_NAME;\n });\n const checkisSuccessfulIntegration = allData.filter(o => o.packageStatus.id === this.REQUESTED_PACKAGE_STATUS_ID && o.isSuccessfulIntegration === this.UNSUCCESSFUL_INTEGRATION);\n this.timerRunning = (checkIsRequested.length > 0 ? true : false) || (checkIsRequested.length === checkisSuccessfulIntegration.length ? false : true);\n },\n\n deep: true\n }\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/CustomerDetail.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");
|
|
1864
1864
|
|
|
1865
1865
|
/***/ }),
|
|
1866
1866
|
|
|
@@ -2148,7 +2148,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
|
2148
2148
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2149
2149
|
|
|
2150
2150
|
"use strict";
|
|
2151
|
-
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: \"form-group\" },\n [\n _vm.fieldLabel\n ? _c(\n \"label\",\n { staticClass: \"form-control-label\", attrs: { for: _vm.id } },\n [_vm._v(
|
|
2151
|
+
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: \"form-group\" },\n [\n _vm.fieldLabel\n ? _c(\n \"label\",\n { staticClass: \"form-control-label\", attrs: { for: _vm.id } },\n [_vm._v(_vm._s(_vm.fieldLabel))]\n )\n : _vm._e(),\n _c(\"vue-select\", {\n directives: [\n {\n name: \"click-outside\",\n rawName: \"v-click-outside\",\n value: _vm.vcoConfig,\n expression: \"vcoConfig\",\n },\n ],\n ref: \"vdSelect\",\n staticClass: \"veri-dagitim-selectbox\",\n class: _vm.addClass,\n attrs: {\n disabled: _vm.readonly,\n multiple: _vm.multiple,\n clearable: _vm.clearable,\n value: _vm.selectedVal,\n options: _vm.options,\n id: _vm.id,\n searchable: _vm.isSearchable,\n \"append-to-body\": \"\",\n \"calculate-position\": _vm.withPopper,\n placeholder: _vm.placeholder,\n defaultIndex: _vm.defaultIndex,\n closeOnSelect: true,\n },\n on: { input: _vm.onChange },\n scopedSlots: _vm._u([\n {\n key: \"no-options\",\n fn: function (ref) {\n var search = ref.search\n var searching = ref.searching\n return [\n searching\n ? [\n _c(\"em\", [\n _vm._v(_vm._s(search) + \" için bir sonuç bulunamadı\"),\n ]),\n ]\n : _vm._e(),\n ]\n },\n },\n ]),\n model: {\n value: _vm.selectedVal,\n callback: function ($$v) {\n _vm.selectedVal = $$v\n },\n expression: \"selectedVal\",\n },\n }),\n _vm.error === true\n ? _c(\"span\", { staticClass: \"select-error\" }, [\n _vm._v(_vm._s(_vm.errorText)),\n ])\n : _vm._e(),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/base/SelectInput.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2211f6ad0e-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");
|
|
2152
2152
|
|
|
2153
2153
|
/***/ }),
|
|
2154
2154
|
|
|
@@ -2244,7 +2244,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
|
2244
2244
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2245
2245
|
|
|
2246
2246
|
"use strict";
|
|
2247
|
-
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: \"data-request-item\" },\n [\n _c(\"div\", { staticClass: \"data-request-item__top\" }, [\n _c(\n \"div\",\n {\n staticClass: \"left\",\n class: _vm.getSelectedTerminalNumber.length >= 1 ? \"flex-04\" : \"\",\n },\n [\n _c(\n \"div\",\n { staticClass: \"section section-0\" },\n [\n _vm.dataItem && _vm.dataItem.imageUrl\n ? _c(\"img\", {\n attrs: {\n alt: \"product image\",\n src: _vm.dataItem.imageUrl,\n },\n })\n : _c(\"base-icon\", { attrs: { name: \"no-image\" } }),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"section section-main\" }, [\n _c(\"div\", { staticClass: \"section section-1\" }, [\n _c(\"h5\", [_vm._v(_vm._s(_vm.dataItem.title))]),\n _c(\"span\", [_vm._v(_vm._s(_vm.dataItem.subtitle))]),\n ]),\n ]),\n ]\n ),\n _c(\n \"div\",\n {\n staticClass: \"right\",\n class: {\n resetGap:\n !_vm.dataItem.package.length ||\n _vm.dataItem.startDate ||\n _vm.dataItem.endDate,\n },\n },\n [\n _vm.getSelectedTerminalNumber.length > 0 &&\n !_vm.getSelectedTerminalNumber.includes(null)\n ? _c(\"div\", { staticClass: \"col\" }, [\n _c(\"h6\", [_vm._v(\"Terminal No\")]),\n _c(\"span\", [\n _vm._v(_vm._s(_vm.getSelectedTerminalNumber.toString())),\n ]),\n ])\n : _vm._e(),\n _vm.userType == 1 || _vm.userType == 2\n ? _c(\"div\", { staticClass: \"col\" }, [\n _c(\"h6\", { staticClass: \"bold\" }, [_vm._v(\"Paket No\")]),\n _c(\"span\", [_vm._v(_vm._s(_vm.dataItem.purchaseNo))]),\n ])\n : _vm._e(),\n !_vm.dataItem.package.length && _vm.dataItem.startDate\n ? _c(\"div\", { staticClass: \"col\" }, [\n _c(\"h6\", { staticClass: \"bold\" }, [\n _vm._v(\"Başlangıç Tarihi\"),\n ]),\n _c(\"span\", [\n _vm._v(\n _vm._s(_vm.getTime(_vm.dataItem.startDate, \"DD.MM.YYYY\"))\n ),\n ]),\n ])\n : _vm._e(),\n !_vm.dataItem.package.length && _vm.dataItem.endDate\n ? _c(\"div\", { staticClass: \"col\" }, [\n _c(\"h6\", { staticClass: \"bold\" }, [_vm._v(\"Bitiş Tarihi\")]),\n _c(\"span\", [\n _vm._v(\n _vm._s(_vm.getTime(_vm.dataItem.endDate, \"DD.MM.YYYY\"))\n ),\n ]),\n ])\n : _vm._e(),\n _c(\"div\", { staticClass: \"col\" }, [\n _c(\"h6\", { staticClass: \"bold\" }, [_vm._v(\"Talep Tarihi\")]),\n _vm.dataItem.requestDate\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.getTime(_vm.dataItem.requestDate, \"DD.MM.YYYY\")\n ) +\n \" \"\n ),\n ])\n : _c(\"span\", [_vm._v(\"-\")]),\n ]),\n _c(\"div\", { staticClass: \"col\" }, [\n _c(\"h6\", { staticClass: \"bold\" }, [_vm._v(\"Düzenleme Tarihi\")]),\n _vm.dataItem.updatedAt\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.getTime(_vm.dataItem.updatedAt, \"DD.MM.YYYY\")\n ) +\n \" \"\n ),\n ])\n : _c(\"span\", [_vm._v(\"-\")]),\n ]),\n ]\n ),\n _vm.dataItem.packageStatus.id !== 6 &&\n _vm.dataItem.packageStatus.id !== 8\n ? _c(\"div\", { staticClass: \"right for-button\" }, [\n _c(\"div\", { staticClass: \"col\" }, [\n _vm.dataItem.packageStatus.id !== 8\n ? _c(\n \"div\",\n {\n staticClass: \"button-area\",\n class: {\n \"d-none\": _vm.dataItem.packageStatus.id === 6,\n },\n attrs: { id: \"button-area-\" + _vm.dataItem.purchaseNo },\n },\n [\n _c(\"base-icon\", { attrs: { name: \"gear\" } }),\n _c(\"span\", { staticClass: \"text\" }, [\n _vm._v(\"Düzenle\"),\n ]),\n _c(\"div\", { staticClass: \"dropdown\" }, [\n (_vm.dataItem.packageType === 1) &\n (_vm.dataItem.packageStatus.id !== 6)\n ? _c(\n \"div\",\n {\n staticClass: \"dropdown-item\",\n attrs: {\n id: \"dropdown-item-1-\" + _vm.dataItem.id,\n },\n on: {\n click: function ($event) {\n return _vm.addCart(_vm.dataItem.id)\n },\n },\n },\n [\n _c(\n \"span\",\n { staticClass: \"dropdown-item__text\" },\n [_vm._v(\"Lisans Ekle/Çıkar\")]\n ),\n ]\n )\n : _vm._e(),\n _vm.dataItem.packageStatus.id == 2\n ? _c(\n \"div\",\n {\n staticClass: \"dropdown-item\",\n attrs: {\n id: \"dropdown-item-2-\" + _vm.dataItem.id,\n },\n on: {\n click: function ($event) {\n return _vm.showModal(_vm.getDataItemId)\n },\n },\n },\n [\n _c(\n \"span\",\n { staticClass: \"dropdown-item__text\" },\n [_vm._v(\"İptal Et\")]\n ),\n ]\n )\n : _vm._e(),\n ]),\n ],\n 1\n )\n : _vm._e(),\n ]),\n ])\n : _vm._e(),\n ]),\n _c(\"div\", { staticClass: \"data-request-item__middle\" }, [\n _c(\"div\", { staticClass: \"left\" }, [\n _c(\"div\", { staticClass: \"item\" }, [\n _c(\"span\", [_vm._v(\"Bes Yatırım Fonu:\")]),\n _c(\"strong\", [\n _vm._v(\n _vm._s(\n _vm.formatPrice(_vm.dataItem.price.totalFundAmount) || 0\n ) + \" TL\"\n ),\n ]),\n ]),\n _vm._m(0),\n _c(\"div\", { staticClass: \"item\" }, [\n _c(\"span\", [_vm._v(\"Komisyon:\")]),\n _c(\"strong\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(_vm.dataItem.price.totalCommissionAmount) ||\n 0\n ) +\n \" TL \"\n ),\n ]),\n ]),\n ]),\n _c(\"div\", { staticClass: \"right\" }, [\n !_vm.dataItem.isSuccessfulIntegration\n ? _c(\"div\", { staticClass: \"item integration-warning\" }, [\n _c(\"div\", { staticClass: \"tag tooltip\" }, [\n _c(\"div\", { staticClass: \"tooltiptext\" }, [\n _c(\"div\", { staticClass: \"texts\" }, [\n _vm._v(\n \" \" +\n _vm._s(_vm.dataItem.productName) +\n \" sisteminden kaynaklı bir hata alınmaktadır. Lütfen daha sonra tekrar deneyiniz. \"\n ),\n ]),\n ]),\n _c(\n \"span\",\n { staticClass: \"text\" },\n [\n _c(\"base-icon\", {\n staticClass: \"icon\",\n attrs: { name: \"bell-fill\" },\n }),\n ],\n 1\n ),\n ]),\n ])\n : _vm._e(),\n _c(\"div\", { staticClass: \"item\" }, [\n _c(\"h3\", { staticClass: \"data-request-item__price\" }, [\n _c(\"span\", { staticClass: \"data-request-item__price__text\" }, [\n _vm._v(\"Paket Tutarı:\"),\n ]),\n _vm._v(\" \" + _vm._s(_vm.totalPriceCalc || 0) + \" \"),\n ]),\n ]),\n _c(\"div\", { staticClass: \"item\" }, [\n _c(\"span\", { staticClass: \"data-request-item__status\" }, [\n _c(\"span\", { staticClass: \"data-request-item__status__text\" }, [\n _vm._v(\"Paket Durumu:\"),\n ]),\n _c(\n \"span\",\n {\n staticClass: \"data-request-item__status__stat\",\n class: [\n \"request\",\n {\n active: _vm.dataItem.packageStatus.id == 2 ? true : \"\",\n passive: _vm.dataItem.packageStatus.id == 8 ? true : \"\",\n },\n ],\n },\n [_vm._v(_vm._s(_vm.dataItem.packageStatus.name))]\n ),\n ]),\n ]),\n ]),\n ]),\n _vm.dataItem.package.length\n ? _c(\"div\", { staticClass: \"data-request-item__bottom\" }, [\n _c(\"div\", { staticClass: \"left package-container\" }, [\n _c(\n \"div\",\n { staticClass: \"item\" },\n [\n _c(\"strong\", [_vm._v(\"Paketler:\")]),\n _vm._l(_vm.mergedPackagesNames, function (item, index) {\n return _c(\"span\", { key: item.id, staticClass: \"items\" }, [\n _vm._v(\" \" + _vm._s(item) + \" \"),\n index != _vm.mergedPackagesNames.length - 1\n ? _c(\"span\", { staticClass: \"seperator\" })\n : _vm._e(),\n ])\n }),\n ],\n 2\n ),\n ]),\n _c(\n \"div\",\n { staticClass: \"right\", on: { click: _vm.accordionToggle } },\n [\n _c(\"base-icon\", {\n class: [\"toggle\", { active: _vm.isActive }],\n attrs: { name: \"arrow-green\" },\n }),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"data-request-item__bottom__packages\" }, [\n _c(\n \"div\",\n { class: [\"accordion-wrapper\", _vm.isActive ? \"active\" : \"\"] },\n [\n _c(\n \"div\",\n {\n class: [\n \"accordion-wrapper__row caption\",\n _vm.isActive ? \"active\" : \"\",\n ],\n },\n [\n _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell caption\" },\n [_vm._v(\"Paket Adı:\")]\n ),\n _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell caption\" },\n [_vm._v(\" Başlangıç Tarihi: \")]\n ),\n _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell caption\" },\n [_vm._v(\" Bitiş Tarihi: \")]\n ),\n _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell caption\" },\n [_vm._v(\"Fiyatlar\")]\n ),\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"accordion-content active\" },\n _vm._l(_vm.mergedForTableData, function (item) {\n return _c(\n \"div\",\n {\n key: item.name,\n staticClass: \"accordion-wrapper__row\",\n },\n [\n _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [\n typeof item == \"object\"\n ? _c(\"span\", [\n item.name\n ? _c(\"span\", [_vm._v(_vm._s(item.name))])\n : _vm._e(),\n ])\n : _c(\"span\", [_vm._v(_vm._s(item))]),\n ]\n ),\n item.startDate\n ? _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.getTime(\n item.startDate,\n \"DD.MM.YYYY\"\n )\n ) +\n \" \"\n ),\n ]\n )\n : _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [_vm._v(\"-\")]\n ),\n item.endDate\n ? _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.getTime(item.endDate, \"DD.MM.YYYY\")\n ) +\n \" \"\n ),\n ]\n )\n : _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [_vm._v(\"-\")]\n ),\n item.totalPrice\n ? _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [_vm._v(\" \" + _vm._s(item.totalPrice) + \" \")]\n )\n : _vm._e(),\n item.price\n ? _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [\n _vm._v(\" \" + _vm._s(item.price) + \" \"),\n item.info == \"₺\"\n ? _c(\"span\", [_vm._v(\"TL\")])\n : item.info == \"€\"\n ? _c(\"span\", [_vm._v(\"Euro\")])\n : item.info == \"$\"\n ? _c(\"span\", [_vm._v(\"Dolar\")])\n : _vm._e(),\n ]\n )\n : _vm._e(),\n !item.totalPrice && !item.price\n ? _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [_vm._v(\" - \")]\n )\n : _vm._e(),\n ]\n )\n }),\n 0\n ),\n ]\n ),\n ]),\n ])\n : _vm._e(),\n _vm.packageDetail\n ? [\n _c(\"package-settigns\", {\n attrs: {\n dataItem: _vm.packageDetail,\n marketInfo: _vm.marketInfo,\n isPopupVisible: _vm.isPopupVisible,\n },\n on: { close: _vm.closePopup },\n }),\n ]\n : _vm._e(),\n _c(\n \"modal\",\n {\n staticClass: \"cancel-modal\",\n attrs: { height: \"auto\", adaptive: true, name: _vm.getDataItemId },\n },\n [\n _c(\"div\", { staticClass: \"modal-heading\" }, [\n _c(\"div\", { staticClass: \"modal-title\" }, [\n _c(\"h5\", [_vm._v(\"Paketi İptal Etmek İstiyor musunuz?\")]),\n ]),\n _c(\n \"a\",\n {\n on: {\n click: function ($event) {\n return _vm.closeModal()\n },\n },\n },\n [\n _c(\"base-icon\", {\n staticClass: \"close\",\n attrs: { name: \"close-circle\" },\n }),\n ],\n 1\n ),\n ]),\n _c(\n \"div\",\n { staticClass: \"modal-body\" },\n [\n _c(\"div\", { staticClass: \"modal-body__top\" }, [\n _c(\n \"div\",\n { staticClass: \"modal-body__image\" },\n [\n _vm.dataItem && _vm.dataItem.imageUrl\n ? _c(\"img\", {\n staticClass: \"image\",\n attrs: {\n alt: \"product image\",\n src: _vm.dataItem.imageUrl,\n },\n })\n : _c(\"base-icon\", {\n staticClass: \"image\",\n attrs: { name: \"no-image\" },\n }),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"modal-body__info\" }, [\n _vm.dataItem.productName\n ? _c(\"h3\", { staticClass: \"title\" }, [\n _vm._v(\" \" + _vm._s(_vm.dataItem.productName) + \" \"),\n ])\n : _vm._e(),\n _c(\"p\", { staticClass: \"modal-body__info-platform\" }, [\n _vm.dataItem.platform && _vm.dataItem.platform.name\n ? _c(\"span\", [_vm._v(_vm._s(_vm.dataItem.platform.name))])\n : _vm._e(),\n ]),\n _c(\"div\", { staticClass: \"modal-body__info_bes\" }, [\n _c(\"span\", { staticClass: \"m-text-grayscale-80\" }, [\n _vm._v(\"BES/Yatırım Fonu:\"),\n ]),\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(_vm.dataItem.price.totalFundAmount)\n ) +\n \" TL \"\n ),\n _c(\"span\", { staticClass: \"m-text-grayscale-80\" }, [\n _vm._v(\"veya Komisyon:\"),\n ]),\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n _vm.dataItem.price.totalCommissionAmount\n )\n ) +\n \" TL \"\n ),\n ]),\n _c(\n \"p\",\n { staticClass: \"modal-body__info_price\" },\n [\n _vm.totalPriceCalc !== 0\n ? [_vm._v(_vm._s(_vm.totalPriceCalc))]\n : [_vm._v(\"Ücretsiz\")],\n ],\n 2\n ),\n ]),\n ]),\n _c(\"info-area\", { attrs: { infoText: _vm.infoText } }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"modal-bottom\" },\n [\n _c(\n \"base-button\",\n {\n on: {\n click: function ($event) {\n return _vm.cancel(_vm.dataItem.id)\n },\n },\n },\n [_vm._v(\"İptal Et\")]\n ),\n ],\n 1\n ),\n ]\n ),\n ],\n 2\n )\n}\nvar staticRenderFns = [\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"item\" }, [_c(\"span\", [_vm._v(\"veya\")])])\n },\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/customer/DataRequestItem.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2211f6ad0e-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");
|
|
2247
|
+
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: \"data-request-item\" },\n [\n _c(\"div\", { staticClass: \"data-request-item__top\" }, [\n _c(\n \"div\",\n {\n staticClass: \"left\",\n class: _vm.getSelectedTerminalNumber.length >= 1 ? \"flex-04\" : \"\",\n },\n [\n _c(\n \"div\",\n { staticClass: \"section section-0\" },\n [\n _vm.dataItem && _vm.dataItem.imageUrl\n ? _c(\"img\", {\n attrs: {\n alt: \"product image\",\n src: _vm.dataItem.imageUrl,\n },\n })\n : _c(\"base-icon\", { attrs: { name: \"no-image\" } }),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"section section-main\" }, [\n _c(\"div\", { staticClass: \"section section-1\" }, [\n _c(\"h5\", [_vm._v(_vm._s(_vm.dataItem.title))]),\n _c(\"span\", [_vm._v(_vm._s(_vm.dataItem.subtitle))]),\n ]),\n ]),\n ]\n ),\n _c(\n \"div\",\n {\n staticClass: \"right\",\n class: {\n resetGap:\n !_vm.dataItem.package.length ||\n _vm.dataItem.startDate ||\n _vm.dataItem.endDate,\n },\n },\n [\n _vm.getSelectedTerminalNumber.length > 0 &&\n !_vm.getSelectedTerminalNumber.includes(null)\n ? _c(\"div\", { staticClass: \"col\" }, [\n _c(\"h6\", [_vm._v(\"Terminal No\")]),\n _c(\"span\", [\n _vm._v(_vm._s(_vm.getSelectedTerminalNumber.toString())),\n ]),\n ])\n : _vm._e(),\n _c(\"div\", { staticClass: \"col\" }, [\n _c(\"h6\", { staticClass: \"bold\" }, [_vm._v(\"Paket No\")]),\n _c(\"span\", [_vm._v(_vm._s(_vm.dataItem.purchaseNo))]),\n ]),\n !_vm.dataItem.package.length && _vm.dataItem.startDate\n ? _c(\"div\", { staticClass: \"col\" }, [\n _c(\"h6\", { staticClass: \"bold\" }, [\n _vm._v(\"Başlangıç Tarihi\"),\n ]),\n _c(\"span\", [\n _vm._v(\n _vm._s(_vm.getTime(_vm.dataItem.startDate, \"DD.MM.YYYY\"))\n ),\n ]),\n ])\n : _vm._e(),\n !_vm.dataItem.package.length && _vm.dataItem.endDate\n ? _c(\"div\", { staticClass: \"col\" }, [\n _c(\"h6\", { staticClass: \"bold\" }, [_vm._v(\"Bitiş Tarihi\")]),\n _c(\"span\", [\n _vm._v(\n _vm._s(_vm.getTime(_vm.dataItem.endDate, \"DD.MM.YYYY\"))\n ),\n ]),\n ])\n : _vm._e(),\n _c(\"div\", { staticClass: \"col\" }, [\n _c(\"h6\", { staticClass: \"bold\" }, [_vm._v(\"Talep Tarihi\")]),\n _vm.dataItem.requestDate\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.getTime(_vm.dataItem.requestDate, \"DD.MM.YYYY\")\n ) +\n \" \"\n ),\n ])\n : _c(\"span\", [_vm._v(\"-\")]),\n ]),\n _c(\"div\", { staticClass: \"col\" }, [\n _c(\"h6\", { staticClass: \"bold\" }, [_vm._v(\"Düzenleme Tarihi\")]),\n _vm.dataItem.updatedAt\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.getTime(_vm.dataItem.updatedAt, \"DD.MM.YYYY\")\n ) +\n \" \"\n ),\n ])\n : _c(\"span\", [_vm._v(\"-\")]),\n ]),\n ]\n ),\n _vm.dataItem.packageStatus.id !== 6 &&\n _vm.dataItem.packageStatus.id !== 8\n ? _c(\"div\", { staticClass: \"right for-button\" }, [\n _c(\"div\", { staticClass: \"col\" }, [\n _vm.dataItem.packageStatus.id !== 8\n ? _c(\n \"div\",\n {\n staticClass: \"button-area\",\n class: {\n \"d-none\": _vm.dataItem.packageStatus.id === 6,\n },\n attrs: { id: \"button-area-\" + _vm.dataItem.purchaseNo },\n },\n [\n _c(\"base-icon\", { attrs: { name: \"gear\" } }),\n _c(\"span\", { staticClass: \"text\" }, [\n _vm._v(\"Düzenle\"),\n ]),\n _c(\"div\", { staticClass: \"dropdown\" }, [\n (_vm.dataItem.packageType === 1) &\n (_vm.dataItem.packageStatus.id !== 6)\n ? _c(\n \"div\",\n {\n staticClass: \"dropdown-item\",\n attrs: {\n id: \"dropdown-item-1-\" + _vm.dataItem.id,\n },\n on: {\n click: function ($event) {\n return _vm.addCart(_vm.dataItem.id)\n },\n },\n },\n [\n _c(\n \"span\",\n { staticClass: \"dropdown-item__text\" },\n [_vm._v(\"Lisans Ekle/Çıkar\")]\n ),\n ]\n )\n : _vm._e(),\n _vm.dataItem.packageStatus.id == 2\n ? _c(\n \"div\",\n {\n staticClass: \"dropdown-item\",\n attrs: {\n id: \"dropdown-item-2-\" + _vm.dataItem.id,\n },\n on: {\n click: function ($event) {\n return _vm.showModal(_vm.getDataItemId)\n },\n },\n },\n [\n _c(\n \"span\",\n { staticClass: \"dropdown-item__text\" },\n [_vm._v(\"İptal Et\")]\n ),\n ]\n )\n : _vm._e(),\n ]),\n ],\n 1\n )\n : _vm._e(),\n ]),\n ])\n : _vm._e(),\n ]),\n _c(\"div\", { staticClass: \"data-request-item__middle\" }, [\n _c(\"div\", { staticClass: \"left\" }, [\n _c(\"div\", { staticClass: \"item\" }, [\n _c(\"span\", [_vm._v(\"Bes Yatırım Fonu:\")]),\n _c(\"strong\", [\n _vm._v(\n _vm._s(\n _vm.formatPrice(_vm.dataItem.price.totalFundAmount) || 0\n ) + \" TL\"\n ),\n ]),\n ]),\n _vm._m(0),\n _c(\"div\", { staticClass: \"item\" }, [\n _c(\"span\", [_vm._v(\"Komisyon:\")]),\n _c(\"strong\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(_vm.dataItem.price.totalCommissionAmount) ||\n 0\n ) +\n \" TL \"\n ),\n ]),\n ]),\n ]),\n _c(\"div\", { staticClass: \"right\" }, [\n !_vm.dataItem.isSuccessfulIntegration\n ? _c(\"div\", { staticClass: \"item integration-warning\" }, [\n _c(\"div\", { staticClass: \"tag tooltip\" }, [\n _c(\"div\", { staticClass: \"tooltiptext\" }, [\n _c(\"div\", { staticClass: \"texts\" }, [\n _vm._v(\n \" \" +\n _vm._s(_vm.dataItem.productName) +\n \" sisteminden kaynaklı bir hata alınmaktadır. Lütfen daha sonra tekrar deneyiniz. \"\n ),\n ]),\n ]),\n _c(\n \"span\",\n { staticClass: \"text\" },\n [\n _c(\"base-icon\", {\n staticClass: \"icon\",\n attrs: { name: \"bell-fill\" },\n }),\n ],\n 1\n ),\n ]),\n ])\n : _vm._e(),\n _c(\"div\", { staticClass: \"item\" }, [\n _c(\"h3\", { staticClass: \"data-request-item__price\" }, [\n _c(\"span\", { staticClass: \"data-request-item__price__text\" }, [\n _vm._v(\"Paket Tutarı:\"),\n ]),\n _vm._v(\" \" + _vm._s(_vm.totalPriceCalc || 0) + \" \"),\n ]),\n ]),\n _c(\"div\", { staticClass: \"item\" }, [\n _c(\"span\", { staticClass: \"data-request-item__status\" }, [\n _c(\"span\", { staticClass: \"data-request-item__status__text\" }, [\n _vm._v(\"Paket Durumu:\"),\n ]),\n _c(\n \"span\",\n {\n staticClass: \"data-request-item__status__stat\",\n class: [\n \"request\",\n {\n active: _vm.dataItem.packageStatus.id == 2 ? true : \"\",\n passive: _vm.dataItem.packageStatus.id == 8 ? true : \"\",\n },\n ],\n },\n [_vm._v(_vm._s(_vm.dataItem.packageStatus.name))]\n ),\n ]),\n ]),\n ]),\n ]),\n _vm.dataItem.package.length\n ? _c(\"div\", { staticClass: \"data-request-item__bottom\" }, [\n _c(\"div\", { staticClass: \"left package-container\" }, [\n _c(\n \"div\",\n { staticClass: \"item\" },\n [\n _c(\"strong\", [_vm._v(\"Paketler:\")]),\n _vm._l(_vm.mergedPackagesNames, function (item, index) {\n return _c(\"span\", { key: item.id, staticClass: \"items\" }, [\n _vm._v(\" \" + _vm._s(item) + \" \"),\n index != _vm.mergedPackagesNames.length - 1\n ? _c(\"span\", { staticClass: \"seperator\" })\n : _vm._e(),\n ])\n }),\n ],\n 2\n ),\n ]),\n _c(\n \"div\",\n { staticClass: \"right\", on: { click: _vm.accordionToggle } },\n [\n _c(\"base-icon\", {\n class: [\"toggle\", { active: _vm.isActive }],\n attrs: { name: \"arrow-green\" },\n }),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"data-request-item__bottom__packages\" }, [\n _c(\n \"div\",\n { class: [\"accordion-wrapper\", _vm.isActive ? \"active\" : \"\"] },\n [\n _c(\n \"div\",\n {\n class: [\n \"accordion-wrapper__row caption\",\n _vm.isActive ? \"active\" : \"\",\n ],\n },\n [\n _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell caption\" },\n [_vm._v(\"Paket Adı:\")]\n ),\n _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell caption\" },\n [_vm._v(\" Başlangıç Tarihi: \")]\n ),\n _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell caption\" },\n [_vm._v(\" Bitiş Tarihi: \")]\n ),\n _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell caption\" },\n [_vm._v(\"Fiyatlar\")]\n ),\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"accordion-content active\" },\n _vm._l(_vm.mergedForTableData, function (item) {\n return _c(\n \"div\",\n {\n key: item.name,\n staticClass: \"accordion-wrapper__row\",\n },\n [\n _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [\n typeof item == \"object\"\n ? _c(\"span\", [\n item.name\n ? _c(\"span\", [_vm._v(_vm._s(item.name))])\n : _vm._e(),\n ])\n : _c(\"span\", [_vm._v(_vm._s(item))]),\n ]\n ),\n item.startDate\n ? _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.getTime(\n item.startDate,\n \"DD.MM.YYYY\"\n )\n ) +\n \" \"\n ),\n ]\n )\n : _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [_vm._v(\"-\")]\n ),\n item.endDate\n ? _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.getTime(item.endDate, \"DD.MM.YYYY\")\n ) +\n \" \"\n ),\n ]\n )\n : _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [_vm._v(\"-\")]\n ),\n item.totalPrice\n ? _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [_vm._v(\" \" + _vm._s(item.totalPrice) + \" \")]\n )\n : _vm._e(),\n item.price\n ? _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [\n _vm._v(\" \" + _vm._s(item.price) + \" \"),\n item.info == \"₺\"\n ? _c(\"span\", [_vm._v(\"TL\")])\n : item.info == \"€\"\n ? _c(\"span\", [_vm._v(\"Euro\")])\n : item.info == \"$\"\n ? _c(\"span\", [_vm._v(\"Dolar\")])\n : _vm._e(),\n ]\n )\n : _vm._e(),\n !item.totalPrice && !item.price\n ? _c(\n \"div\",\n { staticClass: \"accordion-wrapper__row__cell\" },\n [_vm._v(\" - \")]\n )\n : _vm._e(),\n ]\n )\n }),\n 0\n ),\n ]\n ),\n ]),\n ])\n : _vm._e(),\n _vm.packageDetail\n ? [\n _c(\"package-settigns\", {\n attrs: {\n dataItem: _vm.packageDetail,\n marketInfo: _vm.marketInfo,\n isPopupVisible: _vm.isPopupVisible,\n },\n on: { close: _vm.closePopup },\n }),\n ]\n : _vm._e(),\n _c(\n \"modal\",\n {\n staticClass: \"cancel-modal\",\n attrs: { height: \"auto\", adaptive: true, name: _vm.getDataItemId },\n },\n [\n _c(\"div\", { staticClass: \"modal-heading\" }, [\n _c(\"div\", { staticClass: \"modal-title\" }, [\n _c(\"h5\", [_vm._v(\"Paketi İptal Etmek İstiyor musunuz?\")]),\n ]),\n _c(\n \"a\",\n {\n on: {\n click: function ($event) {\n return _vm.closeModal()\n },\n },\n },\n [\n _c(\"base-icon\", {\n staticClass: \"close\",\n attrs: { name: \"close-circle\" },\n }),\n ],\n 1\n ),\n ]),\n _c(\n \"div\",\n { staticClass: \"modal-body\" },\n [\n _c(\"div\", { staticClass: \"modal-body__top\" }, [\n _c(\n \"div\",\n { staticClass: \"modal-body__image\" },\n [\n _vm.dataItem && _vm.dataItem.imageUrl\n ? _c(\"img\", {\n staticClass: \"image\",\n attrs: {\n alt: \"product image\",\n src: _vm.dataItem.imageUrl,\n },\n })\n : _c(\"base-icon\", {\n staticClass: \"image\",\n attrs: { name: \"no-image\" },\n }),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"modal-body__info\" }, [\n _vm.dataItem.productName\n ? _c(\"h3\", { staticClass: \"title\" }, [\n _vm._v(\" \" + _vm._s(_vm.dataItem.productName) + \" \"),\n ])\n : _vm._e(),\n _c(\"p\", { staticClass: \"modal-body__info-platform\" }, [\n _vm.dataItem.platform && _vm.dataItem.platform.name\n ? _c(\"span\", [_vm._v(_vm._s(_vm.dataItem.platform.name))])\n : _vm._e(),\n ]),\n _c(\"div\", { staticClass: \"modal-body__info_bes\" }, [\n _c(\"span\", { staticClass: \"m-text-grayscale-80\" }, [\n _vm._v(\"BES/Yatırım Fonu:\"),\n ]),\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(_vm.dataItem.price.totalFundAmount)\n ) +\n \" TL \"\n ),\n _c(\"span\", { staticClass: \"m-text-grayscale-80\" }, [\n _vm._v(\"veya Komisyon:\"),\n ]),\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n _vm.dataItem.price.totalCommissionAmount\n )\n ) +\n \" TL \"\n ),\n ]),\n _c(\n \"p\",\n { staticClass: \"modal-body__info_price\" },\n [\n _vm.totalPriceCalc !== 0\n ? [_vm._v(_vm._s(_vm.totalPriceCalc))]\n : [_vm._v(\"Ücretsiz\")],\n ],\n 2\n ),\n ]),\n ]),\n _c(\"info-area\", { attrs: { infoText: _vm.infoText } }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"modal-bottom\" },\n [\n _c(\n \"base-button\",\n {\n on: {\n click: function ($event) {\n return _vm.cancel(_vm.dataItem.id)\n },\n },\n },\n [_vm._v(\"İptal Et\")]\n ),\n ],\n 1\n ),\n ]\n ),\n ],\n 2\n )\n}\nvar staticRenderFns = [\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"item\" }, [_c(\"span\", [_vm._v(\"veya\")])])\n },\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/customer/DataRequestItem.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2211f6ad0e-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");
|
|
2248
2248
|
|
|
2249
2249
|
/***/ }),
|
|
2250
2250
|
|
|
@@ -2292,7 +2292,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
|
2292
2292
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2293
2293
|
|
|
2294
2294
|
"use strict";
|
|
2295
|
-
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 \"popup-right\",\n {\n attrs: { title: \"Paket Ayarları\", isPopupVisible: _vm.isPopupVisible },\n on: { close: _vm.setDefaultValues },\n },\n [\n _c(\"div\", { staticClass: \"package-settings\" }, [\n _c(\n \"div\",\n { staticClass: \"package-settings__top m-flex m-items-center\" },\n [\n _c(\n \"div\",\n { staticClass: \"package-settings__image\" },\n [\n _vm.dataItem && _vm.dataItem.imageUrl\n ? _c(\"img\", {\n attrs: {\n alt: \"product image\",\n src: _vm.dataItem.imageUrl,\n },\n })\n : _c(\"base-icon\", { attrs: { name: \"no-image\" } }),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"package-settings__info\" }, [\n _vm.dataItem.productName\n ? _c(\"h3\", [_vm._v(_vm._s(_vm.dataItem.productName))])\n : _vm._e(),\n _c(\"p\", { staticClass: \"package-settings__info-platform\" }, [\n _vm.dataItem.platform && _vm.dataItem.platform.name\n ? _c(\"span\", [\n _vm._v(\" \" + _vm._s(_vm.dataItem.platform.name) + \" \"),\n ])\n : _vm._e(),\n ]),\n ]),\n ]\n ),\n _vm.dataItem.dateSelection == 1 &&\n _vm.startDateSelection == 0 &&\n this.$route.name !== \"Checkout\"\n ? _c(\"span\", { staticClass: \"warning-messages\" }, [\n _c(\"span\", { staticClass: \"error-icon\" }, [_vm._v(\"!\")]),\n _vm._v(\n \" Paketinizi tüm lisanslarıyla birlikte bugün başlayacak şekilde güncelliyorsunuz! \"\n ),\n ])\n : _vm._e(),\n _c(\"div\", { staticClass: \"package-settings__lisans\" }, [\n _c(\"div\", { staticClass: \"package-settings__lisans__information\" }, [\n _c(\"h5\", { attrs: { id: \"lisans\" } }, [_vm._v(\"Lisans Bilgileri\")]),\n _c(\"div\", { staticClass: \"market-table\" }, [\n _vm.marketInfo\n ? _c(\n \"table\",\n {\n staticClass: \"table\",\n attrs: { \"aria-describedby\": \"lisans\" },\n },\n [\n _c(\"thead\", [\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\n \"th\",\n {\n staticClass: \"text-left\",\n attrs: { scope: \"col\" },\n },\n [_vm._v(\"Piyasa\")]\n ),\n _c(\n \"th\",\n {\n staticClass: \"text-left\",\n attrs: { scope: \"col\" },\n },\n [_vm._v(\"Derinlik\")]\n ),\n _c(\n \"th\",\n {\n staticClass: \"text-left\",\n attrs: { scope: \"col\" },\n },\n [_vm._v(\"Aracı Kurum Dağılımı\")]\n ),\n _c(\n \"th\",\n {\n staticClass: \"text-left\",\n attrs: { scope: \"col\" },\n },\n [_vm._v(\"Başlangıç Zamanı\")]\n ),\n ]),\n ]),\n !_vm.isResponsive\n ? _c(\n \"tbody\",\n _vm._l(_vm.marketInfo, function (item) {\n return _c(\"package-setting-type\", {\n key: item.id,\n attrs: {\n item: item,\n dataItem: _vm.dataItem,\n selectData: _vm.selectData,\n isResponsive: false,\n },\n on: {\n update: _vm.changeSelected,\n showSpesificWarning: _vm.checkSpesificWarning,\n },\n })\n }),\n 1\n )\n : _vm._e(),\n ]\n )\n : _vm._e(),\n ]),\n _vm.isResponsive\n ? _c(\n \"div\",\n { staticClass: \"market-table-responsive\" },\n _vm._l(_vm.marketInfo, function (item) {\n return _c(\"package-setting-type\", {\n key: item.id,\n attrs: {\n item: item,\n dataItem: _vm.dataItem,\n selectData: _vm.selectData,\n isResponsive: true,\n },\n on: {\n update: _vm.changeSelected,\n showSpesificWarning: _vm.checkSpesificWarning,\n },\n })\n }),\n 1\n )\n : _vm._e(),\n _vm.warningMessage\n ? _c(\n \"div\",\n { staticClass: \"info-container\" },\n [\n _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[1], typeWarning: true },\n }),\n ],\n 1\n )\n : _vm._e(),\n ]),\n _c(\"div\", { staticClass: \"accordion-container\" }, [\n _vm.research.length > 0 &&\n _vm.research[0].details &&\n _vm.research[0].details.length > 0\n ? _c(\n \"div\",\n [\n _c(\"accordion-research\", {\n attrs: {\n id: \"accordion-research\",\n content: _vm.research,\n dataItem: _vm.dataItem,\n },\n }),\n ],\n 1\n )\n : _vm._e(),\n _vm.foreign.length > 0 &&\n _vm.foreign[0].details &&\n _vm.foreign[0].details.length > 0\n ? _c(\n \"div\",\n [\n _c(\"accordion-foreign\", {\n attrs: {\n id: \"accordion-foreign\",\n content: _vm.foreign,\n dataItem: _vm.dataItem,\n },\n }),\n ],\n 1\n )\n : _vm._e(),\n _vm.algoServer.length > 0 &&\n _vm.algoServer[0].details &&\n _vm.algoServer[0].details.length > 0\n ? _c(\n \"div\",\n [\n _c(\"accordion-algo-server\", {\n attrs: {\n id: \"accordion-algo-server\",\n content: _vm.algoServer,\n dataItem: _vm.dataItem,\n },\n }),\n ],\n 1\n )\n : _vm._e(),\n ]),\n ]),\n ]),\n _c(\n \"div\",\n { staticClass: \"package-settings__bottom m-flex m-items-center\" },\n [\n _c(\"div\", { staticClass: \"package-settings__bottom-right\" }, [\n _c(\"p\", [\n _c(\"span\", { staticClass: \"m-text-grayscale-80\" }, [\n _vm._v(\"BES/Yatırım Fonu:\"),\n ]),\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n _vm.bottomFund +\n _vm.researchFund +\n _vm.foreignFund +\n _vm.algoServerFund\n )\n ) +\n \" TL \"\n ),\n ]),\n _c(\"p\", [\n _c(\"span\", { staticClass: \"m-text-grayscale-80\" }, [\n _vm._v(\"Komisyon:\"),\n ]),\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n _vm.bottomCommission +\n _vm.researchCommission +\n _vm.foreignCommission +\n _vm.algoServerCommission\n )\n ) +\n \" TL \"\n ),\n ]),\n ]),\n _c(\"div\", { staticClass: \"package-settings__bottom-left\" }, [\n _c(\"div\", { staticClass: \"package-settings__price m-flex\" }, [\n _c(\"span\", [_vm._v(\"Toplam Tutar:\")]),\n _c(\"h2\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n _vm.totalPrice +\n _vm.researchTotal +\n _vm.algoServerTotal +\n _vm.foraignTurkishLiraTotal\n )\n ) +\n \" TL \"\n ),\n ]),\n _vm.foreign.length > 0 &&\n _vm.foreign[0].details &&\n _vm.foreign[0].details.length > 0\n ? _c(\"h2\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.foraignDollarTotal > 0\n ? \"+ \" +\n _vm.formatPriceDollar(_vm.foraignDollarTotal) +\n \" Dolar\"\n : \"\"\n ) +\n \" \" +\n _vm._s(\n _vm.foraignEuroTotal > 0\n ? \"+ \" +\n _vm.formatPriceEuro(_vm.foraignEuroTotal) +\n \" Euro\"\n : \"\"\n ) +\n \" \"\n ),\n ])\n : _vm._e(),\n ]),\n _c(\n \"div\",\n {\n staticClass:\n \"package-settings__bottom-action m-flex m-items-center\",\n },\n [\n _c(\n \"base-button\",\n {\n class: { \"button-disabled\": _vm.isButtonClicked },\n attrs: { id: \"edit-submit-btn\" },\n on: { click: _vm.submitShow },\n },\n [_vm._v(\"Onayla\")]\n ),\n ],\n 1\n ),\n ]),\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"info-container\" },\n [\n _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[0], typeWarning: true },\n }),\n ],\n 1\n ),\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/customer/PackageSettigns.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2211f6ad0e-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");
|
|
2295
|
+
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 \"popup-right\",\n {\n attrs: { title: \"Paket Ayarları\", isPopupVisible: _vm.isPopupVisible },\n on: { close: _vm.setDefaultValues },\n },\n [\n _c(\"div\", { staticClass: \"package-settings\" }, [\n _c(\n \"div\",\n { staticClass: \"package-settings__top m-flex m-items-center\" },\n [\n _c(\n \"div\",\n { staticClass: \"package-settings__image\" },\n [\n _vm.dataItem && _vm.dataItem.imageUrl\n ? _c(\"img\", {\n attrs: {\n alt: \"product image\",\n src: _vm.dataItem.imageUrl,\n },\n })\n : _c(\"base-icon\", { attrs: { name: \"no-image\" } }),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"package-settings__info\" }, [\n _vm.dataItem.productName\n ? _c(\"h3\", [_vm._v(_vm._s(_vm.dataItem.productName))])\n : _vm._e(),\n _c(\"p\", { staticClass: \"package-settings__info-platform\" }, [\n _vm.dataItem.platform && _vm.dataItem.platform.name\n ? _c(\"span\", [\n _vm._v(\" \" + _vm._s(_vm.dataItem.platform.name) + \" \"),\n ])\n : _vm._e(),\n ]),\n ]),\n ]\n ),\n _vm.dataItem.dateSelection == 1 &&\n _vm.startDateSelection == 0 &&\n this.$route.name !== \"Checkout\"\n ? _c(\"span\", { staticClass: \"warning-messages\" }, [\n _c(\"span\", { staticClass: \"error-icon\" }, [_vm._v(\"!\")]),\n _vm._v(\n \" Paketinizi tüm lisanslarıyla birlikte bugün başlayacak şekilde güncelliyorsunuz! \"\n ),\n ])\n : _vm._e(),\n _c(\"div\", { staticClass: \"package-settings__lisans\" }, [\n _c(\"div\", { staticClass: \"package-settings__lisans__information\" }, [\n _c(\"h5\", { attrs: { id: \"lisans\" } }, [_vm._v(\"Lisans Bilgileri\")]),\n _c(\"div\", { staticClass: \"market-table\" }, [\n _vm.marketInfo\n ? _c(\n \"table\",\n {\n staticClass: \"table\",\n attrs: { \"aria-describedby\": \"lisans\" },\n },\n [\n _c(\"thead\", [\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\n \"th\",\n {\n staticClass: \"text-left\",\n attrs: { scope: \"col\" },\n },\n [_vm._v(\"Piyasa\")]\n ),\n _c(\n \"th\",\n {\n staticClass: \"text-left\",\n attrs: { scope: \"col\" },\n },\n [_vm._v(\"Derinlik\")]\n ),\n _c(\n \"th\",\n {\n staticClass: \"text-left\",\n attrs: { scope: \"col\" },\n },\n [_vm._v(\"Aracı Kurum Dağılımı\")]\n ),\n _c(\n \"th\",\n {\n staticClass: \"text-left\",\n attrs: { scope: \"col\" },\n },\n [_vm._v(\"Başlangıç Zamanı\")]\n ),\n ]),\n ]),\n !_vm.isResponsive\n ? _c(\n \"tbody\",\n _vm._l(_vm.marketInfo, function (item) {\n return _c(\"package-setting-type\", {\n key: item.id,\n attrs: {\n item: item,\n dataItem: _vm.dataItem,\n selectData: _vm.selectData,\n isResponsive: false,\n },\n on: {\n update: _vm.changeSelected,\n showSpesificWarning: _vm.checkSpesificWarning,\n },\n })\n }),\n 1\n )\n : _vm._e(),\n ]\n )\n : _vm._e(),\n ]),\n _vm.isResponsive\n ? _c(\n \"div\",\n { staticClass: \"market-table-responsive\" },\n _vm._l(_vm.marketInfo, function (item) {\n return _c(\"package-setting-type\", {\n key: item.id,\n attrs: {\n item: item,\n dataItem: _vm.dataItem,\n selectData: _vm.selectData,\n isResponsive: true,\n },\n on: {\n update: _vm.changeSelected,\n showSpesificWarning: _vm.checkSpesificWarning,\n },\n })\n }),\n 1\n )\n : _vm._e(),\n _vm.warningMessage\n ? _c(\"div\", { staticClass: \"m-flex m-items-center mb-10\" }, [\n _c(\n \"span\",\n { staticClass: \"icon-area\" },\n [\n _c(\"base-icon\", {\n staticClass: \"icon\",\n attrs: { name: \"info\" },\n }),\n ],\n 1\n ),\n _vm._v(\n \" Karma Lisans paketinde derinlik bilgisi bulunmamaktadır \"\n ),\n ])\n : _vm._e(),\n ]),\n _c(\"div\", { staticClass: \"accordion-container\" }, [\n _vm.research.length > 0 &&\n _vm.research[0].details &&\n _vm.research[0].details.length > 0\n ? _c(\n \"div\",\n [\n _c(\"accordion-research\", {\n attrs: {\n id: \"accordion-research\",\n content: _vm.research,\n dataItem: _vm.dataItem,\n },\n }),\n ],\n 1\n )\n : _vm._e(),\n _vm.foreign.length > 0 &&\n _vm.foreign[0].details &&\n _vm.foreign[0].details.length > 0\n ? _c(\n \"div\",\n [\n _c(\"accordion-foreign\", {\n attrs: {\n id: \"accordion-foreign\",\n content: _vm.foreign,\n dataItem: _vm.dataItem,\n },\n }),\n ],\n 1\n )\n : _vm._e(),\n _vm.algoServer.length > 0 &&\n _vm.algoServer[0].details &&\n _vm.algoServer[0].details.length > 0\n ? _c(\n \"div\",\n [\n _c(\"accordion-algo-server\", {\n attrs: {\n id: \"accordion-algo-server\",\n content: _vm.algoServer,\n dataItem: _vm.dataItem,\n },\n }),\n ],\n 1\n )\n : _vm._e(),\n ]),\n ]),\n ]),\n _c(\n \"div\",\n { staticClass: \"package-settings__bottom m-flex m-items-center\" },\n [\n _c(\"div\", { staticClass: \"package-settings__bottom-right\" }, [\n _c(\"p\", [\n _c(\"span\", { staticClass: \"m-text-grayscale-80\" }, [\n _vm._v(\"BES/Yatırım Fonu:\"),\n ]),\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n _vm.bottomFund +\n _vm.researchFund +\n _vm.foreignFund +\n _vm.algoServerFund\n )\n ) +\n \" TL \"\n ),\n ]),\n _c(\"p\", [\n _c(\"span\", { staticClass: \"m-text-grayscale-80\" }, [\n _vm._v(\"Komisyon:\"),\n ]),\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n _vm.bottomCommission +\n _vm.researchCommission +\n _vm.foreignCommission +\n _vm.algoServerCommission\n )\n ) +\n \" TL \"\n ),\n ]),\n ]),\n _c(\"div\", { staticClass: \"package-settings__bottom-left\" }, [\n _c(\"div\", { staticClass: \"package-settings__price m-flex\" }, [\n _c(\"span\", [_vm._v(\"Toplam Tutar:\")]),\n _c(\"h2\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n _vm.totalPrice +\n _vm.researchTotal +\n _vm.algoServerTotal +\n _vm.foraignTurkishLiraTotal\n )\n ) +\n \" TL \"\n ),\n ]),\n _vm.foreign.length > 0 &&\n _vm.foreign[0].details &&\n _vm.foreign[0].details.length > 0\n ? _c(\"h2\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.foraignDollarTotal > 0\n ? \"+ \" +\n _vm.formatPriceDollar(_vm.foraignDollarTotal) +\n \" Dolar\"\n : \"\"\n ) +\n \" \" +\n _vm._s(\n _vm.foraignEuroTotal > 0\n ? \"+ \" +\n _vm.formatPriceEuro(_vm.foraignEuroTotal) +\n \" Euro\"\n : \"\"\n ) +\n \" \"\n ),\n ])\n : _vm._e(),\n ]),\n _c(\n \"div\",\n {\n staticClass:\n \"package-settings__bottom-action m-flex m-items-center\",\n },\n [\n _c(\n \"base-button\",\n {\n class: { \"button-disabled\": _vm.isButtonClicked },\n attrs: { id: \"edit-submit-btn\" },\n on: { click: _vm.submitShow },\n },\n [_vm._v(\"Onayla\")]\n ),\n ],\n 1\n ),\n ]),\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"info-container\" },\n [\n _c(\"info-area\", {\n attrs: { infoText: _vm.infoText, typeWarning: true },\n }),\n ],\n 1\n ),\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/customer/PackageSettigns.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2211f6ad0e-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");
|
|
2296
2296
|
|
|
2297
2297
|
/***/ }),
|
|
2298
2298
|
|
|
@@ -3584,7 +3584,7 @@ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../.
|
|
|
3584
3584
|
/*! no static exports found */
|
|
3585
3585
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3586
3586
|
|
|
3587
|
-
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, \".osm-vd .form-group .veri-dagitim-selectbox.v-select.smallFonts {\\n font-size: 12px !important;\\n width: 100%;\\n border-radius: 3px;\\n border: 1px solid var(--strokes-grayscale-gray-30, #d0d0d1);\\n background: var(--colors-grayscale-white, #fff);\\n padding: 12px 10px;\\n}\\n@media (max-width: 400px) {\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select.smallFonts {\\n width: auto;\\n}\\n}\\n@media (min-width: 400px) {\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select.smallFonts .vs__actions {\\n right: 60px;\\n}\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select.error {\\n border-color: red !important;\\n border-radius: var(--radius-first);\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select.error .vs__dropdown-toggle svg {\\n fill: var(--red);\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select.vs--open {\\n border-color: var(--green);\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select.vs--open .vs__selected {\\n position: static;\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__dropdown-toggle {\\n padding: 0.625rem 0.25rem 0.625rem 0.6rem;\\n border: 1px solid #d4d4d7;\\n min-width: 200px;\\n background: var(--grayscale-0);\\n}\\n@media (max-width: 768px) {\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__dropdown-toggle {\\n min-width: auto;\\n}\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__dropdown-toggle svg {\\n fill: #474747;\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__search, .osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__selected
|
|
3587
|
+
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, \".osm-vd .form-group .veri-dagitim-selectbox.v-select.smallFonts {\\n font-size: 12px !important;\\n width: 100%;\\n border-radius: 3px;\\n border: 1px solid var(--strokes-grayscale-gray-30, #d0d0d1);\\n background: var(--colors-grayscale-white, #fff);\\n padding: 12px 10px;\\n}\\n@media (max-width: 400px) {\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select.smallFonts {\\n width: auto;\\n}\\n}\\n@media (min-width: 400px) {\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select.smallFonts .vs__actions {\\n right: 60px;\\n}\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select.error {\\n border-color: red !important;\\n border-radius: var(--radius-first);\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select.error .vs__dropdown-toggle svg {\\n fill: var(--red);\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select.vs--open {\\n border-color: var(--green);\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select.vs--open .vs__selected {\\n position: static;\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__dropdown-toggle {\\n padding: 0.625rem 0.25rem 0.625rem 0.6rem;\\n border: 1px solid #d4d4d7;\\n min-width: 200px;\\n background: var(--grayscale-0);\\n}\\n@media (max-width: 768px) {\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__dropdown-toggle {\\n min-width: auto;\\n}\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__dropdown-toggle svg {\\n fill: #474747;\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__search, .osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__selected, .osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__dropdown-menu {\\n min-width: inherit;\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__search li, .osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__selected li, .osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__dropdown-menu li {\\n font-size: 14px;\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__selected {\\n color: #000;\\n}\\n.osm-vd .form-group .veri-dagitim-selectbox.v-select .vs__dropdown-option--highlight {\\n background: #000;\\n color: #fff !important;\\n}\\n.osm-vd .form-group .vs--disabled .vs__dropdown-toggle,\\n.osm-vd .form-group .vs--disabled .vs__search,\\n.osm-vd .form-group .vs--disabled .vs__clear,\\n.osm-vd .form-group .vs--disabled .vs__open-indicator {\\n background: #e9ecef !important;\\n}\\n.osm-vd .form-group .select-error {\\n display: block;\\n color: var(--red);\\n width: 100%;\\n margin-top: 0.25rem;\\n font-size: 80%;\\n}\\n.osm-vd .form-group .readonly .vs__actions {\\n display: none;\\n}\\n.osm-vd .form-group #paymentStatus .vs__search {\\n display: none;\\n}\\n.osm-vd .form-group #paymentStatus .vs__selected-options {\\n flex-basis: auto;\\n flex-grow: 0;\\n}\\n.osm-vd .form-group #paymentStatus .vs__actions {\\n position: relative;\\n right: 0px;\\n}\\n.osm-vd .form-group [data-popper-placement=\\\"top\\\"] {\\n border-radius: 4px 4px 0 0;\\n border-top-style: solid;\\n border-bottom-style: none;\\n box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.15);\\n margin-bottom: -7px !important;\\n}\\n.osm-vd .form-group .option .veri-dagitim-selectbox.v-select .vs__actions {\\n z-index: 1 !important;\\n}\\n.osm-vd .vs__dropdown-option {\\n white-space: normal !important;\\n font-size: 14px !important;\\n}\\n.vs__dropdown-menu {\\n min-width: -webkit-max-content !important;\\n min-width: -moz-max-content !important;\\n min-width: max-content !important;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/base/SelectInput.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");
|
|
3588
3588
|
|
|
3589
3589
|
/***/ }),
|
|
3590
3590
|
|
|
@@ -3771,7 +3771,7 @@ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../.
|
|
|
3771
3771
|
/*! no static exports found */
|
|
3772
3772
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3773
3773
|
|
|
3774
|
-
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, \".osm-vd .veri-dagitim-selectbox.v-select[data-v-8ab7184c] {\\n overflow-y: scroll;\\n}\\n.osm-vd .m-flex[data-v-8ab7184c] {\\n display: flex;\\n}\\n.osm-vd .m-items-center[data-v-8ab7184c] {\\n align-items: center;\\n}\\n.osm-vd .mb-10[data-v-8ab7184c] {\\n margin-bottom: 10px;\\n}\\n.osm-vd .text-center[data-v-8ab7184c] {\\n text-align: center;\\n}\\n.osm-vd .warning-messages[data-v-8ab7184c] {\\n background-color: #fff3cd;\\n min-height: 40px;\\n display: flex;\\n align-items: center;\\n padding: 10px;\\n border-radius: 10px;\\n box-shadow: 0px 0px 3px #000;\\n margin-bottom: 20px;\\n max-width: 80%;\\n margin-left: 5px;\\n}\\n@media (max-width: 585px) {\\n.osm-vd .warning-messages[data-v-8ab7184c] {\\n display: block;\\n text-align: center;\\n}\\n}\\n.osm-vd .warning-messages .error-icon[data-v-8ab7184c] {\\n border-radius: 100%;\\n border: 1px solid #000;\\n color: #000;\\n font-weight: bold;\\n width: 30px;\\n display: inline-flex;\\n justify-content: center;\\n height: 30px;\\n align-items: center;\\n font-size: 24px !important;\\n margin-right: 10px;\\n}\\n@media (max-width: 585px) {\\n.osm-vd .warning-messages .error-icon[data-v-8ab7184c] {\\n display: block;\\n margin: 0 auto;\\n}\\n}\\n.osm-vd .package-settings[data-v-8ab7184c] {\\n overflow: auto;\\n}\\n@media (min-width: 640px) {\\n.osm-vd .package-settings[data-v-8ab7184c] {\\n height: calc(100vh - 250px);\\n}\\n}\\n.osm-vd .package-settings__info h3[data-v-8ab7184c] {\\n font-size: 16px;\\n font-weight: 600;\\n}\\n.osm-vd .package-settings__info span[data-v-8ab7184c] {\\n font-size: 14px;\\n}\\n.osm-vd .package-settings__info-platform[data-v-8ab7184c] {\\n font-size: 16px;\\n}\\n.osm-vd .package-settings__info_price[data-v-8ab7184c] {\\n font-size: 29px;\\n font-weight: bold;\\n margin-top: 12px;\\n}\\n.osm-vd .package-settings__info_bes[data-v-8ab7184c],\\n .osm-vd .package-settings__info_bes span[data-v-8ab7184c] {\\n font-size: 14px;\\n}\\n.osm-vd .package-settings__image img[data-v-8ab7184c] {\\n margin-right: 20px;\\n width: 80px;\\n -o-object-fit: contain;\\n object-fit: contain;\\n}\\n.osm-vd .package-settings__top[data-v-8ab7184c] {\\n margin-bottom: 30px;\\n gap: 10px;\\n}\\n.osm-vd .package-settings__lisans[data-v-8ab7184c] {\\n overflow-y: auto;\\n}\\n.osm-vd .package-settings__lisans__information[data-v-8ab7184c] {\\n padding: 20px;\\n background: var(--grayscale-0);\\n margin-bottom: 20px;\\n}\\n.osm-vd .package-settings__lisans__information h5[data-v-8ab7184c] {\\n font-size: 14px;\\n font-weight: 600;\\n}\\n.osm-vd .package-settings__lisans__information .table[data-v-8ab7184c] {\\n margin-bottom: 0px !important;\\n}\\n@media (max-width: 898px) {\\n.osm-vd .package-settings__lisans[data-v-8ab7184c] {\\n overflow: auto;\\n}\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] {\\n border-collapse: collapse;\\n text-indent: 0;\\n min-width: 100%;\\n border-radius: var(--radius-second) !important;\\n overflow: auto;\\n border: solid 1px var(--color-primary-tint-second);\\n background-color: #fff;\\n margin: 20px 0px;\\n overflow-y: visible !important;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th {\\n background: var(--grayscale-160);\\n height: 40px;\\n font-weight: 600;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td {\\n font-size: 12px;\\n vertical-align: middle;\\n border-top: 1px solid #e8e8e8;\\n border-bottom: 1px solid #e8e8e8;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select {\\n border: 1px solid transparent;\\n width: 100%;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle {\\n padding: 0px;\\n border: 0px !important;\\n position: relative;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle:focus-visible,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle:focus-visible {\\n outline: none !important;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select .vs__selected,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select .vs__selected {\\n padding: 0;\\n margin: 0;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select .vs__selected-options,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select .vs__selected-options {\\n padding: 0px !important;\\n position: relative;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select .vs__clear,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select .vs__clear {\\n display: none !important;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select .vs__actions,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select .vs__actions {\\n padding: 0px;\\n cursor: pointer !important;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select__search, .osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select__search:focus,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select__search,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select__search:focus {\\n border: none !important;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .editing-view-port,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .editing-view-port {\\n display: none !important;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody tr:nth-child(2n) {\\n background: var(--color-primary-zebra);\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody tr td {\\n height: 64px;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody tr td:nth-child(3), .osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody tr td:nth-child(4) {\\n min-width: 252px;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody tr td:first-child {\\n width: 38px;\\n padding: 0px;\\n padding-right: 6px;\\n text-align: right;\\n border-left: 1px solid #e8e8e8;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody td:last-child {\\n width: 150px;\\n padding-right: 20px;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody td:last-child .veri-dagitim-selectbox.v-select .vs__dropdown-toggle {\\n min-width: auto;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody td:last-child .veri-dagitim-selectbox.v-select .vs__search {\\n display: none;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody tr td:nth-child(2) {\\n min-width: 120px;\\n padding: 18px 0px;\\n}\\n.osm-vd .package-settings__lisans .info-option[data-v-8ab7184c] {\\n display: flex;\\n align-items: center;\\n justify-content: left;\\n}\\n.osm-vd .package-settings__lisans .info-option svg[data-v-8ab7184c] {\\n cursor: pointer;\\n}\\n.osm-vd .package-settings__lisans .accordion-container[data-v-8ab7184c] {\\n width: 100%;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom-right[data-v-8ab7184c] {\\n text-align: center;\\n}\\n}\\n.osm-vd .package-settings__bottom[data-v-8ab7184c] {\\n width: 100%;\\n padding: 20px 0px 8px 0px;\\n border-top: 1px solid var(--grayscale-30);\\n justify-content: space-between;\\n background-color: var(--grayscale-10);\\n}\\n.osm-vd .package-settings__bottom-left[data-v-8ab7184c] {\\n display: flex;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom[data-v-8ab7184c] {\\n position: relative;\\n flex-flow: column;\\n}\\n}\\n.osm-vd .package-settings__bottom[data-v-8ab7184c] .form-group {\\n position: relative;\\n margin-right: 16px;\\n width: 100%;\\n}\\n.osm-vd .package-settings__bottom[data-v-8ab7184c] .form-control-label {\\n font-size: 12px;\\n color: var(--grayscale-70);\\n position: absolute;\\n padding: 0 7px;\\n margin-left: 10px;\\n z-index: 2;\\n top: -5px;\\n}\\n.osm-vd .package-settings__bottom-right[data-v-8ab7184c] {\\n line-height: 24px;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom-right[data-v-8ab7184c] {\\n text-align: center;\\n margin-bottom: 10px;\\n}\\n}\\n.osm-vd .package-settings__bottom-right[data-v-8ab7184c] p,\\n .osm-vd .package-settings__bottom-right[data-v-8ab7184c] span {\\n font-size: 14px;\\n font-weight: 600;\\n color: var(--grayscale-120);\\n}\\n.osm-vd .package-settings__bottom-right[data-v-8ab7184c] p {\\n color: var(--color-primary-black-metallic);\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom-left[data-v-8ab7184c] {\\n width: 100%;\\n flex-direction: column;\\n}\\n}\\n.osm-vd .package-settings__bottom-action[data-v-8ab7184c] {\\n width: 216px;\\n margin-left: 40px;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom-action[data-v-8ab7184c] {\\n width: 96%;\\n align-items: inherit;\\n flex-flow: column;\\n margin-left: auto;\\n}\\n.osm-vd .package-settings__bottom-action .start-date-select[data-v-8ab7184c] {\\n width: 100%;\\n margin-bottom: 10px;\\n}\\n}\\n.osm-vd .package-settings__price[data-v-8ab7184c] {\\n align-items: center;\\n justify-content: center;\\n font-weight: 600;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__price[data-v-8ab7184c] {\\n align-items: center;\\n justify-content: center;\\n margin-bottom: 15px;\\n}\\n}\\n.osm-vd .package-settings__price span[data-v-8ab7184c] {\\n font-size: 14px;\\n color: var(--grayscale-120);\\n}\\n.osm-vd .package-settings__price h2[data-v-8ab7184c] {\\n font-size: 14px;\\n color: var(--color-primary-black-metallic);\\n margin-left: 5px;\\n}\\n.osm-vd .package-settings .up svg[data-v-8ab7184c] {\\n color: #28a745;\\n}\\n.osm-vd .package-settings .down svg[data-v-8ab7184c] {\\n color: #dc3545;\\n}\\n.osm-vd .package-settings .warning-area[data-v-8ab7184c] {\\n margin-bottom: 2em;\\n}\\n.osm-vd .package-settings .warning-area .row-area[data-v-8ab7184c] {\\n border: 1px solid var(--grayscale-30);\\n border-radius: var(--radius-second);\\n margin-top: 1em;\\n}\\n.osm-vd .package-settings .warning-area .row-area .row[data-v-8ab7184c] {\\n padding: 15px;\\n display: flex;\\n align-items: center;\\n}\\n.osm-vd .package-settings .warning-area .row-area .row .icon-area[data-v-8ab7184c] {\\n margin-right: 10px;\\n}\\n.osm-vd .package-settings .warning-area .row-area .row[data-v-8ab7184c]:nth-child(odd) {\\n background-color: var(--grayscale-0);\\n}\\n.osm-vd .package-settings .terminal-area[data-v-8ab7184c] {\\n padding: 20px 0;\\n margin-bottom: 1em;\\n}\\n.osm-vd .package-settings .terminal-area .text[data-v-8ab7184c] {\\n margin-bottom: 1em;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .info-container[data-v-8ab7184c] {\\n position: relative;\\n margin-top: 20px;\\n}\\n}\\n.osm-vd .market-table[data-v-8ab7184c] {\\n width: 100%;\\n display: block;\\n}\\n.osm-vd .market-table[data-v-8ab7184c] td:nth-child(3),\\n .osm-vd .market-table[data-v-8ab7184c] td:nth-child(4) {\\n min-width: 190px !important;\\n}\\n.osm-vd .market-table-responsive[data-v-8ab7184c] {\\n width: 100%;\\n display: none;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .info-container[data-v-8ab7184c] {\\n position: relative;\\n margin-top: 20px;\\n}\\n.osm-vd .market-table[data-v-8ab7184c] {\\n display: none;\\n}\\n.osm-vd .market-table-responsive[data-v-8ab7184c] {\\n display: block;\\n}\\n}\\n@media (max-width: 389px) {\\n.osm-vd .info-container[data-v-8ab7184c] {\\n margin-top: 40px;\\n}\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/customer/PackageSettigns.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");
|
|
3774
|
+
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, \".osm-vd .veri-dagitim-selectbox.v-select[data-v-8ab7184c] {\\n overflow-y: scroll;\\n}\\n.osm-vd .m-flex[data-v-8ab7184c] {\\n display: flex;\\n}\\n.osm-vd .m-items-center[data-v-8ab7184c] {\\n align-items: center;\\n}\\n.osm-vd .mb-10[data-v-8ab7184c] {\\n margin-bottom: 10px;\\n}\\n.osm-vd .text-center[data-v-8ab7184c] {\\n text-align: center;\\n}\\n.osm-vd .warning-messages[data-v-8ab7184c] {\\n background-color: #fff3cd;\\n min-height: 40px;\\n display: flex;\\n align-items: center;\\n padding: 10px;\\n border-radius: 10px;\\n box-shadow: 0px 0px 3px #000;\\n margin-bottom: 20px;\\n max-width: 80%;\\n margin-left: 5px;\\n}\\n@media (max-width: 585px) {\\n.osm-vd .warning-messages[data-v-8ab7184c] {\\n display: block;\\n text-align: center;\\n}\\n}\\n.osm-vd .warning-messages .error-icon[data-v-8ab7184c] {\\n border-radius: 100%;\\n border: 1px solid #000;\\n color: #000;\\n font-weight: bold;\\n width: 30px;\\n display: inline-flex;\\n justify-content: center;\\n height: 30px;\\n align-items: center;\\n font-size: 24px !important;\\n margin-right: 10px;\\n}\\n@media (max-width: 585px) {\\n.osm-vd .warning-messages .error-icon[data-v-8ab7184c] {\\n display: block;\\n margin: 0 auto;\\n}\\n}\\n.osm-vd .package-settings[data-v-8ab7184c] {\\n overflow: auto;\\n}\\n@media (min-width: 640px) {\\n.osm-vd .package-settings[data-v-8ab7184c] {\\n height: calc(100vh - 250px);\\n}\\n}\\n.osm-vd .package-settings__info h3[data-v-8ab7184c] {\\n font-size: 16px;\\n font-weight: 600;\\n}\\n.osm-vd .package-settings__info span[data-v-8ab7184c] {\\n font-size: 14px;\\n}\\n.osm-vd .package-settings__info-platform[data-v-8ab7184c] {\\n font-size: 16px;\\n}\\n.osm-vd .package-settings__info_price[data-v-8ab7184c] {\\n font-size: 29px;\\n font-weight: bold;\\n margin-top: 12px;\\n}\\n.osm-vd .package-settings__info_bes[data-v-8ab7184c],\\n .osm-vd .package-settings__info_bes span[data-v-8ab7184c] {\\n font-size: 14px;\\n}\\n.osm-vd .package-settings__image img[data-v-8ab7184c] {\\n margin-right: 20px;\\n width: 80px;\\n -o-object-fit: contain;\\n object-fit: contain;\\n}\\n.osm-vd .package-settings__top[data-v-8ab7184c] {\\n margin-bottom: 30px;\\n gap: 10px;\\n}\\n.osm-vd .package-settings__lisans[data-v-8ab7184c] {\\n overflow-y: auto;\\n}\\n.osm-vd .package-settings__lisans__information[data-v-8ab7184c] {\\n padding: 20px;\\n background: var(--grayscale-0);\\n margin-bottom: 20px;\\n}\\n.osm-vd .package-settings__lisans__information h5[data-v-8ab7184c] {\\n font-size: 14px;\\n font-weight: 600;\\n}\\n.osm-vd .package-settings__lisans__information .table[data-v-8ab7184c] {\\n margin-bottom: 0px !important;\\n}\\n@media (max-width: 898px) {\\n.osm-vd .package-settings__lisans[data-v-8ab7184c] {\\n overflow: auto;\\n}\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] {\\n border-collapse: collapse;\\n text-indent: 0;\\n min-width: 100%;\\n border-radius: var(--radius-second) !important;\\n overflow: auto;\\n border: solid 1px var(--color-primary-tint-second);\\n background-color: #fff;\\n margin: 20px 0px;\\n overflow-y: visible !important;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th {\\n background: var(--grayscale-160);\\n height: 40px;\\n font-weight: 600;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td {\\n font-size: 12px;\\n vertical-align: middle;\\n border-top: 1px solid #e8e8e8;\\n border-bottom: 1px solid #e8e8e8;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select {\\n border: 1px solid transparent;\\n width: 100%;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle {\\n padding: 0px;\\n border: 0px !important;\\n position: relative;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle:focus-visible,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle:focus-visible {\\n outline: none !important;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select .vs__selected,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select .vs__selected {\\n padding: 0;\\n margin: 0;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select .vs__selected-options,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select .vs__selected-options {\\n padding: 0px !important;\\n position: relative;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select .vs__clear,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select .vs__clear {\\n display: none !important;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select .vs__actions,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select .vs__actions {\\n padding: 0px;\\n cursor: pointer !important;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select__search, .osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .veri-dagitim-selectbox.v-select__search:focus,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select__search,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .veri-dagitim-selectbox.v-select__search:focus {\\n border: none !important;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] th .option .editing-view-port,\\n .osm-vd .package-settings__lisans .table[data-v-8ab7184c] td .option .editing-view-port {\\n display: none !important;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody tr:nth-child(2n) {\\n background: var(--color-primary-zebra);\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody tr td {\\n height: 64px;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody tr td:nth-child(3), .osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody tr td:nth-child(4) {\\n min-width: 252px;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody tr td:first-child {\\n width: 38px;\\n padding: 0px;\\n padding-right: 6px;\\n text-align: right;\\n border-left: 1px solid #e8e8e8;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody td:last-child {\\n width: 150px;\\n padding-right: 20px;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody td:last-child .veri-dagitim-selectbox.v-select .vs__dropdown-toggle {\\n min-width: auto;\\n}\\n.osm-vd .package-settings__lisans .table[data-v-8ab7184c] tbody td:last-child .veri-dagitim-selectbox.v-select .vs__search {\\n display: none;\\n}\\n.osm-vd .package-settings__lisans .info-option[data-v-8ab7184c] {\\n display: flex;\\n align-items: center;\\n justify-content: left;\\n}\\n.osm-vd .package-settings__lisans .info-option svg[data-v-8ab7184c] {\\n cursor: pointer;\\n}\\n.osm-vd .package-settings__lisans .accordion-container[data-v-8ab7184c] {\\n width: 100%;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom-right[data-v-8ab7184c] {\\n text-align: center;\\n}\\n}\\n.osm-vd .package-settings__bottom[data-v-8ab7184c] {\\n width: 100%;\\n padding: 20px 0px 8px 0px;\\n border-top: 1px solid var(--grayscale-30);\\n justify-content: space-between;\\n background-color: var(--grayscale-10);\\n}\\n.osm-vd .package-settings__bottom-left[data-v-8ab7184c] {\\n display: flex;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom[data-v-8ab7184c] {\\n position: relative;\\n flex-flow: column;\\n}\\n}\\n.osm-vd .package-settings__bottom[data-v-8ab7184c] .form-group {\\n position: relative;\\n margin-right: 16px;\\n width: 100%;\\n}\\n.osm-vd .package-settings__bottom[data-v-8ab7184c] .form-control-label {\\n font-size: 12px;\\n color: var(--grayscale-70);\\n position: absolute;\\n padding: 0 7px;\\n margin-left: 10px;\\n z-index: 2;\\n top: -5px;\\n}\\n.osm-vd .package-settings__bottom-right[data-v-8ab7184c] {\\n line-height: 24px;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom-right[data-v-8ab7184c] {\\n text-align: center;\\n margin-bottom: 10px;\\n}\\n}\\n.osm-vd .package-settings__bottom-right[data-v-8ab7184c] p,\\n .osm-vd .package-settings__bottom-right[data-v-8ab7184c] span {\\n font-size: 14px;\\n font-weight: 600;\\n color: var(--grayscale-120);\\n}\\n.osm-vd .package-settings__bottom-right[data-v-8ab7184c] p {\\n color: var(--color-primary-black-metallic);\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom-left[data-v-8ab7184c] {\\n width: 100%;\\n flex-direction: column;\\n}\\n}\\n.osm-vd .package-settings__bottom-action[data-v-8ab7184c] {\\n width: 216px;\\n margin-left: 40px;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom-action[data-v-8ab7184c] {\\n width: 96%;\\n align-items: inherit;\\n flex-flow: column;\\n margin-left: auto;\\n}\\n.osm-vd .package-settings__bottom-action .start-date-select[data-v-8ab7184c] {\\n width: 100%;\\n margin-bottom: 10px;\\n}\\n}\\n.osm-vd .package-settings__price[data-v-8ab7184c] {\\n align-items: center;\\n justify-content: center;\\n font-weight: 600;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__price[data-v-8ab7184c] {\\n align-items: center;\\n justify-content: center;\\n margin-bottom: 15px;\\n}\\n}\\n.osm-vd .package-settings__price span[data-v-8ab7184c] {\\n font-size: 14px;\\n color: var(--grayscale-120);\\n}\\n.osm-vd .package-settings__price h2[data-v-8ab7184c] {\\n font-size: 14px;\\n color: var(--color-primary-black-metallic);\\n margin-left: 5px;\\n}\\n.osm-vd .package-settings .up svg[data-v-8ab7184c] {\\n color: #28a745;\\n}\\n.osm-vd .package-settings .down svg[data-v-8ab7184c] {\\n color: #dc3545;\\n}\\n.osm-vd .package-settings .warning-area[data-v-8ab7184c] {\\n margin-bottom: 2em;\\n}\\n.osm-vd .package-settings .warning-area .row-area[data-v-8ab7184c] {\\n border: 1px solid var(--grayscale-30);\\n border-radius: var(--radius-second);\\n margin-top: 1em;\\n}\\n.osm-vd .package-settings .warning-area .row-area .row[data-v-8ab7184c] {\\n padding: 15px;\\n display: flex;\\n align-items: center;\\n}\\n.osm-vd .package-settings .warning-area .row-area .row .icon-area[data-v-8ab7184c] {\\n margin-right: 10px;\\n}\\n.osm-vd .package-settings .warning-area .row-area .row[data-v-8ab7184c]:nth-child(odd) {\\n background-color: var(--grayscale-0);\\n}\\n.osm-vd .package-settings .terminal-area[data-v-8ab7184c] {\\n padding: 20px 0;\\n margin-bottom: 1em;\\n}\\n.osm-vd .package-settings .terminal-area .text[data-v-8ab7184c] {\\n margin-bottom: 1em;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .info-container[data-v-8ab7184c] {\\n position: relative;\\n margin-top: 20px;\\n}\\n}\\n.osm-vd .market-table[data-v-8ab7184c] {\\n width: 100%;\\n display: block;\\n}\\n.osm-vd .market-table-responsive[data-v-8ab7184c] {\\n width: 100%;\\n display: none;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .info-container[data-v-8ab7184c] {\\n position: relative;\\n margin-top: 20px;\\n}\\n.osm-vd .market-table[data-v-8ab7184c] {\\n display: none;\\n}\\n.osm-vd .market-table-responsive[data-v-8ab7184c] {\\n display: block;\\n}\\n}\\n@media (max-width: 389px) {\\n.osm-vd .info-container[data-v-8ab7184c] {\\n margin-top: 40px;\\n}\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/customer/PackageSettigns.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");
|
|
3775
3775
|
|
|
3776
3776
|
/***/ }),
|
|
3777
3777
|
|
|
@@ -3881,7 +3881,7 @@ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../.
|
|
|
3881
3881
|
/*! no static exports found */
|
|
3882
3882
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3883
3883
|
|
|
3884
|
-
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, \".osm-vd .veri-dagitim-selectbox.v-select[data-v-4c941ed6] {\\n overflow-y: scroll;\\n}\\n.osm-vd .m-flex[data-v-4c941ed6] {\\n display: flex;\\n}\\n.osm-vd .m-items-center[data-v-4c941ed6] {\\n align-items: center;\\n}\\n.osm-vd .text-center[data-v-4c941ed6] {\\n text-align: center;\\n}\\n.osm-vd .warning-messages[data-v-4c941ed6] {\\n background-color: #fff3cd;\\n min-height: 40px;\\n display: flex;\\n align-items: center;\\n padding: 10px;\\n border-radius: 10px;\\n box-shadow: 0px 0px 3px #000;\\n margin-bottom: 20px;\\n max-width: 80%;\\n margin-left: 5px;\\n}\\n@media (max-width: 585px) {\\n.osm-vd .warning-messages[data-v-4c941ed6] {\\n display: block;\\n text-align: center;\\n}\\n}\\n.osm-vd .warning-messages .error-icon[data-v-4c941ed6] {\\n border-radius: 100%;\\n border: 1px solid #000;\\n color: #000;\\n font-weight: bold;\\n width: 30px;\\n display: inline-flex;\\n justify-content: center;\\n height: 30px;\\n align-items: center;\\n font-size: 24px !important;\\n margin-right: 10px;\\n}\\n@media (max-width: 585px) {\\n.osm-vd .warning-messages .error-icon[data-v-4c941ed6] {\\n display: block;\\n margin: 0 auto;\\n}\\n}\\n.osm-vd .package-settings[data-v-4c941ed6] {\\n overflow: auto;\\n}\\n@media (min-width: 640px) {\\n.osm-vd .package-settings[data-v-4c941ed6] {\\n height: calc(100vh - 300px);\\n}\\n}\\n.osm-vd .package-settings__info-platform[data-v-4c941ed6] {\\n font-size: 16px;\\n margin: 4px 0 12px;\\n}\\n.osm-vd .package-settings__info_price[data-v-4c941ed6] {\\n font-size: 29px;\\n font-weight: bold;\\n margin-top: 12px;\\n}\\n.osm-vd .package-settings__info_bes[data-v-4c941ed6],\\n .osm-vd .package-settings__info_bes span[data-v-4c941ed6] {\\n font-size: 14px;\\n}\\n.osm-vd .package-settings__image img[data-v-4c941ed6] {\\n margin-right: 30px;\\n width: 96px;\\n height: 140px;\\n -o-object-fit: contain;\\n object-fit: contain;\\n}\\n.osm-vd .package-settings__top[data-v-4c941ed6] {\\n margin-bottom: 30px;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] {\\n height: 100%;\\n overflow-y: auto;\\n overflow-x: hidden;\\n}\\n@media (max-width: 898px) {\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] {\\n overflow: auto;\\n}\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table {\\n border-collapse: collapse;\\n text-indent: 0;\\n min-width: 100%;\\n border-radius: var(--radius-second) !important;\\n overflow: auto;\\n border: solid 1px #e9e9eb;\\n background-color: #fff;\\n margin: 20px 0;\\n overflow-y: visible !important;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th:nth-child(2) {\\n padding-left: 0px;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td {\\n font-size: 14px;\\n padding: 18px 12px;\\n vertical-align: middle;\\n border-top: 1px solid #e8e8e8;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select {\\n border: 1px solid transparent;\\n width: 100%;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle {\\n padding: 0px;\\n border: 0px !important;\\n position: relative;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle:focus-visible,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle:focus-visible {\\n outline: none !important;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select .vs__selected,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select .vs__selected {\\n padding: 0;\\n margin: 0;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select .vs__selected-options,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select .vs__selected-options {\\n padding: 0px !important;\\n position: relative;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select .vs__clear,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select .vs__clear {\\n display: none !important;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select .vs__actions,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select .vs__actions {\\n padding: 0px;\\n cursor: pointer !important;\\n position: absolute;\\n top: 7px;\\n right: 35px;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select__search, .osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select__search:focus,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select__search,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select__search:focus {\\n border: none !important;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .editing-view-port,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .editing-view-port {\\n display: none !important;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table tbody tr td:first-child {\\n width: 20px;\\n}\\n.osm-vd .package-settings__lisans .info-option[data-v-4c941ed6] {\\n display: flex;\\n align-items: center;\\n}\\n.osm-vd .package-settings__lisans .info-option svg[data-v-4c941ed6] {\\n cursor: pointer;\\n}\\n.osm-vd .package-settings__lisans .accordion-container[data-v-4c941ed6] {\\n width: 96%;\\n}\\n.osm-vd .package-settings__bottom[data-v-4c941ed6] {\\n position: absolute;\\n bottom: 25px;\\n right: 0;\\n width: 100%;\\n padding: 30px 0;\\n border-top: 1px solid var(--grayscale-30);\\n justify-content: space-between;\\n background-color: var(--grayscale-10);\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom[data-v-4c941ed6] {\\n position: relative;\\n flex-flow: column;\\n}\\n}\\n.osm-vd .package-settings__bottom .veri-dagitim-selectbox.v-select[data-v-4c941ed6] {\\n background: white !important;\\n}\\n.osm-vd .package-settings__bottom .veri-dagitim-selectbox.v-select .vs__dropdown-toggle[data-v-4c941ed6] {\\n background: white !important;\\n}\\n.osm-vd .package-settings__bottom[data-v-4c941ed6] .form-group {\\n position: relative;\\n margin-right: 16px;\\n}\\n.osm-vd .package-settings__bottom[data-v-4c941ed6] .form-control-label {\\n font-size: 12px;\\n color: var(--grayscale-70);\\n position: absolute;\\n padding: 0 7px;\\n margin-left: 10px;\\n z-index: 2;\\n top: -5px;\\n background: -webkit-linear-gradient(top, #f3f3f4 50%, #ffffff 50%);\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom-right[data-v-4c941ed6] {\\n text-align: center;\\n margin-bottom: 10px;\\n}\\n}\\n.osm-vd .package-settings__bottom-right[data-v-4c941ed6] p,\\n .osm-vd .package-settings__bottom-right[data-v-4c941ed6] span {\\n font-size: 16px;\\n line-height: 27px;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom-left[data-v-4c941ed6] {\\n width: 100%;\\n}\\n}\\n.osm-vd .package-settings__bottom-action[data-v-4c941ed6] {\\n width: 385px;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom-action[data-v-4c941ed6] {\\n width: 96%;\\n align-items: inherit;\\n flex-flow: column;\\n}\\n.osm-vd .package-settings__bottom-action[data-v-4c941ed6] .start-date-select {\\n width: 100%;\\n margin-bottom: 10px;\\n}\\n}\\n.osm-vd .package-settings__price[data-v-4c941ed6] {\\n align-items: flex-end;\\n justify-content: flex-end;\\n margin-bottom: 8px;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__price[data-v-4c941ed6] {\\n align-items: center;\\n justify-content: center;\\n margin-bottom: 15px;\\n}\\n}\\n.osm-vd .package-settings__price[data-v-4c941ed6] span {\\n font-size: 16px;\\n padding-right: 10px;\\n}\\n.osm-vd .package-settings__price[data-v-4c941ed6] h2 {\\n font-size: 26px;\\n line-height: 26px;\\n}\\n.osm-vd .package-settings .up svg[data-v-4c941ed6] {\\n color: #28a745;\\n}\\n.osm-vd .package-settings .down svg[data-v-4c941ed6] {\\n color: #dc3545;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .info-container[data-v-4c941ed6] {\\n position: relative;\\n margin-top: 20px;\\n}\\n}\\n.osm-vd .market-table[data-v-4c941ed6] {\\n width: 96%;\\n display: block;\\n}\\n.osm-vd .market-table-responsive[data-v-4c941ed6] {\\n width: 96%;\\n display: none;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .info-container[data-v-4c941ed6] {\\n position: relative;\\n margin-top: 20px;\\n}\\n.osm-vd .market-table[data-v-4c941ed6] {\\n display: none;\\n}\\n.osm-vd .market-table-responsive[data-v-4c941ed6] {\\n display: block;\\n}\\n}\\n@media (max-width: 389px) {\\n.osm-vd .info-container[data-v-4c941ed6] {\\n margin-top: 40px;\\n}\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/recommendedPackages/UpdatePackage.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");
|
|
3884
|
+
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, \".osm-vd .veri-dagitim-selectbox.v-select[data-v-4c941ed6] {\\n overflow-y: scroll;\\n}\\n.osm-vd .m-flex[data-v-4c941ed6] {\\n display: flex;\\n}\\n.osm-vd .m-items-center[data-v-4c941ed6] {\\n align-items: center;\\n}\\n.osm-vd .text-center[data-v-4c941ed6] {\\n text-align: center;\\n}\\n.osm-vd .warning-messages[data-v-4c941ed6] {\\n background-color: #fff3cd;\\n min-height: 40px;\\n display: flex;\\n align-items: center;\\n padding: 10px;\\n border-radius: 10px;\\n box-shadow: 0px 0px 3px #000;\\n margin-bottom: 20px;\\n max-width: 80%;\\n margin-left: 5px;\\n}\\n@media (max-width: 585px) {\\n.osm-vd .warning-messages[data-v-4c941ed6] {\\n display: block;\\n text-align: center;\\n}\\n}\\n.osm-vd .warning-messages .error-icon[data-v-4c941ed6] {\\n border-radius: 100%;\\n border: 1px solid #000;\\n color: #000;\\n font-weight: bold;\\n width: 30px;\\n display: inline-flex;\\n justify-content: center;\\n height: 30px;\\n align-items: center;\\n font-size: 24px !important;\\n margin-right: 10px;\\n}\\n@media (max-width: 585px) {\\n.osm-vd .warning-messages .error-icon[data-v-4c941ed6] {\\n display: block;\\n margin: 0 auto;\\n}\\n}\\n.osm-vd .package-settings[data-v-4c941ed6] {\\n overflow: auto;\\n}\\n@media (min-width: 640px) {\\n.osm-vd .package-settings[data-v-4c941ed6] {\\n height: calc(100vh - 300px);\\n}\\n}\\n.osm-vd .package-settings__info-platform[data-v-4c941ed6] {\\n font-size: 16px;\\n margin: 4px 0 12px;\\n}\\n.osm-vd .package-settings__info_price[data-v-4c941ed6] {\\n font-size: 29px;\\n font-weight: bold;\\n margin-top: 12px;\\n}\\n.osm-vd .package-settings__info_bes[data-v-4c941ed6],\\n .osm-vd .package-settings__info_bes span[data-v-4c941ed6] {\\n font-size: 14px;\\n}\\n.osm-vd .package-settings__image img[data-v-4c941ed6] {\\n margin-right: 30px;\\n width: 96px;\\n height: 140px;\\n -o-object-fit: contain;\\n object-fit: contain;\\n}\\n.osm-vd .package-settings__top[data-v-4c941ed6] {\\n margin-bottom: 30px;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] {\\n height: 100%;\\n overflow-y: auto;\\n overflow-x: hidden;\\n}\\n@media (max-width: 898px) {\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] {\\n overflow: auto;\\n}\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table {\\n border-collapse: collapse;\\n text-indent: 0;\\n min-width: 100%;\\n border-radius: var(--radius-second) !important;\\n overflow: auto;\\n border: solid 1px #e9e9eb;\\n background-color: #fff;\\n margin: 20px 0;\\n overflow-y: visible !important;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td {\\n font-size: 14px;\\n padding: 18px 12px;\\n vertical-align: middle;\\n border-top: 1px solid #e8e8e8;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select {\\n border: 1px solid transparent;\\n width: 100%;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle {\\n padding: 0px;\\n border: 0px !important;\\n position: relative;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle:focus-visible,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select .vs__dropdown-toggle:focus-visible {\\n outline: none !important;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select .vs__selected,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select .vs__selected {\\n padding: 0;\\n margin: 0;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select .vs__selected-options,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select .vs__selected-options {\\n padding: 0px !important;\\n position: relative;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select .vs__clear,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select .vs__clear {\\n display: none !important;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select .vs__actions,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select .vs__actions {\\n padding: 0px;\\n cursor: pointer !important;\\n position: absolute;\\n top: 7px;\\n right: 35px;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select__search, .osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .veri-dagitim-selectbox.v-select__search:focus,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select__search,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .veri-dagitim-selectbox.v-select__search:focus {\\n border: none !important;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table th .option .editing-view-port,\\n .osm-vd .package-settings__lisans[data-v-4c941ed6] .table td .option .editing-view-port {\\n display: none !important;\\n}\\n.osm-vd .package-settings__lisans[data-v-4c941ed6] .table tbody tr td:first-child {\\n width: 20px;\\n}\\n.osm-vd .package-settings__lisans .info-option[data-v-4c941ed6] {\\n display: flex;\\n align-items: center;\\n}\\n.osm-vd .package-settings__lisans .info-option svg[data-v-4c941ed6] {\\n cursor: pointer;\\n}\\n.osm-vd .package-settings__lisans .accordion-container[data-v-4c941ed6] {\\n width: 96%;\\n}\\n.osm-vd .package-settings__bottom[data-v-4c941ed6] {\\n position: absolute;\\n bottom: 25px;\\n right: 0;\\n width: 100%;\\n padding: 30px 0;\\n border-top: 1px solid var(--grayscale-30);\\n justify-content: space-between;\\n background-color: var(--grayscale-10);\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom[data-v-4c941ed6] {\\n position: relative;\\n flex-flow: column;\\n}\\n}\\n.osm-vd .package-settings__bottom .veri-dagitim-selectbox.v-select[data-v-4c941ed6] {\\n background: white !important;\\n}\\n.osm-vd .package-settings__bottom .veri-dagitim-selectbox.v-select .vs__dropdown-toggle[data-v-4c941ed6] {\\n background: white !important;\\n}\\n.osm-vd .package-settings__bottom[data-v-4c941ed6] .form-group {\\n position: relative;\\n margin-right: 16px;\\n}\\n.osm-vd .package-settings__bottom[data-v-4c941ed6] .form-control-label {\\n font-size: 12px;\\n color: var(--grayscale-70);\\n position: absolute;\\n padding: 0 7px;\\n margin-left: 10px;\\n z-index: 2;\\n top: -5px;\\n background: -webkit-linear-gradient(top, #f3f3f4 50%, #ffffff 50%);\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom-right[data-v-4c941ed6] {\\n text-align: center;\\n margin-bottom: 10px;\\n}\\n}\\n.osm-vd .package-settings__bottom-right[data-v-4c941ed6] p,\\n .osm-vd .package-settings__bottom-right[data-v-4c941ed6] span {\\n font-size: 16px;\\n line-height: 27px;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom-left[data-v-4c941ed6] {\\n width: 100%;\\n}\\n}\\n.osm-vd .package-settings__bottom-action[data-v-4c941ed6] {\\n width: 385px;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__bottom-action[data-v-4c941ed6] {\\n width: 96%;\\n align-items: inherit;\\n flex-flow: column;\\n}\\n.osm-vd .package-settings__bottom-action[data-v-4c941ed6] .start-date-select {\\n width: 100%;\\n margin-bottom: 10px;\\n}\\n}\\n.osm-vd .package-settings__price[data-v-4c941ed6] {\\n align-items: flex-end;\\n justify-content: flex-end;\\n margin-bottom: 8px;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .package-settings__price[data-v-4c941ed6] {\\n align-items: center;\\n justify-content: center;\\n margin-bottom: 15px;\\n}\\n}\\n.osm-vd .package-settings__price[data-v-4c941ed6] span {\\n font-size: 16px;\\n padding-right: 10px;\\n}\\n.osm-vd .package-settings__price[data-v-4c941ed6] h2 {\\n font-size: 26px;\\n line-height: 26px;\\n}\\n.osm-vd .package-settings .up svg[data-v-4c941ed6] {\\n color: #28a745;\\n}\\n.osm-vd .package-settings .down svg[data-v-4c941ed6] {\\n color: #dc3545;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .info-container[data-v-4c941ed6] {\\n position: relative;\\n margin-top: 20px;\\n}\\n}\\n.osm-vd .market-table[data-v-4c941ed6] {\\n width: 96%;\\n display: block;\\n}\\n.osm-vd .market-table-responsive[data-v-4c941ed6] {\\n width: 96%;\\n display: none;\\n}\\n@media (max-width: 640px) {\\n.osm-vd .info-container[data-v-4c941ed6] {\\n position: relative;\\n margin-top: 20px;\\n}\\n.osm-vd .market-table[data-v-4c941ed6] {\\n display: none;\\n}\\n.osm-vd .market-table-responsive[data-v-4c941ed6] {\\n display: block;\\n}\\n}\\n@media (max-width: 389px) {\\n.osm-vd .info-container[data-v-4c941ed6] {\\n margin-top: 40px;\\n}\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/components/recommendedPackages/UpdatePackage.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");
|
|
3885
3885
|
|
|
3886
3886
|
/***/ }),
|
|
3887
3887
|
|