1import{P as c}from"./Profile-BogFrkDW.js";import{I as b}from"./Form-DqoeqWP4.js";import{c as n}from"./confirmUnsavedChanges-BQ-xid7F.js";import{h as g}from"./httpErrorHandler-YOlql0B8.js";import{_ as N}from"./main-BUyohMDS.js";import{a as e,o as i,b as p,A as s,l as _,p as a,s as f,t as T}from"./vendor-codemirror-CsRMRzWL.js";import"./Breadcrumbs-k3Gai5YP.js";import"./textOverflowTooltip-BBxHgIGU.js";import"./TitleInfoButton-jGekIuHh.js";import"./ToggleTip-4KqeRynz.js";import"./FormStep-Bk42_PpW.js";import"./Panel-DlHIfpEN.js";import"./expandAnimation-LBpmPDtK.js";import"./Chips-pJo3MEjW.js";import"./PasswordInput-BV3QDkee.js";import"./validations-DasjM8Fm.js";import"./Tab-DWUZlraf.js";import"./AppTable-oLCtqPT9.js";import"./Sorting-DYBp0RD7.js";import"./Pagination-B14V77k_.js";import"./determineCheckboxTHeadStatus-DRAuy0YH.js";import"./assignmentsConstants-DZgAg67g.js";import"./constants-B7qZop_U.js";import"./ValidationMixin-D-RXf7xG.js";import"./constants-BGv1WqIJ.js";import"./useConfirmModal-BowzB0Xj.js";import"./ButtonGroup-CMJd_3WK.js";import"./vendor-highcharts-DJOjmI7G.js";const h={mixins:[n,g],data(){return{roles:[],uploadTypes:[],lmsTypes:[],isLoading:!1}},created(){this.init()},methods:{init(){this.$loader.show(),axios.get(route("subaccounts.import.index")).then(({data:o})=>{this.roles=o.roles,this.uploadTypes=o.uploadTypes,this.lmsTypes=o.lmsTypes,this.isLoading=!0}).catch(o=>{this.handleHttpError(o)}).finally(()=>{this.$loader.hide()})}},async beforeRouteLeave(...o){return n.beforeRouteLeave.apply(this,o)},components:{ProfileLayout:c,ImportUsersForm:b}};function O(o,r,S,y,t,U){const m=e("ib-icon"),l=e("ib-button"),u=e("import-users-form"),C=e("profile-layout");return i(),p(C,{breadcrumbs:[{to:{name:"subaccounts.index"},title:o.lang("ib_users",o.langComponents.COMPONENT_SUBACCOUNTS)},{title:o.lang("import_users",o.langComponents.COMPONENT_SUBACCOUNTS)}],"page-title":o.lang("import_users",o.langComponents.COMPONENT_SUBACCOUNTS),"title-info-button":{title:o.lang("import_users",o.langComponents.COMPONENT_SUBACCOUNTS),text:o.lang("import_toggle_tip_description",o.langComponents.COMPONENT_SUBACCOUNTS),link:{href:o.SUPPORT_LINKS.IMPORT_USERS,text:o.lang("about_import",o.langComponents.COMPONENT_SUBACCOUNTS)}}},{"back-button":s(()=>[a(l,{to:{name:"subaccounts.index"},class:"back-button",kind:"ghost"},{icon:s(()=>[a(m,{name:"chevron-back-outline"})]),default:s(()=>[f(" "+T(o.lang("back_to_ib_users",o.langComponents.COMPONENT_SUBACCOUNTS_ASSIGNMENTS)),1)]),_:1},8,["to"])]),default:s(()=>[t.isLoading?(i(),p(u,{key:0,roles:t.roles,"upload-types":t.uploadTypes,"lms-types":t.lmsTypes,"onUnsavedChanges:set":r[0]||(r[0]=d=>o.hasUnsavedChanges=d)},null,8,["roles","upload-types","lms-types"])):_("",!0)]),_:1},8,["breadcrumbs","page-title","title-info-button"])}const oo=N(h,[["render",O]]);export{oo 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.