From 002eb44eee98dc838bc854b945ab0cbf4884dd57 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 14 Dec 2020 23:29:56 -0800 Subject: :star: --- semantic/dist/components/toast.min.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 semantic/dist/components/toast.min.js (limited to 'semantic/dist/components/toast.min.js') diff --git a/semantic/dist/components/toast.min.js b/semantic/dist/components/toast.min.js deleted file mode 100644 index 8d7fb5e..0000000 --- a/semantic/dist/components/toast.min.js +++ /dev/null @@ -1,11 +0,0 @@ - /* - * # Fomantic UI - 2.8.7 - * https://github.com/fomantic/Fomantic-UI - * http://fomantic-ui.com/ - * - * Copyright 2014 Contributors - * Released under the MIT license - * http://opensource.org/licenses/MIT - * - */ -!function(M,e,E){"use strict";M.isFunction=M.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},e=void 0!==e&&e.Math==Math?e:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),M.fn.toast=function(w){var k,e=M(this),x=e.selector||"",T=(new Date).getTime(),I=[],P=w,O="string"==typeof P,A=[].slice.call(arguments,1);return e.each(function(){var t,o,a,s,i,c,l,r=M.isPlainObject(w)?M.extend(!0,{},M.fn.toast.settings,w):M.extend({},M.fn.toast.settings),u=r.className,e=r.selector,d=r.error,n=r.namespace,p=r.fields,f="."+n,m=n+"-module",g=M(this),h=r.context?M(r.context):M("body"),v=g.hasClass("toast")||g.hasClass("message")||g.hasClass("card"),b=this,C=v?g.data(m):E,y={initialize:function(){y.verbose("Initializing element"),y.has.container()||y.create.container(),(v||""!==r.message||""!==r.title||""!==y.get.iconClass()||r.showImage||y.has.configActions())&&("string"==typeof r.showProgress&&-1!==[u.top,u.bottom].indexOf(r.showProgress)||(r.showProgress=!1),y.create.toast(),r.closeOnClick&&(r.closeIcon||0",{class:r.position+" "+u.container}))},toast:function(){var e,n;t=M("
",{class:u.box}),v?(o=r.cloneModule?g.clone().removeAttr("id"):g,l=o.find("> i"+y.helpers.toClass(u.close)),r.closeIcon=0"),n=M("
",{class:u.content}),""!==(e=y.get.iconClass())&&o.append(M("",{class:e+" "+u.icon})),r.showImage&&o.append(M("",{class:u.image+" "+r.classImage,src:r.showImage})),""!==r.title&&n.append(M("
",{class:u.title,text:r.title})),n.append(M("
",{html:y.helpers.escape(r.message,r.preserveHTML)})),o.addClass(r.class+" "+u.toast).append(n),o.css("opacity",r.opacity),r.closeIcon&&((l=M("",{class:u.close+" "+("string"==typeof r.closeIcon?r.closeIcon:"")})).hasClass(u.left)?o.prepend(l):o.append(l))),o.hasClass(u.compact)&&(r.compact=!0),o.hasClass("card")&&(r.compact=!1),a=o.find(".actions"),y.has.configActions()&&(0===a.length&&(a=M("
",{class:u.actions+" "+(r.classActions||"")}).appendTo(o)),o.hasClass("card")&&!a.hasClass(u.attached)&&(a.addClass(u.extraContent),a.hasClass(u.vertical)&&(a.removeClass(u.vertical),y.error(d.verticalCard))),r.actions.forEach(function(e){var n=e[p.icon]?'':"",t=y.helpers.escape(e[p.text]||"",r.preserveHTML),o=y.helpers.deQuote(e[p.class]||""),s=e[p.click]&&M.isFunction(e[p.click])?e[p.click]:function(){};a.append(M("