\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notification.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notification.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Notification.vue?vue&type=template&id=5ee16b86&\"\nimport script from \"./Notification.vue?vue&type=script&lang=js&\"\nexport * from \"./Notification.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Notification.vue?vue&type=style&index=0&lang=scss&\"\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","\n
\n \n \n \n \n
\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notifications.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notifications.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Notifications.vue?vue&type=template&id=4ee598a7&\"\nimport script from \"./Notifications.vue?vue&type=script&lang=js&\"\nexport * from \"./Notifications.vue?vue&type=script&lang=js&\"\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","import Notifications from './Notifications.vue';\n\nconst NotificationStore = {\n state: [], // here the notifications will be added\n settings: {\n overlap: false,\n verticalAlign: 'top',\n horizontalAlign: 'right',\n type: 'info',\n timeout: 5000,\n closeOnClick: true,\n showClose: true\n },\n setOptions(options) {\n this.settings = Object.assign(this.settings, options);\n },\n removeNotification(timestamp) {\n const indexToDelete = this.state.findIndex(n => n.timestamp === timestamp);\n if (indexToDelete !== -1) {\n this.state.splice(indexToDelete, 1);\n }\n },\n addNotification(notification) {\n if (typeof notification === 'string' || notification instanceof String) {\n notification = { message: notification };\n }\n notification.timestamp = new Date();\n notification.timestamp.setMilliseconds(\n notification.timestamp.getMilliseconds() + this.state.length\n );\n notification = Object.assign({}, this.settings, notification);\n this.state.push(notification);\n },\n notify(notification) {\n if (Array.isArray(notification)) {\n notification.forEach(notificationInstance => {\n this.addNotification(notificationInstance);\n });\n } else {\n this.addNotification(notification);\n }\n }\n};\n\nconst NotificationsPlugin = {\n install(Vue, options) {\n let app = new Vue({\n data: {\n notificationStore: NotificationStore\n },\n methods: {\n notify(notification) {\n this.notificationStore.notify(notification);\n }\n }\n });\n Vue.prototype.$notify = app.notify;\n Vue.prototype.$notifications = app.notificationStore;\n Vue.component('Notifications', Notifications);\n if (options) {\n NotificationStore.setOptions(options);\n }\n }\n};\n\nexport default NotificationsPlugin;\n","import BaseInput from '@/components/Inputs/BaseInput.vue';\nimport BaseDropdown from '@/components/BaseDropdown.vue';\nimport Card from '@/components/Cards/Card.vue';\nimport Modal from '@/components/Modal.vue';\nimport StatsCard from '@/components/Cards/StatsCard.vue';\nimport BaseButton from '@/components/BaseButton.vue';\nimport Badge from '@/components/Badge.vue';\nimport RouteBreadcrumb from '@/components/Breadcrumb/RouteBreadcrumb';\nimport BaseCheckbox from '@/components/Inputs/BaseCheckbox.vue';\nimport BaseSwitch from '@/components/BaseSwitch.vue';\nimport BaseRadio from \"@/components/Inputs/BaseRadio\";\nimport BaseProgress from \"@/components/BaseProgress\";\nimport BasePagination from \"@/components/BasePagination\";\nimport BaseAlert from \"@/components/BaseAlert\";\nimport BaseNav from \"@/components/Navbar/BaseNav\";\nimport BaseHeader from '@/components/BaseHeader';\nimport { ValidationProvider, ValidationObserver } from 'vee-validate';\nimport { Input, Tooltip, Popover } from 'element-ui';\n/**\n * You can register global components here and use them as a plugin in your main Vue instance\n */\n\nconst GlobalComponents = {\n install(Vue) {\n Vue.component(Badge.name, Badge);\n Vue.component(BaseAlert.name, BaseAlert);\n Vue.component(BaseButton.name, BaseButton);\n Vue.component(BaseCheckbox.name, BaseCheckbox);\n Vue.component(BaseHeader.name, BaseHeader);\n Vue.component(BaseInput.name, BaseInput);\n Vue.component(BaseDropdown.name, BaseDropdown);\n Vue.component(BaseNav.name, BaseNav);\n Vue.component(BasePagination.name, BasePagination);\n Vue.component(BaseProgress.name, BaseProgress);\n Vue.component(BaseRadio.name, BaseRadio);\n Vue.component(BaseSwitch.name, BaseSwitch);\n Vue.component(Card.name, Card);\n Vue.component(Modal.name, Modal);\n Vue.component(StatsCard.name, StatsCard);\n Vue.component(RouteBreadcrumb.name, RouteBreadcrumb);\n Vue.component(Input.name, Input);\n Vue.component('validation-provider', ValidationProvider)\n Vue.component('validation-observer', ValidationObserver)\n Vue.use(Tooltip);\n Vue.use(Popover);\n }\n};\n\nexport default GlobalComponents;\n","export default {\n bind: function(el, binding, vnode) {\n el.clickOutsideEvent = function(event) {\n // here I check that click was outside the el and his childrens\n if (!(el == event.target || el.contains(event.target))) {\n // and if it did, call method provided in attribute value\n vnode.context[binding.expression](event);\n }\n };\n document.body.addEventListener('click', el.clickOutsideEvent);\n },\n unbind: function(el) {\n document.body.removeEventListener('click', el.clickOutsideEvent);\n }\n};\n","import clickOutside from '@/directives/click-ouside.js';\n\n/**\n * You can register global directives here and use them as a plugin in your main Vue instance\n */\n\nconst GlobalDirectives = {\n install(Vue) {\n Vue.directive('click-outside', clickOutside);\n }\n};\n\nexport default GlobalDirectives;\n","// Polyfills for js features used in the Dashboard but not supported in some browsers (mainly IE)\nimport '@/polyfills';\n// Notifications plugin. Used on Notifications page\nimport Notifications from '@/components/NotificationPlugin';\n// Validation plugin used to validate forms\nimport { configure } from 'vee-validate';\n// A plugin file where you could register global components used across the app\nimport GlobalComponents from './globalComponents';\n// A plugin file where you could register global directives\nimport GlobalDirectives from './globalDirectives';\n// Sidebar on the right. Used as a local plugin in DashboardLayout.vue\nimport SideBar from '@/components/SidebarPlugin';\n\n// element ui language configuration\nimport lang from 'element-ui/lib/locale/lang/en';\nimport locale from 'element-ui/lib/locale';\nlocale.use(lang);\n\n// vue-bootstrap\nimport { BootstrapVue, IconsPlugin } from 'bootstrap-vue'\n\n// asset imports\nimport '@/assets/sass/argon.scss';\nimport '@/assets/css/nucleo/css/nucleo.css';\nimport { extend } from 'vee-validate';\nimport * as rules from 'vee-validate/dist/rules';\nimport { messages } from 'vee-validate/dist/locale/en.json';\n\nObject.keys(rules).forEach(rule => {\n extend(rule, {\n ...rules[rule], // copies rule configuration\n message: messages[rule] // assign message\n });\n});\nexport default {\n install(Vue) {\n Vue.use(GlobalComponents);\n Vue.use(GlobalDirectives);\n Vue.use(SideBar);\n Vue.use(Notifications);\n Vue.use(BootstrapVue);\n Vue.use(IconsPlugin);\n configure({\n classes: {\n valid: 'is-valid',\n invalid: 'is-invalid',\n dirty: ['is-dirty', 'is-dirty'], // multiple classes per flag!\n }\n })\n }\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('notifications',{attrs:{\"group\":\"notify\"}}),_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n