You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
43 KiB
1 lines
43 KiB
{"version":3,"sources":["shape.js"],"names":["$","window","document","undefined","Math","self","Function","fn","shape","parameters","returnedValue","$allModules","this","time","Date","getTime","performance","query","arguments","methodInvoked","queryArguments","slice","call","requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","msRequestAnimationFrame","callback","setTimeout","each","$activeSide","$nextSide","module","moduleSelector","selector","settings","isPlainObject","extend","namespace","error","className","eventNamespace","moduleNamespace","$module","$sides","find","sides","$side","side","nextIndex","element","instance","data","initialize","verbose","set","defaultSide","instantiate","destroy","removeData","off","refresh","repaint","createElement","offsetWidth","animate","propertyObject","event","stopPropagation","reset","active","beforeChange","get","transitionEvent","addClass","animating","css","one","duration","hidden","queue","method","debug","removeClass","attr","removeAttr","is","complete","filter","hasClass","next","length","first","add","-webkit-transition-duration","-moz-transition-duration","-ms-transition-duration","-o-transition-duration","transition-duration","currentStageSize","width","outerWidth","height","outerHeight","stageSize","$clone","clone","loading","eq","newWidth","newHeight","insertAfter","remove","jitter","nextSide","index","onChange","flip","up","allowRepeats","transform","stage","above","down","below","left","right","over","behind","back","translate","y","z","x","transition","transitions","OTransition","MozTransition","WebkitTransition","style","box","origin","depth","top","setting","name","value","internal","silent","log","prototype","bind","console","info","apply","message","currentTime","executionTime","previousTime","push","Name","Arguments","Element","Execution Time","clearTimeout","timer","display","title","totalTime","group","table","groupCollapsed","groupEnd","invoke","passedArguments","context","maxDepth","found","response","object","split","camelCaseValue","charAt","toUpperCase","isFunction","isArray","jQuery"],"mappings":";;;;;;;;;CAUC,SAAWA,EAAGC,EAAQC,EAAUC,GAEjC,YAEAF,GAA2B,mBAAVA,IAAyBA,EAAOG,MAAQA,KACrDH,EACgB,mBAARI,OAAuBA,KAAKD,MAAQA,KAC1CC,KACAC,SAAS,iBAGfN,EAAEO,GAAGC,MAAQ,SAASC,GACpB,GAiBEC,GAhBAC,EAAkB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antic-ui/\n *\n *\n * Released under the MIT license\n * http://opensource.org/licenses/MIT\n *\n */\n\n;(function ($, window, document, undefined) {\n\n\"use strict\";\n\nwindow = (typeof window != 'undefined' && window.Math == Math)\n ? window\n : (typeof self != 'undefined' && self.Math == Math)\n ? self\n : Function('return this')()\n;\n\n$.fn.shape = function(parameters) {\n var\n $allModules = $(this),\n $body = $('body'),\n\n time = new Date().getTime(),\n performance = [],\n\n query = arguments[0],\n methodInvoked = (typeof query == 'string'),\n queryArguments = [].slice.call(arguments, 1),\n\n requestAnimationFrame = window.requestAnimationFrame\n || window.mozRequestAnimationFrame\n || window.webkitRequestAnimationFrame\n || window.msRequestAnimationFrame\n || function(callback) { setTimeout(callback, 0); },\n\n returnedValue\n ;\n\n $allModules\n .each(function() {\n var\n moduleSelector = $allModules.selector || '',\n settings = ( $.isPlainObject(parameters) )\n ? $.extend(true, {}, $.fn.shape.settings, parameters)\n : $.extend({}, $.fn.shape.settings),\n\n // internal aliases\n namespace = settings.namespace,\n selector = settings.selector,\n error = settings.error,\n className = settings.className,\n\n // define namespaces for modules\n eventNamespace = '.' + namespace,\n moduleNamespace = 'module-' + namespace,\n\n // selector cache\n $module = $(this),\n $sides = $module.find(selector.sides),\n $side = $module.find(selector.side),\n\n // private variables\n nextIndex = false,\n $activeSide,\n $nextSide,\n\n // standard module\n element = this,\n instance = $module.data(moduleNamespace),\n module\n ;\n\n module = {\n\n initialize: function() {\n module.verbose('Initializing module for', element);\n module.set.defaultSide();\n module.instantiate();\n },\n\n instantiate: function() {\n module.verbose('Storing instance of module', module);\n instance = module;\n $module\n .data(moduleNamespace, instance)\n ;\n },\n\n destroy: function() {\n module.verbose('Destroying previous module for', element);\n $module\n .removeData(moduleNamespace)\n .off(eventNamespace)\n ;\n },\n\n refresh: function() {\n module.verbose('Refreshing selector cache for', element);\n $module = $(element);\n $sides = $(this).find(selector.shape);\n $side = $(this).find(selector.side);\n },\n\n repaint: function() {\n module.verbose('Forcing repaint event');\n var\n shape = $sides[0] || document.createElement('div'),\n fakeAssignment = shape.offsetWidth\n ;\n },\n\n animate: function(propertyObject, callback) {\n module.verbose('Animating box with properties', propertyObject);\n callback = callback || function(event) {\n module.verbose('Executing animation callback');\n if(event !== undefined) {\n event.stopPropagation();\n }\n module.reset();\n module.set.active();\n };\n settings.beforeChange.call($nextSide[0]);\n if(module.get.transitionEvent()) {\n module.verbose('Starting CSS animation');\n $module\n .addClass(className.animating)\n ;\n $sides\n .css(propertyObject)\n .one(module.get.transitionEvent(), callback)\n ;\n module.set.duration(settings.duration);\n requestAnimationFrame(function() {\n $module\n .addClass(className.animating)\n ;\n $activeSide\n .addClass(className.hidden)\n ;\n });\n }\n else {\n callback();\n }\n },\n\n queue: function(method) {\n module.debug('Queueing animation of', method);\n $sides\n .one(module.get.transitionEvent(), function() {\n module.debug('Executing queued animation');\n setTimeout(function(){\n $module.shape(method);\n }, 0);\n })\n ;\n },\n\n reset: function() {\n module.verbose('Animating states reset');\n $module\n .removeClass(className.animating)\n .attr('style', '')\n .removeAttr('style')\n ;\n // removeAttr style does not consistently work in safari\n $sides\n .attr('style', '')\n .removeAttr('style')\n ;\n $side\n .attr('style', '')\n .removeAttr('style')\n .removeClass(className.hidden)\n ;\n $nextSide\n .removeClass(className.animating)\n .attr('style', '')\n .removeAttr('style')\n ;\n },\n\n is: {\n complete: function() {\n return ($side.filter('.' + className.active)[0] == $nextSide[0]);\n },\n animating: function() {\n return $module.hasClass(className.animating);\n }\n },\n\n set: {\n\n defaultSide: function() {\n $activeSide = $module.find('.' + settings.className.active);\n $nextSide = ( $activeSide.next(selector.side).length > 0 )\n ? $activeSide.next(selector.side)\n : $module.find(selector.side).first()\n ;\n nextIndex = false;\n module.verbose('Active side set to', $activeSide);\n module.verbose('Next side set to', $nextSide);\n },\n\n duration: function(duration) {\n duration = duration || settings.duration;\n duration = (typeof duration == 'number')\n ? duration + 'ms'\n : duration\n ;\n module.verbose('Setting animation duration', duration);\n if(settings.duration || settings.duration === 0) {\n $sides.add($side)\n .css({\n '-webkit-transition-duration': duration,\n '-moz-transition-duration': duration,\n '-ms-transition-duration': duration,\n '-o-transition-duration': duration,\n 'transition-duration': duration\n })\n ;\n }\n },\n\n currentStageSize: function() {\n var\n $activeSide = $module.find('.' + settings.className.active),\n width = $activeSide.outerWidth(true),\n height = $activeSide.outerHeight(true)\n ;\n $module\n .css({\n width: width,\n height: height\n })\n ;\n },\n\n stageSize: function() {\n var\n $clone = $module.clone().addClass(className.loading),\n $activeSide = $clone.find('.' + settings.className.active),\n $nextSide = (nextIndex)\n ? $clone.find(selector.side).eq(nextIndex)\n : ( $activeSide.next(selector.side).length > 0 )\n ? $activeSide.next(selector.side)\n : $clone.find(selector.side).first(),\n newWidth = (settings.width == 'next')\n ? $nextSide.outerWidth(true)\n : (settings.width == 'initial')\n ? $module.width()\n : settings.width,\n newHeight = (settings.height == 'next')\n ? $nextSide.outerHeight(true)\n : (settings.height == 'initial')\n ? $module.height()\n : settings.height\n ;\n $activeSide.removeClass(className.active);\n $nextSide.addClass(className.active);\n $clone.insertAfter($module);\n $clone.remove();\n if(settings.width != 'auto') {\n $module.css('width', newWidth + settings.jitter);\n module.verbose('Specifying width during animation', newWidth);\n }\n if(settings.height != 'auto') {\n $module.css('height', newHeight + settings.jitter);\n module.verbose('Specifying height during animation', newHeight);\n }\n },\n\n nextSide: function(selector) {\n nextIndex = selector;\n $nextSide = $side.filter(selector);\n nextIndex = $side.index($nextSide);\n if($nextSide.length === 0) {\n module.set.defaultSide();\n module.error(error.side);\n }\n module.verbose('Next side manually set to', $nextSide);\n },\n\n active: function() {\n module.verbose('Setting new side to active', $nextSide);\n $side\n .removeClass(className.active)\n ;\n $nextSide\n .addClass(className.active)\n ;\n settings.onChange.call($nextSide[0]);\n module.set.defaultSide();\n }\n },\n\n flip: {\n\n up: function() {\n if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {\n module.debug('Side already visible', $nextSide);\n return;\n }\n if( !module.is.animating()) {\n module.debug('Flipping up', $nextSide);\n var\n transform = module.get.transform.up()\n ;\n module.set.stageSize();\n module.stage.above();\n module.animate(transform);\n }\n else {\n module.queue('flip up');\n }\n },\n\n down: function() {\n if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {\n module.debug('Side already visible', $nextSide);\n return;\n }\n if( !module.is.animating()) {\n module.debug('Flipping down', $nextSide);\n var\n transform = module.get.transform.down()\n ;\n module.set.stageSize();\n module.stage.below();\n module.animate(transform);\n }\n else {\n module.queue('flip down');\n }\n },\n\n left: function() {\n if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {\n module.debug('Side already visible', $nextSide);\n return;\n }\n if( !module.is.animating()) {\n module.debug('Flipping left', $nextSide);\n var\n transform = module.get.transform.left()\n ;\n module.set.stageSize();\n module.stage.left();\n module.animate(transform);\n }\n else {\n module.queue('flip left');\n }\n },\n\n right: function() {\n if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {\n module.debug('Side already visible', $nextSide);\n return;\n }\n if( !module.is.animating()) {\n module.debug('Flipping right', $nextSide);\n var\n transform = module.get.transform.right()\n ;\n module.set.stageSize();\n module.stage.right();\n module.animate(transform);\n }\n else {\n module.queue('flip right');\n }\n },\n\n over: function() {\n if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {\n module.debug('Side already visible', $nextSide);\n return;\n }\n if( !module.is.animating()) {\n module.debug('Flipping over', $nextSide);\n module.set.stageSize();\n module.stage.behind();\n module.animate(module.get.transform.over() );\n }\n else {\n module.queue('flip over');\n }\n },\n\n back: function() {\n if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {\n module.debug('Side already visible', $nextSide);\n return;\n }\n if( !module.is.animating()) {\n module.debug('Flipping back', $nextSide);\n module.set.stageSize();\n module.stage.behind();\n module.animate(module.get.transform.back() );\n }\n else {\n module.queue('flip back');\n }\n }\n\n },\n\n get: {\n\n transform: {\n up: function() {\n var\n translate = {\n y: -(($activeSide.outerHeight(true) - $nextSide.outerHeight(true)) / 2),\n z: -($activeSide.outerHeight(true) / 2)\n }\n ;\n return {\n transform: 'translateY(' + translate.y + 'px) translateZ('+ translate.z + 'px) rotateX(-90deg)'\n };\n },\n\n down: function() {\n var\n translate = {\n y: -(($activeSide.outerHeight(true) - $nextSide.outerHeight(true)) / 2),\n z: -($activeSide.outerHeight(true) / 2)\n }\n ;\n return {\n transform: 'translateY(' + translate.y + 'px) translateZ('+ translate.z + 'px) rotateX(90deg)'\n };\n },\n\n left: function() {\n var\n translate = {\n x : -(($activeSide.outerWidth(true) - $nextSide.outerWidth(true)) / 2),\n z : -($activeSide.outerWidth(true) / 2)\n }\n ;\n return {\n transform: 'translateX(' + translate.x + 'px) translateZ(' + translate.z + 'px) rotateY(90deg)'\n };\n },\n\n right: function() {\n var\n translate = {\n x : -(($activeSide.outerWidth(true) - $nextSide.outerWidth(true)) / 2),\n z : -($activeSide.outerWidth(true) / 2)\n }\n ;\n return {\n transform: 'translateX(' + translate.x + 'px) translateZ(' + translate.z + 'px) rotateY(-90deg)'\n };\n },\n\n over: function() {\n var\n translate = {\n x : -(($activeSide.outerWidth(true) - $nextSide.outerWidth(true)) / 2)\n }\n ;\n return {\n transform: 'translateX(' + translate.x + 'px) rotateY(180deg)'\n };\n },\n\n back: function() {\n var\n translate = {\n x : -(($activeSide.outerWidth(true) - $nextSide.outerWidth(true)) / 2)\n }\n ;\n return {\n transform: 'translateX(' + translate.x + 'px) rotateY(-180deg)'\n };\n }\n },\n\n transitionEvent: function() {\n var\n element = document.createElement('element'),\n transitions = {\n 'transition' :'transitionend',\n 'OTransition' :'oTransitionEnd',\n 'MozTransition' :'transitionend',\n 'WebkitTransition' :'webkitTransitionEnd'\n },\n transition\n ;\n for(transition in transitions){\n if( element.style[transition] !== undefined ){\n return transitions[transition];\n }\n }\n },\n\n nextSide: function() {\n return ( $activeSide.next(selector.side).length > 0 )\n ? $activeSide.next(selector.side)\n : $module.find(selector.side).first()\n ;\n }\n\n },\n\n stage: {\n\n above: function() {\n var\n box = {\n origin : (($activeSide.outerHeight(true) - $nextSide.outerHeight(true)) / 2),\n depth : {\n active : ($nextSide.outerHeight(true) / 2),\n next : ($activeSide.outerHeight(true) / 2)\n }\n }\n ;\n module.verbose('Setting the initial animation position as above', $nextSide, box);\n $sides\n .css({\n 'transform' : 'translateZ(-' + box.depth.active + 'px)'\n })\n ;\n $activeSide\n .css({\n 'transform' : 'rotateY(0deg) translateZ(' + box.depth.active + 'px)'\n })\n ;\n $nextSide\n .addClass(className.animating)\n .css({\n 'top' : box.origin + 'px',\n 'transform' : 'rotateX(90deg) translateZ(' + box.depth.next + 'px)'\n })\n ;\n },\n\n below: function() {\n var\n box = {\n origin : (($activeSide.outerHeight(true) - $nextSide.outerHeight(true)) / 2),\n depth : {\n active : ($nextSide.outerHeight(true) / 2),\n next : ($activeSide.outerHeight(true) / 2)\n }\n }\n ;\n module.verbose('Setting the initial animation position as below', $nextSide, box);\n $sides\n .css({\n 'transform' : 'translateZ(-' + box.depth.active + 'px)'\n })\n ;\n $activeSide\n .css({\n 'transform' : 'rotateY(0deg) translateZ(' + box.depth.active + 'px)'\n })\n ;\n $nextSide\n .addClass(className.animating)\n .css({\n 'top' : box.origin + 'px',\n 'transform' : 'rotateX(-90deg) translateZ(' + box.depth.next + 'px)'\n })\n ;\n },\n\n left: function() {\n var\n height = {\n active : $activeSide.outerWidth(true),\n next : $nextSide.outerWidth(true)\n },\n box = {\n origin : ( ( height.active - height.next ) / 2),\n depth : {\n active : (height.next / 2),\n next : (height.active / 2)\n }\n }\n ;\n module.verbose('Setting the initial animation position as left', $nextSide, box);\n $sides\n .css({\n 'transform' : 'translateZ(-' + box.depth.active + 'px)'\n })\n ;\n $activeSide\n .css({\n 'transform' : 'rotateY(0deg) translateZ(' + box.depth.active + 'px)'\n })\n ;\n $nextSide\n .addClass(className.animating)\n .css({\n 'left' : box.origin + 'px',\n 'transform' : 'rotateY(-90deg) translateZ(' + box.depth.next + 'px)'\n })\n ;\n },\n\n right: function() {\n var\n height = {\n active : $activeSide.outerWidth(true),\n next : $nextSide.outerWidth(true)\n },\n box = {\n origin : ( ( height.active - height.next ) / 2),\n depth : {\n active : (height.next / 2),\n next : (height.active / 2)\n }\n }\n ;\n module.verbose('Setting the initial animation position as left', $nextSide, box);\n $sides\n .css({\n 'transform' : 'translateZ(-' + box.depth.active + 'px)'\n })\n ;\n $activeSide\n .css({\n 'transform' : 'rotateY(0deg) translateZ(' + box.depth.active + 'px)'\n })\n ;\n $nextSide\n .addClass(className.animating)\n .css({\n 'left' : box.origin + 'px',\n 'transform' : 'rotateY(90deg) translateZ(' + box.depth.next + 'px)'\n })\n ;\n },\n\n behind: function() {\n var\n height = {\n active : $activeSide.outerWidth(true),\n next : $nextSide.outerWidth(true)\n },\n box = {\n origin : ( ( height.active - height.next ) / 2),\n depth : {\n active : (height.next / 2),\n next : (height.active / 2)\n }\n }\n ;\n module.verbose('Setting the initial animation position as behind', $nextSide, box);\n $activeSide\n .css({\n 'transform' : 'rotateY(0deg)'\n })\n ;\n $nextSide\n .addClass(className.animating)\n .css({\n 'left' : box.origin + 'px',\n 'transform' : 'rotateY(-180deg)'\n })\n ;\n }\n },\n setting: function(name, value) {\n module.debug('Changing setting', name, value);\n if( $.isPlainObject(name) ) {\n $.extend(true, settings, name);\n }\n else if(value !== undefined) {\n if($.isPlainObject(settings[name])) {\n $.extend(true, settings[name], value);\n }\n else {\n settings[name] = value;\n }\n }\n else {\n return settings[name];\n }\n },\n internal: function(name, value) {\n if( $.isPlainObject(name) ) {\n $.extend(true, module, name);\n }\n else if(value !== undefined) {\n module[name] = value;\n }\n else {\n return module[name];\n }\n },\n debug: function() {\n if(!settings.silent && settings.debug) {\n if(settings.performance) {\n module.performance.log(arguments);\n }\n else {\n module.debug = Function.prototype.bind.call(console.info, console, settings.name + ':');\n module.debug.apply(console, arguments);\n }\n }\n },\n verbose: function() {\n if(!settings.silent && settings.verbose && settings.debug) {\n if(settings.performance) {\n module.performance.log(arguments);\n }\n else {\n module.verbose = Function.prototype.bind.call(console.info, console, settings.name + ':');\n module.verbose.apply(console, arguments);\n }\n }\n },\n error: function() {\n if(!settings.silent) {\n module.error = Function.prototype.bind.call(console.error, console, settings.name + ':');\n module.error.apply(console, arguments);\n }\n },\n performance: {\n log: function(message) {\n var\n currentTime,\n executionTime,\n previousTime\n ;\n if(settings.performance) {\n currentTime = new Date().getTime();\n previousTime = time || currentTime;\n executionTime = currentTime - previousTime;\n time = currentTime;\n performance.push({\n 'Name' : message[0],\n 'Arguments' : [].slice.call(message, 1) || '',\n 'Element' : element,\n 'Execution Time' : executionTime\n });\n }\n clearTimeout(module.performance.timer);\n module.performance.timer = setTimeout(module.performance.display, 500);\n },\n display: function() {\n var\n title = settings.name + ':',\n totalTime = 0\n ;\n time = false;\n clearTimeout(module.performance.timer);\n $.each(performance, function(index, data) {\n totalTime += data['Execution Time'];\n });\n title += ' ' + totalTime + 'ms';\n if(moduleSelector) {\n title += ' \\'' + moduleSelector + '\\'';\n }\n if($allModules.length > 1) {\n title += ' ' + '(' + $allModules.length + ')';\n }\n if( (console.group !== undefined || console.table !== undefined) && performance.length > 0) {\n console.groupCollapsed(title);\n if(console.table) {\n console.table(performance);\n }\n else {\n $.each(performance, function(index, data) {\n console.log(data['Name'] + ': ' + data['Execution Time']+'ms');\n });\n }\n console.groupEnd();\n }\n performance = [];\n }\n },\n invoke: function(query, passedArguments, context) {\n var\n object = instance,\n maxDepth,\n found,\n response\n ;\n passedArguments = passedArguments || queryArguments;\n context = element || context;\n if(typeof query == 'string' && object !== undefined) {\n query = query.split(/[\\. ]/);\n maxDepth = query.length - 1;\n $.each(query, function(depth, value) {\n var camelCaseValue = (depth != maxDepth)\n ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)\n : query\n ;\n if( $.isPlainObject( object[camelCaseValue] ) && (depth != maxDepth) ) {\n object = object[camelCaseValue];\n }\n else if( object[camelCaseValue] !== undefined ) {\n found = object[camelCaseValue];\n return false;\n }\n else if( $.isPlainObject( object[value] ) && (depth != maxDepth) ) {\n object = object[value];\n }\n else if( object[value] !== undefined ) {\n found = object[value];\n return false;\n }\n else {\n return false;\n }\n });\n }\n if ( $.isFunction( found ) ) {\n response = found.apply(context, passedArguments);\n }\n else if(found !== undefined) {\n response = found;\n }\n if($.isArray(returnedValue)) {\n returnedValue.push(response);\n }\n else if(returnedValue !== undefined) {\n returnedValue = [returnedValue, response];\n }\n else if(response !== undefined) {\n returnedValue = response;\n }\n return found;\n }\n };\n\n if(methodInvoked) {\n if(instance === undefined) {\n module.initialize();\n }\n module.invoke(query);\n }\n else {\n if(instance !== undefined) {\n instance.invoke('destroy');\n }\n module.initialize();\n }\n })\n ;\n\n return (returnedValue !== undefined)\n ? returnedValue\n : this\n ;\n};\n\n$.fn.shape.settings = {\n\n // module info\n name : 'Shape',\n\n // hide all debug content\n silent : false,\n\n // debug content outputted to console\n debug : false,\n\n // verbose debug output\n verbose : false,\n\n // fudge factor in pixels when swapping from 2d to 3d (can be useful to correct rounding errors)\n jitter : 0,\n\n // performance data output\n performance: true,\n\n // event namespace\n namespace : 'shape',\n\n // width during animation, can be set to 'auto', initial', 'next' or pixel amount\n width: 'initial',\n\n // height during animation, can be set to 'auto', 'initial', 'next' or pixel amount\n height: 'initial',\n\n // callback occurs on side change\n beforeChange : function() {},\n onChange : function() {},\n\n // allow animation to same side\n allowRepeats: false,\n\n // animation duration\n duration : false,\n\n // possible errors\n error: {\n side : 'You tried to switch to a side that does not exist.',\n method : 'The method you called is not defined'\n },\n\n // classnames used\n className : {\n animating : 'animating',\n hidden : 'hidden',\n loading : 'loading',\n active : 'active'\n },\n\n // selectors used\n selector : {\n sides : '.sides',\n side : '.side'\n }\n\n};\n\n\n})( jQuery, window, document );\n"]}
|