1"use strict";(self["webpackChunktotis_2_js"]=self["webpackChunktotis_2_js"]||[]).push([[7950],{67950(e,t,a){a.r(t),a.d(t,{default:()=>v});var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("modal-wrapper",{attrs:{info:{}},on:{close:function(t){return e.$emit("close")}}},[a("div",{staticClass:"ticket-management-share"},[a("p",{staticClass:"ticket-management-share__title"},[e._v(e._s(e._("ÐаÑвка на деакÑиваÑÐ¸Ñ Ð±Ð¸Ð»ÐµÑа")))]),a("p",{staticClass:"ticket-management-share__description ticket-management-share__description--free"},[e._v(e._s(e.info.user))]),a("validation-observer",{ref:"validator",attrs:{tag:"form"},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.valid;return[a("div",{staticClass:"g-row"},[e.isLoad?a("ui-loader"):e._e(),a("div",{staticClass:"g-cell g-cols g-cols--12"},[a("div",{staticClass:"form-fields"},[a("p",{staticClass:"form-fields__title"},[e._v(e._s(e._("УкажиÑе пÑиÑÐ¸Ð½Ñ Ð´ÐµÐ°ÐºÑиваÑии билеÑа")))])]),a("div",{staticClass:"tt-space_mt tt-space_mt--6"},[a("d-control-textarea",{ref:"deactivation_comment",staticClass:"is-textarea D-CONTROl-TEXTAREA",attrs:{rules:"required","input-label":e._("ÐпиÑание пÑиÑинÑ"),name:"deactivation_comment",disabled:!1},model:{value:e.form.deactivation_comment,callback:function(t){e.$set(e.form,"deactivation_comment",t)},expression:"form.deactivation_comment"}})],1)]),a("div",{staticClass:"g-cell g-cols g-cols--12"},[a("div",{staticClass:"form-fields"},[a("p",{staticClass:"form-fields__title"},[e._v(e._s(e._("УкажиÑе вид деакÑиваÑии")))])]),a("div",{staticClass:"education-form"},[a("div",{staticClass:"education-form__content"},[a("validation-provider",{ref:e.name+"_valid",attrs:{name:e.name,bails:!1,rules:e.rules},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.errors;t.validate;return[a("div",{staticClass:"relative"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedValue,expression:"selectedValue"}],ref:e.name,attrs:{type:"hidden",vid:e.name,name:e.name},domProps:{value:e.selectedValue},on:{input:function(t){t.target.composing||(e.selectedValue=t.target.value)}}}),s.length?a("label",{staticClass:"error-label error-label--top"},[e._v(e._s(s[0]))]):e._e(),a("v-selection-controller",{attrs:{options:e.deactivationTypes,multiple:!1,"key-getter":e.$options.keyGetter},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.options,l=t.value,i=t.change;return e._l(s,function(t){var s=t.value;return a("div",{staticClass:"tt-space_mt tt-space_mt--3"},[a("tag",{key:"key_"+e.name+s.value,ref:"level_"+e.name+"_"+s.value,refInFor:!0,staticClass:"d-control-static-input d-control-static-input--appearance_inline",attrs:{rules:{required:{allowFalse:!0}},tag:"input","input-label":s.label,checked:l[0]&&l[0].value==s.value,id:"level_"+e.name+"_"+s.value,type:"radio",name:e.name+"name"},on:{change:function(t){i(s),e.setValue(s)}},model:{value:l,callback:function(e){l=e},expression:"model"}}),a("label",{staticClass:"input-group__input",attrs:{for:"level_"+e.name+"_"+s.value}},[e._v(e._s(s.label))])],1)})}}],null,!0),model:{value:e.selectedValue,callback:function(t){e.selectedValue=t},expression:"selectedValue"}})],1)]}}],null,!0)})],1)])]),a("div",{staticClass:"g-cell g-cols"},[a("validation-provider",{attrs:{rules:{required:{allowFalse:!1}},name:"agree_rules"},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.errors;return[a("div",{staticClass:"d-control-input d-control-input--appearance_flexible tt-space_mt tt-space_mt--10"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.accept_rules,expression:"accept_rules"}],staticClass:"d-control-input__element",attrs:{type:"checkbox",name:"accept_rules",id:"accept_rules"},domProps:{checked:Array.isArray(e.accept_rules)?e._i(e.accept_rules,null)>-1:e.accept_rules},on:{change:function(t){var a=e.accept_rules,s=t.target,l=!!s.checked;if(Array.isArray(a)){var i=null,r=e._i(a,i);s.checked?r<0&&(e.accept_rules=a.concat([i])):r>-1&&(e.accept_rules=a.slice(0,r).concat(a.slice(r+1)))}else e.accept_rules=l}}}),a("label",{staticClass:"d-control-input__label d-control-input__label--static",attrs:{for:"accept_rules"}},[a("p",{staticClass:"ds-caption ds-caption--size_md ds-caption--color_black"},[e._v(e._s(e._("Я подÑвеÑждаÑ, ÑÑо пÑедоÑÑÐ°Ð²Ð»ÐµÐ½Ð½Ð°Ñ Ð¸Ð½ÑоÑмаÑÐ¸Ñ ÑвлÑеÑÑÑ Ð´Ð¾ÑÑовеÑной, ознакомлен(на) Ñ ÑÑловиÑми деакÑиваÑии билеÑа (в ÑаÑÑноÑÑи, Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ ÑÑаÑÑника или возвÑаÑа ÑÑедÑÑв) и Ð´Ð°Ñ ÑоглаÑие на обÑабоÑÐºÑ Ð¼Ð¾Ð¸Ñ
пеÑÑоналÑнÑÑ
даннÑÑ
в ÑооÑвеÑÑÑвии Ñ"))+" "),a("a",{staticClass:"tt-link tt-link--inline tt-link--styling_default tt-link--black",attrs:{href:e.offer,target:"_blank"}},[a("span",{staticClass:"ds-caption ds-caption--size_md"},[e._v(e._s(e._("ÐолиÑикой конÑиденÑиалÑноÑÑи")))])])])]),s.length?a("label",{staticClass:"error-label error-label--top"}
1,[e._v(e._s(s[0]))]):e._e()])]}}],null,!0)})],1),a("div",{staticClass:"relative"},[e.non_field_errors?a("label",{staticClass:"non-field-error-label"},[e._v(e._s(e.non_field_errors[0]))]):e._e()]),a("div",{staticClass:"g-cell g-cols g-cols--12"},[a("div",{staticClass:"g-row g-row--justify_center"},[a("div",{staticClass:"g-cell g-cols tt-space_mt tt-space_mt--5 tt-space_pt tt-space_pt--4-xl"},[a("button",{staticClass:"tt-button tt-button--auto",attrs:{type:"submit",disabled:e.isLoad},on:{click:function(t){return t.preventDefault(),e.prepareData(s)}}},[a("p",{staticClass:"tt-button__title"},[e._v(e._s(e._("ÐÑпÑавиÑÑ")))])])])])])],1)]}}])})],1)])},l=[],i=(a(69112),a(33110),a(36030)),r=a(46175),n=a(60931),o=a(29962),c=a(71687);const d={name:"ShareBySms",keyGetter:e=>`${e.value}`,mixins:[n["default"]],props:{info:{type:Object,default:()=>({})}},data(){return{show:!1,e:null,name:"deactivation_type",deactivationTypes:[{value:"change_participant",label:this._("Change participant"),required:!0},{value:"refund",label:this._("Refund"),required:!0}],accept_rules:!1,isLoad:!1,non_field_errors:"",offer:window.offer,rules:"required",selectedValue:null,form:{deactivation_type:"",deactivation_comment:"",request_deactivation:!0}}},methods:{open(){this.$modal.show(c["default"],{info:{tag:o["default"]}},{height:"auto",classes:["cookie-modal"],minWidth:300,adaptive:!0,scrollable:!0},{"before-close":()=>{window.location.reload()}})},setValue(e){this.selectedValue=e,this.$emit("input",e)},async prepareData(e){if(await this.$refs.validator.validate(),!e)return;const t=JSON.parse(JSON.stringify(this.form));t.deactivation_type=(0,i.A)("",["value"],this.selectedValue),this.submit(e,t)},send(e){return this.isLoad=!0,r.EZ.execute({id:this.info.id,label:this.info.id},e).then(()=>{this.isLoad=!1,this.open(),this.success=!0,this.$emit("close")},e=>(this.isLoad=!1,Promise.reject(e)))},updateValidator(e){const t=(0,n.defaultValidatorErrorsParser)(e);this.non_field_errors=t.non_field_errors,this.$refs.validator.setErrors(t)}}},u=d;var _=a(81656),p=(0,_.A)(u,s,l,!1,null,null,null);const v=p.exports}}]); 2//# sourceMappingURL=7950.243c6b89.js.map
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.