1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[12407],{12407:(t,a,e)=>{e.r(a),e.d(a,{default:()=>l});const i={name:"delete-onboarding",data:function(){return{groupId:null,id:null,loadings:{deleting:!1}}},computed:{obTrans:function(){return localLangs.onboarding}},mounted:function(){var t=this;alert.$on("open-ob-delete-modal",(function(a){t.id=a.id,t.groupId=a.groupId}))},methods:{deleteOnboarding:function(){var t=this;this.loadings.deleting=!0,axios.delete(api_routes.administration.modules.onboarding.change(this.groupId,this.id)).then((function(a){var e=a.data;alert.$emit("alert",e),t.closeModal()})).catch((function(a){alert.$emit("alert",{success:0,type:"error",message:localLangs.administrationFile.something_went_wrong}),t.closeModal()}))},resetData:function(){this.groupId=null,this.id=null,this.loadings.deleting=null},closeModal:function(){this.resetData(),alert.$emit("ob-delete-modal-closed")}}};const l=(0,e(14486).A)(i,(function(){var t=this,a=t._self._c;return a("div",{staticClass:"modal fade",staticStyle:{overflow:"scroll",width:"100%"},attrs:{id:"modalDeleteOnboarding",tabindex:"-1",role:"dialog","aria-labelledby":"myModalLabel","aria-hidden":"true"}},[a("div",{staticClass:"modal-dialog modal-dialog-mobile membership-edit-modal",attrs:{"data-keyboard":"false","data-backdrop":"static"}},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"header-section"},[a("a",{staticClass:"fa fa-times pull-right pointer color-light-blue",attrs:{"data-dismiss":"modal"}}),t._v(" "),a("div",{staticClass:"col-container padding-left padding-right"},[t._m(0),t._v(" "),a("div",{staticClass:"col-10-12"},[a("h2",[t._v(t._s(t.obTrans.are_you_sure))]),t._v(" "),a("p",{staticClass:"font-14"},[t._v(t._s(t.obTrans.delete_warn))])])])]),t._v(" "),a("div",{staticClass:"modal-footer text-center"},[a("button",{staticClass:"btn btn-circle btn-medium btn-dark-grey pull-left font-14 padding-left padding-right",attrs:{type:"button",disabled:t.loadings.deleting,"data-dismiss":"modal"}},[a("i",{directives:[{name:"show",rawName:"v-show",value:t.loadings.deleting,expression:"loadings.deleting"}],staticClass:"fa fa-circle-o-notch fa-spin fa-fw"}),t._v("\n "+t._s(t.localLangs.main.cancel)+"\n ")]),t._v(" "),a("button",{staticClass:"btn btn-circle btn-medium btn-red font-14 padding-left padding-right pull-right",attrs:{type:"button",disabled:t.loadings.deleting},on:{click:t.deleteOnboarding}},[a("i",{directives:[{name:"show",rawName:"v-show",value:t.loadings.deleting,expression:"loadings.deleting"}],staticClass:"fa fa-circle-o-notch fa-spin fa-fw"}),t._v("\n "+t._s(t.localLangs.settings.confirm)+"\n ")])])])])])}),[function(){var t=this._self._c;return t("div",{staticClass:"col-1-12"},[t("i",{staticClass:"fa fa-exclamation fa-1-8x pull-left margin-top color-orange"})])}],!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.