{"version":3,"sources":["webpack:///./src/views/page/methods-of-logs/active-logs-view-page.vue?c98b","webpack:///./src/views/page/view-filter.vue?ec69","webpack:///./src/views/page/methods-of-logs/active-logs-view-page.vue?8ed1","webpack:///./src/views/page/methods-of-logs/active-logs-view-page.vue?3046","webpack:///./src/views/page/methods-of-logs/active-logs-view-page.vue","webpack:///./src/views/page/view-filter.vue?3d49","webpack:///./src/views/page/view-filter.vue?efcb","webpack:///./src/views/page/view-filter.vue"],"names":["_hoisted_1","_createElementVNode","class","render","_ctx","_cache","$props","$setup","$data","$options","_component_filter_component","_resolveComponent","_component_logs_view","_component_bs_col","_component_bs_row","_component_page","_openBlock","_createBlock","name","selectSource","toolbar","_withCtx","_createVNode","filter","filterModel","$event","onFilterData","filterData","selectInterval","methods","logsType","default","slotProps","isActive","filterModelView","_createCommentVNode","key","_","ActiveMethodsLogsViewPage","Vue","constructor","FilterModel","getUtc","mounted","this","getInLocalStor","document","addEventListener","onclickFilterChange","bind","destroy","removeEventListener","JSON","parse","stringify","console","log","DateTo","DateFrom","OnlyActiveRequests","saveInLocalStor","localStorage","activeMethodLogsViewPage","t","Date","getTimezoneOffset","addMinutes","date","minutes","getTime","__decorate","Options","components","Page","ViewFilter","LogsView","props","watch","deep","immediate","handler","value","sourceLogId","source","__exports__","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_component_tirscript3_dropdown","_component_tirscript3_button","_createElementBlock","_Fragment","style","placeholder","items","controllerMethods","onChange","onChangeControllerMethods","autocomplete","onChangeAutocomlite","logsTypes","onChangeLogsType","logsLevel","logsLevels","onChangeLogsLevel","addPanel","url","_withDirectives","Url","tabindex","_vModelText","SessionToken","Ip","UserId","ConnectionId","requestId","RequestId","active","onOnClick","clearFilter","_createTextVNode","searchEndpoint","onFilter","length","LogLevel","forEach","el","Selected","Value","id","logType","LogType","EndpointId","$emit","getlogsLevels","getlogsTypes","getControllerMethods","ListViewItem","DefaultModel","push","res","$api","EndpointService","getEndpointsAsync","Skip","Take","Search","error","Items","Id","Class","Method","index","$filters","toString","Prop","Watch"],"mappings":"2IAAA,W,oCCAA,W,yDCEA,MAAMA,EAA0BC,eAAoB,MAAO,CAAEC,MAAO,cAAgB,kCAAmC,GAEjH,SAAUC,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,MAAMC,EAA8BC,eAAkB,oBAChDC,EAAuBD,eAAkB,aACzCE,EAAoBF,eAAkB,UACtCG,EAAoBH,eAAkB,UACtCI,EAAkBJ,eAAkB,QAE1C,OAAQK,iBAAcC,eAAaF,EAAiB,CAClDG,KAAM,4BACNC,cAAc,GACb,CACDC,QAASC,eAAS,IAAM,CACtBC,eAAaZ,EAA6B,CACxCa,OAAQnB,EAAKoB,YACb,kBAAmBnB,EAAO,KAAOA,EAAO,GAAMoB,GAAkBrB,EAAKoB,YAAeC,GACpFC,aAActB,EAAKuB,WACnBC,gBAAgB,EAChBC,SAAS,EACTC,UAAU,GACT,KAAM,EAAG,CAAC,SAAU,mBAEzBC,QAASV,eAAUW,GAAc,CAC/BV,eAAaV,EAAsB,CACjCqB,UAAU,EACVV,OAAQnB,EAAK8B,iBACZ,KAAM,EAAG,CAAC,WACX9B,EAAK8B,gBAYHC,eAAoB,IAAI,IAXvBnB,iBAAcC,eAAaH,EAAmB,CAAEsB,IAAK,GAAK,CACzDL,QAASV,eAAS,IAAM,CACtBC,eAAaT,EAAmB,KAAM,CACpCkB,QAASV,eAAS,IAAM,CACtBrB,IAEFqC,EAAG,MAGPA,EAAG,OAIXA,EAAG,I,yFCHP,IAAqBC,EAArB,cAAuDC,OAAvDC,c,oBACW,KAAAR,UAAY,GAErB,KAAAR,YAA2B,IAAIiB,OAC/B,KAAAP,gBAA+B,IAAIO,OACnC,KAAAC,OAASA,OACTC,UACEC,KAAKC,iBAELC,SAASC,iBACP,eACAH,KAAKI,oBAAoBC,KAAKL,OAKlCM,UACEJ,SAASK,oBACP,eACAP,KAAKI,oBAAoBC,KAAKL,OAGlCj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9B9G,KAAK0D,UAAUuC,KACb,IAAIF,OACF,IAAIC,OAAac,EAAO9G,KAAK+G,SAAStB,QAAQqB,GAAOE,aACrD,GACA,IAKRnC,cACE7E,KAAKrB,OAAOuF,IAAM,GAClBlE,KAAKrB,OAAO8G,QAAU,KACtBzF,KAAKrB,OAAOuG,SAAW,KACvBlF,KAAKrB,OAAOuF,IAAM,GAClBlE,KAAKrB,OAAO0F,aAAe,GAC3BrE,KAAKrB,OAAO2F,GAAK,GACjBtE,KAAKrB,OAAO4F,OAAS,GACrBvE,KAAKrB,OAAO6F,aAAe,GAC3BxE,KAAKrB,OAAO+F,UAAY,GACxB1E,KAAKrB,OAAO4D,OAAS,OA5Ieb,eAAA,CAArCuF,eAAK,CAAE9H,QAAS,IAAIU,U,6BACI6B,eAAA,CAAxBuF,eAAK,CAAE9H,SAAS,K,+BACQuC,eAAA,CAAxBuF,eAAK,CAAE9H,SAAS,K,gCACQuC,eAAA,CAAxBuF,eAAK,CAAE9H,SAAS,K,gCACQuC,eAAA,CAAxBuF,eAAK,CAAE9H,SAAS,K,0BACQuC,eAAA,CAAxBuF,eAAK,CAAE9H,SAAS,K,+BACSuC,eAAA,CAAzBuF,eAAK,CAAE9H,SAAS,K,8BAGjBuC,eAAA,CADCwF,eAAM,SAAU,CAAEhF,MAAM,K,6BATNJ,EAAUJ,eAAA,CAH9BC,eAAoB,CACnBrD,KAAM,gBAEawD,W,iCCHrB,MAAMU,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASjF,KAErD","file":"assets/js/chunk-2e22b7ec.bba80940.js","sourcesContent":["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!./active-logs-view-page.vue?vue&type=style&index=0&id=6ae13b68&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!./view-filter.vue?vue&type=style&index=0&id=3e2c47e6&lang=less\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"set-filter\" }, \"Нажмите кнопку отфильтровать!!\", -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_filter_component = _resolveComponent(\"filter-component\")!\n const _component_logs_view = _resolveComponent(\"logs-view\")!\n const _component_bs_col = _resolveComponent(\"bs-col\")!\n const _component_bs_row = _resolveComponent(\"bs-row\")!\n const _component_page = _resolveComponent(\"page\")!\n\n return (_openBlock(), _createBlock(_component_page, {\n name: \"Просмотр активных методов\",\n selectSource: false\n }, {\n toolbar: _withCtx(() => [\n _createVNode(_component_filter_component, {\n filter: _ctx.filterModel,\n \"onUpdate:filter\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.filterModel) = $event)),\n onFilterData: _ctx.filterData,\n selectInterval: false,\n methods: true,\n logsType: false\n }, null, 8, [\"filter\", \"onFilterData\"])\n ]),\n default: _withCtx((slotProps) => [\n _createVNode(_component_logs_view, {\n isActive: true,\n filter: _ctx.filterModelView\n }, null, 8, [\"filter\"]),\n (!_ctx.filterModelView)\n ? (_openBlock(), _createBlock(_component_bs_row, { key: 0 }, {\n default: _withCtx(() => [\n _createVNode(_component_bs_col, null, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n}","\r\nimport { Options, Vue } from \"vue-class-component\";\r\n\r\nimport Page from \"@views/page/components/page.vue\";\r\nimport LogsView from \"@views/page/logs-view.vue\";\r\n\r\nimport ViewFilter from \"@views/page/view-filter.vue\";\r\n//import LogsViewFilter from \"@views/page/logs-view-filter.vue\";\r\nimport FilterModel from \"../components/filter-model\";\r\nimport getUtc from \"@/filters/getUtc\";\r\nimport PageRequest from \"@/dataSource/api/pagination-helper/lib/PageRequest\";\r\n\r\n@Options({\r\n components: {\r\n Page,\r\n //LogsViewFilter,\r\n ViewFilter,\r\n LogsView,\r\n },\r\n props: { slotProps: {} },\r\n\r\n watch: {\r\n //параметры заходящие через слот\r\n //пока только идентификатор источника логов(sourceLogId)\r\n slotProps: {\r\n deep: true,\r\n immediate: true,\r\n handler(value) {\r\n if (value?.sourceLogId) {\r\n this.filterModel.source = value.sourceLogId;\r\n }\r\n },\r\n },\r\n filterModel: {\r\n deep: true,\r\n handler(value) {\r\n // this.saveInLocalStor();\r\n },\r\n },\r\n },\r\n})\r\nexport default class ActiveMethodsLogsViewPage extends Vue {\r\n readonly slotProps = {};\r\n pagination: PageRequest;\r\n filterModel: FilterModel = new FilterModel();\r\n filterModelView: FilterModel = new FilterModel();\r\n getUtc = getUtc;\r\n mounted() {\r\n this.getInLocalStor();\r\n // подписываемся на событие отфильтровать в компоненте Page\r\n document.addEventListener(\r\n \"filterChange\",\r\n this.onclickFilterChange.bind(this)\r\n );\r\n //чтобы скопировать значение, а ссылку и исключить реактивность. Обновление только по кнопке отфильтровать.\r\n // this.filterModelView = JSON.parse(JSON.stringify(this.filterModel));\r\n }\r\n destroy() {\r\n document.removeEventListener(\r\n \"filterChange\",\r\n this.onclickFilterChange.bind(this)\r\n );\r\n }\r\n filterData() {\r\n this.filterModelView = JSON.parse(JSON.stringify(this.filterModel));\r\n }\r\n onclickFilterChange() {\r\n console.log(\"onclickFilterChange\", this.filterModel);\r\n\r\n // ловим событие нажатия кнопки отфильтровать\r\n this.filterModel.DateTo = this.filterModel.DateTo;\r\n this.filterModel.DateFrom = this.filterModel.DateFrom;\r\n\r\n // this.filterModelView = JSON.parse(JSON.stringify(this.filterModel));\r\n this.filterModelView.OnlyActiveRequests = true;\r\n // this.filterModelView.LogLevel = undefined;\r\n //сохраняем в локал сторедж состояние фильтра для текущей страницы\r\n this.saveInLocalStor();\r\n }\r\n\r\n //сохранить модель фильтра для страницы\r\n saveInLocalStor() {\r\n localStorage.activeMethodLogsViewPage = JSON.stringify(\r\n this.filterModelView\r\n );\r\n }\r\n //получить данные фильтра для страницы если они есть\r\n getInLocalStor() {\r\n if (localStorage.activeMethodLogsViewPage) {\r\n this.filterModel = JSON.parse(localStorage.activeMethodLogsViewPage);\r\n const t = new Date().getTimezoneOffset();\r\n this.filterModel.DateFrom = this.addMinutes(this.filterModel.DateFrom, t);\r\n this.filterModel.DateTo = this.addMinutes(this.filterModel.DateTo, t);\r\n // this.filterModel.DateTo = new Date(this.filterModel.DateTo);\r\n }\r\n }\r\n\r\n addMinutes(date, minutes) {\r\n return new Date(new Date(date).getTime() + minutes * 60000);\r\n }\r\n //var date = convertUTCDateToLocalDate(new Date(date_string_you_received));\r\n}\r\n","import { render } from \"./active-logs-view-page.vue?vue&type=template&id=6ae13b68&ts=true\"\nimport script from \"./active-logs-view-page.vue?vue&type=script&lang=ts\"\nexport * from \"./active-logs-view-page.vue?vue&type=script&lang=ts\"\n\nimport \"./active-logs-view-page.vue?vue&type=style&index=0&id=6ae13b68&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__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vModelText as _vModelText, createElementVNode as _createElementVNode, withDirectives as _withDirectives, createTextVNode as _createTextVNode, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"ui-input mb-3\" }\nconst _hoisted_2 = { class: \"ui-input mb-3\" }\nconst _hoisted_3 = { class: \"ui-input mb-3\" }\nconst _hoisted_4 = { class: \"ui-input mb-3\" }\nconst _hoisted_5 = { class: \"ui-input mb-3\" }\nconst _hoisted_6 = { class: \"ui-input mb-3\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_bs_row = _resolveComponent(\"bs-row\")!\n const _component_tirscript3_dropdown = _resolveComponent(\"tirscript3-dropdown\")!\n const _component_bs_col = _resolveComponent(\"bs-col\")!\n const _component_tirscript3_button = _resolveComponent(\"tirscript3-button\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_bs_row, { class: \"mb-2\" }, {\n default: _withCtx(() => [\n _createVNode(_component_bs_col, { style: {\"background\":\"#eee\"} }, {\n default: _withCtx(() => [\n _createVNode(_component_bs_row, { class: \"my-2\" }),\n _createVNode(_component_bs_row, { class: \"my-2\" }, {\n default: _withCtx(() => [\n (_ctx.methods)\n ? (_openBlock(), _createBlock(_component_bs_col, { key: 0 }, {\n default: _withCtx(() => [\n _createVNode(_component_tirscript3_dropdown, {\n placeholder: \"Контроллер/метод\",\n items: _ctx.controllerMethods,\n onChange: _ctx.onChangeControllerMethods,\n autocomplete: \"\",\n onChangeAutocomlite: _ctx.onChangeAutocomlite\n }, null, 8, [\"items\", \"onChange\", \"onChangeAutocomlite\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.logsType)\n ? (_openBlock(), _createBlock(_component_bs_col, { key: 1 }, {\n default: _withCtx(() => [\n _createVNode(_component_tirscript3_dropdown, {\n placeholder: \"Типы логов\",\n items: _ctx.logsTypes,\n onChange: _ctx.onChangeLogsType\n }, null, 8, [\"items\", \"onChange\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.logsLevel)\n ? (_openBlock(), _createBlock(_component_bs_col, { key: 2 }, {\n default: _withCtx(() => [\n _createVNode(_component_tirscript3_dropdown, {\n placeholder: \"Уровень логов\",\n items: _ctx.logsLevels,\n onChange: _ctx.onChangeLogsLevel\n }, null, 8, [\"items\", \"onChange\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n (_ctx.addPanel)\n ? (_openBlock(), _createBlock(_component_bs_row, {\n key: 0,\n class: \"mb-2\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_bs_col, { style: {\"background\":\"#eee\"} }, {\n default: _withCtx(() => [\n _createVNode(_component_bs_row, { class: \"my-2\" }, {\n default: _withCtx(() => [\n (_ctx.url)\n ? (_openBlock(), _createBlock(_component_bs_col, {\n key: 0,\n class: \"min-width\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.filter.Url) = $event)),\n placeholder: \"Url...\",\n tabindex: \"10\"\n }, null, 512), [\n [_vModelText, _ctx.filter.Url]\n ])\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_bs_col, { class: \"min-width\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _withDirectives(_createElementVNode(\"input\", {\n placeholder: \"SessionToken...\",\n tabindex: \"10\",\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.filter.SessionToken) = $event))\n }, null, 512), [\n [_vModelText, _ctx.filter.SessionToken]\n ])\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_bs_col, { class: \"min-width\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.filter.Ip) = $event)),\n placeholder: \"Ip...\",\n tabindex: \"10\"\n }, null, 512), [\n [_vModelText, _ctx.filter.Ip]\n ])\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_bs_col, { class: \"min-width\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, [\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.filter.UserId) = $event)),\n placeholder: \"UserId...\",\n tabindex: \"10\"\n }, null, 512), [\n [_vModelText, _ctx.filter.UserId]\n ])\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_bs_col, { class: \"min-width\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_5, [\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.filter.ConnectionId) = $event)),\n placeholder: \"ConnectionId...\",\n tabindex: \"10\"\n }, null, 512), [\n [_vModelText, _ctx.filter.ConnectionId]\n ])\n ])\n ]),\n _: 1\n }),\n (_ctx.requestId)\n ? (_openBlock(), _createBlock(_component_bs_col, {\n key: 1,\n class: \"min-width\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_6, [\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.filter.RequestId) = $event)),\n placeholder: \"RequestId...\",\n tabindex: \"10\"\n }, null, 512), [\n [_vModelText, _ctx.filter.RequestId]\n ])\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_bs_col, { class: \"col-auto\" }, {\n default: _withCtx(() => [\n _createVNode(_component_tirscript3_button, {\n active: \"\",\n style: {\"max-width\":\"20px\",\"min-width\":\"20px\"},\n onOnClick: _ctx.clearFilter\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" X \")\n ]),\n _: 1\n }, 8, [\"onOnClick\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\r\nimport { Options, Vue, Prop, Watch } from \"vue-property-decorator\";\r\nimport ListViewItem from \"tirscript3-list-view/src/ListViewItem\";\r\nimport DefaultModel from \"tirscript3-component-models/src/defaultModel\";\r\nimport FilterModel from \"@views/page/components/filter-model\";\r\nimport GetEndpointsByNameResponse from \"@/dataSource/api/logger-micro-service/services/models/response/endpoint-service/GetEndpointsByNameResponse\";\r\n\r\n@Options({\r\n name: \"ViewFilter\",\r\n})\r\nexport default class ViewFilter extends Vue {\r\n @Prop({ default: new FilterModel() }) filter: FilterModel;\r\n @Prop({ default: true }) logsType: Boolean;\r\n @Prop({ default: true }) logsLevel: Boolean;\r\n @Prop({ default: true }) requestId: Boolean;\r\n @Prop({ default: true }) url: Boolean;\r\n @Prop({ default: true }) addPanel: Boolean;\r\n @Prop({ default: false }) methods: Boolean;\r\n\r\n @Watch(\"filter\", { deep: true })\r\n onFilter(value) {\r\n if (this.logsLevels && this.logsLevels.length > 0) {\r\n const logsLevels = this.filter.LogLevel ? this.filter.LogLevel : null;\r\n this.logsLevels.forEach(\r\n (el) => (el.Selected = (el.Value as DefaultModel).id == logsLevels)\r\n );\r\n }\r\n if (this.logsTypes && this.logsTypes.length > 0) {\r\n const logType = this.filter.LogType ? this.filter.LogType : null;\r\n this.logsTypes.forEach(\r\n (el) => (el.Selected = (el.Value as DefaultModel).id == logType)\r\n );\r\n }\r\n if (this.controllerMethods && this.controllerMethods.length > 0) {\r\n const EndpointId = this.filter.EndpointId ? this.filter.EndpointId : null;\r\n this.controllerMethods.forEach(\r\n (el) => (el.Selected = (el.Value as DefaultModel).id == EndpointId)\r\n );\r\n }\r\n this.$emit(\"update:filter\", this.filter);\r\n }\r\n\r\n controllerMethods: ListViewItem[] = [];\r\n logsLevels: ListViewItem[] = [];\r\n logsTypes: ListViewItem[] = [];\r\n searchEndpoint = \"\";\r\n mounted() {\r\n // console.log(`requestId`, this.requestId);\r\n this.getlogsLevels();\r\n this.getlogsTypes();\r\n this.getControllerMethods();\r\n }\r\n onclickFilterChange() {\r\n // ловим событие нажатия кнопки отфильтровать\r\n // debugger;\r\n // this.$emit(\"update:filter\", this.filterModel);\r\n }\r\n onChangeLogsType(items: ListViewItem[]) {\r\n let id = (\r\n items.filter((el) => el.Selected === true)[0].Value as DefaultModel\r\n ).id;\r\n if (id == -1) id = null;\r\n this.filter.LogType = id;\r\n }\r\n onChangeLogsLevel(items: ListViewItem[]) {\r\n let id = (\r\n items.filter((el) => el.Selected === true)[0].Value as DefaultModel\r\n ).id;\r\n if (id == -1) id = null;\r\n this.filter.LogLevel = id;\r\n }\r\n onChangeControllerMethods(items: ListViewItem[]) {\r\n let id = (\r\n items.filter((el) => el.Selected === true)[0].Value as DefaultModel\r\n ).id;\r\n if (id == -1) id = null;\r\n this.filter.EndpointId = id;\r\n }\r\n\r\n getlogsLevels() {\r\n this.logsLevels = [\r\n new ListViewItem(new DefaultModel(null, \"All logs level\"), true, false),\r\n new ListViewItem(new DefaultModel(0, \"Debug\"), false, false),\r\n new ListViewItem(new DefaultModel(1, \"Trace\"), false, false),\r\n new ListViewItem(new DefaultModel(3, \"Info\"), false, false),\r\n new ListViewItem(new DefaultModel(4, \"Warn\"), false, false),\r\n new ListViewItem(new DefaultModel(5, \"Error\"), false, false),\r\n ];\r\n }\r\n onChangeAutocomlite(value: string) {\r\n this.searchEndpoint = value;\r\n this.getControllerMethods();\r\n }\r\n async getControllerMethods() {\r\n if (!this.methods) {\r\n return;\r\n }\r\n this.controllerMethods = [];\r\n\r\n this.controllerMethods.push(\r\n new ListViewItem(\r\n new DefaultModel(null, \"Любой контроллер/метод\"),\r\n true,\r\n false\r\n )\r\n );\r\n let res: GetEndpointsByNameResponse = null;\r\n try {\r\n res = await this.$api.EndpointService.getEndpointsAsync({\r\n Page: { Skip: 0, Take: 30 },\r\n Search: this.searchEndpoint,\r\n });\r\n } catch (error) {\r\n return;\r\n }\r\n\r\n res.Items.forEach((el) => {\r\n this.controllerMethods.push(\r\n new ListViewItem(\r\n new DefaultModel(el.Id, `${el.Class} / ${el.Method}`),\r\n false,\r\n false\r\n )\r\n );\r\n });\r\n }\r\n\r\n getlogsTypes() {\r\n this.logsTypes = [\r\n new ListViewItem(new DefaultModel(null, \"All logs types\"), true, false),\r\n ];\r\n for (let index = 0; index < 11; index++) {\r\n this.logsTypes.push(\r\n new ListViewItem(\r\n new DefaultModel(index, this.$filters.LogType(index).toString()),\r\n false,\r\n false\r\n )\r\n );\r\n }\r\n }\r\n clearFilter() {\r\n this.filter.Url = \"\";\r\n this.filter.LogType = null;\r\n this.filter.LogLevel = null;\r\n this.filter.Url = \"\";\r\n this.filter.SessionToken = \"\";\r\n this.filter.Ip = \"\";\r\n this.filter.UserId = \"\";\r\n this.filter.ConnectionId = \"\";\r\n this.filter.RequestId = \"\";\r\n this.filter.source = null;\r\n }\r\n}\r\n","import { render } from \"./view-filter.vue?vue&type=template&id=3e2c47e6&ts=true\"\nimport script from \"./view-filter.vue?vue&type=script&lang=ts\"\nexport * from \"./view-filter.vue?vue&type=script&lang=ts\"\n\nimport \"./view-filter.vue?vue&type=style&index=0&id=3e2c47e6&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":""}