{"version":3,"sources":["ey-design-system.js"],"names":["mediaValue","window","matchMedia","validateMediaScreen","matches","$","removeClass","addClass","removeMenu","hideDsMenu","document","undefined","pluginName","Plugin","element","options","this","_name","_defaults","fn","dsTextField","defaults","_variables","extend","init","prototype","buildCache","pReadOnly","$element","is","pDisabled","pClass","parent","bindEvents","destroy","unbindEvents","removeData","plugin","on","toolbar_options","search","siblings","lbl_selector","lblfloat_class","hasClass","txtval","val","each","trim","length","eye_selector","eyeShown","show_class","toggleClass","txt_selector","attr","parentId","id","pitemSelector","thisVal","finalSelect","str","toLowerCase","startsWith","res","replace","RegExp","x","children","html","itemhide_class","find","trigger","off","callback","onComplete","call","data","jQuery","dsDataTable","checboxAll","checkAllControl","actionsColumns","checbox","checkControl","event","sel","prop","checboxAllId","checboxes","dsFastFilter","toogleElement","classActive","dsGlobalHeader","click","evt","target","closest","container_search","button_search","hide","show","active_menu","menu_search","insertAfter","remove","dsInputFile","display_selector","fakePath","input_selector","toString","split","idSel","button_selector","txt_prefix_id","dsPagination","pagination","text","dsProgress","button","progress","bar","type","appendTo","setProgress","percentage","filter","width","height","e","absolute","finish","delay","fadeOut","preventDefault","progressTimed","seconds","cb","first","css","progressSet","setTimeout","progressFinish","isFunction","dsResizeElement","startX","startWidth","p","right","createElement","doDrag","style","clientX","stopDrag","documentElement","removeEventListener","className","append","addEventListener","parentPopup","clientY","parseInt","defaultView","getComputedStyle","dsSingleSelect","selectedMenuItems","value","currentInputValue","item_selector","checkboxOnClicked","menuitemOnClicked","keyCode","which","dropdowntoggleID","skipAll","checkboxOnChanged","multiselect_class","stopPropagation","cancelbtn_selector","cancelOnClicked","applybtn_selector","applyOnClicked","group_selector","grpid","groupbtn_selector","groupID","groupOnClicked","chkall","groupcheckboxOnChanged","multiSelect","pillclose_selector","closePillClicked","focusin","focusout","itmsel","lbl","textContent","checked","push","saveSelectedItem","showToolbar","selector","dropdown","itm","getElements","chk","chked","checkValues","setTextInput","join","updateCheckboxOnChanged","item","arr","some","arrVal","deleteElement","i","hideChild","chld","child_selector","updateGroupcheckboxOnChanged","inputCtr","roughScale","base","parsed","isNaN","resetElements","pid","pvalue","setLabelFloat","dn","float","force","cnt","data1","data2","updateSelectAllChkbox","isGroup","groupId","tog","pilll","pillv","chkval","chkallSel","updateSelectAllCheckInput","groupIdSel","chkValue","menu_selector","toggle_selector","pagelabel_selector","pagelabel_html","dsToolbarComponent","display_parent_selector","countElements","btn_selector","close_display_selector","remove_all_selector","elements","map","a","b","forEach","elm","data_parent","render_pills","pill_class","c","d","template_options","countPills","max_elements_show","prepend","after","pill_class_count","pill_class_hidden","template_more","template_responsive","dsToolbarNavigation","settings","links","nav_link","breakpoint","activeLinks","$this","parents","methods","toggle","showModal","isVisible","el","hideToolbar","dsMobileMenuNavigation","apply","Array","slice","arguments","error","lastElement","clone","class","data-toggle","aria-expanded","role","aria-haspopup","data-target","aria-controls","prependTo","wrap","data-parent","aria-labelledby","collapse","firstElement","dsMobileMenuAddDOMElement","dsGetInitials","index","match","substring","toUpperCase","showMenu","hideMenu","toggleMenu","validateCallUrl","callUrl","hideFooter","initdsToolbarNavigation","active","$self","currentColor","counter","select","execCommand","offsetWidth","dsCopyDataToClipboard","method","dsStepper","hasStarted","stepperContent","stepperControl","next","eq","prev","dsRangeSlider","currentPosition","opts","sliderHandles","sliderLine","sliderLeft","sliderRight","minVal","slider","doc","format","Intl","NumberFormat","getCurrentValue","step","max","min","showActiveControl","isRange","left","position","initialize","currentIndicator","changedTouches","pageX","offset","getValue","resize","dsTextAreaField","grp_selector","focus_classname","active_classname","dsAutocomplete","showResultBox","slideDown","input","resultBox","parentType","autoCompleteResult","reg","obj","title","matchTexts","currentValue","key","regex","mark","section","img","desc","subDesc"],"mappings":"AAAA,IAAIA,WAAaC,OAAOC,WAAW,sBAg/FnC,SAASC,sBACHH,WAAWI,QACbC,EAAE,YAAYC,YAAY,UAE1BD,EAAE,YAAYE,SAAS,UAI3B,SAASC,aACPH,EAAE,YAAYC,YAAY,UAC1BD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gO,KACN,wBAEAhO,EAAMiO,QACN,0BAEFd,EAAUlT,KAAK,2BAA2BsF,OAAO7F,MAIvDsT,EAAcG,GAEdpX,EAAE,yBAAyBiC,GAAG,QAAS,WACrCkV,EAAM1U,IAAIzC,EAAEW,MAAMuC,KAAK,aACvBkU,EAAUlT,KAAK,yBAAyBkC,SACxCgR,EAAUlT,KAAK,eAAekC,SAC9B6Q,EAAcG,OAIlBpX,EAAE,QAAQyF,MAAM,SAASC,GAClB1F,EAAE0F,EAAIC,QAAQC,QAAQuR,GAAOvU,QAChCuU,EACGxV,SACAuC,KAAK,mBACLoE,IAAI,UAAW,GACfvC,SAIApF,MAGFA,KAAK0V,cAEdrW,EAAEc,GAAGkW,eAAehW,SAAW,CAC7BwD,KAAM,IA3IV,CA6IGC","sourcesContent":["var mediaValue = window.matchMedia(\"(max-width: 992px)\");\r\n// ---------------------------------\r\n// ---------- Text Field ----------\r\n// ---------------------------------\r\n// Brief plugin description\r\n// ------------------------\r\n(function($, window, document, undefined) {\r\n var pluginName = \"dsTextField\";\r\n // Create the plugin constructor\r\n function Plugin(element, options) {\r\n /*\r\n Provide local access to the DOM node(s) that called the plugin,\r\n as well local access to the plugin name and default options.\r\n */\r\n this.element = element;\r\n this._name = pluginName;\r\n this._defaults = $.fn.dsTextField.defaults;\r\n this._variables = {};\r\n /*\r\n The \"$.extend\" method merges the contents of two or more objects,\r\n and stores the result in the first object. The first object is\r\n empty so that we don't alter the default options for future\r\n instances of the plugin.\r\n */\r\n this.options = $.extend({}, this._defaults, options);\r\n\r\n /*\r\n The \"init\" method is the starting point for all plugin logic.\r\n Calling the init method here in the \"Plugin\" constructor function\r\n allows us to store all methods (including the init method) in the\r\n plugin's prototype. Storing methods required by the plugin in its\r\n prototype lowers the memory footprint, as each instance of the\r\n plugin does not need to duplicate all of the same methods. Rather,\r\n each instance can inherit the methods from the constructor\r\n function's prototype.\r\n */\r\n this.init();\r\n }\r\n\r\n // Avoid Plugin.prototype conflicts\r\n $.extend(Plugin.prototype, {\r\n // Initialization logic\r\n init: function() {\r\n /*\r\n Create additional methods below and call them via\r\n \"this.myFunction(arg1, arg2)\", ie: \"this.buildCache();\".\r\n\r\n Note, you can cccess the DOM node(s), plugin name, default\r\n plugin options and custom plugin options for a each instance\r\n of the plugin by using the variables \"this.element\",\r\n \"this._name\", \"this._defaults\" and \"this.options\" created in\r\n the \"Plugin\" constructor function (as shown in the buildCache\r\n method below).\r\n */\r\n\r\n this.buildCache();\r\n\r\n this._variables.pReadOnly = this.$element.is(\"[readonly]\");\r\n this._variables.pDisabled = this.$element.is(\":disabled\");\r\n this._variables.pClass = \"\";\r\n if (!this._variables.pReadOnly && !this._variables.pDisabled) {\r\n this._variables.pClass = this.$element.parent();\r\n this.bindEvents();\r\n }\r\n },\r\n // Remove plugin instance completely\r\n destroy: function() {\r\n /*\r\n The destroy method unbinds all events for the specific instance\r\n of the plugin, then removes all plugin data that was stored in\r\n the plugin instance using jQuery's .removeData method.\r\n\r\n Since we store data for each instance of the plugin in its\r\n instantiating element using the $.data method (as explained\r\n in the plugin wrapper below), we can call methods directly on\r\n the instance outside of the plugin initalization, ie:\r\n $('selector').data('plugin_myPluginName').someOtherFunction();\r\n\r\n Consequently, the destroy method can be called using:\r\n $('selector').data('plugin_myPluginName').destroy();\r\n */\r\n this.unbindEvents();\r\n this.$element.removeData();\r\n },\r\n\r\n // Cache DOM nodes for performance\r\n buildCache: function() {\r\n /*\r\n Create variable(s) that can be accessed by other plugin\r\n functions. For example, \"this.$element = $(this.element);\"\r\n will cache a jQuery reference to the elementthat initialized\r\n the plugin. Cached variables can then be used in other methods. \r\n */\r\n this.$element = $(this.element);\r\n },\r\n\r\n // Bind events that trigger methods\r\n bindEvents: function() {\r\n var plugin = this;\r\n\r\n /*\r\n Bind event(s) to handlers that trigger other functions, ie:\r\n \"plugin.$element.on('click', function() {});\". Note the use of\r\n the cached variable we created in the buildCache method.\r\n\r\n All events are namespaced, ie:\r\n \".on('click'+'.'+this._name', function() {});\".\r\n This allows us to unbind plugin-specific events using the\r\n unbindEvents method below.\r\n */\r\n plugin.$element.on(\"focusin\" + \".\" + plugin._name, function() {\r\n if (!plugin.options.toolbar_options.search) {\r\n $(this)\r\n .siblings(plugin.options.lbl_selector)\r\n .addClass(plugin.options.lblfloat_class);\r\n }\r\n if (plugin._variables.pClass.hasClass(\"search\")) {\r\n plugin._variables.pClass.addClass(plugin.options.lblfloat_class);\r\n }\r\n /*\r\n Use the \"call\" method so that inside of the method being\r\n called, ie: \"someOtherFunction\", the \"this\" keyword refers\r\n to the plugin instance, not the event handler.\r\n */\r\n });\r\n plugin.$element.on(\"focusout\" + \".\" + plugin._name, function() {\r\n var txtval = plugin.$element.val();\r\n plugin.$element.siblings(plugin.options.lbl_selector).each(function() {\r\n if (txtval.trim().length === 0) {\r\n if (\r\n !plugin._variables.pClass.hasClass(\"dropdown-toggle--counter\")\r\n ) {\r\n $(this).removeClass(plugin.options.lblfloat_class);\r\n }\r\n if (plugin._variables.pClass.hasClass(\"search\")) {\r\n plugin._variables.pClass.removeClass(\r\n plugin.options.lblfloat_class\r\n );\r\n }\r\n }\r\n });\r\n });\r\n\r\n plugin.$element\r\n .siblings(plugin.options.eye_selector)\r\n .on(\"click\" + \".\" + plugin._name, function() {\r\n var eyeShown = $(this).hasClass(plugin.options.show_class)\r\n ? \"password\"\r\n : \"text\";\r\n $(this).toggleClass(plugin.options.show_class);\r\n $(this)\r\n .siblings(plugin.options.txt_selector)\r\n .attr(\"type\", eyeShown);\r\n });\r\n\r\n if (\r\n !plugin._variables.pReadOnly &&\r\n plugin._variables.pClass.hasClass(\"dropdown-toggle\")\r\n ) {\r\n // parent is a drop down menu and textbox is not readonly\r\n var parentId = plugin.$element.parent()[0].id;\r\n var pitemSelector =\r\n '.dropdown-menu[aria-labelledby=\"' + parentId + '\"] .dropdown-item';\r\n plugin.$element.attr(\"items\", pitemSelector);\r\n plugin.$element.on(\"input\", function() {\r\n var thisVal = plugin.$element.val();\r\n var finalSelect = plugin.$element.attr(\"items\");\r\n\r\n $(finalSelect).each(function() {\r\n var str = $(this).attr(\"data-value\");\r\n if (str.toLowerCase().startsWith(thisVal.toLowerCase())) {\r\n var res = str.replace(new RegExp(thisVal, \"gi\"), function(x) {\r\n return \"\" + x + \"\";\r\n });\r\n if ($(this).hasClass(\"checkbox\")) {\r\n $(this)\r\n .children(\".checkbox__label\")\r\n .html(res);\r\n } else {\r\n $(this).html(res);\r\n }\r\n $(this).removeClass(plugin.options.itemhide_class);\r\n } else {\r\n if ($(this).hasClass(\"checkbox\")) {\r\n $(this)\r\n .children(\".checkbox__label\")\r\n .html(str);\r\n } else {\r\n $(this).html(str);\r\n }\r\n $(this).addClass(plugin.options.itemhide_class);\r\n }\r\n });\r\n });\r\n var dmSelector = '.dropdown-menu[aria-labelledby=\"' + parentId + '\"]';\r\n $(dmSelector)\r\n .parent()\r\n .on(\"shown.bs.dropdown\", function() {\r\n if (!plugin.options.toolbar_options.search) {\r\n plugin.$element\r\n .find(plugin.options.lbl_selector)\r\n .addClass(plugin.options.lblfloat_class);\r\n }\r\n plugin.$element.find(plugin.options.txt_selector).trigger(\"focus\");\r\n });\r\n }\r\n },\r\n\r\n // Unbind events that trigger methods\r\n unbindEvents: function() {\r\n /*\r\n Unbind all events in our plugin's namespace that are attached\r\n to \"this.$element\".\r\n */\r\n this.$element.off(\".\" + this._name);\r\n },\r\n /*\r\n \"someOtherFunction\" is an example of a custom method in your\r\n plugin. Each method should perform a specific task. For example,\r\n the buildCache method exists only to create variables for other\r\n methods to access. The bindEvents method exists only to bind events\r\n to event handlers that trigger other methods. Creating custom\r\n plugin methods this way is less confusing (separation of concerns)\r\n and makes your code easier to test.\r\n */\r\n // Create custom methods\r\n callback: function() {\r\n // Cache onComplete option\r\n var onComplete = this.options.onComplete;\r\n\r\n if (typeof onComplete === \"function\") {\r\n /*\r\n Use the \"call\" method so that inside of the onComplete\r\n callback function the \"this\" keyword refers to the\r\n specific DOM node that called the plugin.\r\n */\r\n onComplete.call(this.element);\r\n }\r\n }\r\n });\r\n\r\n /*\r\n Create a lightweight plugin wrapper around the \"Plugin\" constructor,\r\n preventing against multiple instantiations.\r\n */\r\n $.fn.dsTextField = function(options) {\r\n this.each(function() {\r\n if (!$.data(this, \"plugin_\" + pluginName)) {\r\n /*\r\n Use \"$.data\" to save each instance of the plugin in case\r\n the user wants to modify it. Using \"$.data\" in this way\r\n ensures the data is removed when the DOM element(s) are\r\n removed via jQuery methods, as well as when the userleaves\r\n the page. It's a smart way to prevent memory leaks.\r\n */\r\n $.data(this, \"plugin_\" + pluginName, new Plugin(this, options));\r\n }\r\n });\r\n /*\r\n \"return this;\" returns the original jQuery object. This allows\r\n additional jQuery methods to be chained.\r\n */\r\n return this;\r\n };\r\n\r\n /*\r\n Attach the default plugin options directly to the plugin object. This\r\n allows users to override default plugin options globally, instead of\r\n passing the same option(s) every time the plugin is initialized.\r\n\r\n For example, the user could set the \"property\" value once for all\r\n instances of the plugin with\r\n \"$.fn.pluginName.defaults.property = 'myValue';\". Then, every time\r\n plugin is initialized, \"property\" will be set to \"myValue\".\r\n */\r\n $.fn.dsTextField.defaults = {\r\n txt_selector: \".textinput-group__textinput\",\r\n lbl_selector: \".textinput-group__label\",\r\n eye_selector: \".textinput-group__togglepwdtext\",\r\n lblfloat_class: \"focus\",\r\n itemhide_class: \"hide\",\r\n show_class: \"show\",\r\n toolbar_options: {\r\n search: false\r\n }\r\n };\r\n})(jQuery, window, document);\r\n\r\n// ---------------------------------\r\n// ---------- Data Table -----------\r\n// ---------------------------------\r\n// Brief plugin description\r\n// ------------------------\r\n(function($, window, document, undefined) {\r\n var pluginName = \"dsDataTable\";\r\n // Create the plugin constructor\r\n function Plugin(element, options) {\r\n /*\r\n Provide local access to the DOM node(s) that called the plugin,\r\n as well local access to the plugin name and default options.\r\n */\r\n this.element = element;\r\n this._name = pluginName;\r\n this._defaults = $.fn.dsDataTable.defaults;\r\n this._variables = {};\r\n /*\r\n The \"$.extend\" method merges the contents of two or more objects,\r\n and stores the result in the first object. The first object is\r\n empty so that we don't alter the default options for future\r\n instances of the plugin.\r\n */\r\n this.options = $.extend({}, this._defaults, options);\r\n\r\n /*\r\n The \"init\" method is the starting point for all plugin logic.\r\n Calling the init method here in the \"Plugin\" constructor function\r\n allows us to store all methods (including the init method) in the\r\n plugin's prototype. Storing methods required by the plugin in its\r\n prototype lowers the memory footprint, as each instance of the\r\n plugin does not need to duplicate all of the same methods. Rather,\r\n each instance can inherit the methods from the constructor\r\n function's prototype.\r\n */\r\n this.init();\r\n }\r\n\r\n // Avoid Plugin.prototype conflicts\r\n $.extend(Plugin.prototype, {\r\n // Initialization logic\r\n init: function() {\r\n /*\r\n Create additional methods below and call them via\r\n \"this.myFunction(arg1, arg2)\", ie: \"this.buildCache();\".\r\n\r\n Note, you can cccess the DOM node(s), plugin name, default\r\n plugin options and custom plugin options for a each instance\r\n of the plugin by using the variables \"this.element\",\r\n \"this._name\", \"this._defaults\" and \"this.options\" created in\r\n the \"Plugin\" constructor function (as shown in the buildCache\r\n method below).\r\n */\r\n\r\n this.buildCache();\r\n this.bindEvents();\r\n },\r\n // Remove plugin instance completely\r\n destroy: function() {\r\n /*\r\n The destroy method unbinds all events for the specific instance\r\n of the plugin, then removes all plugin data that was stored in\r\n the plugin instance using jQuery's .removeData method.\r\n\r\n Since we store data for each instance of the plugin in its\r\n instantiating element using the $.data method (as explained\r\n in the plugin wrapper below), we can call methods directly on\r\n the instance outside of the plugin initalization, ie:\r\n $('selector').data('plugin_myPluginName').someOtherFunction();\r\n\r\n Consequently, the destroy method can be called using:\r\n $('selector').data('plugin_myPluginName').destroy();\r\n */\r\n this.unbindEvents();\r\n this.$element.removeData();\r\n },\r\n\r\n // Cache DOM nodes for performance\r\n buildCache: function() {\r\n /*\r\n Create variable(s) that can be accessed by other plugin\r\n functions. For example, \"this.$element = $(this.element);\"\r\n will cache a jQuery reference to the elementthat initialized\r\n the plugin. Cached variables can then be used in other methods. \r\n */\r\n this.$element = $(this.element);\r\n },\r\n\r\n // Bind events that trigger methods\r\n bindEvents: function() {\r\n var plugin = this;\r\n\r\n /*\r\n Bind event(s) to handlers that trigger other functions, ie:\r\n \"plugin.$element.on('click', function() {});\". Note the use of\r\n the cached variable we created in the buildCache method.\r\n\r\n All events are namespaced, ie:\r\n \".on('click'+'.'+this._name', function() {});\".\r\n This allows us to unbind plugin-specific events using the\r\n unbindEvents method below.\r\n */\r\n\r\n plugin.$element\r\n .find(plugin.options.checboxAll)\r\n .on(\"change\", { plugin: plugin }, plugin.checkAllControl);\r\n\r\n plugin.$element\r\n .find(plugin.options.actionsColumns)\r\n .find(plugin.options.checbox)\r\n .on(\"change\", { plugin: plugin }, plugin.checkControl);\r\n },\r\n\r\n // Unbind events that trigger methods\r\n unbindEvents: function() {\r\n /*\r\n Unbind all events in our plugin's namespace that are attached\r\n to \"this.$element\".\r\n */\r\n this.$element.off(\".\" + this._name);\r\n },\r\n /*\r\n \"someOtherFunction\" is an example of a custom method in your\r\n plugin. Each method should perform a specific task. For example,\r\n the buildCache method exists only to create variables for other\r\n methods to access. The bindEvents method exists only to bind events\r\n to event handlers that trigger other methods. Creating custom\r\n plugin methods this way is less confusing (separation of concerns)\r\n and makes your code easier to test.\r\n */\r\n // Create custom methods\r\n checkAllControl: function(event) {\r\n var plugin = event.data.plugin;\r\n var sel = plugin.options.checbox + \"[for='\" + $(this).attr(\"id\") + \"']\";\r\n $(sel).prop(\"checked\", $(this).is(\":checked\"));\r\n },\r\n checkControl: function(event) {\r\n var plugin = event.data.plugin;\r\n\r\n var checboxAllId = $(this).attr(\"for\");\r\n var checboxAllChk = $(this).is(\":checked\");\r\n var checboxAll = \"#\" + checboxAllId;\r\n if (!checboxAllChk) {\r\n $(checboxAll).prop(\"checked\", false);\r\n } else {\r\n var checboxes =\r\n plugin.options.checbox + \"[for='\" + checboxAllId + \"']:not(:checked)\";\r\n if ($(checboxes).length === 0) {\r\n $(checboxAll).prop(\"checked\", true);\r\n }\r\n }\r\n },\r\n callback: function() {\r\n // Cache onComplete option\r\n var onComplete = this.options.onComplete;\r\n\r\n if (typeof onComplete === \"function\") {\r\n /*\r\n Use the \"call\" method so that inside of the onComplete\r\n callback function the \"this\" keyword refers to the\r\n specific DOM node that called the plugin.\r\n */\r\n onComplete.call(this.element);\r\n }\r\n }\r\n });\r\n\r\n /*\r\n Create a lightweight plugin wrapper around the \"Plugin\" constructor,\r\n preventing against multiple instantiations.\r\n */\r\n $.fn.dsDataTable = function(options) {\r\n this.each(function() {\r\n if (!$.data(this, \"plugin_\" + pluginName)) {\r\n /*\r\n Use \"$.data\" to save each instance of the plugin in case\r\n the user wants to modify it. Using \"$.data\" in this way\r\n ensures the data is removed when the DOM element(s) are\r\n removed via jQuery methods, as well as when the userleaves\r\n the page. It's a smart way to prevent memory leaks.\r\n */\r\n $.data(this, \"plugin_\" + pluginName, new Plugin(this, options));\r\n }\r\n });\r\n /*\r\n \"return this;\" returns the original jQuery object. This allows\r\n additional jQuery methods to be chained.\r\n */\r\n return this;\r\n };\r\n\r\n /*\r\n Attach the default plugin options directly to the plugin object. This\r\n allows users to override default plugin options globally, instead of\r\n passing the same option(s) every time the plugin is initialized.\r\n\r\n For example, the user could set the \"property\" value once for all\r\n instances of the plugin with\r\n \"$.fn.pluginName.defaults.property = 'myValue';\". Then, every time\r\n plugin is initialized, \"property\" will be set to \"myValue\".\r\n */\r\n $.fn.dsDataTable.defaults = {\r\n checboxAll: \"#datatableChkAll\",\r\n checbox: \".checkbox__input\",\r\n actionsColumns: \".data-table-standard__actions\"\r\n };\r\n})(jQuery, window, document);\r\n\r\n// ---------------------------------\r\n// ---------- Fast Filter ----------\r\n// ---------------------------------\r\n// Brief plugin description\r\n// ------------------------\r\n(function($, window, document, undefined) {\r\n var pluginName = \"dsFastFilter\";\r\n // Create the plugin constructor\r\n function Plugin(element, options) {\r\n /*\r\n Provide local access to the DOM node(s) that called the plugin,\r\n as well local access to the plugin name and default options.\r\n */\r\n this.element = element;\r\n this._name = pluginName;\r\n this._defaults = $.fn.dsFastFilter.defaults;\r\n this._variables = {};\r\n /*\r\n The \"$.extend\" method merges the contents of two or more objects,\r\n and stores the result in the first object. The first object is\r\n empty so that we don't alter the default options for future\r\n instances of the plugin.\r\n */\r\n this.options = $.extend({}, this._defaults, options);\r\n\r\n /*\r\n The \"init\" method is the starting point for all plugin logic.\r\n Calling the init method here in the \"Plugin\" constructor function\r\n allows us to store all methods (including the init method) in the\r\n plugin's prototype. Storing methods required by the plugin in its\r\n prototype lowers the memory footprint, as each instance of the\r\n plugin does not need to duplicate all of the same methods. Rather,\r\n each instance can inherit the methods from the constructor\r\n function's prototype.\r\n */\r\n this.init();\r\n }\r\n\r\n // Avoid Plugin.prototype conflicts\r\n $.extend(Plugin.prototype, {\r\n // Initialization logic\r\n init: function() {\r\n /*\r\n Create additional methods below and call them via\r\n \"this.myFunction(arg1, arg2)\", ie: \"this.buildCache();\".\r\n\r\n Note, you can cccess the DOM node(s), plugin name, default\r\n plugin options and custom plugin options for a each instance\r\n of the plugin by using the variables \"this.element\",\r\n \"this._name\", \"this._defaults\" and \"this.options\" created in\r\n the \"Plugin\" constructor function (as shown in the buildCache\r\n method below).\r\n */\r\n\r\n this.buildCache();\r\n this.bindEvents();\r\n },\r\n // Remove plugin instance completely\r\n destroy: function() {\r\n /*\r\n The destroy method unbinds all events for the specific instance\r\n of the plugin, then removes all plugin data that was stored in\r\n the plugin instance using jQuery's .removeData method.\r\n\r\n Since we store data for each instance of the plugin in its\r\n instantiating element using the $.data method (as explained\r\n in the plugin wrapper below), we can call methods directly on\r\n the instance outside of the plugin initalization, ie:\r\n $('selector').data('plugin_myPluginName').someOtherFunction();\r\n\r\n Consequently, the destroy method can be called using:\r\n $('selector').data('plugin_myPluginName').destroy();\r\n */\r\n this.unbindEvents();\r\n this.$element.removeData();\r\n },\r\n\r\n // Cache DOM nodes for performance\r\n buildCache: function() {\r\n /*\r\n Create variable(s) that can be accessed by other plugin\r\n functions. For example, \"this.$element = $(this.element);\"\r\n will cache a jQuery reference to the elementthat initialized\r\n the plugin. Cached variables can then be used in other methods. \r\n */\r\n this.$element = $(this.element);\r\n },\r\n\r\n // Bind events that trigger methods\r\n bindEvents: function() {\r\n var plugin = this;\r\n\r\n /*\r\n Bind event(s) to handlers that trigger other functions, ie:\r\n \"plugin.$element.on('click', function() {});\". Note the use of\r\n the cached variable we created in the buildCache method.\r\n\r\n All events are namespaced, ie:\r\n \".on('click'+'.'+this._name', function() {});\".\r\n This allows us to unbind plugin-specific events using the\r\n unbindEvents method below.\r\n */\r\n plugin.$element.on(\"click\", { plugin: plugin }, plugin.toogleElement);\r\n },\r\n\r\n // Unbind events that trigger methods\r\n unbindEvents: function() {\r\n /*\r\n Unbind all events in our plugin's namespace that are attached\r\n to \"this.$element\".\r\n */\r\n this.$element.off(\".\" + this._name);\r\n },\r\n /*\r\n \"someOtherFunction\" is an example of a custom method in your\r\n plugin. Each method should perform a specific task. For example,\r\n the buildCache method exists only to create variables for other\r\n methods to access. The bindEvents method exists only to bind events\r\n to event handlers that trigger other methods. Creating custom\r\n plugin methods this way is less confusing (separation of concerns)\r\n and makes your code easier to test.\r\n */\r\n // Create custom methods\r\n toogleElement: function(event) {\r\n var plugin = event.data.plugin;\r\n\r\n $(this).toggleClass(plugin.options.classActive);\r\n },\r\n\r\n callback: function() {\r\n // Cache onComplete option\r\n var onComplete = this.options.onComplete;\r\n\r\n if (typeof onComplete === \"function\") {\r\n /*\r\n Use the \"call\" method so that inside of the onComplete\r\n callback function the \"this\" keyword refers to the\r\n specific DOM node that called the plugin.\r\n */\r\n onComplete.call(this.element);\r\n }\r\n }\r\n });\r\n\r\n /*\r\n Create a lightweight plugin wrapper around the \"Plugin\" constructor,\r\n preventing against multiple instantiations.\r\n */\r\n $.fn.dsFastFilter = function(options) {\r\n this.each(function() {\r\n if (!$.data(this, \"plugin_\" + pluginName)) {\r\n /*\r\n Use \"$.data\" to save each instance of the plugin in case\r\n the user wants to modify it. Using \"$.data\" in this way\r\n ensures the data is removed when the DOM element(s) are\r\n removed via jQuery methods, as well as when the userleaves\r\n the page. It's a smart way to prevent memory leaks.\r\n */\r\n $.data(this, \"plugin_\" + pluginName, new Plugin(this, options));\r\n }\r\n });\r\n /*\r\n \"return this;\" returns the original jQuery object. This allows\r\n additional jQuery methods to be chained.\r\n */\r\n return this;\r\n };\r\n\r\n /*\r\n Attach the default plugin options directly to the plugin object. This\r\n allows users to override default plugin options globally, instead of\r\n passing the same option(s) every time the plugin is initialized.\r\n\r\n For example, the user could set the \"property\" value once for all\r\n instances of the plugin with\r\n \"$.fn.pluginName.defaults.property = 'myValue';\". Then, every time\r\n plugin is initialized, \"property\" will be set to \"myValue\".\r\n */\r\n $.fn.dsFastFilter.defaults = {\r\n classActive: \"fastfilter--active\"\r\n };\r\n})(jQuery, window, document);\r\n\r\n// ---------------------------------\r\n// ---------- Global Header --------\r\n// ---------------------------------\r\n// Brief plugin description\r\n// ------------------------\r\n(function($, window, document, undefined) {\r\n var pluginName = \"dsGlobalHeader\";\r\n // Create the plugin constructor\r\n function Plugin(element, options) {\r\n /*\r\n Provide local access to the DOM node(s) that called the plugin,\r\n as well local access to the plugin name and default options.\r\n */\r\n this.element = element;\r\n this._name = pluginName;\r\n this._defaults = $.fn.dsGlobalHeader.defaults;\r\n this._variables = {};\r\n /*\r\n The \"$.extend\" method merges the contents of two or more objects,\r\n and stores the result in the first object. The first object is\r\n empty so that we don't alter the default options for future\r\n instances of the plugin.\r\n */\r\n this.options = $.extend({}, this._defaults, options);\r\n\r\n /*\r\n The \"init\" method is the starting point for all plugin logic.\r\n Calling the init method here in the \"Plugin\" constructor function\r\n allows us to store all methods (including the init method) in the\r\n plugin's prototype. Storing methods required by the plugin in its\r\n prototype lowers the memory footprint, as each instance of the\r\n plugin does not need to duplicate all of the same methods. Rather,\r\n each instance can inherit the methods from the constructor\r\n function's prototype.\r\n */\r\n this.init();\r\n }\r\n\r\n // Avoid Plugin.prototype conflicts\r\n $.extend(Plugin.prototype, {\r\n // Initialization logic\r\n init: function() {\r\n /*\r\n Create additional methods below and call them via\r\n \"this.myFunction(arg1, arg2)\", ie: \"this.buildCache();\".\r\n\r\n Note, you can cccess the DOM node(s), plugin name, default\r\n plugin options and custom plugin options for a each instance\r\n of the plugin by using the variables \"this.element\",\r\n \"this._name\", \"this._defaults\" and \"this.options\" created in\r\n the \"Plugin\" constructor function (as shown in the buildCache\r\n method below).\r\n */\r\n\r\n this.buildCache();\r\n this.bindEvents();\r\n },\r\n // Remove plugin instance completely\r\n destroy: function() {\r\n /*\r\n The destroy method unbinds all events for the specific instance\r\n of the plugin, then removes all plugin data that was stored in\r\n the plugin instance using jQuery's .removeData method.\r\n\r\n Since we store data for each instance of the plugin in its\r\n instantiating element using the $.data method (as explained\r\n in the plugin wrapper below), we can call methods directly on\r\n the instance outside of the plugin initalization, ie:\r\n $('selector').data('plugin_myPluginName').someOtherFunction();\r\n\r\n Consequently, the destroy method can be called using:\r\n $('selector').data('plugin_myPluginName').destroy();\r\n */\r\n this.unbindEvents();\r\n this.$element.removeData();\r\n },\r\n\r\n // Cache DOM nodes for performance\r\n buildCache: function() {\r\n /*\r\n Create variable(s) that can be accessed by other plugin\r\n functions. For example, \"this.$element = $(this.element);\"\r\n will cache a jQuery reference to the elementthat initialized\r\n the plugin. Cached variables can then be used in other methods. \r\n */\r\n this.$element = $(this.element);\r\n },\r\n\r\n // Bind events that trigger methods\r\n bindEvents: function() {\r\n var plugin = this;\r\n\r\n /*\r\n Bind event(s) to handlers that trigger other functions, ie:\r\n \"plugin.$element.on('click', function() {});\". Note the use of\r\n the cached variable we created in the buildCache method.\r\n\r\n All events are namespaced, ie:\r\n \".on('click'+'.'+this._name', function() {});\".\r\n This allows us to unbind plugin-specific events using the\r\n unbindEvents method below.\r\n */\r\n $(\"body\").click(function(evt) {\r\n if (\r\n !$(evt.target).closest(plugin.options.container_search).length &&\r\n !$(evt.target).parent(plugin.options.button_search).length\r\n ) {\r\n if ($(plugin.options.container_search).is(\":visible\")) {\r\n $(plugin.options.container_search).hide();\r\n }\r\n }\r\n });\r\n\r\n plugin.$element.find(\r\n $(plugin.options.button_search).on(\"click\", function() {\r\n plugin.$element.find($(plugin.options.container_search).show());\r\n })\r\n );\r\n if (plugin.options.active_menu) {\r\n plugin.$element.find(\r\n $(plugin.options.menu_search).on(\"click\", function() {\r\n plugin.$element.find(\r\n $(\".global-header__search__menu\").addClass(\"showMobile\")\r\n );\r\n $(\"
\")\r\n .insertAfter(\r\n plugin.$element.find($(\".global-header__search__menu\"))\r\n )\r\n .on(\"click\", function() {\r\n plugin.$element\r\n .find($(\".global-header__search__menu\"))\r\n .removeClass(\"showMobile\");\r\n plugin.$element\r\n .find($(\".navigation-bar-modal\"))\r\n .addClass(\"hideMobile\");\r\n $(this).remove();\r\n });\r\n })\r\n );\r\n }\r\n plugin.$element.find(\r\n $(\".btn-close\").on(\"click\", function() {\r\n plugin.$element.find(\r\n $(\".global-header__search__menu\").removeClass(\"showMobile\")\r\n );\r\n plugin.$element.find($(\".navigation-bar-modal\")).remove();\r\n })\r\n );\r\n },\r\n\r\n // Unbind events that trigger methods\r\n unbindEvents: function() {\r\n /*\r\n Unbind all events in our plugin's namespace that are attached\r\n to \"this.$element\".\r\n */\r\n this.$element.off(\".\" + this._name);\r\n },\r\n /*\r\n \"someOtherFunction\" is an example of a custom method in your\r\n plugin. Each method should perform a specific task. For example,\r\n the buildCache method exists only to create variables for other\r\n methods to access. The bindEvents method exists only to bind events\r\n to event handlers that trigger other methods. Creating custom\r\n plugin methods this way is less confusing (separation of concerns)\r\n and makes your code easier to test.\r\n */\r\n // Create custom methods\r\n\r\n callback: function() {\r\n // Cache onComplete option\r\n var onComplete = this.options.onComplete;\r\n\r\n if (typeof onComplete === \"function\") {\r\n /*\r\n Use the \"call\" method so that inside of the onComplete\r\n callback function the \"this\" keyword refers to the\r\n specific DOM node that called the plugin.\r\n */\r\n onComplete.call(this.element);\r\n }\r\n }\r\n });\r\n\r\n /*\r\n Create a lightweight plugin wrapper around the \"Plugin\" constructor,\r\n preventing against multiple instantiations.\r\n */\r\n $.fn.dsGlobalHeader = function(options) {\r\n this.each(function() {\r\n if (!$.data(this, \"plugin_\" + pluginName)) {\r\n /*\r\n Use \"$.data\" to save each instance of the plugin in case\r\n the user wants to modify it. Using \"$.data\" in this way\r\n ensures the data is removed when the DOM element(s) are\r\n removed via jQuery methods, as well as when the userleaves\r\n the page. It's a smart way to prevent memory leaks.\r\n */\r\n $.data(this, \"plugin_\" + pluginName, new Plugin(this, options));\r\n }\r\n });\r\n /*\r\n \"return this;\" returns the original jQuery object. This allows\r\n additional jQuery methods to be chained.\r\n */\r\n return this;\r\n };\r\n\r\n /*\r\n Attach the default plugin options directly to the plugin object. This\r\n allows users to override default plugin options globally, instead of\r\n passing the same option(s) every time the plugin is initialized.\r\n\r\n For example, the user could set the \"property\" value once for all\r\n instances of the plugin with\r\n \"$.fn.pluginName.defaults.property = 'myValue';\". Then, every time\r\n plugin is initialized, \"property\" will be set to \"myValue\".\r\n */\r\n $.fn.dsGlobalHeader.defaults = {\r\n container_search: \".global-header__search\",\r\n button_search: \".global-header__actions__button--search\",\r\n menu_search: \".global-header__actions__button--menu\",\r\n active_menu: true\r\n };\r\n})(jQuery, window, document);\r\n\r\n// ---------------------------------\r\n// ---------- Input File ----------\r\n// ---------------------------------\r\n// Brief plugin description\r\n// ------------------------\r\n(function($, window, document, undefined) {\r\n var pluginName = \"dsInputFile\";\r\n // Create the plugin constructor\r\n function Plugin(element, options) {\r\n /*\r\n Provide local access to the DOM node(s) that called the plugin,\r\n as well local access to the plugin name and default options.\r\n */\r\n this.element = element;\r\n this._name = pluginName;\r\n this._defaults = $.fn.dsInputFile.defaults;\r\n this._variables = {};\r\n /*\r\n The \"$.extend\" method merges the contents of two or more objects,\r\n and stores the result in the first object. The first object is\r\n empty so that we don't alter the default options for future\r\n instances of the plugin.\r\n */\r\n this.options = $.extend({}, this._defaults, options);\r\n\r\n /*\r\n The \"init\" method is the starting point for all plugin logic.\r\n Calling the init method here in the \"Plugin\" constructor function\r\n allows us to store all methods (including the init method) in the\r\n plugin's prototype. Storing methods required by the plugin in its\r\n prototype lowers the memory footprint, as each instance of the\r\n plugin does not need to duplicate all of the same methods. Rather,\r\n each instance can inherit the methods from the constructor\r\n function's prototype.\r\n */\r\n this.init();\r\n }\r\n\r\n // Avoid Plugin.prototype conflicts\r\n $.extend(Plugin.prototype, {\r\n // Initialization logic\r\n init: function() {\r\n /*\r\n Create additional methods below and call them via\r\n \"this.myFunction(arg1, arg2)\", ie: \"this.buildCache();\".\r\n\r\n Note, you can cccess the DOM node(s), plugin name, default\r\n plugin options and custom plugin options for a each instance\r\n of the plugin by using the variables \"this.element\",\r\n \"this._name\", \"this._defaults\" and \"this.options\" created in\r\n the \"Plugin\" constructor function (as shown in the buildCache\r\n method below).\r\n */\r\n\r\n this.buildCache();\r\n this.bindEvents();\r\n },\r\n // Remove plugin instance completely\r\n destroy: function() {\r\n /*\r\n The destroy method unbinds all events for the specific instance\r\n of the plugin, then removes all plugin data that was stored in\r\n the plugin instance using jQuery's .removeData method.\r\n\r\n Since we store data for each instance of the plugin in its\r\n instantiating element using the $.data method (as explained\r\n in the plugin wrapper below), we can call methods directly on\r\n the instance outside of the plugin initalization, ie:\r\n $('selector').data('plugin_myPluginName').someOtherFunction();\r\n\r\n Consequently, the destroy method can be called using:\r\n $('selector').data('plugin_myPluginName').destroy();\r\n */\r\n this.unbindEvents();\r\n this.$element.removeData();\r\n },\r\n\r\n // Cache DOM nodes for performance\r\n buildCache: function() {\r\n /*\r\n Create variable(s) that can be accessed by other plugin\r\n functions. For example, \"this.$element = $(this.element);\"\r\n will cache a jQuery reference to the elementthat initialized\r\n the plugin. Cached variables can then be used in other methods. \r\n */\r\n this.$element = $(this.element);\r\n },\r\n\r\n // Bind events that trigger methods\r\n bindEvents: function() {\r\n var plugin = this;\r\n\r\n /*\r\n Bind event(s) to handlers that trigger other functions, ie:\r\n \"plugin.$element.on('click', function() {});\". Note the use of\r\n the cached variable we created in the buildCache method.\r\n\r\n All events are namespaced, ie:\r\n \".on('click'+'.'+this._name', function() {});\".\r\n This allows us to unbind plugin-specific events using the\r\n unbindEvents method below.\r\n */\r\n plugin.$element.on(\"change\" + \".\" + plugin._name, function() {\r\n $(this)\r\n .siblings(plugin.options.display_selector)\r\n .val(function() {\r\n var fakePath = $(this)\r\n .siblings(plugin.options.input_selector)\r\n .val()\r\n .toString()\r\n .split(\"\\\\\");\r\n return fakePath[fakePath.length - 1];\r\n });\r\n $(this)\r\n .siblings(plugin.options.dsTextField.lbl_selector)\r\n .addClass(plugin.options.dsTextField.lblfloat_class);\r\n /*\r\n Use the \"call\" method so that inside of the method being\r\n called, ie: \"someOtherFunction\", the \"this\" keyword refers\r\n to the plugin instance, not the event handler.\r\n */\r\n });\r\n plugin.$element\r\n .parent(\".textinput-group\")\r\n .siblings(\".textinput-group__button\")\r\n .on(\"click\", function() {\r\n var idSel = \"#\" + $(this).attr(\"for\");\r\n $(idSel).trigger(\"click\");\r\n });\r\n\r\n plugin.$element\r\n .siblings(\".textinput-group__textinput.fileinput\")\r\n .on(\"click\", function() {\r\n $(this)\r\n .siblings(plugin.options.input_selector)\r\n .trigger(\"click\");\r\n });\r\n },\r\n\r\n // Unbind events that trigger methods\r\n unbindEvents: function() {\r\n /*\r\n Unbind all events in our plugin's namespace that are attached\r\n to \"this.$element\".\r\n */\r\n this.$element.off(\".\" + this._name);\r\n },\r\n /*\r\n \"someOtherFunction\" is an example of a custom method in your\r\n plugin. Each method should perform a specific task. For example,\r\n the buildCache method exists only to create variables for other\r\n methods to access. The bindEvents method exists only to bind events\r\n to event handlers that trigger other methods. Creating custom\r\n plugin methods this way is less confusing (separation of concerns)\r\n and makes your code easier to test.\r\n */\r\n // Create custom methods\r\n callback: function() {\r\n // Cache onComplete option\r\n var onComplete = this.options.onComplete;\r\n\r\n if (typeof onComplete === \"function\") {\r\n /*\r\n Use the \"call\" method so that inside of the onComplete\r\n callback function the \"this\" keyword refers to the\r\n specific DOM node that called the plugin.\r\n */\r\n onComplete.call(this.element);\r\n }\r\n }\r\n });\r\n\r\n /*\r\n Create a lightweight plugin wrapper around the \"Plugin\" constructor,\r\n preventing against multiple instantiations.\r\n */\r\n $.fn.dsInputFile = function(options) {\r\n this.each(function() {\r\n if (!$.data(this, \"plugin_\" + pluginName)) {\r\n /*\r\n Use \"$.data\" to save each instance of the plugin in case\r\n the user wants to modify it. Using \"$.data\" in this way\r\n ensures the data is removed when the DOM element(s) are\r\n removed via jQuery methods, as well as when the userleaves\r\n the page. It's a smart way to prevent memory leaks.\r\n */\r\n $.data(this, \"plugin_\" + pluginName, new Plugin(this, options));\r\n }\r\n });\r\n /*\r\n \"return this;\" returns the original jQuery object. This allows\r\n additional jQuery methods to be chained.\r\n */\r\n return this;\r\n };\r\n\r\n /*\r\n Attach the default plugin options directly to the plugin object. This\r\n allows users to override default plugin options globally, instead of\r\n passing the same option(s) every time the plugin is initialized.\r\n\r\n For example, the user could set the \"property\" value once for all\r\n instances of the plugin with\r\n \"$.fn.pluginName.defaults.property = 'myValue';\". Then, every time\r\n plugin is initialized, \"property\" will be set to \"myValue\".\r\n */\r\n $.fn.dsInputFile.defaults = {\r\n input_selector: '.textinput-group__textinput[type=\"file\"]',\r\n button_selector: \".textinput-group__button\",\r\n display_selector: \".textinput-group__textinput.fileinput\",\r\n txt_prefix_id: \"#text-input-\",\r\n dsTextField: $.fn.dsTextField.defaults\r\n };\r\n})(jQuery, window, document);\r\n\r\n// ---------------------------------\r\n// ---------- Pagination -----------\r\n// ---------------------------------\r\n// Brief plugin description\r\n// ------------------------\r\n(function($, window, document, undefined) {\r\n var pluginName = \"dsPagination\";\r\n // Create the plugin constructor\r\n function Plugin(element, options) {\r\n /*\r\n Provide local access to the DOM node(s) that called the plugin,\r\n as well local access to the plugin name and default options.\r\n */\r\n this.element = element;\r\n this._name = pluginName;\r\n this._defaults = $.fn.dsPagination.defaults;\r\n this._variables = {};\r\n /*\r\n The \"$.extend\" method merges the contents of two or more objects,\r\n and stores the result in the first object. The first object is\r\n empty so that we don't alter the default options for future\r\n instances of the plugin.\r\n */\r\n this.options = $.extend({}, this._defaults, options);\r\n\r\n /*\r\n The \"init\" method is the starting point for all plugin logic.\r\n Calling the init method here in the \"Plugin\" constructor function\r\n allows us to store all methods (including the init method) in the\r\n plugin's prototype. Storing methods required by the plugin in its\r\n prototype lowers the memory footprint, as each instance of the\r\n plugin does not need to duplicate all of the same methods. Rather,\r\n each instance can inherit the methods from the constructor\r\n function's prototype.\r\n */\r\n this.init();\r\n }\r\n\r\n // Avoid Plugin.prototype conflicts\r\n $.extend(Plugin.prototype, {\r\n // Initialization logic\r\n init: function() {\r\n /*\r\n Create additional methods below and call them via\r\n \"this.myFunction(arg1, arg2)\", ie: \"this.buildCache();\".\r\n\r\n Note, you can cccess the DOM node(s), plugin name, default\r\n plugin options and custom plugin options for a each instance\r\n of the plugin by using the variables \"this.element\",\r\n \"this._name\", \"this._defaults\" and \"this.options\" created in\r\n the \"Plugin\" constructor function (as shown in the buildCache\r\n method below).\r\n */\r\n\r\n this.buildCache();\r\n this.bindEvents();\r\n },\r\n // Remove plugin instance completely\r\n destroy: function() {\r\n /*\r\n The destroy method unbinds all events for the specific instance\r\n of the plugin, then removes all plugin data that was stored in\r\n the plugin instance using jQuery's .removeData method.\r\n\r\n Since we store data for each instance of the plugin in its\r\n instantiating element using the $.data method (as explained\r\n in the plugin wrapper below), we can call methods directly on\r\n the instance outside of the plugin initalization, ie:\r\n $('selector').data('plugin_myPluginName').someOtherFunction();\r\n\r\n Consequently, the destroy method can be called using:\r\n $('selector').data('plugin_myPluginName').destroy();\r\n */\r\n this.unbindEvents();\r\n this.$element.removeData();\r\n },\r\n\r\n // Cache DOM nodes for performance\r\n buildCache: function() {\r\n /*\r\n Create variable(s) that can be accessed by other plugin\r\n functions. For example, \"this.$element = $(this.element);\"\r\n will cache a jQuery reference to the elementthat initialized\r\n the plugin. Cached variables can then be used in other methods. \r\n */\r\n this.$element = $(this.element);\r\n },\r\n\r\n // Bind events that trigger methods\r\n bindEvents: function() {\r\n var plugin = this;\r\n\r\n /*\r\n Bind event(s) to handlers that trigger other functions, ie:\r\n \"plugin.$element.on('click', function() {});\". Note the use of\r\n the cached variable we created in the buildCache method.\r\n\r\n All events are namespaced, ie:\r\n \".on('click'+'.'+this._name', function() {});\".\r\n This allows us to unbind plugin-specific events using the\r\n unbindEvents method below.\r\n */\r\n plugin.$element\r\n .find(\r\n \".pagination-block__page:not(.pagination-block__page--numeration),.pagination-block__active\"\r\n )\r\n .on(\"click\", function() {\r\n plugin.$element\r\n .find(\".pagination-block__active\")\r\n .removeClass(\"pagination-block__active\")\r\n .addClass(\"pagination-block__page\");\r\n $(this).addClass(\"pagination-block__active\");\r\n });\r\n plugin.$element.find(\".dropdown .dropdown-item\").on(\"click\", function() {\r\n plugin.$element.find(\".dropdown .dropdown-item\").removeClass(\"active\");\r\n var pagination = $(this).data(\"pagination\");\r\n $(this).addClass(\"active\");\r\n plugin.$element.find(\".pagination-block__max-page\").text(pagination);\r\n });\r\n },\r\n\r\n // Unbind events that trigger methods\r\n unbindEvents: function() {\r\n /*\r\n Unbind all events in our plugin's namespace that are attached\r\n to \"this.$element\".\r\n */\r\n this.$element.off(\".\" + this._name);\r\n },\r\n /*\r\n \"someOtherFunction\" is an example of a custom method in your\r\n plugin. Each method should perform a specific task. For example,\r\n the buildCache method exists only to create variables for other\r\n methods to access. The bindEvents method exists only to bind events\r\n to event handlers that trigger other methods. Creating custom\r\n plugin methods this way is less confusing (separation of concerns)\r\n and makes your code easier to test.\r\n */\r\n // Create custom methods\r\n callback: function() {\r\n // Cache onComplete option\r\n var onComplete = this.options.onComplete;\r\n\r\n if (typeof onComplete === \"function\") {\r\n /*\r\n Use the \"call\" method so that inside of the onComplete\r\n callback function the \"this\" keyword refers to the\r\n specific DOM node that called the plugin.\r\n */\r\n onComplete.call(this.element);\r\n }\r\n }\r\n });\r\n\r\n /*\r\n Create a lightweight plugin wrapper around the \"Plugin\" constructor,\r\n preventing against multiple instantiations.\r\n */\r\n $.fn.dsPagination = function(options) {\r\n this.each(function() {\r\n if (!$.data(this, \"plugin_\" + pluginName)) {\r\n /*\r\n Use \"$.data\" to save each instance of the plugin in case\r\n the user wants to modify it. Using \"$.data\" in this way\r\n ensures the data is removed when the DOM element(s) are\r\n removed via jQuery methods, as well as when the userleaves\r\n the page. It's a smart way to prevent memory leaks.\r\n */\r\n $.data(this, \"plugin_\" + pluginName, new Plugin(this, options));\r\n }\r\n });\r\n /*\r\n \"return this;\" returns the original jQuery object. This allows\r\n additional jQuery methods to be chained.\r\n */\r\n return this;\r\n };\r\n\r\n /*\r\n Attach the default plugin options directly to the plugin object. This\r\n allows users to override default plugin options globally, instead of\r\n passing the same option(s) every time the plugin is initialized.\r\n\r\n For example, the user could set the \"property\" value once for all\r\n instances of the plugin with\r\n \"$.fn.pluginName.defaults.property = 'myValue';\". Then, every time\r\n plugin is initialized, \"property\" will be set to \"myValue\".\r\n */\r\n $.fn.dsPagination.defaults = {};\r\n})(jQuery, window, document);\r\n\r\n// ---------------------------------\r\n// ---------- Progress -------------\r\n// ---------------------------------\r\n// Brief plugin description\r\n// ------------------------\r\n(function($, window, document, undefined) {\r\n var pluginName = \"dsProgress\";\r\n // Create the plugin constructor\r\n function Plugin(element, options) {\r\n /*\r\n Provide local access to the DOM node(s) that called the plugin,\r\n as well local access to the plugin name and default options.\r\n */\r\n this.element = element;\r\n this._name = pluginName;\r\n this._defaults = $.fn.dsProgress.defaults;\r\n this._variables = {};\r\n /*\r\n The \"$.extend\" method merges the contents of two or more objects,\r\n and stores the result in the first object. The first object is\r\n empty so that we don't alter the default options for future\r\n instances of the plugin.\r\n */\r\n this.options = $.extend({}, this._defaults, $(this.element).data());\r\n\r\n /*\r\n The \"init\" method is the starting point for all plugin logic.\r\n Calling the init method here in the \"Plugin\" constructor function\r\n allows us to store all methods (including the init method) in the\r\n plugin's prototype. Storing methods required by the plugin in its\r\n prototype lowers the memory footprint, as each instance of the\r\n plugin does not need to duplicate all of the same methods. Rather,\r\n each instance can inherit the methods from the constructor\r\n function's prototype.\r\n */\r\n this.init();\r\n }\r\n\r\n // Avoid Plugin.prototype conflicts\r\n $.extend(Plugin.prototype, {\r\n // Initialization logic\r\n init: function() {\r\n /*\r\n Create additional methods below and call them via\r\n \"this.myFunction(arg1, arg2)\", ie: \"this.buildCache();\".\r\n\r\n Note, you can cccess the DOM node(s), plugin name, default\r\n plugin options and custom plugin options for a each instance\r\n of the plugin by using the variables \"this.element\",\r\n \"this._name\", \"this._defaults\" and \"this.options\" created in\r\n the \"Plugin\" constructor function (as shown in the buildCache\r\n method below).\r\n */\r\n\r\n this.buildCache();\r\n this.bindEvents();\r\n },\r\n // Remove plugin instance completely\r\n destroy: function() {\r\n /*\r\n The destroy method unbinds all events for the specific instance\r\n of the plugin, then removes all plugin data that was stored in\r\n the plugin instance using jQuery's .removeData method.\r\n\r\n Since we store data for each instance of the plugin in its\r\n instantiating element using the $.data method (as explained\r\n in the plugin wrapper below), we can call methods directly on\r\n the instance outside of the plugin initalization, ie:\r\n $('selector').data('plugin_myPluginName').someOtherFunction();\r\n\r\n Consequently, the destroy method can be called using:\r\n $('selector').data('plugin_myPluginName').destroy();\r\n */\r\n this.unbindEvents();\r\n this.$element.removeData();\r\n },\r\n\r\n // Cache DOM nodes for performance\r\n buildCache: function() {\r\n /*\r\n Create variable(s) that can be accessed by other plugin\r\n functions. For example, \"this.$element = $(this.element);\"\r\n will cache a jQuery reference to the elementthat initialized\r\n the plugin. Cached variables can then be used in other methods. \r\n */\r\n this.$element = $(this.element);\r\n },\r\n\r\n // Bind events that trigger methods\r\n bindEvents: function() {\r\n var plugin = this;\r\n\r\n /*\r\n Bind event(s) to handlers that trigger other functions, ie:\r\n \"plugin.$element.on('click', function() {});\". Note the use of\r\n the cached variable we created in the buildCache method.\r\n\r\n All events are namespaced, ie:\r\n \".on('click'+'.'+this._name', function() {});\".\r\n This allows us to unbind plugin-specific events using the\r\n unbindEvents method below.\r\n */\r\n var button = plugin.$element,\r\n progress = 0;\r\n var bar = $('