{"version":3,"sources":["webpack:///./src/pages/manage/clinics/id.vue","webpack:///./src/pages/manage/clinics/id.vue?3c81","webpack:///./src/pages/manage/clinics/id.vue?a809","webpack:///./src/pages/manage/clinics/id.vue?d49c"],"names":["render","_vm","this","_c","_self","_setupProxy","attrs","caption","dataSource","breadcrumbs","scopedSlots","_u","key","fn","clinicBranchDataSource","createItemModel","properties","item","id","_v","_s","proxy","staticRenderFns","Home","Vue","constructor","ObjectDataSource","$route","params","config","className","name","companyId","ListDataSource","pageIndex","pageSize","filter","JSON","stringify","Filter","_this$dataSource$mode","model","_this$dataSource$mode2","text","to","exact","disabled","__decorate","Component","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,YAAY,CAACG,MAAM,CAAC,MAAQL,EAAIM,QAAQ,cAAcN,EAAIO,WAAW,YAAcP,EAAIQ,aAAaC,YAAYT,EAAIU,GAAG,CAAC,CAACC,IAAI,OAAOC,GAAG,WAAW,MAAO,CAACV,EAAG,YAAY,CAACG,MAAM,CAAC,MAAQ,UAAU,cAAcL,EAAIa,uBAAuB,2BAA2Bb,EAAIc,gBAAgB,2BAA2Bd,EAAIe,YAAYN,YAAYT,EAAIU,GAAG,CAAC,CAACC,IAAI,UAAUC,GAAG,UAAS,KAAEI,IAAQ,MAAO,CAACd,EAAG,cAAc,CAACG,MAAM,CAAC,GAAM,mBAAkBL,EAAIO,WAAWU,eAAeD,EAAKC,OAAO,CAACjB,EAAIkB,GAAG,IAAIlB,EAAImB,GAAGH,EAAKV,SAAS,gBAAgBc,OAAM,QAExnBC,EAAkB,G,4DCKtB,IAAqBC,EAArB,cAAkCC,OAAlCC,c,oBACE,KAAAjB,WAA+B,IAAIkB,OAAiB,CAClDR,IAAKhB,KAAKyB,OAAOC,OAAOV,GACxBW,OAAQ,GACRC,UAAW,WAwBb,KAAAd,WAAa,CACX,CACEe,KAAM,UACNF,OAAQ,CACNC,UAAW,YAKjB,KAAAf,gBAAuB,CACrBiB,WAAY9B,KAAKyB,OAAOC,OAAOV,GAC/BX,QAAS,IAGX,KAAAO,uBAA8B,IAAImB,OAAe,CAC/CJ,OAAQ,CACNK,UAAW,EACXC,SAAU,IACVC,OAAQC,KAAKC,UAAU,CAAC,IAAIC,OAAO,aAAcrC,KAAKyB,OAAOC,OAAOV,OAEtEY,UAAW,iBAzCb,cAAW,IAAAU,EACT,OAA4B,QAA5BA,EAAOtC,KAAKM,WAAWiC,aAAK,IAAAD,OAAA,EAArBA,EAAuBjC,QAGhC,kBAAe,IAAAmC,EACb,MAAO,CACL,CACEC,KAAM,UACNC,GAAI,KAEN,CACED,KAAM,UACNC,GAAI,mBACJC,OAAO,GAET,CACEF,KAA2B,QAAvBD,EAAExC,KAAKM,WAAWiC,aAAK,IAAAC,OAAA,EAArBA,EAAuBnC,QAC7BuC,UAAU,MAxBGvB,EAAIwB,eAAA,CADxBC,QACoBzB,WCP2Y,I,YCO5Z0B,EAAY,eACd,EACAjD,EACAsB,GACA,EACA,KACA,KACA,MAIa,aAAA2B,E","file":"js/chunk-2d0cc3db.329b0983.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('data-item',{attrs:{\"title\":_vm.caption,\"data-source\":_vm.dataSource,\"breadcrumbs\":_vm.breadcrumbs},scopedSlots:_vm._u([{key:\"body\",fn:function(){return [_c('data-list',{attrs:{\"title\":\"Филиалы\",\"data-source\":_vm.clinicBranchDataSource,\"custom-create-item-model\":_vm.createItemModel,\"properties-override-info\":_vm.properties},scopedSlots:_vm._u([{key:\"caption\",fn:function({ item }){return [_c('router-link',{attrs:{\"to\":`/manage/clinics/${_vm.dataSource.id}/branches/${item.id}`}},[_vm._v(\" \"+_vm._s(item.caption)+\" \")])]}}])})]},proxy:true}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Vue, Component } from \"vue-property-decorator\";\nimport { ObjectDataSource } from \"@/data/Object/ObjecDatatSource\";\nimport { Filter } from \"@/cms-services/filter\";\nimport { ListDataSource } from \"@/data/List/ListDataSource\";\n\n@Component\nexport default class Home extends Vue {\n dataSource: ObjectDataSource = new ObjectDataSource({\n id: +this.$route.params.id,\n config: {},\n className: \"clinic\",\n });\n\n get caption() {\n return this.dataSource.model?.caption;\n }\n\n get breadcrumbs() {\n return [\n {\n text: \"Главная\",\n to: \"/\",\n },\n {\n text: \"Клиники\",\n to: \"/manage/clinics/\",\n exact: true,\n },\n {\n text: this.dataSource.model?.caption,\n disabled: true,\n },\n ];\n }\n properties = [\n {\n name: \"persons\",\n config: {\n className: \"doctor\",\n },\n },\n ];\n\n createItemModel: any = {\n companyId: +this.$route.params.id,\n caption: \"\",\n };\n\n clinicBranchDataSource: any = new ListDataSource({\n config: {\n pageIndex: 1,\n pageSize: 100,\n filter: JSON.stringify([new Filter(\"companyId\", +this.$route.params.id)]),\n },\n className: \"clinicBranch\",\n });\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./id.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./id.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./id.vue?vue&type=template&id=1818acaa\"\nimport script from \"./id.vue?vue&type=script&lang=ts\"\nexport * from \"./id.vue?vue&type=script&lang=ts\"\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 null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}