UNPKG

vue-toastify

Version:

<p align="center">Simple and dependency-free notification plugin.</p>

6 lines (5 loc) 914 B
"use strict";/*! ================================ vue-toastify v2.1.0 (c) 2019-present Nandor Kraszlan Released under MIT License ================================== */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("vue"),o=r.reactive({singular:!1,withBackdrop:!1,backdrop:"rgba(0, 0, 0, 0.2)",position:"bottom-right",defaultTitle:!0,canTimeout:!0,pauseOnHover:!1,pauseOnFocusLoss:!0,iconEnabled:!0,draggable:!0,dragThreshold:.75,hideProgressbar:!1,errorDuration:8e3,successDuration:4e3,warningInfoDuration:6e3,theme:"dark",baseIconClass:"",orderLatest:!0,transition:void 0,oneType:!1,maxToasts:6,customNotifications:{},enableHtmlInterpretation:!0});function a(){return{settings:r.readonly(o),updateSettings:(e,s)=>{let t={};return typeof e=="object"&&s===void 0?t=e:typeof e=="string"&&(t={[e]:s}),r.readonly(Object.assign(o,t))}}}exports.default=a;