PageSourceSearch

https://my.bod.dk/assets/js/ServiceOrdersView.30c11e59bc05db8e29b0.chunk.js

js bod.dk collected 2026-10-01 11:34:03 UTC 3,479 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkDashboard=self.webpackChunkDashboard||[]).push([[4122],{74711:(e,r,t)=>{t.r(r),t.d(r,{default:()=>o});var a=t(76610),s=t(33057);const n=[{name:"createDate",title:function(){return i18n.t("serviceorders.orderTable.tableTitle.date")},formatter:function(e){return(0,s.KA)(e)}},{name:"bodNr",title:function(){return i18n.t("serviceorders.orderTable.tableTitle.bodNr")}},{name:"type",title:function(){return i18n.t("serviceorders.orderTable.tableTitle.type")},formatter:function(e){return i18n.t("serviceorders.serviceType.".concat(e))}},{name:"title",title:function(){return i18n.t("serviceorders.orderTable.tableTitle.title")}},{name:"status",title:function(){return i18n.t("serviceorders.orderTable.tableTitle.status")},formatter:function(e){var r=i18n.t("serviceorders.statusCode.".concat(e.code));if("offline_service"==e.code)return r;var t=function(e,r,t){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"bg-bodblue-dark";return'<div class="mb-1"><p class="mb-1 text-nowrap">'.concat(e," ").concat(a?"(".concat(r,"/").concat(t,")"):"",'</p><div class="progress" role="progressbar" aria-valuenow="').concat(r,'" aria-valuemin="0" aria-valuemax="').concat(t,'" style="height:6px;"><div class="progress-bar ').concat(s,'" style="width: ').concat(100*r/t,'%;"></div></div></div>')}(r,e.progress.step,e.progress.max,!1);return"offer_available"==e.code&&(t+='<small class="badge bg-bodorange">'.concat(i18n.t("serviceorders.offerEndDate",{date:(0,s.KA)(e.offerDeadline)}),"</small>")),t}},{name:"actions",title:"",titleClass:"text-center",dataClass:"text-center"}];const i={name:"ServiceOrdersView",components:{VuetableWrapper:function(){return Promise.all([t.e(4103),t.e(93),t.e(6039)]).then(t.bind(t,2691))}},data:function(){return{ServiceOrdersFieldsDef:n}},computed:{serviceOrdersApiUrl:function(){return(0,a._d)("/v1/me/services")}}};const o=(0,t(51900).Z)(i,(function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"service-orders-view"},[t("div",{staticClass:"row g-0"},[t("div",{staticClass:"col bg-white rounded p-4"},[t("h1",{staticClass:"text-bodblue-dark",attrs:{id:"serviceOrdersTitle"}},[e._v("\n                "+e._s(e.$t("serviceorders.title"))+"\n            ")]),e._v(" "),t("p",{staticClass:"mb-5"},[e._v("\n                "+e._s(e.$t("serviceorders.description"))+"\n            ")]),e._v(" "),t("vuetable-wrapper",{attrs:{elementId:"serviceOrdersTitle",apiUrl:e.serviceOrdersApiUrl,fieldsDef:e.ServiceOrdersFieldsDef,trackBy:"id",pageSelector:!1,searchBar:!1},scopedSlots:e._u([{key:"default",fn:function(r){r.rowIndex;var a=r.rowData;return[t("div",{staticClass:"table-button-container"},["offer_available"==a.status.code?[t("router-link",{staticClass:"btn btn-sm btn-bodblue-dark rounded-pill px-3 text-nowrap w-100",attrs:{to:{name:"servicemodule",params:{name:"audiobook",type:"order"},query:{id:a.id}}}},[e._v("\n                                "+e._s(e.$t("serviceorders.orderTable.btnOrder"))+"\n                            ")])]:"offline_service"==a.status.code?void 0:[t("router-link",{staticClass:"btn btn-sm btn-outline-bodblue-dark rounded-pill px-3 text-nowrap w-100",attrs:{to:{name:"serviceorderdetail",params:{orderId:a.id}}}},[e._v("\n                                "+e._s(e.$t("serviceorders.orderTable.btnDetail"))+"\n                            ")])]],2)]}}])})],1)])])}),[],!1,null,null,null).exports}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.