(window.webpackJsonp=window.webpackJsonp||[]).push([[163],{1597:function(e,t,o){"use strict";o.r(t);var c,n=o(57),r=o(1),l=o(147),d=o(148),v={};v.props={item:{key:"item",required:!0,type:Object},dialog:{key:"dialog",required:!0,type:Boolean},color:{key:"color",required:!0,type:String},editing:{key:"editing",required:!0,type:Boolean}},v.setup=function(e,t){var o=Object(n.d)().$graphql,v=e,f=t.emit,x=Object(r.J)(v.item.selected);Object(r.Y)(x,(function(e){f(e?"select":"unselect")}));return{selected:x,showDialog:function(){f("update:dialog",!0)},trigger:function(){v.item&&(console.log("quickaction::trigger::".concat(v.item.id)),o.default.request(Object(d.a)(c||(c=Object(l.a)(["\n      mutation quickActionTrigger($id: String!) {\n        quickActionTrigger(id: $id)\n      }"]))),{id:v.item.id}))}}};var f=v,x=o(45),m=o(44),k=o.n(m),y=o(43),w=o(25),h=o(267),O=o(69),j=o(813),C=o.n(j),_=o(85),component=Object(x.a)(f,(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("v-card-text",{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"text-button pa-1 mb-1 text-center",staticStyle:{"font-size":"12px !important",display:"block"},style:{color:e.color},on:{click:function(t){e.editing?e.showDialog():e.trigger(t)}}},[o("v-row",{attrs:{"no-gutters":""}},[o("v-col",{staticClass:"text-truncate"},[e._v("\n      "+e._s(e.item.options.label)+"\n    ")]),e._v(" "),o("v-slide-x-reverse-transition",[e.editing?o("v-col",{staticClass:"d-flex",attrs:{cols:"auto"}},["white"!==e.color?o("v-simple-checkbox",{attrs:{light:""},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}}):o("v-simple-checkbox",{attrs:{dark:""},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1):e._e()],1)],1)],1)}),[],!1,null,null,null);t.default=component.exports;k()(component,{VCardText:y.d,VCol:w.a,VRow:w.d,VSimpleCheckbox:h.b,VSlideXReverseTransition:O.g}),C()(component,{Ripple:_.a})},813:function(e,t){e.exports=function(component,e){var t="function"==typeof component.exports?component.exports.extendOptions:component.options;for(var i in"function"==typeof component.exports&&(t.directives=component.exports.options.directives),t.directives=t.directives||{},e)t.directives[i]=t.directives[i]||e[i]}}}]);