{"version":3,"sources":["webpack:///./src/modules/projects/components/Filters.vue?3fd6","webpack:///./src/modules/projects/views/Projects.vue?157b","webpack:///./src/modules/projects/views/Projects.vue?4f0b","webpack:///./src/modules/projects/components/Filters.vue?02e3","webpack:///./node_modules/cache-loader/dist/cjs.js","webpack:///./src/modules/projects/components/Filters.vue?f473","webpack:///./src/modules/projects/components/Filters.vue","webpack:///./src/modules/projects/components/Filters.vue?4b5e","webpack:///./src/modules/projects/views/Projects.vue?6502","webpack:///./src/modules/projects/views/Projects.vue?dccb","webpack:///./src/modules/projects/views/Projects.vue"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","class","$style","searchForm","attrs","search_label","disabled","on","$event","filter_update","type","indexOf","_k","keyCode","key","preventDefault","submit_search","apply","arguments","model","value","callback","$$v","search_text","expression","projectsFiltersTop","filters","select","isLaptop","organization_ids","organizations","statuses","project_statuses","partner_contact_persons","datepicker","handleDateChange","_t","staticRenderFns","state","projects_store","mutations","FiltersComponent","UPD_FILTER_KEY","global_store","trim","field","dates","dates_unformatted","dates_formatted","map","date","Date","Vue","__decorate","Prop","Boolean","default","undefined","String","Emit","Component","components","TextField","Select","Checkbox","Search","DatepickerRange","injectStyles","context","locals","component","module_name","scopedSlots","_u","fn","_v","proxy","go_to","info_message","staticClass","domProps","_s","_e","card","serverPaginationLoading","onFilterUpdate","btnOuter","cols_dialog","_l","header","idx","cols_storage_name","table_key","table","filtered_cols","items","tableOptions","prevent_sort","projects_loading","footerProps","serverItemsLength","row_click_handler","ref","item","external_number","id","_g","_b","stopPropagation","open_in_new_tab","textWrap","name","_f","created_at","total_amount","shipment_at","closed_at","organization","partner_contact_person","is_mobile","copy","partner_contact_telephone","partner_contact_email","subpartner","sale_points_quantity","client_name","products_quantity","chip","get_project_status","status","get_project_status_tooltip","cols","cols_default","save_cols","actions","ProjectsPage","ColsStorage","PROJECTS_COLS","text","width","is_visible","is_default_visible","sortable","open_page_in_new_tab","$router","Projects","Pages","PROJECT_DETAIL","localStorageKey","PaginationItemsPerPage","PROJECTS","getLoading","fetchItems","get_projects","getTableOptions","table_options","setTableOptions","SET_TABLE_OPTIONS","restoreItemsPerPage","filter","col","isMobile","projects","user_store","me","available_pages","MenuPages","push","params","copy_to_clipboard","PROJECT_NEW","alert_page","find","page","slug","info_message_index","pagination_props","total_items","Mixins","GetProjectStatusMixin","ServerPaginationMixin","PageTitle","Filters","Table","ChipStatus","InfoAlert","InfoBanner","CustomColsDialog","ResizeCols","VBtn","VCard","VIcon","VTooltip"],"mappings":"0GACAA,EAAOC,QAAU,CAAC,gBAAgB,8BAA8B,UAAU,wBAAwB,UAAU,wBAAwB,QAAU,wBAAwB,WAAa,2BAA2B,KAAO,qBAAqB,oBAAsB,oCAAoC,OAAS,uBAAuB,aAAe,6BAA6B,OAAS,uBAAuB,WAAa,2BAA2B,aAAe,6BAA6B,SAAW,yBAAyB,mBAAqB,qC,qBCA7hBD,EAAOC,QAAU,CAAC,gBAAgB,+BAA+B,UAAU,yBAAyB,UAAU,yBAAyB,QAAU,yBAAyB,WAAa,4BAA4B,KAAO,sBAAsB,oBAAsB,qCAAqC,OAAS,wBAAwB,aAAe,8BAA8B,OAAS,wBAAwB,WAAa,4BAA4B,aAAe,8BAA8B,SAAW,0BAA0B,KAAO,sBAAsB,MAAQ,uBAAuB,SAAW,0BAA0B,KAAO,wB,qCCD7nB,oE,2CCAA,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,MAAMN,EAAIO,OAAOC,WAAWC,MAAM,CAAC,MAAQT,EAAIU,aAAa,MAAQ,GAAG,SAAWV,EAAIW,UAAUC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOb,EAAIc,cAAc,SAAU,KAAK,OAAS,SAASD,GAAQ,OAAOb,EAAIc,cAAc,SAAUD,IAAS,QAAU,SAASA,GAAQ,OAA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B,4BAgI/B,WACE,OAAO5H,EAAM4D,mBAjIgB,2BAoI/B,WACE,OAAOiE,OAAW7H,MAAM8H,GAAGC,iBAAmB,KArIjB,uBAwI/B,WACE,OAAOC,OAAUhB,WAzIY,+BA4I/B,SAAkB/C,GACQ,qBAApB,OAAOA,QAAP,IAAOA,OAAP,EAAOA,EAAME,IACf7G,KAAKoJ,QAAQuB,KAAK,CAChBxD,KAAMkC,cAASC,MAAMC,eACrBqB,OAAQ,CACN/D,GAAI,GAAF,OAAKF,EAAKE,OAIhB7G,KAAKoJ,QAAQuB,KAAK,CAAExD,KAAMkC,cAASC,MAAMI,aArJd,2EAyJ/B,WAAW/C,GAAX,qFACMA,EADN,gCAEUkE,eAAkBlE,GAF5B,2CAzJ+B,2EA+J/B,WACE,MAAO,CAAEQ,KAAMkC,cAASC,MAAMwB,eAhKD,0BAmK/B,WAAY,MACJC,EAAa/K,KAAKyK,gBAAgBO,MAAK,SAACC,GAAD,OAAUA,EAAKC,OAAS7B,cAASC,MAAMI,YAEpF,wBAAOqB,QAAP,IAAOA,OAAP,EAAOA,EAAYI,0BAAnB,QAAyC,OAtKZ,6BAmL/B,WACE,OAAOzI,EAAM0I,iBAAiBC,gBApLD,GAASC,eAAOC,aAAuBC,SAAnD7C,EAAY,gBAZhC3E,eAAU,CACTC,WAAY,CACVwH,iBACAC,qBACAC,aACAC,kBACAC,iBACAC,kBACAC,iBAAkB,kBAAM,6CACxBC,WAAY,kBAAM,iDAGDrD,WKxQkZ,I,8FCQva,SAASpE,EAAcC,GAErBxE,KAAK,UAAa,aAAOyE,QAAU,aAMrC,IAAIC,EAAY,eACd,EACA5E,EACA2C,GACA,EACA8B,EACA,KACA,MAIa,aAAAG,EAAiB,QAQhC,IAAkBA,EAAW,CAACuH,OAAA,KAAKC,QAAA,KAAMC,QAAA,KAAMC,WAAA","file":"js/projects.a63884f9.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"v-application\":\"Filters_v-application_3LbqF\",\"text-h1\":\"Filters_text-h1_2wF_j\",\"text-h2\":\"Filters_text-h2_1tvpk\",\"filters\":\"Filters_filters_3SioJ\",\"searchForm\":\"Filters_searchForm_2BWLc\",\"city\":\"Filters_city_iInjE\",\"organizations_types\":\"Filters_organizations_types_1Tguw\",\"region\":\"Filters_region_1aPXf\",\"organization\":\"Filters_organization_2gCEK\",\"select\":\"Filters_select_13JZR\",\"datepicker\":\"Filters_datepicker_1QCCy\",\"filtersBlock\":\"Filters_filtersBlock_3REGr\",\"btnOuter\":\"Filters_btnOuter_24-Ca\",\"projectsFiltersTop\":\"Filters_projectsFiltersTop_3nJMp\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"v-application\":\"Projects_v-application_1spQa\",\"text-h1\":\"Projects_text-h1_3jx-X\",\"text-h2\":\"Projects_text-h2_5CyKS\",\"filters\":\"Projects_filters_3AExa\",\"searchForm\":\"Projects_searchForm_3uWPU\",\"city\":\"Projects_city_2R7LA\",\"organizations_types\":\"Projects_organizations_types_lrESc\",\"region\":\"Projects_region_3tRJh\",\"organization\":\"Projects_organization_5f1vA\",\"select\":\"Projects_select_3b1P0\",\"datepicker\":\"Projects_datepicker_2AcHJ\",\"filtersBlock\":\"Projects_filtersBlock_2XD5e\",\"btnOuter\":\"Projects_btnOuter_1Sis3\",\"card\":\"Projects_card_3pe3T\",\"table\":\"Projects_table_dQk77\",\"textWrap\":\"Projects_textWrap_bbhvy\",\"chip\":\"Projects_chip_5jzQs\"};","export { default } from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-0-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-0-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-0-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-0-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Projects.vue?vue&type=style&index=0&module=true&lang=scss&\"; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-0-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-0-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-0-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-0-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Projects.vue?vue&type=style&index=0&module=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Search',{class:_vm.$style.searchForm,attrs:{\"label\":_vm.search_label,\"dense\":\"\",\"disabled\":_vm.disabled},on:{\"clear\":function($event){return _vm.filter_update('search', '')},\"submit\":function($event){return _vm.filter_update('search', $event)},\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }$event.preventDefault();return _vm.submit_search.apply(null, arguments)}},model:{value:(_vm.search_text),callback:function ($$v) {_vm.search_text=$$v},expression:\"search_text\"}}),_c('div',{class:_vm.$style.projectsFiltersTop},[_c('div',{class:_vm.$style.filters},[_c('Select',{class:[_vm.$style.select, {'mb-4': _vm.isLaptop}],attrs:{\"value\":_vm.filters.organization_ids,\"items\":_vm.organizations,\"label\":\"Организация\",\"item_value\":\"id\",\"item-text\":\"name_organization\",\"dense\":\"\",\"multiple\":\"\",\"hide-details\":\"\",\"clearable\":\"\",\"blue_icon\":\"\",\"background-color\":\"#fff\",\"disabled\":_vm.disabled},on:{\"input\":function($event){return _vm.filter_update('organization_ids', $event)}}}),_c('Select',{class:[_vm.$style.select],attrs:{\"value\":_vm.filters.statuses,\"items\":_vm.project_statuses,\"label\":\"Статус проекта\",\"dense\":\"\",\"multiple\":\"\",\"hide-details\":\"\",\"clearable\":\"\",\"blue_icon\":\"\",\"background-color\":\"#fff\",\"disabled\":_vm.disabled},on:{\"input\":function($event){return _vm.filter_update('statuses', $event)}}}),_c('Select',{class:[_vm.$style.select],attrs:{\"value\":_vm.filters.partner_contact_persons,\"items\":_vm.partner_contact_persons,\"label\":\"Сотрудник\",\"item_value\":\"id\",\"item-text\":\"user\",\"dense\":\"\",\"multiple\":\"\",\"hide-details\":\"\",\"clearable\":\"\",\"blue_icon\":\"\",\"background-color\":\"#fff\",\"disabled\":_vm.disabled},on:{\"input\":function($event){return _vm.filter_update('partner_contact_persons', $event)}}}),_c('DatepickerRange',{class:[_vm.$style.datepicker],attrs:{\"label\":\"Период создания\",\"type_date\":\"period\",\"dense\":\"\",\"clearable\":\"\",\"range\":\"\",\"small_info\":\"\",\"disabled\":_vm.disabled},on:{\"date_changed\":function($event){return _vm.handleDateChange('created_at', $event)}}}),_c('DatepickerRange',{class:[_vm.$style.datepicker],attrs:{\"label\":\"Период закрытия\",\"type_date\":\"period\",\"dense\":\"\",\"clearable\":\"\",\"range\":\"\",\"small_info\":\"\",\"disabled\":_vm.disabled},on:{\"date_changed\":function($event){return _vm.handleDateChange('closed_at', $event)}}})],1),_vm._t(\"btn-outer\")],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Mixins } from 'vue-property-decorator';\nimport {\n PageTitle,\n Table,\n ChipStatus,\n InfoAlert,\n InfoBanner,\n} from '@/components';\nimport Filters from '@/modules/projects/components/Filters.vue';\nimport { OptionalCol } from '@/types';\nimport { prevent_sort, copy_to_clipboard, open_page_in_new_tab } from '@/utils';\nimport { ColsStorage, MenuPages, PaginationItemsPerPage } from '@/enums';\nimport { projects_store, global_store, user_store } from '@/store';\nimport ServerPaginationMixin from '@/mixins/ServerPaginationMixin';\nimport { Projects } from '../types';\nimport GetProjectStatusMixin from '../mixins/get_project_status';\n\nconst { state, actions, mutations } = projects_store;\n\n@Component({\n components: {\n PageTitle,\n Filters,\n Table,\n ChipStatus,\n InfoAlert,\n InfoBanner,\n CustomColsDialog: () => import('@/components/customize-cols/CustomColsDialog.vue'),\n ResizeCols: () => import('@/components/resize-cols/ResizeCols.vue'),\n },\n})\nexport default class ProjectsPage extends Mixins(GetProjectStatusMixin, ServerPaginationMixin) {\n async mounted() {\n this.restoreItemsPerPage();\n await this.fetchItems();\n }\n\n table_key = 0\n\n cols_dialog = false;\n\n prevent_sort = prevent_sort\n\n cols_storage_name = ColsStorage.PROJECTS_COLS;\n\n save_cols() {\n this.cols_dialog = false;\n this.table_key++;\n }\n\n cols: OptionalCol[] = [\n {\n text: 'Код проекта',\n value: 'external_number',\n width: '250px',\n is_visible: false,\n },\n {\n text: 'Название проекта',\n value: 'name',\n width: '250px',\n is_visible: false,\n },\n {\n text: 'Дата создания',\n value: 'created_at',\n width: '250px',\n is_visible: false,\n },\n {\n text: 'Сумма проекта',\n value: 'total_amount',\n width: '250px',\n is_visible: false,\n },\n {\n text: 'Планируемая дата отгрузки',\n value: 'shipment_at',\n width: '250px',\n is_visible: false,\n },\n {\n text: 'Дата закрытия проекта',\n value: 'closed_at',\n width: '250px',\n is_visible: false,\n is_default_visible: false,\n },\n {\n text: 'Организация ',\n value: 'organization',\n width: '250px',\n is_visible: false,\n },\n {\n text: 'ФИО контактного лица',\n value: 'partner_contact_person',\n width: '250px',\n is_visible: false,\n },\n {\n text: 'Контакты контактного лица',\n value: 'contacts',\n width: '250px',\n is_visible: false,\n sortable: false,\n is_default_visible: false,\n },\n {\n text: 'Субпартнер ',\n value: 'subpartner',\n width: '250px',\n is_visible: false,\n is_default_visible: false,\n },\n {\n text: 'Кол-во торговых точек',\n value: 'sale_points_quantity',\n width: '250px',\n is_visible: false,\n is_default_visible: false,\n },\n {\n text: 'Коммерческое название клиента/бренда/сети',\n value: 'client_name',\n width: '310px',\n is_visible: false,\n is_default_visible: false,\n },\n {\n text: 'Кол-во продуктов под проект',\n value: 'products_quantity',\n width: '250px',\n is_visible: false,\n is_default_visible: false,\n sortable: true,\n },\n {\n text: 'Статус проекта',\n value: 'status',\n width: '150px',\n is_visible: false,\n },\n ]\n\n cols_default: OptionalCol[] = [...this.cols];\n\n get filtered_cols() {\n return this.cols.filter((col) => col.is_visible);\n }\n\n get is_mobile() {\n return global_store.state.isMobile;\n }\n\n get items() {\n return state.projects;\n }\n\n get projects_loading() {\n return state.projects_loading;\n }\n\n get available_pages() {\n return user_store.state.me.available_pages || [];\n }\n\n get module_name() {\n return MenuPages.PROJECTS;\n }\n\n row_click_handler(item: Projects.Project) {\n if (typeof item?.id !== 'undefined') {\n this.$router.push({\n name: Projects.Pages.PROJECT_DETAIL,\n params: {\n id: `${item.id}`,\n },\n });\n } else {\n this.$router.push({ name: Projects.Pages.PROJECTS });\n }\n }\n\n async copy(item: string) {\n if (item) {\n await copy_to_clipboard(item);\n }\n }\n\n get go_to() {\n return { name: Projects.Pages.PROJECT_NEW };\n }\n\n info_message() {\n const alert_page = this.available_pages.find((page) => page.slug === Projects.Pages.PROJECTS);\n\n return alert_page?.info_message_index ?? null;\n }\n\n open_in_new_tab = (id: string) => {\n open_page_in_new_tab(this.$router, Projects.Pages.PROJECT_DETAIL, id);\n };\n\n localStorageKey = PaginationItemsPerPage.PROJECTS\n getLoading = () => state.projects_loading;\n fetchItems = actions.get_projects\n getTableOptions = () => state.table_options;\n setTableOptions = mutations.SET_TABLE_OPTIONS;\n\n get serverItemsLength() {\n return state.pagination_props.total_items;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Filters.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Filters.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Filters.vue?vue&type=template&id=7e64512a&\"\nimport script from \"./Filters.vue?vue&type=script&lang=ts&\"\nexport * from \"./Filters.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Filters.vue?vue&type=style&index=0&module=true&lang=scss&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","export { default } from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-0-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-0-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-0-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-0-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Filters.vue?vue&type=style&index=0&module=true&lang=scss&\"; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-0-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-0-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-0-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-0-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Filters.vue?vue&type=style&index=0&module=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('InfoBanner',{attrs:{\"module_name\":this.module_name}}),_c('PageTitle',{scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" Проекты \")]},proxy:true},{key:\"custom-btn\",fn:function(){return [_c('v-btn',{attrs:{\"color\":\"accent darken-4\",\"type\":\"submit\",\"depressed\":\"\",\"to\":_vm.go_to}},[_vm._v(\" Создать проект \")])]},proxy:true}])}),(_vm.info_message())?_c('InfoAlert',{staticClass:\"mb-6\",attrs:{\"is_dark\":\"\"},scopedSlots:_vm._u([{key:\"alert_text\",fn:function(){return [_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.info_message())}})]},proxy:true}],null,false,631939790)}):_vm._e(),_c('v-card',{class:_vm.$style.card},[_c('Filters',{attrs:{\"disabled\":_vm.serverPaginationLoading},on:{\"filter_update\":_vm.onFilterUpdate},scopedSlots:_vm._u([{key:\"btn-outer\",fn:function(){return [_c('v-btn',{class:[_vm.$style.btnOuter , 'mb-0'],attrs:{\"text\":\"\"},on:{\"click\":function($event){_vm.cols_dialog = true}}},[_c('v-icon',{staticClass:\"mr-2\"},[_vm._v(\"mdi-tune\")]),_c('span',[_vm._v(\"Настройка полей\")])],1)]},proxy:true}])}),_vm._l((_vm.filtered_cols),function(header,idx){return _c('ResizeCols',{key:idx,attrs:{\"header\":header,\"storage_name\":_vm.cols_storage_name}})}),_c('Table',{key:(\"projects + \" + _vm.table_key),class:_vm.$style.table,attrs:{\"headers\":_vm.filtered_cols,\"items\":_vm.items,\"options\":_vm.tableOptions,\"custom-sort\":_vm.prevent_sort,\"loading\":_vm.projects_loading,\"no-data-text\":\"Проекты, удовлетворяющие выбранным параметрам, отсутствуют\",\"footerProps\":_vm.footerProps,\"server-items-length\":_vm.serverItemsLength,\"disable-sort\":_vm.serverPaginationLoading},on:{\"update:options\":function($event){_vm.tableOptions=$event},\"click:row\":_vm.row_click_handler},scopedSlots:_vm._u([{key:\"item.external_number\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_c('span',[_vm._v(_vm._s(item.external_number))]),(item.id && item.external_number)?_c('v-tooltip',{attrs:{\"color\":\"primary darken-3\",\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"small\":\"\",\"icon\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.open_in_new_tab(item.id)}}},'v-btn',attrs,false),on),[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-arrow-top-right\")])],1)]}}],null,true)},[_c('span',[_vm._v(\"Открыть в новой вкладке\")])]):_vm._e()],1)]}},{key:\"item.name\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\",class:_vm.$style.textWrap},[_vm._v(\" \"+_vm._s(item.name)+\" \")])]}},{key:\"item.created_at\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_vm._v(\" \"+_vm._s(_vm._f(\"date\")(item.created_at))+\" \")])]}},{key:\"item.total_amount\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_vm._v(\" \"+_vm._s(_vm._f(\"currency_rub\")(item.total_amount))+\" \")])]}},{key:\"item.shipment_at\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_vm._v(\" \"+_vm._s(_vm._f(\"date\")(item.shipment_at))+\" \")])]}},{key:\"item.closed_at\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_vm._v(\" \"+_vm._s(item.closed_at)+\" \")])]}},{key:\"item.organization\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_vm._v(\" \"+_vm._s(item.organization)+\" \")])]}},{key:\"item.partner_contact_person\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_vm._v(\" \"+_vm._s(item.partner_contact_person)+\" \")])]}},{key:\"item.contacts\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_c('div',{class:{'d-flex align-center': !_vm.is_mobile}},[(item.partner_contact_telephone)?_c('v-tooltip',{attrs:{\"color\":\"primary darken-3\",\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"small\":\"\",\"icon\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.copy(item.partner_contact_telephone)}}},'v-btn',attrs,false),on),[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-content-copy\")])],1)]}}],null,true)},[_c('span',[_vm._v(\"Копировать\")])]):_vm._e(),_c('span',[_vm._v(\" \"+_vm._s(item.partner_contact_telephone)+\" \")])],1),_c('div',{class:{'d-flex align-center': !_vm.is_mobile}},[(item.partner_contact_email)?_c('v-tooltip',{attrs:{\"color\":\"primary darken-3\",\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"small\":\"\",\"icon\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.copy(item.partner_contact_email)}}},'v-btn',attrs,false),on),[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-content-copy\")])],1)]}}],null,true)},[_c('span',[_vm._v(\"Копировать\")])]):_vm._e(),_c('span',[_vm._v(\" \"+_vm._s(item.partner_contact_email)+\" \")])],1)])]}},{key:\"item.subpartner\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_vm._v(\" \"+_vm._s(item.subpartner)+\" \")])]}},{key:\"item.sale_points_quantity\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_vm._v(\" \"+_vm._s(item.sale_points_quantity)+\" \")])]}},{key:\"item.client_name\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\",class:_vm.$style.textWrap},[_vm._v(\" \"+_vm._s(item.client_name)+\" \")])]}},{key:\"item.products_quantity\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_vm._v(\" \"+_vm._s(item.products_quantity)+\" \")])]}},{key:\"item.status\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-tooltip',{attrs:{\"top\":\"\",\"max-width\":300},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('ChipStatus',_vm._g(_vm._b({class:_vm.$style.chip,attrs:{\"status\":_vm.get_project_status(item)}},'ChipStatus',attrs,false),on),[_vm._v(\" \"+_vm._s(item.status ? item.status.name : '')+\" \")])]}}],null,true)},[_c('span',[_vm._v(\" \"+_vm._s(_vm.get_project_status_tooltip(item))+\" \")])])]}}],null,true)})],2),_c('CustomColsDialog',{attrs:{\"cols\":_vm.cols,\"cols_list\":_vm.cols,\"storage_name\":_vm.cols_storage_name,\"default_cols\":_vm.cols_default},on:{\"update:cols_list\":function($event){_vm.cols=$event},\"save_cols\":_vm.save_cols,\"cancel_dialog\":function($event){_vm.cols_dialog = false},\"close\":function($event){_vm.cols_dialog = false}},model:{value:(_vm.cols_dialog),callback:function ($$v) {_vm.cols_dialog=$$v},expression:\"cols_dialog\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Projects.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Projects.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Projects.vue?vue&type=template&id=b0dbf412&\"\nimport script from \"./Projects.vue?vue&type=script&lang=ts&\"\nexport * from \"./Projects.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Projects.vue?vue&type=style&index=0&module=true&lang=scss&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCard,VIcon,VTooltip})\n"],"sourceRoot":""}