{"version":3,"sources":["webpack:///./src/views/creditor/pages/notificationHistory/notificationHistory.vue","webpack:///src/views/creditor/pages/notificationHistory/notificationHistory.vue","webpack:///./src/views/creditor/pages/notificationHistory/notificationHistory.vue?7443","webpack:///./src/views/creditor/pages/notificationHistory/notificationHistory.vue?03ca","webpack:///../../../src/components/VDialog/VDialog.ts","webpack:///../../../src/components/VCard/index.ts","webpack:///../../../src/components/VSwitch/VSwitch.ts","webpack:///./src/views/creditor/pages/notificationHistory/notificationHistory.vue?2411","webpack:///../../../src/mixins/rippleable/index.ts","webpack:///../../../src/mixins/selectable/index.ts"],"names":["dialogRestoreVersion","attrs","on","_vm","restoreNotification","loadingError","notificationHistory","params","id","staticClass","loading","model","value","callback","selectedNotification","expression","key","notification","updated_by","_c","scopedSlots","$event","staticStyle","showOnlyDifferences","_e","class","staticRenderFns","components","NotificationDetail","data","loadingNotification","loadingNotificationError","loadNotification","getNotificationHistory","computed","mapGetters","notificationHistoryList","objects","sort","a","b","Date","updated_at","methods","mapActions","loadCreditor","mapMutations","setSelectedNotificationHistory","getAllNotificationHistory","showSnackbar","updateNotification","console","log","$route","notification_id","serviceNotification","get","then","response","catch","error","finally","type_modification","limit","payload","days_type","days","email_asset_url","email_subject","type","min_days_after_proposal_agreed","min_days_until_due_date","payment_method","payment_type","push_body","push_title","rule_id","send_next_business_day","deal_tags","sms","whatsapp_initiative","whatsapp_params","when","active","flash_sms","component","baseMixins","mixins","Dependent","Detachable","Overlayable","Returnable","Stackable","Activatable","extend","name","directives","ClickOutside","props","dark","Boolean","disabled","fullscreen","light","maxWidth","String","Number","noClickAnimation","origin","default","persistent","retainFocus","scrollable","transition","width","activatedBy","animate","animateTimeout","stackMinZIndex","previousActiveElement","classes","this","contentClass","trim","isActive","contentClasses","hasActivator","$slots","activator","$scopedSlots","watch","val","show","hideScroll","removeOverlay","unbind","_a","focus","showScroll","genOverlay","created","$attrs","hasOwnProperty","removed","beforeMount","$nextTick","isBooted","beforeDestroy","window","animateClick","clearTimeout","setTimeout","closeConditional","e","target","_isDestroyed","$refs","content","contains","overlay","$el","activeZIndex","getMaxZIndex","document","documentElement","classList","add","options","call","hideOverlay","dialog","activeElement","_b","bind","addEventListener","onFocusin","removeEventListener","onClickOutside","$emit","onKeydown","keyCode","keyCodes","esc","getOpenDependents","length","getActivator","includes","getOpenDependentElements","some","el","focusable","querySelectorAll","find","hasAttribute","matches","genContent","showLazyContent","$createElement","VThemeProvider","root","role","undefined","getScopeIdAttrs","keydown","style","zIndex","ref","genTransition","genInnerContent","appear","tabindex","handler","include","transformOrigin","convertToUnit","getContentSlot","render","h","attach","genActivator","VCardActions","createSimpleFunctional","VCardSubtitle","VCardText","VCardTitle","VCard","Selectable","Touch","inset","flat","VInput","isDisabled","validationState","hasError","shouldValidate","hasSuccess","hasColor","computedColor","switchData","setTextColor","themeClasses","genDefaultSlot","genSwitch","genLabel","title","switchAttrs","attrs$","genInput","genRipple","left","onSwipeLeft","right","onSwipeRight","genProgress","VFabTransition","getSlot","VProgressCircular","color","size","indeterminate","onChange","Vue","ripple","Object","push","center","prevent","preventDefault","Rippleable","Comparable","prop","event","inputValue","falseValue","trueValue","multiple","label","lazyValue","isDark","appIsDark","isMultiple","Array","isArray","internalValue","input","item","valueComparator","isDirty","rippleState","click","assign","toString","computedId","domProps","checked","blur","onBlur","change","onFocus","onClick","isInteractive","filter","validate","isFocused"],"mappings":"+WAA+e,W,MAAsBA,K,EAA4B,W,OAAC,SAAE,YAAS,SAA0BC,GAAK,OAAC,C,MAAC,CAAkB,YAAO,OAAIC,MAAG,CAAC,MAAO,EAAC,qB,SAAwBC,SAAIC,GAAqB,0BAAKD,WAAO,yBAA6D,CAAE,EAACA,OAAIE,UAAoBC,CAAsDL,YAAM,W,CAAC,KAAM,iEAAG,8B,MAAC,CAAU,MAAQ,UAAsB,SAAgBA,IAAO,MAAO,SAAE,GAAC,wBAAU,K,GAE15BM,iBAAQ,U,MAAEC,C,MAAsC,UAClD,SAAG,GAAI,CAAoGC,M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,KAAKG,SAASuK,WAC9B9L,SAAUoB,KAAK8G,WACf/N,GAAIiH,KAAK2K,WACT5F,KAAMnI,EACNA,QACCpE,GACHoS,SAAU,CACRzR,MAAO6G,KAAK7G,MACZ0R,QAAS7K,KAAKG,UAEhB1H,GAAI,CACFqS,KAAM9K,KAAK+K,OACXC,OAAQhL,KAAK2I,SACb3H,MAAOhB,KAAKiL,QACZ/F,QAASlF,KAAK0D,UACd8G,MAAOvB,GAET5D,IAAK,WAGT6F,QAASlJ,GACPhC,KAAK2I,WACL3I,KAAKyD,MAAM,QAASzB,IAEtB2G,WACE,IAAK3I,KAAKmL,cAAe,OAEzB,MAAMhS,EAAQ6G,KAAK7G,MACnB,IAAIgR,EAAQnK,KAAKkK,cAEjB,GAAIlK,KAAK+J,WAAY,CACdC,MAAMC,QAAQE,KACjBA,EAAQ,IAGV,MAAMpG,EAASoG,EAAMpG,OAErBoG,EAAQA,EAAMiB,OAAQhB,IAAepK,KAAKqK,gBAAgBD,EAAMjR,IAE5DgR,EAAMpG,SAAWA,GACnBoG,EAAMpB,KAAK5P,QAGbgR,OAD4BnF,IAAnBhF,KAAKyJ,gBAA+CzE,IAApBhF,KAAKwJ,WACtCxJ,KAAKqK,gBAAgBF,EAAOnK,KAAKyJ,WAAazJ,KAAKwJ,WAAaxJ,KAAKyJ,UACpEtQ,EACD6G,KAAKqK,gBAAgBF,EAAOhR,GAAS,KAAOA,GAE3CgR,EAGXnK,KAAKqL,UAAS,EAAMlB,GACpBnK,KAAKkK,cAAgBC,EACrBnK,KAAKmH,SAAWgD,GAElBc,QAASjJ,GACPhC,KAAKsL,WAAY,EACjBtL,KAAKyD,MAAM,QAASzB,IAEtB+I,OAAQ/I,GACNhC,KAAKsL,WAAY,EACjBtL,KAAKyD,MAAM,OAAQzB,IAGrB0B,UAAW1B","file":"js/chunk-3bdb43ce.b3b9b301.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"ma-n3\"},[_c('v-dialog',{attrs:{\"max-width\":\"370\"},model:{value:(_vm.dialogRestoreVersion),callback:function ($$v) {_vm.dialogRestoreVersion=$$v},expression:\"dialogRestoreVersion\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"text-h5\"},[_vm._v(\" Deseja restaurar a notificação para a versão selecionada? \")]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"primary\",\"text\":\"\"},on:{\"click\":function($event){_vm.dialogRestoreVersion = false}}},[_vm._v(\" Fechar \")]),_c('v-btn',{attrs:{\"color\":\"primary\",\"text\":\"\"},on:{\"click\":function($event){return _vm.restoreNotification()}}},[_vm._v(\" Restaurar \")])],1)],1)],1),_c('div',{staticClass:\"d-flex\"},[(!_vm.loadingError && _vm.notificationHistory.length)?_c('div',[_c('v-toolbar',{attrs:{\"flat\":\"\",\"dark\":\"\",\"color\":\"deep-purple accent-2\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"exact\":\"\",\"to\":{\n name: 'Notification',\n params: { id: _vm.$route.params.notification_id },\n }}},[_c('v-icon',[_vm._v(\"mdi-arrow-left\")])],1),_c('v-toolbar-title',[_vm._v(\"Voltar\")])],1),_c('v-list',{staticClass:\"py-0 qj-notification-history\"},[(_vm.loading)?_c('div',{staticClass:\"d-flex justify-center\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"deep-purple accent-2\",\"size\":50}})],1):_vm._e(),_c('v-list-item-group',{attrs:{\"mandatory\":\"\",\"color\":\"primary\"},model:{value:(_vm.selectedNotification),callback:function ($$v) {_vm.selectedNotification=$$v},expression:\"selectedNotification\"}},[_vm._l((_vm.notificationHistory),function(notification,index){return [_c('v-list-item',{key:notification.id,attrs:{\"title\":notification.updated_by}},[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(_vm._f(\"firstWord\")(notification.updated_by)))]),_c('v-list-item-subtitle',[_vm._v(_vm._s(_vm._f(\"moment\")(notification.created_at,'L LT')))])],1),_c('v-list-item-action',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-btn',_vm._g(_vm._b({attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.dialogRestoreVersion = true}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"mdi-arrow-u-left-bottom\")])],1)]}}],null,true)},[_c('span',[_vm._v(\"Restaurar versão\")])])],1)],1),_c('v-divider',{key:index})]})],2)],1)],1):_vm._e(),(_vm.loadingError)?_c('div',{staticClass:\"pl-6\",staticStyle:{\"margin-left\":\"calc(50vh)\",\"margin-top\":\"50px\"}},[_c('v-alert',{attrs:{\"type\":\"error\",\"text\":\"\"}},[_c('v-row',{attrs:{\"align\":\"center\"}},[_c('v-col',{staticClass:\"grow\"},[_vm._v(\" Não foi possível carregar a lista de histórico das notificações. \")]),_c('v-col',{staticClass:\"shrink\"},[_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){return _vm.getNotificationHistory()}}},[_vm._v(\" Tentar novamente \")])],1)],1)],1)],1):_vm._e(),(!_vm.loadingError && _vm.notificationHistory.length)?_c('div',{staticClass:\"flex-grow-1\"},[_c('v-toolbar',{attrs:{\"flat\":\"\",\"dark\":\"\",\"color\":\"deep-purple accent-2\"}},[_c('div',{staticClass:\"d-flex flex-grow-1 justify-space-around\"},[_c('div',{staticClass:\"text-center\",staticStyle:{\"width\":\"50%\"}},[(_vm.notificationHistory[_vm.selectedNotification])?_c('div',[_vm._v(\" \"+_vm._s(_vm._f(\"firstWord\")(_vm.notificationHistory[_vm.selectedNotification].updated_by))+\", \"+_vm._s(_vm._f(\"moment\")(_vm.notificationHistory[_vm.selectedNotification].created_at,'L LT'))+\" \")]):_vm._e()]),_c('div',{staticClass:\"text-center font-weight-bold\",staticStyle:{\"width\":\"50%\"}},[_vm._v(\" ATUAL \")])]),_c('v-switch',{attrs:{\"label\":\"Apenas diferenças\",\"hide-details\":\"\"},model:{value:(_vm.showOnlyDifferences),callback:function ($$v) {_vm.showOnlyDifferences=$$v},expression:\"showOnlyDifferences\"}})],1),(_vm.loading)?_c('div',{staticClass:\"d-flex justify-center\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"deep-purple accent-2\",\"size\":50}})],1):_vm._e(),(_vm.notificationHistory)?_c('div',{staticClass:\"d-flex qj-notification-history-diff\",class:{ 'show-only-differences': _vm.showOnlyDifferences }},[_c('NotificationDetail',{attrs:{\"notification\":_vm.notificationHistory[_vm.selectedNotification],\"current-notification\":_vm.notification}}),_c('NotificationDetail',{attrs:{\"notification\":_vm.notification,\"current-notification\":_vm.notificationHistory[_vm.selectedNotification]}})],1):_vm._e()],1):_vm._e()]),(!_vm.loadingError && !_vm.notificationHistory.length)?_c('div',{staticClass:\"pa-4 text-center text--secondary\"},[_vm._v(\" Nenhuma alteração encontrada. \")]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./notificationHistory.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./notificationHistory.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./notificationHistory.vue?vue&type=template&id=c0653e80\"\nimport script from \"./notificationHistory.vue?vue&type=script&lang=js\"\nexport * from \"./notificationHistory.vue?vue&type=script&lang=js\"\nimport style0 from \"./notificationHistory.vue?vue&type=style&index=0&id=c0653e80&prod&large=scss&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// Styles\nimport './VDialog.sass'\n\n// Components\nimport { VThemeProvider } from '../VThemeProvider'\n\n// Mixins\nimport Activatable from '../../mixins/activatable'\nimport Dependent from '../../mixins/dependent'\nimport Detachable from '../../mixins/detachable'\nimport Overlayable from '../../mixins/overlayable'\nimport Returnable from '../../mixins/returnable'\nimport Stackable from '../../mixins/stackable'\n\n// Directives\nimport ClickOutside from '../../directives/click-outside'\n\n// Helpers\nimport mixins from '../../util/mixins'\nimport { removed } from '../../util/console'\nimport {\n convertToUnit,\n keyCodes,\n} from '../../util/helpers'\n\n// Types\nimport { VNode, VNodeData } from 'vue'\n\nconst baseMixins = mixins(\n Dependent,\n Detachable,\n Overlayable,\n Returnable,\n Stackable,\n Activatable,\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-dialog',\n\n directives: { ClickOutside },\n\n props: {\n dark: Boolean,\n disabled: Boolean,\n fullscreen: Boolean,\n light: Boolean,\n maxWidth: [String, Number],\n noClickAnimation: Boolean,\n origin: {\n type: String,\n default: 'center center',\n },\n persistent: Boolean,\n retainFocus: {\n type: Boolean,\n default: true,\n },\n scrollable: Boolean,\n transition: {\n type: [String, Boolean],\n default: 'dialog-transition',\n },\n width: [String, Number],\n },\n\n data () {\n return {\n activatedBy: null as EventTarget | null,\n animate: false,\n animateTimeout: -1,\n stackMinZIndex: 200,\n previousActiveElement: null as HTMLElement | null,\n }\n },\n\n computed: {\n classes (): object {\n return {\n [(`v-dialog ${this.contentClass}`).trim()]: true,\n 'v-dialog--active': this.isActive,\n 'v-dialog--persistent': this.persistent,\n 'v-dialog--fullscreen': this.fullscreen,\n 'v-dialog--scrollable': this.scrollable,\n 'v-dialog--animated': this.animate,\n }\n },\n contentClasses (): object {\n return {\n 'v-dialog__content': true,\n 'v-dialog__content--active': this.isActive,\n }\n },\n hasActivator (): boolean {\n return Boolean(\n !!this.$slots.activator ||\n !!this.$scopedSlots.activator\n )\n },\n },\n\n watch: {\n isActive (val) {\n if (val) {\n this.show()\n this.hideScroll()\n } else {\n this.removeOverlay()\n this.unbind()\n this.previousActiveElement?.focus()\n }\n },\n fullscreen (val) {\n if (!this.isActive) return\n\n if (val) {\n this.hideScroll()\n this.removeOverlay(false)\n } else {\n this.showScroll()\n this.genOverlay()\n }\n },\n },\n\n created () {\n /* istanbul ignore next */\n if (this.$attrs.hasOwnProperty('full-width')) {\n removed('full-width', this)\n }\n },\n\n beforeMount () {\n this.$nextTick(() => {\n this.isBooted = this.isActive\n this.isActive && this.show()\n })\n },\n\n beforeDestroy () {\n if (typeof window !== 'undefined') this.unbind()\n },\n\n methods: {\n animateClick () {\n this.animate = false\n // Needed for when clicking very fast\n // outside of the dialog\n this.$nextTick(() => {\n this.animate = true\n window.clearTimeout(this.animateTimeout)\n this.animateTimeout = window.setTimeout(() => (this.animate = false), 150)\n })\n },\n closeConditional (e: Event) {\n const target = e.target as HTMLElement\n // Ignore the click if the dialog is closed or destroyed,\n // if it was on an element inside the content,\n // if it was dragged onto the overlay (#6969),\n // or if this isn't the topmost dialog (#9907)\n return !(\n this._isDestroyed ||\n !this.isActive ||\n this.$refs.content.contains(target) ||\n (this.overlay && target && !this.overlay.$el.contains(target))\n ) && this.activeZIndex >= this.getMaxZIndex()\n },\n hideScroll () {\n if (this.fullscreen) {\n document.documentElement.classList.add('overflow-y-hidden')\n } else {\n Overlayable.options.methods.hideScroll.call(this)\n }\n },\n show () {\n !this.fullscreen && !this.hideOverlay && this.genOverlay()\n // Double nextTick to wait for lazy content to be generated\n this.$nextTick(() => {\n this.$nextTick(() => {\n if (!this.$refs.dialog?.contains(document.activeElement)) {\n this.previousActiveElement = document.activeElement as HTMLElement\n this.$refs.dialog?.focus()\n }\n this.bind()\n })\n })\n },\n bind () {\n window.addEventListener('focusin', this.onFocusin)\n },\n unbind () {\n window.removeEventListener('focusin', this.onFocusin)\n },\n onClickOutside (e: Event) {\n this.$emit('click:outside', e)\n\n if (this.persistent) {\n this.noClickAnimation || this.animateClick()\n } else {\n this.isActive = false\n }\n },\n onKeydown (e: KeyboardEvent) {\n if (e.keyCode === keyCodes.esc && !this.getOpenDependents().length) {\n if (!this.persistent) {\n this.isActive = false\n const activator = this.getActivator()\n this.$nextTick(() => activator && (activator as HTMLElement).focus())\n } else if (!this.noClickAnimation) {\n this.animateClick()\n }\n }\n this.$emit('keydown', e)\n },\n // On focus change, wrap focus to stay inside the dialog\n // https://github.com/vuetifyjs/vuetify/issues/6892\n onFocusin (e: Event) {\n if (!e || !this.retainFocus) return\n\n const target = e.target as HTMLElement\n\n if (\n !!target &&\n this.$refs.dialog &&\n // It isn't the document or the dialog body\n ![document, this.$refs.dialog].includes(target) &&\n // It isn't inside the dialog body\n !this.$refs.dialog.contains(target) &&\n // We're the topmost dialog\n this.activeZIndex >= this.getMaxZIndex() &&\n // It isn't inside a dependent element (like a menu)\n !this.getOpenDependentElements().some(el => el.contains(target))\n // So we must have focused something outside the dialog and its children\n ) {\n // Find and focus the first available element inside the dialog\n const focusable = this.$refs.dialog.querySelectorAll('button, [href], input:not([type=\"hidden\"]), select, textarea, [tabindex]:not([tabindex=\"-1\"])')\n const el = [...focusable].find(el => !el.hasAttribute('disabled') && !el.matches('[tabindex=\"-1\"]')) as HTMLElement | undefined\n el && el.focus()\n }\n },\n genContent () {\n return this.showLazyContent(() => [\n this.$createElement(VThemeProvider, {\n props: {\n root: true,\n light: this.light,\n dark: this.dark,\n },\n }, [\n this.$createElement('div', {\n class: this.contentClasses,\n attrs: {\n role: 'dialog',\n 'aria-modal': this.hideOverlay ? undefined : 'true',\n ...this.getScopeIdAttrs(),\n },\n on: { keydown: this.onKeydown },\n style: { zIndex: this.activeZIndex },\n ref: 'content',\n }, [this.genTransition()]),\n ]),\n ])\n },\n genTransition () {\n const content = this.genInnerContent()\n\n if (!this.transition) return content\n\n return this.$createElement('transition', {\n props: {\n name: this.transition,\n origin: this.origin,\n appear: true,\n },\n }, [content])\n },\n genInnerContent () {\n const data: VNodeData = {\n class: this.classes,\n attrs: {\n tabindex: this.isActive ? 0 : undefined,\n },\n ref: 'dialog',\n directives: [\n {\n name: 'click-outside',\n value: {\n handler: this.onClickOutside,\n closeConditional: this.closeConditional,\n include: this.getOpenDependentElements,\n },\n },\n { name: 'show', value: this.isActive },\n ],\n style: {\n transformOrigin: this.origin,\n },\n }\n\n if (!this.fullscreen) {\n data.style = {\n ...data.style as object,\n maxWidth: convertToUnit(this.maxWidth),\n width: convertToUnit(this.width),\n }\n }\n\n return this.$createElement('div', data, this.getContentSlot())\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-dialog__container',\n class: {\n 'v-dialog__container--attached':\n this.attach === '' ||\n this.attach === true ||\n this.attach === 'attach',\n },\n }, [\n this.genActivator(),\n this.genContent(),\n ])\n },\n})\n","import VCard from './VCard'\nimport { createSimpleFunctional } from '../../util/helpers'\n\nconst VCardActions = createSimpleFunctional('v-card__actions')\nconst VCardSubtitle = createSimpleFunctional('v-card__subtitle')\nconst VCardText = createSimpleFunctional('v-card__text')\nconst VCardTitle = createSimpleFunctional('v-card__title')\n\nexport {\n VCard,\n VCardActions,\n VCardSubtitle,\n VCardText,\n VCardTitle,\n}\n\nexport default {\n $_vuetify_subcomponents: {\n VCard,\n VCardActions,\n VCardSubtitle,\n VCardText,\n VCardTitle,\n },\n}\n","// Styles\nimport '../../styles/components/_selection-controls.sass'\nimport './VSwitch.sass'\n\n// Mixins\nimport Selectable from '../../mixins/selectable'\nimport VInput from '../VInput'\n\n// Directives\nimport Touch from '../../directives/touch'\n\n// Components\nimport { VFabTransition } from '../transitions'\nimport VProgressCircular from '../VProgressCircular/VProgressCircular'\n\n// Helpers\nimport { getSlot, keyCodes } from '../../util/helpers'\n\n// Types\nimport { VNode, VNodeData } from 'vue'\n\n/* @vue/component */\nexport default Selectable.extend({\n name: 'v-switch',\n\n directives: { Touch },\n\n props: {\n inset: Boolean,\n loading: {\n type: [Boolean, String],\n default: false,\n },\n flat: {\n type: Boolean,\n default: false,\n },\n },\n\n computed: {\n classes (): object {\n return {\n ...VInput.options.computed.classes.call(this),\n 'v-input--selection-controls v-input--switch': true,\n 'v-input--switch--flat': this.flat,\n 'v-input--switch--inset': this.inset,\n }\n },\n attrs (): object {\n return {\n 'aria-checked': String(this.isActive),\n 'aria-disabled': String(this.isDisabled),\n role: 'switch',\n }\n },\n // Do not return undefined if disabled,\n // according to spec, should still show\n // a color when disabled and active\n validationState (): string | undefined {\n if (this.hasError && this.shouldValidate) return 'error'\n if (this.hasSuccess) return 'success'\n if (this.hasColor !== null) return this.computedColor\n return undefined\n },\n switchData (): VNodeData {\n return this.setTextColor(this.loading ? undefined : this.validationState, {\n class: this.themeClasses,\n })\n },\n },\n\n methods: {\n genDefaultSlot (): (VNode | null)[] {\n return [\n this.genSwitch(),\n this.genLabel(),\n ]\n },\n genSwitch (): VNode {\n const { title, ...switchAttrs } = this.attrs$\n\n return this.$createElement('div', {\n staticClass: 'v-input--selection-controls__input',\n }, [\n this.genInput('checkbox', {\n ...this.attrs,\n ...switchAttrs,\n }),\n this.genRipple(this.setTextColor(this.validationState, {\n directives: [{\n name: 'touch',\n value: {\n left: this.onSwipeLeft,\n right: this.onSwipeRight,\n },\n }],\n })),\n this.$createElement('div', {\n staticClass: 'v-input--switch__track',\n ...this.switchData,\n }),\n this.$createElement('div', {\n staticClass: 'v-input--switch__thumb',\n ...this.switchData,\n }, [this.genProgress()]),\n ])\n },\n genProgress (): VNode {\n return this.$createElement(VFabTransition, {}, [\n this.loading === false\n ? null\n : getSlot(this, 'progress') || this.$createElement(VProgressCircular, {\n props: {\n color: (this.loading === true || this.loading === '')\n ? (this.color || 'primary')\n : this.loading,\n size: 16,\n width: 2,\n indeterminate: true,\n },\n }),\n ])\n },\n onSwipeLeft () {\n if (this.isActive) this.onChange()\n },\n onSwipeRight () {\n if (!this.isActive) this.onChange()\n },\n onKeydown (e: KeyboardEvent) {\n if (\n (e.keyCode === keyCodes.left && this.isActive) ||\n (e.keyCode === keyCodes.right && !this.isActive)\n ) this.onChange()\n },\n },\n})\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./notificationHistory.vue?vue&type=style&index=0&id=c0653e80&prod&large=scss&lang=css\"","// Directives\nimport ripple from '../../directives/ripple'\n\n// Types\nimport Vue, { VNode, VNodeData, VNodeDirective } from 'vue'\n\nexport default Vue.extend({\n name: 'rippleable',\n\n directives: { ripple },\n\n props: {\n ripple: {\n type: [Boolean, Object],\n default: true,\n },\n },\n\n methods: {\n genRipple (data: VNodeData = {}): VNode | null {\n if (!this.ripple) return null\n\n data.staticClass = 'v-input--selection-controls__ripple'\n\n data.directives = data.directives || []\n data.directives.push({\n name: 'ripple',\n value: { center: true },\n } as VNodeDirective)\n\n return this.$createElement('div', data)\n },\n },\n})\n","// Components\nimport VInput from '../../components/VInput'\n\n// Mixins\nimport Rippleable from '../rippleable'\nimport Comparable from '../comparable'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\nexport function prevent (e: Event) {\n e.preventDefault()\n}\n\n/* @vue/component */\nexport default mixins(\n VInput,\n Rippleable,\n Comparable\n).extend({\n name: 'selectable',\n\n model: {\n prop: 'inputValue',\n event: 'change',\n },\n\n props: {\n id: String,\n inputValue: null as any,\n falseValue: null as any,\n trueValue: null as any,\n multiple: {\n type: Boolean,\n default: null,\n },\n label: String,\n },\n\n data () {\n return {\n hasColor: this.inputValue,\n lazyValue: this.inputValue,\n }\n },\n\n computed: {\n computedColor (): string | undefined {\n if (!this.isActive) return undefined\n if (this.color) return this.color\n if (this.isDark && !this.appIsDark) return 'white'\n return 'primary'\n },\n isMultiple (): boolean {\n return this.multiple === true || (this.multiple === null && Array.isArray(this.internalValue))\n },\n isActive (): boolean {\n const value = this.value\n const input = this.internalValue\n\n if (this.isMultiple) {\n if (!Array.isArray(input)) return false\n\n return input.some(item => this.valueComparator(item, value))\n }\n\n if (this.trueValue === undefined || this.falseValue === undefined) {\n return value\n ? this.valueComparator(value, input)\n : Boolean(input)\n }\n\n return this.valueComparator(input, this.trueValue)\n },\n isDirty (): boolean {\n return this.isActive\n },\n rippleState (): string | undefined {\n return !this.isDisabled && !this.validationState\n ? undefined\n : this.validationState\n },\n },\n\n watch: {\n inputValue (val) {\n this.lazyValue = val\n this.hasColor = val\n },\n },\n\n methods: {\n genLabel () {\n const label = VInput.options.methods.genLabel.call(this)\n\n if (!label) return label\n\n label!.data!.on = {\n // Label shouldn't cause the input to focus\n click: prevent,\n }\n\n return label\n },\n genInput (type: string, attrs: object) {\n return this.$createElement('input', {\n attrs: Object.assign({\n 'aria-checked': this.isActive.toString(),\n disabled: this.isDisabled,\n id: this.computedId,\n role: type,\n type,\n }, attrs),\n domProps: {\n value: this.value,\n checked: this.isActive,\n },\n on: {\n blur: this.onBlur,\n change: this.onChange,\n focus: this.onFocus,\n keydown: this.onKeydown,\n click: prevent,\n },\n ref: 'input',\n })\n },\n onClick (e: Event) {\n this.onChange()\n this.$emit('click', e)\n },\n onChange () {\n if (!this.isInteractive) return\n\n const value = this.value\n let input = this.internalValue\n\n if (this.isMultiple) {\n if (!Array.isArray(input)) {\n input = []\n }\n\n const length = input.length\n\n input = input.filter((item: any) => !this.valueComparator(item, value))\n\n if (input.length === length) {\n input.push(value)\n }\n } else if (this.trueValue !== undefined && this.falseValue !== undefined) {\n input = this.valueComparator(input, this.trueValue) ? this.falseValue : this.trueValue\n } else if (value) {\n input = this.valueComparator(input, value) ? null : value\n } else {\n input = !input\n }\n\n this.validate(true, input)\n this.internalValue = input\n this.hasColor = input\n },\n onFocus (e: FocusEvent) {\n this.isFocused = true\n this.$emit('focus', e)\n },\n onBlur (e: FocusEvent) {\n this.isFocused = false\n this.$emit('blur', e)\n },\n /** @abstract */\n onKeydown (e: Event) {},\n },\n})\n"],"sourceRoot":""}