Files
ISUP/front/dist/js/183.34c62510.js
T
2023-09-21 13:54:33 +03:00

2 lines
7.7 KiB
JavaScript

"use strict";(self["webpackChunkfront"]=self["webpackChunkfront"]||[]).push([[183],{80255:function(e,t,s){var n=s(13037),a=s(54712),i=s(75352),o=s(67678);t["Z"]=(0,o.Z)((0,n.d)("expansionPanels","v-expansion-panel","v-expansion-panels"),(0,a.J)("expansionPanel",!0)).extend({name:"v-expansion-panel",props:{disabled:Boolean,readonly:Boolean},data(){return{content:null,header:null,nextIsActive:!1}},computed:{classes(){return{"v-expansion-panel--active":this.isActive,"v-expansion-panel--next-active":this.nextIsActive,"v-expansion-panel--disabled":this.isDisabled,...this.groupClasses}},isDisabled(){return this.expansionPanels.disabled||this.disabled},isReadonly(){return this.expansionPanels.readonly||this.readonly}},methods:{registerContent(e){this.content=e},unregisterContent(){this.content=null},registerHeader(e){this.header=e,e.$on("click",this.onClick)},unregisterHeader(){this.header=null},onClick(e){e.detail&&this.header.$el.blur(),this.$emit("click",e),this.isReadonly||this.isDisabled||this.toggle()},toggle(){this.$nextTick((()=>this.$emit("change")))}},render(e){return e("div",{staticClass:"v-expansion-panel",class:this.classes,attrs:{"aria-expanded":String(this.isActive)}},(0,i.z9)(this))}})},22348:function(e,t,s){var n=s(77394),a=s(38223),i=s(16878),o=s(54712),l=s(75352),r=s(67678);const c=(0,r.Z)(a.Z,i.Z,(0,o.f)("expansionPanel","v-expansion-panel-content","v-expansion-panel"));t["Z"]=c.extend().extend({name:"v-expansion-panel-content",data:()=>({isActive:!1}),computed:{parentIsActive(){return this.expansionPanel.isActive}},watch:{parentIsActive:{immediate:!0,handler(e,t){e&&(this.isBooted=!0),null==t?this.isActive=e:this.$nextTick((()=>this.isActive=e))}}},created(){this.expansionPanel.registerContent(this)},beforeDestroy(){this.expansionPanel.unregisterContent()},render(e){return e(n.Fx,this.showLazyContent((()=>[e("div",this.setBackgroundColor(this.color,{staticClass:"v-expansion-panel-content",directives:[{name:"show",value:this.isActive}]}),[e("div",{class:"v-expansion-panel-content__wrap"},(0,l.z9)(this))])])))}})},20400:function(e,t,s){var n=s(77394),a=s(42240),i=s(16878),o=s(54712),l=s(37069),r=s(75352),c=s(67678);const d=(0,c.Z)(i.Z,(0,o.f)("expansionPanel","v-expansion-panel-header","v-expansion-panel"));t["Z"]=d.extend().extend({name:"v-expansion-panel-header",directives:{ripple:l.Z},props:{disableIconRotate:Boolean,expandIcon:{type:String,default:"$expand"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1}},data:()=>({hasMousedown:!1}),computed:{classes(){return{"v-expansion-panel-header--active":this.isActive,"v-expansion-panel-header--mousedown":this.hasMousedown}},isActive(){return this.expansionPanel.isActive},isDisabled(){return this.expansionPanel.isDisabled},isReadonly(){return this.expansionPanel.isReadonly}},created(){this.expansionPanel.registerHeader(this)},beforeDestroy(){this.expansionPanel.unregisterHeader()},methods:{onClick(e){this.$emit("click",e)},genIcon(){const e=(0,r.z9)(this,"actions")||[this.$createElement(a.Z,this.expandIcon)];return this.$createElement(n.Z5,[this.$createElement("div",{staticClass:"v-expansion-panel-header__icon",class:{"v-expansion-panel-header__icon--disable-rotate":this.disableIconRotate},directives:[{name:"show",value:!this.isDisabled}]},e)])}},render(e){return e("button",this.setBackgroundColor(this.color,{staticClass:"v-expansion-panel-header",class:this.classes,attrs:{tabindex:this.isDisabled?-1:null,type:"button","aria-expanded":this.isActive},directives:[{name:"ripple",value:this.ripple}],on:{...this.$listeners,click:this.onClick,mousedown:()=>this.hasMousedown=!0,mouseup:()=>this.hasMousedown=!1}}),[(0,r.z9)(this,"default",{open:this.isActive},!0),this.hideActions||this.genIcon()])}})},31214:function(e,t,s){s.d(t,{Z:function(){return i}});var n=s(13385),a=s(74808),i=n.y.extend({name:"v-expansion-panels",provide(){return{expansionPanels:this}},props:{accordion:Boolean,disabled:Boolean,flat:Boolean,hover:Boolean,focusable:Boolean,inset:Boolean,popout:Boolean,readonly:Boolean,tile:Boolean},computed:{classes(){return{...n.y.options.computed.classes.call(this),"v-expansion-panels":!0,"v-expansion-panels--accordion":this.accordion,"v-expansion-panels--flat":this.flat,"v-expansion-panels--hover":this.hover,"v-expansion-panels--focusable":this.focusable,"v-expansion-panels--inset":this.inset,"v-expansion-panels--popout":this.popout,"v-expansion-panels--tile":this.tile}}},created(){this.$attrs.hasOwnProperty("expand")&&(0,a.fK)("expand","multiple",this),Array.isArray(this.value)&&this.value.length>0&&"boolean"===typeof this.value[0]&&(0,a.fK)(':value="[true, false, true]"',':value="[0, 2]"',this)},methods:{updateItem(e,t){const s=this.getValue(e,t),n=this.getValue(e,t+1);e.isActive=this.toggleMethod(s),e.nextIsActive=this.toggleMethod(n)}}})},57183:function(e,t,s){s.r(t),s.d(t,{default:function(){return g}});var n=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("v-row",{staticClass:"ma-0"},[s("v-col",{staticClass:"kitr flex-col align-items-center justify-content-center"},[s("Cards",{staticClass:"sizecard",attrs:{ma:"ma-2"},scopedSlots:e._u([{key:"cards",fn:function(){return[s("Cards",{attrs:{color:"inyand",elevation:0},scopedSlots:e._u([{key:"cards",fn:function(){return[s("v-row",{staticClass:"flex-grow-0 bghead mb-1"},[s("v-col",{staticClass:"body-2 text-nowrap font-weight-medium textcolor"},[e._v("Отчет о выполнненой работе за : 17.07.2023")]),s("v-col",{staticClass:"pa-0 pt-2"},[s("v-icon",{attrs:{small:"",color:"white"}},[e._v("fa-calendar-days")])],1),s("v-col",{staticClass:"text-end textcolor font-weight-medium body-2 text-nowrap"},[e._v("Гришина Ирина Сергеевна")])],1),s("v-row",{staticClass:"my-1 overflow-y-auto h-0"},[s("v-col",{staticClass:"rounded-sm flex-col"},[s("v-expansion-panels",{staticClass:"exp",attrs:{flat:"",focusable:"",accordion:"","active-class":"ddd"}},e._l(e.blocks,(function(t,n){return s("v-expansion-panel",{key:n,staticClass:"mb-3 rounded"},[s("v-expansion-panel-header",{staticClass:"rounded font-weight-medium caption ",attrs:{color:"#F1F1F1"},scopedSlots:e._u([{key:"actions",fn:function(){return[s("v-icon",{attrs:{color:"white"}},[e._v("$expand")])]},proxy:!0}],null,!0)},[e._v(" "+e._s(t.block_name)+" ")]),s("v-expansion-panel-content",{staticClass:"mt-2"},[e._v(" Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. ")]),s("v-divider")],1)})),1)],1)],1),s("v-row",{staticClass:"flex-grow-0"},[s("v-col",{staticClass:"px-0"},[s("v-divider")],1)],1),s("v-row",{staticClass:"flex-grow-0 mb-0"},[s("v-col",{staticClass:"py-0 mr-4 flex-row"},[s("v-btn",{attrs:{tile:"",color:"error",small:"","min-width":"120"}},[e._v(" Выйти ")])],1),s("v-col",{staticClass:"py-0 flex-row justify-content-end"},[s("v-btn",{attrs:{tile:"",color:"success",small:"","min-width":"120"}},[e._v(" Просмотр ")])],1)],1),s("v-row",{staticClass:"flex-grow-0"},[s("v-col",{staticClass:"px-0 pt-0 pb-0"},[s("v-divider")],1)],1)]},proxy:!0}])})]},proxy:!0}])})],1)],1)},a=[],i={data:()=>({blocks:[{block_name:"Работа с базой знаний"},{block_name:"Работа со сценарием"},{block_name:"Работа с классификатором"},{block_name:"Мониторинг качества работы чат-бота"},{block_name:"Иное"}]})},o=i,l=s(43736),r=s(43453),c=s.n(r),d=s(16190),p=s(60266),h=s(99223),u=s(80255),v=s(22348),x=s(20400),m=s(31214),f=s(4324),b=s(11713),C=(0,l.Z)(o,n,a,!1,null,null,null),g=C.exports;c()(C,{VBtn:d.Z,VCol:p.Z,VDivider:h.Z,VExpansionPanel:u.Z,VExpansionPanelContent:v.Z,VExpansionPanelHeader:x.Z,VExpansionPanels:m.Z,VIcon:f.Z,VRow:b.Z})}}]);
//# sourceMappingURL=183.34c62510.js.map