{"version":3,"sources":["webpack:///./src/views/page/methods-of-logs/metod-list/metod-list.vue?8c8f","webpack:///./src/dataSource/api/analytic-endpoints/i-services/models/request/EndpointsRequest.ts","webpack:///./src/views/page/methods-of-logs/metod-list/metod-list.vue?7ea5","webpack:///./src/views/page/methods-of-logs/metod-list/metod-list.vue","webpack:///./src/function/getUTC.ts","webpack:///./src/dataSource/api/pagination-helper/lib/PageResponse.ts","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/methods-of-logs/metod-list/metod-list.vue?cafa"],"names":["_hoisted_1","class","_hoisted_2","_createElementVNode","_hoisted_3","_hoisted_4","_hoisted_5","key","render","_ctx","_cache","$props","$setup","$data","$options","_component_tirscript3_loading","_resolveComponent","_component_filter_component","_component_table_header_item","_component_tirscript3_table_body_item","_component_router_link","_component_tirscript3_table","_component_tirscript3_pagination","_component_page","_openBlock","_createBlock","name","selectSource","toolbar","_withCtx","_createVNode","filter","$event","selectInterval","selectLogsFilter","selectViewFilter","onFilterData","filterData","default","loading","isLoading","items","endpointsResponse","style","header","_createElementBlock","_Fragment","_renderList","headerItemList","item","idx","defaultSort","isNotActiveSort","sortName","onOnSort","sort","_createTextVNode","_toDisplayString","title","_","body","EndpointId","EndpointName","NumberOfCalls","AverageTime","toFixed","MaxTime","MinTime","to","params","Id","toString","Name","DateFrom","endpointsRequest","FromDate","DateTo","ToDate","_withDirectives","ref","count","pageResponse","Count","size","Size","onOnChange","changePage","_vShow","error","isSuccess","_createCommentVNode","errorMessage","EndpointsRequest","constructor","obj","Object","assign","this","MethodList","Vue","FilterModel","PageResponse","sortType","created","getUTC","res","console","log","ProjectLogGroupId","Page","Skip","SkipPage","Take","TakePage","SortingModel","Field","Type","tmpFilter","$api","AnalyticEndpointsService","getEndpointsAsync","Endpoints","$refs","pagination","reset","getData","page","type","forEach","__decorate","Options","components","LogsViewFilter","__exports__","filterCopy","JSON","parse","stringify","timezoneHour","Date","getTimezoneOffset","Math","abs","moment","add","toDate","_hoisted_6","_hoisted_7","_hoisted_8","_component_select_source_component","_component_tirscript3_button","onOnChangeSource","changeSource","onOnClick","changeFilter","$slots","_renderSlot","sourceLogId","filterChange","searchPlaceholder","noApi","noFilter","noPagination","sourceLogsList","totalItems","currentPage","innerItems","hasFilter","countPerPage","ListViewItem","DefaultModel","getSource","el","Selected","selectedId","Value","id","element","push","ProjectName","ServerName","sourceId","localStorage","getItem","Number","parseInt","onChangeSource","onClick","$emit","document","dispatchEvent","CustomEvent","detail","mode","props","String","Boolean","defaultSearchField","watch","value","emits"],"mappings":"yIAEA,MAAMA,EAAa,CAAEC,MAAO,cACtBC,EAA0BC,eAAoB,IAAK,CAAEF,MAAO,8BAAgC,MAAO,GACnGG,EAAa,CAAEH,MAAO,cACtBI,EAA0BF,eAAoB,IAAK,CAAEF,MAAO,wBAA0B,MAAO,GAC7FK,EAAa,CACjBC,IAAK,EACLN,MAAO,mCAGH,SAAUO,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,MAAMC,EAAgCC,eAAkB,sBAClDC,EAA8BD,eAAkB,oBAChDE,EAA+BF,eAAkB,qBACjDG,EAAwCH,eAAkB,8BAC1DI,EAAyBJ,eAAkB,eAC3CK,EAA8BL,eAAkB,oBAChDM,EAAmCN,eAAkB,yBACrDO,EAAkBP,eAAkB,QAE1C,OAAQQ,iBAAcC,eAAaF,EAAiB,CAClDG,KAAM,iBACNC,cAAc,GACb,CACDC,QAASC,eAAS,IAAM,CACtBC,eAAab,EAA6B,CACxCc,OAAQtB,EAAKsB,OACb,kBAAmBrB,EAAO,KAAOA,EAAO,GAAMsB,GAAkBvB,EAAKsB,OAAUC,GAC/EC,gBAAgB,EAChBC,kBAAkB,EAClBC,kBAAkB,EAClBC,aAAc3B,EAAK4B,YAClB,KAAM,EAAG,CAAC,SAAU,mBAEzBC,QAAST,eAAS,IAAM,CACtBC,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AAmB,CAAEzH,QAAS,QAASyF,KAAMoE,QAC7CnC,MAAO,CAAE1H,SAAS,EAAOyF,KAAMqE,SAC/BnC,SAAU,CAAE3H,SAAS,EAAOyF,KAAMqE,SAClCC,mBAAoBF,OACpBjC,aAAc,CAAE5H,SAAS,EAAOyF,KAAMqE,SACtCzK,aAAc,CAAEW,SAAS,EAAMyF,KAAMqE,SACrC1K,KAAM,CACJqG,KAAMoE,OACN7J,QAAS,sBAGbgK,MAAO,CACLvK,OAAOwK,GACLtG,KAAKqE,WAAarE,KAAKlE,SAG3ByK,MAAO,CAAC,YAEW3F,W,iCC/BrB,MAAMwB,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS7H,KAErD,U,6DCTf,W,oCCAA,W","file":"assets/js/chunk-6f7e3aeb.11c47c20.js","sourcesContent":["import { resolveComponent as _resolveComponent, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, createElementVNode as _createElementVNode, vShow as _vShow, withDirectives as _withDirectives, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"table-icon\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"icon-moon icon-chart-arrow\" }, null, -1)\nconst _hoisted_3 = { class: \"table-icon\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"icon-moon icon-admin\" }, null, -1)\nconst _hoisted_5 = {\n key: 0,\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_loading = _resolveComponent(\"tirscript3-loading\")!\n const _component_filter_component = _resolveComponent(\"filter-component\")!\n const _component_table_header_item = _resolveComponent(\"table-header-item\")!\n const _component_tirscript3_table_body_item = _resolveComponent(\"tirscript3-table-body-item\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tirscript3_table = _resolveComponent(\"tirscript3-table\")!\n const _component_tirscript3_pagination = _resolveComponent(\"tirscript3-pagination\")!\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.filter,\n \"onUpdate:filter\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.filter) = $event)),\n selectInterval: false,\n selectLogsFilter: false,\n selectViewFilter: false,\n onFilterData: _ctx.filterData\n }, null, 8, [\"filter\", \"onFilterData\"])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_tirscript3_loading, { loading: _ctx.isLoading }, null, 8, [\"loading\"]),\n _createVNode(_component_tirscript3_table, {\n items: _ctx.endpointsResponse,\n style: {\"overflow-x\":\"auto\"},\n \"template-columns\": \"150px auto auto auto auto auto 70px 70px\"\n }, {\n header: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.headerItemList, (item, idx) => {\n return (_openBlock(), _createBlock(_component_table_header_item, {\n key: \"idx\",\n defaultSort: item.defaultSort,\n isNotActiveSort: item.isNotActiveSort,\n sortName: item.sortName,\n onOnSort: _ctx.sort\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.title), 1)\n ]),\n _: 2\n }, 1032, [\"defaultSort\", \"isNotActiveSort\", \"sortName\", \"onOnSort\"]))\n }), 128))\n ]),\n body: _withCtx((endpointsResponse) => [\n _createVNode(_component_tirscript3_table_body_item, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(endpointsResponse.item.EndpointId), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_tirscript3_table_body_item, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(endpointsResponse.item.EndpointName), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_tirscript3_table_body_item, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(endpointsResponse.item.NumberOfCalls), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_tirscript3_table_body_item, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(endpointsResponse.item.AverageTime.toFixed(2)), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_tirscript3_table_body_item, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(endpointsResponse.item.MaxTime), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_tirscript3_table_body_item, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(endpointsResponse.item.MinTime), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_tirscript3_table_body_item, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_router_link, {\n to: {\r\n name: 'average-response-time',\r\n params: {\r\n Id: endpointsResponse.item.EndpointId.toString(),\r\n Name: endpointsResponse.item.EndpointName,\r\n DateFrom: _ctx.endpointsRequest.FromDate,\r\n DateTo: _ctx.endpointsRequest.ToDate,\r\n },\r\n },\n title: \"Среднее время отклика метода\"\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 2\n }, 1032, [\"to\"])\n ])\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_tirscript3_table_body_item, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_router_link, {\n to: {\r\n name: 'users-statistic',\r\n params: {\r\n Id: endpointsResponse.item.EndpointId.toString(),\r\n Name: endpointsResponse.item.EndpointName,\r\n DateFrom: _ctx.endpointsRequest.FromDate,\r\n DateTo: _ctx.endpointsRequest.ToDate,\r\n },\r\n },\n title: \"Статистика по пользователям\"\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 2\n }, 1032, [\"to\"])\n ])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 1\n }, 8, [\"items\"]),\n _withDirectives(_createVNode(_component_tirscript3_pagination, {\n ref: \"pagination\",\n count: _ctx.pageResponse.Count,\n size: _ctx.pageResponse.Size,\n class: \"mt-2\",\n onOnChange: _ctx.changePage\n }, null, 8, [\"count\", \"size\", \"onOnChange\"]), [\n [_vShow, _ctx.pageResponse.Count > 0]\n ]),\n (!_ctx.error.isSuccess)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, _toDisplayString(_ctx.error.errorMessage), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n}","import PageRequest from '../../../../pagination-helper/lib/PageRequest';\nimport SortingModelT from '../../../../common/models/SortingModelT';\nimport EnumSortingEndpoints from '../../../../analytic-endpoints/i-services/models/EnumSortingEndpoints';\n\nexport default class EndpointsRequest {\n\tProjectLogGroupId?: number;\n\tFromDate: Date;\n\tToDate: Date;\n\tPage: PageRequest;\n\tSortingModel: SortingModelT;\n\tconstructor(obj?: Partial) {\n\t\tif (obj) {\n\t\t\tObject.assign(this, obj);\n\t\t}\n\t}\n}\n","\r\nimport { Options, Vue } from \"vue-property-decorator\";\r\nimport Page from \"@views/page/components/page.vue\";\r\nimport LogsViewFilter from \"@/views/components/filter-component/logs-view-filter.vue\";\r\nimport FilterModel from \"@/views/page/components/filter-model\";\r\nimport getUTC from \"@/function/getUTC\";\r\nimport filter from \"@/plugins/dataStore/Store\";\r\nimport EndpointsResponseModel from \"@/dataSource/api/analytic-endpoints/i-services/models/response/EndpointsResponseModel\";\r\nimport PageResponse from \"@/dataSource/api/pagination-helper/lib/PageResponse\";\r\nimport EndpointsRequest from \"@/dataSource/api/analytic-endpoints/i-services/models/request/EndpointsRequest\";\r\nimport EnumSortingType from \"@/dataSource/api/common/models/enums/EnumSortingType\";\r\nimport EndpointsResponse from \"@/dataSource/api/analytic-endpoints/i-services/models/response/EndpointsResponse\";\r\n\r\n@Options({\r\n name: \"MethodList\",\r\n components: {\r\n Page,\r\n LogsViewFilter,\r\n },\r\n})\r\n/**\r\n * \r\n * {\r\n \"RequestId\": \"9b794183-ff21-0e63-9ac8-1e8f9aa35bdf\",\r\n \"DateStart\": \"2023-12-08T09:41:26.876981\",\r\n \"DateEnd\": \"2023-12-08T09:41:26.877012\",\r\n \"RequestLength\": 4,\r\n \"ResponseLength\": 56,\r\n \"ProjectLogGroupId\": 191,\r\n \"HttpMethod\": 0,\r\n \"Level\": 0,\r\n \"SessionToken\": \"9b794183-ff21-0e63-9ac8-1e8f9aa35bdf\",\r\n \"UserId\": \"12\",\r\n \"Url\": \"fwwe\",\r\n \"Ip\": \"sad wdqd\",\r\n \"RequestBody\": \"fasfasfas\",\r\n \"Message\": \"asdasdada\",\r\n \"Error\": \"zxczxcxzcz\",\r\n \"UserAgent\": \"hyjhtrht\",\r\n \"TimeoutWaitingEndLog\": false,\r\n \"ServerName\": \"test\",\r\n \"ProjectName\": \"test\"\r\n}\r\n * \r\n */\r\nexport default class MethodList extends Vue {\r\n filter: FilterModel = new FilterModel();\r\n endpointsResponse: Array = [];\r\n pageResponse: PageResponse = new PageResponse();\r\n endpointsRequest: EndpointsRequest = new EndpointsRequest();\r\n sortName: string = \"AverageTime\";\r\n sortType: EnumSortingType = 1;\r\n isLoading: boolean = false;\r\n\r\n error = {\r\n isSuccess: true,\r\n errorMessage: \"\",\r\n };\r\n\r\n headerItemList = [\r\n {\r\n title: \"#\",\r\n sortName: \"\",\r\n defaultSort: \"\",\r\n isNotActiveSort: true,\r\n },\r\n {\r\n title: \"Название\",\r\n sortName: \"EndpointName\",\r\n defaultSort: \"\",\r\n isNotActiveSort: true,\r\n },\r\n {\r\n title: \"Кол-во раз вызова\",\r\n sortName: \"NumberOfCalls\",\r\n defaultSort: \"\",\r\n isNotActiveSort: true,\r\n },\r\n {\r\n title: \"Ср. t отклика\",\r\n sortName: \"AverageTime\",\r\n defaultSort: \"asc\",\r\n isNotActiveSort: false,\r\n },\r\n {\r\n title: \"Макс. t отклика\",\r\n sortName: \"MaxTime\",\r\n defaultSort: \"\",\r\n isNotActiveSort: true,\r\n },\r\n {\r\n title: \"Мин. t отклика\",\r\n sortName: \"MinTime\",\r\n defaultSort: \"\",\r\n isNotActiveSort: true,\r\n },\r\n {\r\n title: \"\",\r\n sortName: \"\",\r\n defaultSort: \"\",\r\n isNotActiveSort: true,\r\n },\r\n {\r\n title: \"\",\r\n sortName: \"\",\r\n defaultSort: \"\",\r\n isNotActiveSort: true,\r\n },\r\n ];\r\n\r\n created() {\r\n this.filter = new FilterModel();\r\n this.filter.DateFrom = this.filter.getUTC(1);\r\n }\r\n\r\n async getData() {\r\n this.isLoading = true;\r\n let res: EndpointsResponse;\r\n console.log(`this.filter.DateFrom`, this.filter.DateFrom);\r\n this.endpointsRequest = {\r\n ProjectLogGroupId: this.filter.ProjectLogGroupId || null,\r\n FromDate: this.filter.DateFrom,\r\n ToDate: this.filter.DateTo,\r\n\r\n // FromDate: moment(this.filter.DateFrom).format(\"MM.DD.YY HH:mm:ss\"),\r\n // ToDate: moment(this.filter.DateTo).format(\"MM.DD.YY HH:mm:ss\"),\r\n Page: { Skip: this.filter.SkipPage, Take: this.filter.TakePage },\r\n SortingModel: { Field: this.sortName, Type: this.sortType },\r\n };\r\n let tmpFilter = getUTC(this.endpointsRequest);\r\n try {\r\n res = await this.$api.AnalyticEndpointsService.getEndpointsAsync(tmpFilter);\r\n } catch (error) {\r\n this.error.isSuccess = false;\r\n this.error.errorMessage = error;\r\n this.isLoading = false;\r\n return;\r\n }\r\n this.endpointsResponse = res.Endpoints;\r\n this.pageResponse = res.Page;\r\n this.isLoading = false;\r\n }\r\n\r\n filterData() {\r\n this.filter.SkipPage = 0;\r\n (this.$refs.pagination as any).reset();\r\n this.getData();\r\n }\r\n\r\n changePage(page) {\r\n this.filter.SkipPage = (page - 1) * this.filter.TakePage;\r\n this.getData();\r\n }\r\n\r\n sort(name: string, type: number) {\r\n this.sortName = name;\r\n this.sortType = type;\r\n this.headerItemList.forEach((item) => {\r\n item.isNotActiveSort = item.sortName !== name;\r\n });\r\n this.getData();\r\n }\r\n}\r\n","import { render } from \"./metod-list.vue?vue&type=template&id=6ac65162&ts=true\"\nimport script from \"./metod-list.vue?vue&type=script&lang=ts\"\nexport * from \"./metod-list.vue?vue&type=script&lang=ts\"\n\nimport \"./metod-list.vue?vue&type=style&index=0&id=6ac65162&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 moment from \"moment\";\r\n\r\nexport default function getUTC(filter) {\r\n let filterCopy = JSON.parse(JSON.stringify(filter))\r\n let timezoneHour = new Date().getTimezoneOffset() / 60\r\n if (timezoneHour < 0) {\r\n timezoneHour = Math.abs(timezoneHour);\r\n } else {\r\n timezoneHour = -Math.abs(timezoneHour);\r\n }\r\n filterCopy.FromDate = moment(filterCopy.FromDate).add(\"hours\", timezoneHour).toDate()\r\n filterCopy.ToDate = moment(filterCopy.ToDate).add(\"hours\", timezoneHour).toDate()\r\n return filterCopy;\r\n}","\n\nexport default class PageResponse {\n\tCurrent: number;\n\tSize: number;\n\tCount: number;\n\tconstructor(obj?: Partial) {\n\t\tif (obj) {\n\t\t\tObject.assign(this, obj);\n\t\t}\n\t}\n}\n","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!./metod-list.vue?vue&type=style&index=0&id=6ac65162&lang=less\""],"sourceRoot":""}