{"version":3,"sources":["webpack:///./src/views/page/components/page.vue?50ee","webpack:///./src/views/page/components/page.vue?71df","webpack:///./src/views/page/components/page.vue","webpack:///./src/views/page/components/page.vue?b428","webpack:///./src/views/page/components/table-view.vue?72c9","webpack:///./src/views/page/components/item-detale.vue?1ae3","webpack:///./src/views/page/components/item-detale.vue","webpack:///./src/views/page/components/table-view.vue?63aa","webpack:///./src/views/page/components/table-view.vue?cd34","webpack:///./src/views/page/components/table-view.vue","webpack:///./src/views/page/methods-of-logs/logs-view-detail-page.vue?609a","webpack:///./src/views/page/components/item-detale.vue?f446","webpack:///./src/views/page/methods-of-logs/logs-view-detail-page.vue?67cd","webpack:///./src/views/page/methods-of-logs/logs-view-detail-page.vue?0770","webpack:///./src/views/page/methods-of-logs/logs-view-detail-page.vue"],"names":["_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","key","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","render","_ctx","_cache","$props","$setup","$data","$options","_component_select_source_component","_resolveComponent","_component_tirscript3_button","_component_tirscript3_loading","_openBlock","_createElementBlock","_createElementVNode","_toDisplayString","name","selectSource","_createVNode","onOnChangeSource","changeSource","onOnClick","changeFilter","default","_withCtx","_createTextVNode","_","_createCommentVNode","$slots","toolbar","_renderSlot","loading","isLoading","sourceLogId","filterChange","Page","Vue","constructor","searchPlaceholder","noApi","noFilter","noPagination","sourceLogsList","totalItems","currentPage","innerItems","hasFilter","countPerPage","pagination","created","this","ListViewItem","DefaultModel","getSource","filter","el","Selected","selectedId","Value","id","res","forEach","element","push","Id","ProjectName","ServerName","sourceId","localStorage","getItem","Number","parseInt","onChangeSource","onClick","$emit","document","dispatchEvent","CustomEvent","detail","mode","__decorate","Options","components","LogsViewFilter","props","type","String","Boolean","defaultSearchField","watch","value","emits","__exports__","style","_defineComponent","__name","item","Object","Text","setup","__props","onMounted","_props$item","_props$item2","_component_bs_col","_component_bs_row","_component_tirscript3_pagination","items","_withDirectives","ref","size","count","onOnChange","onPaginationChanged","_vShow","length","TableView","innerFilter","Skip","Take","search","countOnPageItems","onFilter","refresh","mounted","sort","sortName","sortType","response","getDataFuncAsync","error","Count","Items","x","resetPagination","onSort","onChangePagePerPage","Prop","required","Watch","deep","_component_ItemDetale","_component_page","_createBlock","slotProps","_ctx$item","$event","$router","go","RequestLength","ProjectLogGroupId","Class","Method","DateEnd","DateStart","$filters","DateFormat","IntervalMs","DateCreate","ResponseLength","LogLevel","Ip","UserId","SessionToken","ConnectionId","RequestId","RequestBody","UserAgent","Error","error1","isSuccess","errorMessage","error2","ContentLogsDateailView","requestId","page","$route","params","getEndpointLogDetails","_this$$route$params","isActive","$api","LogGetterService","getActiveEndpointLogDetailsAsync","getEndpointLogDetailsAsync","skip","getIntervalTime","dateStart","dateEnd","Date","getTime","onReadMore","console","log","FilterModel","ItemDetale"],"mappings":"gLAEA,MAAMA,EAAa,CAAEC,MAAO,QACtBC,EAAa,CAAED,MAAO,eACtBE,EAAa,CAAEF,MAAO,qBACtBG,EAAa,CACjBC,IAAK,EACLJ,MAAO,iBAEHK,EAAa,CACjBD,IAAK,EACLJ,MAAO,WAEHM,EAAa,CAAEN,MAAO,gBACtBO,EAAa,CAAEP,MAAO,OACtBQ,EAAa,CAAER,MAAO,OAEtB,SAAUS,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,MAAMC,EAAqCC,eAAkB,2BACvDC,EAA+BD,eAAkB,qBACjDE,EAAgCF,eAAkB,sBAExD,OAAQG,iBAAcC,eAAoB,MAAOtB,EAAY,CAC3DuB,eAAoB,MAAOrB,EAAY,CACrCqB,eAAoB,MAAOpB,EAAY,CACrCoB,eAAoB,KAAM,KAAMC,eAAiBb,EAAKc,MAAO,KAE9Dd,EAAKe,cACDL,iBAAcC,eAAoB,MAAOlB,EAAY,CACpDuB,eAAaV,EAAoC,CAC/ChB,MAAO,OACP2B,iBAAkBjB,EAAKkB,cACtB,KAAM,EAAG,CAAC,qBACbF,eAAaR,EAA8B,CACzCl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GAC/B,OAAO,IAAIC,KAAKD,GAASE,UAAY,IAAID,KAAKF,GAAWG,UAG3DC,WAAWpI,GACTqI,QAAQC,IAAI,MAAOtI,KA7FiBqB,eAAA,CAArCyD,eAAK,CAAElH,QAAS,IAAI2K,U,6BACIlH,eAAA,CAAxByD,eAAK,CAAElH,QAAS,Q,gCAsBjByD,eAAA,CADC2D,eAAM,SAAU,CAAEC,MAAM,K,6BAvBNiC,EAAsB7F,eAAA,CAR1CC,eAAQ,CACPjE,KAAM,qBACNkE,WAAY,CACV/C,YACAiF,iBACA+E,sBAGiBtB,W,iCCVrB,MAAMjF,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS3F,KAErD","file":"assets/js/chunk-47291110.5f7a58bb.js","sourcesContent":["import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot } from \"vue\"\n\nconst _hoisted_1 = { class: \"page\" }\nconst _hoisted_2 = { class: \"page-header\" }\nconst _hoisted_3 = { class: \"page-header__name\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"ml-auto right\"\n}\nconst _hoisted_5 = {\n key: 0,\n class: \"toolbar\"\n}\nconst _hoisted_6 = { class: \"page-content\" }\nconst _hoisted_7 = { class: \"row\" }\nconst _hoisted_8 = { class: \"col\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_select_source_component = _resolveComponent(\"select-source-component\")!\n const _component_tirscript3_button = _resolveComponent(\"tirscript3-button\")!\n const _component_tirscript3_loading = _resolveComponent(\"tirscript3-loading\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.name), 1)\n ]),\n (_ctx.selectSource)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createVNode(_component_select_source_component, {\n class: \"mr-2\",\n onOnChangeSource: _ctx.changeSource\n }, null, 8, [\"onOnChangeSource\"]),\n _createVNode(_component_tirscript3_button, {\n class: \"active page-header__bnts\",\n onOnClick: _ctx.changeFilter\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Отфильтровать \")\n ]),\n _: 1\n }, 8, [\"onOnClick\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.$slots.toolbar)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _renderSlot(_ctx.$slots, \"toolbar\")\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_tirscript3_loading, { loading: _ctx.isLoading }, null, 8, [\"loading\"]),\n _renderSlot(_ctx.$slots, \"default\", {\n sourceLogId: _ctx.sourceLogId,\n filterChange: _ctx.filterChange\n })\n ])\n ])\n ])\n ]))\n}","\r\nimport { reactive, ref } from \"vue\";\r\nimport { Options, Vue } from \"vue-class-component\";\r\n\r\nimport DefaultModel from \"tirscript3-component-models/src/defaultModel\";\r\nimport LogsViewFilter from \"@/views/components/filter-component/logs-view-filter.vue\";\r\n\r\nimport UiPaginationComponent from \"./tirscript3-table/tirscript3-pagination.vue\";\r\n\r\nimport ListViewItem from \"tirscript3-list-view/src/ListViewItem\";\r\nimport api from \"@/api\";\r\n// import DefaultModelCaps from \"@/views/a-model/default-modelCaps\";\r\n// import GetProjectLogGroupsResponse from \"@dataSource/LoggerMicroService/Services/Models/Response/GetProjectLogGroupsResponse\";\r\n\r\n@Options({\r\n name: \"page\",\r\n components: {\r\n LogsViewFilter,\r\n },\r\n props: {\r\n searchPlaceholder: { default: \"Поиск\", type: String },\r\n noApi: { default: false, type: Boolean },\r\n noFilter: { default: false, type: Boolean },\r\n defaultSearchField: String,\r\n noPagination: { default: false, type: Boolean },\r\n selectSource: { default: true, type: Boolean },\r\n name: {\r\n type: String,\r\n default: \"Название страницы\",\r\n },\r\n },\r\n watch: {\r\n filter(value) {\r\n this.innerItems = this.filter;\r\n },\r\n },\r\n emits: [\"onAdd\"],\r\n})\r\nexport default class Page extends Vue {\r\n readonly searchPlaceholder: string = \"Поиск\";\r\n readonly name: string = \"Название страницы\";\r\n readonly noApi: boolean = false;\r\n readonly noFilter: boolean = false;\r\n readonly noPagination: boolean = false;\r\n\r\n sourceLogsList: ListViewItem[] = [];\r\n // id источника логов для фильтра\r\n sourceLogId = 0;\r\n filterChange = false;\r\n\r\n isLoading = false;\r\n totalItems = 0;\r\n currentPage = 1;\r\n innerItems: any[] = [];\r\n hasFilter = false;\r\n countPerPage = 10;\r\n pagination = true;\r\n created() {\r\n this.sourceLogsList = [\r\n new ListViewItem(new DefaultModel(-1, \"Все источники\"), true, false),\r\n ];\r\n }\r\n async mounted() {\r\n await this.getSource();\r\n var filter = this.sourceLogsList.filter((el) => el.Selected === true)[0];\r\n const selectedId = filter ? (filter.Value as DefaultModel).id : null;\r\n\r\n this.sourceLogId = selectedId;\r\n }\r\n async getSource() {\r\n let res = [];\r\n try {\r\n // res = await this.$api.ProjectLogGroupService.getProjectLogGroupsAsync();\r\n } catch (error) {\r\n console.log(\"error\", error);\r\n return;\r\n }\r\n res.forEach((element) => {\r\n this.sourceLogsList.push(\r\n new ListViewItem(\r\n new DefaultModel(element.Id, `${element.ProjectName}/${element.ServerName}`),\r\n false,\r\n false\r\n )\r\n );\r\n });\r\n let sourceId = localStorage.getItem(\"source\");\r\n if (sourceId) {\r\n this.sourceLogsList.forEach(\r\n (el) => (el.Selected = (el.Value as DefaultModel).id == Number.parseInt(sourceId))\r\n );\r\n }\r\n }\r\n\r\n onChangeSource(sourceLogId) {\r\n this.sourceLogId = sourceLogId;\r\n }\r\n onClick() {\r\n this.$emit(\"onAdd\");\r\n }\r\n changeFilter() {\r\n // this.filterChange = !this.filterChange;\r\n document.dispatchEvent(\r\n new CustomEvent(\"filterChange\", {\r\n detail: { mode: this.filterChange },\r\n })\r\n );\r\n // console.log(`this.filterChange`, this.filterChange);\r\n }\r\n}\r\n","import { render } from \"./page.vue?vue&type=template&id=ecf623ee&ts=true\"\nimport script from \"./page.vue?vue&type=script&lang=ts\"\nexport * from \"./page.vue?vue&type=script&lang=ts\"\n\nimport \"./page.vue?vue&type=style&index=0&id=ecf623ee&lang=less\"\n\nimport exportComponent from \"D:\\\\Projects\\\\2023\\\\tirscript-logger-microservice-front\\\\logger-microservice-front\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./page.vue?vue&type=style&index=0&id=ecf623ee&lang=less\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./table-view.vue?vue&type=style&index=0&id=1de7d7d3&lang=less\"","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"item-detail\"\n}\nconst _hoisted_2 = { class: \"row detail-method-row\" }\nconst _hoisted_3 = { class: \"detail-method-col mb-3\" }\nconst _hoisted_4 = {\n class: \"key\",\n style: {\"font-weight\":\"bold\"}\n}\nconst _hoisted_5 = { class: \"detail-method-col\" }\nconst _hoisted_6 = { class: \"prop\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"prop no-info\"\n}\n\nimport { onMounted } from \"vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'item-detale',\n props: {\r\n item: {\r\n type: Object,\r\n default: () => ({ Text: \"\", Value: null }),\r\n },\r\n},\n setup(__props) {\n\r\nconst props = __props;\r\n\r\n// const innerItem = computed(() => props.item.value);\r\n\r\nonMounted(() => {\r\n // Called when the component is mounted\r\n // console.log(\"Component is mounted.\");\r\n});\r\n\r\n// const changeMessage = () => {\r\n// props.msg = \"New message!\";\r\n// emits(\"update:message\", props.msg);\r\n// };\r\n\nreturn (_ctx: any,_cache: any) => {\n return (__props.item?.Value || __props.item?.Value == 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _renderSlot(_ctx.$slots, \"title\", {}, () => [\n _createTextVNode(_toDisplayString(__props.item.Text), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _renderSlot(_ctx.$slots, \"default\", {}, () => [\n _createTextVNode(_toDisplayString(__props.item.Value), 1)\n ])\n ]),\n (!__props.item || (!__props.item.Value && __props.item.Value != 0))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, \" нет данных \"))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./item-detale.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./item-detale.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./item-detale.vue?vue&type=style&index=0&id=e14aa28e&lang=less\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, renderSlot as _renderSlot, withCtx as _withCtx, createElementVNode as _createElementVNode, vShow as _vShow, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"table-view\" }\nconst _hoisted_2 = { class: \"table-view-content\" }\nconst _hoisted_3 = { class: \"panel\" }\nconst _hoisted_4 = { class: \"row align-items-center\" }\nconst _hoisted_5 = { class: \"col-auto ml-auto\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"row\"\n}\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"pb-2 pt-4 col-12\",\n style: {\"text-align\":\"center\"}\n}, \" Нет данных \", -1)\nconst _hoisted_8 = [\n _hoisted_7\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_tirscript3_loading = _resolveComponent(\"tirscript3-loading\")!\n const _component_bs_col = _resolveComponent(\"bs-col\")!\n const _component_bs_row = _resolveComponent(\"bs-row\")!\n const _component_tirscript3_pagination = _resolveComponent(\"tirscript3-pagination\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_bs_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_bs_col, null, {\n default: _withCtx(() => [\n _createVNode(_component_tirscript3_loading, { loading: _ctx.isLoading }, null, 8, [\"loading\"]),\n _renderSlot(_ctx.$slots, \"content\", { items: _ctx.innerItems })\n ]),\n _: 3\n })\n ]),\n _: 3\n }),\n _withDirectives(_createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_tirscript3_pagination, {\n ref: \"pagination\",\n size: _ctx.countPerPage,\n count: _ctx.totalItems,\n class: \"mt-4\",\n onOnChange: _ctx.onPaginationChanged\n }, null, 8, [\"size\", \"count\", \"onOnChange\"])\n ])\n ])\n ], 512), [\n [_vShow, !_ctx.noPagination && _ctx.innerItems && _ctx.innerItems.length > 0]\n ]),\n (\r\n !_ctx.noPagination &&\r\n _ctx.innerItems &&\r\n _ctx.innerItems.length == 0 &&\r\n _ctx.isLoading == false\r\n )\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, _hoisted_8))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}","\r\nimport { Options, Prop, Vue, Watch } from \"vue-property-decorator\";\r\nimport DefaultModel from \"tirscript3-component-models/src/defaultModel\";\r\nimport UiPaginationComponent from \"@/views/components/tirscript3-table/tirscript3-pagination.vue\";\r\nimport ListViewItem from \"tirscript3-list-view/src/ListViewItem\";\r\nimport PageRequest from \"@/dataSource/api/pagination-helper/lib/PageRequest\";\r\n\r\n@Options({\r\n name: \"TableView\",\r\n})\r\nexport default class TableView extends Vue {\r\n @Prop({ required: true }) getDataFuncAsync: Function;\r\n @Prop({ default: false }) noPagination: boolean;\r\n @Prop() filter: {};\r\n\r\n innerFilter: PageRequest = { Skip: 0, Take: 20 };\r\n\r\n isLoading = false;\r\n totalItems = 0;\r\n currentPage = 1;\r\n innerItems: any[] = [];\r\n\r\n hasFilter = false;\r\n\r\n countPerPage = 10;\r\n pagination = true;\r\n search = \"\";\r\n countOnPageItems = [];\r\n\r\n @Watch(\"filter\", { deep: true })\r\n onFilter() {\r\n this.refresh();\r\n }\r\n mounted() {\r\n this.countOnPageItems = [\r\n new ListViewItem(new DefaultModel(1, \"10\"), true, false),\r\n new ListViewItem(new DefaultModel(2, \"20\"), false, false),\r\n new ListViewItem(new DefaultModel(3, \"50\"), false, false),\r\n new ListViewItem(new DefaultModel(4, \"100\"), false, false),\r\n ];\r\n }\r\n async created() {\r\n await this.refresh();\r\n }\r\n\r\n sort(sortName: string, sortType: string) {\r\n // if (sortName != \"\" && this.innerFilter.Sort == null) {\r\n // this.innerFilter.Sort = { FieldName: \"\", Desc: false };\r\n // }\r\n // this.innerFilter.Sort.FieldName = sortName;\r\n // this.innerFilter.Sort.Desc = sortType == \"1\";\r\n // (this.$refs.pagination as UiPaginationComponent).currentPage = 1;\r\n\r\n this.refresh();\r\n }\r\n\r\n async refresh() {\r\n this.isLoading = true;\r\n let response;\r\n // if (this.innerFilter.Sort && this.innerFilter.Sort.FieldName == \"\") {\r\n // this.innerFilter.Sort = null;\r\n // }\r\n\r\n try {\r\n response = await this.getDataFuncAsync(this.innerFilter);\r\n } catch (error) {\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n\r\n this.totalItems = response.Count;\r\n this.innerItems = response.Items;\r\n }\r\n\r\n get pageSize(): number {\r\n const x = this.innerFilter.Take;\r\n return x;\r\n }\r\n\r\n resetPagination() {\r\n this.innerFilter.Skip = 0;\r\n this.currentPage = 1;\r\n this.totalItems = 0;\r\n }\r\n onSort(sortName: string, sortType: string) {\r\n // console.log(\"sortType\", sortType);\r\n // this.resetPagination();\r\n // this.filter.Sort = new SortRequest({\r\n // FieldName: sortName,\r\n // Desc: sortType == \"1\",\r\n // });\r\n // this.refresh();\r\n }\r\n\r\n onChangePagePerPage(item: ListViewItem[]) {\r\n this.innerFilter.Take = Number((item[0].Value as DefaultModel).name);\r\n this.resetPagination();\r\n this.refresh();\r\n }\r\n\r\n onPaginationChanged(currentPage: number) {\r\n this.currentPage = currentPage;\r\n this.innerFilter.Skip = (currentPage - 1) * this.innerFilter.Take;\r\n this.refresh();\r\n }\r\n}\r\n","import { render } from \"./table-view.vue?vue&type=template&id=1de7d7d3&ts=true\"\nimport script from \"./table-view.vue?vue&type=script&lang=ts\"\nexport * from \"./table-view.vue?vue&type=script&lang=ts\"\n\nimport \"./table-view.vue?vue&type=style&index=0&id=1de7d7d3&lang=less\"\n\nimport exportComponent from \"D:\\\\Projects\\\\2023\\\\tirscript-logger-microservice-front\\\\logger-microservice-front\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./logs-view-detail-page.vue?vue&type=style&index=0&id=30c752cf&lang=less\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./item-detale.vue?vue&type=style&index=0&id=e14aa28e&lang=less\"","import { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"logs-view\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"detail-method-block\"\n}\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_4 = {\n key: 1,\n class: \"row\"\n}\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"pb-2 pt-4 col-12\",\n style: {\"text-align\":\"center\"}\n}, \"Нет данных\", -1)\nconst _hoisted_6 = [\n _hoisted_5\n]\nconst _hoisted_7 = {\n key: 0,\n class: \"row mt-2 justify-content-center\"\n}\nconst _hoisted_8 = {\n key: 1,\n class: \"row mt-2 justify-content-center\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_tirscript3_button = _resolveComponent(\"tirscript3-button\")!\n const _component_tirscript3_loading = _resolveComponent(\"tirscript3-loading\")!\n const _component_ItemDetale = _resolveComponent(\"ItemDetale\")!\n const _component_page = _resolveComponent(\"page\")!\n\n return (_openBlock(), _createBlock(_component_page, { name: \"Детальная страница методов логов\" }, {\n default: _withCtx((slotProps) => [\n _createVNode(_component_tirscript3_button, {\n style: {\"width\":\"100px\"},\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$router.go(-1)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Назад \")\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_tirscript3_loading, { loading: _ctx.isLoading }, null, 8, [\"loading\"]),\n (_ctx.item)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createVNode(_component_ItemDetale, {\n item: { Text: 'ProjectName', Value: _ctx.item.ProjectName }\n }, null, 8, [\"item\"]),\n _createVNode(_component_ItemDetale, {\n item: { Text: 'Источник', Value: _ctx.item.RequestLength }\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.item.ServerName) + \" / \" + _toDisplayString(_ctx.item.ProjectName) + \" (\" + _toDisplayString(_ctx.item.ProjectLogGroupId) + \") \", 1)\n ]),\n _: 1\n }, 8, [\"item\"]),\n _createVNode(_component_ItemDetale, {\n item: { Text: 'Метод', Value: _ctx.item.RequestLength }\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.item.Class) + \" / \" + _toDisplayString(_ctx.item.Method), 1)\n ]),\n _: 1\n }, 8, [\"item\"]),\n (_ctx.item?.DateEnd)\n ? (_openBlock(), _createBlock(_component_ItemDetale, {\n key: 0,\n item: { Text: 'DateStart / DateEnd', Value: _ctx.item.DateStart }\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$filters.DateFormat(_ctx.item.DateStart)) + \" / \" + _toDisplayString((_ctx.item.DateEnd, _ctx.$filters.DateFormat(_ctx.item.DateEnd))) + \" \", 1),\n _hoisted_3,\n _createTextVNode(\" \" + _toDisplayString(_ctx.item.DateEnd ? _ctx.$filters.IntervalMs(_ctx.item.DateStart, _ctx.item.DateEnd) : \"\"), 1)\n ]),\n _: 1\n }, 8, [\"item\"]))\n : (_openBlock(), _createBlock(_component_ItemDetale, {\n key: 1,\n item: { Text: 'DateCreate', Value: (_ctx.item as any).DateCreate }\n }, null, 8, [\"item\"])),\n _createVNode(_component_ItemDetale, {\n item: { Text: 'RequestLength', Value: _ctx.item.RequestLength }\n }, null, 8, [\"item\"]),\n _createVNode(_component_ItemDetale, {\n item: { Text: 'ResponseLength', Value: _ctx.item.ResponseLength }\n }, null, 8, [\"item\"]),\n _createVNode(_component_ItemDetale, {\n item: { Text: 'LogLevel', Value: _ctx.item.LogLevel }\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$filters.LogLevel(_ctx.item.LogLevel)) + \"(\" + _toDisplayString(_ctx.item.LogLevel) + \") \", 1)\n ]),\n _: 1\n }, 8, [\"item\"]),\n _createVNode(_component_ItemDetale, {\n item: { Text: 'Ip / UserId', Value: _ctx.item.Ip }\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.item.Ip) + \" /\" + _toDisplayString(_ctx.item.UserId), 1)\n ]),\n _: 1\n }, 8, [\"item\"]),\n _createVNode(_component_ItemDetale, {\n item: { Text: 'SessionToken', Value: _ctx.item.SessionToken }\n }, null, 8, [\"item\"]),\n _createVNode(_component_ItemDetale, {\n item: { Text: 'ConnectionId', Value: _ctx.item.ConnectionId }\n }, null, 8, [\"item\"]),\n _createVNode(_component_ItemDetale, {\n item: { Text: 'RequestId', Value: _ctx.item.RequestId }\n }, null, 8, [\"item\"]),\n _createVNode(_component_ItemDetale, {\n item: { Text: 'RequestBody', Value: _ctx.item.RequestBody }\n }, null, 8, [\"item\"]),\n _createVNode(_component_ItemDetale, {\n item: { Text: 'UserAgent', Value: _ctx.item.UserAgent }\n }, null, 8, [\"item\"]),\n _createVNode(_component_ItemDetale, {\n item: { Text: 'Error', Value: _ctx.item.Error }\n }, null, 8, [\"item\"])\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.item && _ctx.isLoading == false)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, _hoisted_6))\n : _createCommentVNode(\"\", true)\n ]),\n (!_ctx.error1.isSuccess)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, _toDisplayString(_ctx.error1.errorMessage), 1))\n : _createCommentVNode(\"\", true),\n (!_ctx.error2.isSuccess)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, _toDisplayString(_ctx.error2.errorMessage), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n}","\r\nimport { Options, Prop, Vue, Watch } from \"vue-property-decorator\";\r\nimport Page from \"@views/page/components/page.vue\";\r\nimport TableView from \"@views/page/components/table-view.vue\";\r\nimport FilterModel from \"../components/filter-model\";\r\nimport GetEndpointLogDetailsResponse from \"@/dataSource/api/logger-micro-service/services/models/response/log-getter-service/GetEndpointLogDetailsResponse\";\r\nimport PageRequest from \"@/dataSource/api/pagination-helper/lib/PageRequest\";\r\nimport ItemDetale from \"@views/page/components/item-detale.vue\";\r\n\r\n@Options({\r\n name: \"LogsViewDetailPage\",\r\n components: {\r\n Page,\r\n TableView,\r\n ItemDetale,\r\n },\r\n})\r\nexport default class ContentLogsDateailView extends Vue {\r\n @Prop({ default: new FilterModel() }) filter: FilterModel;\r\n @Prop({ default: null }) slotProps: {\r\n sourceLogId: Number;\r\n filterChange: Boolean;\r\n };\r\n innerFilter: string;\r\n item: GetEndpointLogDetailsResponse = null;\r\n // itemDataLogs: GetEndpointLogDataResponse = null;\r\n requestId: string = \"\";\r\n page: PageRequest = { Take: 20, Skip: 0 };\r\n count = 0;\r\n noPagination = false;\r\n isLoading = false;\r\n error1 = {\r\n isSuccess: true,\r\n errorMessage: \"\",\r\n };\r\n error2 = {\r\n isSuccess: true,\r\n errorMessage: \"\",\r\n };\r\n\r\n @Watch(\"filter\", { deep: true })\r\n onFilter() {\r\n // this.refresh();\r\n }\r\n\r\n created(): void {\r\n if (this.$route.params.id) this.requestId = String(this.$route.params.id);\r\n }\r\n\r\n mounted() {\r\n this.getEndpointLogDetails();\r\n // this.getEndpointLogData();\r\n }\r\n\r\n async getEndpointLogDetails() {\r\n this.isLoading = true;\r\n try {\r\n let response;\r\n if (this.$route.params?.isActive == \"true\") {\r\n response = await this.$api.LogGetterService.getActiveEndpointLogDetailsAsync(\r\n `\"${this.requestId}\"`\r\n );\r\n } else {\r\n response = await this.$api.LogGetterService.getEndpointLogDetailsAsync(\r\n `\"${this.requestId}\"`\r\n );\r\n }\r\n if (response) {\r\n this.item = response;\r\n }\r\n } catch (error) {\r\n this.error1.isSuccess = false;\r\n this.error1.errorMessage = error;\r\n this.isLoading = false;\r\n }\r\n this.isLoading = false;\r\n }\r\n\r\n // async getEndpointLogData() {\r\n // this.isLoading = true;\r\n // try {\r\n // let response = await this.$api.LogGetterService.getEndpointLogDataAsync(\r\n // `\"${this.requestId}\"`\r\n // );\r\n // if (response) {\r\n // this.itemDataLogs = response;\r\n // console.log(this.itemDataLogs, \"itemDataLogs\");\r\n // }\r\n // } catch (error) {\r\n // this.error2.isSuccess = false;\r\n // this.error2.errorMessage = error;\r\n // this.isLoading = false;\r\n // }\r\n // this.isLoading = false;\r\n // }\r\n\r\n //событие срабатывет при изменении пагинации при просмотре\r\n onPaginationChanged(page: number) {\r\n let skip = (page - 1) * this.page.Take;\r\n if (this.page.Skip === skip) {\r\n return;\r\n }\r\n this.page.Skip = skip;\r\n this.getEndpointLogDetails();\r\n }\r\n\r\n getIntervalTime(dateStart: Date, dateEnd: Date): number {\r\n return new Date(dateEnd).getTime() - new Date(dateStart).getTime();\r\n }\r\n\r\n onReadMore(id: string) {\r\n console.log(`id=`, id);\r\n }\r\n}\r\n","import { render } from \"./logs-view-detail-page.vue?vue&type=template&id=30c752cf&ts=true\"\nimport script from \"./logs-view-detail-page.vue?vue&type=script&lang=ts\"\nexport * from \"./logs-view-detail-page.vue?vue&type=script&lang=ts\"\n\nimport \"./logs-view-detail-page.vue?vue&type=style&index=0&id=30c752cf&lang=less\"\n\nimport exportComponent from \"D:\\\\Projects\\\\2023\\\\tirscript-logger-microservice-front\\\\logger-microservice-front\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"sourceRoot":""}