PageSourceSearch

https://hob-learning.com/_nuxt/C5ic77rl.js

js hob-learning.com collected 2026-09-24 11:01:44 UTC 2,777 bytes, 1 lines download raw bytes

1import{A as i}from"./Bf2hLqWc.js";import{G as d,l as o,e as n,g as l,i as p,o as c}from"./D7pUiA68.js";import{u as m}from"./DIgw8txm.js";import{u}from"./CVeA2FGp.js";import"./D7Mcu7w1.js";import"./DgTaxtZB.js";import"./BRjKV0Oe.js";import"./DyzMl18v.js";import"./nB964Mws.js";import"./C2iYs2Ff.js";import"./DssoOl_J.js";import"./BpyOrb3U.js";import"./OdOxKRVq.js";import"./DlgpYRAf.js";import"./BSmlONNu.js";import"./BHTeLy9-.js";import"./D2NoRhx_.js";import"./Cj1dzMfU.js";import"./BZPKQ7Lj.js";import"./j-Q-RyDB.js";import"./Xkz4VV8A.js";import"./Cp2x8l1r.js";import"./Bu0s-Gt1.js";const h=d({id:"PathLessonLinkedVideos",state:()=>({data:{list:[],pageNumber:0,totalRecords:0,isLoading:!1},singleRecord:void 0}),actions:{async get(e){try{const r=await o.get(`/api/v1/path_lesson_linked_video?PathLessonId=${e.PathLessonId}&VideoId=${e.VideoId}`);return this.singleRecord=r.data.data,{errors:void 0}}catch(r){return{errors:r.response?.data?.errors}}},async list(e){let r="";const s=[];e&&e.filters&&Object.keys(e.filters).forEach(t=>{s.push(t+"="+encodeURIComponent(e.filters[t]))}),e&&e.page&&s.push("page="+e.page),e&&e.adminFilters?.length&&s.push("adminFilters="+encodeURIComponent(JSON.stringify(e.adminFilters))),s.length&&(r="?"+s.join("&"));try{const t=await o.get("/api/v1/path_lesson_linked_videos"+r);return this.data.pageNumber?this.data.list.push(...t.data.data.list):this.data=t.data.data,{errors:void 0}}catch(t){return{errors:t.response?.data?.errors}}},async create(e){try{return await o.post("/api/v1/path_lesson_linked_video",e),{errors:void 0}}catch(r){return{errors:r.response?.data?.errors}}},async update(e,r){try{return await o.put(`/api/v1/path_lesson_linked_video?PathLessonId=${r.PathLessonId}&VideoId=${r.VideoId}`,e),{errors:void 0}}catch(s){return{errors:s.response?.data?.errors}}},async delete(e){try{return await o.delete("/api/v1/path_lesson_linked_video",{data:e}),{errors:void 0}}catch(r){return{errors:r.response?.data?.errors}}}}}),E=n({__name:"page_path_lesson_linked_video",setup(e){const r=[{model:"PathLessonId",title:"PathLessonId",type:"linkedTable",isRequired:!0,isReadonly:!1,linkedTable:{store:m(),key:"Id",label:"Title"}},{model:"VideoId",title:"VideoId",type:"linkedTable",isRequired:!0,isReadonly:!1,linkedTable:{store:u(),key:"Id",label:"Title"}},{model:"LessonLinkedVideoType",title:"LessonLinkedVideoType",type:"enum",isRequired:!0,isReadonly:!1,enumValues:[{value:"core",title:"Core"},{value:"reinforce",title:"Reinforce"},{value:"explore",title:"Explore"}]}],s=[],t={PathLessonId:0,VideoId:0,LessonLinkedVideoType:"",IsWatched:!1},a=h();return(f,g)=>(c(),l(i,{title:"PathLessonLinkedVideo",colDefs:r,store:p(a),defaultRecord:t,modelName:"PathLessonLinkedVideo",customActions:s},null,8,["store"]))}});export{E as default};

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.